📄️ Writing Rules
Rules are classes that contain instance of Input filled with UnaryTests and instance of Output filled
📄️ Hit Policies
HitPolicy defines how the output of a decision is computed from the results of particular rules. The available
📄️ Diagnostics
Decisions4s aims to help not only evaluate and visualize the decisions but also to understand them.
📄️ Effectful Evaluation
Decisions4s allows evaluating a decision based on effectful inputs, e.g., when network call is required for a
📄️ Visualisations
Providing a visual representation of decision logic is a core concern of Decisions4s.
📄️ Persistence
Decisions4s supports loading decision tables from external sources using expression languages. This allows storing decision logic in databases, configuration files, or receiving them from external services, while maintaining type safety at the Scala level.