1 line
11 KiB
JSON
1 line
11 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_depreciation_methods_py", "label": "depreciation_methods.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L1"}, {"id": "depreciation_methods_depreciationstep", "label": "DepreciationStep", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L21"}, {"id": "depreciation_methods_straight_line", "label": "straight_line()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L28"}, {"id": "depreciation_methods_declining_balance", "label": "declining_balance()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L56"}, {"id": "depreciation_methods_units_of_production", "label": "units_of_production()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L92"}, {"id": "depreciation_methods_rationale_1", "label": "Depreciation method primitives. Three methods supported: - straight_line: equal", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L1"}, {"id": "depreciation_methods_rationale_30", "label": "Equal charge per period: (cost - salvage) / n_periods. Last period absorbs", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L30"}, {"id": "depreciation_methods_rationale_58", "label": "Apply `rate` (e.g. 0.20 = 20%) to remaining book each period. Switches to s", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L58"}, {"id": "depreciation_methods_rationale_95", "label": "Charge per period = (units_used / total_expected) * (cost - salvage).", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L95"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_depreciation_methods_py", "target": "dataclasses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L13", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_depreciation_methods_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L14", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_depreciation_methods_py", "target": "depreciation_methods_depreciationstep", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L21", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_depreciation_methods_py", "target": "depreciation_methods_straight_line", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L28", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_depreciation_methods_py", "target": "depreciation_methods_declining_balance", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L56", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_depreciation_methods_py", "target": "depreciation_methods_units_of_production", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L92", "weight": 1.0}, {"source": "depreciation_methods_straight_line", "target": "depreciation_methods_depreciationstep", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L47", "weight": 1.0}, {"source": "depreciation_methods_declining_balance", "target": "depreciation_methods_depreciationstep", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L68", "weight": 1.0}, {"source": "depreciation_methods_units_of_production", "target": "depreciation_methods_depreciationstep", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L108", "weight": 1.0}, {"source": "depreciation_methods_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_services_depreciation_methods_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L1", "weight": 1.0}, {"source": "depreciation_methods_rationale_30", "target": "depreciation_methods_straight_line", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L30", "weight": 1.0}, {"source": "depreciation_methods_rationale_58", "target": "depreciation_methods_declining_balance", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L58", "weight": 1.0}, {"source": "depreciation_methods_rationale_95", "target": "depreciation_methods_units_of_production", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L95", "weight": 1.0}], "raw_calls": [{"caller_nid": "depreciation_methods_straight_line", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L37"}, {"caller_nid": "depreciation_methods_straight_line", "callee": "range", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L40"}, {"caller_nid": "depreciation_methods_straight_line", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L42"}, {"caller_nid": "depreciation_methods_straight_line", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L45"}, {"caller_nid": "depreciation_methods_straight_line", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L46"}, {"caller_nid": "depreciation_methods_straight_line", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L47"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L67"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L68"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "range", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L72"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L74"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L75"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "max", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L76"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L78"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L79"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L80"}, {"caller_nid": "depreciation_methods_declining_balance", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L81"}, {"caller_nid": "depreciation_methods_units_of_production", "callee": "enumerate", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L102"}, {"caller_nid": "depreciation_methods_units_of_production", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L103"}, {"caller_nid": "depreciation_methods_units_of_production", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L105"}, {"caller_nid": "depreciation_methods_units_of_production", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L106"}, {"caller_nid": "depreciation_methods_units_of_production", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L107"}, {"caller_nid": "depreciation_methods_units_of_production", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/services/depreciation_methods.py", "source_location": "L108"}]} |