Open michbarsinai opened 4 years ago
Thought: on load, traverse the decision graph recursively, and for each node calculate the best and worst case scenarios. Store with the model version, in a `Map[nodeId,(Int,Int)]. Now, this data is available in O(1) when displaying a question.
E.g. Double progress bar, where there's a bar for best-case and worst-case scenarios. Or a fuzzy counter of "about XX% done", but make the calculation such that the percentage never decreases (can stay at same level, though).