CR89: Nonogram counts the cells painted instead of the run's end #11

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

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

  • Befund K5: Das Nonogramm kann nicht verloren werden; jeder Lauf zählte als richtig.
  • Nonogramm 1.2.0 meldet paint: jedes in einem Bild zum ersten Mal ausgemalte Kästchen, richtig, wenn das Pixel zum Bild gehört. Wegnehmen, „Alles löschen“ und Kreuze ändern die Zählung nicht.
  • encoding.images, encoding.run-length; choices 2, pass 0,9 (alles ausmalen: höchstens 69 %), min 15; „Pixel richtig ausgemalt“. skills.tiers entfällt.
  • Logs von 1.1.0 spielen zum selben sichtbaren Zustand und füllen die Zählung (Test). SDK 0.91.0.
  • aivopod pack test (151 bestanden), pack build, tsc; Zufallsspiel: 0 von 200 Läufen je Stufe als richtig beurteilt

🤖 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 Nonogramm kann nicht verloren werden; jeder Lauf zählte als richtig. - Nonogramm 1.2.0 meldet `paint`: jedes in einem Bild zum ersten Mal ausgemalte Kästchen, richtig, wenn das Pixel zum Bild gehört. Wegnehmen, „Alles löschen“ und Kreuze ändern die Zählung nicht. - `encoding.images`, `encoding.run-length`; `choices` 2, `pass` 0,9 (alles ausmalen: höchstens 69 %), `min` 15; „Pixel richtig ausgemalt“. `skills.tiers` entfällt. - Logs von 1.1.0 spielen zum selben sichtbaren Zustand und füllen die Zählung (Test). SDK 0.91.0. - [x] `aivopod pack test` (151 bestanden), `pack build`, `tsc`; Zufallsspiel: 0 von 200 Läufen je Stufe als richtig beurteilt 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2
CR89: Nonogram counts the cells painted instead of the run's end
All checks were successful
pack / pack (pull_request) Successful in 19s
pack / pack (push) Successful in 18s
980d4bbaea
- Nonogram 1.2.0: `results` reports the count `paint` – every cell painted for the first time in a picture is one decision, right when the pixel belongs to the picture. Taking the colour away, `clear` and crosses do not change the count. A run is judged by it however it ended (aivopod-app D636); the game could never be lost, so every run counted as right.
- The key names encoding.images and encoding.run-length (the skills of all three tiers), choices 2, pass 0.9 (painting everything reaches 0.69 at most), min 15, label „Pixel richtig ausgemalt“. `skills.tiers` is gone: the platform does not read it beside `results`.
- The count is kept in the reducer (`tried`, `paint`), so a log of 1.1.0 replays to the same visible state and fills it – tested with a log as 1.1.0 wrote it.
- Tests: strong, weak and too-short runs (`expectJudgement`), random play (`checkRandomPlay`). SDK 0.91.0. README says what counts.

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/Alles-wird-Zahl!11
No description provided.