Skip to content

Commit 4923e8e

Browse files
committed
spec: ISC_SWEEP gate for the corpus sweep measurement
The per-example timeouts already bound the sweep (16,262 examples, 16k pass, 6 fail — all iso-mal-Mlym-Latn-15919-2001 on the Ruby compiler; the Interpreter passes the same map, so it is a codegen divergence, not a corpus gap). The gate keeps CI on the legacy scope while the conformance tail closes.
1 parent e63f744 commit 4923e8e

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎spec/interscript_spec.rb‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22

33
cache = {}
44
mask = ENV["TRANSLIT_SYSTEM"] || "*"
5-
# The legacy .imp sweep only (see legacy_maps in spec_helper).
6-
maps = legacy_maps(select: mask)
5+
# The ISC corpus sweep runs behind ISC_SWEEP=1: each example is
6+
# timeout-guarded (at least one map hangs the interpreter) and
7+
# per-map failures are expected until the ISC-era conformance work
8+
# completes — the sweep exists to MEASURE that gap, gated so CI stays
9+
# green while it closes.
10+
if ENV["ISC_SWEEP"]
11+
maps = Interscript.maps(basename: false, select: mask)
12+
else
13+
maps = legacy_maps(select: mask)
14+
end
715

816
# Precache can be used to compare interpreter to compiler performance
917
if ENV.include? "PRECACHE"

0 commit comments

Comments
 (0)