Skip to content

test(difftest): pin the underscore asset rejection as intended - #224

Merged
ascandone merged 2 commits into
mainfrom
test/underscore-asset-rejected
Oct 22, 2026
Merged

ascandone merged 2 commits into
mainfrom
test/underscore-asset-rejected

Conversation

@ascandone

Copy link
Copy Markdown
Contributor

Asset names containing `_` (e.g. `USD_CASH`) are rejected by both numscript engines, while the oracle and ledger accept them. This is the intended behaviour, so it is recorded as a known difference and pinned.

Note: #206's divergence 7 (negative division portion) is not ported here; it is already covered on main by the compiler's `AssertNonNegativePortion`. The table has no row 7 yet, so it reads 1-6, 8.

Numscript rejects an asset name containing `_` on both engines, while the
oracle and ledger accept it. Decided as intended on 2026-10-21: record it in
DIVERGENCES.md #8 and pin it with TestUnderscoreAssetVarRejected on main.
@NumaryBot NumaryBot added risk: low NumaryBot classified this pull request as low risk. bot-reviewed NumaryBot completed its review workflow for the current head. review-approved The NumaryBot review gate is satisfied for the current head. labels Oct 21, 2026

@NumaryBot NumaryBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The required automated review completed with no remaining findings.

@NumaryBot NumaryBot removed the review-approved The NumaryBot review gate is satisfied for the current head. label Oct 22, 2026
@ascandone
ascandone enabled auto-merge (squash) October 22, 2026 08:58
@NumaryBot NumaryBot added the review-approved The NumaryBot review gate is satisfied for the current head. label Oct 22, 2026

@NumaryBot NumaryBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The required automated review completed with no remaining findings.

@ascandone
ascandone merged commit 7722c77 into main Oct 22, 2026
6 checks passed
@ascandone
ascandone deleted the test/underscore-asset-rejected branch October 22, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot-reviewed NumaryBot completed its review workflow for the current head. review-approved The NumaryBot review gate is satisfied for the current head. risk: low NumaryBot classified this pull request as low risk.

Development

Successfully merging this pull request may close these issues.

3 participants