Files
Meal-Planner/graphify-out/cache/5bd6987e1ed8ca514dd8f92c419b65a8c979a2eaa499e5dcbb4271b2b5381e8c.json
T
admin 019f9020ad tests: fix suite-wide collection and failures
- config: switch Settings to ConfigDict(extra='ignore') so extra env vars
  (spoonacular_api_key, SWIFTLY_BEARER_TOKEN) don't crash import.
  Remove deprecated class Config.
- email: wrap SendGrid imports in try/except so the module loads without
  the optional dependency. Update test_email_backend to patch Mail/RepyTo.
- planner_select: default PlannerConfig.set_size=21 (3 meals/day × 7) is
  way too large for the unit test assertion that checks 3-recipe diversity.
  Introduced _CFG_3 with set_size=3 and applied to all tests.
- Delete stale test_matcher.py importing removed functions.

Full suite: 46 passed, 74 skipped (Postgres), 0 failed, 120 collected.
2026-05-18 17:43:30 -07:00

1 line
6.5 KiB
JSON

{"nodes": [{"id": "scripts_spike_swiftly_ingest_py", "label": "spike_swiftly_ingest.py", "file_type": "code", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L1"}, {"id": "spike_swiftly_ingest_main", "label": "main()", "file_type": "code", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L33"}, {"id": "spike_swiftly_ingest_rationale_1", "label": "Live spike for the Swiftly product API (R3-0, ad-hoc admin tool). Usage: py", "file_type": "rationale", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L1"}], "edges": [{"source": "scripts_spike_swiftly_ingest_py", "target": "argparse", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L14", "weight": 1.0}, {"source": "scripts_spike_swiftly_ingest_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L15", "weight": 1.0}, {"source": "scripts_spike_swiftly_ingest_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L16", "weight": 1.0}, {"source": "scripts_spike_swiftly_ingest_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L17", "weight": 1.0}, {"source": "scripts_spike_swiftly_ingest_py", "target": "pathlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L18", "weight": 1.0}, {"source": "scripts_spike_swiftly_ingest_py", "target": "app_scraper_lucky_ca_scraper", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L30", "weight": 1.0}, {"source": "scripts_spike_swiftly_ingest_py", "target": "spike_swiftly_ingest_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L33", "weight": 1.0}, {"source": "spike_swiftly_ingest_rationale_1", "target": "scripts_spike_swiftly_ingest_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "spike_swiftly_ingest_main", "callee": "ArgumentParser", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L34"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "add_argument", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L35"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "add_argument", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L40"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "add_argument", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L45"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "parse_args", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L51"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L54"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "LuckyCaliforniaScraper", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L61"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "discover_categories", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L63"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L64"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "len", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L64"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L66"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "len", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L67"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L68"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "len", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L68"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "fetch_category", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L71"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L73"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L76"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "len", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L76"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "_aisle_from_slug", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L78"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "map_product", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L81"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "append", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L85"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L86"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "len", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L86"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L88"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "str", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L91"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "items", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L91"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L92"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "dumps", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L92"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "print", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L93"}, {"caller_nid": "spike_swiftly_ingest_main", "callee": "cleanup", "source_file": "scripts/spike_swiftly_ingest.py", "source_location": "L97"}]}