fix: define hasGraph in ReasoningWorkspace scope for Experiment 11 toggle
This commit is contained in:
@@ -575,6 +575,7 @@ export default function ReasoningWorkspace({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const graph = result?.situationGraph ?? null;
|
const graph = result?.situationGraph ?? null;
|
||||||
|
const hasGraph = Boolean(graph);
|
||||||
const diagnostics = result?.diagnostics ?? null;
|
const diagnostics = result?.diagnostics ?? null;
|
||||||
const newlySurfacedNodeIds = result?.newlySurfacedNodeIds || [];
|
const newlySurfacedNodeIds = result?.newlySurfacedNodeIds || [];
|
||||||
const genuineCompletion = hasGenuineCompletion(graph);
|
const genuineCompletion = hasGenuineCompletion(graph);
|
||||||
|
|||||||
Reference in New Issue
Block a user