Skip to content

fix: push diversity directive upstream into the visualizer#74

Merged
meninoebom merged 1 commit into
mainfrom
fix/diverse-figure-rendering
May 13, 2026
Merged

fix: push diversity directive upstream into the visualizer#74
meninoebom merged 1 commit into
mainfrom
fix/diverse-figure-rendering

Conversation

@meninoebom
Copy link
Copy Markdown
Owner

Summary

  • flux-schnell-lora (the model we switched to in fix: route around stuck flux-schnell, bound latency, tame hands #73) has a stronger white-male-young-thin prior than the canonical pool. The style suffix's mild "varied skin tones" line gets ignored.
  • The real lever is Claude, not the style suffix. Claude writes prose like "a figure leaning forward"; Flux fills the gap with its prior. If Claude instead writes "a middle-aged Filipina nurse leaning forward," Flux renders exactly that.
  • Updates VISUALIZER_SYSTEM_PROMPT to require concrete demographic detail (ethnicity, age, gender, build) chosen to fit the theme, with explicit guidance not to default to a single prototype.
  • Tightens STYLE_SUFFIX to back the directive: render figures exactly as described, don't fall back to white/male/young/thin.

Test plan

  • 38/38 image tests pass
  • Regenerate a few themes after deploy; eyeball that the rendered range feels varied across skin tones, ages, genders, and body types without feeling tokenistic
  • If a single regenerate still skews narrow on one theme, that's expected — variety should be visible across themes, not within four candidates of the same prompt

🤖 Generated with Claude Code

flux-schnell-lora has a stronger white-male-young-thin prior than the canonical
schnell pool, and the style suffix's mild "varied skin tones" line was being
ignored. The real lever is Claude, which writes the prose Flux follows literally.

Update VISUALIZER_SYSTEM_PROMPT so Claude names the person with concrete
demographic detail (ethnicity, age, gender, build) chosen to fit the theme,
and consciously varies across themes rather than defaulting to one prototype.
Tighten STYLE_SUFFIX to back this up: render figures exactly as described,
don't default to white/male/young/thin.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@meninoebom meninoebom merged commit 1542725 into main May 13, 2026
2 checks passed
@railway-app railway-app Bot temporarily deployed to Breadcrumbs / breadcrumbs-pr-74 May 13, 2026 01:53 Destroyed
@meninoebom meninoebom deleted the fix/diverse-figure-rendering branch May 13, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant