Skip to content

Revalidate the 30-file training cap (keep 30; 50 for agent-heavy repos)#25

Open
Byggarepop wants to merge 1 commit into
mainfrom
eval/cap-revalidation
Open

Revalidate the 30-file training cap (keep 30; 50 for agent-heavy repos)#25
Byggarepop wants to merge 1 commit into
mainfrom
eval/cap-revalidation

Conversation

@Byggarepop

Copy link
Copy Markdown
Owner

Re-runs the original EF Core holdout validation, this time sweeping maxTransactionSize — the 30-file cap was part of the fixed prototype configuration, never independently swept, and agentic workflows have shifted commit sizes since.

What's here

  • eval/Unwritten.Eval — replay harness against the real engine: trains one index per cap {20, 30, 50, 75, 100, 200} on the same chronological stream, replays the last 2,000 held-out commits (evaluate → ingest, as in real use), scores fill-within-10-commits, and isolates marginal rules (holes a raised cap flags that cap 30 doesn't).
  • docs/eval/cap-revalidation-2026-07.md — the report, with raw CSVs alongside.

Findings

  • Harness sanity check: EF Core at cap 30 / floor 0.7 fills at 67.6% vs the prototype's 66.5% — the protocol replicates.
  • Commit sizes did shift in agent-era repos (cline: 1.2% → 5.9% of commits excluded by cap 30; codex: 3.9% → 7.0%) but not in EF Core.
  • Marginal rules from raising the cap: beat baseline in cline at cap 50 (48.6% vs 39.7% fill), are noise in EF Core (5–10% vs 55.8%). Beyond 50, returns fade everywhere.

Verdict

Keep the default at 30 — it must be safe for both populations. "maxTransactionSize": 50 is now an evidence-backed override for agent-heavy repos. Kept in the repo for reference; no product code changes.

🤖 Generated with Claude Code

Sweeps maxTransactionSize {20,30,50,75,100,200} x floors {0.6,0.7,0.8}
over chronological 2,000-commit holdouts on efcore, openai/codex and
cline, scoring fill-within-10-commits and the marginal rules each cap
raise buys. Verdict: keep default 30 (EF Core marginal rules are noise);
cap 50 is an evidence-backed override for agent-heavy repos. Harness
replicates the original EF Core prototype figure (67.6% vs 66.5% at
floor 0.7).

Co-Authored-By: Claude Fable 5 <[email protected]>
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.

1 participant