feat(plotnine): implement bar-stacked-percent - #10442
Conversation
Regen from quality 86. Addressed:
- design excellence (DE-01/DE-03): "Others" now uses the theme-adaptive
muted semantic anchor instead of a fourth categorical color, since it's
the aggregate rest-of-market bucket rather than a distinct company
- y-axis now shows percent-formatted labels (scale_y_continuous with
percent_format), dropping the redundant "(%)" from the axis title
- title now includes the language segment per the mandated
"{spec-id} · {lang} · {lib} · anyplot.ai" format
- canvas resized to the canonical 3200x1800 (figure_size=(8, 4.5),
dpi=400) per the current library prompt; font sizes aligned to the
library prompt's sizing table (title 12pt, axis title 10pt, axis/legend
text 8pt)
Kept unchanged: Okabe-Ito-derived Imprint palette ordering, KISS
structure, categorical ordering, realistic market-share data, theme-
adaptive chrome.
AI Review - Attempt 1/3Image Description
Score: 88/100
Visual Quality (29/30)
Design Excellence (12/20)
Spec Compliance (15/15)
Data Quality (15/15)
Code Quality (10/10)
Library Mastery (7/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: APPROVED |
Attempt 1/4 - fixes based on AI review
🔧 Repair Attempt 1/4Applied fixes based on AI review feedback. Status: Repair completed, re-triggering review... |
AI Review - Attempt 2/3Image Description
Score: 49/100
Visual Quality (23/30)
Design Excellence (10/20)
Spec Compliance (10/15)
Data Quality (11/15)
Code Quality (8/10)
Library Mastery (5/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: REJECTED |
Attempt 2/4 - fixes based on AI review
🔧 Repair Attempt 2/4Applied fixes based on AI review feedback. Status: Repair completed, re-triggering review... |
AI Review - Attempt 3/3Image Description
Score: 88/100
Visual Quality (29/30)
Design Excellence (13/20)
Spec Compliance (15/15)
Data Quality (15/15)
Code Quality (9/10)
Library Mastery (7/10)
Score Caps Applied
Strengths
Weaknesses
Issues FoundNone blocking. Minor polish opportunities noted above (DE-01/DE-02/LM-01) do not require another repair cycle. AI Feedback for Next Attempt
Verdict: APPROVED |
Implementation:
bar-stacked-percent- python/plotnineImplements the python/plotnine version of
bar-stacked-percent.File:
plots/bar-stacked-percent/implementations/python/plotnine.pyParent Issue: #2008
🤖 impl-generate workflow