This page lists the dependencies needed to reproduce the public EnterpriseClawBench construction and evaluation workflow.
The public release has three modules:
construction/: raw session -> benchmark task pack.evaluation/: task pack + agent outputs -> rule and judge scores.sandbox/: optional internal open-sandbox runner.
External users do not need the company sandbox SDK to run construction or
evaluation. The SDK is only required for the optional sandbox/ wrapper.
Use Python 3.10 or newer.
git clone git@github.com:leo0302git/ecb.git
cd ecb
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip setuptools wheelInstall all public modules from the repository root:
python -m pip install -e './[render]'In network-restricted environments where pip cannot create an isolated build environment, use the already-installed local build backend:
python -m pip install --upgrade setuptools wheel
python -m pip install -e './[render]' --no-build-isolationThis installs three command-line tools:
enterprise-clawbench-construction
enterprise-clawbench-eval
enterprise-clawbench-sandbox
The tools then work from any current working directory. The render extra
installs Playwright support used for HTML/XLSX evidence. If you only run
non-visual unit tests, the extra is not required:
python -m pip install -e .Developers may still install individual subpackages, but the root install is the recommended release path.
HTML and XLSX evidence is rendered through Chromium via Playwright. Install the browser once after installing the Python packages:
python -m playwright install chromiumIf your browser cache is outside the default home directory, set:
export PLAYWRIGHT_BROWSERS_PATH=/path/to/ms-playwrightThe evaluator can score visual artifacts more completely when these tools are available:
pdftoppmfrom poppler: PDF page screenshots.sofficeorlibreoffice: DOCX/PPTX to PDF conversion before screenshotting.
Ubuntu/Debian:
sudo apt-get update
sudo apt-get install -y poppler-utils libreofficemacOS with Homebrew:
brew install poppler libreofficeIf these tools are missing, the evaluator records explicit evidence-preparation warnings instead of fabricating visual scores.
Construction stages that use LLMs and evaluation judge calls require an OpenAI-compatible API endpoint.
export DMX_API_KEY='<your api key>'The default examples use:
https://www.dmxapi.cn/v1
You can pass another endpoint with --base-url in evaluation, or configure it
in construction YAML.
The sandbox/ module is not required for public reproduction. It is a thin
wrapper around our open-sandbox deployment and expects an importable
sandbox_sdk.
Readers without that SDK can still reproduce the public flow by:
- Running
construction/to generateeval_tasks.from_task_pack.jsonl. - Running those tasks with any agent.
- Writing outputs in the documented run directory layout.
- Running
evaluation/on that run directory.
See docs/evaluation_protocol.md for the run directory contract.
From the repository root:
enterprise-clawbench-construction list-stages
python -m unittest discover -s construction/tests -t construction -vThen:
enterprise-clawbench-eval --help
python -m unittest discover -s evaluation/tests -t evaluation -v