ditto field notes · contents
  1. 00 · where ditto stands
  2. 01 · the generalist pivot (exp #9)
  3. 02 · what exp #8 & live games falsified
  4. 03 · engine & meta expansion
  5. 04 · the live bridge & dive bar
  6. 05 · foundations: exp #1 → #6
  7. 06 · the path 1550 → 2000
  8. 07 · method & receipts

ditto · pokémon tcg rltarget: 2,000 live arceus elofield notes, vol. 1

fifty-six hours,
five generations,
one honest plateau.

everything we have built, trained, audited, falsified and shipped on ditto — ordered by recency × impact. we start with the experiment running on an a100 right now and walk backward to the first commit. every number is transcribed from a receipt in the repo, and every claim says what kind of evidence it is.

69 commits 13 issues + 1 pr 180 live games logged 315.80 cu spent (through exp #8) first commit 27 nov 05:13 utc snapshot 29 nov 13:24 utc

00the big picture

where ditto stands today

ditto is a 20.4m-parameter transformer (ModelV4, large preset: 6 layers × 384 wide, 10.65m-parameter body) that plays pokémon tcg live ranked against real people, through a bridge that only shows it what a human player could see. it was born by imitating a stronger full-information teacher (u106), grew up on symmetric self-play ppo, and has since been pushed across three generations of card engine and a 146-deck meta.

the short version of the last 56 hours: the agent got much broader, not much stronger. coverage went from 22 decks to 146, the engine stopped crashing, and the live bridge became boring in the best way. but the raw playing strength measured live has sat in a band around ~1,450–1,560 since Ditto 2.1-large, and the two attempts to buy strength with search — runtime pimc and expert iteration — both came back flat or negative. so the campaign just pivoted: stop adding search, make the base policy smarter, starting with a privileged critic that is screening on colab as you read this.

live arceus elomeasurement
1462 / peak 1547

last confirmed rating, Ditto 4-large raw greedy, live now. the all-time peak still belongs to Ditto 2.1-large (game 2e429fe3).

sim strengthsimulation
+9.4 elo

Ditto 4-large vs Ditto 3-large on the 146-deck v3 panel, ci [49.3%, 53.4%]; flat on heldout (−2.1), v2 (−0.7) and mirror (−3.5).

search, as builtsimlive
+1.0 / 46.2%

pure exit delta over 6 rounds and 51.1m rollout positions; and the repaired live pimc model went 18–21 in 39 clean games. falsified, parked.

compute spentledger
315.80 cu

colab units from 1,019.78 to 703.98 across exp #3 → #8. exp #9 is in flight with a ~18 cu estimate and a hard 30 cu cap.

the pivotin flight
h8 v_priv

a training-only critic that sees hidden cards, screened 20u vs 20u on a100 against a gate of ≥52% on 2,000 heldout-symmetric pairs (tier 1).

the live scoreboard, every generation

every ranked game ditto has played in the arceus league (the elo ladder that unlocks above the rank-point ladder) is below. the line is ditto's displayed rating after each game; filled dots are wins, hollow dots are losses; the shaded bands mark which model was at the table. hover or tap a dot for the game.

arceus league rating, game by gamefig 0.1 · measurement
winlossdisplayed elo after gamestart (1500)
source: .cache/elo_history.jsonl (124 completed arceus games; 56 earlier rank-point games excluded). game 124 — a loss to mega excadrill — finished at 13:23 utc; its post-game rating had not been read off the client yet, so the line ends at game 123. what this measures: the ladder's own rating, which mixes model strength with opponent draw and matchup luck; it is not a controlled comparison between models.
modelwhat it isarceus w–lbt perf elo [95% ci]elo path (peak)headline sim receipt
Ditto v1distill only10.5m live-masked dagger decisions from u10626–17rank points—pre-arceus+168.0 vs u106-live (exp #1 phase 2)
Ditto 2-largeexp #5146u ppo, 38.4m decisions10–12+ 9–4 rank pts1443 [1297, 1589]1500 → 1463 (1511)+67.9 vs full-info u106-native
Ditto 2.1-largeexp #6200u ppo continuation, 52.6m decisions, raw greedy25–1858.1%1564 [1458, 1669]1463 → 1528 (1547)+17.7 panel / +26.5 mirror vs 2-large; +78.1 vs native
Ditto 2.1-large-s2.1 weights + live crn-pimc (old 20-step cap), on the v3 engine7–71517 [1335, 1699]1528 → 1509 (1534)+77.2 sim pimc on 64 games (see tier 2)
Ditto 3-large-sh2 pilotexp #7b weights + repaired crn-pimc (W=8, K=4, 48 steps)18–2239 clean: 18–211451 [1342, 1559]audit: 1469 ± 571509 → 1440 (1544)3-large: +44.7 v2 panel vs 2.1
Ditto 4-largeexp #8, live now100u v3 ppo + 6× crn-pimc exit (r4 accepted), raw greedy3–2in flightn too small1625 [1231, 2019] at n=41440 → 1462+9.4 v3 panel vs 3-large

bt perf elo is an opponent-adjusted bradley–terry fit (ptcg_rl/live_calibration.py) from .cache/elo_summary.json at 13:19 utc; ci is ±1.96 se. the 3-large-s row shows both the ledger (40 logged games, one later flagged unclean) and the forensic audit (39 clean games, 1469 ± 57). the 4-large perf number predates its first loss and its ci spans 800 elo — do not read it.

the compute ledger

every colab session start and stop is appended to .cache/colab_ledger.jsonl, and each session ends with a verified Active assignments: 0 / Usage rate: 0.00/hr. experiments #1 and #2, the h4 deck showdown, the h5 replay audit and the h8 preflight suite all ran on the local rtx 3080 for 0 cu.

colab units by experimentfig 0.2 · ledger
source: balance deltas in .cache/colab_ledger.jsonl. exp #4, #5 and #6 shared one warm a100-40gb session (ditto-exp04, 128.19 cu total); exp #7b and #8 shared ditto-exp07b on a100-80gb, split at the 03:03 utc balance snapshot (802.02). exp #9 is shown at its pre-registered estimate; its actual spend is not known until the session stops.

the central pivot, in one paragraph

exp #7b and exp #8 were coverage runs. they taught ditto 124 new decks and left its general playing strength where it was. search and expert iteration, as built, could not lift it. so the next leap has to come from a stronger base policy.recorded interpretation · APPROACHES.md, astra adversarial audit, 2026-11-29

that conclusion rests on two independent signals that you will see in detail in tier 2: a simulator ablation that isolated expert iteration's contribution (+1.0 and +2.8 elo, both cis straddling zero), and a live flight where the search-augmented model underperformed its own raw predecessor. the response is a sequence of single-variable bets on the base policy — a privileged critic first (h8), verified live-observable memory second (h5), then stronger opponents and scale (h10) — with runtime search only coming back on hard paired evidence.

◇ the arithmetic of 2,000 · planning estimate

near parity, one extra net win per 100 games is worth about +7 elo. getting from ~1,560 to 2,000 is +440, which the campaign's planning notes translate into sustaining roughly 72–76% winrate against 1,750–1,850 human grinders — close to what the game's irreducible draw and prize variance (estimated at 18–22% of games) allows. that is why every layer below has to earn its place with a paired, pre-registered gate: a few elo of noise, compounded, is how campaigns lie to themselves.

status matrix

h1 · v3 engine & coverage done

146-deck me6 engine, zero crashes across 26.28m ppo decisions + 51.1m exit positions.

h2 · live 1-ply pimc parked

39 clean games at 46.2%; 44% of overrides chose moves the policy gave <15%.

h3 · 1-ply pimc exit falsified

+1.0 panel / +2.8 mirror vs phase a on 1,000 fresh games each.

h4 · tordpult vs hammerpult done

hammerpult wins the mirror +43.3; flat on the field (−2.5%, ci straddles 0). tordpult stays.

h8a · privileged critic screen in flight

exp #9, issue #14. 4/4 zero-cu preflight tests passed; arm a running.

h5 · public belief / memory partial

reducer + 39-game replay audit done; actor-memory a/b (exp #10) slated.

h9 · disagreement audit partial

all 51 error 306 root-caused (igglybuff); blind override review slated.

h8b · full ditto 5 slated

only if the screen passes and replicates on seed 2.

h1b · card stubs slated

koraidon ex, mew ex, igglybuff: unlocks basic-box-kangaskhan (~14% of live meta).

h6–h7 · deeper search parked

prompt search and 2-turn search wait until the base policy clears 1,550.

h10 · exploiters & xl slated

specialist exploiters, xl (8L×512d) — each its own a/b, after h8 and h5.

01tier 1highest recency × impactrunning on a100 now

the generalist pivot: exp #9 and the privileged critic

the first experiment after the pivot does not add a model, a search, or a deck. it changes one thing: the baseline the policy-gradient update is measured against. for training only, the critic is allowed to see the cards a human never could — the opponent's hand and your own prizes — and the served policy stays exactly as blind as before.

why exp #7b and #8 left strength at ~1,500–1,560

look at what those two runs were asked to do. exp #7b (Ditto 3-large) took a 22-deck agent and taught it a 46-deck mega meta; exp #8 (Ditto 4-large) took that and taught it the 146-deck post-delta-reign meta. both succeeded at the job they were given — 3-large beat 2.1-large by +44.7 on the v2 panel and +34.2 on unseen heldout decks simulation, and 4-large held parity with 3-large everywhere while absorbing 100 new decks. but on the decks 2.1-large already knew, nothing moved: 3-large was −7.6 in the tordpult mirror and −13.9 on the v1 panel, cis both crossing zero.

coverage was the right first move — the recorded h1 hypothesis was that 2.1-large-s's 0–3 against mega rayquaza came from untrained, all-zero embeddings for cards like legendary pyroduct, which no search can repair. but coverage is not skill. the live ladder agreed: the best live number is still 2.1-large's 25–18.

three traps caught in real code before a single cu was spent

the original h8 sketch was "train a privileged critic on the native, unmasked batch, and stop leaning on turn history the model never uses." astra's adversarial code audit read the actual call paths and found that two of those three premises were false in this codebase, and that the planned evaluation would have been confounded. each one would have quietly turned a paid experiment into a null.

trap 01 · code audit

the "native" batch was already blind

FastencGamesEncode emits the acting seat's belief observation from inside c++ (slot.beliefs[actor].inputFor(state)), and train_ppo.py applies the live mask to those tensors in place (clone=False). by the time python holds native_batch, the hidden cards are gone.

a critic built on that tensor would have been privileged in name only — the two arms of the a/b would have seen the same information.

fixa new c++ export, FastencGamesPrivBags, reads the opponent-hand and own-prize card-id multisets pre-action, before mask mutation.
trap 02 · replay census

turn history does not exist live

the plan to flip empty_turn_history=False assumed the live bridge sends turn history. a census of the archive found 0 of 21,410 archived live observations contain turnHistory.

training on a feature that is always present in sim and always absent live is a textbook sim-to-live skew — exactly the class of bug the live mask exists to prevent.

fixdo not flip the flag. memory has to be built from verified public facts that exist identically in sim and live (that is h5).
trap 03 · eval design

tordpult on one side of every panel game

the standard panel suite pits the target deck (tordpult) against the field. in Ditto 4-large vs 3-large, the candidate scored 74.1% as the tordpult pilot and 28.6% as the field pilot — the headline number mixes deck strength, seat, and which half of the policy improved.

a generalist estimand needs both decks drawn from the same population.

fixa new heldout_symmetric suite: both decks drawn from the 26 heldout decks; training restricted to uniform symmetric matchups over the 120 train decks.

how the privileged residual critic works

this is centralized training with decentralized execution (ctde): the critic gets information at training time that the actor will never have at play time. the trick is making sure that information can shape which actions get credit without ever leaking into what the actor sees or how it computes.

concretely, PrivilegedResidualCritic (ptcg_rl/model.py:138) takes four inputs:

  • the actor's own pre-value-head features [readout, prize], tapped by a forward pre-hook and detached;
  • the public value logit from V_live, also detached;
  • the opponent's hand as an unordered bag of card ids, and
  • your own six prizes as an unordered bag of card ids.

each bag goes through a shared 64-d card embedding with padding_idx=0 and is sum-pooled (no order information can survive). the concatenation feeds a 256-unit layer-normed gelu mlp whose output head is zero-initialized, and the result is added as a residual to the detached public logit:

(1)V_priv(s) = sg[ ℓ_live(o) ] + δ( sg[h(o)], Σ e(opp hand), Σ e(own prizes) ), δ ≡ 0 at step 0

here o is the public observation, s the full hidden state, ℓ_live the public value logit, h the actor's value-head input features, e the card embedding, and sg[·] stop-gradient. V_priv is squashed to [−1, +1] as 2σ(·) − 1 and trained by mse against the signed terminal outcome, with its own adamw at 1.2e-5.

then the key move, in train_ppo.py:577–588: when the critic is on, the policy advantages are computed by gae from V_priv values frozen at rollout time, while V_live keeps training on the same public λ-returns in both arms. the served model never runs the critic. at live time, V_priv simply does not exist.

ctde data flow: what can reach the actor, and what cannotfig 1.1 · architecture
SERVED PATH · PUBLIC ONLY · RUNS LIVE TRAINING-ONLY PATH · CTDE CRITIC · NEVER SERVED fastenc c++ engine 146-deck v3 full hidden state s belief observation FastencGamesEncode masked inside c++ live mask clone=False mutates in place ModelV4 actor 6L × 384d · 10.65m sees o only π(a | o) · served V_live(o) STOP-GRADIENT WALL · 0 grad leaks (test 2) private bags FastencGamesPrivBags pre-action, pre-mask Σ e(opp hand) Σ e(own prizes) 64d · padding_idx=0 mlp 256 → δ zero-init head own adamw 1.2e-5 V_priv(s) sg[ℓ_live] + δ mse → z ∈ {−1,+1} sg[readout, prize] sg[ℓ] gae advantages  from frozen rollout V_priv scalar weights on ∇log π (numbers cross, gradients don't) arm a: same critic, bags all zero → exact zero vectors

← scroll the diagram →

reading the figure: solid sky arrows are the served, public path; dashed plum arrows exist only during training; dotted arrows are detached (stop-gradient) taps. the only thing that crosses the red wall upward is the advantage estimate — a number per decision that weights the actor's log-probability gradient. where the analogy stops: "a critic that knows the hidden cards can explain away luck" is the intuition, not a guarantee. with gae (λ = 0.95) the critic's own errors feed the advantage targets, so whether the served policy gets better is exactly what the a/b has to measure.

the 0-cu preflight: 4 for 4 before spending a unit

scripts/test_h8_priv_critic.py encodes every invariant the pre-registration depends on as an assertion, runs against the frozen Ditto 4-large checkpoint on the local gpu, and must print ALL 4 H8 PREFLIGHT TESTS PASSED! before the colab launcher is allowed near an a100. all four passed in commit 0bb06fe. engineering tests on synthetic fixtures

  • 1
    hidden-state swap: 100 / 100 fixtures bit-identical
    resample the opponent's hand and your own prizes while holding the public state fixed. every actor input tensor, every policy logit, and V_live must be torch.equal before and after — while the private bags must actually change (≥95 of 100 required). any leak fails the run.
  • 2
    zero-init identity and zero gradient leakage
    at step 0, V_priv must equal the public logit exactly. after a backward pass through the critic loss, no served-model parameter may hold a gradient; the critic head must; and row 0 of the card embedding (the arm-a padding row) must have a zero gradient.
  • 3
    disjoint 120 / 26 split and an exact 50.00% null
    no deck may appear in both train and heldout, and an identical policy evaluated against itself on heldout_symmetric must score exactly 0.5 (to 1e-9) — a seat-swapped evaluator that cannot produce its own null is broken.
  • 4
    end-to-end arm a and arm b, with resume
    one ppo update per arm, checkpoint, --resume a second update, and reload with load_student. in two tiny updates arm b's critic loss fell 0.652 → 0.461 — a sign that the bags carry signal, and explicitly not a pass criterion.

the screen running right now

both arms start from the same frozen Ditto 4-large (6d37f7900da9), the same seed (20269101), the same 20 updates cut from the front of a 100-update cosine schedule (1.2e-5 → 2.5e-6, 4-update warmup), 262,144 decisions per update over 1,536 parallel games, and the same uniform symmetric matchups over the 120 train decks. the only difference:

arm a · --priv-critic zero

the identical critic module, optimizer and capacity — but the bags are all zeros, which the padding_idx=0 embedding turns into exact zero vectors. it controls for "a second value network with its own optimizer" without giving it any hidden information.

arm b · --priv-critic true

the true pre-action opponent-hand and own-prize multisets from FastencGamesPrivBags. this is the only variable that differs between the arms.

the pre-registered promotion gate (b vs a, greedy)fig 1.2 · pre-registered
the primary gate is b vs a on 2,000 fresh heldout_symmetric pairs (4,000 games): point estimate ≥ 52.0% and 95% lower bound > 50.0%; plus a regression guard of 95% lower bound > 48.0% on 1,000 tordpult mirror pairs. two extra suites are reported but do not gate: b vs a on 1,000 train_symmetric pairs, and each arm vs frozen Ditto 4-large on 1,000 heldout-symmetric pairs. a lower critic loss alone does not pass.

◐ live telemetry · snapshot 13:22 utc

the tracker gist reports exp09_h8_screen in phase3_ppo, 22.5 of a 135-minute budget elapsed, at update 2 of 20 with 525,474 decisions at 1,991 dec/s (pvf=0.529, kl=0.0085, clip=0.070) on an a100-sxm4-40gb at 50% utilisation, 19.3 of 41 gb. by launcher order this is arm a. the ledger shows two session starts (12:47 and 12:56 utc) — a relaunch; commit 07161d9 records the pre-flight import-order fix and the 40 gb microbatch (1024 × 3). no gate result exists yet, and nothing on this page predicts it.

if the screen passes, the direction gets a seed-2 replication before anything scales. only then does the full Ditto 5-large run (h8b, ~45–55 cu) go ahead, with checkpoints at 25, 50 and 100 updates evaluated once against frozen Ditto 4-large on fresh heldout-symmetric and mirror pairs. the failure branch is not written down yet (see §06).

02tier 2last night → this morningh2 / h3 falsified as built

what exp #8 and 39 live games actually proved

the overnight plan was the most ambitious bet of the campaign: teach the policy to think one move ahead, first by searching at play time (h2, live), then by distilling that search back into the weights (h3, exp #8). two independent instruments — a simulator ablation and the live ladder — returned the same answer. this is the most valuable negative result we have, and it changed the plan.

first, what "1-ply crn-pimc" means

pokémon tcg has hidden information (hands, prizes, deck order), so you cannot search the real game tree. perfect-information monte carlo (pimc) samples W plausible worlds consistent with what you can see, and plays each candidate move out in each world. common random numbers (crn) means every candidate faces the same sampled worlds and the same dice, so the comparison between candidates cancels most of the luck. "1-ply" means only the first action is branched: ditto proposes its top-K moves (K = 4), each is rolled forward by the greedy policy itself to the start of ditto's next turn, and the value head scores the leaf. search overrides the greedy move only when the best candidate beats the policy's own top move by a margin.

1-ply branching vs a multi-step combo turnfig 2.1 · mechanism
WHAT WE BUILT · 1-PLY CRN-PIMC WHAT A COMBO TURN NEEDS · MULTI-STEP root a₁ · ptop a₂ a₃ a₄ ⟶ greedy × 8 worlds ⟶ V ⟶ greedy × 8 worlds ⟶ V ⟶ greedy × 8 worlds ⟶ V ⟶ greedy × 8 worlds ⟶ V only the first action branches; everything after is the same greedy policy that is being "improved". root evolve attack now draw ability play item spread value lives in the whole sequence prompt: targets split A split B branches at later actions and at prompts (e.g. phantom dive damage splits) — parked as h6/h7.

← scroll the diagram →

left: the shape of the search that was built and tested. right: the kind of turn where a pokémon tcg line's value comes from a sequence of actions, or from a choice inside a prompt — which a 1-ply search with greedy continuations can only find if the greedy policy already finds it.

exp #8: Ditto 4-large, overnight

exp #8 ran 8 h 28 m (508.3 min) on an a100-80gb for 98.04 cu, with zero crashes, and was built from two phases so that the contribution of expert iteration could be isolated:

  • phase a — 100 updates of v3 ppo from Ditto 3-large over the 146-deck pool: 26.28m decisions at 2,137 dec/s, entropy 0.380 → 0.477 → 0.389, approx-kl 0.0027 at the end.
  • phase b — six rounds of prior-tilted crn-pimc expert iteration (W = 8 worlds, K ≤ 4 candidates, main phase only). each round searched ~15,000 decisions over ~480–510 games, evaluated 8.4–8.7m rollout positions (51.15m in total), overrode the policy 25–27% of the time, and had 0 non-finite skips. each round then had to beat the previous accepted model on a 500-pair gate — mean ≥ 50.4% and min(panel, mirror) ≥ 49.5% — to be accepted.

only round 4 passed. then the 8 × 1,000-game phase 4 confirmation ran on fresh seeds — including the decisive ablation: the final exit model against its own phase a starting point.

six exit rounds vs their predecessor (500 pairs each)fig 2.2 · simulation
▲ panel (146-deck)● tordpult mirrorgate: min ≥ 49.5%, mean ≥ 50.4%shaded = accepted
source: runs/exp08_d4l_exit/phase3_exit/exit_log.jsonl. whiskers are 95% paired cis. round 4 passed at 52.05% panel / 50.40% mirror (mean 51.22%); rounds 1–3, 5 and 6 each failed with means between 49.45% and 50.05%. the accepted model was then re-tested on fresh seeds in phase 4 (fig 2.3).
phase 4: Ditto 4-large (final exit model) on fresh seedsfig 2.3 · simulation
source: runs/exp08_d4l_exit/phase4_eval/*.json, 1,000 games (500 seat-swapped pairs) each, seed 20261129. the two rows against phase a are the pure exit ablation: same weights lineage, only phase b differs. the two reference suites vs u106 are in the table below; they would compress this scale.
suite (1,000 g)score95% cielo Δw–l (cens)reading
v3_panel_vs_ditto3146 decks51.35%[49.3, 53.4]+9.4507–480 (13)parity; ci crosses 50
v3_heldout_vs_ditto326 unseen49.70%[47.3, 52.1]−2.1497–503parity
v2_panel_vs_ditto346 decks49.90%[47.5, 52.3]−0.7490–492 (18)parity
mirror_vs_ditto349.50%[47.0, 51.9]−3.5495–505parity
v3_panel_vs_phaseApure exit ablation50.15%[48.3, 51.9]+1.0495–492 (13)no detectable exit effect
mirror_vs_phaseApure exit ablation50.40%[48.5, 52.3]+2.8504–496no detectable exit effect
v3_panel_vs_u106_live73.05%[70.8, 75.3]+173.2728–267 (5)orientation
v1_panel_vs_u106_native58.65%[56.1, 61.2]+60.7572–399 (29)orientation (full-info teacher)

✕ what the ablation does and does not say · simulation

it says that this exit recipe — 1-ply, K ≤ 4, 8 worlds, greedy continuations, six rounds, one accepted — produced no improvement the 1,000-game ablation can detect: +1.0 elo [−11.8, +13.6] on the panel and +2.8 elo [−10.4, +16.0] in the mirror. it does not say that expert iteration cannot work for this game, and the elo intervals themselves mark the size of effect this design could not rule out. astra's recorded root-cause reading: 1-ply branching plus greedy continuation misses multi-step follow-ups; an argmax over 8 worlds selects on noisy leaf estimates; and the v3 value head was never calibrated on the disputed leaves that decide overrides. recorded interpretation

the live flight: Ditto 3-large-s

the earlier live search model, Ditto 2.1-large-s, had gone 7–7. a code review found four reasons that flight was not a fair test of search, and all four were fixed before the next one:

  1. 88.9% (264 / 297) of searches hit the old 20-step rollout cap mid-way through the opponent's turn — the leaf was scored at the worst possible moment; raised to 48 steps with a step-cap and deadline override guard;
  2. self._card_types was empty (0 entries); now loaded from printed_facts.json (~10k card types);
  3. used-ability tracking was keyed by (zone, bench index) instead of the card's serial: when dudunsparce's run away draw shifted the bench, drakloak's recon directive was wrongly marked used inside c++. now serial-keyed;
  4. it ran pre-me6 weights that had never seen legendary pyroduct or mega rayquaza ex (it went 0–3 against mega rayquaza).

so Ditto 3-large-s was the clean test: 3-large weights, repaired crn-pimc (W = 8, K = 4, 48 steps), the v3 engine, and the same tordpult list. it played 39 clean games with zero crashes or hangs.

recordmeasurement
18–21 46.2%

39 clean games, peak 1544, net −56; opponent-adjusted perf 1469 ± 57.

override rateforensics
155 / 697

22.2% of completed searches changed the move. 68 of 155 (44%) picked a move the policy itself gave <15% — 13 attack→play, 9 evolve→play.

confirmationsforensics
130 + 14

130 confirmations came from leaves cut at the 48-step cap and 14 from the deadline — the search often agreed with greedy for reasons other than evidence.

failuresforensics
51 error 306

all 51 in just 2 games, all from an unmapped Igglybuff; each fell back to greedy in ~0 ms.

raw greedy vs search, live — opponent-adjusted performancefig 2.4 · measurement
● raw greedy policy◇ policy + live crn-pimcwhisker = 95% ci (±1.96 se)
source: bradley–terry fits in .cache/elo_summary.json (13:19 utc), except the 3-large-s audit row from APPROACHES.md. what this can and cannot show: these are different checkpoints, played at different times, against whoever the ladder served. the comparison is suggestive, not causal — the search models trailed raw 2.1-large, but no model here was flown both with and without search under matched conditions. the cis overlap heavily.
two instruments, one signal: neither the offline ablation nor the live ladder found genuine elo in 1-ply pimc as currently built.recorded conclusion · issue #13 closing comment, APPROACHES.md h2/h3

the decision was to park production search (it comes back only when offline paired continuations under the exact served live wrapper show that overrides improve winrate) and to fly raw greedy Ditto 4-large on unlimited ranked to establish a clean post-v3 baseline with no search confound. at the 13:24 utc snapshot it is 3–2; the target is 25–40+ clean games before the number means anything. in flight

the whole search story on one axis

search was tried four different ways over the campaign. laid out together, the pattern is one small, early, wide-ci positive surrounded by flat and negative results at larger sample sizes. simulation

every offline search result vs greedy (or vs pre-search model)fig 2.5 · simulation
sources: runs/exp02_search_flight/armA_search400_vs_ditto_greedy.json; runs/exp06_large_overnight/search_2_1_*.json; runs/exp08_d4l_exit/phase4_eval/*_vs_phaseA.json. the +77.2 crn-pimc result (64 games, ci lower bound exactly 50.0%) is what motivated the live search work; the larger samples after it did not reproduce a gain. sample sizes differ by 15× — read the whiskers, not the dots.

h4: tordpult vs worlds hammerpult

one cheap question remained that did not need any new model: is ditto playing the wrong 60 cards? the live list is pre-delta-reign tordpult (2 stadiums, 4 dudunsparce-line draw bodies). andrew hedrick's 2026 worlds-winning hammerpult (4 crushing hammer, special red card, jtg dunsparce) is the post-dlr archetype leader. h4 put both lists in the hands of Ditto 4-large — playing both seats, so only the deck differs — for 1,500 paired games on the local gpu, 0 cu.

the deck showdown (Ditto 4-large on both sides)fig 2.6 · simulation
source: runs/exp08_d4l_exit/h4_tordpult_vs_hammerpult.json (250 pairs = 500 games per comparison). the json keys say tord_vs_v2_field / hammer_vs_v2_field — legacy labels; the producing script (.cache/eval_deck_ablation.py) loads opponent-pool-v3.json, i.e. the 145 other v3 decks. the paired field delta is the mean per-pair difference, ci from the same json.

the two results point in different directions, and both are real. head to head, hammerpult beats tordpult 56.2% (+43.3 elo, ci [52.0%, 60.4%], 281–219) — the hammers and red card decide dragapult mirrors. but against the uniform 145-deck field, tordpult's 75.8% and hammerpult's 73.3% are statistically indistinguishable (paired Δ −2.5%, ci [−6.8%, +1.9%]). hammerpult's edge concentrates in mirrors, mega excadrill (+30%), mega lopunny (+25%) and dhelmise (+21%); tordpult edges rogue and spread lists.

the decision: keep tordpult live for now, and re-run h4 once a generalist Ditto 5 trains uniformly across all decks. the recorded caveat is that Ditto 4-large was ~50% tordpult-trained, so the pilot is not deck-neutral — the field result was flat despite that. recorded decision

h5: the frida tray discovery

h5 began as the most attractive "free" upgrade on the board. every strong human prize-checks on turn 1: the first time you search your whole deck (buddy-buddy poffin, ultra ball, poké pad), you can see the 54 cards that are not prized, so you know your six prizes for the rest of the game. ditto has full cross-turn amnesia (empty_turn_history=True), so it never does this.

commit 264df7f built the shared, deterministic PublicBeliefReducer (ptcg_rl/public_belief.py): own-prize lower bounds deduced only from exhaustive views or verified full-category search prompts, plus a multiset of opponent hand cards witnessed moving from public zones — with conservative invalidation on any hand-reset card (iono, unfair stamp, judge, …), shuffle, or conservation violation. then it was replayed against the 39 archived 3-large-s games: replay audit

  • 11 opponent discard/board recoveries witnessed → 6 later confirmed played, 4 cleanly invalidated on iono/shuffle;
  • 134 buddy-buddy poffin prompts seen;
  • and the discovery that reshaped h5: the frida prompt only exposes the eligible choices, not the full 45-card deck tray a human sees.

without the full tray, the exact turn-1 six-prize solve is not available from today's bridge. the options now are to extend the frida hook to capture the human-visible tray, or to use verified category bounds plus opponent-recovery tracking computed identically in sim and live — and to prove 100% sim-to-live replay parity before any of it reaches the actor (exp #10).

03tier 3yesterday afternoon → last nighth1 done

engine engineering and the v1 → v2 → v3 meta expansion

the live ladder moved under ditto's feet. delta reign (me6) brought mega rayquaza ex, legendary pyroduct, talonflame ex and dozens of new lists, and a model trained on 22 pre-dlr decks was meeting cards it had literally never seen — embeddings of all zeros. tier 3 is the story of rebuilding the world ditto trains in, twice, without breaking a single existing checkpoint.

training pool by engine generationfig 3.1
sources: opponent-pool.json (v1), opponent-pool-v2.json (issue #8: 46 decks / 29 archetypes), runs/pools/opponent-pool-v3.json (146 decks, schema ptcg-rl/opponent-pool/3, target nice-2026-tord-dragapult-30520). v1 trained on 16 and held out 6; v3 trains on 120 and holds out 26.

building the v3 (me6) engine

the pleasant surprise of issue #12 was that most of the delta reign card work already existed on disk from earlier private engineering — an official non-colliding id ledger, a parity harness, five engine rule repairs, and oracle-tested c++ card headers in three batches. the job became assembly and qualification rather than authorship: j5-core + j6-repairs + T1 + T2 + T3 + E1 + E2, plus a new FastencPoolBeginLiveMain entry point for live search. build audit

build receipt (build-1/receipt.json)value
cards / attacks / skills added+750 / +1,098 / +95
duplicate or unclaimed ids · unexpected changes to existing ids0 · 0
CARD_VOCAB21,924 → 22,755
ATTACK_VOCAB35,347 → 36,675
ModelV4 tensors that change shape2 of 121
crash-free smoke games (tordpult vs mega rayquaza ex + pyroduct)16 / 16
shadow replay: unknown_card_on_board (383 live decisions)21.2% → 0.0%
shadow replay: c++ root match rate191 / 191
live search latency, rtx 3080 (median / p95)1,085 / 1,239 ms

only two of ModelV4's 121 state-dict tensors grow with the vocabulary — card.weight and attack.weight — so load_student (ptcg_rl/model.py:211) zero-extends them: old rows are copied verbatim, new rows start at zero and the new cards are read zero-shot through their printed program tokens (the "atoms"), which id_dropout had trained the model to rely on. Ditto 2.1-large and Ditto 3-large both loaded into v3 untouched. the same migration had to be applied to the pfsp opponent snapshots inside train_ppo.py — the "v2 → v3 pfsp fix" in commit 6137cb9.

engine war stories

✕ belief.h and AreaType::Playing

the belief code that builds each seat's view of hidden zones mishandled cards in the AreaType::Playing area — cards mid-resolution — which surfaced as an engine error 999. the repair restored the leak-free invariant that the unknown pool equals deck ∪ prizes and nothing else. after the fix: 0 errors across 26.28m ppo decisions and 51.1m exit positions. exp #8 logs

the c++ lives in the private engine outside this repo; the error code and invariant come from the campaign notes, the zero-error count from APPROACHES.md h1.

✕ Igglybuff and error 306

during the 3-large-s flight, 51 searches failed with error 306. h9's post-mortem traced every one of them to two games against a list running igglybuff, which was not mapped in the live search engine's card table. the fallback did its job — each failure dropped to greedy in ~0 ms, the game continued — but it is now part of h1b, alongside koraidon ex and mew ex.

and the background hum of a native engine at high throughput, each handled once and then never again:

  • FastencGamesRestart is terminal-only (error 321, FE_GAME_LIVE): never restart a live slot; park censored or loop-guarded slots and recreate the batch cleanly on full reset (55b5337).
  • a ~1-in-10,000 native abort (State.h:658 "no context", exit 0xC0000409): the overnight driver detects native crashes and resumes from the last atomic checkpoint with a shifted seed; --latest-every 1 made that resume zero-loss (0bd3ba9).
  • error 213 (E_SOLVED_MIDDLE_SIZE): recovered in place inside ppo rollouts instead of killing the update (2680767).

exp #7 / #7b: Ditto 3-large, the mega meta

exp #7 started on an l4 and ran out of wall time at update 37 (9.72m decisions, 14.91 cu) — still at 92% of peak learning rate, yet already +11.5 on the v2 panel over 2.1-large, crushing mega excadrill (65.2%), cynthia's garchomp (63.6%) and mega lopunny (59.1%). exp #7b continued from that checkpoint on an a100-80gb for the full 160-update cosine (1.5e-5 → 2e-6): 42.06m decisions, 358.8 min, 2,098 dec/s, entropy ending at 0.364, against a frozen 2.1-large anchor. simulation

in-training evals: exp #7b (160u) and exp #8 phase a (100u)fig 3.2 · simulation
vs u106-livevs u106-nativevs frozen anchor (mirror)
sources: eval_vs_* rows in runs/exp07b_mega_converge/phase3_ppo/ppo_log.jsonl and runs/exp08_d4l_exit/phase3_ppo/ppo_log.jsonl; in-training evals use 500 pairs. exp #7b's anchor is 2.1-large; exp #8's is 3-large. the field curves climb while the mirror vs the anchor stays pinned near zero — the "coverage, not skill" pattern in one picture.
exp #7b phase 4 (1,000 g)score95% cielo Δas target / as field
v2_panel vs Ditto 2.1-large56.40%[54.0, 58.9]+44.777.8% / 36.1%
v2_heldout vs Ditto 2.1-large54.90%[52.5, 57.3]+34.277.8% / 32.0%
mirror vs Ditto 2.1-large48.90%[46.2, 51.6]−7.6mirror
v1_panel vs Ditto 2.1-large48.00%[45.5, 50.6]−13.954.1% / 41.9%
v1_heldout vs u106-live84.00%[81.9, 86.0]+288.192.4% / 75.6%
v2_heldout vs u106-live78.20%[75.8, 80.5]+221.992.6% / 63.8%
v2_panel vs u106-live77.25%[75.1, 79.5]+212.491.7% / 62.8%
v1_panel vs u106-native60.40%[57.9, 62.9]+73.375.8% / 44.6%

checkpoint 29a8ab9782d4…2b5b3, backed up to the private release model/ditto-3-large. note the role split: on v2_panel vs u106-live the tordpult pilot side wins 91.7% and the field side 62.8%; vs 2.1-large on the same panel, 77.8% vs 36.1%. that asymmetry is trap 03 from tier 1, visible a day before it was named.

the p0 audit fix set, applied before exp #8

before the overnight exit run, carbon and astra audited ptcg_rl/train_exit.py, the exp #8 launcher, and live/pimc.py adversarially. the repo does not number the findings; below they are grouped as the fixes that landed, with where each one lives. code audit

#failure modefix as shippedwhere
1non-finite logits (illegal actions are −∞) poisoning the kl gather and the whole stepnan-safe gather: mask by legal & isfinite, zero the rest; skip any non-finite loss or grad-norm (0 skips occurred)train_exit.py:668–806
2argmax-q targets reward noisy winners and discard the priorprior-tilted mpo / gumbel-muzero target log π_prev(a) + deadzone(Q − Q₀)/τ; equal q ⇒ exactly zero drifttrain_exit.py:92
3candidates compared on different surviving worldscompare only on common surviving crn worlds shared with the policy's top movetrain_exit.py:309
4search on setup / mid-effect prompts the engine can't root cleanlysearch strictly in settled main phase (turn ≥ 1, select_type == 0)train_exit.py:536
5kl over the top-4 starves unsearched moves #5–#20tail-preserving kl: incumbent mass kept on all unsearched legal actions; prompts sampled game-wide for anchoringtrain_exit.py:661
6value head chasing max_a Q (winner's curse)anchored value target 0.50·V_prev + 0.30·Q_chosen + 0.20·z (searched), 0.85·V_prev + 0.15·z (unsearched)train_exit.py:738–774
7ability use tracked by bench slot, so shifting the bench disables abilities in c++serial-keyed used-ability tracking (dudunsparce / drakloak), 48-step rollouts, step-cap + deadline override guard, loaded card typeslive/pimc.py

plus the operational guards around them: per-round --resume, a wall-clock cap, a retry loop that aborts after three consecutive zero-progress crashes rather than burn cu, and a strict 500-pair acceptance gate. it is worth saying plainly: all of this worked. exp #8 ran clean. the recipe was falsified on its merits, not on a bug — which is the only kind of falsification worth having.

04tier 4the infrastructure that makes live numbers mean something

the live bridge, the telemetry, and the dive bar

a live elo is only evidence if the model at the table is the model in the receipts, sees only what a human sees, and every game is logged whether it was won, lost, or interrupted. tier 4 is the plumbing that makes that true.

how ditto plays a real personfig 4.1 · architecture
WINDOWS 11 · RTX 3080 · LOCAL CLOUD pokémon tcg live client 1.44.0 a real human opponent frida bridge reads state, clicks eligible choices only live/policy.py player-visible obs fail-closed LiveMappingError live/scorer.py init → observe → decide → close Ditto 4-large raw greedy · cpu ~10.6 ms at batch 1 live crn-pimc gpu, W=8 K=4 ‖ parked (h2) action live/hud.py · :8768 start one / loop · set-max-games stop killswitch · sqlite journal bridge-quality verdict per game elo_ledger.py · publish_live.py .cache/elo_history.jsonl · elo_summary.json bradley–terry perf elo (live_calibration) git push --force to the gist (no rest patch limits) colab a100 training ppo_log / exit_log / status sync_colab_tracker.py secret github gist live.json · metrics.json ditto-tracker.vercel.app dashboard/index.html reads the gist in the browser

← scroll the diagram →

the dashed link to live crn-pimc is the parked search path: it is still wired, but the live config currently serves raw greedy Ditto 4-large. gold arrows carry telemetry; nothing on the cloud side can send an action.

the 100% live-observable contract

the single most important design decision in ditto is that the model is trained, evaluated and served on exactly the observation a human gets from the tcg live client. ptcg_rl/mask.py is a gpu port of the repaired served contract (served-repaired-v5 equivalent): it strips the 322+ fields the live client never shows, applies energy-provision, snapshot-belief, selection-context and unknown-opponent-card transforms, and draws its random dropouts from a deterministic integer hash keyed by (game_seed, seat, decision_index) so paired evaluations are bit-reproducible. how big is that handicap? in exp #1, the full-information teacher u106 playing through the live mask lost to itself unmasked by −185.3 elo (25.6%) simulation. that number is why ditto exists: a model trained natively on the mask recovers most of what the mask takes away.

three more contract rules: ppo runs with zero kl tether to the teacher by default (the student is free to leave it behind); live/policy.py fails closed — any mapping it cannot prove raises LiveMappingError rather than guessing; and the bridge grades every game (bridge_quality: clean only if the bridge was uninterrupted and the result and lobby return were confirmed). 179 of the 180 games logged by the snapshot are flagged clean.

running the ladder unattended

  • the hud (live/hud.py, localhost:8768, launched by scripts/launch_live_hud.ps1) is the controller: one-game or loop ranked, test-ai launch, an instant stop killswitch, and an sqlite journal of every control event and decision.
  • max_games handoff — /api/set-max-games (1c861ce) changes the quota of a running loop, so a model can be switched to unlimited ranked without interrupting the game in progress. model swaps are queued and hot-swap on the next game (queued_model in live.json).
  • client 1.44.0 survival — a cluster of commits across 27–28 nov (045bdb2 … 3e58f25) moved navigation onto MainMenuSingleton, fixed test-deck launch, dismissed stale results and prize-selection screens on startup, and used SubmitSelectionAndClose to avoid partial-selection dialogs.
  • detached execution — long jobs run as windows scheduled tasks (scripts/launch_detached.ps1), never as children of an ide shell, so an editor restart cannot kill an overnight run.

turning a ladder into a measurement

the client's displayed elo is a path, not a parameter — it depends on who you happened to meet. ptcg_rl/live_calibration.py fits an opponent-adjusted bradley–terry performance rating per model from every completed arceus game (each game contributes the opponent's displayed rating and the result) with a fisher-information standard error. it also projects training checkpoints onto the live scale through the offline head-to-head offsets, with a fixed transfer slope β = 1.0 and a conservative transfer uncertainty σ = 25 elo until three or more live-tested checkpoints can fit β (issue #10). the current pooled anchor: 1530.2 ± 43.8 from 65 games of 2-large and 2.1-large. projection model

(2)P(ditto wins game i) = 1 / (1 + 10^((R_opp,i − R_model) / 400))

the celadon game corner dive bar

all of this lands on ditto-tracker.vercel.app, a single static page that reads live.json and metrics.json from a secret gist in the browser. it is unapologetically themed — an after-hours celadon game corner, espresso bar-top #140f0c, mahogany booths #1b1512, cream ink #f2e7d5, neon seen through haze, allo and ibm plex mono — but the theme is disciplined by two rules:

  • deutan-safe by construction. rose, mint, gold and sky sit on a three-step luminance scale, and no difference is carried by hue alone: wins are filled and losses hollow, good is ▲ and bad ▼, model segments are labeled in place. this page follows the same rules.
  • blank beats stale. metrics.json is flushed the moment a new training run starts, and the training tab shows the current run or nothing.

recent polish, in commit order: mouse-wheel zoom, drag pan and auto-y rescale on every chart (9c06eab); clickable model pills that toggle each generation on the arceus chart (6f61eb1); and a calmer palette with champion-first charts and an exit chart that appears only when exit telemetry exists (3b8f578).

05tier 5the first 36 hours

foundations: from zero to Ditto 2.1-large

ditto's first day and a half was a clean, fast climb — each experiment a 15-minute flight test with a pass/fail rule written down before it ran, then a scale-up only if it passed. it is the part of the campaign where almost everything worked, and it is worth knowing why it worked, because that is the standard the current plateau is being held to.

the recipe: distill under the mask, then let self-play take over

step one is imitation with a twist. the teacher, u106, is a 26.8m-parameter model that sees the native, full-information state. the student sees only the live-masked state. dagger distillation (ptcg_rl/distill.py) has the frozen teacher score native states while the student learns, on the masked view of the same states, to match the teacher's policy (kl) and value (bce). the teacher's program reader is cached once in bf16, which is what makes this fast.

the twist is "a thumb over the card name". ditto's atoms card encoding reads each card's printed program (attacks, abilities, types) as tokens, alongside a learned per-card id embedding. attach_id_dropout (ptcg_rl/model.py:42) zeroes a random shared subset of id rows on every training forward pass while leaving the printed atoms intact — so the model learns to play a card from what it says, not only from having memorised its id. that is precisely what let the new delta reign cards (+831 vocabulary rows) load zero-shot a day later.

step two is symmetric self-play ppo (ptcg_rl/train_ppo.py) with a pfsp league of past checkpoints, a frozen anchor, gpu-resident rollouts, and no kl tether to the teacher. the student is meant to outgrow it.

  1. 27 nov 00:13 est · 487bf16 → d85dacc
    init ditto, then fix every finding from the first astra review
    lean fastenc env, the live mask, dagger distill, paired eval and symmetric pfsp ppo; then: the exact served snapshot/prompt mask, unbiased 50% eval parity, real id dropout, clean ppo wave resets — and the first vercel dashboard.
  2. exp #1 · overnight_04 · local rtx 3080 · 339 min · 0 cu
    baseline: med distill (10.50m decisions) + 362u ppo (23.79m)
    top-1 agreement with the teacher 32% → 90%. the live mask costs the teacher itself −185.3 elo. ppo vs distill netted +0.2 — not flat learning but a trade: weak opponent pilots improved enormously (dhelmise 12.7% → 60.0% as field pilot) while the tordpult mirror collapsed to 33.7%, because under uniform symmetric sampling the mirror was 1/256 of training games. lesson: the matchup mix is part of the objective.
  3. exp #2 · 15-min flight · local
    nativeforest batched tree search: −17.4 elo (240 g) — gate failed
    three recorded root causes: fresh random mask dropouts on every leaf wave injected noise into q backups; a policy safeguard plus c_puct = 1.5 allowed only 3.57% overrides; and the value head came from stochastic ppo gae, not calibrated for tree rollouts. stopped early to save gpu time.
  4. exp #3 · a100-40gb · 30u · 5.97 cu
    fixed matchup mix + low entropy + cosine lr: passes every criterion
    tordpult_balanced (20% mirror / 40% tordpult-vs-field / 40% symmetric), ent_coef = 0.003, cosine 3e-5 → 5e-6, 15% frozen anchor + 35% pfsp. +44.7 vs distill; the mirror flips from 33.7% to +18.8 elo; and +20.2 vs the full-information teacher — the first live-masked checkpoint whose ci lower bound clears 50% against u106-native.
  5. exp #4 · a100-40gb · flight test
    the large preset: 6L × 384d, 10.65m body / 20.41m total, ~10.6 ms at batch 1 on cpu
    ties med head to head (−1.4) off 2m fewer distill decisions, but generalises better: +205.0 vs u106-live on the 6 heldout decks (+22.4 over med) and +25.1 in the mirror, saturating the a100 at 95% / 371 w. large is selected.
  6. exp #5 · Ditto 2-large · 6 h · 146u · 38.4m decisions
    the vram-saturated scale-up
    +67.9 vs u106-native, +277.9 on heldout vs u106-live, +16.3 over its own u90 snapshot. live: 9–4 in rank points, then 10–12 in the arceus league.
  7. exp #6 · Ditto 2.1-large · 8 h overnight · 200u · 52.6m decisions
    cosine lr restart 1.5e-5 → 2e-6, promoted exp #5 anchor, pfsp-32
    +17.7 panel and +26.5 mirror over 2-large, +78.1 vs the full-information teacher, +306.8 on heldout vs u106-live. live: 25–18 (58.1%), peak 1547 — still the best model ditto has put on the ladder.
the one fixed yardstick: score vs full-information u106-native on the v1 22-deck panelfig 5.1 · simulation
sources: each experiment's *_u106_native_panel.json / v1_panel_vs_u106_native.json; 1,000 games each (exp #1: 2,000). same opponent, same 22-deck panel, different seeds and checkpoints. the climb ends at exp #5–#6; exp #7b and #8 trained on wider pools and hold the level rather than raise it — the plateau from another angle. this panel cannot see mega-meta gains, which is why it is a yardstick and not a target.
presetd_model × layersactive bodyrole
small192 × 4~1.3mfast iteration
med256 × 4~3.2mexp #1–#3 default
wide256 × 5~3.95ma100 option
large384 × 610.65mevery model since exp #4 (20.41m total)
xl slated512 × 8~25–40mh10, only after h8 and h5

operational discipline

the habits that make the rest of this page trustworthy, codified in AGENTS.md:

  • every experiment is a github issue with a hypothesis, the exact command and commit, a 15-minute flight-test gate, and paired receipts (winrate, 95% ci, elo Δ, role split).
  • every colab session is ledgered on start and stop, and ends with a verified 0.00/hr — no silent cu leaks.
  • every milestone checkpoint goes to a private github release (scripts/backup_model.py: full and slim .pt, receipts.tar.gz, SHA256SUMS.txt under model/<slug>), never into git history.
  • every comparison is paired and seat-swapped, with deterministic mask keys, and reported against both u106-live (the served contract) and u106-native (full information).
  • live flights have three stages: a 5–10 game smoke flight, a 30–50 game calibration flight on a pinned deck and bridge, and a post-flight autopsy (unknown-card rate, meta census, red-flag replay queue).

06the plan, and where it is still open

the path from ~1,550 → 1,800 → 2,000

the roadmap is a chain of single-variable bets, each gated against the frozen previous champion, ordered so that the cheapest informative failure comes first. it is a plan, not a forecast. plan

decision tree after the exp #9 screenfig 6.1 · plan
exp #9 screen h8a · b vs a ◐ running ✓ pass ✕ fail exp #9b seed-2 replication h8b · Ditto 5-large 100u · ~45–55 cu vs frozen 4-large + live exp #10 · h5 actor memory 100% sim/live replay parity first ~25–50 cu · heldout_symmetric a/b then, one variable at a time re-run h4 (hammerpult) on a generalist h10: specialist exploiters · xl scale h6/h7 search only on paired-continuation proof not pre-specified document the null; the next bet is your call (h5? h10? recipe change?) 0-cu track, in parallel raw greedy 4-large live baseline (25–40+ g) h1b: koraidon ex · mew ex · igglybuff h9: blind 20 overrides vs 20 confirmations runs regardless of the screen

← scroll the diagram →

the pass branch and the 0-cu track are written down in APPROACHES.md §2. the fail branch is not — that is a scientific choice for the owner of this project, not for this page.
steptargetstatuscostgate / deliverable
now · colabexp #9 screen (h8a, issue #14)in flight~18 cu (≤30)b vs a ≥52% (lb >50%) on 2k heldout-symmetric pairs; mirror lb >48%; a100 to 0.00/hr
now · liveraw greedy Ditto 4-largein flight0 cu25–40+ clean games vs 2.1-large's 25–18
next · 0 cuh9 blind audit + h1b stubsslated0 cuclassify overrides: candidate omission vs continuation error vs world mismatch; close me6 stubs
next · paidexp #9b seed 2 → 100u Ditto 5-large (h8b)slated~45–55 cuonly on screen pass; beat 4-large on fresh heldout-symmetric + mirror + live
after h8bexp #10 actor memory (h5)slated~25–50 cureplay parity first, then a single-variable a/b
after h5h4 re-run · h10 exploiters / xl · search re-evalslatedtbdbreak 1,750 → 1,900+ live

◇ the honest milestones · planning estimates from the audits

milestone 1, ~1,750–1,800 live: plausibly reachable by layering coverage, a stronger base policy and the right deck. milestone 2, ~1,850–2,000+: requires information and planning that a memoryless 0-ply policy cannot reach — verified cross-turn memory, prompt-level and multi-step planning, and stronger, non-self-play opponents. gains will not add linearly: distilling search into weights absorbs part of the search delta, and changing decks changes which errors matter. every layer is gated against the frozen previous champion for exactly that reason.

07reference

method, glossary, receipts

how to read every number on this page

paired, seat-swapped evaluation. each "pair" is two games with an identical (deck0, deck1, seed) and the two policies swapped between seats (build_paired_eval_schedule). an identical policy against itself therefore scores exactly 50.0%, and shared luck — the same shuffles, the same draws — cancels within the pair. reported scores are half-credit (draws count ½); "censored" games hit a step limit and count as draws. cis are 95% paired bootstrap intervals over pairs, and elo deltas convert the score p as:

(3)Δelo = 400 · log₁₀( p / (1 − p) ) e.g. p = 0.564 → +44.7

suites. panel: the tordpult target vs every deck in the pool. heldout: the target vs decks never trained on. mirror: tordpult vs tordpult. symmetric / heldout_symmetric: both decks drawn from the same population (train or heldout) — the generalist estimand. by_role splits a panel into as_target (candidate piloting tordpult) and as_field.

claim labels. measurement observed on the live ladder or in logs · simulation paired games inside the engine · synthetic test engineering assertions on constructed fixtures · prediction / plan estimates and pre-registrations · recorded interpretation a conclusion quoted from APPROACHES.md, an issue, or an audit. nothing on this page is a causal estimate beyond what a single-variable paired a/b licenses within its own suite.

glossary · 18 terms
arceus leaguetcg live's elo ladder, unlocked above the rank-point ladder; every live number here is from it unless marked "rank points".
u106-native / u106-livethe 26.8m-parameter teacher playing with full information, or through the same live mask ditto uses.
live maskLiveObservationMask: the gpu transform that reduces an engine state to what the tcg live client shows.
daggerimitation where the student's own visited states are relabelled by the teacher.
atoms / id_dropoutprinted-program card features / random zeroing of learned card-id embeddings during training.
ppo · gaeproximal policy optimisation · generalised advantage estimation (λ = 0.95).
pfspprioritised fictitious self-play: training against a weighted league of past checkpoints.
anchora frozen reference opponent mixed into training (15%) and used for in-training mirror evals.
pimc · crnperfect-information monte carlo over sampled hidden worlds · common random numbers across candidates.
exitexpert iteration: distil the search's choices back into the policy weights.
ptop · K · Wthe policy's top move · number of searched candidates · number of sampled worlds.
ctdecentralised training, decentralised execution: privileged information at training time only.
V_live · V_privthe public value head (served) · the training-only privileged residual critic.
v1 · v2 · v3 (me6)engine/pool generations: 22 pre-dlr decks · 46 mega decks · 146 post-delta-reign decks.
tordpult · hammerpultthe live dragapult list (nice 2026) · andrew hedrick's 2026 worlds-winning dragapult list.
fridathe instrumentation layer the bridge uses to read client state and make choices.
cugoogle colab compute units; the campaign's only paid resource.
bt perf eloopponent-adjusted bradley–terry rating fitted from live results, eq (2).
receipts index · every source file this page reads
  • status & plan: APPROACHES.md, AGENTS.md, README.md, issues #1–#14 on zarnab222-dev/ditto
  • live: .cache/elo_history.jsonl, .cache/elo_summary.json, .cache/gist_repo/live.json
  • training telemetry: .cache/gist_repo/metrics.json (exp #9 snapshot)
  • compute: .cache/colab_ledger.jsonl
  • exp #8: runs/exp08_d4l_exit/phase4_eval/*.json, phase3_exit/exit_log.jsonl, phase3_ppo/ppo_log.jsonl, h4_tordpult_vs_hammerpult.json
  • exp #7b: runs/exp07b_mega_converge/phase4_eval/*.json, phase3_ppo/ppo_log.jsonl
  • exp #1–#6: runs/overnight_04/ (incl. SUMMARY.md), runs/exp02_search_flight/, runs/exp03_flight/, runs/exp04_large/, runs/exp05_large_6h/, runs/exp06_large_overnight/
  • code: ptcg_rl/model.py, train_ppo.py, train_exit.py, mask.py, public_belief.py, live_calibration.py, live/pimc.py, live/policy.py, live/hud.py, scripts/test_h8_priv_critic.py, colab/run_exp09_h8_screen_colab.sh, colab/run_exp08_d4l_exit_colab.sh

where two sources disagree, both are shown: the 3-large-s record (40 logged vs 39 clean), the h4 json's legacy v2_field keys vs the v3 pool it actually used, and the exp #9 run label ("a100 80gb") vs the gpu the telemetry reports (a100-sxm4-40gb).

compute ledger, line by line
sessiongpucoversbalance before → aftercu
localrtx 3080exp #1, #2, h4, h5, h8 preflight, all live play—0.00
ditto-exp03a100-40gbexp #3 flight + 5×1k evals (46 min)1019.78 → 1013.815.97
ditto-exp04a100-40gbexp #4 + #5 + #6 (27 nov 21:03 → 28 nov 12:48 utc)1013.81 → 885.62128.19
ditto-exp07l4exp #7 (u37) + 8×1k evals885.62 → 870.7114.91
ditto-exp07ba100-80gbexp #7b (to 03:03 utc snapshot)870.71 → 802.0268.69
ditto-exp07ba100-80gbexp #8 (508.3 min)802.02 → 703.9898.04
total through exp #8315.80
ditto-exp09a100 (40gb per telemetry)exp #9 screen — in flight703.98 → ?~18 est · 30 cap

about this page. written as a design and explainer artifact. every figure is transcribed from the receipts listed above; no new statistical analysis was run to produce it, and interpretations are quoted from the campaign's own records and labeled as such. the exp #9 result did not exist when it was written.

colour. the palette is tuned for green-weak (deutan) vision: good and bad differ in luminance (bright mint vs mid rose) and in shape (filled vs hollow, ▲ vs ▼, ✓ vs ✕, solid vs dashed), and every series is labeled in place or in a legend, so nothing depends on telling hues apart.

snapshot 2026-11-29 13:24 utc · head 07161d9 · live dashboard · back to top ↑