Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

Fix wrong neighbors keyword bug: Correct max_depth to hops parameter

KaifAhmad1fd21ec8c770a
diff --git a/semantica/context/context_graph.py b/semantica/context/context_graph.py
index 260c73ba..f7c165f0 100644
--- a/semantica/context/context_graph.py
+++ b/semantica/context/context_graph.py
@@ -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":