Skip to content

Fix test_smoke_molecule_pgd and test_standard_pgd regressions#54

Merged
Markus28 merged 1 commit intomasterfrom
fix/test-regressions
Apr 30, 2026
Merged

Fix test_smoke_molecule_pgd and test_standard_pgd regressions#54
Markus28 merged 1 commit intomasterfrom
fix/test-regressions

Conversation

@Markus28
Copy link
Copy Markdown
Collaborator

  • Restore 20-molecule SMILES lists and subsample_size=8 in test_molecule_metrics.py. The camera-ready commit (Camera ready #48) shrunk these to 10 molecules with subsample_size=4, which is too small for StratifiedKFold(n_splits=4).

  • Use np.isclose(rtol=1e-3) instead of exact equality in test_standard_pgd. The shared TabPFN classifier instance in StandardPGD causes minor float divergence (~1e-5) compared to fresh per-descriptor instances.

- Restore 20-molecule SMILES lists and subsample_size=8 in
  test_molecule_metrics.py. The camera-ready commit (#48) shrunk these
  to 10 molecules with subsample_size=4, which is too small for
  StratifiedKFold(n_splits=4).

- Use np.isclose(rtol=1e-3) instead of exact equality in
  test_standard_pgd. The shared TabPFN classifier instance in
  StandardPGD causes minor float divergence (~1e-5) compared to
  fresh per-descriptor instances.

Made-with: Cursor
@Markus28 Markus28 merged commit 2ab81af into master Apr 30, 2026
1 of 2 checks passed
@Markus28 Markus28 deleted the fix/test-regressions branch April 30, 2026 19:58
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.

1 participant