Spaces:
Sleeping
Sleeping
Commit History
-
categorize: stop matching standalone "kjoler" as dressβ
The dress rule used `kjole` as a substring to catch Norwegian compounds like midikjole/chiffonkjole, but it also matched `kjoler` β which Boozt and NA-KD use as a flat section header containing coats, jumpsuits, skirts, and other non-dresses. Replace with two precise patterns: \b\w*kjole\b β singular forms incl. standalone "kjole" \b\w+kjoler\b β compound plurals only (no standalone "kjoler") Re-categorized the cloned DB: 158 rows shift from dress to unknown. All 158 had category="kjoler" with no garment word in the (often truncated) product name, so unknown is the honest bucket. Outfit composer's PAIRING_RULES never request "unknown", so these stop appearing as wrong-bucket complements.930ed2b
-
outfit eval scripts: quality + diversity gatesβ
- eval_outfit_diversity: distinct_ratio floor 0.18 with PASS/FAIL exit - eval_outfit_quality (new): scandi 0.55, axes 2.5, harmony rate 0.80 - harmony rate replaces raw mean ΞE (correct-but-neutral pairs slip through) Run results: quality: scandi=0.755 axes=4.25 harmony=0.966 diversity: distinct=0.212 All floors PASS.e7420c2 -
add LAB color extraction, contrast axes, scandi scorerβ
- taste/colors.py: PIL β 128x128 β LAB β KMeans, CIEDE2000 distance - taste/contrast.py: Bornstein 5-axis tagger with rule patterns - taste/scandi.py: rule-based scandi-fit score from palette + metadata - store.py: lab_color/palette/contrast_axes/scandi_score columns + migration - scripts/backfill_color_contrast.py: idempotent backfill Foundation for set-aware outfit composition.83c6b69
-
anchor-condition outfit scoringβ
Cache image embedding per product (taste_embedding BLOB) and blend cos sim with the taste score in compose_outfit so the same shoes/bag stop appearing in every outfit. Eval (scripts/eval_outfit_diversity.py, 80 anchors x 3 slots = 240): before distinct_ratio = 0.054, mean anchor-sim = 0.69 after distinct_ratio = 0.214, mean anchor-sim = 0.740035f43