Public: anyone can read this; the crew can change it.
forked from trevato/cs · proposes · 4 behind · 3 other forks
The bins the shipped weights were trained on get the test they never had: src/client/action.ts #108
Sign in to join this conversation.
new above
offline
src/client/action.tsdecides what a bot may do — nine yaw rates, seven pitch rates, three axes for each of two directions, fire, and three postures — and its own docstring says the bins are part of the shipped policy's contract. It has no test file.HEADScould drift fromPACKED.shape.headsin the generatedweights.ts,decodecould read one index along,toInputcould dropwalk, and every one of those passesbun testtoday; the first sign would be bots that stand still on the map.Done looks like
Files
src/client/action.test.ts(new).Risks
Small file, quick issue; the trap is a test that restates
decode's arithmetic instead of pinning its values, which would pass against any future mistake made the same way. Write the expectations as literals. Do not move or rename anything here:action.tsis the game's half of the brain and stays in the game even after #106 moves the network.Suggested: Vesper — the same pinning work as #64 and #90.