1 line
9.7 KiB
JSON
1 line
9.7 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_useful_life_predictor_py", "label": "useful_life_predictor.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L1"}, {"id": "useful_life_predictor_predict_useful_life", "label": "predict_useful_life()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L27"}, {"id": "useful_life_predictor_templated_fallback", "label": "_templated_fallback()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L57"}, {"id": "useful_life_predictor_get_provider", "label": "_get_provider()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L77"}, {"id": "useful_life_predictor_rationale_1", "label": "AI-suggested useful life from invoice context. Wraps useful_life_prompt + an LL", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L1"}, {"id": "useful_life_predictor_rationale_29", "label": "Suggest useful life + method via LLM, with templated fallback.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L29"}, {"id": "useful_life_predictor_rationale_58", "label": "Pattern-match keyword rules. Always returns a usable dict.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L58"}, {"id": "useful_life_predictor_rationale_78", "label": "Look up provider for 'asset_useful_life' feature.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L78"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_useful_life_predictor_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L7", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_useful_life_predictor_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_useful_life_predictor_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L9", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_useful_life_predictor_py", "target": "useful_life_predictor_predict_useful_life", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L27", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_useful_life_predictor_py", "target": "useful_life_predictor_templated_fallback", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L57", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_useful_life_predictor_py", "target": "useful_life_predictor_get_provider", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L77", "weight": 1.0}, {"source": "useful_life_predictor_predict_useful_life", "target": "useful_life_predictor_get_provider", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L31", "weight": 1.0}, {"source": "useful_life_predictor_predict_useful_life", "target": "useful_life_predictor_templated_fallback", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L33", "weight": 1.0}, {"source": "useful_life_predictor_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_useful_life_predictor_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L1", "weight": 1.0}, {"source": "useful_life_predictor_rationale_29", "target": "useful_life_predictor_predict_useful_life", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L29", "weight": 1.0}, {"source": "useful_life_predictor_rationale_58", "target": "useful_life_predictor_templated_fallback", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L58", "weight": 1.0}, {"source": "useful_life_predictor_rationale_78", "target": "useful_life_predictor_get_provider", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L78", "weight": 1.0}], "raw_calls": [{"caller_nid": "useful_life_predictor_predict_useful_life", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L37"}, {"caller_nid": "useful_life_predictor_predict_useful_life", "callee": "complete", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L40"}, {"caller_nid": "useful_life_predictor_predict_useful_life", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L45"}, {"caller_nid": "useful_life_predictor_predict_useful_life", "callee": "isinstance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L45"}, {"caller_nid": "useful_life_predictor_predict_useful_life", "callee": "loads", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L46"}, {"caller_nid": "useful_life_predictor_predict_useful_life", "callee": "ValueError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L49"}, {"caller_nid": "useful_life_predictor_predict_useful_life", "callee": "setdefault", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L50"}, {"caller_nid": "useful_life_predictor_predict_useful_life", "callee": "warning", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L53"}, {"caller_nid": "useful_life_predictor_templated_fallback", "callee": "lower", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L59"}, {"caller_nid": "useful_life_predictor_templated_fallback", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L61"}, {"caller_nid": "useful_life_predictor_get_provider", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L79"}, {"caller_nid": "useful_life_predictor_get_provider", "callee": "get_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L80"}, {"caller_nid": "useful_life_predictor_get_provider", "callee": "get_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L82"}, {"caller_nid": "useful_life_predictor_get_provider", "callee": "startswith", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L90"}, {"caller_nid": "useful_life_predictor_get_provider", "callee": "OpenAIAdapter", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L91"}, {"caller_nid": "useful_life_predictor_get_provider", "callee": "startswith", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L92"}, {"caller_nid": "useful_life_predictor_get_provider", "callee": "ClaudeAdapter", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/useful_life_predictor.py", "source_location": "L93"}]} |