Skip to content

Decision models (Jev)

A decision model answers questions about some state instead of writing text. You send the state (a ticket, a document, a JSON record) and one or more typed questions. For each question you get back an answer and a probability for every possible answer. A choice picks one of your options, a score places the state on a scale you describe, and a noul is a yes/no question answered with the probability of yes. There is no output to parse, and the probabilities tell your code when the model is unsure. TypeSafe defined this API (POST /v1/systemone) and makes Jev, a hosted decision model. Turion serves the same API. It hosts Turion Jev 31B, its own decision model; it forwards calls to TypeSafe’s Jev with your own key; and it trains and serves small decision models of your own.

Turion Jev 31B is Turion’s own decision model, a Gemma 4 31B fine-tune with Apache-2.0 weights. It reads one-token option codes after the prompt, so a choice can have up to 255 options, and it calibrates its probabilities per question type. Turion hosts a copy that every workspace calls as turion-jev-31b, with your Turion key and nothing else:

Terminal window
turion decide turion-jev-31b \
--state "I was charged twice for October and nobody answers my emails." \
--noul "refund: does the customer ask for money back?" \
--choice "team: which team should handle this? [billing|tech|sales|other]" \
--score "urgency: how urgent is it? [can wait|this week|today]"
  • Billing. Calls are billed in input tokens, as model garden models are; output tokens are always 0, and the GPU time is not billed to you. The tokens appear in turion usage.
  • Limits. Up to 255 options per choice, 2–10 levels per score and 128 questions per request. A prompt over 16,320 tokens (the state, with every question of the request listed before it) answers 422 context_length_exceeded; nothing is cut.
  • Answers take the shapes below, with probabilities rounded to six decimals and confidence the probability of the chosen option.
  • One request at a time runs on each copy, and each call is one in-flight prediction on your account while it runs, so a burst can answer 429 quota_exceeded.
  • GET /v1/garden/models lists it with "kind": "decision" and "endpoint": "/v1/systemone". turion chat turion-jev-31b fails with 409 decision_model.

To run a copy of your own, deploy the base: turion deploy --base turion-jev-31b makes a decision model <handle>/turion-jev-31b on your account that answers the same API, billed in GPU-seconds and scaled to zero by default. It needs 52 GB of GPU memory, and a cold start downloads and loads about 62 GB of weights, which takes minutes.

You can also fine-tune it: turion train --base turion-jev-31b trains a LoRA (the default) or QLoRA fine-tune, as for Gemma 4 31B (Training). The fine-tune is a chat model on /v1/chat/completions, not a decision model. To train a decision model of your own, see Train your own.

Store a TypeSafe key (from TypeSafe’s console), then ask:

Terminal window
turion providers set typesafe
turion decide typesafe/jev-1.13 \
--state "I was charged twice for October and nobody answers my emails." \
--noul "refund: does the customer ask for money back?" \
--choice "team: which team should handle this? [billing|tech|sales|other]" \
--score "urgency: how urgent is it? [can wait|this week|today]"
QUESTION ANSWER CONFIDENCE PROBABILITIES
refund yes (0.93) 0.93 yes 0.93 · no 0.07
team billing 0.88 billing 0.91 · tech 0.07 · sales 0.01 · …
urgency today (score 1.63) 0.48 today 0.66 · this week 0.31 · can wait 0.03

That is the plain output, as printed into a pipe. On a terminal the same rows are a table, followed by the served model, the token counts and the trace id.

An OpenRouter key works too. OpenRouter serves Jev as typesafe/jev-1.13 (alias ~typesafe/jev-latest) on its own /systemone endpoint, and Turion reaches it with the openrouter/ prefix:

Terminal window
turion providers set openrouter
turion decide openrouter/typesafe/jev-1.13 \
--state "I was charged twice for October." \
--choice "team: which team should handle this? [billing|tech|sales|other]"

Both are billed by the provider on your key, and neither shows up in turion usage. Every call leaves a trace, as chat calls do. typesafe only serves decisions: turion chat typesafe/… does not work.

Terminal window
turion decide MODEL --state TEXT|@FILE|- [--noul SPEC]… [--choice SPEC]… [--score SPEC]… \
[--questions FILE.json] [--json]
OptionFormatBecomes
--noul'id: question'{"type": "noul", "instructions": "question"}
--choice'id: question [a|b|c]'{"type": "choice", "instructions": "question", "criteria": ["a", "b", "c"]}
--score'id: question [low|medium|high]'{"type": "score", …, "criteria": ["low", "medium", "high"]}, lowest level first
--questionsa JSON fileTypeSafe’s questions map, id to question (a whole request body works too; its questions are used)
  • The id is everything before the first :: letters, digits, _, . and -. The question may contain colons. A choice or score needs at least two options in [...] at the end, separated by |. A score takes at most ten levels.
  • Every flag repeats. Questions from --questions come first, then the --noul, --choice and --score flags, and the output rows follow that order. An id used twice is an error.
  • --questions is for anything the flags cannot say: a description per option ("criteria": {"billing": "charges, refunds, invoices", "tech": null}), a noul’s criteria ({"true": "…", "false": "…"}), or instructions and descriptions written as JSON objects or arrays, which the model sees as JSON.
  • --state is the text itself, @FILE to read a file (a .json file is sent as JSON, so its object becomes a structured state; any other file is sent as text), or - to read stdin.

The output has one row per question. A choice shows the chosen option. A score shows the description of the most likely level and, in brackets, the expected score (levels counted from 0). A noul shows yes or no and the probability of that answer. PROBABILITIES lists the three most likely answers, then … if there are more. --json prints the response body as the server sent it.

Terminal window
cat ticket.txt | turion decide acme/ticket-router \
--state - --questions router.json --json

turion chat on a decision model fails with 409 decision_model, and the CLI suggests the turion decide command. turion decide on a chat model fails with 409 not_a_decision_model.

import turion
client = turion.Client()
d = client.decide(
"typesafe/jev-1.13",
{"ticket": "I was charged twice for October.", "plan": "pro"},
{
"team": turion.choice("Which team should handle this?",
{"billing": "charges, refunds, invoices", "tech": None, "sales": None}),
"urgency": turion.score("How urgent is it?", ["can wait", "this week", "today"]),
"refund": turion.noul("Does the customer ask for money back?"),
},
)
d.choices["team"].choice # "billing"
d.choices["team"].probabilities # {"billing": 0.91, "tech": 0.07, "sales": 0.02}
d.scores["urgency"].score # 1.63; levels count from 0
d.scores["urgency"].label # "today", the most likely level
d.nouls["refund"].noul # 0.93, the probability of yes
d.trace_id # turion traces get <id>

turion.choice, turion.score and turion.noul return the question dicts the API takes, so a dict you write by hand works the same. Errors raise TurionError with the server’s code. See Python SDK → Decisions for the full API.

Terminal window
curl https://api.turion.ai/v1/systemone \
-H "Authorization: Bearer $TURION_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "typesafe/jev-1.13",
"state": "I was charged twice for October.",
"questions": {
"team": {"type": "choice", "instructions": "Which team?", "criteria": ["billing", "tech", "sales"]},
"refund": {"type": "noul", "instructions": "Does the customer ask for money back?"}
}
}'
{
"model": "jev-1.13.0",
"answers": {
"team": {
"type": "choice",
"choice": "billing",
"probabilities": {"billing": 0.91, "tech": 0.07, "sales": 0.02},
"confidence": 0.87
},
"refund": {"type": "noul", "noul": 0.93}
},
"usage": {"input_tokens": 212, "output_tokens": 9}
}

The request and response are TypeSafe’s. Turion’s models (turion-jev-31b and your own) answer in the same shapes, with probabilities rounded to four decimals (six on Turion Jev) and usage.output_tokens always 0 (nothing is generated). Shapes and errors: REST API → Decisions.

TypeSafe’s Python SDK (pip install typesafe-sdk) posts to <base_url>/v1/systemone, so it works against Turion when you set three things:

SettingValueOr the environment variable
base_urlhttps://api.turion.ai, without /v1 (the SDK adds /v1/systemone)TYPESAFE_BASE_URL
api_keyyour Turion key, tk_…TYPESAFE_API_KEY
modela Turion model name: turion-jev-31b, typesafe/jev-1.13, openrouter/typesafe/jev-1.13 or acme/ticket-routerTYPESAFE_DEFAULT_MODEL
import os
from typesafe_sdk import Choice, Noul, TypeSafeClient
with TypeSafeClient(
base_url="https://api.turion.ai",
api_key=os.environ["TURION_API_TOKEN"],
model="acme/ticket-router",
timeout=120,
) as client:
response = client.system_one(
state={"ticket": "I was charged twice for October."},
questions={
"team": Choice(instructions="Which team should handle this?",
criteria={"billing": None, "tech": None, "sales": None, "other": None}),
"refund": Noul(instructions="Does the customer ask for money back?"),
},
)
print(response.choices["team"].choice, response.nouls["refund"].noul)

The SDK’s default timeout is 10 seconds. That is enough for Jev, but too short for the first call to your own model after it has scaled to zero, so raise it as above. A cold start can still outlast the proxy in front of api.turion.ai, which answers 524 after 100 to 120 seconds with no answer. The replica keeps starting: call again once it is ready (turion model logs acme/ticket-router --follow shows when).

A decision dataset is JSONL. It is detected automatically, so turion datasets upload and turion train --data take it as they take chat data. Each line is one of three shapes.

One question. The canonical shape. question is a question exactly as the API takes it:

{"state": "I was charged twice for October.", "question": {"type": "choice", "instructions": "Which team should handle this?", "criteria": {"billing": "charges, refunds, invoices", "tech": null, "sales": null, "other": null}}, "answer": "billing"}
{"state": {"ticket": "The app crashes on login", "plan": "pro"}, "question": {"type": "score", "instructions": "How urgent is it?", "criteria": ["can wait", "this week", "today"]}, "answer": 2}
{"state": "Please cancel and refund my last payment.", "question": {"type": "noul", "instructions": "Does the customer ask for money back?"}, "answer": true}
Typeanswer
choicethe option’s name, one of the criteria keys (or list entries)
scorethe level’s number, counting from 0: 0 is the first entry in criteria
noultrue or false

Levels count from 0 here as they do in the API’s score, legend and probabilities, so a score answer of 2 is the level the API calls "2". instructions and every description may be a string, or an object or array, which the model sees as JSON.

Several questions about one state. Expanded to one example per question. Every question needs an answer, and every answer a question:

{"state": "I was charged twice for October.", "questions": {"team": {"type": "choice", "instructions": "Which team?", "criteria": ["billing", "tech", "sales"]}, "refund": {"type": "noul", "instructions": "Does the customer ask for money back?"}}, "answers": {"team": "billing", "refund": true}}

Multiple choice with lettered options. As in the build-your-own write-up. It becomes a choice with an empty state, the question as instructions and the letters as the options:

{"question": "Where would you most likely find a bat?", "A": "Cave", "B": "Baseball game", "C": "Attic", "D": "Zoo", "answer": "A"}

What the CLI checks, naming the file:line of the first problem: the question type, non-empty instructions, 2–26 distinct options for a choice, 2–10 levels for a score, a noul’s criteria limited to true and false, a state that is a string, object or array, and an answer that fits the question (an option name, a level from 0, or true/false). What it uploads is the canonical one-question shape, one example per line, with duplicates dropped.

error: invalid_dataset: decisions.jsonl:42: answer must be one of billing, tech, sales (got 'refunds')
Terminal window
turion train --base gemma-4-e4b --data decisions.jsonl --name ticket-router
# validated decisions.jsonl: decision, 2,400 examples, no duplicates
# decision data: training a decision model (--method decision)
# …

With decision data, turion train uses --method decision on its own. Passing --method lora with decision data, or --method decision with any other format, is refused before anything is uploaded. turion bases lists decision among the methods of the bases that support it, and any hf: base can be tried too.

What a decision job trains:

  • The prompt is the state, the question and the options labelled A, B, C, …, rendered with the base’s chat template. The model’s answer is read from the scores the base gives the letters at the first position of its reply, so it can only answer with one of your options.
  • The base model stays frozen. The job encodes each example once with it and keeps the result, which is most of the job’s time: about 0.85 seconds per example on a laptop CPU for a 0.8B base. Then it trains only the 26 rows of the output layer that score the letters A–Z, starting from the base’s own rows. That part takes well under a second.
  • After training, it fits one temperature on the eval split. The temperature scales the probabilities so that answers given with probability 0.8 should be right about 80% of the time. The job measures how close it gets with the calibration error (ECE) on the held-out cases, cross-fitted so that no case is scored with a temperature fitted on it.
  • The eval scores the base model on its own (zero-shot, original rows) and the trained model on the held-out cases. turion jobs get shows both pass rates, then the trained model’s metrics per question; see Reading the metrics.

The job needs only the memory to run the base for inference (the serve figure in turion bases ID), and the trainer runs on CPU as well as on a GPU, so small bases are cheap to train. The result is a small file, about 60 KB (the trained rows and the temperature), stored on Turion like an adapter.

ParameterCLI flagDefault for decision
epochs--epochs10
learning_rate--lr1e-3
batch_size--batch-size16
max_seq_len--max-seq-len1024
eval_split--eval-split0.2, in whole states, when there is no --evals file (The eval split)

For a complete, runnable example, from generating the data to watching the model work, see Example: Tetris: a game in which every move is one decision.

Train with the questions you will ask, worded the way you will ask them: the model learns to answer that exact text. Ask with the training wording below shows how to call it so it sees the same prompt.

Without --evals, the job holds out part of the data and scores the model on it. It holds out whole states: every question about one state lands on the same side, so the model is never scored on a state it trained on. A record with no state is grouped by its question. The split is also stratified by question and answer, so each answer is held out in about its share of the data.

  • It holds out eval_split of the examples, 0.2 by default, but at least 50, at most 1,000 and never more than half. Whole states can leave it a few short. Under 10 examples there is no eval.
  • An answer that occurs in only one state cannot be on both sides. It stays in training and is not evaluated, with a warning in the job’s log (turion jobs logs) and on its page in the dashboard. turion jobs get prints the first 5 warnings and counts the rest.
  • The split is deterministic: the same data and fraction give the same held-out cases, so two jobs on one dataset are scored on the same questions.
  • With a local file, --eval-split makes the same split on your machine, prints how many examples it held out and any warnings, and uploads the held-out part as <name>-eval. It refuses data with fewer than 10 examples, or with no state it can hold out whole.

The split tells questions apart by their id or their wording, never by their options:

  • a question from a questions map is its id (team);
  • any other question is its instructions, when the same type and wording are asked in at least two examples;
  • a question asked only once, like each lettered multiple-choice record, counts as its type (choice), so one-off questions share one.

So the options can change from state to state. In Tetris each board offers its own legal moves, and the data still has one question, its answers spread over every board.

An --evals file is scored whole, up to 1,000 cases. A training example whose state is also in that file is dropped from training.

turion jobs get on a finished decision job prints the trained model’s metrics on the held-out cases, under the job summary:

…
eval base 63% → tuned 90% (420 cases)
…
tuned · 420 cases · temperature 1.15
question n accuracy (95% CI) macro-F1 (95% CI) majority ECE answers ≥0.9 (accuracy)
refund 140 0.91 (0.86–0.95) 0.89 (0.83–0.94) 0.74 0.047 0.81 (0.95)
team 140 0.89 (0.82–0.93) 0.85 (0.77–0.92) 0.43 0.064 0.52 (0.99)
urgency 140 0.90 (0.84–0.94) 0.90 (0.84–0.95) 0.41 0.065 0.76 (0.99)
all 420 0.90 (0.87–0.93) 0.88 (0.85–0.91) 0.52 0.038 0.70 (0.97)

That is the plain output; on a terminal the rows are a table. turion jobs get --json has the full report for the trained model and for the base, under metrics.final.decision_metrics. In the dashboard, the job’s page shows the same report in a Metrics panel, with the base’s on a second tab, and a confusion matrix and the coverage curve for each question.

Each row is one question, and all pools them (it is left out when there is only one). A row is named as the split tells questions apart: by the question’s id in the data, a key of a questions map; else by its wording; and questions that each occur once, like the lettered multiple-choice shape, share one row named by their type, such as choice. A question whose options change from case to case is still one row, and its confusion matrix has a row and a column for every option any case offered; past 50 options it has no matrix, and n_labels in --json counts them. The table shows at most 20 questions, the ones with the most cases, and counts the rest; --json has them all.

Row names depend on the data that was scored. A wording asked once in an eval file is a row named choice in an eval run on that file, but a row named by its wording in a training job that saw it in its training data too. Compare runs by their overall numbers, or score the versions together in one eval run, rather than matching rows across runs.

ColumnWhat it is
nthe held-out cases for this question
accuracy (95% CI)the share answered right, with its 95% Wilson interval
macro-F1 (95% CI)the F1 score of each answer, averaged with equal weight, with a 95% bootstrap interval. In all, each question counts by its number of cases
majoritythe accuracy of always giving the question’s most common answer
ECEthe calibration error: how far the probabilities are from how often the answers are right. 0 is perfect
answers ≥0.9 (accuracy)the share of cases answered with a probability of 0.9 or more, and the accuracy on those

Compare with the baseline first. If 74% of the held-out tickets ask for no refund, a model that always says no scores 0.74. Accuracy at or near majority means the model has learned little beyond which answer is common. Macro-F1 shows the same thing from the other side: it averages the F1 of each answer with equal weight, so a rare answer the model never gives scores 0 and pulls macro-F1 well below accuracy.

Read the intervals. Both intervals are 95%, and both narrow as the number of cases grows. Accuracy’s is a Wilson interval. Macro-F1’s comes from 1,000 bootstrap resamples of the cases, seeded, so the same cases always give the same interval. With 140 cases, the team accuracy of 0.89 could be anything from 0.82 to 0.93. Under 100 cases in all, the CLI adds fewer than 100 eval cases: treat these numbers as rough. To tell whether a retrain beats the model it replaces, do not compare two jobs’ intervals: score both on the same cases. A retrain makes a new model, so name the old one with --against: turion eval acme/triage-2 --against acme/triage --evals ds_… puts an interval on the difference itself (Evals → Decision models). Both must be trained on the same base model, with at most one pinned revision of it between them; a model trained before revisions were pinned is scored on the other’s revision, and the run’s notes say so.

Calibration. ECE sorts the cases into 15 bins by the probability of the given answer. In each bin it takes the gap between the bin’s mean probability and the share of its answers that were right, and averages the gaps, weighted by the cases in each bin. An ECE of 0.038 means the probabilities are off by about 4 points on average. The temperature is fitted on the held-out cases themselves, so the ECE is cross-fitted: the cases are split into 5 folds, and each fold is scored with a temperature fitted on the other four. That makes it an out-of-sample number, not the fit’s own error. Under 10 cases there is too little to fold, and the ECE is in-sample. The coverage curve below, and the Brier score in --json, use the temperature the model ships with, and so does ece_shipped in --json, the ECE an eval run shows. The job’s page draws the 15 bins behind the ECE as a reliability strip: a bar per bin up to the share of its answers that were right, with a mark at their mean probability. A calibrated model’s bars end at their marks.

The probabilities let your code act on the answers the model is sure of and send the rest to a person. The coverage curve shows where to draw the line. For each threshold (0.5, 0.6, 0.7, 0.8, 0.9, 0.95 and 0.99) it has the share of cases the model answered with at least that probability (answered) and the accuracy on those cases. The table above shows the 0.9 point: the model answered 52% of the team cases with a probability of 0.9 or more, and 99% of those were right. The whole curve is in --json, as each question’s coverage, and the job’s page draws it. For team:

ThresholdAnsweredAccuracy
0.50.930.92
0.60.870.94
0.70.810.95
0.80.670.99
0.90.520.99
0.950.391.00
0.990.141.00

To pick a threshold for one question:

  1. Decide the accuracy the automatic path needs. Say a misrouted ticket is cheap to fix, and 98% is enough.
  2. Take the lowest threshold whose accuracy meets it: 0.8 here. answered at that threshold is the share you can handle without a person, 67% of tickets.
  3. Check how many cases that rests on. At 0.8 it is 93 right out of 94, whose 95% interval runs from 0.94 to 1.00. At 0.99 it is 20 out of 20, which still allows 0.84: a higher threshold has fewer cases behind it. If the lower end is too low for you, score a larger eval set before you rely on the threshold.
  4. In your code, act only when the answer’s probability reaches the threshold:
team = client.decide("acme/ticket-router", ticket, questions).choices["team"]
if team.confidence >= 0.8:
assign(ticket, team.choice)
else:
send_to_review(ticket)

On your own models confidence is the probability of the given answer, the number the curve is measured on (for a noul, the SDK’s max(p, 1 − p)). Pick a threshold per question, since their curves and the cost of a wrong answer differ. The curve is measured on the held-out cases, so it holds in production only as far as production looks like them. To check it on recent data, score the model on a new dataset with turion eval.

Terminal window
turion deploy acme/ticket-router
turion decide acme/ticket-router \
--state @ticket.txt --questions router.json

router.json holds the question exactly as the training data has it; see Ask with the training wording.

A decision model deploys like a fine-tune: it scales to zero by default, and the same --min-replicas, --max-replicas and --keep-alive knobs apply (Deploy & call). It answers on POST /v1/systemone only. Until it is deployed, calls answer 409 model_not_deployed. Each call runs as a prediction on your account, and the model is billed for the time its replicas are up, like any deployed model.

A decision model you train answers best when you ask it exactly what it was trained on. It does not see your question as structured data. It sees text: the state, then the question’s instructions, then each option as A. name: description, in the order you list them. That text is what it learned to answer. For the first example in Dataset format, the model reads this prompt, wrapped in the base’s chat template:

State:
I was charged twice for October.
Question: Which team should handle this?
Options:
A. billing: charges, refunds, invoices
B. tech
C. sales
D. other
Answer with the letter of one option.

Keep three things the same as in the training data:

  • the question’s wording, word for word (instructions);
  • the option names, or a score’s levels, in the same order;
  • the option descriptions, or their absence.

A reworded question, a reordered list or a dropped description makes a prompt the model never saw, and its answers get worse. The question id (team) is only the key of the answer and is not part of the prompt, so you can choose it freely. Shape the state the same way too: a model trained on JSON states wants JSON with the same keys.

--choice sends option names without descriptions. When the training data has descriptions, copy the question from the data into a file and pass it with --questions. For the training example in Dataset format:

router.json
{
"team": {
"type": "choice",
"instructions": "Which team should handle this?",
"criteria": {
"billing": "charges, refunds, invoices",
"tech": null,
"sales": null,
"other": null
}
}
}
Terminal window
turion decide acme/ticket-router \
--state @ticket.txt --questions router.json

When the training data lists the options without descriptions ("criteria": ["billing", "tech", "sales", "other"]), --choice sends the same question, as long as the text after team: matches the instructions exactly, capital letter included:

Terminal window
turion decide acme/ticket-router --state @ticket.txt \
--choice "team: Which team should handle this? [billing|tech|sales|other]"

The same file works against Jev, which is a quick way to compare your model with the official one on the same question:

Terminal window
turion decide openrouter/typesafe/jev-1.13 \
--state @ticket.txt --questions router.json

model decides where a decision call goes:

modelServed byKey and billing
turion-jev-31bTurion Jev 31B, the copy Turion hosts in the model gardenyour Turion key; input tokens
typesafe/<id>, e.g. typesafe/jev-1.13TypeSafe, https://api.typesafe.ai/v1/systemone, with model: "<id>"your typesafe key; billed by TypeSafe
openrouter/typesafe/<id>, e.g. openrouter/typesafe/jev-1.13OpenRouter, https://openrouter.ai/api/v1/systemone, with model: "typesafe/<id>"your openrouter key; billed by OpenRouter
<owner>/<name>your deployed decision model (one you trained, or a deploy of turion-jev-31b), on Turion GPUs or your own nodesyour Turion key; GPU-seconds

A trace records each call, with route garden, provider or self_hosted and the token counts from usage.

  • 26 options. A decision model you train labels options with the letters A–Z, so a choice takes 2–26 options; more answer 422 too_many_options. Turion Jev and TypeSafe’s Jev take up to 255.
  • 2–10 levels per score, on every model.
  • 128 questions per request on Turion’s models, yours and Turion Jev (422 too_many_questions). A state and question too long for the model’s context answer 422 context_length_exceeded.
  • Confidence is not TypeSafe’s. On Turion’s models, confidence is the calibrated probability of the chosen option, or for a score of the most likely level. TypeSafe computes it differently: for a choice, how far the top probability sits above an even split, (p_max − 1/n) / (1 − 1/n), and for a score from how spread out the levels are. The same number means different things on the two, so compare probabilities, not confidences, when you switch between them.
  • Nouls have no confidence on the wire. The SDK and the CLI show the probability of the more likely side, max(p, 1 − p).

The way Turion trains its own decision models follows Nish Tahir’s Build your own decision model. The API, the three question types and Jev are TypeSafe’s.