changes
This commit is contained in:
147
fusion_loaners_management/graphify-out/GRAPH_REPORT.md
Normal file
147
fusion_loaners_management/graphify-out/GRAPH_REPORT.md
Normal file
@@ -0,0 +1,147 @@
|
||||
# Graph Report - /Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management (2026-04-22)
|
||||
|
||||
## Corpus Check
|
||||
- 15 files · ~7,312 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 87 nodes · 121 edges · 17 communities detected
|
||||
- Extraction: 90% EXTRACTED · 10% INFERRED · 0% AMBIGUOUS · INFERRED: 12 edges (avg confidence: 0.8)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
- [[_COMMUNITY_Community 0|Community 0]]
|
||||
- [[_COMMUNITY_Community 1|Community 1]]
|
||||
- [[_COMMUNITY_Community 2|Community 2]]
|
||||
- [[_COMMUNITY_Community 3|Community 3]]
|
||||
- [[_COMMUNITY_Community 4|Community 4]]
|
||||
- [[_COMMUNITY_Community 5|Community 5]]
|
||||
- [[_COMMUNITY_Community 6|Community 6]]
|
||||
- [[_COMMUNITY_Community 7|Community 7]]
|
||||
- [[_COMMUNITY_Community 8|Community 8]]
|
||||
- [[_COMMUNITY_Community 9|Community 9]]
|
||||
- [[_COMMUNITY_Community 10|Community 10]]
|
||||
- [[_COMMUNITY_Community 11|Community 11]]
|
||||
- [[_COMMUNITY_Community 12|Community 12]]
|
||||
- [[_COMMUNITY_Community 13|Community 13]]
|
||||
- [[_COMMUNITY_Community 14|Community 14]]
|
||||
- [[_COMMUNITY_Community 15|Community 15]]
|
||||
- [[_COMMUNITY_Community 16|Community 16]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `FusionLoanerCheckout` - 21 edges
|
||||
2. `create()` - 11 edges
|
||||
3. `LoanerEmailMixin` - 9 edges
|
||||
4. `SaleOrder` - 4 edges
|
||||
5. `_cron_check_overdue_loaners()` - 4 edges
|
||||
6. `FusionLoanerHistory` - 3 edges
|
||||
7. `portal_loaner_checkout()` - 3 edges
|
||||
8. `_pre_init_hook()` - 2 edges
|
||||
9. `LoanerCheckoutWizard` - 2 edges
|
||||
10. `LoanerReturnWizard` - 2 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `portal_loaner_create_product()` --calls--> `create()` [INFERRED]
|
||||
/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/controllers/loaner_portal.py → /Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/fusion_loaner_checkout.py
|
||||
- `portal_loaner_checkout()` --calls--> `create()` [INFERRED]
|
||||
/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/controllers/loaner_portal.py → /Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/fusion_loaner_checkout.py
|
||||
|
||||
## Communities
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
Cohesion: 0.2
|
||||
Nodes (3): create(), _cron_check_overdue_loaners(), FusionLoanerCheckout
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
Cohesion: 0.31
|
||||
Nodes (1): LoanerEmailMixin
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.25
|
||||
Nodes (3): LoanerPortalController, portal_loaner_checkout(), portal_loaner_create_product()
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.29
|
||||
Nodes (1): LoanerCheckoutWizard
|
||||
|
||||
### Community 4 - "Community 4"
|
||||
Cohesion: 0.29
|
||||
Nodes (1): SaleOrder
|
||||
|
||||
### Community 5 - "Community 5"
|
||||
Cohesion: 0.4
|
||||
Nodes (1): FusionLoanerHistory
|
||||
|
||||
### Community 6 - "Community 6"
|
||||
Cohesion: 0.33
|
||||
Nodes (2): portal_loaner_return(), LoanerReturnWizard
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
Cohesion: 0.33
|
||||
Nodes (0):
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
Cohesion: 0.4
|
||||
Nodes (1): ProductTemplate
|
||||
|
||||
### Community 9 - "Community 9"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): _pre_init_hook(), Re-assign loaner data record ownership from fusion_claims before install. P
|
||||
|
||||
### Community 10 - "Community 10"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): ResUsers
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
Cohesion: 1.0
|
||||
Nodes (0):
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
Cohesion: 1.0
|
||||
Nodes (0):
|
||||
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 1.0
|
||||
Nodes (0):
|
||||
|
||||
### Community 14 - "Community 14"
|
||||
Cohesion: 1.0
|
||||
Nodes (0):
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 1.0
|
||||
Nodes (0):
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Return current location of all loaner equipment for the portal.
|
||||
|
||||
## Knowledge Gaps
|
||||
- **4 isolated node(s):** `Re-assign loaner data record ownership from fusion_claims before install. P`, `ResUsers`, `LoanerPortalController`, `Return current location of all loaner equipment for the portal.`
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **Thin community `Community 10`** (2 nodes): `ResUsers`, `res_users.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 11`** (1 nodes): `__init__.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 12`** (1 nodes): `__init__.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 13`** (1 nodes): `__init__.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 14`** (1 nodes): `__manifest__.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 15`** (1 nodes): `loaner_portal.js`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 16`** (1 nodes): `Return current location of all loaner equipment for the portal.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `FusionLoanerCheckout` connect `Community 0` to `Community 4`, `Community 6`, `Community 7`?**
|
||||
_High betweenness centrality (0.242) - this node is a cross-community bridge._
|
||||
- **Why does `create()` connect `Community 0` to `Community 2`, `Community 3`, `Community 6`, `Community 7`?**
|
||||
_High betweenness centrality (0.209) - this node is a cross-community bridge._
|
||||
- **Are the 4 inferred relationships involving `create()` (e.g. with `.action_checkout()` and `.action_return()`) actually correct?**
|
||||
_`create()` has 4 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **What connects `Re-assign loaner data record ownership from fusion_claims before install. P`, `ResUsers`, `LoanerPortalController` to the rest of the system?**
|
||||
_4 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_res_users_py", "label": "res_users.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/res_users.py", "source_location": "L1"}, {"id": "res_users_resusers", "label": "ResUsers", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/res_users.py", "source_location": "L8"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_res_users_py", "target": "odoo", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/res_users.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_res_users_py", "target": "res_users_resusers", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/res_users.py", "source_location": "L8", "weight": 1.0}], "raw_calls": []}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "label": "__init__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/__init__.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/__init__.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/__init__.py", "source_location": "L7", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/__init__.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/__init__.py", "source_location": "L9", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/__init__.py", "source_location": "L10", "weight": 1.0}], "raw_calls": []}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_loaners_management_wizard_init_py", "label": "__init__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/wizard/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_wizard_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_wizard_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/wizard/__init__.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_wizard_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_wizard_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/wizard/__init__.py", "source_location": "L6", "weight": 1.0}], "raw_calls": []}
|
||||
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_loaners_management_manifest_py", "label": "__manifest__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__manifest__.py", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_loaners_management_init_py", "label": "__init__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L1"}, {"id": "init_pre_init_hook", "label": "_pre_init_hook()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L10"}, {"id": "init_rationale_11", "label": "Re-assign loaner data record ownership from fusion_claims before install. P", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L11"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L7", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_init_py", "target": "init_pre_init_hook", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L10", "weight": 1.0}, {"source": "init_rationale_11", "target": "init_pre_init_hook", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L11", "weight": 1.0}], "raw_calls": [{"caller_nid": "init_pre_init_hook", "callee": "execute", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/__init__.py", "source_location": "L16"}]}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_product_template_py", "label": "product_template.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L1"}, {"id": "product_template_producttemplate", "label": "ProductTemplate", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L8"}, {"id": "product_template_compute_serial_count", "label": "_compute_serial_count()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L109"}, {"id": "product_template_producttemplate_action_view_serial_numbers", "label": ".action_view_serial_numbers()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L115"}, {"id": "product_template_compute_current_location", "label": "_compute_current_location()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L127"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_product_template_py", "target": "odoo", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_product_template_py", "target": "product_template_producttemplate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_product_template_py", "target": "product_template_compute_serial_count", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L109", "weight": 1.0}, {"source": "product_template_producttemplate", "target": "product_template_producttemplate_action_view_serial_numbers", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L115", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_models_product_template_py", "target": "product_template_compute_current_location", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L127", "weight": 1.0}], "raw_calls": [{"caller_nid": "product_template_compute_serial_count", "callee": "search_count", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L111"}, {"caller_nid": "product_template_compute_serial_count", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L111"}, {"caller_nid": "product_template_producttemplate_action_view_serial_numbers", "callee": "ensure_one", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L116"}, {"caller_nid": "product_template_compute_current_location", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L132"}, {"caller_nid": "product_template_compute_current_location", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L132"}, {"caller_nid": "product_template_compute_current_location", "callee": "mapped", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L138"}, {"caller_nid": "product_template_compute_current_location", "callee": "join", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L139"}, {"caller_nid": "product_template_compute_current_location", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/models/product_template.py", "source_location": "L139"}]}
|
||||
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_loaners_management_static_src_js_loaner_portal_js", "label": "loaner_portal.js", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/static/src/js/loaner_portal.js", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_static_src_js_loaner_portal_js", "target": "public_widget", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/static/src/js/loaner_portal.js", "source_location": "L3", "weight": 1.0}], "raw_calls": []}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_loaners_management_controllers_init_py", "label": "__init__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/controllers/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_loaners_management_controllers_init_py", "target": "users_gurpreet_github_odoo_modules_fusion_loaners_management_controllers_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_loaners_management/controllers/__init__.py", "source_location": "L5", "weight": 1.0}], "raw_calls": []}
|
||||
257
fusion_loaners_management/graphify-out/graph.html
Normal file
257
fusion_loaners_management/graphify-out/graph.html
Normal file
File diff suppressed because one or more lines are too long
2245
fusion_loaners_management/graphify-out/graph.json
Normal file
2245
fusion_loaners_management/graphify-out/graph.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user