Skip to content

Improve specificity of decode_mask test by validating m2g edges#111

Closed
bhawna346 wants to merge 3 commits intomllam:mainfrom
bhawna346:patch-2
Closed

Improve specificity of decode_mask test by validating m2g edges#111
bhawna346 wants to merge 3 commits intomllam:mainfrom
bhawna346:patch-2

Conversation

@bhawna346
Copy link
Copy Markdown

@bhawna346 bhawna346 commented Mar 23, 2026

This PR improves the specificity of the decode_mask test by focusing on the relevant decoding (m2g) edges instead of checking the total number of edges.

Previously, the test verified overall edge count changes, which could lead to vague or misleading validation. This update ensures that only the m2g edges are evaluated, making the test more aligned with the intended behavior and more robust to future changes.

Addresses #103

Updated edge filtering to retain only edges where both nodes are selected.
@bhawna346 bhawna346 changed the title Fix edge filtering logic in decode mask test Improve specificity of decode_mask test by validating m2g edges Mar 23, 2026
Add validation to ensure all retained edges satisfy the decode mask.
Add validation for retained edges to satisfy decode mask.
@zweihuehner
Copy link
Copy Markdown

zweihuehner commented Mar 26, 2026

Duplicate of #104

@zweihuehner zweihuehner marked this as a duplicate of #103 Mar 26, 2026
@zweihuehner zweihuehner marked this as a duplicate of #104 Mar 26, 2026
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.

2 participants