Add prominent warnings for protection score proxy metric - #14
Merged
Conversation
Closed
- Added warning constants in metrics.py (PROTECTION_SCORE_WARNING, PROTECTION_SCORE_DISCLAIMER, PROTECTION_SCORE_METRIC_TYPE) - Updated get_protection_readability_report() to include warning metadata in all reports - Modified assessment labels to include "(proxy space)" suffix - Updated CLI to display warnings after all protection score outputs (protect, analyze, batch, benchmark commands) - Updated README to move warning to prominent position before results table - Added comprehensive tests for warning inclusion - All existing tests continue to pass Agent-Logs-Url: https://github.com/VoDaiLocz/Lock-ART./sessions/7df59577-3ab4-4d8b-b91e-dcb0d3b35ae7 Co-authored-by: VoDaiLocz <88762074+VoDaiLocz@users.noreply.github.com>
VoDaiLocz
marked this pull request as ready for review
March 31, 2026 13:17
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.
The protection score is a proxy metric derived from ResNet18 feature drift, not validated against real-world mimicry attacks like DreamBooth or LoRA. Users were not adequately warned that high scores don't guarantee actual protection.
Changes
Core Metrics (
src/auralock/core/metrics.py)PROTECTION_SCORE_WARNING,PROTECTION_SCORE_DISCLAIMER,PROTECTION_SCORE_METRIC_TYPEget_protection_readability_report()to include warning metadata in all responsesCLI Output (
src/auralock/cli.py)protect,analyze,batch, andbenchmarkcommandsExample output:
Documentation (
README.md)Tests (
src/tests/test_metrics.py)