Files
tfm_ainventory/graphify-out/cache/cde9d8fd5c568d839dcb893f14b80fff6fd3dfc33b0bea46769d1dafb7e586ec.json

1 line
9.7 KiB
JSON

{"nodes": [{"id": "backend_tests_test_categories_py", "label": "test_categories.py", "file_type": "code", "source_file": "backend/tests/test_categories.py", "source_location": "L1"}, {"id": "test_categories_testcategorycrud", "label": "TestCategoryCRUD", "file_type": "code", "source_file": "backend/tests/test_categories.py", "source_location": "L5"}, {"id": "test_categories_testcategorycrud_test_create_category", "label": ".test_create_category()", "file_type": "code", "source_file": "backend/tests/test_categories.py", "source_location": "L8"}, {"id": "test_categories_testcategorycrud_test_list_categories", "label": ".test_list_categories()", "file_type": "code", "source_file": "backend/tests/test_categories.py", "source_location": "L19"}, {"id": "test_categories_testcategorycrud_test_update_category", "label": ".test_update_category()", "file_type": "code", "source_file": "backend/tests/test_categories.py", "source_location": "L36"}, {"id": "test_categories_testcategorycrud_test_delete_category_admin_only", "label": ".test_delete_category_admin_only()", "file_type": "code", "source_file": "backend/tests/test_categories.py", "source_location": "L53"}, {"id": "test_categories_testcategorycrud_test_create_duplicate_category_fails", "label": ".test_create_duplicate_category_fails()", "file_type": "code", "source_file": "backend/tests/test_categories.py", "source_location": "L68"}, {"id": "test_categories_rationale_6", "label": "Test category creation, read, update, delete.", "file_type": "rationale", "source_file": "backend/tests/test_categories.py", "source_location": "L6"}, {"id": "test_categories_rationale_9", "label": "Test creating a category.", "file_type": "rationale", "source_file": "backend/tests/test_categories.py", "source_location": "L9"}, {"id": "test_categories_rationale_20", "label": "Test listing all categories.", "file_type": "rationale", "source_file": "backend/tests/test_categories.py", "source_location": "L20"}, {"id": "test_categories_rationale_37", "label": "Test updating a category.", "file_type": "rationale", "source_file": "backend/tests/test_categories.py", "source_location": "L37"}, {"id": "test_categories_rationale_54", "label": "Test deleting a category (admin only).", "file_type": "rationale", "source_file": "backend/tests/test_categories.py", "source_location": "L54"}, {"id": "test_categories_rationale_69", "label": "Test that duplicate category names are rejected.", "file_type": "rationale", "source_file": "backend/tests/test_categories.py", "source_location": "L69"}], "edges": [{"source": "backend_tests_test_categories_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_tests_test_categories_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_tests_test_categories_py", "target": "test_categories_testcategorycrud", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L5", "weight": 1.0}, {"source": "test_categories_testcategorycrud", "target": "test_categories_testcategorycrud_test_create_category", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L8", "weight": 1.0}, {"source": "test_categories_testcategorycrud", "target": "test_categories_testcategorycrud_test_list_categories", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L19", "weight": 1.0}, {"source": "test_categories_testcategorycrud", "target": "test_categories_testcategorycrud_test_update_category", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L36", "weight": 1.0}, {"source": "test_categories_testcategorycrud", "target": "test_categories_testcategorycrud_test_delete_category_admin_only", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L53", "weight": 1.0}, {"source": "test_categories_testcategorycrud", "target": "test_categories_testcategorycrud_test_create_duplicate_category_fails", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L68", "weight": 1.0}, {"source": "test_categories_rationale_6", "target": "test_categories_testcategorycrud", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L6", "weight": 1.0}, {"source": "test_categories_rationale_9", "target": "test_categories_testcategorycrud_test_create_category", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L9", "weight": 1.0}, {"source": "test_categories_rationale_20", "target": "test_categories_testcategorycrud_test_list_categories", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L20", "weight": 1.0}, {"source": "test_categories_rationale_37", "target": "test_categories_testcategorycrud_test_update_category", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L37", "weight": 1.0}, {"source": "test_categories_rationale_54", "target": "test_categories_testcategorycrud_test_delete_category_admin_only", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L54", "weight": 1.0}, {"source": "test_categories_rationale_69", "target": "test_categories_testcategorycrud_test_create_duplicate_category_fails", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_categories.py", "source_location": "L69", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_categories_testcategorycrud_test_create_category", "callee": "post", "source_file": "backend/tests/test_categories.py", "source_location": "L10"}, {"caller_nid": "test_categories_testcategorycrud_test_create_category", "callee": "json", "source_file": "backend/tests/test_categories.py", "source_location": "L16"}, {"caller_nid": "test_categories_testcategorycrud_test_list_categories", "callee": "Category", "source_file": "backend/tests/test_categories.py", "source_location": "L23"}, {"caller_nid": "test_categories_testcategorycrud_test_list_categories", "callee": "Category", "source_file": "backend/tests/test_categories.py", "source_location": "L24"}, {"caller_nid": "test_categories_testcategorycrud_test_list_categories", "callee": "add_all", "source_file": "backend/tests/test_categories.py", "source_location": "L25"}, {"caller_nid": "test_categories_testcategorycrud_test_list_categories", "callee": "commit", "source_file": "backend/tests/test_categories.py", "source_location": "L26"}, {"caller_nid": "test_categories_testcategorycrud_test_list_categories", "callee": "get", "source_file": "backend/tests/test_categories.py", "source_location": "L28"}, {"caller_nid": "test_categories_testcategorycrud_test_list_categories", "callee": "json", "source_file": "backend/tests/test_categories.py", "source_location": "L33"}, {"caller_nid": "test_categories_testcategorycrud_test_list_categories", "callee": "len", "source_file": "backend/tests/test_categories.py", "source_location": "L34"}, {"caller_nid": "test_categories_testcategorycrud_test_update_category", "callee": "Category", "source_file": "backend/tests/test_categories.py", "source_location": "L40"}, {"caller_nid": "test_categories_testcategorycrud_test_update_category", "callee": "add", "source_file": "backend/tests/test_categories.py", "source_location": "L41"}, {"caller_nid": "test_categories_testcategorycrud_test_update_category", "callee": "commit", "source_file": "backend/tests/test_categories.py", "source_location": "L42"}, {"caller_nid": "test_categories_testcategorycrud_test_update_category", "callee": "put", "source_file": "backend/tests/test_categories.py", "source_location": "L44"}, {"caller_nid": "test_categories_testcategorycrud_test_update_category", "callee": "json", "source_file": "backend/tests/test_categories.py", "source_location": "L50"}, {"caller_nid": "test_categories_testcategorycrud_test_delete_category_admin_only", "callee": "Category", "source_file": "backend/tests/test_categories.py", "source_location": "L57"}, {"caller_nid": "test_categories_testcategorycrud_test_delete_category_admin_only", "callee": "add", "source_file": "backend/tests/test_categories.py", "source_location": "L58"}, {"caller_nid": "test_categories_testcategorycrud_test_delete_category_admin_only", "callee": "commit", "source_file": "backend/tests/test_categories.py", "source_location": "L59"}, {"caller_nid": "test_categories_testcategorycrud_test_delete_category_admin_only", "callee": "delete", "source_file": "backend/tests/test_categories.py", "source_location": "L62"}, {"caller_nid": "test_categories_testcategorycrud_test_create_duplicate_category_fails", "callee": "Category", "source_file": "backend/tests/test_categories.py", "source_location": "L72"}, {"caller_nid": "test_categories_testcategorycrud_test_create_duplicate_category_fails", "callee": "add", "source_file": "backend/tests/test_categories.py", "source_location": "L73"}, {"caller_nid": "test_categories_testcategorycrud_test_create_duplicate_category_fails", "callee": "commit", "source_file": "backend/tests/test_categories.py", "source_location": "L74"}, {"caller_nid": "test_categories_testcategorycrud_test_create_duplicate_category_fails", "callee": "post", "source_file": "backend/tests/test_categories.py", "source_location": "L76"}]}