Jev Score places a state on a defined, ordered scale — such as low, medium, high, or critical. It is the rating tool of the Jev toolkit, for when you need to assess quality, risk, or priority against a rubric.
You define a scale — for example, low, medium, high, critical. You give Jev the input (a document, a customer profile, a support interaction). Jev evaluates the input against your rubric and returns one level from the scale.
The return value is an ordered level. Your code can compare levels, route based on thresholds, or display them to users. The scale is defined upfront, so the output is always one of your defined levels — never an arbitrary number.
Each level in a Score should have a distinct, testable definition. Write criteria that explain what makes an input "low" versus "medium" versus "high." If two levels overlap, the decision will be unreliable.
Usually three to five levels is enough. More levels are fine only if each one has a clear, distinct definition. Fewer levels are easier to test and more reliable.
Avoid hard-coded thresholds. If a case is unclear, route it to a qualitative fallback — a human, an LLM, or a request for more information — instead of a fixed cutoff.
You receive a new lead from a form submission. You want to rate their intent as low, medium, or high. Jev Score reads the submission and returns one level.
{
"type": "score",
"question": "How strong is this lead's intent?",
"input": { form_data: lead.submission },
"levels": ["low", "medium", "high"],
"criteria": {
"low": "Vague inquiry, no timeline",
"medium": "Defined need, exploring options",
"high": "Clear budget, timeline, decision maker"
},
"fallback": "low → nurture sequence"
}A Score Decision Spec includes the question, the input fields, the ordered list of levels, the criteria for each level, and the fallback. Jev Fit + Builder generates this as editable JSON, so you can refine the levels and criteria before generating code.
const result = await jev.score({
question: "How strong is this lead's intent?",
input: { form_data: lead.submission },
levels: ["low", "medium", "high"],
});
if (result.value === "high") {
routeToSales(lead);
} else if (result.value === "medium") {
scheduleFollowUp(lead);
} else {
addToNurture(lead);
}Pick one from a set of options.
NoulAnswer a yes/no question.
This one. Rate on an ordered scale.
Describe a scoring or rating task and the analyzer will identify Score steps.
It's a Jev primitive that places a state on a defined, ordered scale — such as low, medium, high, or critical.
Still have questions?
Contact support@jevmodel.co →