Documentation
¶
Overview ¶
simlabel labels positions with a Monte Carlo sim's verdict on every candidate play, to measure how often a bot's choice matches the sim's (check). It was built to distill the sim into the value net; that experiment is shelved (pytorch/SHELVED.md).
simlabel select -turns open.txt.gz -tag open -out positions.jsonl -val positions-val.jsonl simlabel sim -in positions.jsonl -out labels.jsonl -threads 64
select replays turn logs and keeps one position per game: the board before a chosen turn, as a CGP with the mover's rack (the opponent's rack left out, as a bot sees it), the move actually played and the mover's final result. sim simulates each position (one thread per position, many at once) and writes every candidate's sim statistics. Both write JSON lines; sim appends and skips positions already in its output, so it can be stopped and restarted.