training / tinychess

Commit History

Yesterday

  1. encoding: horizontal-mirror helper with documented asym (castling rights)

    agent
    186cc8a

2 days ago

  1. expert iteration: play the model's own PUCT move during self-play

    31f3678
  2. soft piece-visibility attention bias (maxkv): learned, router-gated, global context preserved

    922b199
  3. piece-visibility masks: each piece sees only what it attacks (0 extra params)

    ff2ce0a
  4. support trained recurrence scaling on resume

    43d7af1

4 days ago

  1. maxk config (NEW MANDATE: 100K budget): baseline arch at d72/dff160/d_attn48/d_move36 = 99,374 params - the 2000-Elo chassis absorbing all 18 proven feature channels + jitter; forward-verified

    84b2a92
  2. load_checkpoint zero-pad shim (the resume path lacked it - C3 FATAL'd loading the 12ch c1 ckpt under the 18ch encoding; append-only feature compatibility now holds for BOTH load paths; verified: c1@1200 resumes at step 1200)

    ba6da78
  3. K3 curriculum: castle_danger generator - near-start positions with FULL castle rights + attacker array aimed at the king (fixes K2's two documented deficits: rights and punishment co-present); 60/60 valid with rights+danger, castling legal in 18% at ply 0 (rights persist); mixed_castle 50/50 mode

    2526794
  4. Option (iii) curriculum: _random_king_danger positions (defender king + attacker heavy piece on the king-ring, shield pawns, counterplay piece; rules-only) + mixed_kdanger 50/50 mode - fixes the K1 diagnosis at the DATA level: king-danger gradients require games whose outcomes turn on king safety; verified: 50/50 valid, 84% in-check, ~6 legal moves (immediate decisions), dispatch + standard/mixed regressions green, e2e train smoke green

    e303cbe
  5. Option K: king-safety input channels (6 rules-derived SQ_EXTRA: own/opp king rings + shields + enemy-attacks-in-ring danger map + mate-threat band) targeting the SF-loss diagnosis (0/70 castled, mated at parity); +576 params (201,550); spot-verified (rings exact, shields correct, Qh4->f2 danger lights); c1@1200 loads through 18ch encode via shim; encode 0.74ms/pos

    b45e72d
  6. Option C: attack-map input features (8 rules-derived SQ_EXTRA channels: own/opp pawn/knight/slider attack bits + per-piece attacker counts clipped 3) targeting the rank-4/5 dead zone / 0.66 free-capture gap; +768 params on fastwide (200,206->200,974); bitboard cross-check 0 mismatches on 200 random positions vs brute force; encode 0.94ms/pos; zero-pad shim in load_model_only keeps old checkpoints loadable and functionally identical; end-to-end fastwide+jitter training smoke green

    1e5a25c

5 days ago

  1. s7 halt-alignment: --halt-align aux BCE(p_halt, 1[conv<median]) with play-time conv |V_t+1-V_t| stored per-sample; legacy paths untouched; smokes green

    agent
    f3edb39
  2. TD(lambda)/GAE return targets (--gae-lambda), per-outcome-class value diagnostics, SF-Elo absolute benchmark (experiments/exp_sf_elo.py, eval-only) + --sf-elo-every integration; tests/test_gae.py (7 tests)

    agent
    81f7ef0

6 days ago

  1. fastwide config: 200,206-param recurrent control for the transformer comparison (param-matched within 0.4%); ignore __pycache__

    b85df4f
  2. RESEARCH_LOG: family ablation verdict (transformer wins both seeds) + param-matched follow-up design

    acb8595
  3. step_emb_jitter: train-time random step-row sampling so untrained depth rows get gradient⁠

    2ecdcd2
  4. nolocal config: ablation for the undifferentiated local op (Phase 12 finding 3)

    b18ca77
  5. bench_learn: set logp_floor/kl_hard/min_updates attrs expected by train_step after logp_floor fix

    2b72551

  1. fix 2nd train/inference mismatch: last-move feature lost in FEN round-trip

    Verified signature
    c8eb6ce
  2. fix 2nd train/inference mismatch: last-move feature lost in FEN round-trip

    Verified signature
    c682388

  1. fix: repetition feature lost in FEN round-trip (train/inference mismatch); greedy-health exp

    Verified signature
    79997ea
  2. fix: repetition feature lost in FEN round-trip (train/inference mismatch); greedy-health exp

    Verified signature
    c94f46f
  3. fix: repetition feature lost in FEN round-trip (train/inference mismatch); greedy-health exp

    Verified signature
    24c6c78
  4. revert logp_old change (ablation-falsified); keep only_player + kl estimator fixes

    Verified signature
    5d627db
  5. add logp_raw ablation switch

    Verified signature
    8e07672
  6. adjudicate claimed repetition/50-move draws on material

    Verified signature
    0f3f386
  7. draw-penalty: remove guaranteed-0 repetition optimum

    Verified signature
    35dde2e
  8. PPO correctness: logp_old from behaviour dist (temp+dirichlet), not raw policy

    Verified signature
    09929ef
  9. PPO fix: exclude opponent positions from buffer + staleness bound

    Verified signature
    3f1e7d3
  10. spawn-based persistent self-play pool (fork/libgomp deadlock fix)

    Verified signature
    fb6e523
  11. parallel self-play (--workers), conversion experiments, whitelist

    Verified signature
    b97f43c

  1. tinychess: full research artifact - self-play RL, ablations, compute scaling, faithfulness, precision, plasticity

    Verified signature
    227f251
  2. tinychess: self-play research substrate (phase 1-4)

    Verified signature
    3495881