1 line
11 KiB
JSON
1 line
11 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "label": "matching_strategies.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L1"}, {"id": "matching_strategies_candidate", "label": "Candidate", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L13"}, {"id": "matching_strategies_matchresult", "label": "MatchResult", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L21"}, {"id": "matching_strategies_amountexactstrategy", "label": "AmountExactStrategy", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L31"}, {"id": "matching_strategies_amountexactstrategy_match", "label": ".match()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L35"}, {"id": "matching_strategies_fifostrategy", "label": "FIFOStrategy", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L48"}, {"id": "matching_strategies_fifostrategy_match", "label": ".match()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L52"}, {"id": "matching_strategies_multiinvoicestrategy", "label": "MultiInvoiceStrategy", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L73"}, {"id": "matching_strategies_multiinvoicestrategy_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L77"}, {"id": "matching_strategies_multiinvoicestrategy_match", "label": ".match()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L80"}, {"id": "matching_strategies_rationale_1", "label": "Matching strategy classes for the reconcile engine. Each strategy takes a bank", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L1"}, {"id": "matching_strategies_rationale_32", "label": "Pick a single candidate whose amount equals the bank amount exactly. If mult", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L32"}, {"id": "matching_strategies_rationale_49", "label": "Pick oldest candidates first until the bank amount is exhausted. May produce", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L49"}, {"id": "matching_strategies_rationale_74", "label": "Find the smallest combination of candidates summing to the bank amount. Boun", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L74"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "target": "dataclasses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "target": "itertools", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L9", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "target": "matching_strategies_candidate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L13", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "target": "matching_strategies_matchresult", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L21", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "target": "matching_strategies_amountexactstrategy", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L31", "weight": 1.0}, {"source": "matching_strategies_amountexactstrategy", "target": "matching_strategies_amountexactstrategy_match", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L35", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "target": "matching_strategies_fifostrategy", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L48", "weight": 1.0}, {"source": "matching_strategies_fifostrategy", "target": "matching_strategies_fifostrategy_match", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L52", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "target": "matching_strategies_multiinvoicestrategy", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L73", "weight": 1.0}, {"source": "matching_strategies_multiinvoicestrategy", "target": "matching_strategies_multiinvoicestrategy_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L77", "weight": 1.0}, {"source": "matching_strategies_multiinvoicestrategy", "target": "matching_strategies_multiinvoicestrategy_match", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L80", "weight": 1.0}, {"source": "matching_strategies_amountexactstrategy_match", "target": "matching_strategies_matchresult", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L38", "weight": 1.0}, {"source": "matching_strategies_fifostrategy_match", "target": "matching_strategies_matchresult", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L54", "weight": 1.0}, {"source": "matching_strategies_multiinvoicestrategy_match", "target": "matching_strategies_matchresult", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L85", "weight": 1.0}, {"source": "matching_strategies_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_services_matching_strategies_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L1", "weight": 1.0}, {"source": "matching_strategies_rationale_32", "target": "matching_strategies_amountexactstrategy", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L32", "weight": 1.0}, {"source": "matching_strategies_rationale_49", "target": "matching_strategies_fifostrategy", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L49", "weight": 1.0}, {"source": "matching_strategies_rationale_74", "target": "matching_strategies_multiinvoicestrategy", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L74", "weight": 1.0}], "raw_calls": [{"caller_nid": "matching_strategies_amountexactstrategy_match", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L36"}, {"caller_nid": "matching_strategies_amountexactstrategy_match", "callee": "max", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L39"}, {"caller_nid": "matching_strategies_fifostrategy_match", "callee": "sorted", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L55"}, {"caller_nid": "matching_strategies_fifostrategy_match", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L61"}, {"caller_nid": "matching_strategies_multiinvoicestrategy_match", "callee": "range", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L81"}, {"caller_nid": "matching_strategies_multiinvoicestrategy_match", "callee": "combinations", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L82"}, {"caller_nid": "matching_strategies_multiinvoicestrategy_match", "callee": "sum", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L83"}, {"caller_nid": "matching_strategies_multiinvoicestrategy_match", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/services/matching_strategies.py", "source_location": "L84"}]} |