feat(vision-metrics): split img_edit_score#651
Open
davidberenstein1957 wants to merge 2 commits intofeat/vlm-pr-4b-vie-scorefrom
Open
feat(vision-metrics): split img_edit_score#651davidberenstein1957 wants to merge 2 commits intofeat/vlm-pr-4b-vie-scorefrom
davidberenstein1957 wants to merge 2 commits intofeat/vlm-pr-4b-vie-scorefrom
Conversation
This was referenced Apr 28, 2026
This was referenced May 7, 2026
Adds ImageEditScoreMetric with ImgEdit benchmark wiring and regression coverage for negative score clamping. Made-with: Cursor
Adopt the benchmark documentation and task-type constant cleanup from the umbrella VLM branch while keeping the legacy text_to_image literal for backward compatibility and removing private .mine references. Co-authored-by: Cursor <cursoragent@cursor.com>
4c9b3d3 to
693f888
Compare
c6f1166 to
f4a489b
Compare
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.
Summary
Splits
img_edit_scoreinto its own stacked PR, addsImageEditScoreMetric, and wires ImgEdit benchmark entry with clamping regression coverage.This PR also carries benchmark-paper alignment cleanup from the umbrella work while preserving compatibility:
text_to_imagetask_type literal behaviorTASK_TYPE_*constants for readabilityStack Position
feat/vlm-pr-4b-vie-score)feat/vlm-pr-5-e2e-tests)feat/vlm-pr-5-e2e-tests)feat/metrics-vlm-support)Files
src/pruna/evaluation/metrics/metric_img_edit_score.pysrc/pruna/evaluation/benchmarks.pytests/evaluation/test_vision_metrics.pyTest Plan
Review Focus
Review Flow (Order)
Review the stack in this exact order:
This PR in the flow (9/10)