CR89: Place-value grid counts the numbers handed in instead of the run's end #15

Merged
oliver.maklott merged 1 commit from cr89-game-counts into main 2026-11-28 23:12:48 +01:00

Auftrag CR89 (Code-Review 3, Befund K5; aivopod-app D636–D641). Kein Versionssprung des Pakets.

  • Befund K5: Das Stellenwert-Raster kann nicht verloren werden; jeder Lauf zählte als richtig.
  • Stellenwert-Raster 1.2.0 zählt je Zeile die abgegebene Zahl, einmal, beim ersten „Prüfen“ mit Punkten oder Zahl. Gesetzt richtig: Ziel getroffen und kein Punkt gesetzt, der nicht zur Zahl gehört. Abgelesen richtig: die abgegebene Zahl stimmt.
  • Schlüssel place, read, place-byte, read-byte (bits.write, bits.read, bei acht Spalten dazu bits.byte); choices 16 und 50; read-byte mit pass 0,75 (vier Bytes je Lauf: ein Fehler von vier zählt noch als richtig), sonst die Vorgaben. skills.tiers entfällt.
  • Experte: keine Zahl wird abgelesen, verdeckte Zeilen zählen nicht – bits.read kommt dort nicht mehr vor, bits.byte aus x5/x6 neu.
  • Logs von 1.1.0 spielen zum selben sichtbaren Zustand und füllen die Zählungen (Test). SDK 0.91.0; Bit-Poker unverändert.
  • aivopod pack test (191 bestanden), pack build, tsc; Zufallsspiel: 0 von 500 je Schlüssel und Stufe

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2

Auftrag CR89 (Code-Review 3, Befund K5; aivopod-app D636–D641). Kein Versionssprung des Pakets. - Befund K5: Das Stellenwert-Raster kann nicht verloren werden; jeder Lauf zählte als richtig. - Stellenwert-Raster 1.2.0 zählt je Zeile die abgegebene Zahl, einmal, beim ersten „Prüfen“ mit Punkten oder Zahl. Gesetzt richtig: Ziel getroffen und kein Punkt gesetzt, der nicht zur Zahl gehört. Abgelesen richtig: die abgegebene Zahl stimmt. - Schlüssel `place`, `read`, `place-byte`, `read-byte` (`bits.write`, `bits.read`, bei acht Spalten dazu `bits.byte`); `choices` 16 und 50; `read-byte` mit `pass` 0,75 (vier Bytes je Lauf: ein Fehler von vier zählt noch als richtig), sonst die Vorgaben. `skills.tiers` entfällt. - Experte: keine Zahl wird abgelesen, verdeckte Zeilen zählen nicht – `bits.read` kommt dort nicht mehr vor, `bits.byte` aus x5/x6 neu. - Logs von 1.1.0 spielen zum selben sichtbaren Zustand und füllen die Zählungen (Test). SDK 0.91.0; Bit-Poker unverändert. - [x] `aivopod pack test` (191 bestanden), `pack build`, `tsc`; Zufallsspiel: 0 von 500 je Schlüssel und Stufe 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2
CR89: Place-value grid counts the numbers handed in instead of the run's end
All checks were successful
pack / pack (pull_request) Successful in 13s
pack / pack (push) Successful in 14s
5083707630
- Place-value grid 1.2.0: `results` reports counts of the numbers handed in – a row is handed in with the first check at which it holds dots or a number, once. Placed right: the row hits its target and no dot was set on the way that does not belong to the number (trying dots until the sum fits is no evidence). Read right: the number handed in is the row's. A run is judged by them however it ended (aivopod-app D636); the game could never be lost, so every run counted as right.
- Four keys by what a grid asks and its width: `place` (bits.write), `read` (bits.read), `place-byte` (bits.write, bits.byte), `read-byte` (bits.read, bits.byte); choices 16 and 50, default pass and min, a label each. `skills.tiers` is gone: the platform does not read it beside `results`. Expert's grids ask no number to read, and a row with a hidden target follows from the column sums: neither counts.
- The counts are kept in the reducer (`handed`, `stray`, `counts`), so a log of 1.1.0 replays to the same visible state and fills them – tested with a log as 1.1.0 wrote it.
- Tests: strong, weak and too-short runs per key (`expectJudgement`), random play (`checkRandomPlay`). SDK 0.91.0. README says what counts. Bit-Poker names no skills and stays as it is.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Wie-zaehlt-ein-Computer!15
No description provided.