Repository navigation
Preserve measured resource limits in completeness reports - #997
Merged
Merged
Conversation
Retain bounded numeric resource measurements through completeness projection and report formats, distinguish unrecorded values from zero, and keep different measurements separate. Remove invented meta runtime measurements and avoid claiming every parser limitation exceeded a span budget. Refs NVIDIA#993 Signed-off-by: yashrajbasav <[email protected]>
Signed-off-by: yashrajbasav <[email protected]>
This was referenced Nov 3, 2026
Signed-off-by: yashrajbasav <[email protected]>
Signed-off-by: yashrajbasav <[email protected]>
yashrajp22
marked this pull request as ready for review
November 4, 2026 09:27
yashrajp22
added a commit
that referenced
this pull request
Nov 4, 2026
…eness reports Preserve measured limits and distinguish missing observations from proven resource overflow in completeness reports. (cherry picked from commit 7810360) Signed-off-by: yashrajbasav <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #993.
Preserve exact measured resource limits through completeness and terminal, JSON, Markdown and SARIF reports. Distinguish missing observations from zero and unsupported-parser explanations from proven resource overflow.
Also correct the production parser's quote-boundary proof for bounded literal multiline
printf. Unknown arguments, nested runtime commands, local replacements, incomplete context and existing resource limits remain conservative; destructive-command findings are preserved. PowerShell regression tests now assert their own language behavior directly.Merge this prerequisite before #999 and #1000; #999 also requires #973.
Current validation
At
8df7f21286d10819fe82cfc67c925d82f80d07a9, 464 focused tests passed from source and 464 from a freshly built, non-editable wheel. Coverage includes LF/CRLF, unresolved/redefined commands, host-language boundaries and retained destructive-command findings. All 138 tracked package files match source. Follow-up1a6ac4563fa7af123d279a44c71cfbc60e2c1335only wraps the same expression across lines; its parsed Python structure is identical, and lint/format checks pass.The new offline matrix completed 32 full-skill scans for this PR (base and fix, source and fresh wheel), with all 16 source/wheel pairs matching and every noncoverage finding preserved in the 16 base/fix comparisons. Bounded literal commands become fully inspectable; unknown or redefined commands remain incomplete and destructive findings remain present. The four-PR matrix totals 128 scans.
Real-provider before/after validation completed 8 full-skill scans from source and fresh wheels: literal multiline commands and the unchanged DriveOS skill. All eight have complete AI-stage accounting and no unresolved AI diagnostics. One response-validation attempt recovered. Literal commands become fully inspectable; DriveOS retains its existing 9/10 static tool-misuse coverage and missing-runtime-reference limitations. This narrow correction does not provide full DriveOS static support.
Current GitHub CI has five successful checks; the full unit-test job is still running. This PR remains draft pending that result and its prerequisite merges, where applicable.
Historical evidence
At
d9294fbf7373f0b589cbf05b9f843fd9244a4b99, 937 wheel tests passed; replaying new controls on the baseline produced 11 failures and one pass. Source/wheel validation covered 32 full skills and corrected catalog fixtures, preserving findings and completeness apart from intended wording. Independent static, CodeRabbit and Greptile reviews applied to that revision. The local full suite exceeded its time budget, and GitHub run 41606902291 failed.Historical combined candidate
6d90c033bd59af64c98171bdb5c135f8c7d6ee88completed 100 offline and 50 live scans across 25 full skills, passing all 44 declared static controls and 52 typed-diagnostic wording checks. Seven live runs remained incomplete because of invalid AI output, refusals or PLC report limits. These combined results do not establish a current standalone CI or live pass.