Skip to content

refactor: move unwrap_model to sacroml.attacks.utils for reuse#458

Closed
shamykyzer wants to merge 2 commits into
new-attack-modelfrom
455-move-unwrap-model
Closed

refactor: move unwrap_model to sacroml.attacks.utils for reuse#458
shamykyzer wants to merge 2 commits into
new-attack-modelfrom
455-move-unwrap-model

Conversation

@shamykyzer

@shamykyzer shamykyzer commented May 21, 2026

Copy link
Copy Markdown
Contributor

Closes #455

  • Lifts _unwrap_model out of InstanceBasedAttack and into sacroml.attacks.utils as unwrap_model so other attacks can reuse it, per Jim's suggestion
  • Added four direct tests in tests/attacks/test_utils.py

@shamykyzer shamykyzer self-assigned this May 21, 2026
@shamykyzer shamykyzer closed this May 21, 2026
@shamykyzer shamykyzer deleted the 455-move-unwrap-model branch May 21, 2026 11:26
@shamykyzer

Copy link
Copy Markdown
Contributor Author

Folded this into PR #431 instead so the InstanceBasedAttack work lands as one PR, since the unwrap_model refactor only touches code that's in #431 anyway

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