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: merge Poucher and GoodScents tier labels
Matthew Ford
Unverified signature
9936822
- Authoritative Poucher tiers override GoodScents-derived tiers
- Final lookup covers 1,285 CAS; 120/559 dataset CAS (21.5%) have tier labels
- Tier distribution in dataset: 14% top, 58% mid, 28% base
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
feat: extract perfumer tier labels from Poucher Vol II odour classification tables
Matthew Ford
Unverified signature
e12dde8
- Parse Poucher Vol II odour classification tables (Top/Middle/Basic notes)
- Map 445 material entries to 160 unique CAS via Poucher coefficient system
- Verify VP-based classifier achieves only kappa=0.11 vs perfumer tiers
- Add scripts for extraction and VP comparison
persist shalimar extracted text and update predict script path
- Replace mean-pool ObjectiveOdorHead with SynergisticObjectiveHead that
attention-pools latent tokens using the per-token OAV physical weight.
- Generate empirical_dataset_v2.jsonl from OAV trajectories with top/heart/base
descriptor profiles aligned to the Pyrfume vocabulary.
- Switch train.py defaults to v2 dataset and pimt_v4.pt checkpoint.
- Update hf_train_job.py to download v2 dataset from pino-synthetic-dataset-v2.
- Update predict_shalimar.py to use pyrfume_vocabulary.json for descriptors.
feat(data): wire structured Poucher profiles into text conditioning pipeline
- Add literature_formulas.json blueprint with seeds and holdouts
- Integrate literature seeds into FormulaGenerator with Gaussian perturbation
- Flatten genre key in dataset records for stratified splitting
- Add upload_data.py for deterministic 80/20 Hub push
- Enrich registry: add missing single-chemical CAS and natural placeholders
- Add inference stub and verify_benchmarks.py for gold-standard validation
- Add sync_space.py to push train_hf.py to pino-pimt-training Space
- Update .gitignore to ignore logs and registry.db
feat(literature): ingest and seed human-designed fragrance skeletons
- Add src/pino/ingest_formulas.py to normalize raw literature recipes
- Support recursive sub_base unpacking to pure CAS
- Integrate --seed-id into pino-critic compose and run_generation.py
- Add sample Poucher chypre manifest in data/literature_formulas.json
feat(scraper): TGSC enrichment with mmHg->Pa conversion and priority registry updates
Why:
- Downstream agents need to turn sensory targets into manufacture-ready formulas
without manually searching ingredient space or violating IFRA limits.
- CMA-ES was chosen over a VAE/GAN because it naturally handles hard constraints
(mass balance, safety thresholds, physical simulation failures) via projection
and rejection, while adapting its covariance to the local fitness landscape.
What:
- Implement FormulationOptimizer in src/pino/optimizer.py using CMA-ES.
- Palette is sampled from the SQLite aroma registry; weights are projected to the
unit simplex and clipped to IFRA Category 4 limits every iteration.
- Each candidate is verified by FragrancePipelineVerifier, encoded for the PIMT
critic, and scored by weighted MSE against objective/subjective targets.
- Add CompositionTarget.from_text/from_json helpers for natural-language briefs.
- Add pino-critic compose subcommand with --target-json, --max-iterations,
--palette-size, --allow-synthetic, --seed, and --json fla…