Repository navigation
PreferredEvals v2: external-first benchmark atlas, category skills and robust evaluation receipts - #62
Draft
patrickdugan wants to merge 18 commits into
Draft
PreferredEvals v2: external-first benchmark atlas, category skills and robust evaluation receipts#62patrickdugan wants to merge 18 commits into
patrickdugan wants to merge 18 commits into
Conversation
…external adapters
| result=run(p,workdir=args.workdir,execute=args.execute,do_prepare=args.prepare, | ||
| allow_paid=args.allow_paid,allow_downloads=args.allow_downloads, | ||
| allow_remote=args.allow_remote) | ||
| print(json.dumps(result,indent=2,sort_keys=True)) |
…ith dropped/error accounting
…d TASTE benchmark
… sets; campaign registration - external.py: the Prime 0.4.1 plan now requires an explicit harness. An unset harness makes vf-run fall back to its bash harness (a shell for the model) for tasksets that export none, such as gsm8k; 'taskset' keeps a taskset's own harness. Adds output budget, temperature, concurrency, Inkling --data-dir and verbatim native arguments. - runner.py: choice tasks take up to 10 options; exact-text grading strips one layer of quotes and one trailing period; receipts record reasoning length; --request-extra (recorded in run.json) passes options such as enable_thinking=false. - build_public_sets.py: ICLR 2026 oral-vs-reject pairs (public taste proxy, not TASTE), MMLU-Pro science (HLE stand-in), generated multi-hop chains; sets/ holds the built tasks, labels and provenance. - swebench_oracle.py: SWE-bench Lite oracle single-shot generation with SWE-bench's extract_diff and scoring from the official harness report. - results/campaign-20261121/registration.json: comparisons, effect floor and test, written before any Qwen rollout. Verified: python -m unittest discover -s PreferredEvals/gym/tests (12 passed); vf-run 0.4.1 --dry-run accepts the plan's flags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Ideation Arena adapter
…ight-test registration
…onest missing-receipt status
Comment on lines
+14
to
+46
| runs-on: ubuntu-latest | ||
| timeout-minutes: 5 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.12' | ||
| - name: Catalog consistency and pilot planning gates | ||
| run: | | ||
| python PreferredEvals/v2/manifest.py --catalog PreferredEvals/v2/catalog.json --strict | ||
| python PreferredEvals/v2/manifest.py --manifest PreferredEvals/v2/examples/development.json --strict | ||
| - name: Native receipt and Prime v1 importer regressions | ||
| run: python -m unittest discover -s PreferredEvals/v2/tests -p 'test_*.py' -v | ||
| - name: FSI-01 manifest export (development evidence stays unsealed) | ||
| run: | | ||
| python PreferredEvals/v2/paired_receipts.py \ | ||
| --manifest PreferredEvals/v2/examples/development.json \ | ||
| --rows PreferredEvals/v2/examples/paired-development.json \ | ||
| --out "$RUNNER_TEMP/paired.json" --fsi-out "$RUNNER_TEMP/fsi.json" | ||
| python -c 'import json,os; d=json.load(open(os.environ["RUNNER_TEMP"]+"/fsi.json")); assert len(d["cases"])==3; assert not d["sealed_readout"]; assert not d["clusters_independent"]' | ||
| PYTHONPATH=src python -m spiral_ln.evaluation_finite_sample \ | ||
| --manifest "$RUNNER_TEMP/fsi.json" --output "$RUNNER_TEMP/fsi-result.json" | ||
| python -c 'import json,os; d=json.load(open(os.environ["RUNNER_TEMP"]+"/fsi-result.json")); assert d["verdict"] != "confirmed"; assert "readout_used_in_selection_or_unsealed" in d["gate_reasons"]; assert d["n_clusters"]==2' | ||
| - name: PreferredEvals native rollout gym CPU and adapter smoke | ||
| run: | | ||
| python -m unittest discover -s PreferredEvals/gym/tests -p 'test_*.py' -v | ||
| python PreferredEvals/gym/external.py --list | ||
| python PreferredEvals/gym/external.py --profile prime-v041 --taskset gsm8k --harness null --model dummy-model --out "$RUNNER_TEMP/prime-smoke" --write-plan "$RUNNER_TEMP/prime-plan.json" | ||
| python PreferredEvals/gym/external.py --profile inkling-deepswe --model dummy-model --out "$RUNNER_TEMP/inkling-smoke" --write-plan "$RUNNER_TEMP/inkling-plan.json" | ||
| python -c 'import json,os; p=json.load(open(os.environ["RUNNER_TEMP"]+"/prime-plan.json")); assert p["command"][0]=="vf-run"; assert not p["dry_run_only"] is False' | ||
|
|
||
| - name: Campaign accounting and Ideation Arena import tests | ||
| run: python -m unittest discover -s PreferredEvals/gym/tests -p 'test_campaign_analysis.py' -v |
Live runs on one RTX 5080 through native graders where available: GSM8K (primeintellect/gsm8k via vf-run 0.4.1, null harness), NIAH (Inkling Verify 94fd95b), mcp-sqlite (vf-run 0.4.1, exact match), MMLU-Pro science, an ICLR 2026 oral-vs-reject taste proxy, generated multi-hop chains with a no-CoT condition, and SWE-bench Lite oracle single-shot graded by the official harness. Results (Bonsai / Qwen): GSM8K 12/12 and 12/12; NIAH 8/8 and 8/8; mcp-sqlite 6/8 and 3/8; MMLU-Pro 7/8 and 5/8; taste proxy 11/24 and 9/24; multi-hop 11/12 with reasoning, 0/12 thinking off, Qwen 0/12; SWE 0/6 and 0/6 (patches malformed or inapplicable). 90 and 78 attempts, all scored; no infrastructure errors in the final runs. A first Bonsai attempt lost to an external server stop is archived and excluded. HLE (gated), DeepSWE (no Podman) and PaperBench are recorded as blocked. campaign.py builds the per-attempt ledger with outcome classes, the scorecard and FSI-01 paired tests with Holm over the 8 registered comparisons; NIAH pairs by grid cell because its prompts are built per tokenizer. The set builder now writes LF bytes so recorded hashes do not depend on the platform. Verified: python -m unittest discover -s PreferredEvals/gym/tests (15 passed) and PreferredEvals/v2/tests (10 passed); manifest catalog check; all set and run-manifest dataset hashes match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ner CoT mode and concurrency - registration.json for PE2-MULTIHOP-BUDGET-20261121: 80 fresh chains (20 at each of 2, 4, 8, 12 hops) from a sealed seed (hash recorded, seed published with the results), Bonsai thinking budgets 0/64/256/1536, Qwen answer-only and visible CoT under caps 128/320/1600, four contrasts with a 0.10 effect floor and Holm, written before the task set exists and before any rollout. - runner.py: --response-mode cot_final_line (visible reasoning scored on the last 'Answer:' line, recorded in run.json) and --concurrency. - build_public_sets.py: multihop --depths and --benchmark-id. Verified: python -m unittest discover -s PreferredEvals/gym/tests (21 passed); the builder still reproduces the committed multihop set hash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…enable_thinking=false llama-server b10743 ignores thinking_budget_tokens=0. Written before any sweep rollout was scored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… sealed set) 80 fresh chains (20 each at 2, 4, 8, 12 hops) from the sealed seed registered in b646c06; seed revealed in set/seed.txt and verified against the registered hash and the task-file hash. Bonsai 27B correct of 80: thinking off 8, budget 64 1, budget 256 12, budget 1536 79 (2/4/8/12 hops: 20, 20, 20, 19 of 20). H1 (1536 vs off): +0.887, bootstrap [0.795, 0.963], exact McNemar p 8.5e-22, Holm over 4 < 1e-4, FSI-01 verdict confirmed. H2 (256 vs off): +0.05, inconclusive. H3 and H4 (Qwen) not run at the user's request (amendment 2); they stay in the Holm family with p = 1. Adds budget_sweep.py (depth-by-budget tables) and its test; campaign.py honours sealed_readout and keeps unrun registered comparisons in Holm. Aborted and duplicate-runner receipts are archived, unscored. Verified: python -m unittest discover -s PreferredEvals/gym/tests (22 passed); regenerating the set from the revealed seed reproduces its hash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…) before any rollout Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose
Move EvalMath evaluations beyond repeatedly reused internal Storyworld/Hypergames/Lean experiments. Review external benchmark practices from Anthropic (TASTE, Bloom, Petri, infrastructure effects), OpenAI (PaperBench, MLE-bench, SWE-bench auditing, GDPval), Thinking Machines (Inkling Verify, looped-model monitorability), Prime Intellect (Verifiers v1 tasksets/traces), plus TasteVal, METR and ARC-AGI-3.
What this PR implements
PreferredEvals/README.md: external-first ordering and selection rules.SKILL.mdguides inPreferredEvals/categories/.PreferredEvals/papers/: ten annotated outside-literature subsections.PreferredEvals/v2/catalog.json: 39 source-linked benchmark/method entries with access caveats, original provider and proposed priority.manifest.py: pure-stdlib plan check for root IDs, sealed/readout exposure, sample and comparison counts, versioned model/harness, CPU/RAM floor vs hard ceiling, grader validation, provenance and causal shams. This validates author declarations; it cannot establish genuine independence or model performance.paired_receipts.py: full assigned denominator + infrastructure/invalid-gold separation, FSI-01 independent-root paired export with an unsealed development fixture.prime_v1.py: strict adapter for a known serialized Prime v1 task/traces subset; requires explicit task-to-root mapping, never infers sample independence.Architecture decision
PreferredEvals v2 is our own experiment/receipt standard. Prime's current documented API is
verifiers.v1. Reuse upstream taskset/harness/trace execution instead of forking its runtime. Introduce new custom tasksets only for absent experimental controls, each with an external comparator and independent holdout.Limitations
TasteVal's tasks are withheld, FrontierMath canonical verifiers have restricted access, and parts of SWE-bench Pro have documented task-quality issues. The catalog grants no data/license access or paid-sandbox authority. No model evaluations were run or scored; the fixtures are clearly labelled synthetic development plans. Selection of external tasks and all judge calibrations remain separate pre-execution responsibilities.
Related EvalMath mechanistic-power work: PR #61.