jevrecipes

Recipe catalog / feedback-actionability

Grade feedback actionability

feedback-actionability is a Jev recipe from the jev-recipes TypeScript package. How actionable is feedback for its recipient, on a five-level rubric from no direction to a specific change with reason and example? Use it when you review teacher comments, code review notes, or peer feedback before delivery and want to flag items the recipient could not act on.

Last updated .

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

How do I use feedback-actionability 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 { feedbackActionability } from 'jev-recipes/feedback-actionability';

const result = await feedbackActionability({
  "feedback": "Your introduction buries the thesis in the fourth sentence, so a reader does not know what you are arguing until the paragraph is almost over. Move the thesis to the first or second sentence. For example, open with 'Remote work raised productivity for knowledge workers but widened the gap for new hires,' then use the rest of the paragraph to preview your three sections.",
  "minConfidence": 0.8
});
console.log(result);

What input does feedback-actionability take?

FieldTypeNeeded
feedbackstringRequired
minConfidencenumberOptional
Full input and result schemas
{
  "input": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "feedback": {
        "type": "string"
      },
      "minConfidence": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      }
    },
    "required": [
      "feedback"
    ]
  },
  "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"
        ]
      },
      "score": {
        "type": "number",
        "minimum": 0
      },
      "level": {
        "type": "integer",
        "minimum": 0,
        "maximum": 9007199254740991
      },
      "confidence": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      },
      "probabilities": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        }
      },
      "actionability": {
        "type": "string",
        "enum": [
          "none",
          "vague",
          "directional",
          "specific",
          "complete"
        ]
      }
    },
    "required": [
      "model",
      "usage",
      "status",
      "score",
      "level",
      "confidence",
      "probabilities",
      "actionability"
    ],
    "additionalProperties": false
  }
}

What does a feedback-actionability 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 feedback-actionability.

{
  "model": "demo-fixture",
  "usage": {
    "input_tokens": 0,
    "output_tokens": 0
  },
  "status": "ready",
  "score": 3.84,
  "level": 4,
  "confidence": 0.88,
  "probabilities": {
    "0": 0,
    "1": 0.01,
    "2": 0.02,
    "3": 0.09,
    "4": 0.88
  },
  "actionability": "complete"
}

Input

See shared options and behavior for client configuration, validation, and errors. Types are inferred from this folder's Zod 4 schemas.

Result

actionability is one of none, vague, directional, specific, or complete, taken from the most likely rubric level. level is that level's index from 0 to 4. score is Jev's expected value across the levels and can fall between them; use it for ranking a batch of comments or setting a delivery threshold.

A result is ready when confidence meets minConfidence. Otherwise it is review and still carries the graded values for inspection. probabilities is keyed by level index.

Reuse and calls

Uses the shared score helper. This folder owns the actionability question, the five-level wording, and the review policy. A live invocation makes one logical Jev request.

Limits

The rubric measures how much direction the feedback gives, not whether that direction is right. Confident, specific, wrong advice grades complete. The recipe sees only the feedback text, not the work it comments on, so it cannot tell whether the suggested change is needed. Tone and politeness are ignored; use tone-check for those. Pure praise grades none because it gives the recipient nothing to do, even though praise can be valuable for other reasons.

Example input

demo.json contains editable input and a hand-authored response. After installing jev-recipes, npx jev-recipes demo feedback-actionability shows an offline illustration, not an accuracy measurement. Use npx jev-recipes describe feedback-actionability to inspect the input and result schemas.

How accurate is feedback-actionability?

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 feedback-actionability?