Skip to content

Instantly share code, notes, and snippets.

@dmattox10
Last active October 23, 2026 16:51
Show Gist options
  • Select an option

  • Save dmattox10/c84e22a6e9a07caae3a8be1502505994 to your computer and use it in GitHub Desktop.

Select an option

Save dmattox10/c84e22a6e9a07caae3a8be1502505994 to your computer and use it in GitHub Desktop.
LOS — bot-vs-bot playtesting total, refreshed automatically. See HOW-THIS-IS-COUNTED.md

How the LOS playtesting total is counted

Generated 2026-10-23T16:51:50Z. This page is published automatically beside los-playtesting.json in the same gist; both are refreshed whenever new work is pushed.

16,000+ bot-vs-bot matches — and roughly 8,551 hours of play that no human had to sit through.

The two numbers, and why they are so different

16,158 matches measured
35.01 hours of machine time measured
~8,551 hours to play through estimate
~25,631 playtester-hours estimate

The machine figure is small and the human figure is enormous, and that is not a contradiction — it is the entire point of simulating. The harness plays many matches at the same time, so an hour of wall clock buys many hours of matches. The machine number answers what did this cost to run; the human number answers what would it have cost to play.

Everything above the line is counted. Everything below it is worked out from counted things plus one stated assumption, and is marked as an estimate wherever it appears.

What the number is

LOS is a hex-based strategy game whose opponents are behaviour trees. It has a headless simulation harness that plays whole matches between them, and that harness is the only trusted instrument for tuning anything in the game — a number is not "balanced" because it looked right, it is balanced because whole matches came out better on seed sets that were not used to pick it.

A match is one seed played to a conclusion or to its turn limit. --seeds 1..8 is eight matches. A four-seat game counts as one match, not four.

The time is wall clock — the stopwatch, not the CPU.

How it is measured

Every run of the harness has been launched from a recorded development session, and those session logs pair each command with its result, each stamped. So the elapsed time of every sweep is already written down and none of it has to be remembered. A script walks those logs, finds the commands that actually invoke the harness, and adds up what it finds.

That word invoke is doing real work. The first version of this counter matched any command that so much as mentioned the harness — which includes editing one of its source files, running its unit tests, and a pkill that stops a runaway sweep. It reported 10.2 hours, nearly double the truth, because most of those "runs" were text edits lasting a tenth of a second.

The fix for that then overcorrected: demanding that the command begin with the harness threw away 58 genuine runs — every time dotnet run …, every one inside a for loop, and every one whose cd sat on its own line. That version reported 4.70 hours, 18% low, and it looked like a correction rather than a second mistake.

The figure is 35.01 hours. Both wrong answers were caught the same way: by printing the commands the rule had rejected and reading them, rather than reasoning about the rule.

Why it is a floor, and never "about"

Every known inaccuracy but one pushes the number down:

  • Runs still going when a session ended count as almost zero. A sweep launched in the background returns a job id immediately and carries on for minutes; it is timed by the completion that arrives later, so the duration is the real one. 0 of 763 runs never reported a completion — the session ended first — and those keep only the fraction of a second their launch took. (8 runs were backgrounded in all.)
  • Overlapping runs are counted once. The wall clock is the union of the intervals the machine was busy, not the sum of the durations, so sweeps that ran at the same time are not charged twice. That discards real busy time whenever two runs overlap, and it is the honest direction.
  • Runs killed at a ceiling are charged the ceiling. 0 runs hit a ten-minute cap and each really cost more than ten minutes.
  • Parallelism is not counted. The harness plays many seeds at once, so the wall clock is far below the match-time it bought.
  • The test suites are excluded, although they play real games — 136 invocations and 3.8 hours of them. Tests are not playtesting. Counting them would nearly double the figure.
  • Human playtesting is not counted at all. Nothing measures it.

The single thing pushing the other way is named rather than hidden: a command that embeds a harness command line as data can still be counted. Measured at one such command in the entire history, worth 25 matches — 0.4%.

So the published figure is rounded down to the next round number below what was measured, and the claim is always "at least", never "about".

measured published
matches 16,158 16,000+
hours 35.01 35+
harness runs 763
days with a run 30
first run 2026-09-05
latest run 2026-10-23

The human figure, and the one assumption in it

16,158 matches come to about 1,026,228 turns of play. That uses measured match lengths rather than guesses: two-seat games end at a median of turn 36 — corroborated by the surviving audit lines, where 40 of 40 games ended on their own, median 36 every time — and four-seat games at a median of 275.

The assumption is the pace: 30 seconds per turn. That is the only invented number on this page, so it is stated rather than buried. For scale, the game's own turn clock permits up to twenty minutes a turn, and refuses anything longer; 30 seconds is a fortieth of that, for a turn that can involve laying road, ordering units, placing buildings inside a city and fighting a battle. It is brisk to the point of being unfair to the estimate, which is the direction every other number here leans too.

  • 8,551 hours is how long the games would take to play, end to end — about 356.3 days without stopping.
  • 25,631 playtester-hours is the same thing counted in people: four testers at a four-seat game for an hour is four playtester-hours. This is the figure that answers "how much human time did the simulation save".

What it is sensitive to. Four-seat games are only 12% of the matches but most of the hours, because they run seven times longer than duels. Halve the pace to fifteen seconds a turn and the figure halves; the turn counts themselves are measured and would have to be re-measured, not re-guessed, to move.

It can only go up

The total is cumulative over the whole history of the project. Session logs are append-only, so a sweep run in September is still counted in December. That gives a free correctness check, and the publisher enforces it: if a new count comes out lower than the one already published, it refuses to publish and says by how much. A shrinking total is not news about the game, it is a broken counter — which is exactly how the 4.70-hour version above would have been caught in seconds instead of by hand.

Two seats is not the game

Worth knowing before reading too much into the total: most of it is duels, and a duel is the least representative game the harness plays. The same sweep at two seats and four seats differs twelvefold in end-game economy.

seats matches share
1 60 0%
2 14,231 88%
4 1,860 12%
12 7 0%

The bigger, better-sounding number — matches × seats, 36,046 — is deliberately not the published one, because it implies a breadth of multi-player coverage the table above says does not exist.


Method and figures are generated by tools/count_bot_hours.py and tools/publish_playtest_stats.py in the LOS repository.

{
"schema": 2,
"project": "LOS",
"what": "Bot-vs-bot matches the game has played against itself.",
"generated_at": "2026-10-23T16:51:50Z",
"is_a_floor": true,
"measured": {
"matches": 16158,
"hours": 35.01,
"seconds": 126052,
"runs": 763,
"days": 30,
"first_run": "2026-09-05",
"latest_run": "2026-10-23",
"matches_by_seats": {
"1": 60,
"2": 14231,
"4": 1860,
"12": 7
},
"seat_games": 36046
},
"human_equivalent": {
"is_an_estimate": true,
"turns_played": 1026228,
"player_turns": 3075816,
"seconds_per_turn_assumed": 30,
"table_hours": 8551,
"tester_hours": 25631,
"table_days_nonstop": 356.3,
"basis": "Turn counts are measured: two-seat games end at a median of turn 36 and four-seat games at a median of 275. The pace is an assumption -- 30 seconds a turn, against a game whose own clock allows up to 20 minutes. table_hours is how long the games would take to play; tester_hours multiplies by the seats, which is what it would have cost in people."
},
"published": {
"matches": 16000,
"hours": 35,
"duel_share": 88,
"headline": "16,000+ bot-vs-bot matches",
"sentence": "LOS has played over 16,000 bot-versus-bot matches against itself — more than 35 hours of simulated warfare across 700+ automated runs — and every balance decision in it was made from those matches rather than from opinion.",
"human_headline": "roughly 8,551 hours of play a human never had to sit through",
"tooltip": "This is a real count, not an estimate. Every match is one seed played by the LOS simulation harness to a conclusion or to its turn limit, and the time is wall clock: stopwatch, not CPU. It is measured by replaying the development session logs and pairing each launch of the harness with the moment it returned, so nothing here is remembered or rounded up.\n\nIt is deliberately a FLOOR. Runs launched in the background do not record how long they took and are counted as zero; runs killed at a ten-minute ceiling are charged ten minutes and really cost more; and because the harness plays many seeds in parallel, the wall clock is far less than the match-time it bought. The automated test suites play real games too and are excluded entirely, because tests are not playtesting.\n\nMeasured: 16,158 matches and 35.01 hours of machine time. Published: 16,000+ matches, rounded down so the claim stays true.\n\nTHE HUMAN FIGURE IS AN ESTIMATE, and is the only one here that is. The machine hours above are small because the harness plays many games at once — it is what the simulation cost, not what the games would have cost people. Those 16,158 matches come to about 1,026,228 turns of play, using measured match lengths. At 30 seconds a turn — brisk, against a game whose own clock allows up to twenty minutes — that is roughly 8,551 hours to play through, or about 25,631 playtester-hours once you count every seat at the table.\n\n88% of the matches are two-player duels, which is worth knowing: a duel is the least representative game the harness plays."
},
"since_last_publish": {
"previous_published_at": "2026-10-21T13:15:08Z",
"matches": 2835,
"hours": 0.61,
"runs": 15
},
"method_note": "Counted from development session transcripts on the maintainer's machine. Cumulative over all history, so it only ever goes up; a decrease is treated as a bug in the counter and refuses to publish. See HOW-THIS-IS-COUNTED.md in this gist."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment