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

1 line
16 KiB
JSON

{"nodes": [{"id": "backend_tests_test_quantity_patch_py", "label": "test_quantity_patch.py", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L1"}, {"id": "test_quantity_patch_test_item", "label": "test_item()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L16"}, {"id": "test_quantity_patch_test_patch_quantity_success", "label": "test_patch_quantity_success()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L36"}, {"id": "test_quantity_patch_test_patch_quantity_to_zero", "label": "test_patch_quantity_to_zero()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L63"}, {"id": "test_quantity_patch_test_patch_quantity_negative_fails", "label": "test_patch_quantity_negative_fails()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L84"}, {"id": "test_quantity_patch_test_patch_quantity_missing_field", "label": "test_patch_quantity_missing_field()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L96"}, {"id": "test_quantity_patch_test_patch_quantity_invalid_type", "label": "test_patch_quantity_invalid_type()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L108"}, {"id": "test_quantity_patch_test_patch_quantity_not_found", "label": "test_patch_quantity_not_found()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L120"}, {"id": "test_quantity_patch_test_patch_quantity_no_auth", "label": "test_patch_quantity_no_auth()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L132"}, {"id": "test_quantity_patch_test_patch_quantity_audit_fields", "label": "test_patch_quantity_audit_fields()", "file_type": "code", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L142"}, {"id": "test_quantity_patch_rationale_1", "label": "Test PATCH /items/{item_id} endpoint for quantity adjustment Ensures audit loggi", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L1"}, {"id": "test_quantity_patch_rationale_37", "label": "Test successful quantity update with audit logging", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L37"}, {"id": "test_quantity_patch_rationale_64", "label": "Test setting quantity to zero", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L64"}, {"id": "test_quantity_patch_rationale_85", "label": "Test that negative quantity is rejected", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L85"}, {"id": "test_quantity_patch_rationale_97", "label": "Test that missing quantity field is rejected", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L97"}, {"id": "test_quantity_patch_rationale_109", "label": "Test that non-integer quantity is rejected", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L109"}, {"id": "test_quantity_patch_rationale_121", "label": "Test that updating non-existent item returns 404", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L121"}, {"id": "test_quantity_patch_rationale_133", "label": "Test that unauthenticated request is rejected", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L133"}, {"id": "test_quantity_patch_rationale_143", "label": "Test that audit log contains all required fields", "file_type": "rationale", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L143"}], "edges": [{"source": "backend_tests_test_quantity_patch_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "fastapi_testclient", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "backend_models_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "backend_schemas_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "backend_database_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_item", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_patch_quantity_success", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L36", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_patch_quantity_to_zero", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L63", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_patch_quantity_negative_fails", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L84", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_patch_quantity_missing_field", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L96", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_patch_quantity_invalid_type", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L108", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_patch_quantity_not_found", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L120", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_patch_quantity_no_auth", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L132", "weight": 1.0}, {"source": "backend_tests_test_quantity_patch_py", "target": "test_quantity_patch_test_patch_quantity_audit_fields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L142", "weight": 1.0}, {"source": "test_quantity_patch_rationale_1", "target": "backend_tests_test_quantity_patch_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L1", "weight": 1.0}, {"source": "test_quantity_patch_rationale_37", "target": "test_quantity_patch_test_patch_quantity_success", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L37", "weight": 1.0}, {"source": "test_quantity_patch_rationale_64", "target": "test_quantity_patch_test_patch_quantity_to_zero", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L64", "weight": 1.0}, {"source": "test_quantity_patch_rationale_85", "target": "test_quantity_patch_test_patch_quantity_negative_fails", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L85", "weight": 1.0}, {"source": "test_quantity_patch_rationale_97", "target": "test_quantity_patch_test_patch_quantity_missing_field", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L97", "weight": 1.0}, {"source": "test_quantity_patch_rationale_109", "target": "test_quantity_patch_test_patch_quantity_invalid_type", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L109", "weight": 1.0}, {"source": "test_quantity_patch_rationale_121", "target": "test_quantity_patch_test_patch_quantity_not_found", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L121", "weight": 1.0}, {"source": "test_quantity_patch_rationale_133", "target": "test_quantity_patch_test_patch_quantity_no_auth", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L133", "weight": 1.0}, {"source": "test_quantity_patch_rationale_143", "target": "test_quantity_patch_test_patch_quantity_audit_fields", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L143", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_quantity_patch_test_item", "callee": "Category", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L18"}, {"caller_nid": "test_quantity_patch_test_item", "callee": "add", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L19"}, {"caller_nid": "test_quantity_patch_test_item", "callee": "commit", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L20"}, {"caller_nid": "test_quantity_patch_test_item", "callee": "Item", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L22"}, {"caller_nid": "test_quantity_patch_test_item", "callee": "add", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L30"}, {"caller_nid": "test_quantity_patch_test_item", "callee": "commit", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L31"}, {"caller_nid": "test_quantity_patch_test_item", "callee": "refresh", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L32"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_success", "callee": "patch", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L38"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_success", "callee": "json", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L45"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_success", "callee": "all", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L50"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_success", "callee": "filter", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L50"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_success", "callee": "query", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L50"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_success", "callee": "len", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L55"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_to_zero", "callee": "patch", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L65"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_to_zero", "callee": "json", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L72"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_to_zero", "callee": "first", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L76"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_to_zero", "callee": "filter", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L76"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_to_zero", "callee": "query", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L76"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_negative_fails", "callee": "patch", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L86"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_negative_fails", "callee": "lower", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L93"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_negative_fails", "callee": "json", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L93"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_missing_field", "callee": "patch", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L98"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_missing_field", "callee": "lower", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L105"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_missing_field", "callee": "json", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L105"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_invalid_type", "callee": "patch", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L110"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_invalid_type", "callee": "lower", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L117"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_invalid_type", "callee": "json", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L117"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_not_found", "callee": "patch", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L122"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_not_found", "callee": "lower", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L129"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_not_found", "callee": "json", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L129"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_no_auth", "callee": "patch", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L134"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_audit_fields", "callee": "patch", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L144"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_audit_fields", "callee": "first", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L152"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_audit_fields", "callee": "filter", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L152"}, {"caller_nid": "test_quantity_patch_test_patch_quantity_audit_fields", "callee": "query", "source_file": "backend/tests/test_quantity_patch.py", "source_location": "L152"}]}