| 1 |
- {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "label": "test_db_resolve_crm_product.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L1"}, {"id": "tests_test_db_resolve_crm_product_product", "label": "_product()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L13"}, {"id": "tests_test_db_resolve_crm_product_test_resolve_rejects_off_shelf_by_default", "label": "test_resolve_rejects_off_shelf_by_default()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L25"}, {"id": "tests_test_db_resolve_crm_product_test_resolve_allows_off_shelf_when_not_required", "label": "test_resolve_allows_off_shelf_when_not_required()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L34"}, {"id": "tests_test_db_resolve_crm_product_rationale_1", "label": "resolve_crm_product\uff1a\u8fd0\u8f93\u8054\u52a8\u573a\u666f\u5141\u8bb8\u5df2\u4e0b\u67b6\u4ea7\u54c1\u3002", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L1"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "target": "types", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L4", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "target": "unittest_mock", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L5", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L7", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L8", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "target": "app_services_db_product_helpers", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L10", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "target": "tests_test_db_resolve_crm_product_product", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L13", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "target": "tests_test_db_resolve_crm_product_test_resolve_rejects_off_shelf_by_default", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L25", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "target": "tests_test_db_resolve_crm_product_test_resolve_allows_off_shelf_when_not_required", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L34", "weight": 1.0}, {"source": "tests_test_db_resolve_crm_product_test_resolve_rejects_off_shelf_by_default", "target": "tests_test_db_resolve_crm_product_product", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L27", "weight": 1.0}, {"source": "tests_test_db_resolve_crm_product_test_resolve_allows_off_shelf_when_not_required", "target": "tests_test_db_resolve_crm_product_product", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L36", "weight": 1.0}, {"source": "tests_test_db_resolve_crm_product_rationale_1", "target": "users_zlwu_work_00code_shanxia2_0_backend_tests_test_db_resolve_crm_product_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_test_db_resolve_crm_product_product", "callee": "dict", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L14"}, {"caller_nid": "tests_test_db_resolve_crm_product_product", "callee": "update", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L21"}, {"caller_nid": "tests_test_db_resolve_crm_product_product", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L22"}, {"caller_nid": "tests_test_db_resolve_crm_product_test_resolve_rejects_off_shelf_by_default", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L26"}, {"caller_nid": "tests_test_db_resolve_crm_product_test_resolve_rejects_off_shelf_by_default", "callee": "patch", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L27"}, {"caller_nid": "tests_test_db_resolve_crm_product_test_resolve_rejects_off_shelf_by_default", "callee": "raises", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L28"}, {"caller_nid": "tests_test_db_resolve_crm_product_test_resolve_rejects_off_shelf_by_default", "callee": "resolve_crm_product", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L29"}, {"caller_nid": "tests_test_db_resolve_crm_product_test_resolve_rejects_off_shelf_by_default", "callee": "str", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L31"}, {"caller_nid": "tests_test_db_resolve_crm_product_test_resolve_allows_off_shelf_when_not_required", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L35"}, {"caller_nid": "tests_test_db_resolve_crm_product_test_resolve_allows_off_shelf_when_not_required", "callee": "patch", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L36"}, {"caller_nid": "tests_test_db_resolve_crm_product_test_resolve_allows_off_shelf_when_not_required", "callee": "resolve_crm_product", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/tests/test_db_resolve_crm_product.py", "source_location": "L37"}]}
|