Draft
Conversation
Sparshkhare1306
pushed a commit
to Sparshkhare1306/PyGIP-backup
that referenced
this pull request
Oct 1, 2025
Refactor RQ1_attacks.sh for clarity and efficiency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📦 Pull Request Template
Thank you for your contribution! Please complete the checklist and provide relevant details below to help us review your PR effectively.
📋 Summary
What
ModelExtractionAttack6inmodels/attack/mea/MEA.py.models/attack/__init__.pyso it’s importable asfrom models.attack import ModelExtractionAttack6.attack()return a results dict:{"fidelity": ..., "accuracy": ...}(perIMPLEMENTATION.md).examples/example.py— runs Attack-6 on Cora.examples/mea_cora_attack6.py— helper script used while testing.examples/defense_cora.py— defense quick-start used during validation.*.egg-infobuild artifacts.Why
BaseAttackpattern, using the projectDatasetand device handling with minimal changes.How to run
🧪 Related Issues
✅ Checklist
main(feat/mea-attack6)🧠 Additional Context (Optional)
Environment
Notes
DGLGraph(...); left as-is for minimal change.I can switch to
dgl.from_networkx(...)+dgl.add_self_loop(...)in a follow-up if preferred.reqs.txtisn’t desired, I can revert that line.