Skip to content

Conversation

@yinqingh
Copy link
Collaborator

@yinqingh yinqingh commented Apr 2, 2025

To fix: #209

Verified in CI test job.

yinqingh added 2 commits April 2, 2025 12:26
Signed-off-by: Yinqing Hao <[email protected]>
@pxLi pxLi requested a review from Copilot April 3, 2025 00:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses an issue with the q78 problematic value comparison in the nds_validate.py file by refining the condition checks and updating the license year.

  • Updated license year from 2023 to 2025.
  • Improved comparison logic by explicitly checking for None instead of relying on truthiness.
  • Refactored the conditional that ensures both problematic values are either comparable or both None.
Comments suppressed due to low confidence (1)

nds/nds_validate.py:185

  • [nitpick] Consider defining the tolerance value 0.01001 as a named constant for improved clarity and easier maintenance.
problematic_val_eq = abs(problematic_val_row1 - problematic_val_row2) <= 0.01001

@yinqingh yinqingh merged commit 6b3c165 into NVIDIA:dev Apr 3, 2025
2 checks passed
@yinqingh yinqingh deleted the yinqing/q78-debug branch April 3, 2025 01:11
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.

[BUG] Unmatched values in comparing q78 if problematic_val is 0.0

3 participants