Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/profile/mutants.cases # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / profile / mutants.cases` 61 lines ยท 4611 bytes Raw Blame History 1 # SPDX-License-Identifier: AGPL-3.0-only 2 # seed/profile/mutants.cases: one profile.om mutant per enforced rule (five for B2: guard limit, 3 # DRA-311 leaf removal, stop in the guard's then-block, same block instance, NAME value assignment 4 # without =). Each mutant disables one check; its control row (ok-unit) must PASS and its kill row 5 # (the matching rule fixture) must FAIL. 6 # Expected: OM2GATE FAIL cases=22 pass=11 fail=11 invalid=0 not_run=0 7 # --- mutant b1-cap 8 subst seed/profile/mutants/b1-cap.from seed/profile/mutants/b1-cap.to 9 ctl-b1-cap run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 10 subst seed/profile/mutants/b1-cap.from seed/profile/mutants/b1-cap.to 11 m-b1-cap run seed/profile/profile.om - line:PROFILE-REFUSED:B1:4 - 1 seed/profile/cases/b1-while.om 12 # --- mutant b2-limit 13 subst seed/profile/mutants/b2-limit.from seed/profile/mutants/b2-limit.to 14 ctl-b2-limit run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 15 subst seed/profile/mutants/b2-limit.from seed/profile/mutants/b2-limit.to 16 m-b2-limit run seed/profile/profile.om - line:PROFILE-REFUSED:B2:7 - 1 seed/profile/cases/b2-limit.om 17 # --- mutant b2-leaf 18 subst seed/profile/mutants/b2-leaf.from seed/profile/mutants/b2-leaf.to 19 ctl-b2-leaf run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 20 subst seed/profile/mutants/b2-leaf.from seed/profile/mutants/b2-leaf.to 21 m-b2-leaf run seed/profile/profile.om - line:PROFILE-REFUSED:B2:2 - 1 seed/profile/cases/b2-mutual.om 22 # --- mutant b2-else: the optional guard line may again be any line (else included) 23 subst seed/profile/mutants/b2-else.from seed/profile/mutants/b2-else.to 24 ctl-b2-else run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 25 subst seed/profile/mutants/b2-else.from seed/profile/mutants/b2-else.to 26 m-b2-else run seed/profile/profile.om - line:PROFILE-REFUSED:B2:7 - 1 seed/profile/cases/b2-else.om 27 # --- mutant b2-block: equal nesting depth again counts as the same block 28 subst seed/profile/mutants/b2-block.from seed/profile/mutants/b2-block.to 29 ctl-b2-block run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 30 subst seed/profile/mutants/b2-block.from seed/profile/mutants/b2-block.to 31 m-b2-block run seed/profile/profile.om - line:PROFILE-REFUSED:B2:9 - 1 seed/profile/cases/b2-arm.om 32 # --- mutant b2-noeq: the shared assignment classifier again recognises only NAME = value 33 subst seed/profile/mutants/b2-noeq.from seed/profile/mutants/b2-noeq.to 34 ctl-b2-noeq run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 35 subst seed/profile/mutants/b2-noeq.from seed/profile/mutants/b2-noeq.to 36 m-b2-noeq run seed/profile/profile.om - line:PROFILE-REFUSED:B2:7 - 1 seed/profile/cases/b2-noeq-nd.om 37 # --- mutant b3-total 38 subst seed/profile/mutants/b3-total.from seed/profile/mutants/b3-total.to 39 ctl-b3-total run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 40 subst seed/profile/mutants/b3-total.from seed/profile/mutants/b3-total.to 41 m-b3-total run seed/profile/profile.om - line:PROFILE-REFUSED:B3:4 - 1 seed/profile/cases/b3-total.om 42 # --- mutant e1-used 43 subst seed/profile/mutants/e1-used.from seed/profile/mutants/e1-used.to 44 ctl-e1-used run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 45 subst seed/profile/mutants/e1-used.from seed/profile/mutants/e1-used.to 46 m-e1-used run seed/profile/profile.om - line:PROFILE-REFUSED:E1:9 - 1 seed/profile/cases/e1-drop.om 47 # --- mutant x1-effect 48 subst seed/profile/mutants/x1-effect.from seed/profile/mutants/x1-effect.to 49 ctl-x1-effect run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 50 subst seed/profile/mutants/x1-effect.from seed/profile/mutants/x1-effect.to 51 m-x1-effect run seed/profile/profile.om - line:PROFILE-REFUSED:X1:3 - 1 seed/profile/cases/x1-boundary.om 52 # --- mutant p1-put 53 subst seed/profile/mutants/p1-put.from seed/profile/mutants/p1-put.to 54 ctl-p1-put run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 55 subst seed/profile/mutants/p1-put.from seed/profile/mutants/p1-put.to 56 m-p1-put run seed/profile/profile.om - line:PROFILE-REFUSED:P1:5 - 1 seed/profile/cases/p1-put.om 57 # --- mutant c1-mode 58 subst seed/profile/mutants/c1-mode.from seed/profile/mutants/c1-mode.to 59 ctl-c1-mode run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om 60 subst seed/profile/mutants/c1-mode.from seed/profile/mutants/c1-mode.to 61 m-c1-mode run seed/profile/profile.om - line:PROFILE-REFUSED:C1:3 - 1 seed/profile/cases/c1-mode.om