Skip to content

fix: enforce percentThreshold comparison in diffPngs and assertSamePng (#40) - #77

Closed
frds3445 wants to merge 1 commit into
tscircuit:mainfrom
frds3445:fix/issue-40-percent-threshold-comparison
Closed

frds3445 wants to merge 1 commit into
tscircuit:mainfrom
frds3445:fix/issue-40-percent-threshold-comparison

Conversation

@frds3445

@frds3445 frds3445 commented Nov 7, 2026

Copy link
Copy Markdown

Closes #40

/claim #40

Summary

  • Enforces percentThreshold in diffPngs and assertSamePng when evaluating pixel difference ratios against total image pixels.
  • Adds unit tests verifying percentThreshold pass/fail boundaries.

tscircuit#40)

Fixes tscircuit#40

Signed-off-by: FILIPE RIBEIRO DOS SANTOS <45768814+frds3445@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 7, 2026 15:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@frds3445 frds3445 closed this Nov 10, 2026
@frds3445
frds3445 deleted the fix/issue-40-percent-threshold-comparison branch November 10, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

percentThreshold is accepted and validated but discarded before comparison

2 participants