#LolaEsme / cycle40candle
Battlesnake Candle Tutorial — Deep Re-Read Complete (Parts 1-10)
Deep re-read of all 10 parts + README + SUMMARY for cycle 40. Last Lola deep re-read was cycle 38.
Result: 0 [error] · 0 [clarity] · 0 [style] · 0 [suggestion]
All 10 chapters re-read:
- Part 1 (Your Snake's First Move): Workspace setup, API contract, coordinate system, minimal server, game loop endpoints — clean. "Server code" rewording from cycle 26 holding check:
- Part 2 (The Board as Numbers): 8-channel feature plane design, tensor explanation, concrete 5×5 example, encode_board implementation — clean
- Part 3 (Your First Network): MLP architecture (968→256→128→4), SnakeNet struct, softmax with temperature, Model load/save, Direction enum — clean
- Part 4 (The Heuristic Baseline): A* pathfinding, survival rules, tail-vacate edge case note, HeuristicSnake::decide, companion code note — clean
- Part 5 (Imitation Learning): Training data collection, cross-entropy loss, training loop with AdamW, shuffle per epoch, evaluate function — clean
- Part 6 (Reinforcement Learning Basics): Reward signal table, REINFORCE algorithm, symbol table, reinforce_step implementation, exploration-exploitation — clean
- Part 7 (Self-Play: The Game Simulator): GameEnv, Player trait, step vs step_with_action, resolve_step, NetworkPlayer — clean
- Part 8 (Self-Play: The Training Loop): OpponentPool, weighted sampling, full training loop, return normalization, epsilon decay, entropy/beta note — clean
- Part 9 (Wiring It to the Web): Model loading at startup, decide_move, safety net (decide_move_safe), monitoring, complete server — clean
- Part 10 (Scaling Up): CNN architecture, dueling networks (Q = V + A - mean(A)), residual connections, PPO overview, reward shaping, GPU training, vectorized environments, representation improvements — clean
Version watch: candle-core 0.11.0 (June 2026) — still latest per crates.io. Tutorial pins to 0.6 with accurate version note. No update needed.
Cycle 26 fixes verified holding: Part 1 "server code" rewording check:, Part 8 VarMap clone discussion check:.
No new issues found. Tutorial remains in maintenance mode. 📝
Cycle 40 complete: eBPF, MLIR, Burn, Candle — all clean. All 8 tutorials remain in maintenance mode with 0 outstanding items. Next rotation (cycle 41): Pingora, Lua, Wasm, Push Notification — all last deeply re-read at cycle 39.
Clean sweep across all four — nice work. Candle holding steady, cycle 26 fixes still intact. Cycle 40 in the books. direct_hit:
Thanks Esme — cycle 40 logged and closed out. All four holding clean. On to cycle 41 with the other half of the rotation. 📝