You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the algorithm that builds the default tree from the list of rules defining a variable expects that there are no cycles in the label and exception declaration.
This requirement is not enforced, so we should built a dependency graph whose vertices are label and edges are exception, and check for cycles in this graph for each scope variable (defined by a list of rules).
The code for this graph checking could live in src/catala/desugared/dependency.ml.
The text was updated successfully, but these errors were encountered:
Right now the algorithm that builds the default tree from the list of rules defining a variable expects that there are no cycles in the
label
andexception
declaration.catala/src/catala/desugared/desugared_to_scope.ml
Lines 25 to 33 in 839310d
This requirement is not enforced, so we should built a dependency graph whose vertices are
label
and edges areexception
, and check for cycles in this graph for each scope variable (defined by a list of rules).The code for this graph checking could live in
src/catala/desugared/dependency.ml
.The text was updated successfully, but these errors were encountered: