Datasets:
precon_id large_string | commander_oracle_ids large list | commander_names large list | color_identity large list | cards large list | n_cards int64 |
|---|---|---|---|---|---|
pc-fda6488b47 | [
"9439d6eb-4c10-451d-85c4-3752611c671c"
] | [
"Inquisitor Greyfax"
] | [
"W",
"U",
"B"
] | [
{
"oracle_id": "9439d6eb-4c10-451d-85c4-3752611c671c",
"name": "Inquisitor Greyfax",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "858f53ef-3fec-4aa0-867d-b7f040614b3c",
"name": "Bastion Protector",
"qty": 1,
"is_land": false,
... | 100 |
pc-afdd37781b | [
"9a63f950-2e8a-4617-896c-1d0af538dbc7"
] | [
"Szarekh, the Silent King"
] | [
"B"
] | [
{
"oracle_id": "9a63f950-2e8a-4617-896c-1d0af538dbc7",
"name": "Szarekh, the Silent King",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "aef874fa-93c0-4f86-8b0d-dc24ec51467d",
"name": "Beacon of Unrest",
"qty": 1,
"is_land": false,... | 100 |
pc-40d9a18cff | [
"8dedb9a7-0afa-4dff-b124-2344c170f11a"
] | [
"Abaddon the Despoiler"
] | [
"U",
"B",
"R"
] | [
{
"oracle_id": "8dedb9a7-0afa-4dff-b124-2344c170f11a",
"name": "Abaddon the Despoiler",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "37a18736-5fe2-4897-809b-013497bdd890",
"name": "Past in Flames",
"qty": 1,
"is_land": false,
... | 100 |
pc-cfb03416d6 | [
"ead75ea4-025f-443a-824f-26fef9e424db"
] | [
"The Swarmlord"
] | [
"U",
"R",
"G"
] | [
{
"oracle_id": "ead75ea4-025f-443a-824f-26fef9e424db",
"name": "The Swarmlord",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "2da232d8-580f-4116-b977-2c59cd21b5a4",
"name": "Hull Breach",
"qty": 1,
"is_land": false,
"is_basic":... | 100 |
pc-47b656f6be | [
"30c0df75-9822-4016-a52b-d2e69dd58124"
] | [
"Galea, Kindler of Hope"
] | [
"W",
"U",
"G"
] | [
{
"oracle_id": "30c0df75-9822-4016-a52b-d2e69dd58124",
"name": "Galea, Kindler of Hope",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "48d14b5c-711a-4f8a-9de5-55415cb7a79a",
"name": "Angel of Finality",
"qty": 1,
"is_land": false,
... | 100 |
pc-5d8a23cb2b | [
"2160c837-342b-409f-a1db-0ec5ac023ccf"
] | [
"Vrondiss, Rage of Ancients"
] | [
"R",
"G"
] | [
{
"oracle_id": "2160c837-342b-409f-a1db-0ec5ac023ccf",
"name": "Vrondiss, Rage of Ancients",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "699bc130-2f1f-4bc8-a25f-9329e40efbb1",
"name": "Bogardan Hellkite",
"qty": 1,
"is_land": fal... | 100 |
pc-f054ef5c30 | [
"9b21e056-57e7-4e39-b2b4-2fdf8719d0d2"
] | [
"Sefris of the Hidden Ways"
] | [
"W",
"U",
"B"
] | [
{
"oracle_id": "9b21e056-57e7-4e39-b2b4-2fdf8719d0d2",
"name": "Sefris of the Hidden Ways",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "2e4865c5-a590-4820-81ec-926014ddb8c4",
"name": "Cataclysmic Gearhulk",
"qty": 1,
"is_land": f... | 100 |
pc-82f246f00f | [
"1e9b0fd6-5aae-401a-8df5-d94ce6442696"
] | [
"Prosper, Tome-Bound"
] | [
"B",
"R"
] | [
{
"oracle_id": "1e9b0fd6-5aae-401a-8df5-d94ce6442696",
"name": "Prosper, Tome-Bound",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "8b1aa532-4f19-407e-83a5-13b3160ad8c2",
"name": "Chittering Witch",
"qty": 1,
"is_land": false,
... | 100 |
pc-2a0f6d2b75 | [
"fb773114-6161-46a3-ab30-1853958fbcb0"
] | [
"Bello, Bard of the Brambles"
] | [
"R",
"G"
] | [
{
"oracle_id": "fb773114-6161-46a3-ab30-1853958fbcb0",
"name": "Bello, Bard of the Brambles",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "9ceac4c6-e62e-4445-852c-b2c621e4a83b",
"name": "Wildsear, Scouring Maw",
"qty": 1,
"is_land... | 100 |
pc-00f030be36 | [
"d8c16a3a-dd9d-410c-a5d5-06339a89970f"
] | [
"Zinnia, Valley's Voice"
] | [
"W",
"U",
"R"
] | [
{
"oracle_id": "d8c16a3a-dd9d-410c-a5d5-06339a89970f",
"name": "Zinnia, Valley's Voice",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "8d6ce07f-b21b-42eb-a3d6-df810664e2be",
"name": "Arthur, Marigold Knight",
"qty": 1,
"is_land": f... | 100 |
pc-6ec17ec19a | [
"25636214-c6ea-4655-a5e8-98e735da5b05"
] | [
"Ms. Bumbleflower"
] | [
"W",
"U",
"G"
] | [
{
"oracle_id": "25636214-c6ea-4655-a5e8-98e735da5b05",
"name": "Ms. Bumbleflower",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "c2008ba9-00df-4607-ba0c-189af52033eb",
"name": "Mr. Foxglove",
"qty": 1,
"is_land": false,
"is_bas... | 100 |
pc-73c242253f | [
"845b40b1-dc09-44fa-9910-22544c1424ba"
] | [
"Hazel of the Rootbloom"
] | [
"B",
"G"
] | [
{
"oracle_id": "845b40b1-dc09-44fa-9910-22544c1424ba",
"name": "Hazel of the Rootbloom",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "1d9d8028-d946-4245-ae0c-7508023f619a",
"name": "The Odd Acorn Gang",
"qty": 1,
"is_land": false,... | 100 |
pc-15711cbd89 | [
"d3438037-3efd-4ce0-88ec-6d48ab521992"
] | [
"Mishra, Eminent One"
] | [
"U",
"B",
"R"
] | [
{
"oracle_id": "d3438037-3efd-4ce0-88ec-6d48ab521992",
"name": "Mishra, Eminent One",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "fc2768a5-621b-48de-9160-4dbaeddb3de1",
"name": "Muzzio, Visionary Architect",
"qty": 1,
"is_land": ... | 100 |
pc-8178ae353b | [
"9deced63-80d0-419e-a5ac-71b06ba1459e"
] | [
"Urza, Chief Artificer"
] | [
"W",
"U",
"B"
] | [
{
"oracle_id": "9deced63-80d0-419e-a5ac-71b06ba1459e",
"name": "Urza, Chief Artificer",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "0f9269eb-6a6c-4b32-8b3d-73724c12ca6b",
"name": "Indomitable Archangel",
"qty": 1,
"is_land": fals... | 100 |
pc-a62fde8c4a | [
"620ff5f2-7d3f-467f-943d-3b62c2135023"
] | [
"Oloro, Ageless Ascetic"
] | [
"W",
"U",
"B"
] | [
{
"oracle_id": "620ff5f2-7d3f-467f-943d-3b62c2135023",
"name": "Oloro, Ageless Ascetic",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "95e94dea-5ac0-4d6f-adec-ca147aee861f",
"name": "Ajani's Pridemate",
"qty": 1,
"is_land": false,
... | 100 |
pc-25ab626b3a | [
"afa49a09-146f-4439-850e-dd1938c93cef"
] | [
"Derevi, Empyrial Tactician"
] | [
"W",
"U",
"G"
] | [
{
"oracle_id": "afa49a09-146f-4439-850e-dd1938c93cef",
"name": "Derevi, Empyrial Tactician",
"qty": 1,
"is_land": false,
"is_basic": false,
"is_commander": true
},
{
"oracle_id": "21f45043-5419-4019-8b6c-e5294bd5f549",
"name": "Acidic Slime",
"qty": 1,
"is_land": false,
... | 100 |
MTG Precon Cut/Add Benchmark (EXP-007)
Decklists come from MTGJSON; the
labelsandcommandersconfigs come from EDHREC precon pages. Card names are © Wizards of the Coast.
This is a benchmark of deck-building judgement on Magic: The Gathering Commander preconstructed decks ("precons"). The agent sees a precon's 100 cards (as card text) and must pick the cards to cut and the cards to add. Its picks are graded against what thousands of players actually cut from and added to that precon, as aggregated by EDHREC.
Write-up: eval/experiments/precon_benchmark.md in the mtg-search repo. Schema contract:
bench/precon/schema.md. Build code: bench/precon/ (built from git 8c41e350c20f7eebeaa273319d30cbdcddf1421b).
- Snapshot: EDHREC labels 2026-10-14 (Next.js buildId
PdCFALsQSMQepvm3iBv87); MTGJSON5.3.0+20261013; Scryfallcards.parquet2026-10-14T09:01:55.948+00:00. - 183 precons (MTGJSON Commander decks; Collector's Edition duplicates dropped), of which 175 are matched to an EDHREC precon page.
- 16719 labels (add 8370, add_land 2182, cut 3675, cut_land 2492).
- Splits (cutoff
2025-11-01): all precons dev 15, test 20, train 148; scored dev 15, test 14, train 106. - Deck-fit grades (config
deck_fit, EXP-017): 2,385 grades by a blind Claude grader of whether proposed adds would upgrade the deck, on the 15 dev (tuning) and 14 test decks, with hidden controls. A second label source alongside the EDHREC rates, which favour popular cards.
Citation
Cite the tagged release v1.0:
@misc{mtgsearch_preconbench_2026,
author = {Gr{\o}ntved, Kasper},
title = {{MTG Precon Cut/Add Benchmark}: Commander precon decklists with EDHREC cut/add rates and deck-fit grades},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/kasper-cbx/mtg-precon-bench}},
note = {Revision v1.0 (EDHREC snapshot 2026-10-14). Add/cut rates from EDHREC; card names \textcopyright{} Wizards of the Coast}
}
Revisions. v1.0 adds the deck_fit config and this card. The five data files decks, labels, precons, commanders and splits are byte-identical to revision d6bb8ba, on which every agent run (EXP-009 to EXP-017) was scored, and to 6f71dac. Those two revisions differ only in README.md, manifest.json (build commit) and tag_audit.parquet.
Not affiliated with, endorsed by or sponsored by Wizards of the Coast, EDHREC or Scryfall. Magic: The Gathering card names and text are © Wizards of the Coast (Fan Content Policy).
Sources and terms
| Source | Used for | Terms |
|---|---|---|
MTGJSON DeckList.json, AllDeckFiles, SetList.json, AtomicCards.json |
official precon decklists, release dates, set families, first printings | MIT licence |
EDHREC precon pages (__NEXT_DATA__ JSON) |
cut/add lists and rates, number of decks, commander counts | Collected once per snapshot, at one request every 5 s. |
Scryfall bulk oracle_cards (our cards.parquet) |
oracle_id mapping, colour identity, legality, land/basic flags |
Scryfall bulk-data terms; WotC Fan Content Policy |
EDHREC fetch policy (as run): one pass over the /precon index plus each precon page (main
commander only, 178 HTTP requests incl. robots.txt); at most 1 request per 5 s,
single-threaded; User-Agent mtg-search research benchmark (contact: kaspergrontved@proton.me; ...);
robots.txt checked for every URL (/precon/ is allowed); every response cached on disk and never
re-fetched; exponential back-off on errors / 429 (no 429s occurred). Fetch log and stats are in
manifest.json.
Configs
All card references are Scryfall oracle_ids (oracle level). precon_id is an opaque id,
pc- + sha1(MTGJSON deck file name)[:10], identical across configs.
decks — task input (safe to show the agent)
One row per precon: precon_id, commander_oracle_ids, commander_names, color_identity,
cards (list of {oracle_id, name, qty, is_land, is_basic, is_commander}, the full official
100-card list incl. commanders), n_cards. No product/deck name, set code, release date,
prices, EDHREC rank or tags. Card text is rendered by the harness from cards.parquet.
labels — gold (never shown to the agent)
One row per (precon, card, kind): kind ∈ cut, cut_land, add, add_land (EDHREC
"Cards/Lands to Cut/Add"); list_rank; rate (cuts: EDHREC unpopularity u; adds:
r = num_decks / potential_decks); num_decks, potential_decks (sample size), synergy,
lift; gain, gain_syn; is_land; headline; in_precon; is_new_in_product;
in_color_identity; commander_legal.
precons — metadata (reporting, slicing, memorisation probe; not a task input)
deck_name, product, set_code, parent_set_code, release_date, mtgjson_file,
mtgjson_type, source (WotC decklist URL), edhrec_slug, edhrec_url, edhrec_group,
match_method, edhrec_deck_jaccard, potential_decks, n_colors, is_universes_beyond,
is_secret_lair, commander_names.
commanders — EDHREC precon_commander_counts
precon_id, oracle_id, name, num_decks, is_precon_commander (the commander whose page
supplies the labels). Labels are always for the precon's main commander page.
splits
precon_id, release_date, split ∈ train/dev/gap/test, scored, exclude_reason, cutoff.
deck_fit — deck-fit grades (EXP-017; never shown to the agent)
One row per graded (precon, card, pass):
precon_id,split(dev= tuning decks,test),oracle_id,name;kind:pool(a card an agent proposed adding, from the runs inproposed_by), or a hidden control:random(a random legal in-identity card with no EDHREC add label),top_label(a top EDHREC add no agent picked) orin_deck(a card already in the deck);grade0/1/2,pass(0; 1 = a seeded 10% of batches re-graded in a new order, for consistency only),rubric(v3),grader_model,grading_run.
The grader. Headless Claude Code (claude-sonnet-5-5), with no tools. It sees the format rules (colour identity, bracket 3: at most 3 Game Changers), the deck (the commander's rules text with its name replaced by "your commander", plus the other 99 card names), and 15 candidate cards per call with full rules text, in a seeded random order. It never sees which agent proposed a card, any EDHREC data, prices, or the product or deck name. Rubric v3:
Grade each candidate for whether you would add it to this deck as an upgrade. An added card takes the place of one of the deck's weakest cards. Most legal cards would not improve a given Commander deck, so a card with no specific reason to be in this deck gets 0. 2 = a clear upgrade: it directly supports the commander or the deck's plan, or fills a role the list is short of (such as ramp, card draw, removal or interaction), and does so better than the deck's weakest cards. 1 = a reasonable but low-priority upgrade: it has a specific reason to be in this deck (it supports the plan or fills a gap) and is about as good as the deck's weakest cards. 0 = not an upgrade: no specific reason to be in this deck, filler, weaker than the cards it would replace, or works against the plan; or it breaks a deck-building rule. Judge only from the card text shown and the deck list. Do not reward a card for being widely played; judge what its text does for this deck.
Checks (pass 0):
- Test decks: 10/84 random controls graded ≥ 1, 0/42 in-deck cards, 87% of top EDHREC adds.
- Tuning decks: 14/90 random controls, 1/45 in-deck cards, 78% of top EDHREC adds.
- Re-grading consistency on test: κ(≥ 1) 0.80.
Deck-fit score (as used in EXP-017): the mean grade/2 over an episode's 20 ADD slots, where invalid picks (scorer rules, including the Game Changer limit in rank order) and missing slots count 0.
Caveats:
- Tuning: the rubric wording was settled on the dev decks over three versions before any test deck was graded.
- Same model family: the grader is the same model family as the agents it grades.
- Recognition: shown an anonymised deck, the grader named 12 of 15 dev decks.
Extra files: manifest.json (snapshot dates, URLs, fetch stats, counts, parameters, git sha,
file hashes), tag_denylist.json (eval-mode oracle-tag deny-list), tag_audit.parquet
(tag-enrichment audit on train cuts).
Gains (plan §6 defaults)
| gain 3 | gain 2 | gain 1 | gain 0 | |
|---|---|---|---|---|
| cut, by u | u ≥ 0.50 | 0.30 ≤ u < 0.50 | 0.15 ≤ u < 0.30 | below, or not listed |
| add, by r | r ≥ 0.30 | 0.15 ≤ r < 0.30 | 0.05 ≤ r < 0.15 | below, or not listed |
gain_syn = gain · 1[synergy > 0] for adds (generic-staple discount; equals gain for cuts).
The plan intends to re-fix thresholds on the train split; scorers may recompute grades from rate.
Headline metrics use headline = True rows (nonland cut / add); land kinds are kept for
diagnostics.
Splits
Split key = MTGJSON release date relative to a model training cutoff C (default 2025-11-01,
an assumption because GLM-5.3's cutoff is unknown): train < C−12 mo ≤ dev < C ≤ gap < C+2 mo ≤
test. A precon is scored only if it has an EDHREC page, potential_decks ≥ 300, was released
at least 8 weeks before the snapshot, is not an MTGO theme deck (TD0), and is not in the gap.
Recompute for another cutoff with
python bench/precon/build_dataset.py --snapshot 2026-10-14 --splits-only --cutoff YYYY-MM-DD.
Slices: is_universes_beyond, is_secret_lair, n_colors (precons), headline / is_land
and is_new_in_product (labels).
Matching
- MTGJSON → oracle_id: each card's
identifiers.scryfallOracleId(checked againstcards.parquet), falling back to exact normalised name / face name. - EDHREC → oracle_id: exact normalised name, then face name (DFC / split / adventure), then
the front half of
A // B, then MTGJSONflavorName(in-universe Universes Beyond names, e.g. "The Five Arrive"). Unmapped names are logged in the build'sunmapped.json(0 in this build). - EDHREC page → MTGJSON deck: same set of commander oracle_ids and same set code; fallback
is the best card-overlap Jaccard ≥ 0.7 within the set code.
edhrec_deck_jaccardrecords the overlap between EDHREC's embedded list and the MTGJSON list.
Leakage controls (plan §7)
- Task inputs (
decks) hold only card identifiers and names, never product or deck names, release dates, prices, popularity or tags; the build asserts the allowed column set. - Labels live in separate files (
labels,commanders) from inputs. tag_denylist.jsonlists evaluative / precon-identifying oracle tags (meme,weaker-in-singleton-formats,stronger-in-singleton-formats,staple-with-set-s-mechanic,planeswalker-deck-staples, patternscycle-*-face-commander,*precon*,*staple*) that the harness must not render in eval mode; the train-split tag audit is intag_audit.parquet.- Test split is post-cutoff by release date; product names are available only in
preconsfor the memorisation probe.
Limitations
- Ground truth is crowd behaviour (a proxy for merit), aggregated by EDHREC; lists are truncated (about 50 adds / 30 cuts), so add/cut scores are lower bounds and unlisted cards score 0.
unpopularitysemantics are not documented by EDHREC;potential_deckscounts decks EDHREC attributes to the precon's commander.- Old precons often have few decks (< 300) and are not scored; the post-cutoff test pool is small (wide CIs).
- Universes Beyond top adds are often same-franchise cards (
is_new_in_product); this is flagged, not removed.is_new_in_productuses the earliest MTGJSON printing in the precon's set family. - EDHREC's embedded list can differ slightly from the official list (see
edhrec_deck_jaccard); the input is always the official MTGJSON list. - Labels are a single snapshot; rates drift as more decks are registered.
deck_fitgrades are one model's judgment, with one pass, covering only the cards the graded runs proposed plus controls; cards outside that pool are unjudged, not 0.
- Downloads last month
- 126