Skip to content

Add the code-benchmarks replication kit - #65

Merged
amin-rigi merged 1 commit into
mainfrom
feat/code-benchmarks-kit
Oct 7, 2026
Merged

amin-rigi merged 1 commit into
mainfrom
feat/code-benchmarks-kit

Conversation

@Kerneta

@Kerneta Kerneta commented Oct 7, 2026

Copy link
Copy Markdown
Owner

A self-contained, offline replication of the .cai vs Graphify vs raw code-retrieval
results: the corpora, the questions and gold, the runners, and the result files, so
every number rebuilds from source with no API key.

Runners cover each result section: run_all.py (nine languages, httpx structural, and the
CPython standard-library scale table), run_semantic.py (semantic and lookup),
run_change.py and run_hard.py with their graders (the edit-set and hard-paraphrase
tasks). run_all.py regenerates results/RESULTS.md.

code-benchmarks is git-only: outside the npm package files whitelist, so it does not
ship. keyless_check skips the directory, whose language fixtures are test data.

Verify:

cd code-benchmarks
pip install -r requirements.txt
python run_all.py

A self-contained, offline replication of the .cai vs Graphify vs raw code
retrieval results: the corpora, the questions and gold, the runners, and the
result files, so every number rebuilds from source with no API key.

Runners cover each result section: run_all.py (nine languages, httpx structural,
and the CPython standard-library scale table), run_semantic.py (semantic and
lookup), run_change.py and run_hard.py with their graders (the edit-set and
hard-paraphrase tasks). run_all.py regenerates results/RESULTS.md.

code-benchmarks is git-only: it is outside the npm package files whitelist, so
it does not ship. keyless_check skips the directory, whose language fixtures are
test data rather than product source.
@Kerneta
Kerneta requested a review from amin-rigi October 7, 2026 11:11
@amin-rigi
amin-rigi merged commit c48a6f6 into main Oct 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants