lilleman
ba2ae41ffe
Test that a calc over digits(0) or a repeat of 0 is refused, that an option of the wrong kind names its JSON kind, and that the root scope is the category
2026-10-08 12:37:59 +02:00
lilleman
1e159fdf3a
Test a generator with no data, a repeat or count of 0 rendering nothing, and a name a choice's item binds and reads
2026-10-08 12:37:59 +02:00
lilleman
63223c6d63
Answer stability round 1, prose round 1 and product-owner round 1: startOf's doc names the head, the old senses leave names, comments, messages and tests, and the vocabulary defines scope, link and head
2026-10-07 01:04:44 +02:00
lilleman
83e4daefdb
Test internal/datafiles, internal/datatype, internal/proven and internal/builtinfunc, and allow the root to import them
2026-10-05 16:30:28 +02:00
lilleman
177dd4b50b
Answer prose round 1: delete two false comments, plainer SplitPath, evalCalc and decision wording, a shorter comprehension floor title, and item 110 owes a changelog entry
2026-10-05 12:35:08 +02:00
lilleman
350514b60e
Test a calc reading one operand twice
2026-10-05 12:35:08 +02:00
lilleman
3479f9cf98
Test a calc's operand list, one empty-segment check, and an empty segment after a step up
2026-10-05 12:35:08 +02:00
lilleman
41292f9d89
Test internal/grammar, and allow the root to import it
2026-10-05 12:35:08 +02:00
lilleman
5b23ca7706
Test that every {…} draws afresh and only a name keeps a pick, a field's and a struct's path tags included
2026-10-05 10:19:01 +02:00
lilleman
94cf741706
Answer architecture round 1: exempt only a calc operand from the read-once refusal, run the name passes from one list, read every operand's leaves, show a name operand in a README example, and plan a path through a name as an operand
2026-10-05 01:23:55 +02:00
lilleman
3d320e029c
Test that a calc reads a name as an operand
2026-10-05 01:23:55 +02:00
lilleman
0225f16924
Name the tests' holds, header and row lookup by their one meaning, and drop the dead bound_test.go pointer
2026-09-28 12:06:03 +02:00
lilleman
e11ee9ec0e
Link every test fragment before asserting on it
2026-09-28 03:23:27 +02:00
lilleman
5e84b26a5f
Hold only the {token} grammar's tests in format_test.go, the rest in files named for what they test, and drop the done item
2026-09-25 18:34:05 +02:00
lilleman
aa972bbd95
Want a lone reference whose selector holds a parenthesis refused as a template, and drop the parse test's stale order note
2026-09-24 23:36:27 +02:00
lilleman
37f34e556f
Want a parsed call to carry its builtin's operands
2026-09-24 23:36:27 +02:00
lilleman
b3869dd472
Reformat the test files with Go 1.27's gofmt
2026-09-21 07:53:11 +02:00
lilleman
1ad9418a76
Tests: a printed zero is no divisor and prints unsigned, int64 refusals say so, and CSVLine allocates twice
2026-09-15 15:08:14 +02:00
lilleman
a9552ed966
Tests for every branch of the constant-divisor fold, arg errors naming the spelling, and shell numbers at the CLI
Tests / vet + fmt + tests (pull_request) Failing after 43s
2026-09-02 19:24:46 +02:00
lilleman
7b28dc36d9
Tests for finite float bounds, plain integer args, constant samples and divisors, the default separator, binding keys in paths, DEL in ascii, and an unheld path
Tests / vet + fmt + tests (pull_request) Failing after 42s
2026-09-02 19:08:24 +02:00
lilleman
34c933b2b3
Tests for weight 0, a never-numeric calc operand, the repeat product along a path, and ErrNoData
2026-09-02 18:22:55 +02:00
lilleman
5514b42b7b
Tests for a repeated bare token of a held name
2026-09-02 18:20:57 +02:00
lilleman
8fa33694b9
Tests for references held like siblings and the lowercase, uppercase and ascii transforms
2026-09-02 12:52:12 +02:00
lilleman
de8c1d13e9
Tests for one spelling per shape: no one-item choice, repeated item or inert object
2026-09-02 12:38:07 +02:00
lilleman
04b7b6a432
Rename the exported type to Generator and retire the faker wording
Tests / vet + fmt + tests (pull_request) Successful in 25s
2026-09-01 21:34:27 +02:00
lilleman
05dc042e49
Rename the project to fejkdata and record the fork source
Tests / vet + fmt + tests (pull_request) Failing after 6s
2026-09-01 20:24:03 +02:00
M
39d59aec23
Pin the prep-time guards, and say why an operand's set is the narrow one
...
The guards report an invariant break instead of computing around it, and no
data reaches them, so they are called directly: coverage 97.4% -> 97.7%,
which also covers the empty-cover skip through a literal operand.
operandDraw's doc keeps why neither wider set works, since both were tried
here — containment reaches a sibling the operand never renders, the render
closure reaches a source two operands share — and drops the rest.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-08-31 21:58:37 +02:00
M
4f87a4dd9e
Tests for a calc operand reading the expansion's draw
...
A field the format renders and a calc reads is drawn twice today, so
"{net} x {qty} = {calc(net * qty, 2)}" can print a net that is not the net
it multiplied. The dotted-path rule already holds one draw for a level;
these pin the same hold for a plain sibling a calc reads.
Also pinned: the hold reaches a bare token of the same name, belongs to one
expansion (each repeat iteration and each nested template draws its own),
and leaves a name no calc reads drawing every time.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-08-31 13:33:05 +02:00
M
5a69b02ee0
Find a format's bound readers in one ordered scan
2026-08-30 22:31:54 +02:00
lilleman
cee2f35a2c
Add {calc()}: arithmetic over number literals and sibling fields
2026-06-09 07:59:29 +02:00