rpg_eval.runValues: lane Rv finds the failures after the s07 choice token lie outside the choice unit; nothing changes #812
Loading…
Reference in a new issue
No description provided.
Delete branch "lane-rv-choice-20261117"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
rpg_eval.runValues: lane Rv finds the failures after the s07 choice token lie outside the choice unit; nothing changes
Negative result. No source, test or emit byte changes in this pull request.
Question: when
runValuesleaves the s07choicetoken andrunthenstops, which operation does it stop at, and does that operation belong to a
choice shape (%MAX, %MIN, AND/OR chains) that
rpg_choice.zigdeclines?Measured on a Debug build of the branch base (
SOURCERER_TRACE_REFUSALS=1,TRACE_OPERAND=1,trace-lib.sh) over every publicarchive.savfundersrc/testdata/savf(LEMONADE included) and theobject.savffiles up toSC-ILE/EXPERIMENTS/fmtind-j1; no private, held-out or exam material.Observable and stripped copies of a probe are counted separately.
Case 1, s07 token and no failure after it. 8560 statements carry the token;
8153 are recovered, so the token only says the statement needs no choice
rewrite. 251 more are not recovered but
rundoes not fail: 218 partialtype_inference/decimal_positions, 14control_flowblock_owner orclosing_destination, 4
call+control_flowremaining_effects, 2value_flow/remaining_effectsand a few display-argument rows. Their causeis in other stages.
Case 2, s07 token and
rpg_eval.runs01 (156 statements). The failuredependency, by count of failure entries: operation 15 (85), 75 (30), 99 (26,
stages
callandruntime_descriptor), 97 (9), procedure calls 254, 255,272, 275 (14), 33 (4), 141 (4), 27 (2), 67 (1), and a few label ids. Only
operation 15 (a label) can be the tail of a choice shape, so the shapes
behind it were read:
%SUBSTrange guard (decimal-fault-report,decimal-sign-report,packed-add-report,packed-compose-report,packed-compose-sign-report,OPS/subst):78 8; 12; 16 L1; 27 a; 27 b; 10; 17 L2; 15 L1 2; 27 c; 35 54; 99 3 0 0 0; 15 L2 2.choice.booleanreaches s08 (pairdeclines the two constants) because the chain does not produce a true/false
value: both jumps end at an error call. It is a guard, not a choice value.
TLICRstatement 52 (l_padvar,f = vfrom VARCHAR to CHAR): thecompiler's length clamp (
27 660; 27 441; 11; 16 9; 27 660; 35 444; 18 10; 15 9 1; 27 441; 35 444; 15 10 1, labels of kind 1). It belongs to thevarying-copy rules, not to %MIN.
FLOW/ccsid,FLOW/dispatch-held,FLOW/return-switch-utf8: theboolean s08 token comes from a status guard (
9; 16 L; ...; 15 L 1); thestatement stops at operation 99 or 141, not at the guard.
TSELRstatement 50 andTRPG3statement 75: the label is the head of abackward scan loop (
18 8back to15 8 2), a %TRIM-style loop, not achoice. The other labels did not reach
booleanpast s04.Result: no public statement fails at an operation of a choice shape. The
failures after s07 stop in operations outside the choice unit: stage
control_flowoperation 15 (range guard, loop head, varying clamp), stagetype_inferenceoperation 75, stagescallandruntime_descriptoroperations 99 and 97, stage
value_flowprocedures 254, 255, 272, 275 andoperation 33, stage
classificationoperations 141 and 67.Teaching the choice unit the range guard or the clamp would recover text no
public twin proves (the guard is an error branch, the clamp is a copy rule),
so the unit is left as it is. A follow-up lane would need a public probe
whose source holds an AND/OR condition that
choice.booleandeclines ats05 to s13 and that ends in a value; none exists. Counter: 0 recovered, 0
worse.
Gates