mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-15 04:00:33 +00:00
Fix wrong neighbors keyword bug: Correct max_depth to hops parameter
- Fixed _find_indirect_decision_influence() to use correct get_neighbors() parameter - Changed max_depth= to hops= to match method signature - Fixes analyze_decision_influence(..., include_indirect=True) functionality - Prevents TypeError that was silently caught and degraded functionality - Restores indirect decision influence analysis capability - Ensures reliable decision influence analysis with indirect connections
This commit is contained in:
@@ -1915,7 +1915,7 @@ class ContextGraph:
|
||||
influenced = set()
|
||||
|
||||
# Get neighbors in graph
|
||||
neighbors = self.get_neighbors(decision_id, max_depth=max_depth)
|
||||
neighbors = self.get_neighbors(decision_id, hops=max_depth)
|
||||
|
||||
for neighbor in neighbors:
|
||||
if neighbor.get("type") == "decision":
|
||||
|
||||
Reference in New Issue
Block a user