--- title: "Models & scores | Darwinium" slug: "models-and-scores" description: "Configure and interpret Darwinium models and scores, and understand their role in journey risk assessment." updated: 2026-10-16T02:27:10Z published: 2025-12-10T04:34:32Z canonical: "docs.darwinium.com/models-and-scores" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.darwinium.com/llms.txt > Use this file to discover all available pages before exploring further. # Models & scores Darwinium provides score attributes. A Model Score can be a better way to evaluate risk, and apply subsequent decision *thresholds* compared to individual Rules alone. ## Types of Scores and Models Scores are contained inside the map attribute and accessed with: - step_name - model_name (given in the Workflow of that step in journey file) ```sql outcome[CHAMPION].models.score['step_name.model_name'] ``` An easier expression for accessing this attribute, independent of step: ```sql modelScore('model_name') ``` #### Ruleset Score Darwinium Rulesets also can function as models. The ruleset score is the linear sum of all individual scores for rules that evaluated to True. The score takes an integer value between -1000 (most risky) to +1000 (least risky), where more or less is clipped to those values. The scores and rule score contributions are shown in the Event View to aide investigators. ![](https://cdn.document360.io/db6f7316-640d-4099-b5a1-b01b4dbd17fc/Images/Documentation/Screenshot%202025-12-10%20at%2012.07.22.png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A45%3A22Z&se=2026-11-19T13%3A45%3A22Z&sr=b&sp=r&sig=LNnSpCPsdD1QjxmwkLLOwcEwYD%2FbFwFvcY5AnQqrGOE%3D) #### Machine Learning Models Machine learning models can be executed in the Darwinium engine, outputting a float value (eg. score, probability). [Machine Learning Execution](/v1/docs/machine-learning) #### Decision Strategy Score Decision strategy is a special ruleset which always runs last. They have a single score that works in same way as a ruleset and is output to a separate attribute. ```sql outcome[CHAMPION].decision_strategy.score ``` ## Using Scores in Decisions The Model Scores and Results can be referenced in Rulesets, including the final Decision Strategy to contribute to decisions. ```sql modelScore('model_name') <= -800 ``` How do I know which runs first, the Model or a Ruleset that needs to use the Model? To use a Model output, the Model must be scheduled to run before the Ruleset that uses it. Decision Strategies can use any Model outputs by default, as they are guaranteed to run last. See Understanding Dependencies for more details on the order of execution.