Skip to content

Add binding-aware meaningful-program evaluation (SLM-105, EFS0-03)#328

Merged
Tyler-R-Kendrick merged 1 commit into
mainfrom
agent/slm-105-binding-aware-meaning
Jul 18, 2026
Merged

Add binding-aware meaningful-program evaluation (SLM-105, EFS0-03)#328
Tyler-R-Kendrick merged 1 commit into
mainfrom
agent/slm-105-binding-aware-meaning

Conversation

@Tyler-R-Kendrick

@Tyler-R-Kendrick Tyler-R-Kendrick commented Jul 17, 2026

Copy link
Copy Markdown
Owner

SLM-105 (EFS0-03): binding-aware meaningful-program evaluation

Adds a torch-free binding-aware meaningful-program evaluator (v2) + a frontier-replay & anti-gaming audit CLI, wired into eval reporting as a recording-only candidate metric — no ship gate is added, relaxed, or weakened.

What's here (20 files, on current main)

  • evals/meaningful_program.py (765) — binding-aware evaluator; scripts/audit_meaningful_program.py (935) — frontier-replay + gaming audit CLI; eval resources (meaningful_v2_frontier_replay.json, meaningful_v2_gaming.jsonl); tests (28 + 8 + 3) + provenance docs.
  • Ship-gate wiring (additive / recording-only): ship_gates.py adds a provenance-only MEANINGFUL_METRIC_POLICY and records binding_aware_meaningful_v2_* alongside the gated primary. The v2 metric carries thresholds: None (candidate_pending_calibration) and is never gated; DEFAULT_SHIP_GATES, the per-metric decision loop, and every threshold are byte-identical. meaningful_program_v1 remains the active gated primary. eval_runner.py / train_loop.py append the new keys only.
  • quality.py — additive helpers required by the eval; preserves E292's semantic-contract work and the existing judge byte-identical.

Dropped the branch's dsl/solver/* re-adds, dashboard/web clobbers, and doc clobbers already superseded on main.

Honesty

No ship gate weakened or relaxed; the v2 metric is calibration-pending and recording-only. No checkpoint promoted; meaningful-parse v1 remains the gated primary (not claimed improved).

Verification

  • No-new-breakage vs a clean-main baseline (bridge + AgentV SDK installed): failure sets byte-identical (271 failed both sides); +40 new passing = exactly the new tests. Consolidated new + wiring tests: 60 passed.
  • ruff / repo_policy / git diff --check clean. Torch tests (none new) run in CI.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
slm-training Ready Ready Preview, Comment Jul 18, 2026 8:38am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Tyler-R-Kendrick, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 38 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8c7c0454-873a-4a99-9d7b-45cbd2d8315e

📥 Commits

Reviewing files that changed from the base of the PR and between c4c2b6b and 297a76f.

📒 Files selected for processing (20)
  • docs/design/binding-aware-meaningful-v2.md
  • docs/design/iter-efs0-03-meaningful-v2-frontier-audit-20260717.json
  • docs/design/iter-efs0-03-meaningful-v2-frontier-audit-20260717.md
  • docs/design/iter-efs0-03-meaningful-v2-gaming-20260717.json
  • docs/design/structure-only-eval.md
  • scripts/audit_meaningful_program.py
  • scripts/run_grammar_matrix.py
  • scripts/run_quality_matrix.py
  • src/slm_training/data/quality.py
  • src/slm_training/evals/meaningful_program.py
  • src/slm_training/harnesses/model_build/eval_runner.py
  • src/slm_training/harnesses/model_build/ship_gates.py
  • src/slm_training/harnesses/model_build/train_loop.py
  • src/slm_training/resources/evals/meaningful_v2_frontier_replay.json
  • src/slm_training/resources/evals/meaningful_v2_gaming.jsonl
  • tests/test_evals/test_meaningful_program.py
  • tests/test_harnesses/model_build/test_eval_gates.py
  • tests/test_harnesses/model_build/test_loop.py
  • tests/test_scripts/test_audit_meaningful_program.py
  • tests/test_scripts/test_matrix_meaningful_metrics.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/slm-105-binding-aware-meaning

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Base automatically changed from agent/slm-59-finite-domain-lattice to main July 18, 2026 02:37
A torch-free binding-aware meaningful-program evaluator (v2) plus a
frontier-replay + anti-gaming audit CLI, wired into the eval runner and
ship-gate reporting as a RECORDING-ONLY candidate metric.

- evals/meaningful_program.py + scripts/audit_meaningful_program.py +
  resources/evals/{meaningful_v2_frontier_replay.json, meaningful_v2_gaming.jsonl}.
- ship_gates.py: adds a provenance-only MEANINGFUL_METRIC_POLICY and records
  binding_aware_meaningful_v2_* alongside the gated primary. The v2 metric
  carries thresholds=None (candidate_pending_calibration) and is never gated;
  DEFAULT_SHIP_GATES, the decision loop, and every threshold are byte-identical.
  meaningful_program_v1 remains the active gated primary.
- eval_runner.py / train_loop.py: append the new metric keys only.
- quality.py: additive helpers required by the eval (preserves E292's
  semantic-contract work and the existing judge).

No ship gate weakened or relaxed; no checkpoint promoted; meaningful-parse v1
remains the gated primary. No-new-breakage verified against a clean-main
baseline (identical failure sets; +40 new passing tests).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017NWyjZwGMUPHXZhtqQVzUJ
@Tyler-R-Kendrick
Tyler-R-Kendrick force-pushed the agent/slm-105-binding-aware-meaning branch from 7e2f560 to 297a76f Compare July 18, 2026 08:37
@Tyler-R-Kendrick Tyler-R-Kendrick changed the title SLM-105: add binding-aware meaningful-program evaluation Add binding-aware meaningful-program evaluation (SLM-105, EFS0-03) Jul 18, 2026
@Tyler-R-Kendrick
Tyler-R-Kendrick merged commit f82118e into main Jul 18, 2026
4 checks passed
@Tyler-R-Kendrick
Tyler-R-Kendrick deleted the agent/slm-105-binding-aware-meaning branch July 18, 2026 08:43
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