Files
tfm_ainventory/graphify-out/cache/5e148b7e8639cda2b637838531b0524e9be3ece2d4cc8c973526ebca3d2b4829.json

1 line
18 KiB
JSON

{"nodes": [{"id": "backend_tests_test_operations_py", "label": "test_operations.py", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L1"}, {"id": "test_operations_teststockoperations", "label": "TestStockOperations", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L5"}, {"id": "test_operations_teststockoperations_test_check_in_item", "label": ".test_check_in_item()", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L8"}, {"id": "test_operations_teststockoperations_test_check_out_item", "label": ".test_check_out_item()", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L27"}, {"id": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "label": ".test_check_out_insufficient_quantity()", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L46"}, {"id": "test_operations_teststockoperations_test_audit_log_created", "label": ".test_audit_log_created()", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L63"}, {"id": "test_operations_testbulksync", "label": "TestBulkSync", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L91"}, {"id": "test_operations_testbulksync_test_bulk_sync_offline_operations", "label": ".test_bulk_sync_offline_operations()", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L94"}, {"id": "test_operations_testbulksync_test_bulk_sync_idempotent", "label": ".test_bulk_sync_idempotent()", "file_type": "code", "source_file": "backend/tests/test_operations.py", "source_location": "L123"}, {"id": "test_operations_rationale_6", "label": "Test check-in and check-out operations.", "file_type": "rationale", "source_file": "backend/tests/test_operations.py", "source_location": "L6"}, {"id": "test_operations_rationale_9", "label": "Test checking in inventory (increasing quantity).", "file_type": "rationale", "source_file": "backend/tests/test_operations.py", "source_location": "L9"}, {"id": "test_operations_rationale_28", "label": "Test checking out inventory (decreasing quantity).", "file_type": "rationale", "source_file": "backend/tests/test_operations.py", "source_location": "L28"}, {"id": "test_operations_rationale_47", "label": "Test that check-out fails if quantity insufficient.", "file_type": "rationale", "source_file": "backend/tests/test_operations.py", "source_location": "L47"}, {"id": "test_operations_rationale_64", "label": "Test that audit log entry created for each operation.", "file_type": "rationale", "source_file": "backend/tests/test_operations.py", "source_location": "L64"}, {"id": "test_operations_rationale_92", "label": "Test offline sync with UUID idempotency.", "file_type": "rationale", "source_file": "backend/tests/test_operations.py", "source_location": "L92"}, {"id": "test_operations_rationale_95", "label": "Test syncing multiple offline-generated operations.", "file_type": "rationale", "source_file": "backend/tests/test_operations.py", "source_location": "L95"}, {"id": "test_operations_rationale_124", "label": "Test that syncing same UUID twice doesn't duplicate.", "file_type": "rationale", "source_file": "backend/tests/test_operations.py", "source_location": "L124"}], "edges": [{"source": "backend_tests_test_operations_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_tests_test_operations_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_tests_test_operations_py", "target": "test_operations_teststockoperations", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L5", "weight": 1.0}, {"source": "test_operations_teststockoperations", "target": "test_operations_teststockoperations_test_check_in_item", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L8", "weight": 1.0}, {"source": "test_operations_teststockoperations", "target": "test_operations_teststockoperations_test_check_out_item", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L27", "weight": 1.0}, {"source": "test_operations_teststockoperations", "target": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L46", "weight": 1.0}, {"source": "test_operations_teststockoperations", "target": "test_operations_teststockoperations_test_audit_log_created", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L63", "weight": 1.0}, {"source": "backend_tests_test_operations_py", "target": "test_operations_testbulksync", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L91", "weight": 1.0}, {"source": "test_operations_testbulksync", "target": "test_operations_testbulksync_test_bulk_sync_offline_operations", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L94", "weight": 1.0}, {"source": "test_operations_testbulksync", "target": "test_operations_testbulksync_test_bulk_sync_idempotent", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L123", "weight": 1.0}, {"source": "test_operations_rationale_6", "target": "test_operations_teststockoperations", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L6", "weight": 1.0}, {"source": "test_operations_rationale_9", "target": "test_operations_teststockoperations_test_check_in_item", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L9", "weight": 1.0}, {"source": "test_operations_rationale_28", "target": "test_operations_teststockoperations_test_check_out_item", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L28", "weight": 1.0}, {"source": "test_operations_rationale_47", "target": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L47", "weight": 1.0}, {"source": "test_operations_rationale_64", "target": "test_operations_teststockoperations_test_audit_log_created", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L64", "weight": 1.0}, {"source": "test_operations_rationale_92", "target": "test_operations_testbulksync", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L92", "weight": 1.0}, {"source": "test_operations_rationale_95", "target": "test_operations_testbulksync_test_bulk_sync_offline_operations", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L95", "weight": 1.0}, {"source": "test_operations_rationale_124", "target": "test_operations_testbulksync_test_bulk_sync_idempotent", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_operations.py", "source_location": "L124", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_operations_teststockoperations_test_check_in_item", "callee": "Item", "source_file": "backend/tests/test_operations.py", "source_location": "L12"}, {"caller_nid": "test_operations_teststockoperations_test_check_in_item", "callee": "add", "source_file": "backend/tests/test_operations.py", "source_location": "L14"}, {"caller_nid": "test_operations_teststockoperations_test_check_in_item", "callee": "commit", "source_file": "backend/tests/test_operations.py", "source_location": "L15"}, {"caller_nid": "test_operations_teststockoperations_test_check_in_item", "callee": "first", "source_file": "backend/tests/test_operations.py", "source_location": "L17"}, {"caller_nid": "test_operations_teststockoperations_test_check_in_item", "callee": "filter", "source_file": "backend/tests/test_operations.py", "source_location": "L17"}, {"caller_nid": "test_operations_teststockoperations_test_check_in_item", "callee": "query", "source_file": "backend/tests/test_operations.py", "source_location": "L17"}, {"caller_nid": "test_operations_teststockoperations_test_check_in_item", "callee": "post", "source_file": "backend/tests/test_operations.py", "source_location": "L18"}, {"caller_nid": "test_operations_teststockoperations_test_check_in_item", "callee": "json", "source_file": "backend/tests/test_operations.py", "source_location": "L24"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_item", "callee": "Item", "source_file": "backend/tests/test_operations.py", "source_location": "L31"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_item", "callee": "add", "source_file": "backend/tests/test_operations.py", "source_location": "L33"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_item", "callee": "commit", "source_file": "backend/tests/test_operations.py", "source_location": "L34"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_item", "callee": "first", "source_file": "backend/tests/test_operations.py", "source_location": "L36"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_item", "callee": "filter", "source_file": "backend/tests/test_operations.py", "source_location": "L36"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_item", "callee": "query", "source_file": "backend/tests/test_operations.py", "source_location": "L36"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_item", "callee": "post", "source_file": "backend/tests/test_operations.py", "source_location": "L37"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_item", "callee": "json", "source_file": "backend/tests/test_operations.py", "source_location": "L43"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "callee": "Item", "source_file": "backend/tests/test_operations.py", "source_location": "L50"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "callee": "add", "source_file": "backend/tests/test_operations.py", "source_location": "L52"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "callee": "commit", "source_file": "backend/tests/test_operations.py", "source_location": "L53"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "callee": "first", "source_file": "backend/tests/test_operations.py", "source_location": "L55"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "callee": "filter", "source_file": "backend/tests/test_operations.py", "source_location": "L55"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "callee": "query", "source_file": "backend/tests/test_operations.py", "source_location": "L55"}, {"caller_nid": "test_operations_teststockoperations_test_check_out_insufficient_quantity", "callee": "post", "source_file": "backend/tests/test_operations.py", "source_location": "L56"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "Item", "source_file": "backend/tests/test_operations.py", "source_location": "L67"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "add", "source_file": "backend/tests/test_operations.py", "source_location": "L69"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "commit", "source_file": "backend/tests/test_operations.py", "source_location": "L70"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "first", "source_file": "backend/tests/test_operations.py", "source_location": "L72"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "filter", "source_file": "backend/tests/test_operations.py", "source_location": "L72"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "query", "source_file": "backend/tests/test_operations.py", "source_location": "L72"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "post", "source_file": "backend/tests/test_operations.py", "source_location": "L73"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "get", "source_file": "backend/tests/test_operations.py", "source_location": "L81"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "json", "source_file": "backend/tests/test_operations.py", "source_location": "L86"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "len", "source_file": "backend/tests/test_operations.py", "source_location": "L87"}, {"caller_nid": "test_operations_teststockoperations_test_audit_log_created", "callee": "any", "source_file": "backend/tests/test_operations.py", "source_location": "L88"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "Item", "source_file": "backend/tests/test_operations.py", "source_location": "L99"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "add", "source_file": "backend/tests/test_operations.py", "source_location": "L101"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "commit", "source_file": "backend/tests/test_operations.py", "source_location": "L102"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "first", "source_file": "backend/tests/test_operations.py", "source_location": "L104"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "filter", "source_file": "backend/tests/test_operations.py", "source_location": "L104"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "query", "source_file": "backend/tests/test_operations.py", "source_location": "L104"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "post", "source_file": "backend/tests/test_operations.py", "source_location": "L105"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "isoformat", "source_file": "backend/tests/test_operations.py", "source_location": "L111"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "utcnow", "source_file": "backend/tests/test_operations.py", "source_location": "L111"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "isoformat", "source_file": "backend/tests/test_operations.py", "source_location": "L113"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "utcnow", "source_file": "backend/tests/test_operations.py", "source_location": "L113"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "json", "source_file": "backend/tests/test_operations.py", "source_location": "L119"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_offline_operations", "callee": "len", "source_file": "backend/tests/test_operations.py", "source_location": "L121"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "Item", "source_file": "backend/tests/test_operations.py", "source_location": "L128"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "add", "source_file": "backend/tests/test_operations.py", "source_location": "L130"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "commit", "source_file": "backend/tests/test_operations.py", "source_location": "L131"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "first", "source_file": "backend/tests/test_operations.py", "source_location": "L133"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "filter", "source_file": "backend/tests/test_operations.py", "source_location": "L133"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "query", "source_file": "backend/tests/test_operations.py", "source_location": "L133"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "isoformat", "source_file": "backend/tests/test_operations.py", "source_location": "L138"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "utcnow", "source_file": "backend/tests/test_operations.py", "source_location": "L138"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "post", "source_file": "backend/tests/test_operations.py", "source_location": "L143"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "len", "source_file": "backend/tests/test_operations.py", "source_location": "L148"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "json", "source_file": "backend/tests/test_operations.py", "source_location": "L148"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "post", "source_file": "backend/tests/test_operations.py", "source_location": "L151"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "get", "source_file": "backend/tests/test_operations.py", "source_location": "L157"}, {"caller_nid": "test_operations_testbulksync_test_bulk_sync_idempotent", "callee": "json", "source_file": "backend/tests/test_operations.py", "source_location": "L157"}]}