test(fashion-search): NLQ vibe-expansion eval + flash-lite short-query finding - #85
Merged
Merged
Conversation
…ore 2.5.0) `bun run eval:vibes` asserts cultural/mood references map to the structured `styles` attribute (quiet luxury→minimalist+classic, old money→classic+preppy, y2k→y2k, cottagecore→romantic+bohemian, coastal grandmother/clean girl→minimalist+classic). Lenient overlap assertion (LLM-driven). The eval surfaced a real limitation: gemini-3.1-flash-lite degrades the WHOLE NLQ parse to nothing on very short (2-word) queries — vibe or not (verified: "streetwear hoodie"/"cottagecore dress"/ "quiet luxury" return no parse; "blue cotton shirt" parses fine). So those fall back to the raw embedding (no styles). Realistic 3+ word vibe queries expand reliably and are the gating contract; the 2-word cases are marked `flaky` (reported, non-gating) until the NLQ is hardened for short input. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UeVCwYURGVrm2TFtQmWB3s
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.
Adds
bun run eval:vibesas a regression guard for the core 2.5.0 vibe→styles contract. Gates on realistic vibe queries (5/5 pass); reports that flash-lite degrades the NLQ on 2-word queries (verified, non-gating). No core change. 🤖 Generated with Claude Code