Skip to main content

Core concepts: investigations, evidence and findings

Path
4 of 5 · Understand the science
For
End users and developers
Status: SHIPPED

These entities exist in code; measurements on live data are a DESIGN GOAL until vyom#323 lands.

Investigation lifecycle​

An Investigation has eleven states: REQUESTED, PLANNING, DATA_DISCOVERY, ANALYSIS, EVIDENCE_COLLECTION, VALIDATION, SYNTHESIS, and the terminal states COMPLETED, FAILED, INSUFFICIENT_EVIDENCE and CANCELLED (state machine; docs/51 section 2).

Terminal stateProduces a Finding?Meaning
COMPLETEDYes, with a claims outcomeThe evidence is sufficient and supports at least one falsifiable Claim
INSUFFICIENT_EVIDENCEYes, with an INSUFFICIENT_EVIDENCE outcome that records what was checked and whyA correct scientific outcome, not a failure
FAILEDNo new FindingAn operational or system failure, for example an exhausted progress budget or an unreachable store. Existing valid evidence stays intact
CANCELLEDNoThe user (or the Investigator's own re-planning) abandoned the Investigation before it concluded

Source: docs/51 section 7; constitution section 7.

Only COMPLETED and INSUFFICIENT_EVIDENCE Investigations can be reopened, by the user, into a new plan; FAILED and CANCELLED are dead ends. Cancellation is defined (state machine; docs/51 section 9, section 10). If no investigator runner is running, new Investigations stay REQUESTED (infra/compose/README.md).

Investigation lifecycle: 11 states. REQUESTED goes to PLANNING; PLANNING goes to DATA_DISCOVERY or ANALYSIS, which can cycle between each other within one plan; both go to EVIDENCE_COLLECTION, then VALIDATION. VALIDATION re-plans back to PLANNING, goes to SYNTHESIS when evidence is sufficient, or to INSUFFICIENT_EVIDENCE. SYNTHESIS goes to COMPLETED or, rarely, INSUFFICIENT_EVIDENCE. The user can reopen COMPLETED or INSUFFICIENT_EVIDENCE back to PLANNING. Any state from REQUESTED through SYNTHESIS can go to FAILED or CANCELLED, which record no Finding.Investigation lifecycle: 11 states. REQUESTED goes to PLANNING; PLANNING goes to DATA_DISCOVERY or ANALYSIS, which can cycle between each other within one plan; both go to EVIDENCE_COLLECTION, then VALIDATION. VALIDATION re-plans back to PLANNING, goes to SYNTHESIS when evidence is sufficient, or to INSUFFICIENT_EVIDENCE. SYNTHESIS goes to COMPLETED or, rarely, INSUFFICIENT_EVIDENCE. The user can reopen COMPLETED or INSUFFICIENT_EVIDENCE back to PLANNING. Any state from REQUESTED through SYNTHESIS can go to FAILED or CANCELLED, which record no Finding.
Investigation lifecycle: every legal state transition. · vyom d8b2e7a

Every arrow is a legal transition in the state machine (investigation_state_machine.py; docs/51 section 4).

Plans and approvals​

Plans are versioned: the version goes up on every re-plan. Each planned step has a status: pending, dispatched, succeeded, failed or skipped (superseded by a re-plan before it ran) (investigation_plan.py, version).

Steps in confirmation tier B or C need an explicit confirmation before they are dispatched (tiers). On agent_v3 (the sole executable Investigation runtime under ADR-036), the owner approves or denies a pending deferred tool call over the API (POST /v1/investigations/{id}/deferred-calls/{request_id}/decision), sending the last seen revision in an If-Match header (preconditions.py).

Evidence, Measurement, Claim, Finding, Provenance​

These are real domain entities in packages/domain (evidence.py, analysis.py, archive.py; glossary). An earlier placeholder on this site listed "worlds, models, experiments, runs"; those do not exist in Vyom.

After a committed turn, the Evidence Store is authoritative. A Measurement's value, unit and uncertainty come from a typed tool result, never from the model (ADR-020).

A retrieval account sits beside the Finding and is not a scientific record: a successful lookup is not a scientific conclusion (ADR-025; vyom#305, closed).

When an INSUFFICIENT_EVIDENCE Finding carries the reason code tool_capability_gap, the web workspace shows an explanation with the recorded narrative (finding-reason.ts; insufficient-evidence.tsx).

Provenance chain, in short: Claim -> Evidence -> Measurement -> ToolInvocation and the Product it was measured from -> Dataset -> Exposure or Association -> ArchivalObservation. A Dataset roots to exactly one Exposure or one Association (an ASN, which is JWST only), not directly to an ArchivalObservation (docs/30; archive.py). A Measurement is measured from exactly one Source, Region, Product or Spectrum (analysis.py). Measurements on live data are a design goal (vyom#323). The full chain gets its own page: vyom-docs#8.

  1. FindingClaims with Confidence, or INSUFFICIENT_EVIDENCE.
  2. ClaimCarries one of five Confidence levels. A VERY_LOW Claim is not eligible to be issued.
  3. EvidenceAuthoritative in the Evidence Store once a turn commits.
  4. MeasurementValue, unit and uncertainty come from a typed tool result, never from the model. DESIGN GOAL · vyom#323 on live data
  5. ToolInvocation and ProductThe tool run, and the Product the Measurement was taken from.
  6. DatasetRoots to exactly one Exposure or one Association.
  7. Exposure or AssociationAn Association (ASN) is JWST only.
  8. ArchivalObservationThe observation in MAST.
Illustration · anatomy of a Finding, read top to bottom as “is backed by”. Source: core concepts, vyom d8b2e7a.

Confidence​

Confidence has five levels: VERY_HIGH, HIGH, MODERATE, LOW, VERY_LOW. Visual confidence is barred from the scoring pipeline (confidence_scoring.py; docs/52 section 4.2).

Confidence is never used to paper over a genuine gap. (docs/52 section 4.5)

A Claim whose computed level is VERY_LOW is not eligible to be issued (docs/52 section 4.5).

Vision​

Vision review is non-authoritative by design. There is no live vision model today: the vision profile is disabled (models.ts; vyom#165, open).

Next step: Data sources and limits →What archive data is in scope, and what is not.