jevrecipes

Recipe catalog / evidence-independence

Compare the origins of two pieces of evidence

evidence-independence is a Jev recipe from the jev-recipes TypeScript package. Check whether supplied provenance shows shared or separate evidence origins for one claim, or leaves their relationship unresolved. Use it when you need to check whether two reports rely on the same underlying source before treating them as corroboration.

Last updated .

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

How do I use evidence-independence 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 { evidenceIndependence } from 'jev-recipes/evidence-independence';

const result = await evidenceIndependence({
  "claim": "The service outage began at 09:00.",
  "firstProvenance": "Report A copies the start time from status notice N17 published by the service operator.",
  "secondProvenance": "Report B cites Report A and repeats the start time from the same operator notice N17."
});
console.log(result);

What input does evidence-independence take?

FieldTypeNeeded
claimstringRequired
firstProvenancestringRequired
secondProvenancestringRequired
minConfidencenumberOptional
Full input and result schemas
{
  "input": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "claim": {
        "type": "string",
        "description": "One claim that defines which supporting evidence origins matter."
      },
      "firstProvenance": {
        "type": "string",
        "description": "The first report's supplied source chain, observations, data collection, or other origin details for the claim."
      },
      "secondProvenance": {
        "type": "string",
        "description": "The second report's supplied source chain, observations, data collection, or other origin details for the claim."
      },
      "minConfidence": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      }
    },
    "required": [
      "claim",
      "firstProvenance",
      "secondProvenance"
    ]
  },
  "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": [
          "shared_origin",
          "separate_origins",
          "unclear"
        ]
      },
      "confidence": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      },
      "probabilities": {
        "type": "object",
        "propertyNames": {
          "type": "string",
          "enum": [
            "shared_origin",
            "separate_origins",
            "unclear"
          ]
        },
        "additionalProperties": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "required": [
          "shared_origin",
          "separate_origins",
          "unclear"
        ]
      }
    },
    "required": [
      "model",
      "usage",
      "status",
      "verdict",
      "confidence",
      "probabilities"
    ],
    "additionalProperties": false
  }
}

What does a evidence-independence 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 evidence-independence.

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

Input

Supply non-empty text for each required field. 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
shared_origin The supplied chains show material evidence for the claim originating from at least one shared source, observation, or dataset.
separate_origins The supplied chains affirm separately obtained original evidence for the claim with no material shared origin described.
unclear The supplied provenance does not establish shared or separate material origins for this claim.

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 high confidence or with a zero threshold. ready describes confidence in the annotation, not approval to act.

Decision boundaries

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

Supplied situation Intended verdict
Both reports cite the same operator notice for the claimed outage start time. shared_origin
One report copies the other's observation for the claim, with different wording. shared_origin
Two analyses support the claim using the same underlying dataset, even if their conclusions differ. shared_origin
One report adds a new measurement but also relies materially on a dataset used by the other. shared_origin
Two witnesses explicitly describe separately observing the same event without relying on each other's accounts. separate_origins
Two labs explicitly collect separate original samples; they use the same protocol and no shared claim evidence. separate_origins
Reports have different authors and publishers but no original-source details. unclear
The second report's provenance is unknown or contains contradictory source descriptions. unclear

Reuse

Use this before counting sources as corroborating evidence. Preserve unknown provenance as unclear instead of treating each publication as another independent observation. See the AI alignment research guide for evaluator validation.

Uses the shared choice helper and makes one logical Jev request. It does not call another recipe or perform application actions.

Limits

How accurate is evidence-independence?

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 evidence-independence?