Rewrite goal 5 as an aim, and plan a load reporting every mistake at once

This commit is contained in:
2026-09-30 11:03:51 +02:00
committed by Lillem4n
parent b9f7ba04ea
commit 49e47d6103
4 changed files with 20 additions and 10 deletions
+3 -4
View File
@@ -208,6 +208,9 @@ by a `data-import/` script, as README goal 12 asks.
### Library and CLI
- Report every mistake a load finds in one error, as the decision "A load reports every
mistake at once" states: `New` and `NewTemplate` stop at the first, so data holding
two mistakes takes two runs to fix. Split it into sub-items before starting.
- Rename `newRand` to `newGeneratorState` and `Generator.rand` to `state`: both name
half of a `generatorState`, hiding its `{seq()}` counters, and `New`'s local `rng`
shadows the `rng` interface.
@@ -297,10 +300,6 @@ by a `data-import/` script, as README goal 12 asks.
together, where the fence counts them alternatives and compares neither. Have the error
name the path spelling that holds, `{/geo.SE.locality.name}|{/geo.SE.municipality.name}`,
as the README's rule on a rejected spelling asks.
- Decide, in "An error is a contract by what it names", which of several mistakes a
load names, and link the entry to goal 5, which it serves and does not name. The
fence names the lowest by route and path, so a data edit can move which one is named;
proposed: fixed within a version, as seeded output is, and free to change in any release.
- Name the file a link error comes from beside its category path, `sub.x
(/d/a/sub/x.json): …`: with several `--data-path` layers the author has to work out
which directory won, while a parse error on the same file names it.