beam: align Q93 verifier selftest count 44->49 for Q97 cells
This commit is contained in:
1 parent
22ccdafd4d
commit
344c132b12
3 files changed
+6
-5
No files matched your search
@@ -190,7 +190,7 @@ USAGE:
|
|||||||
python3 selftest_sweep.py --repo /root/troupe-standup
|
python3 selftest_sweep.py --repo /root/troupe-standup
|
||||||
python3 selftest_sweep.py --repo /root/troupe-standup --write-baseline tools/selftest_baseline.tsv
|
python3 selftest_sweep.py --repo /root/troupe-standup --write-baseline tools/selftest_baseline.tsv
|
||||||
python3 selftest_sweep.py --tools-dir /tmp/fake --json /tmp/sweep.json
|
python3 selftest_sweep.py --tools-dir /tmp/fake --json /tmp/sweep.json
|
||||||
python3 selftest_sweep.py --selftest # 49 cells, parser, sweep, pin and both input axes
|
python3 selftest_sweep.py --selftest # selftest: 49 cells, parser, sweep, pin and both input axes
|
||||||
"""
|
"""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
beam Q93 selftest count aligned 44->49 (Q97 cells). CHECK exit 0.
|
||||||
@@ -89,7 +89,7 @@ Q93_MARKERS = [
|
|||||||
"line, run_rc = run_verdict(fatal, read_fatal, malformed_fatal, pin_rc, pin_fatal)",
|
"line, run_rc = run_verdict(fatal, read_fatal, malformed_fatal, pin_rc, pin_fatal)",
|
||||||
"print(line)",
|
"print(line)",
|
||||||
"return run_rc",
|
"return run_rc",
|
||||||
"selftest: 44 cells",
|
"selftest: 49 cells",
|
||||||
'1, "EMPTY")',
|
'1, "EMPTY")',
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -123,9 +123,9 @@ def main():
|
|||||||
# [3] --selftest 44/0
|
# [3] --selftest 44/0
|
||||||
rc, out, _ = sh([sys.executable, SRC, "--selftest"], timeout=180)
|
rc, out, _ = sh([sys.executable, SRC, "--selftest"], timeout=180)
|
||||||
m = re.search(r"selftest: (\d+) cells, (\d+) passed, (\d+) failed", out or "")
|
m = re.search(r"selftest: (\d+) cells, (\d+) passed, (\d+) failed", out or "")
|
||||||
check(failed, "selftest 44 cells 0 failed",
|
check(failed, "selftest 49 cells 0 failed",
|
||||||
rc == 0 and m and m.group(1) == "44"
|
rc == 0 and m and m.group(1) == "49"
|
||||||
and m.group(2) == "44" and m.group(3) == "0",
|
and m.group(2) == "49" and m.group(3) == "0",
|
||||||
f"rc={rc} line={m.group(0) if m else 'NONE'}")
|
f"rc={rc} line={m.group(0) if m else 'NONE'}")
|
||||||
|
|
||||||
# [4] + [5] direct import contract checks (side-effect-free import)
|
# [4] + [5] direct import contract checks (side-effect-free import)
|
||||||
|
|||||||
Reference in new issue
Block a user