Commit Graph

7 Commits (cycles-detection-with-context)

Author SHA1 Message Date
Alexandre Hajjar d705e7e047 🚧 WIP - Building the cycles graph by taking into account parent rule
This contextualization will allow to have a (more complex) graph that
will contain the information of the parent rule of the current rule.
This will allow calling `getApplicableReplacedBy` and thus remove the
flattening logic, which was imperfect.

On the other hand, this needs to make recursive calls to
`ruleDepsOfRule` in case of a reference node, and thus make the graph
much fatter.

Approx TODO (see `ruleDependencies.ts`):

- [ ] refactor to propagate the `parentRuleNode` in the rule
      dependencies
- [ ] build recursive calls into `ruleDepsOfReference`
2020-10-01 12:15:43 +02:00
Alexandre Hajjar b5acf267bf Cycles: remove remplace one-level loops 2020-09-24 00:27:43 +02:00
Alexandre Hajjar a1bb8bebac Cycles: add DependencyType in the dependency graph 2020-09-22 19:48:06 +02:00
Alexandre Hajjar cfd6f8d813 📝 Split up and document `getApplicableReplacements` 2020-09-08 18:07:58 +02:00
Maxime Quandalle ac8f09fd16 ⚙️ Intégre les missingVariables dans le moteur 2020-06-04 12:36:58 +02:00
Johan Girod f3c9d7c60d 🐛 corrige le montant de la CSG dans l'aide aux indépendants
note : il faudra songer sérieusement à modifier ce mécanisme de composante, source de nombreux bug (cf #874)

Ajoute des tests de non regressions pour la page d'aide
2020-05-19 18:07:19 +02:00
Johan Girod d91283cde2 🔥 Sépare le moteur dans un packet isolé 2020-05-14 15:25:22 +02:00