feat(letsplot): implement raincloud-basic#7710
Conversation
Regen from quality 94. Addressed:
- canvas: switched from ggsize(1600,900)+scale=3 (4800x2700) to the
canonical ggsize(800,450)+scale=4 (3200x1800) per Step 0 contract.
- palette: replaced custom hexes (#306998/#FFD43B/#5BA85B) with anyplot
positions 1/2/3 (#009E73/#C475FD/#4467A3); Control is first series
in brand green.
- theme-adaptive chrome: reads ANYPLOT_THEME, renders PAGE_BG #FAF8F1
light / #1A1A17 dark, INK + INK_SOFT for text, RULE for grid, plus
ELEVATED_BG for boxplot fill so it reads in both themes.
- outputs: now saves plot-{theme}.png and plot-{theme}.html instead of
bare plot.png/plot.html.
- annotations: enlarged from size=10 to size=13 (prior weakness) and
right-anchored at x=690 so labels stay inside the 200-700 panel.
- jitter density: reduced alpha 0.6 -> 0.5 and bumped size 3.5 -> 4.0
to better resolve the dense Treatment B left cluster (prior weakness).
Preserved: horizontal raincloud metaphor (cloud above, box on baseline,
rain below), bimodal Treatment B distribution, two-annotation story.
AI Review - Attempt 1/3Image Description
Score: 89/100
Visual Quality (28/30)
Design Excellence (14/20)
Spec Compliance (15/15)
Data Quality (15/15)
Code Quality (10/10)
Library Mastery (9/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: APPROVED |
Attempt 1/3 - fixes based on AI review - Reroute annotation arrows so arrowheads land just above each violin's top edge instead of piercing the cloud fill (VQ-02). - Remove axis_line_x (theme_minimal-style) since the vertical grid already anchors the x-scale (DE-02).
🔧 Repair Attempt 1/4Applied fixes based on AI review feedback. Status: Repair completed, re-triggering review... |
AI Review - Attempt 2/3Image Description
Score: 94/100
Visual Quality (29/30)
Design Excellence (16/20)
Spec Compliance (15/15)
Data Quality (15/15)
Code Quality (10/10)
Library Mastery (9/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: APPROVED |
Implementation:
raincloud-basic- python/letsplotImplements the python/letsplot version of
raincloud-basic.File:
plots/raincloud-basic/implementations/python/letsplot.pyParent Issue: #1876
🤖 impl-generate workflow