Run artifact

workspace/targets/jq/evidence/block-17.md

Evidence: Block 17 ยท Service (block-17)

Stories built

Acceptance tooling authorization

Stacked context

Build directory changes

Pre-build acceptance observation

intent: Numeric functions and the selected non-decnum cases execute with the corpus-defined results. return code: 1 stdout: { "candidate": [ "/mnt/c/Users/barlo/projects/drydock/uat/jq/runs/20261028.145919/build/jq/jq" ], "corpus": "jq.test", "summary": { "pass": 1, "fail": 21, "error": 0, "skip": 0 }, "cases": [ { "line": 689, "program": "[(infinite, -infinite) % (1, -1, infinite)]", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "[0,0,0,0,0,-1]" ], "actual": [] }, { "line": 693, "program": "[nan % 1, 1 % nan | isnan]", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "[true,true]" ], "actual": [] }, { "line": 830, "program": "[.[]|floor]", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "[-2, 1, 1]" ], "actual": [] }, { "line": 834, "program": "[.[]|sqrt]", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "[2,3]" ], "actual": [] }, { "line": 838, "program": "(add / length) as $m | map((. - $m) as $d | $d * $d) | add / length | sqrt", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "2" ], "actual": [] }, { "line": 847, "program": "atan * 4 * 1000000|floor / 1000000", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "3.141592" ], "actual": [] }, { "line": 851, "program": "[(3.141592 / 2) * (range(0;20) / 20)|cos * 1000000|floor / 1000000]", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "[1,0.996917,0.987688,0.972369,0.951056,0.923879,0.891006,0.85264,0.809017,0.760406,0.707106,0.649448,0.587785,0.522498,0.45399,0.382683,0.309017,0.233445,0.156434,0.078459]" ], "actual": [] }, { "line": 855, "program": "[(3.141592 / 2) * (range(0;20) / 20)|sin * 1000000|floor / 1000000]", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "[0,0.078459,0.156434,0.233445,0.309016,0.382683,0.45399,0.522498,0.587785,0.649447,0.707106,0.760405,0.809016,0.85264,0.891006,0.923879,0.951056,0.972369,0.987688,0.996917]" ], "actual": [] }, { "line": 2014, "program": "try (. + \"x\") catch . == if have_decnum then \"number (12345678901234567890123456...) and string (\\\"x\\\") cannot be added\" else \"number (12345678901234568000000000...) and string (\\\"x\\\") cannot be added\" end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2067, "program": "[range(-52;52;1)] as $powers | [$powers[]|pow(2;.)|log2|round] == $powers", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2071, "program": "[range(-99/2;99/2;1)] as $orig | [$orig[]|pow(2;.)|log2] as $back | ($orig|keys)[]|. as $k | (($orig|.[$k])-($back|.[$k]))|if . < 0 then . * -1 else . end|select(.>.00005)", "status": "fail", "detail": "program did not compile: invalid number at 1:171", "expect_failure": false, "expected": [], "actual": [] }, { "line": 2196, "program": ".[0] | tostring | . == if have_decnum then \"13911860366432393\" else \"13911860366432392\" end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2200, "program": ".x | tojson | . == if have_decnum then \"13911860366432393\" else \"13911860366432392\" end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2204, "program": "(13911860366432393 == 13911860366432392) | . == if have_decnum then false else true end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2224, "program": "-. | tojson == if have_decnum then \"-13911860366432393\" else \"-13911860366432392\" end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2228, "program": "-. | tojson == if have_decnum then \"0.12345678901234567890123456789\" else \"0.12345678901234568\" end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2232, "program": "[1E+1000,-1E+1000 | tojson] == if have_decnum then [\"1E+1000\",\"-1E+1000\"] else [\"1.7976931348623157e+308\",\"-1.7976931348623157e+308\"] end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2258, "program": "map(fabs)", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "[0,0,10,1.1]" ], "actual": [] }, { "line": 2271, "program": "[1E+1000,-1E+1000 | abs | tojson] | unique == if have_decnum then [\"1E+1000\"] else [\"1.7976931348623157e+308\"] end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2275, "program": "[1E+1000,-1E+1000 | length | tojson] | unique == if have_decnum then [\"1E+1000\"] else [\"1.7976931348623157e+308\"] end", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true" ], "actual": [] }, { "line": 2324, "program": ".[] | try (fromjson | isnan) catch .", "status": "fail", "detail": "output mismatch", "expect_failure": false, "expected": [ "true", "true", "\"Invalid numeric literal at EOF at line 1, column 4 (while parsing 'NaN1')\"", "\"Invalid numeric literal at EOF at line 1, column 5 (while parsing 'NaN10')\"", "\"Invalid numeric literal at EOF at line 1, column 6 (while parsing 'NaN100')\"", "\"Invalid numeric literal at EOF at line 1, column 7 (while parsing 'NaN1000')\"", "\"Invalid numeric literal at EOF at line 1, column 8 (while parsing 'NaN10000')\"", "\"Invalid numeric literal at EOF at line 1, column 9 (while parsing 'NaN100000')\"" ], "actual": [ "true", "\"Expecting value: line 1 column 1 (char 0)\"", "\"Extra data: line 1 column 4 (char 3)\"", "\"Extra data: line 1 column 4 (char 3)\"", "\"Extra data: line 1 column 4 (char 3)\"", "\"Extra data: line 1 column 4 (char 3)\"", "\"Extra data: line 1 column 4 (char 3)\"", "\"Extra data: line 1 column 4 (char 3)\"" ] } ] } stderr: --- drydock: progress --- cases: pass=1 fail=21 error=0 skip=0 total=22 from=tally --- drydock: end progress --- --- drydock: values at failure --- tally = {'pass': 1, 'fail': 21, 'error': 0, 'skip': 0} --- drydock: end values --- Traceback (most recent call last): File "numeric-corpus.py", line 17, in <module> assert tally["fail"] == 0 and tally["error"] == 0, tally ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: {'pass': 1, 'fail': 21, 'error': 0, 'skip': 0}

Post-build programmatic acceptance

intent: Numeric functions and the selected non-decnum cases execute with the corpus-defined results. target interpreter: /mnt/c/Users/barlo/projects/drydock/.venv/bin/python provisioning: not required return code: 0 stdout: { "candidate": [ "/mnt/c/Users/barlo/projects/drydock/uat/jq/runs/20261028.145919/build/jq/jq" ], "corpus": "jq.test", "summary": { "pass": 22, "fail": 0, "error": 0, "skip": 0 }, "cases": [] }

Repair attempts

Build summary

RESULT: SUCCESS

FILES CHANGED:

SUMMARY: Fixed comma/pipe precedence and NaN modulo behavior. Numeric corpus: 22 passed, 0 failed, 0 errored. Full pytest suite passes.

BLOCKERS: