Feature: Related / Similar Plots
When viewing a spec, show 4-6 similar plots based on tag overlap. Keeps users browsing instead of bouncing back to the homepage.
How it works
- Flatten spec tags into sets:
{"plot_type:scatter", "domain:statistics", ...}
- Jaccard similarity = |intersection| / |union|
- Return top N (excluding self) with best preview per spec
- Show which tags matched
Technical Approach
- New endpoint:
GET /insights/related/{spec_id}?limit=6
- New component:
app/src/components/RelatedSpecs.tsx
- Horizontal row of thumbnail cards below spec content
- Cached per spec_id
Inspired by
Spotify "You might also like", YouTube sidebar recommendations
🤖 Generated with Claude Code
Feature: Related / Similar Plots
When viewing a spec, show 4-6 similar plots based on tag overlap. Keeps users browsing instead of bouncing back to the homepage.
How it works
{"plot_type:scatter", "domain:statistics", ...}Technical Approach
GET /insights/related/{spec_id}?limit=6app/src/components/RelatedSpecs.tsxInspired by
Spotify "You might also like", YouTube sidebar recommendations
🤖 Generated with Claude Code