Marcus Wong Software Engineer, AI Systems

Automated capability lab

From play
to proof.

Decktrace trains several card-game agents in parallel, eliminates weak candidates, and promotes a new champion only after fresh paired evidence clears uncertainty and archive checks. The entire loop runs without human games, labels, or promotion decisions.

  • Five explicit self-play arms
  • Parallel, restartable training
  • Automatic evidence-bound promotion

One generation · one controlled capability race

  1. 01
    TrainFive armsfresh + champion lineages
  2. 02
    ScreenThree survive256,000 steps each
  3. 03
    FinalizeTwo finalists2,048,000-step horizon
  4. 04
    ConfirmOne champion512+ paired openings

First verified promotion: 97.66% point estimate · 96.29% adjusted lower bound.
512 paired openings · archive pass · zero invalid actions.

A 21-second guided system tour

Watch one move become an engineering decision.

Real retained artifacts from across the system—not one implied end-to-end run.

Stage 1 of 7 · Retained native traceCapture: A game move becomes a retained event.

Stage 1 of 7Retained native trace

Capture: A game move becomes a retained event.

The native game records the player-visible action, actor, turn, and trace position before any downstream interpretation.

Proof
Activate the leader appears at step 34 of a complete 134-action game.
Claim ceiling
One complete native path, not every reachable game state.
Open the retained trace summary
GAME EVENTACTIVATE LEADER
Turn
3
Actor
P1
Trace
#034
event.activate_leader

The engineering challenge

More learning per wall-clock hour—without weaker evidence.

Explore the three engineering challenges

Run real campaigns, not one-off scripts

Challenge: Long training runs must survive disposable machines, dependency drift, interruption, and publication failures.

Response: One zero-touch operator restores validated state, owns locking and dependencies, checkpoints complete waves, publishes status, and pauses safely.

Explore alternatives without wasting the budget

Challenge: Every training idea can consume millions of steps before revealing that it is weak.

Response: Five explicit arms train in parallel and narrow from five to three to two on common-seed screens.

Let evidence—not optimism—promote

Challenge: A top training score can still be noise, seat bias, or regression against older opponents.

Response: Fresh paired openings, adjusted lower bounds, invalid-action checks, and a separate archive gate decide promotion automatically.

First measured capability gain

The first challenger earned the champion slot.

Read Candidate → Match design → Result → Confidence → Safety
  1. Candidate

    The counterfactual explorer emerged from the automated multi-arm race.

  2. Match design

    512 paired openings put challenger and incumbent in both seats across 1,024 completed games.

  3. Result

    The challenger posted a 97.66% point estimate against the initial champion.

  4. Confidence

    The multiplicity-adjusted lower bound was 96.29%, above the predeclared promotion threshold.

  5. Safety

    Archive regression passed, invalid actions stayed at zero, and the promotion happened automatically.

Concrete proof

Evidence over claims

Each row names what the evidence permits—and where it stops.

Proven
Automated campaign execution

Restartable, parallel training has advanced multiple generations with retained checkpoints and live status publication.

Confirmed in scope
First challenger stronger than the initial champion

97.66% point estimate; 96.29% adjusted lower bound across 512 paired openings; archive pass; zero invalid actions.

! Not yet run
Native qualification for the current champion

The promotion evidence comes from the deterministic simulator; the native client remains a later qualification canary.

? Not established
Broad strength across arbitrary leaders and decks

The confirmed result is intentionally limited to the checked-in Imu mirror matchup.

Five connected capabilities

The lab at a glance

Open Guided Routes
Explore the five connected systems
01

Execute

Runs complete, reproducible games fast enough for large self-play campaigns.

Built
Deterministic Python simulator, native parity bridge, legal-action contracts
Proof
Complete games and zero invalid actions in the first 1,024-game promotion set
Current boundary

Rules and strength remain scoped to the fixed Imu mirror setup.

See how a game runs
02

Train

Explores several learning strategies without turning every idea into a full run.

Built
Five explicit masked-PPO arms under one restartable parallel operator
Proof
Five candidates narrow to three, then two, at exact training rungs
Current boundary

Rung scores screen candidates; they do not prove strength.

Watch the capability race
03

Compare

Ranks candidates on the same openings with both seats represented.

Built
Common-seed paired screening, incumbent matches, and archive anchors
Proof
The first challenger received 512 paired openings across 1,024 games
Current boundary

The comparison establishes only fixed-matchup simulator performance.

Inspect the measured result
04

Confirm

Requires uncertainty-aware evidence before a challenger can replace the champion.

Built
Sequential confirmation, adjusted lower bounds, and archive regression
Proof
First promotion: 97.66% point estimate; 96.29% adjusted lower bound; archive pass
Current boundary

Native qualification remains separate from simulator promotion evidence.

Review the strength gate
05

Improve

Carries the winning policy forward while retaining older champions as regression pressure.

Built
Champion inheritance, archived opponents, and automatic promotion
Proof
The first challenger replaced the initial champion without a manual decision
Current boundary

A confirmed matchup gain is not broad strength across arbitrary decks.

Follow the next generation

Featured engineering artifact

A complete game you can inspect before trusting the claim.

Open the in-site evidence summary

The retained sample records 134 actions from the real game runtime through a turn-five terminal state. Its source identity and configuration are bound to the artifact; parity evidence compares separately retained traces and does not imply that this one file proves the full lifecycle.

Inspect provenance, comparison, and claim ceiling
Run identity
native-replay-trace-followup-10 · optcg-native-bridge · GameOver on turn 5
Configuration and provenance
Schema 1.0.0 · native-save-state adapter · source commit e8449b9 · SHA-256 aa8979cd80d1…
Compared evidence
966 exact matches and 8 named gaps across 16 separately retained traces.
Claim ceiling
One complete execution path—not full rules coverage, one unified seven-stage lineage, or broad agent strength.

What the campaign tests next

Can the champion keep improving without forgetting the opponents it already beat?

Current evidence and experiment status
Campaign design
Five-arm, seven-generation automated capability loop
Why it matters
Improving against the current champion can still forget older counterstrategies, so archived champions remain part of training and regression evidence.
Current status
Six promotions are complete, and Generation 7 is running through the same automatic race and strength gates.
Follow the active campaign
Next directions and current claim ceiling

What this project demonstrates

End-to-end systems work, made inspectable.

Designed and built by Marcus Wong across simulation, agent interfaces, evaluation, and experiment infrastructure.

See the five demonstrated engineering skills
  • Deterministic simulation and stable agent interfaces
  • Parallel, restartable reinforcement-learning infrastructure
  • Resilient checkpoint, resume, and publication workflows
  • Paired evaluation, uncertainty control, and automated promotion
  • Technical results communicated with explicit scope and claim ceilings