From f6b180fd9dcdcbcb1f89a8c55bb71610113d6b11 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 23 Nov 2026 18:42:20 +0100 Subject: [PATCH] Split item 505: fejkdata's five source-data tasks are item 525 --- todo.md | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/todo.md b/todo.md index b044cfc8..15310c21 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 0.1` -`Next ID = 525` +`Next ID = 526` ## Renamed @@ -16,12 +16,13 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 505 | 0.16.0 | | owner | **Bench adding source data in `task-bench`: hand Haiku a fake register that a seeded script generates for a made-up country, and check the importer, the data and the licence entry it adds, starting with five tasks for fejkdata.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3, code health by 2 | 2.6 | | 508 | 0.16.0 | | owner | **Plant bugs for `task-bench` in Python, Rust, TypeScript and PHP, from the mutants `mutate-changes` runs for each, so this repo benches itself.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3, code health by 2 | 2.6 | +| 505 | 0.16.0 | | owner | **Bench adding source data in `task-bench`: hand Haiku a fake register that a seeded script generates, and check the importer, the data and the licence entry it adds.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 3, code health by 2 | 1.8 | | 506 | 0.16.0 | | owner | **Go over the bench features in each release review: reapply each reference patch, drop a feature that no longer breaks a goal, and add features until they cover the places the seats find hardest.** | 2 | 2 | 2 | 4 | 3 | 1.1 by 3 | 1.1 | | 512 | 0.16.0 | | | **Make stability-reviewer check that keys built from path segments, or matched by prefix, cannot collide.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 | | 507 | 0.16.0 | | owner | **Bench rebuilding a feature the project shipped: revert its commit at the head, hand Haiku its item tagline, and check with the tests that commit added.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3 | 0.7 | | 524 | 0.16.0 | | owner | **Write fejkdata's first six bench features, each a spec, acceptance tests in Go and a reference patch that builds it, in the `bench-tasks` folder its config names.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 3 | 0.5 | +| 525 | 0.16.0 | 505 | owner | **Write fejkdata's first five source-data tasks for `task-bench`, each a seeded register for a made-up country, a spec, a checker and a reference patch, in the `bench-tasks` folder its config names.** | 3 | 2 | 1 | 4 | 7 | 1.1 by 3 | 0.3 | | 477 | 0.17.0 | | question | **Rewrite `## Goals` and `## Audience` for a setup others install and run apart from their own `~/.claude`.** | 1 | 1 | 2 | 2 | 2 | | 0.0 | | 478 | 0.17.0 | | question | **Name the project, its repo and its two commands, today proposed as `do-release` and `do-epic`.** | 1 | 1 | 2 | 2 | 1 | | 0.0 | | 523 | 0.17.0 | | | **Make the security pass and stability-reviewer check that a new secret's docs name its scope and its reach, such as the other repositories its account can use.** | 1 | 1 | 2 | 2 | 1 | 1.1 by 2 | 0.9 | @@ -112,24 +113,18 @@ ## Details -### 505. Bench adding source data in `task-bench`: hand Haiku a fake register that a seeded script generates for a made-up country, and check the importer, the data and the licence entry it adds, starting with five tasks for fejkdata. - -Adding a source is fejkdata's recurring work, so it stays easy only while the bench shows it does. The country code comes from ISO 3166-1's user-assigned range (AA, QM–QZ, XA–XZ, ZZ), leaving out XK, which the EU and others use for Kosovo, so no task meets real data. Each register has the quirks real ones publish, and its script regenerates it byte for byte. - -The checker runs a template such as `{/person[QZ]}` with a fixed seed, fejkdata's full test suite with the data-licence tests, and the importer again, which must reproduce the committed data. - -fejkdata's five: - -- D1: names weighted by frequency, from a semicolon CSV in Latin-1. -- D2: addresses, with postcodes mapped to towns, from nested JSON; values that belong together come from one pick. -- D3: a valid national id, from a spec page giving the checksum; the checker validates every id the template prints. -- D4: companies with legal-form suffixes, from an XML register. -- D5: D1's register in its next edition, with a renamed column and a new code list, so Haiku updates an importer that exists. - ### 508. Plant bugs for `task-bench` in Python, Rust, TypeScript and PHP, from the mutants `mutate-changes` runs for each, so this repo benches itself. Each tool reports a killed mutant by file and line, and some by column; the planter re-applies it from that report, as it does Gremlins'. +### 505. Bench adding source data in `task-bench`: hand Haiku a fake register that a seeded script generates, and check the importer, the data and the licence entry it adds. + +Adding a source is recurring work in a project such as fejkdata, so it stays easy only while the bench shows it does. A task is a folder beside the bench features, in the folder the project's config names as `bench-tasks`. It holds the spec Haiku is told, the seeded script that generates the register, a checker Haiku never sees, and a reference patch that adds the importer, the data and the licence entry. The script regenerates its register byte for byte. + +The checker is the project's test command over the tree, with the task's acceptance tests in it: there the task's author runs a template with a fixed seed, the data-licence tests, and the importer again, which must reproduce the committed data. As a bench feature does, a task counts where the tests fail at the base and at the head before the source is added, and pass at both with the reference patch. + +Split on 2026-11-23, when a re-score found the item as filed L 4, S 9: the five tasks for fejkdata are item 525, as item 524 holds item 504's features. + ### 506. Go over the bench features in each release review: reapply each reference patch, drop a feature that no longer breaks a goal, and add features until they cover the places the seats find hardest. A reference patch that no longer applies is rewritten by the review's model. A feature whose goal changed may have become real work, so it goes. New features follow item 504's rule: plausible for another audience, against one of this project's goals. @@ -158,6 +153,20 @@ The second part of item 504, which says what a bench feature is and when a run c Done when `task-bench` counts a run of each: its acceptance tests fail at fejkdata's base and head and pass with its reference patch. The six land in fejkdata's checkout or its config folder, wherever its `bench-tasks` setting points, so the item changes no file of this repo and carries no `Touches:` list. About 1,000 lines of Go and specs. +### 525. Write fejkdata's first five source-data tasks for `task-bench`, each a seeded register for a made-up country, a spec, a checker and a reference patch, in the `bench-tasks` folder its config names. + +The second part of item 505, which says what a source-data task is and when a run counts. The country code of each comes from ISO 3166-1's user-assigned range (AA, QM–QZ, XA–XZ, ZZ), leaving out XK, which the EU and others use for Kosovo, so no task meets real data. Each register has the quirks real ones publish. + +Each checker runs a template such as `{/person[QZ]}` with a fixed seed, fejkdata's full test suite with the data-licence tests, and the importer again, which must reproduce the committed data. + +- D1: names weighted by frequency, from a semicolon CSV in Latin-1. +- D2: addresses, with postcodes mapped to towns, from nested JSON; values that belong together come from one pick. +- D3: a valid national id, from a spec page giving the checksum; the checker validates every id the template prints. +- D4: companies with legal-form suffixes, from an XML register. +- D5: D1's register in its next edition, with a renamed column and a new code list, so Haiku updates an importer that exists. + +Done when `task-bench` counts a run of each. The five land wherever fejkdata's `bench-tasks` setting points, which its config must first set, so the item changes no file of this repo and carries no `Touches:` list. About 1,500 lines of Python, Go, data and specs. + ### 477. Rewrite `## Goals` and `## Audience` for a setup others install and run apart from their own `~/.claude`. Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Goal 2, "Make my claude setup shareable between computers", and an audience of lilleman, with client teams as readers of what the loop writes, no longer fit. The goals and the audience are the human's to write; propose a wording and ask.