feat: use AI (OpenRouter) to classify GoodScents prose into perfume tiers
Matthew Ford
Unverified signature
d854014
- Scrape 138 GoodScents pages for dataset CAS using corrected rw<TGSC> URLs
- Regex pre-filter catches unambiguous top/mid/base cases
- OpenRouter AI fallback (gpt-4o-mini) classifies ambiguous prose
- Validate against Poucher ground truth: κ = 1.000 on 42-CAS overlap
- Merge with substantivity-threshold fallback into perfumer_tier_lookup.json
- Dataset coverage: 158/559 CAS = 28.3% (up from 21.5%)
- Add data/goodscents_substantivity_tiers.json output to optimize_subst_thresholds.py
feat: fetch GoodScents substantivity data and calibrate thresholds
Matthew Ford
Unverified signature
e52f355
- Download GoodScents data from Pyrfume (1,208 CAS with substantivity hours)
- Grid-search optimal substantivity thresholds against true Poucher ground truth
- Achieve kappa=0.330 on 83-CAS overlap (top<15h, mid 15-241h, base>=241h)
- Substantivity is a better proxy than OAV/VP but still imperfect