summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 15:26:39 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit05ca060fc91930f0e931f39dcf56729ec71543dd (patch)
treef586881ec4105b014b3443f61338769bfa348acb /docs
parenteeadda6e7db3334e15708de2d7b5396f539c8186 (diff)
downloadpardes-05ca060fc91930f0e931f39dcf56729ec71543dd.tar.gz
pardes-05ca060fc91930f0e931f39dcf56729ec71543dd.zip
Every helix-golf example is a differential case, one per step of its walkthrough
The ten examples on helix-golf are imported as 118 cases: each numbered step of an example's walkthrough is the case whose keys are the command up to and including that step, so the first mismatch names the step where pardes and helix part. Six more restart at a step that begins with %, from helix's own text there, so a later step is tested even when an earlier one misses. zig build hxgolf compares all 124 with goldens from hx-harness. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/helix-keys.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/helix-keys.md b/docs/helix-keys.md
index 41f9b364..84ee5124 100644
--- a/docs/helix-keys.md
+++ b/docs/helix-keys.md
@@ -404,6 +404,19 @@ Files (all in `test/hxcases/`):
scrolloff band — no text differs), and four case texts a pty cannot hold
verbatim (a literal TAB the emulator expands, a file with no trailing
newline, an all-whitespace last row the dump trims).
+- `golf.jsonl` + `golf-goldens.jsonl` — every example on helix-golf
+ (github.com/nik-rev/helix-golf, imported at d78c18c): one case per numbered
+ step of each walkthrough, its keys being the command up to and including
+ that step, so the first failing case names the step that diverges. A
+ step that starts over with `%` also gets `-fromNN` cases replaying the rest
+ of the command from helix's own text there, so a later step is still
+ tested when an earlier one misses. The goldens are
+ `hx-harness test/hxcases/golf.jsonl`; `zig build hxgolf` runs them. All ten examples reproduce their published result in hx 25.07.1 under
+ the site's own conditions (a file of the example's language, auto-pairs
+ on). Under the harness pins two do not: `csv_to_sql` needs auto-pairs to
+ close its `VALUES (`, and `invert_dictionary_2` needs 25.07's
+ `<count>Alt-(` (rotate within groups of count) where the harness's newer
+ helix rotates by count.
- `smoke.jsonl` — 20 cases referenced by nothing in the tree: no build step,
no script. Either wire it up or delete it.