Chez inc7: batched runner handles multi-line case sources
The batched zero-Janet runner wrote one case per TSV line, so a multi-line source (e.g. a ;comment\n inside a map literal) split the line and the case was truncated -> a false "apply non-procedure" crash. Escape \n/\t/\\ when writing the cases file and unescape in the runner before eval. Zero-Janet corpus parity 2288 -> 2293 (the 5 comment-in-map cases), 0 divergences — now within 2 of the Janet-hosted oracle (2295). Floor 2293.
This commit is contained in:
parent
7d0070d873
commit
28bb950efe
2 changed files with 21 additions and 3 deletions
|
|
@ -163,7 +163,7 @@
|
|||
|
||||
# Regression floor: raise as the Chez-hosted compiler closes gaps. The gate fails
|
||||
# on any NEW divergence or if pass drops below the floor. Strided runs scale to 0.
|
||||
(def base-floor (scan-number (or (os/getenv "JOLT_CHEZ_ZJ_FLOOR") "2288")))
|
||||
(def base-floor (scan-number (or (os/getenv "JOLT_CHEZ_ZJ_FLOOR") "2293")))
|
||||
(def floor (if (os/getenv "JOLT_CORPUS_LIMIT") 0 base-floor))
|
||||
(when (or (> (length diverged) 0) (< pass floor))
|
||||
(printf "REGRESSION: pass %d < floor %d or %d new divergence(s)" pass floor (length diverged)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue