Repository navigation
Install Benchmark Toolkit alongside standalone Core #9038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
huangruiteng
merged 2 commits into
main
from
codex/core-benchmark-package-boundary-20261119
Nov 27, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # Benchmark Toolkit for LoopX Core | ||
|
|
||
| Install this source-built wheel when you need benchmark commands or registered | ||
| analysis packs. It uses the same version of [LoopX Core](../loopx-core/README.md) | ||
| and the same Goal registry and runtime state. Capability discovery reads its | ||
| catalog without loading the toolkit's execution modules. | ||
|
|
||
| Build both wheels from the same checkout and add the toolkit to your Core environment. | ||
|
|
||
| ```sh | ||
| uv run --extra test python packages/loopx-core/prepare.py --distribution loopx-capability-benchmark-toolkit --output /tmp/loopx-bench-source | ||
| uv build --wheel /tmp/loopx-bench-source --out-dir /tmp/loopx-bench-dist | ||
| uv pip install --python /tmp/loopx-core-env/bin/python /tmp/loopx-bench-dist/loopx_capability_benchmark_toolkit-*.whl | ||
| ``` | ||
|
|
||
| Check readiness and discover a registered Goal's analysis packs using the same | ||
| registry and runtime you used to run it. | ||
|
|
||
| ```sh | ||
| /tmp/loopx-core-env/bin/loopx capability show benchmark-toolkit | ||
| /tmp/loopx-core-env/bin/loopx --registry .loopx/registry.json benchmark trajectory-packs --goal-id "<goal-id>" | ||
| ``` | ||
|
|
||
| Pass the original `--runtime-root` if you supplied one. The toolkit exposes the | ||
| existing authority and evidence checks. See the | ||
| [capability guide](../../loopx/capabilities/benchmark_toolkit/README.md) for | ||
| benchmark families and execution prerequisites. | ||
|
|
||
| When using a matching Workspace wheel, restart Workspace after adding or | ||
| removing the toolkit. Research Analysis reads the same registered packs. | ||
| Remove the toolkit when you no longer need those commands. The existing Goal | ||
| registry, task history and analysis records remain in your runtime directory. | ||
|
|
||
| ```sh | ||
| uv pip uninstall --python /tmp/loopx-core-env/bin/python loopx-capability-benchmark-toolkit | ||
| ``` |
22 changes: 22 additions & 0 deletions
22
packages/loopx-capability-benchmark-toolkit/pyproject.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| [build-system] | ||
| requires = ["setuptools==83.0.0"] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "loopx-capability-benchmark-toolkit" | ||
| dynamic = ["version", "dependencies"] | ||
| description = "Optional Benchmark Toolkit for the matching LoopX Core release." | ||
| readme = "README.md" | ||
| requires-python = ">=3.11" | ||
| license = "Apache-2.0" | ||
| license-files = ["LICENSE", "NOTICE", "LICENSE-MIT"] | ||
|
|
||
| [tool.setuptools.dynamic] | ||
| version = {file = "VERSION"} | ||
| dependencies = {file = "requires-core.txt"} | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| include = ["loopx.capabilities.benchmark_toolkit", "loopx.capabilities.benchmark_toolkit.*", "loopx.cli_commands"] | ||
|
|
||
| [tool.setuptools.package-data] | ||
| "*" = ["*.ts", "*.json", "*.mjs", "*.js", "*.md", "*.toml"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.