What is DY?

DY measures how effectively you use decision models.

DY, Decision Yield, looks at how you and your code use models like TypeSafe’s Jev: typed state and questions in, typed decisions with probabilities and confidence out.

Decisions, Not Conversations

A chat model writes an answer for you to read. A decision model makes a decision your code can act on, weighing every allowed answer at once.

A Chat Model
Should we approve this refund?

Someone reads it, then decides.

A Decision Model
order_total:64.00
days_since_delivery:3
reason:"damaged"
question:"Approve the refund?"
ApproveEscalateDeny
  • Approve86%
  • Escalate11%
  • Deny3%

Confidence High

Your code acts on it.

What DY Looks At

How a decision is built, and what it returns.

State

order_total:64.00
days_since_delivery:3
reason:"damaged"

Question

"Approve the refund?"

ApproveEscalateDenyNone of These
Jev, a decision model
  • Approve86%
  • Escalate11%
  • Deny3%
Confidence High Acted on
Later: the refund was right. The decision held up.

How It’s Built

What It Returns

Confidence, Put to Work

A decision model says how sure it is. DY looks at whether your code listens.

Uses the ConfidenceActs on strong answers. Escalates weak ones.
  • Refund #48213ApproveHighActed on
  • Refund #48214DenyHighActed on
  • Refund #48215ApproveLowEscalated to you

Every decision it accepted held up.

Treats Every Answer as CertainActs on every answer, however unsure.
  • Refund #48213ApproveHighActed on
  • Refund #48214DenyHighActed on
  • Refund #48215ApproveLowActed on anyway

One accepted decision didn’t hold up.

Built for Every Decision Model

DY measures the decision-model category, not one vendor’s model, so results stay comparable as new models arrive.

  • Jev

    TypeSafe AI

  • Clef

    Cloudflare

  • SubQ Snap

    Subquadratic

DY

One Measure

See It in Worsley

Every decision your code asks for is scored as it happens. Here’s a month of sample decisions: each numbered mark is a change to how the decisions were built or used, and what it did to DY.

  1. 1Nov 2+8.4 DY

    Gave the refund question a way out

    The question only offered Approve or Deny, so unclear requests were forced into one. Adding Escalate, with a description, let the model say none fit.

    Questions71 to 86
  2. 2Nov 11+9.1 DY

    Sent weak answers to a person

    The code acted on every answer. Now anything under 30% confidence goes to the review queue, and the decisions it acts on hold up.

    Confidence Use58 to 84
  3. 3Nov 19−4.2 DY

    Added the full order history to the state

    Every call started sending a customer’s whole order history, most of which the decision doesn’t need. DY dipped, and “Trim the state” went to the top of What to Change First.

    State81 to 72

See how well you use decision models.

Connect Worsley and keep building. Worsley measures how well your decisions pay off and tells you what to change.

State
Refund request, order #48213
Question
Approve the refund?
  • Approve82%
  • Escalate13%
  • Deny5%
Decision ApproveConfidence High