You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change score system to 0-5 scale and remove isGeneric field
- Update classification prompt to request 0-5 scores for fun/interesting
- Add calculateCombinedScore() utility to avoid formula duplication
- Round scores to 1 decimal place at parse time (conf to 2 decimals)
- Remove isGeneric field entirely - derive geocodability from location fields
- Update prompt to not default to home country for generic activities
- Update all tests and fixtures for new score scale
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
@@ -205,7 +204,7 @@ const SHARED_KEYWORDS_SECTION = `KEYWORDS (kw): Include up to 3 keywords for sto
205
204
- DO NOT include any generic terms that may dilute the search query. For example, "play paintball" is a much better query WITHOUT generic keywords like "action, game, team" (which return images of football and basketball.) Include no keywords at all if the act/obj/venue are already specific.`
return`LOCATION: Fill city/region/country if mentioned or obvious from context. For ambiguous names (e.g., "Omaha"), assume the user's home country (${homeCountry}). Venue can only be a specific place and not a general region.`
207
+
return`LOCATION: Only fill venue/city/region/country if explicitly mentioned or strongly implied. Do NOT default to the user's home country for generic activities like "watch a movie" or "play tennis". For ambiguous place names (e.g., "Omaha"), assume the user's home country (${homeCountry}). Venue can only be a specific place and not a general region.`
0 commit comments