Skip to content

exp336: quantify structure-aware training-corpus deduplication - #338

Draft
timodonnell wants to merge 2 commits into
mainfrom
exp/336-structure-aware-dedup
Draft

timodonnell wants to merge 2 commits into
mainfrom
exp/336-structure-aware-dedup

Conversation

@timodonnell

Copy link
Copy Markdown
Member

Summary

Tracks #336.

Current result

At 50% identity, the direct-witness sequence-only pass removes 5,022,836 / 69,516,181 documents (7.225%) and retains 64,493,345. That decomposes into 667,093 AFDB removals (16.833% of AFDB) and 4,355,743 ESM removals (6.645% of ESM). The exact AFDB token loss is 738,657,274 / 4,432,940,838 (16.663%).

This is an upper bound on removals under the joint rule: TM/contact evidence may rescue rows. It is candidate-limited because Linclust is not an exhaustive all-pairs graph.

Still outstanding before this leaves draft

  • exact ESM token accounting from all 3,338 source-local shards
  • stratified source-local structure/contact smoke and cost projection
  • corpus-wide 50% / TM-0.7 estimate (or a sampled estimate with uncertainty if full scoring is not justified)
  • 40% and 30% candidate passes

Validation

  • uv run pytest -q — 27 passed
  • uv run ruff check . — clean
  • uv run python plot_pilots.py && uv run python build_summary.py

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-generated Opened by an AI agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant