{"nodes": [{"id": "backend_app_services_planner_select_py", "label": "select.py", "file_type": "code", "source_file": "backend/app/services/planner/select.py", "source_location": "L1"}, {"id": "select_set_diversity_penalty", "label": "set_diversity_penalty()", "file_type": "code", "source_file": "backend/app/services/planner/select.py", "source_location": "L16"}, {"id": "select_set_score", "label": "_set_score()", "file_type": "code", "source_file": "backend/app/services/planner/select.py", "source_location": "L29"}, {"id": "select_select_set", "label": "select_set()", "file_type": "code", "source_file": "backend/app/services/planner/select.py", "source_location": "L33"}, {"id": "select_rationale_1", "label": "Top-K set enumeration with diversity penalty. Takes the top K (=20) scored reci", "file_type": "rationale", "source_file": "backend/app/services/planner/select.py", "source_location": "L1"}], "edges": [{"source": "backend_app_services_planner_select_py", "target": "itertools", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_app_services_planner_select_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_app_services_planner_select_py", "target": "app_services_planner_config", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_app_services_planner_select_py", "target": "app_services_planner_types", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_app_services_planner_select_py", "target": "select_set_diversity_penalty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_app_services_planner_select_py", "target": "select_set_score", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L29", "weight": 1.0}, {"source": "backend_app_services_planner_select_py", "target": "select_select_set", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L33", "weight": 1.0}, {"source": "select_set_score", "target": "select_set_diversity_penalty", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L30", "weight": 1.0}, {"source": "select_select_set", "target": "select_set_score", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L41", "weight": 1.0}, {"source": "select_rationale_1", "target": "backend_app_services_planner_select_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/select.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "select_set_diversity_penalty", "callee": "combinations", "source_file": "backend/app/services/planner/select.py", "source_location": "L21"}, {"caller_nid": "select_set_score", "callee": "sum", "source_file": "backend/app/services/planner/select.py", "source_location": "L30"}, {"caller_nid": "select_select_set", "callee": "list", "source_file": "backend/app/services/planner/select.py", "source_location": "L37"}, {"caller_nid": "select_select_set", "callee": "len", "source_file": "backend/app/services/planner/select.py", "source_location": "L40"}, {"caller_nid": "select_select_set", "callee": "sort", "source_file": "backend/app/services/planner/select.py", "source_location": "L43"}, {"caller_nid": "select_select_set", "callee": "float", "source_file": "backend/app/services/planner/select.py", "source_location": "L47"}, {"caller_nid": "select_select_set", "callee": "combinations", "source_file": "backend/app/services/planner/select.py", "source_location": "L48"}, {"caller_nid": "select_select_set", "callee": "list", "source_file": "backend/app/services/planner/select.py", "source_location": "L49"}, {"caller_nid": "select_select_set", "callee": "list", "source_file": "backend/app/services/planner/select.py", "source_location": "L52"}]}