1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_pattern_extraction_py", "label": "test_pattern_extraction.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L1"}, {"id": "test_pattern_extraction_testpatternextractor", "label": "TestPatternExtractor", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L9"}, {"id": "transactioncase", "label": "TransactionCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "test_pattern_extraction_testpatternextractor_setup", "label": ".setUp()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L11"}, {"id": "test_pattern_extraction_testpatternextractor_make_precedent", "label": "._make_precedent()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L17"}, {"id": "test_pattern_extraction_testpatternextractor_test_extracts_typical_amount_range", "label": ".test_extracts_typical_amount_range()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L30"}, {"id": "test_pattern_extraction_testpatternextractor_test_detects_exact_amount_strategy", "label": ".test_detects_exact_amount_strategy()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L39"}, {"id": "test_pattern_extraction_testpatternextractor_test_detects_multi_invoice_strategy", "label": ".test_detects_multi_invoice_strategy()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L46"}, {"id": "test_pattern_extraction_testpatternextractor_test_computes_cadence_days", "label": ".test_computes_cadence_days()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L53"}, {"id": "test_pattern_extraction_testpatternextractor_test_extracts_common_memo_tokens", "label": ".test_extracts_common_memo_tokens()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L60"}, {"id": "test_pattern_extraction_testpatternextractor_test_returns_zero_count_for_partner_with_no_precedents", "label": ".test_returns_zero_count_for_partner_with_no_precedents()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L69"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_pattern_extraction_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L1", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_pattern_extraction_py", "target": "odoo_tests_common", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L2", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_pattern_extraction_py", "target": "odoo_addons_fusion_accounting_bank_rec_services_pattern_extractor", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_pattern_extraction_py", "target": "test_pattern_extraction_testpatternextractor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L9", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L9", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "test_pattern_extraction_testpatternextractor_setup", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L11", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "test_pattern_extraction_testpatternextractor_make_precedent", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L17", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "test_pattern_extraction_testpatternextractor_test_extracts_typical_amount_range", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L30", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "test_pattern_extraction_testpatternextractor_test_detects_exact_amount_strategy", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L39", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "test_pattern_extraction_testpatternextractor_test_detects_multi_invoice_strategy", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L46", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "test_pattern_extraction_testpatternextractor_test_computes_cadence_days", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L53", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "test_pattern_extraction_testpatternextractor_test_extracts_common_memo_tokens", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L60", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor", "target": "test_pattern_extraction_testpatternextractor_test_returns_zero_count_for_partner_with_no_precedents", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L69", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor_test_extracts_typical_amount_range", "target": "test_pattern_extraction_testpatternextractor_make_precedent", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L32", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor_test_detects_exact_amount_strategy", "target": "test_pattern_extraction_testpatternextractor_make_precedent", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L41", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor_test_detects_multi_invoice_strategy", "target": "test_pattern_extraction_testpatternextractor_make_precedent", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L48", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor_test_computes_cadence_days", "target": "test_pattern_extraction_testpatternextractor_make_precedent", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L55", "weight": 1.0}, {"source": "test_pattern_extraction_testpatternextractor_test_extracts_common_memo_tokens", "target": "test_pattern_extraction_testpatternextractor_make_precedent", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L61", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_pattern_extraction_testpatternextractor_setup", "callee": "super", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L12"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_setup", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L13"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_setup", "callee": "ref", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L14"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_make_precedent", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L18"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_make_precedent", "callee": "today", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L23"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_make_precedent", "callee": "timedelta", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L23"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_make_precedent", "callee": "now", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L26"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_make_precedent", "callee": "timedelta", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L26"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_extracts_typical_amount_range", "callee": "extract_pattern_for_partner", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L34"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_extracts_typical_amount_range", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L36"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_extracts_typical_amount_range", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L37"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_detects_exact_amount_strategy", "callee": "range", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L40"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_detects_exact_amount_strategy", "callee": "extract_pattern_for_partner", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L42"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_detects_exact_amount_strategy", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L44"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_detects_multi_invoice_strategy", "callee": "range", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L47"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_detects_multi_invoice_strategy", "callee": "extract_pattern_for_partner", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L49"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_detects_multi_invoice_strategy", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L51"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_computes_cadence_days", "callee": "extract_pattern_for_partner", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L56"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_computes_cadence_days", "callee": "assertAlmostEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L58"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_extracts_common_memo_tokens", "callee": "extract_pattern_for_partner", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L64"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_extracts_common_memo_tokens", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L66"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_extracts_common_memo_tokens", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L67"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_returns_zero_count_for_partner_with_no_precedents", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L70"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_returns_zero_count_for_partner_with_no_precedents", "callee": "extract_pattern_for_partner", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L71"}, {"caller_nid": "test_pattern_extraction_testpatternextractor_test_returns_zero_count_for_partner_with_no_precedents", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_pattern_extraction.py", "source_location": "L73"}]} |