docs(research): COIN benchmark + skwaq gym study and LOCAL COIN Gym design sketch#2712
Merged
rysweet merged 1 commit intoJul 6, 2026
Conversation
…ym design sketch Phase-1/2 research spike for the local COIN benchmark harness goal. - Part 1 documents COIN (COde -> INput): the reachability task, OSS-Fuzz + CodeQL target construction with the G/F/L/C/B signal algebra (frontier vs non-trivial reachable), reach-rate/precision scoring, the full published leaderboard, and local install/run mechanics (uv sync; coin evaluate; coin show; Python >=3.12 + Docker + LiteLLM). - Part 2 documents skwaq's self-improvement loop: gym harness + modes, TP/FP/FN scoring, the five-phase failure-analyst -> overfitting-reviewer (~66% reject) -> patch -> verify-with-rollback cycle, train/holdout gating, multi-agent debate with schema-backed role cards, and profiles. - Part 3 is a concrete LOCAL 'COIN Gym' design sketch: run COIN locally, score vs the leaderboard, measure single-model baseline vs multi-agent team, and mirror skwaq's failure-analysis + overfitting-reviewer gating using COIN's self-refreshing fresh targets as the anti-overfit oracle. Wires the new page into mkdocs nav so 'mkdocs build --strict' stays green. Docs-only change; no Azure VM and no external result posting (local/notes only). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3 tasks
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.
Verdict
READY TO MERGE. All six merge-ready criteria are satisfied (evidence below):
criteria 2, 3, 5, 6 directly; criterion 1 (qa-team) is justifiably N/A for a
no-code / no-runtime docs change (executable verification is the CI docs gate);
criterion 4 is green in CI — every required check passed and
mergeStateStatus = CLEAN. Focused, fact-checked, strict-build-clean docsaddition with no behavioral or security surface. No G1/G2/G3 guideline flags apply.
CI — 100% green (0 failures)
All required checks passed on this PR (head
eb29acb9);mergeable = MERGEABLE,mergeStateStatus = CLEAN:mkdocs build --strict)--all-targets --all-features --locked+ tests)Merge-ready evidence
1. qa-team / agentic scenarios — N/A (justified).
gadugi-testtargetsexecutable app/runtime scenarios; this PR adds no code and no user-facing runtime
behavior. Executable verification is the CI docs gate (criterion 4), which passed.
2. Docs updated (exact changed surfaces). This PR is the documentation:
docs/research/coin-benchmark-and-skwaq-study.md(new) andmkdocs.yml(nav wiringso the page is discoverable / non-orphaned). No other surfaces touched.
3. Quality-audit — 3 passes, ended clean (zero critical/high; zero medium
correctness/security): (a) fact-check — every leaderboard number, signal-algebra
set, and run command cross-checked against the COIN site/
app.jsand skwaqspec/source (hallucinated web-search "COIN" hits discarded); (b) link/structure —
mkdocs build --strict(mkdocs 1.6.1 + mkdocs-material, matchingdocs.yml,validation.*: warn→ strict errors) built clean in ~10s, zero warnings,confirmed green by the CI
docsrun above; (c) scope/self-review — 2-filedocs-only diff, no Rust/behavior touched. Final cycle clean.
4. CI — 100% green. See the table above (links to each green run/job).
5. PR description evidence. This body provides concrete evidence for criteria
1–4 and 6, including the CI run/job links above and the diff stat below.
6. Focused diff. 2 files, +546/-0, docs-only, no unrelated edits
(
docs/research/coin-benchmark-and-skwaq-study.md,mkdocs.yml).Summary
Phase-1 (LEARN COIN) + Phase-2 (STUDY skwaq) research spike for the goal
build-a-local-coin-benchmark-harness-and-a-self-…. Docs-only; no Azure VM andno external COIN result posting (local/notes only). New page
docs/research/coin-benchmark-and-skwaq-study.md:target line, graded by harness replay on an instrumented build — objective,
contamination-resistant, no judge); OSS-Fuzz + CodeQL construction with the
G/F/L/C/Bsignal algebra (frontier(B∪C)\(G∪F∪L)vsG\(F∪L)); reach-rate +precision scoring; the published 8-model leaderboard; local run mechanics
(
uv sync --extra llm,coin evaluate,coin show; Python ≥3.12 + Docker + LiteLLM).failure-analyst → overfitting-reviewer (~66% reject) → patch → verify-with-rollbackcycle, train/holdout gating, schema-backed multi-agent debate, profiles.
leaderboard, single-model baseline vs multi-agent team, mirroring skwaq's
failure-analysis + overfitting-reviewer gating with COIN's self-refreshing fresh
targets as the anti-overfit oracle. Architecture, components, data model, CLI sketch.
Sources verified directly: COIN https://coin-bench.github.io/ (page +
assets/app.js),github.com/COIN-Bench/coin,huggingface.co/datasets/COIN-Bench/coin; skwaq clone(
Specifications/skwaq-gym-design.md,docs/gym-self-improvement.md,agents/{failure-analyst,overfitting-reviewer}.md,crates/gym/src/{scoring,improve}.rs).Tracking / out of scope
Phases 3–5 (azlin VM provision, harness build, iterative self-improve) → #2713.
No Azure VM provisioning, no external result posting, no harness code in this spike.