Skip to content

Tier-1 benchmark adapters: DS-1000 + AlgoTune + SUPER-Masked (+ patch-pollution seam fix) - #2362

Merged
joelteply merged 5 commits into
canaryfrom
feat/ds1000-adapter
Aug 22, 2026
Merged

joelteply merged 5 commits into
canaryfrom
feat/ds1000-adapter

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

1,000 execution-graded data-science tasks; official oracle as dod_shell; fetched-gym lifecycle class pinned in the catalog invariant. benchmark/fetch --benchmark ds-1000 then benchmark/dispatch --name ds-1000.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… the existing gym rails

First adapter built from docs/planning/COMPETITIVE-BENCHMARK-LANDSCAPE-RESEARCH-TIER.md.
1,000 data-science tasks (Pandas/NumPy/SciPy/sklearn/Matplotlib/PyTorch/TF), the best
oracle economics in the landscape: official execution grading, local, seconds/task,
no Docker, no LLM judge (ICML'23, ~1.8% false-accept).

Adapter doctrine, verbatim: import task + oracle ONLY, room stays the runner. Each HF
row (via the existing stream_hf_rows pager + cache) projects onto the gym rails as one
EvalTask — prompt + solution_file (her hands) + setup_shell (base64-staged context.py
with its [insert] marker + one generic run.py) + dod_shell (substitute her file into
the OFFICIAL test program, execute, 120s cap, exit code = grade). No new execution
machinery anywhere. Missing libraries surface in dod stderr so she can pip install
--user and retry — env-wrangling is part of the exam (the SUPER lesson).

New lifecycle class, pinned in the catalog invariant test: a FETCHED gym (eval_set +
source_url both present) resolves only after `benchmark/fetch --benchmark ds-1000`
converts it into the new gym cache dir (resolve_gym branch 1.5); on a fresh checkout
its non-resolution is correct, and its name must never shadow a committed gym.

Contamination honesty carried in the module doc: DS-1000's perturbation defense is
from 2022 — scores are internal regression signal + harness proof, never an external
claim.

3 tests: [insert]-less contexts refused by problem id; byte-exact b64 round-trip of a
metacharacter-laden context through the setup shell; one consistent artifact path
across prompt/solution_file/dod/setup.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply enabled auto-merge (squash) August 22, 2026 17:19
…of performance tier

150+ "beat the reference library" tasks on the gym rails. No hidden answers exist to
memorize: the reference is public library code and the task is to be FASTER,
correctness-gated by the task's own is_solution checker on held-out seeds.

materialize = depth-1 clone into the gym cache + ONE embedded harness. The harness
imports the upstream task class directly (their code IS the oracle: generate_problem /
solve / is_solution) and keeps the paper's timing discipline verbatim: untimed warmup,
min-of-10 via perf_counter_ns (min suppresses contention instead of averaging it in),
machine-relative calibration (grow n until the reference costs ≥50ms HERE — the
same-machine-ratio law from the landscape doc), hard correctness gate before any
timing verdict, worst-case aggregation across seeds (no cherry-picking). Pass =
parity (≥0.95x); the continuous SPEEDUP prints into every dod receipt; the official
harmonic-mean aggregate is a report over receipts when a full-suite run exists —
never faked per-task.

Second member of the fetched-gym class (eval_set + source_url), already covered by
the amended catalog invariant. `benchmark/fetch --benchmark algotune` then
`benchmark/dispatch --name algotune`.

2 tests: repo-rooted dod + consistent artifact path + reference-location disclosure;
the harness's three load-bearing disciplines pinned against drift.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@github-actions github-actions Bot added size: XL and removed size: L labels Aug 22, 2026
joelteply and others added 2 commits August 22, 2026 12:30
…lude at the ONE staging seam

Seen live mid-round: an airc scope auto-minted itself INSIDE a staged checkout
($PWD/.airc resolution with her hands cwd'd in the repo) and its sqlite +
identity-key binaries landed in her diff — which IS her graded artifact. Fixed at
clone_at (the one seam every staged tree passes through) via .git/info/exclude:
suppresses the noise without touching a tracked file (a .gitignore write would
itself pollute the patch). Live trees retroactively immunized by hand tonight.
The airc-side scope-minting is a named follow-up.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… ported verbatim

152 checkpointed "make a real research repo run" sub-scenarios (AI2, EMNLP'24,
Apache-2.0) on the gym rails. Oracle fidelity checked against upstream code BEFORE
building (the landscape doc's own uncertainty item): super/evaluate_dataset.py's
evaluate() — recursive structural match, float epsilon 1e-2 ABSOLUTE, strings
exact-stripped, dict-averaged — is ported into the staged grader verbatim. The
landmark half (regexes over her observation history → partial credit) needs her
act-receipt transcript, not a dod shell: DEFERRED AND DECLARED — every receipt
prints "LANDMARKS: not-evaluated (answer-only v1)" so the adapted score can never
silently impersonate the full official one. Masked semantics adapted honestly:
upstream pre-executes the scaffold cells; we stage them as prior_work.py and she
runs them herself — env execution is the benchmark's own thesis.

Gold answers are validated as JSON at CONVERSION time: a malformed gold would
grade every attempt zero forever as an infra fault wearing a capability face.

Third member of the fetched-gym class. 2 tests: non-JSON gold refused by task id;
the wiring triangle + both honesty markers pinned against drift.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply joelteply changed the title DS-1000 adapter: Tier-1 landscape pick on the existing gym rails Tier-1 benchmark adapters: DS-1000 + AlgoTune + SUPER-Masked (+ patch-pollution seam fix) Aug 22, 2026
…our, each now names its reason

gym_cache_dir's HOME fallback (cwd-relative beats a panic), ds-1000's library tag
(prompt garnish, never grading input), SUPER's raw-cell fallback (she sees original
bytes, never a dropped step) and absent-scaffold default (a real Masked state).
Ratchet green at baseline.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 011c155 into canary Aug 22, 2026
5 checks passed
@joelteply
joelteply deleted the feat/ds1000-adapter branch August 22, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant