interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / qualification / om2 / sec / s0s2 / candidate.cases

330 lines · 32393 bytes Raw Blame History
1# SPDX-License-Identifier: Apache-2.0
2# L836 Phase B lane FixLex: omegese-om2.md sections 0, 1, 2 (contract sha256 245bb74e..0881,
3# errata E1/E2/E4/E6 on aien-dev om2/contract fd9e05a2). Paths relative to the worktree root.
4# Expected stdout/stderr files under sec/s0s2/exp come from oracle/s0s2/oracle.py (python3 3.12.3),
5# never from a compiler. OM-1 codes/lines come from the OM-1 definition: the pinned omc 734f0a39
6# (contract 0 line 11) and C1 (line 17); they are cross-checked in pinned.cases.
7# Run against a CANDIDATE OM-2 compiler. Each case's contract citation is the # line above it.
8# ======== section 0: opt-in (line 13), OM-1 refuses the line (line 14), C1 (line 17)
9# line 13: om2 after note lines makes an OM-2 unit (accepted, exit 7)
10s0-optin-min run seed/qualification/om2/sec/s0s2/s0/optin-min.om - - - 7
11# line 36: om2 diag is an opt-in line too
12s0-optin-diag run seed/qualification/om2/sec/s0s2/s0/optin-diag.om - - - 7
13# lines 36-37: accepted diag unit; stderr may carry omc-site records (4 line 115)
14s0-optin-diag-emit emit seed/qualification/om2/sec/s0s2/s0/optin-diag.om any any 0
15# README A3: om2 diag only adds stderr records (lines 34-37, 116): same artifact as om2
16s0-optin-diag-same same seed/qualification/om2/sec/s0s2/s0/optin-min.om seed/qualification/om2/sec/s0s2/s0/optin-diag.om
17# lines 13/36: not exactly om2/om2 diag as first non-note line, so an OM-1 unit; C1 line 17 keeps the OM-1 error
18s0-notfirst emit seed/qualification/om2/sec/s0s2/s0/notfirst.om - err:7:16 16
19# lines 13/36: not exactly om2/om2 diag as first non-note line, so an OM-1 unit; C1 line 17 keeps the OM-1 error
20s0-trail-space emit seed/qualification/om2/sec/s0s2/s0/trail-space.om - err:4:16 16
21# lines 13/36: not exactly om2/om2 diag as first non-note line, so an OM-1 unit; C1 line 17 keeps the OM-1 error
22s0-trail-word emit seed/qualification/om2/sec/s0s2/s0/trail-word.om - err:4:16 16
23# lines 13/36: not exactly om2/om2 diag as first non-note line, so an OM-1 unit; C1 line 17 keeps the OM-1 error
24s0-trail-diagx emit seed/qualification/om2/sec/s0s2/s0/trail-diagx.om - err:4:16 16
25# lines 13/36: not exactly om2/om2 diag as first non-note line, so an OM-1 unit; C1 line 17 keeps the OM-1 error
26s0-double-space emit seed/qualification/om2/sec/s0s2/s0/double-space.om - err:4:16 16
27# lines 13/36: not exactly om2/om2 diag as first non-note line, so an OM-1 unit; C1 line 17 keeps the OM-1 error
28s0-indent emit seed/qualification/om2/sec/s0s2/s0/indent.om - err:4:16 16
29# lines 13/36: not exactly om2/om2 diag as first non-note line, so an OM-1 unit; C1 line 17 keeps the OM-1 error
30s0-upper emit seed/qualification/om2/sec/s0s2/s0/upper.om - err:4:16 16
31# line 13 + erratum E10: blank lines (empty or only spaces) are skipped like notes, so these units are OM-2
32s0-blank-first run seed/qualification/om2/sec/s0s2/s0/blank-first.om - - - 0
33s0-blank-spaces-first run seed/qualification/om2/sec/s0s2/s0/blank-spaces-first.om - - - 0
34# lines 14-16: OM-1 user names spelled like OM-2 words keep their meaning (C1 line 17)
35s0-names-fn run seed/qualification/om2/sec/s0s2/s0/names-fn.om+seed/qualification/om2/sec/s0s2/lib/putu.om - file:seed/qualification/om2/sec/s0s2/exp/names-fn.out - 0
36# lines 14-16: OM-1 user names spelled like OM-2 words keep their meaning (C1 line 17)
37s0-names-var run seed/qualification/om2/sec/s0s2/s0/names-var.om+seed/qualification/om2/sec/s0s2/lib/putu.om - file:seed/qualification/om2/sec/s0s2/exp/names-var.out - 0
38# C1 line 17: OM-1 accepts CR LF today; the CR refusal is the formatter's (2 line 66, E6 g)
39s0-om1-crlf run seed/qualification/om2/sec/s0s2/s0/om1-crlf.om+seed/qualification/om2/sec/s0s2/lib/putu.om - file:seed/qualification/om2/sec/s0s2/exp/om1-crlf.out - 5
40# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
41s0-w-unroll emit seed/qualification/om2/sec/s0s2/s0/w-unroll.om - err:5:5 5
42# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
43s0-w-inline emit seed/qualification/om2/sec/s0s2/s0/w-inline.om - err:4:5 5
44# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
45s0-w-fresh emit seed/qualification/om2/sec/s0s2/s0/w-fresh.om - err:4:16 16
46# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
47s0-w-rotr emit seed/qualification/om2/sec/s0s2/s0/w-rotr.om - err:6:3 3
48# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
49s0-w-abstract emit seed/qualification/om2/sec/s0s2/s0/w-abstract.om - err:4:16 16
50# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
51s0-w-layout emit seed/qualification/om2/sec/s0s2/s0/w-layout.om - err:4:16 16
52# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
53s0-w-export emit seed/qualification/om2/sec/s0s2/s0/w-export.om - err:4:16 16
54# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
55s0-w-part emit seed/qualification/om2/sec/s0s2/s0/w-part.om - err:8:3 3
56# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
57s0-w-viewstar emit seed/qualification/om2/sec/s0s2/s0/w-viewstar.om - err:4:16 16
58# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
59s0-w-out emit seed/qualification/om2/sec/s0s2/s0/w-out.om - err:4:16 16
60# line 14: OM-2 words are recognised only in OM-2 units; C1 line 17 keeps the OM-1 error
61s0-w-hex emit seed/qualification/om2/sec/s0s2/s0/w-hex.om - err:5:6 6
62# line 14 + errata E6 Q1: an OM-2 reserved word declared as a name in an OM-2 unit is error 16
63s0-q1-fn-rotr emit seed/qualification/om2/sec/s0s2/s0/q1-fn-rotr.om - err:5:16 16
64# line 14 + errata E6 Q1: an OM-2 reserved word declared as a name in an OM-2 unit is error 16
65s0-q1-param-part emit seed/qualification/om2/sec/s0s2/s0/q1-param-part.om - err:5:16 16
66# line 14 + errata E6 Q1: an OM-2 reserved word declared as a name in an OM-2 unit is error 16
67s0-q1-var-fresh emit seed/qualification/om2/sec/s0s2/s0/q1-var-fresh.om - err:6:16 16
68# line 14 + errata E6 Q1: an OM-2 reserved word declared as a name in an OM-2 unit is error 16
69s0-q1-var-at emit seed/qualification/om2/sec/s0s2/s0/q1-var-at.om - err:6:16 16
70# line 14 + errata E6 Q1: an OM-2 reserved word declared as a name in an OM-2 unit is error 16
71s0-q1-fn-layout emit seed/qualification/om2/sec/s0s2/s0/q1-fn-layout.om - err:5:16 16
72# ======== section 1: diagnostics (lines 34-49), record fields per errata E4 and E6 Q2
73# file:*.err = exact stderr; tok:*.tok = every determined word (README Q2)
74# lines 34-46 + E4 + E6 Q2: tokens left after the expression: sev=error, span = the first extra token 3, expect=newline. Stdout empty on refusal (line 35); no repair text (line 49)
75s1-d-left emit seed/qualification/om2/sec/s0s2/s1/d-left.om - file:seed/qualification/om2/sec/s0s2/exp/d-left.err 5
76# lines 34-46 + E4 + E6 Q2: plain om2 twin of d-left: only the human line, no record. Stdout empty on refusal (line 35); no repair text (line 49)
77s1-d-left-plain emit seed/qualification/om2/sec/s0s2/s1/d-left-plain.om - file:seed/qualification/om2/sec/s0s2/exp/d-left-plain.err 5
78# lines 34-46 + E4 + E6 Q2: tokens left and the input ends there (no final LF): no continuation is accepted, so sev=error. Stdout empty on refusal (line 35); no repair text (line 49)
79s1-d-eof-left emit seed/qualification/om2/sec/s0s2/s1/d-eof-left.om - file:seed/qualification/om2/sec/s0s2/exp/d-eof-left.err 5
80# lines 34-46 + E4 + E6 Q2: input ends (no final LF) inside an expression: sev=incomplete, empty span len-len, found=-, expect=value. Stdout empty on refusal (line 35); no repair text (line 49)
81s1-d-eof-mid emit seed/qualification/om2/sec/s0s2/s1/d-eof-mid.om - file:seed/qualification/om2/sec/s0s2/exp/d-eof-mid.err 4
82# lines 34-46 + E4 + E6 Q2: input ends before the function's end: sev=incomplete, empty span at end of input. Stdout empty on refusal (line 35); no repair text (line 49)
83s1-d-eof-noend emit seed/qualification/om2/sec/s0s2/s1/d-eof-noend.om - file:seed/qualification/om2/sec/s0s2/exp/d-eof-noend.err 15
84# lines 34-46 + E4 + E6 Q2: line ends before an operand, more input follows: not at end of input, so sev=error. Stdout empty on refusal (line 35); no repair text (line 49)
85s1-d-mid-short emit seed/qualification/om2/sec/s0s2/s1/d-mid-short.om - tok:seed/qualification/om2/sec/s0s2/exp/d-mid-short.tok 4
86# lines 34-46 + E4 + E6 Q2: uppercase hex literal: error 6, sev=error, span = the literal 0xFF. Stdout empty on refusal (line 35); no repair text (line 49)
87s1-d-hexupper emit seed/qualification/om2/sec/s0s2/s1/d-hexupper.om - file:seed/qualification/om2/sec/s0s2/exp/d-hexupper.err 6
88# lines 34-46 + E4 + E6 Q2: plain om2 twin of d-hexupper: only the human line, no record. Stdout empty on refusal (line 35); no repair text (line 49)
89s1-d-hexupper-plain emit seed/qualification/om2/sec/s0s2/s1/d-hexupper-plain.om - file:seed/qualification/om2/sec/s0s2/exp/d-hexupper-plain.err 6
90# lines 34-46 + E4 + E6 Q2: 0xffffffff for int: error 8, sev=error, span = the literal. Stdout empty on refusal (line 35); no repair text (line 49)
91s1-d-hexrange emit seed/qualification/om2/sec/s0s2/s1/d-hexrange.om - file:seed/qualification/om2/sec/s0s2/exp/d-hexrange.err 8
92# lines 34-46 + E4 + E6 Q2: a 42-byte literal (40 digits, error 6): found holds at most 32 bytes (the first 32). Stdout empty on refusal (line 35); no repair text (line 49)
93s1-d-longtok emit seed/qualification/om2/sec/s0s2/s1/d-longtok.om - file:seed/qualification/om2/sec/s0s2/exp/d-longtok.err 6
94# lines 34-46 + E4 + E6 Q2: call to a function that is not declared: sev=unknown, span = the name foo. Stdout empty on refusal (line 35); no repair text (line 49)
95s1-d-unknown-fn emit seed/qualification/om2/sec/s0s2/s1/d-unknown-fn.om - file:seed/qualification/om2/sec/s0s2/exp/d-unknown-fn.err 3
96# lines 34-46 + E4 + E6 Q2: new of a struct that is not declared: sev=unknown, span = the name Pt. Stdout empty on refusal (line 35); no repair text (line 49)
97s1-d-unknown-struct emit seed/qualification/om2/sec/s0s2/s1/d-unknown-struct.om - file:seed/qualification/om2/sec/s0s2/exp/d-unknown-struct.err 16
98# lines 34-46 + E4 + E6 Q2: parameter of a struct type that is not declared: sev=unknown, span = Pt. Stdout empty on refusal (line 35); no repair text (line 49)
99s1-d-unknown-sparam emit seed/qualification/om2/sec/s0s2/s1/d-unknown-sparam.om - file:seed/qualification/om2/sec/s0s2/exp/d-unknown-sparam.err 16
100# lines 34-46 + E4 + E6 Q2: incomplete argument list (input ends) of a call to a function whose signature has not been read: sev=unknown. Stdout empty on refusal (line 35); no repair text (line 49)
101s1-d-unknown-args emit seed/qualification/om2/sec/s0s2/s1/d-unknown-args.om - file:seed/qualification/om2/sec/s0s2/exp/d-unknown-args.err 3
102# E4 col/span, E6 Q2
103s1-d-mid-short-line notrun E6 Q2 makes the LF the span, but whether the record's line= (and expect=) is the LF's line or the human line N (one later in OM-1) is not fixed; the tok case checks the rest
104# ======== section 2: hex literals (lines 53-58)
105# lines 53-54: 1..16 lowercase digits, unsigned value, typed by place; maxima of all 8 types, 0x0, 16 digits
106s2-hex-max run seed/qualification/om2/sec/s0s2/s2hex/hex-max.om+seed/qualification/om2/sec/s0s2/lib/putu.om - file:seed/qualification/om2/sec/s0s2/exp/hex-max.out - 0
107# OM-1 decimal twin (C1 line 17) of the hex fixture: same oracle stdout
108s2-dec-max run seed/qualification/om2/sec/s0s2/s2hex/dec-max.om+seed/qualification/om2/sec/s0s2/lib/putu.om - file:seed/qualification/om2/sec/s0s2/exp/hex-max.out - 0
109# OM-1 decimal twin (C1 line 17) of the hex fixture: same oracle stdout
110s2-dec-places run seed/qualification/om2/sec/s0s2/s2hex/dec-places.om+seed/qualification/om2/sec/s0s2/lib/putu.om - file:seed/qualification/om2/sec/s0s2/exp/hex-places.out - 10
111# line 54: a hex literal takes the type the place needs (length, fill, index, put, for, arg, compare, sub, write)
112s2-hex-places run seed/qualification/om2/sec/s0s2/s2hex/hex-places.om+seed/qualification/om2/sec/s0s2/lib/putu.om - file:seed/qualification/om2/sec/s0s2/exp/hex-places.out - 10
113# line 58: 0x2a and 42 compile identically (also the ulong maximum)
114s2-same-hex42 same seed/qualification/om2/sec/s0s2/s2hex/same-hex42.om seed/qualification/om2/sec/s0s2/s2hex/same-dec42.om
115# line 58: 0x2a and 42 compile identically (also the ulong maximum)
116s2-same-hexmax same seed/qualification/om2/sec/s0s2/s2hex/same-hexmax.om seed/qualification/om2/sec/s0s2/s2hex/same-decmax.om
117# line 54-55: uchar max is 255: error 8 on the literal's line
118s2-r8-uchar emit seed/qualification/om2/sec/s0s2/s2hex/r8-uchar.om - err:5:8 8
119# line 54-55: ushort max is 65535: error 8 on the literal's line
120s2-r8-ushort emit seed/qualification/om2/sec/s0s2/s2hex/r8-ushort.om - err:5:8 8
121# line 54-55: uint max is 2^32-1: error 8 on the literal's line
122s2-r8-uint emit seed/qualification/om2/sec/s0s2/s2hex/r8-uint.om - err:5:8 8
123# line 54-55: byte max is 127: error 8 on the literal's line
124s2-r8-byte emit seed/qualification/om2/sec/s0s2/s2hex/r8-byte.om - err:5:8 8
125# line 54-55: short max is 32767: error 8 on the literal's line
126s2-r8-short emit seed/qualification/om2/sec/s0s2/s2hex/r8-short.om - err:5:8 8
127# line 54-55: int max is 2^31-1: error 8 on the literal's line
128s2-r8-int emit seed/qualification/om2/sec/s0s2/s2hex/r8-int.om - err:5:8 8
129# line 54-55: long max is 2^63-1: error 8 on the literal's line
130s2-r8-long emit seed/qualification/om2/sec/s0s2/s2hex/r8-long.om - err:5:8 8
131# line 54-55: 0xffffffff for int, no twos-complement reinterpretation (line 55): error 8 on the literal's line
132s2-r8-intffff emit seed/qualification/om2/sec/s0s2/s2hex/r8-intffff.om - err:5:8 8
133# line 56-57: uppercase digits: error 6 on the literal's line
134s2-r6-upper emit seed/qualification/om2/sec/s0s2/s2hex/r6-upper.om - err:5:6 6
135# line 56-57: one uppercase digit: error 6 on the literal's line
136s2-r6-mixed emit seed/qualification/om2/sec/s0s2/s2hex/r6-mixed.om - err:5:6 6
137# line 56-57: 0X prefix: error 6 on the literal's line
138s2-r6-upperX emit seed/qualification/om2/sec/s0s2/s2hex/r6-upperX.om - err:5:6 6
139# line 56-57: a - before a hex literal: error 6 on the literal's line
140s2-r6-minus emit seed/qualification/om2/sec/s0s2/s2hex/r6-minus.om - err:5:6 6
141# line 56-57: 0x with no digits: error 6 on the literal's line
142s2-r6-empty emit seed/qualification/om2/sec/s0s2/s2hex/r6-empty.om - err:5:6 6
143# line 56-57: 17 digits whose value (1) fits: error 6 on the literal's line
144s2-r6-17small emit seed/qualification/om2/sec/s0s2/s2hex/r6-17small.om - err:5:6 6
145# line 56-57: 17 digits, value 2^64: error 6 on the literal's line
146s2-r6-17big emit seed/qualification/om2/sec/s0s2/s2hex/r6-17big.om - err:5:6 6
147# line 56-57: _ after 0x: error 6 on the literal's line
148s2-r6-under1 emit seed/qualification/om2/sec/s0s2/s2hex/r6-under1.om - err:5:6 6
149# line 56-57: _ between digits: error 6 on the literal's line
150s2-r6-under2 emit seed/qualification/om2/sec/s0s2/s2hex/r6-under2.om - err:5:6 6
151# line 56-57: a non-hex letter: error 6 on the literal's line
152s2-r6-g emit seed/qualification/om2/sec/s0s2/s2hex/r6-g.om - err:5:6 6
153# line 56-57: a trailing other character: error 6 on the literal's line
154s2-r6-z emit seed/qualification/om2/sec/s0s2/s2hex/r6-z.om - err:5:6 6
155# line 56-57: uppercase digits of the ulong maximum: error 6 on the literal's line
156s2-r6-upper-ulong emit seed/qualification/om2/sec/s0s2/s2hex/r6-upper-ulong.om - err:5:6 6
157# OMEGESE 9.3 decimal range rule that line 54 makes hex follow; C1 line 17
158s2-d8-uchar emit seed/qualification/om2/sec/s0s2/s2hex/d8-uchar.om - err:5:8 8
159# OMEGESE 9.3 decimal range rule that line 54 makes hex follow; C1 line 17
160s2-d8-ushort emit seed/qualification/om2/sec/s0s2/s2hex/d8-ushort.om - err:5:8 8
161# OMEGESE 9.3 decimal range rule that line 54 makes hex follow; C1 line 17
162s2-d8-uint emit seed/qualification/om2/sec/s0s2/s2hex/d8-uint.om - err:5:8 8
163# OMEGESE 9.3 decimal range rule that line 54 makes hex follow; C1 line 17
164s2-d8-byte emit seed/qualification/om2/sec/s0s2/s2hex/d8-byte.om - err:5:8 8
165# OMEGESE 9.3 decimal range rule that line 54 makes hex follow; C1 line 17
166s2-d8-short emit seed/qualification/om2/sec/s0s2/s2hex/d8-short.om - err:5:8 8
167# OMEGESE 9.3 decimal range rule that line 54 makes hex follow; C1 line 17
168s2-d8-int emit seed/qualification/om2/sec/s0s2/s2hex/d8-int.om - err:5:8 8
169# OMEGESE 9.3 decimal range rule that line 54 makes hex follow; C1 line 17
170s2-d8-long emit seed/qualification/om2/sec/s0s2/s2hex/d8-long.om - err:5:8 8
171# OMEGESE 9.3 decimal range rule that line 54 makes hex follow; C1 line 17
172s2-d8-intffff emit seed/qualification/om2/sec/s0s2/s2hex/d8-intffff.om - err:5:8 8
173# ======== section 2: expression boundaries (lines 59-62), both profiles; OM-1 codes = pinned OM-1 definition
174# lines 59-61: tokens left after the statement's expression (typed operand); OM-1 code pinned (C1 line 17)
175s2-om1-left-typed emit seed/qualification/om2/sec/s0s2/s2bnd/om1-left-typed.om - err:6:5 5
176# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
177s2-om2-left-typed emit seed/qualification/om2/sec/s0s2/s2bnd/om2-left-typed.om - err:7:5 5
178# lines 59-61: tokens left after an assignment's expression; OM-1 code pinned (C1 line 17)
179s2-om1-left-assign emit seed/qualification/om2/sec/s0s2/s2bnd/om1-left-assign.om - err:6:5 5
180# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
181s2-om2-left-assign emit seed/qualification/om2/sec/s0s2/s2bnd/om2-left-assign.om - err:7:5 5
182# lines 59-61: a stray ) after a complete expression; OM-1 code pinned (C1 line 17)
183s2-om1-left-paren emit seed/qualification/om2/sec/s0s2/s2bnd/om1-left-paren.om - err:6:5 5
184# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
185s2-om2-left-paren emit seed/qualification/om2/sec/s0s2/s2bnd/om2-left-paren.om - err:7:5 5
186# lines 59-61: tokens left after add of two bare numbers (ambiguity is found first); OM-1 code pinned (C1 line 17)
187s2-om1-left-bare emit seed/qualification/om2/sec/s0s2/s2bnd/om1-left-bare.om - err:5:11 11
188# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
189s2-om2-left-bare emit seed/qualification/om2/sec/s0s2/s2bnd/om2-left-bare.om - err:6:11 11
190# lines 59-61: line ends before an operand is complete, followed by end; OM-1 code pinned (C1 line 17)
191s2-om1-short-next emit seed/qualification/om2/sec/s0s2/s2bnd/om1-short-next.om - err:7:4 4
192# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
193s2-om2-short-next emit seed/qualification/om2/sec/s0s2/s2bnd/om2-short-next.om - err:8:4 4
194# lines 59-61: ret add 1 then end; OM-1 code pinned (C1 line 17)
195s2-om1-short-bare emit seed/qualification/om2/sec/s0s2/s2bnd/om1-short-bare.om - err:6:4 4
196# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
197s2-om2-short-bare emit seed/qualification/om2/sec/s0s2/s2bnd/om2-short-bare.om - err:7:4 4
198# lines 59-61: input ends (no final LF) before an operand is complete; OM-1 code pinned (C1 line 17)
199s2-om1-short-eof emit seed/qualification/om2/sec/s0s2/s2bnd/om1-short-eof.om - err:6:4 4
200# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
201s2-om2-short-eof emit seed/qualification/om2/sec/s0s2/s2bnd/om2-short-eof.om - err:7:4 4
202# lines 59-61: a group missing its ) (OMEGESE 9.10); OM-1 code pinned (C1 line 17)
203s2-om1-group-open emit seed/qualification/om2/sec/s0s2/s2bnd/om1-group-open.om - err:6:16 16
204# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
205s2-om2-group-open emit seed/qualification/om2/sec/s0s2/s2bnd/om2-group-open.om - err:7:16 16
206# lines 59-61: a group closed before its word has all operands; OM-1 code pinned (C1 line 17)
207s2-om1-group-short emit seed/qualification/om2/sec/s0s2/s2bnd/om1-group-short.om - err:6:16 16
208# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
209s2-om2-group-short emit seed/qualification/om2/sec/s0s2/s2bnd/om2-group-short.om - err:7:16 16
210# lines 59-61: a group holding two values for one operand; OM-1 code pinned (C1 line 17)
211s2-om1-group-wide emit seed/qualification/om2/sec/s0s2/s2bnd/om1-group-wide.om - err:6:16 16
212# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
213s2-om2-group-wide emit seed/qualification/om2/sec/s0s2/s2bnd/om2-group-wide.om - err:7:16 16
214# lines 59-61: [ is not grouping; OM-1 code pinned (C1 line 17)
215s2-om1-bracket emit seed/qualification/om2/sec/s0s2/s2bnd/om1-bracket.om - err:6:3 3
216# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
217s2-om2-bracket emit seed/qualification/om2/sec/s0s2/s2bnd/om2-bracket.om - err:7:3 3
218# lines 59-61: { is not grouping; OM-1 code pinned (C1 line 17)
219s2-om1-brace emit seed/qualification/om2/sec/s0s2/s2bnd/om1-brace.om - err:6:3 3
220# line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line
221s2-om2-brace emit seed/qualification/om2/sec/s0s2/s2bnd/om2-brace.om - err:7:3 3
222# lines 61-62: grouping never changes which operands a word takes
223s2-om1-g0-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om - - - 7
224# lines 61-62: grouping never changes which operands a word takes
225s2-om1-g1-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g1.om - - - 7
226# line 61: a group adds no code
227s2-om1-g1-same same seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om1-g1.om
228# lines 61-62: grouping never changes which operands a word takes
229s2-om1-g2-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g2.om - - - 7
230# line 61: a group adds no code
231s2-om1-g2-same same seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om1-g2.om
232# lines 61-62: grouping never changes which operands a word takes
233s2-om1-g3-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g3.om - - - 7
234# line 61: a group adds no code
235s2-om1-g3-same same seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om1-g3.om
236# lines 61-62: grouping never changes which operands a word takes
237s2-om1-g4-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g4.om - - - 7
238# line 61: a group adds no code
239s2-om1-g4-same same seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om1-g4.om
240# lines 61-62: grouping never changes which operands a word takes
241s2-om2-g0-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om - - - 7
242# lines 61-62: grouping never changes which operands a word takes
243s2-om2-g1-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g1.om - - - 7
244# line 61: a group adds no code
245s2-om2-g1-same same seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om2-g1.om
246# lines 61-62: grouping never changes which operands a word takes
247s2-om2-g2-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g2.om - - - 7
248# line 61: a group adds no code
249s2-om2-g2-same same seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om2-g2.om
250# lines 61-62: grouping never changes which operands a word takes
251s2-om2-g3-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g3.om - - - 7
252# line 61: a group adds no code
253s2-om2-g3-same same seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om2-g3.om
254# lines 61-62: grouping never changes which operands a word takes
255s2-om2-g4-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g4.om - - - 7
256# line 61: a group adds no code
257s2-om2-g4-same same seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om2-g4.om
258# ======== section 2: canonical formatter (lines 63-72); rest/output per E4; edge cases per E6 Q3/Q4
259# lines 63-68 + E4: canonical text of the bytes after the first LF; notes and text bytes exact; line count kept (line 72)
260s2-fmt-x1 emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/x1.om file:seed/qualification/om2/sec/s0s2/exp/x1.fmt - 0
261# line 69: fmt is idempotent
262s2-fmt-x1-idem emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/exp/x1.fmt file:seed/qualification/om2/sec/s0s2/exp/x1.fmt - 0
263# line 69 (+ E6 h for OM-1 x5): compile(fmt(x)) == compile(x)
264s2-fmt-x1-same same seed/qualification/om2/sec/s0s2/s2fmt/x1.om seed/qualification/om2/sec/s0s2/exp/x1.fmt
265# lines 63-68: already canonical text is returned unchanged
266s2-fmt-x2 emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/x2.om file:seed/qualification/om2/sec/s0s2/exp/x2.fmt - 0
267# line 69: fmt is idempotent
268s2-fmt-x2-idem emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/exp/x2.fmt file:seed/qualification/om2/sec/s0s2/exp/x2.fmt - 0
269# line 69 (+ E6 h for OM-1 x5): compile(fmt(x)) == compile(x)
270s2-fmt-x2-same same seed/qualification/om2/sec/s0s2/s2fmt/x2.om seed/qualification/om2/sec/s0s2/exp/x2.fmt
271# E6 (b,c,d,e): whitespace-only lines become empty; any line whose first token is note (indented, trailing blanks) kept byte for byte; paren spacing kept
272s2-fmt-x3 emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/x3.om file:seed/qualification/om2/sec/s0s2/exp/x3.fmt - 0
273# line 69: fmt is idempotent
274s2-fmt-x3-idem emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/exp/x3.fmt file:seed/qualification/om2/sec/s0s2/exp/x3.fmt - 0
275# line 69 (+ E6 h for OM-1 x5): compile(fmt(x)) == compile(x)
276s2-fmt-x3-same same seed/qualification/om2/sec/s0s2/s2fmt/x3.om seed/qualification/om2/sec/s0s2/exp/x3.fmt
277# E6 (e): whitespace next to ( or ) kept as written; other runs become one space
278s2-fmt-x4 emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/x4.om file:seed/qualification/om2/sec/s0s2/exp/x4.fmt - 0
279# line 69: fmt is idempotent
280s2-fmt-x4-idem emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/exp/x4.fmt file:seed/qualification/om2/sec/s0s2/exp/x4.fmt - 0
281# line 69 (+ E6 h for OM-1 x5): compile(fmt(x)) == compile(x)
282s2-fmt-x4-same same seed/qualification/om2/sec/s0s2/s2fmt/x4.om seed/qualification/om2/sec/s0s2/exp/x4.fmt
283# E6 (h): the rest may be an OM-1 unit
284s2-fmt-x5 emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/x5.om file:seed/qualification/om2/sec/s0s2/exp/x5.fmt - 0
285# line 69: fmt is idempotent
286s2-fmt-x5-idem emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/exp/x5.fmt file:seed/qualification/om2/sec/s0s2/exp/x5.fmt - 0
287# line 69 (+ E6 h for OM-1 x5): compile(fmt(x)) == compile(x)
288s2-fmt-x5-same same seed/qualification/om2/sec/s0s2/s2fmt/x5.om seed/qualification/om2/sec/s0s2/exp/x5.fmt
289# fmt input x1 is itself an accepted OM-2 program (precondition of the same case)
290s2-fmt-x1-run run seed/qualification/om2/sec/s0s2/s2fmt/x1.om - file:seed/qualification/om2/sec/s0s2/exp/x1.out - 42
291# line 69: the formatted text behaves the same
292s2-fmt-x1fmt-run run seed/qualification/om2/sec/s0s2/exp/x1.fmt - file:seed/qualification/om2/sec/s0s2/exp/x1.out - 42
293# E6 (h): formatted OM-1 text keeps its meaning
294s2-fmt-x5fmt-run run seed/qualification/om2/sec/s0s2/exp/x5.fmt - file:seed/qualification/om2/sec/s0s2/exp/x5.out - 9
295# malformed rest (tokens left) refused with its compile code (line 70); line counts the om2 fmt line (E6 Q3); nothing on stdout (line 70)
296s2-fmt-bad-left emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-left.om - err:6:5 5
297# malformed rest (uppercase hex, line 56) refused with its compile code (line 70); E6 Q3 line; nothing on stdout (line 70)
298s2-fmt-bad-hex emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-hex.om - err:5:6 6
299# malformed rest (line ends before an operand; OM-1 names the next line) refused (line 70); E6 Q3 line; nothing on stdout (line 70)
300s2-fmt-bad-short emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-short.om - err:7:4 4
301# CR is error 6 (line 66, E6 g), here on the first (note) line of the rest; E6 Q3 line; nothing on stdout (line 70)
302s2-fmt-bad-cr emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-cr.om - err:2:6 6
303# a single CR before the last LF is error 6 (line 66, E6 g); E6 Q3 line; nothing on stdout (line 70)
304s2-fmt-bad-cr1 emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-cr1.om - err:6:6 6
305# CR inside a text literal is error 6 (E6 g); E6 Q3 line: hdr (1) + note (2) + om2 (3) puts the text, and
306# its CR, on line 4 (corrected 2026-10-25: was err:3:6, a fixture miscount found by the coordinator)
307s2-fmt-bad-crtext emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-crtext.om - err:4:6 6
308# om2 fmt anywhere but byte 0 is error 16 at its line (E6 f); E6 Q3 line; nothing on stdout (line 70)
309s2-fmt-bad-fmtlater emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-fmtlater.om - err:4:16 16
310# E6 (a): blank lines at the end of the input are error 6; the line of the error is not named, so refuse (code, empty stdout)
311s2-fmt-bad-trailblank refuse seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-trailblank.om 6
312# line 70 + E6 (a): nothing on stdout
313s2-fmt-bad-trailblank-nostdout emit seed/qualification/om2/sec/s0s2/s2fmt/hdr.txt+seed/qualification/om2/sec/s0s2/s2fmt/bad-trailblank.om - any 6
314# E6 a, Q3
315s2-fmt-bad-trailblank-line notrun E6 (a) makes trailing blank lines error 6 but does not say which line the human line names (first or last blank line)
316# E6 (f): formatter mode only when byte 0 starts the line om2 fmt; elsewhere om2 fmt is error 16 at its line
317s2-fmt-notes-before emit seed/qualification/om2/sec/s0s2/s2fmt/notes-before.om - err:3:16 16
318# E6 (f): formatter mode only when byte 0 starts the line om2 fmt; elsewhere om2 fmt is error 16 at its line
319s2-fmt-om2-then-fmt emit seed/qualification/om2/sec/s0s2/s2fmt/om2-then-fmt.om - err:4:16 16
320# ======== C2 (contract 0 lines 19-22): these OM-1 units compile to the pinned 734f0a39 bytes (c2-extra.txt)
321c2-s0-names-fn emit seed/qualification/om2/sec/s0s2/s0/names-fn.om+seed/qualification/om2/sec/s0s2/lib/putu.om sha:8c1e625abb265e5ec2bb1d70bcf70e16f494d5f2d69d21b84d4010f02a4597cd - 0
322c2-s0-names-var emit seed/qualification/om2/sec/s0s2/s0/names-var.om+seed/qualification/om2/sec/s0s2/lib/putu.om sha:8f809f5336881a5a9a2bc8a47c7577d4d607729bfb0b94d169b072d6acd57a50 - 0
323c2-s0-om1-crlf emit seed/qualification/om2/sec/s0s2/s0/om1-crlf.om+seed/qualification/om2/sec/s0s2/lib/putu.om sha:38921391cc3b9bfdd733c61f6078165678d1290d0917715a92097e31b7fb33de - 0
324c2-s2-dec-max emit seed/qualification/om2/sec/s0s2/s2hex/dec-max.om+seed/qualification/om2/sec/s0s2/lib/putu.om sha:6921d6a044ea452a5b3a1231d8b86fc1a7afd204b26ac3c6b6a68f93dea61de3 - 0
325c2-s2-dec-places emit seed/qualification/om2/sec/s0s2/s2hex/dec-places.om+seed/qualification/om2/sec/s0s2/lib/putu.om sha:2e3ab50c6637eb326d446d9940957d98be64e2934193289716ec2c8df0e7f2c4 - 0
326c2-s2-om1-g0 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om sha:fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce - 0
327c2-s2-om1-g1 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g1.om sha:fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce - 0
328c2-s2-om1-g2 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g2.om sha:fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce - 0
329c2-s2-om1-g3 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g3.om sha:fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce - 0
330c2-s2-om1-g4 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g4.om sha:fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce - 0