Files
Odoo-Modules/graphify-out/cache/893395238a98f01208e7254fced9c94762dcfa379d9c6d5acb0f3fc3c1c94039.json
gsinghpal 41d0908ade changes
2026-04-24 21:04:38 -04:00

1 line
21 KiB
JSON

{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_confidence_scoring_py", "label": "test_confidence_scoring.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L1"}, {"id": "test_confidence_scoring_testconfidencescoring", "label": "TestConfidenceScoring", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L10"}, {"id": "transactioncase", "label": "TransactionCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "test_confidence_scoring_testconfidencescoring_setup", "label": ".setUp()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L12"}, {"id": "test_confidence_scoring_testconfidencescoring_candidate", "label": "._candidate()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L36"}, {"id": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_candidates", "label": ".test_returns_empty_when_no_candidates()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L39"}, {"id": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_statement_line", "label": ".test_returns_empty_when_no_statement_line()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L43"}, {"id": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "label": ".test_amount_exact_dominates()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L48"}, {"id": "test_confidence_scoring_testconfidencescoring_test_returns_top_k", "label": ".test_returns_top_k()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L60"}, {"id": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "label": ".test_no_ai_provider_returns_statistical_only()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L66"}, {"id": "test_confidence_scoring_testconfidencescoring_test_use_ai_false_skips_ai_rerank", "label": ".test_use_ai_false_skips_ai_rerank()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L77"}, {"id": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "label": ".test_pattern_match_boosts_confidence()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L83"}, {"id": "test_confidence_scoring_rationale_67", "label": "When no AI provider config, score_ai_rerank stays at 0.0.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L67"}, {"id": "test_confidence_scoring_rationale_84", "label": "When the partner has a matching pattern, confidence is higher than no-pattern ca", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L84"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_confidence_scoring_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L1", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_confidence_scoring_py", "target": "odoo_tests_common", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L2", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_confidence_scoring_py", "target": "odoo_addons_fusion_accounting_bank_rec_services_confidence_scoring", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_confidence_scoring_py", "target": "odoo_addons_fusion_accounting_bank_rec_services_matching_strategies", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_confidence_scoring_py", "target": "test_confidence_scoring_testconfidencescoring", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L10", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L10", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_setup", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L12", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_candidate", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L36", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_candidates", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L39", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_statement_line", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L43", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L48", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_test_returns_top_k", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L60", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L66", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_test_use_ai_false_skips_ai_rerank", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L77", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring", "target": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L83", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_statement_line", "target": "test_confidence_scoring_testconfidencescoring_candidate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L45", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "target": "test_confidence_scoring_testconfidencescoring_candidate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L50", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring_test_returns_top_k", "target": "test_confidence_scoring_testconfidencescoring_candidate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L61", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "target": "test_confidence_scoring_testconfidencescoring_candidate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L72", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring_test_use_ai_false_skips_ai_rerank", "target": "test_confidence_scoring_testconfidencescoring_candidate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L78", "weight": 1.0}, {"source": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "target": "test_confidence_scoring_testconfidencescoring_candidate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L91", "weight": 1.0}, {"source": "test_confidence_scoring_rationale_67", "target": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L67", "weight": 1.0}, {"source": "test_confidence_scoring_rationale_84", "target": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L84", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_confidence_scoring_testconfidencescoring_setup", "callee": "super", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L13"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_setup", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L14"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_setup", "callee": "ref", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L16"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_setup", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L18"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_setup", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L23"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_setup", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L27"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_setup", "callee": "today", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L30"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_candidate", "callee": "Candidate", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L37"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_candidates", "callee": "score_candidates", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L40"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_candidates", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L41"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_statement_line", "callee": "score_candidates", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L44"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_returns_empty_when_no_statement_line", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L46"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "callee": "score_candidates", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L53"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L55"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L55"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L56"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "callee": "assertGreater", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L57"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_amount_exact_dominates", "callee": "assertGreater", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L58"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_returns_top_k", "callee": "range", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L61"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_returns_top_k", "callee": "score_candidates", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L62"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_returns_top_k", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L64"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_returns_top_k", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L64"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "callee": "unlink", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L68"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L68"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L68"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "callee": "score_candidates", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L73"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_no_ai_provider_returns_statistical_only", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L75"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_use_ai_false_skips_ai_rerank", "callee": "score_candidates", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L79"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_use_ai_false_skips_ai_rerank", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L81"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L85"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "callee": "score_candidates", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L92"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L95"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "callee": "write", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L96"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "callee": "Candidate", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L97"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "callee": "score_candidates", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L98"}, {"caller_nid": "test_confidence_scoring_testconfidencescoring_test_pattern_match_boosts_confidence", "callee": "assertGreater", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_confidence_scoring.py", "source_location": "L101"}]}