- Add TimeEffortProfile + StepAnalysis Pydantic schemas; serialised into RecipeSuggestion so the frontend receives active/passive/total minutes, effort label, and detected equipment per suggestion. - parse_time_effort() now drives max_total_min filter (falls back to step-count estimate when directions contain no explicit time mentions). - _PRODUCT_TOKEN_STOPWORDS: strips marketing/packaging words from multi-word product labels before adding individual ingredient tokens to pantry_set. "Organic Extra Firm Tofu" → adds "tofu"; improves packaged-food pantry match. - L1 candidate pool raised to 60 (was 20); min_match_ratio lowered to 0.35 (was 0.60) to keep enough results for plant-based / packaged-food pantries. - household.py: tighten import to pull HEIMDALL_URL/ADMIN_TOKEN from services.heimdall_orch (matches refactor in cloud_session.py).
2.7 MiB
2.7 MiB