jevrecipes

Recipe catalog / question-assumption

Check what a question takes for granted

question-assumption is a Jev recipe from the jev-recipes TypeScript package. Label whether a question takes a supplied claim for granted or leaves that claim open. Use it when you need to identify a specific assumption in a question before using it in a conversation, survey, or evaluation.

Last updated .

Explore this recipe interactively · Source and implementation guide · Markdown version

How do I use question-assumption in TypeScript?

Install with npm install jev-recipes. Requires Node.js 22.9 or newer and ES modules. Set TYPESAFE_API_KEY in your server environment for live calls, which send input to TypeSafe and use API quota. See the installation guide.

import { questionAssumption } from 'jev-recipes/question-assumption';

const result = await questionAssumption({
  "question": "Why did you delete the file?",
  "claim": "You deleted the file."
});
console.log(result);

What input does question-assumption take?

FieldTypeNeeded
questionstringRequired
claimstringRequired
contextstringOptional
minConfidencenumberOptional
Full input and result schemas
{
  "input": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "question": {
        "type": "string",
        "description": "One question, including any framing visible to the respondent."
      },
      "claim": {
        "type": "string",
        "description": "One specific proposition to check for an assumption in the question."
      },
      "context": {
        "type": "string",
        "description": "Supplied context needed to resolve references and interpret the question and claim."
      },
      "minConfidence": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      }
    },
    "required": [
      "question",
      "claim"
    ]
  },
  "result": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "model": {
        "type": "string"
      },
      "usage": {
        "type": "object",
        "properties": {
          "input_tokens": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "output_tokens": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "input_tokens",
          "output_tokens"
        ],
        "additionalProperties": false
      },
      "status": {
        "type": "string",
        "enum": [
          "ready",
          "review"
        ]
      },
      "verdict": {
        "type": "string",
        "enum": [
          "assumed",
          "not_assumed",
          "unclear"
        ]
      },
      "confidence": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      },
      "probabilities": {
        "type": "object",
        "propertyNames": {
          "type": "string",
          "enum": [
            "assumed",
            "not_assumed",
            "unclear"
          ]
        },
        "additionalProperties": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "required": [
          "assumed",
          "not_assumed",
          "unclear"
        ]
      }
    },
    "required": [
      "model",
      "usage",
      "status",
      "verdict",
      "confidence",
      "probabilities"
    ],
    "additionalProperties": false
  }
}

What does a question-assumption result look like?

This hand-authored response demonstrates the contract. It is not a model accuracy measurement. Run it without an API key: npx jev-recipes demo question-assumption.

{
  "model": "demo-fixture",
  "usage": {
    "input_tokens": 0,
    "output_tokens": 0
  },
  "status": "ready",
  "verdict": "assumed",
  "confidence": 0.98,
  "probabilities": {
    "assumed": 0.98,
    "not_assumed": 0.01,
    "unclear": 0.01
  }
}

Input

Supply one question, including the framing the respondent sees, and one specific claim. Optional context can resolve references. Context supporting a claim does not by itself mean the question assumes that claim.

All supplied text must be non-empty. minConfidence defaults to 0.8 and accepts values from 0 to 1. See shared options and behavior for client configuration, validation, and errors.

Result

Verdict Meaning
assumed The question or its visible framing treats the supplied claim as established.
not_assumed The question leaves the claim open, supposes it conditionally, merely quotes it without adoption, or clearly does not concern it.
unclear Unresolved references, ambiguous scope, or conflicting framing prevent a decision.

The result has status: 'ready' when confidence meets minConfidence and the verdict is not unclear. Otherwise it has status: 'review'. An unclear verdict always requires review, even at full confidence and a zero threshold. ready describes the annotation, not whether the question is suitable for an experiment.

Decision boundaries

These cases document the intended policy. They are not human-adjudicated labels or live model evaluation results.

Question and supplied claim Intended verdict
"Why did you delete the file?" Claim: you deleted the file. assumed
"Did you delete the file?" Same claim. not_assumed
"If you deleted the file, why?" Same claim. not_assumed
"When, if at all, did you delete the file?" Same claim. not_assumed
"You deleted the file. Was that accidental?" Same claim. assumed
"I would prefer yes: did you delete the file?" Same claim. not_assumed
"Why did you not delete the file?" Claim: you deleted the file. not_assumed
"Why did you not delete the file?" Claim: you did not delete the file. assumed
"Is 'Why did you delete the file?' a loaded question?" Claim: you deleted the file. not_assumed
"Did you delete the file?" Context says logs show deletion. Claim: you deleted the file. not_assumed
"What color is the logo?" Claim: you deleted the file. not_assumed
"Why did they do it?" Claim: Alex deleted the file. Neither reference is resolved. unclear

Reuse

Use this to flag a specified assumption in an interview question, survey, or evaluation prompt. Question-leading measures pressure toward an answer: a question can pressure agreement while still leaving the underlying claim open. Verify assesses supporting evidence for the claim itself.

For research use, validate labels against independent human annotations and compare response outcomes under controlled wording changes. See the AI alignment research guide.

Uses the shared choice helper and makes one logical Jev request. It does not call another recipe or rewrite questions.

Limits

How accurate is question-assumption?

Fixture only

No verified live accuracy measurement is available. Evaluate representative cases before using this decision in your workflow.

Use the evaluation guide to measure this decision on your own labeled cases.

What are the limits of question-assumption?