1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_bank_rec_prompt_py", "label": "test_bank_rec_prompt.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L1"}, {"id": "test_bank_rec_prompt_testbankrecprompt", "label": "TestBankRecPrompt", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L15"}, {"id": "transactioncase", "label": "TransactionCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "test_bank_rec_prompt_testbankrecprompt_setup", "label": ".setUp()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L17"}, {"id": "test_bank_rec_prompt_testbankrecprompt_test_system_prompt_requires_json_output", "label": ".test_system_prompt_requires_json_output()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L45"}, {"id": "test_bank_rec_prompt_testbankrecprompt_test_build_prompt_returns_tuple", "label": ".test_build_prompt_returns_tuple()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L49"}, {"id": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_bank_line_details", "label": ".test_user_prompt_includes_bank_line_details()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L56"}, {"id": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_all_candidates", "label": ".test_user_prompt_includes_all_candidates()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L62"}, {"id": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_omits_pattern_section_when_none", "label": ".test_user_prompt_omits_pattern_section_when_none()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L67"}, {"id": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_pattern_section_when_provided", "label": ".test_user_prompt_includes_pattern_section_when_provided()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L71"}, {"id": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_precedents_when_provided", "label": ".test_user_prompt_includes_precedents_when_provided()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L77"}, {"id": "test_bank_rec_prompt_rationale_1", "label": "Smoke tests for bank_rec_prompt module.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_bank_rec_prompt_py", "target": "odoo_tests_common", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_bank_rec_prompt_py", "target": "odoo_addons_fusion_accounting_ai_services_prompts_bank_rec_prompt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L4", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_bank_rec_prompt_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_bank_rec_prompt.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_bank_rec_prompt_py", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L11", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_bank_rec_prompt_py", "target": "test_bank_rec_prompt_testbankrecprompt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L15", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L15", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "test_bank_rec_prompt_testbankrecprompt_setup", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L17", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "test_bank_rec_prompt_testbankrecprompt_test_system_prompt_requires_json_output", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L45", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "test_bank_rec_prompt_testbankrecprompt_test_build_prompt_returns_tuple", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L49", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_bank_line_details", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L56", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_all_candidates", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L62", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_omits_pattern_section_when_none", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L67", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_pattern_section_when_provided", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L71", "weight": 1.0}, {"source": "test_bank_rec_prompt_testbankrecprompt", "target": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_precedents_when_provided", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L77", "weight": 1.0}, {"source": "test_bank_rec_prompt_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_bank_rec_tests_test_bank_rec_prompt_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_bank_rec_prompt_testbankrecprompt_setup", "callee": "super", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L18"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_setup", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L19"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_setup", "callee": "make_bank_line", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L20"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_setup", "callee": "ScoredCandidate", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L27"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_setup", "callee": "ScoredCandidate", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L35"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_system_prompt_requires_json_output", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L46"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_system_prompt_requires_json_output", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L47"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_build_prompt_returns_tuple", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L50"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_build_prompt_returns_tuple", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L51"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_build_prompt_returns_tuple", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L51"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_build_prompt_returns_tuple", "callee": "assertIsInstance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L53"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_build_prompt_returns_tuple", "callee": "assertIsInstance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L54"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_bank_line_details", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L57"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_bank_line_details", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L58"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_bank_line_details", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L59"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_bank_line_details", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L60"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_all_candidates", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L63"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_all_candidates", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L64"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_all_candidates", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L65"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_omits_pattern_section_when_none", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L68"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_omits_pattern_section_when_none", "callee": "assertNotIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L69"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_pattern_section_when_provided", "callee": "make_pattern", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L72"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_pattern_section_when_provided", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L73"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_pattern_section_when_provided", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L74"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_pattern_section_when_provided", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L75"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_precedents_when_provided", "callee": "PrecedentMatch", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L82"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_precedents_when_provided", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L90"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_precedents_when_provided", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L91"}, {"caller_nid": "test_bank_rec_prompt_testbankrecprompt_test_user_prompt_includes_precedents_when_provided", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_bank_rec/tests/test_bank_rec_prompt.py", "source_location": "L92"}]} |