d6f9fbb69f129902eebd5f06a8596cb52747bda4dc9fc4c8b7fdfd245ca84fe7.json 49 KB

1
  1. {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "label": "test_pl_contract_plan_qty.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L1"}, {"id": "tests_test_pl_contract_plan_qty_test_bucket_archived", "label": "test_bucket_archived()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L18"}, {"id": "tests_test_pl_contract_plan_qty_test_bucket_arranged_unarchived_includes_draft_archive", "label": "test_bucket_arranged_unarchived_includes_draft_archive()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L29"}, {"id": "tests_test_pl_contract_plan_qty_test_bucket_skips_pending_and_cancelled", "label": "test_bucket_skips_pending_and_cancelled()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L40"}, {"id": "tests_test_pl_contract_plan_qty_test_normalize_package_spec", "label": "test_normalize_package_spec()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L59"}, {"id": "tests_test_pl_contract_plan_qty_test_accumulate_splits_same_product_different_package", "label": "test_accumulate_splits_same_product_different_package()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L68"}, {"id": "tests_test_pl_contract_plan_qty_test_merge_product_qty_maps_composite_keys", "label": "test_merge_product_qty_maps_composite_keys()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L84"}, {"id": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_fields_matches_package", "label": "test_attach_plan_qty_fields_matches_package()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L93"}, {"id": "tests_test_pl_contract_plan_qty_test_merge_product_qty_maps_totals", "label": "test_merge_product_qty_maps_totals()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L115"}, {"id": "tests_test_pl_contract_plan_qty_test_sum_qtys_explicit_delivery_stop_only", "label": "test_sum_qtys_explicit_delivery_stop_only()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L127"}, {"id": "tests_test_pl_contract_plan_qty_test_legacy_use_all_stops_prefers_delivery", "label": "test_legacy_use_all_stops_prefers_delivery()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L145"}, {"id": "tests_test_pl_contract_plan_qty_test_resolve_scopes_marks_legacy", "label": "test_resolve_scopes_marks_legacy()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L162"}, {"id": "tests_test_pl_contract_plan_qty_test_accumulate_stop_products", "label": "test_accumulate_stop_products()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L172"}, {"id": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_load_uses_inbound_qty", "label": "test_accumulate_archive_actual_load_uses_inbound_qty()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L185"}, {"id": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_delivery_uses_outbound_qty", "label": "test_accumulate_archive_actual_delivery_uses_outbound_qty()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L200"}, {"id": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_zero_does_not_fallback", "label": "test_accumulate_archive_actual_zero_does_not_fallback()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L211"}, {"id": "tests_test_pl_contract_plan_qty_test_sum_qtys_archive_actual_mode_on_scoped_stops", "label": "test_sum_qtys_archive_actual_mode_on_scoped_stops()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L222"}, {"id": "tests_test_pl_contract_plan_qty_test_sum_qtys_default_mode_ignores_actual_fields", "label": "test_sum_qtys_default_mode_ignores_actual_fields()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L240"}, {"id": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "label": "test_match_contract_product_for_key_picks_package()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L257"}, {"id": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_sums_duplicate_keys", "label": "test_match_contract_product_for_key_sums_duplicate_keys()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L272"}, {"id": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_missing", "label": "test_match_contract_product_for_key_missing()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L281"}, {"id": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "label": "test_match_shared_pool_line_json_package_spec()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L286"}, {"id": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_shared_pool_breakdown", "label": "test_attach_plan_qty_shared_pool_breakdown()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L307"}, {"id": "tests_test_pl_contract_plan_qty_test_sum_qty_stats_for_keys_shared_pool", "label": "test_sum_qty_stats_for_keys_shared_pool()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L339"}, {"id": "tests_test_pl_contract_plan_qty_decimallike", "label": "DecimalLike", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L360"}, {"id": "tests_test_pl_contract_plan_qty_decimallike_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L361"}, {"id": "tests_test_pl_contract_plan_qty_decimallike_float", "label": ".__float__()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L364"}, {"id": "tests_test_pl_contract_plan_qty_test_accumulate_prefers_contract_product_id", "label": "test_accumulate_prefers_contract_product_id()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L368"}, {"id": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_independent_duplicate_lines", "label": "test_attach_plan_qty_independent_duplicate_lines()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L394"}, {"id": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "label": "test_attach_plan_qty_line_bound_multi_package_breakdown()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L415"}, {"id": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "label": "test_package_display_qty_isolated_per_contract_line()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L469"}, {"id": "tests_test_pl_contract_plan_qty_test_occupancy_keys_do_not_share_package_across_duplicate_lines", "label": "test_occupancy_keys_do_not_share_package_across_duplicate_lines()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L521"}, {"id": "tests_test_pl_contract_plan_qty_rationale_416", "label": "\u7ed1\u5b9a\u5408\u540c\u884c\u540e\u6570\u91cf\u8bb0\u5728 __line__\uff1b\u591a\u5305\u88c5\u62c6\u5f00\u5c55\u793a\u987b\u5e26\u4e0a\u5bf9\u5e94\u5305\u88c5\u7684\u5f52\u6863\u91cf\u3002", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L416"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "types", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L2", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "collections", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L3", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "app_services_pl_contract_plan_qty", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L5", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_bucket_archived", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L18", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_bucket_arranged_unarchived_includes_draft_archive", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L29", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_bucket_skips_pending_and_cancelled", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L40", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_normalize_package_spec", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L59", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_accumulate_splits_same_product_different_package", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L68", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_merge_product_qty_maps_composite_keys", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L84", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_fields_matches_package", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L93", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_merge_product_qty_maps_totals", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L115", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_sum_qtys_explicit_delivery_stop_only", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L127", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_legacy_use_all_stops_prefers_delivery", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L145", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_resolve_scopes_marks_legacy", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L162", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_accumulate_stop_products", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L172", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_load_uses_inbound_qty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L185", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_delivery_uses_outbound_qty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L200", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_zero_does_not_fallback", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L211", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_sum_qtys_archive_actual_mode_on_scoped_stops", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L222", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_sum_qtys_default_mode_ignores_actual_fields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L240", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L257", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_sums_duplicate_keys", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L272", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_missing", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L281", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L286", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_shared_pool_breakdown", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L307", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_sum_qty_stats_for_keys_shared_pool", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L339", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_decimallike", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L360", "weight": 1.0}, {"source": "tests_test_pl_contract_plan_qty_decimallike", "target": "tests_test_pl_contract_plan_qty_decimallike_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L361", "weight": 1.0}, {"source": "tests_test_pl_contract_plan_qty_decimallike", "target": "tests_test_pl_contract_plan_qty_decimallike_float", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L364", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_accumulate_prefers_contract_product_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L368", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_independent_duplicate_lines", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L394", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L415", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L469", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_pl_contract_plan_qty_py", "target": "tests_test_pl_contract_plan_qty_test_occupancy_keys_do_not_share_package_across_duplicate_lines", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L521", "weight": 1.0}, {"source": "tests_test_pl_contract_plan_qty_test_accumulate_stop_products", "target": "tests_test_pl_contract_plan_qty_decimallike", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L177", "weight": 1.0}, {"source": "tests_test_pl_contract_plan_qty_rationale_416", "target": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L416", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_test_pl_contract_plan_qty_test_bucket_archived", "callee": "_bucket_for_plan", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L20"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_bucket_arranged_unarchived_includes_draft_archive", "callee": "_bucket_for_plan", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L31"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_bucket_skips_pending_and_cancelled", "callee": "_bucket_for_plan", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L42"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_bucket_skips_pending_and_cancelled", "callee": "_bucket_for_plan", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L50"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_normalize_package_spec", "callee": "normalize_package_spec", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L62"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_normalize_package_spec", "callee": "normalize_package_spec", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L63"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_normalize_package_spec", "callee": "normalize_package_spec", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L64"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_normalize_package_spec", "callee": "normalize_package_spec", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L65"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_normalize_package_spec", "callee": "normalize_package_spec", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L65"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_splits_same_product_different_package", "callee": "defaultdict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L69"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_splits_same_product_different_package", "callee": "accumulate_stop_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L70"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_splits_same_product_different_package", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L73"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_splits_same_product_different_package", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L74"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_splits_same_product_different_package", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L75"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_merge_product_qty_maps_composite_keys", "callee": "merge_product_qty_maps", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L85"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_fields_matches_package", "callee": "attach_plan_qty_fields_to_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L110"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_merge_product_qty_maps_totals", "callee": "merge_product_qty_maps", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L116"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_explicit_delivery_stop_only", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L129"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_explicit_delivery_stop_only", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L132"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_explicit_delivery_stop_only", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L133"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_explicit_delivery_stop_only", "callee": "sum_qtys_for_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L135"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_explicit_delivery_stop_only", "callee": "set", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L140"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_legacy_use_all_stops_prefers_delivery", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L147"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_legacy_use_all_stops_prefers_delivery", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L150"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_legacy_use_all_stops_prefers_delivery", "callee": "sum_qtys_for_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L152"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_legacy_use_all_stops_prefers_delivery", "callee": "set", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L157"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_legacy_use_all_stops_prefers_delivery", "callee": "set", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L157"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_resolve_scopes_marks_legacy", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L164"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_resolve_scopes_marks_legacy", "callee": "resolve_linked_plan_scopes", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L166"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_stop_products", "callee": "defaultdict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L173"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_stop_products", "callee": "accumulate_stop_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L174"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_stop_products", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L177"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_stop_products", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L178"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_stop_products", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L179"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_load_uses_inbound_qty", "callee": "defaultdict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L186"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_load_uses_inbound_qty", "callee": "accumulate_stop_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L187"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_load_uses_inbound_qty", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L190"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_load_uses_inbound_qty", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L191"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_delivery_uses_outbound_qty", "callee": "defaultdict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L201"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_delivery_uses_outbound_qty", "callee": "accumulate_stop_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L202"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_delivery_uses_outbound_qty", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L204"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_zero_does_not_fallback", "callee": "defaultdict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L212"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_zero_does_not_fallback", "callee": "accumulate_stop_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L213"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_archive_actual_zero_does_not_fallback", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L215"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_archive_actual_mode_on_scoped_stops", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L224"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_archive_actual_mode_on_scoped_stops", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L227"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_archive_actual_mode_on_scoped_stops", "callee": "sum_qtys_for_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L229"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_default_mode_ignores_actual_fields", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L242"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_default_mode_ignores_actual_fields", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L245"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_default_mode_ignores_actual_fields", "callee": "sum_qtys_for_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L247"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qtys_default_mode_ignores_actual_fields", "callee": "set", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L252"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L259"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L260"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "callee": "match_contract_product_for_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L262"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "callee": "product_package_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L263"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "callee": "match_contract_product_for_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L265"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "callee": "product_package_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L266"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "callee": "float", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L268"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_picks_package", "callee": "float", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L269"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_sums_duplicate_keys", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L274"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_sums_duplicate_keys", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L275"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_sums_duplicate_keys", "callee": "match_contract_product_for_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L277"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_sums_duplicate_keys", "callee": "float", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L278"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_missing", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L282"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_contract_product_for_key_missing", "callee": "match_contract_product_for_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L283"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L290"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "callee": "encode_package_specs", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L293"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "callee": "match_contract_product_for_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L297"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "callee": "product_package_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L298"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "callee": "match_contract_product_for_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L300"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "callee": "product_package_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L301"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_match_shared_pool_line_json_package_spec", "callee": "float", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L304"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_shared_pool_breakdown", "callee": "encode_package_specs", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L315"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_shared_pool_breakdown", "callee": "attach_plan_qty_fields_to_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L330"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_shared_pool_breakdown", "callee": "len", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L334"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_sum_qty_stats_for_keys_shared_pool", "callee": "sum_qty_stats_for_keys", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L354"}, {"caller_nid": "tests_test_pl_contract_plan_qty_decimallike_float", "callee": "float", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L365"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_prefers_contract_product_id", "callee": "defaultdict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L369"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_prefers_contract_product_id", "callee": "accumulate_stop_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L370"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_prefers_contract_product_id", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L373"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_accumulate_prefers_contract_product_id", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L379"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_independent_duplicate_lines", "callee": "attach_plan_qty_fields_to_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L408"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "callee": "defaultdict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L420"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "callee": "accumulate_stop_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L421"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L424"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "callee": "package_display_key", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L437"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "callee": "encode_package_specs", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L445"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_attach_plan_qty_line_bound_multi_package_breakdown", "callee": "attach_plan_qty_fields_to_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L460"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "defaultdict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L473"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "accumulate_stop_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L474"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L477"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L484"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "merge_product_qty_maps", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L495"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "dict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L495"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "encode_package_specs", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L501"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "encode_package_specs", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L507"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_package_display_qty_isolated_per_contract_line", "callee": "attach_plan_qty_fields_to_products", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L510"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_occupancy_keys_do_not_share_package_across_duplicate_lines", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L525"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_occupancy_keys_do_not_share_package_across_duplicate_lines", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L526"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_occupancy_keys_do_not_share_package_across_duplicate_lines", "callee": "occupancy_keys_for_contract_line", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L528"}, {"caller_nid": "tests_test_pl_contract_plan_qty_test_occupancy_keys_do_not_share_package_across_duplicate_lines", "callee": "occupancy_keys_for_contract_line", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_pl_contract_plan_qty.py", "source_location": "L529"}]}