logical.latestfunctionno test imports itfunction latest(evidence: readonly Evidence[]): readonly Evidence[]The latest record of each source and method: a later result replaces an earlier one of the same kind of look.
How objectives and requirements stand from the evidence (0002-objective-evidence FR-002 to FR-004, FR-006): a pure function of the objectives, the evidence and the instant. Within one source and method the latest record is the one that counts; an expired record is stale; any live failure makes the objective not met; an objective is met only where a person has determined it from live passing evidence, or not applicable where a person has said so with a reason; evidence only from tools supports it and nothing more. There is no percentage: the roll-up of a requirement is a standing and the counts beside it.
import { standingOf } from "./determine.ts";
standingOf([], "2026-11-21T00:00:00Z"); // "no-evidence"logical.latestfunctionno test imports itfunction latest(evidence: readonly Evidence[]): readonly Evidence[]The latest record of each source and method: a later result replaces an earlier one of the same kind of look.
logical.standingOffunctionno test imports itfunction standingOf(evidence: readonly Evidence[], now: string): "met" | "no-evidence" | "not-applicable" | "not-met" | "stale" | "supported"How one objective stands from the evidence recorded against it, at an instant.
logical.ObjectiveLinetypeno test imports ittype ObjectiveLine = { readonly objective: Objective; readonly standing: Standing; readonly evidence: readonly Evidence[] };One objective with its standing and the records that settled it.
logical.RequirementLinetypeno test imports ittype RequirementLine = { readonly requirement: string; readonly rollup: Rollup; readonly counts: Readonly<Record<Standing, number>>; readonly objectives: readonly string[] };One requirement with its roll-up and the count of its objectives in each standing.
logical.Assessmenttypeno test imports ittype Assessment = { readonly framework: string; readonly now: string; readonly objectives: readonly ObjectiveLine[]; readonly requirements: readonly RequirementLine[]; readonly counts: Readonly<Record<Standing, number>>; readonly strays: readonly string[] };The whole assessment of a framework.
logical.rollupOffunctionno test imports itfunction rollupOf(counts: Readonly<Record<"met" | "no-evidence" | "not-applicable" | "not-met" | "stale" | "supported", number>>): "met" | "no-evidence" | "not-applicable" | "not-met" | "partial"The roll-up of a requirement from the standings of its objectives.
logical.assessfunctionno test imports itfunction assess(framework: string, objectives: readonly Objective[], evidence: readonly Evidence[], now: string): AssessmentThe assessment of a framework: each objective's standing, each requirement's roll-up, the counts, and the evidence that names an objective the framework does not have (strays).
latestfunctionno test imports itfunction latest(evidence: readonly Evidence[]): readonly Evidence[]The latest record of each source and method: a later result replaces an earlier one of the same kind of look.
standingOffunctionfunction standingOf(evidence: readonly Evidence[], now: string): "met" | "no-evidence" | "not-applicable" | "not-met" | "stale" | "supported"How one objective stands from the evidence recorded against it, at an instant.
ObjectiveLinetypeno test imports ittype ObjectiveLine = { readonly objective: Objective; readonly standing: Standing; readonly evidence: readonly Evidence[] };One objective with its standing and the records that settled it.
RequirementLinetypeno test imports ittype RequirementLine = { readonly requirement: string; readonly rollup: Rollup; readonly counts: Readonly<Record<Standing, number>>; readonly objectives: readonly string[] };One requirement with its roll-up and the count of its objectives in each standing.
Assessmenttypeno test imports ittype Assessment = { readonly framework: string; readonly now: string; readonly objectives: readonly ObjectiveLine[]; readonly requirements: readonly RequirementLine[]; readonly counts: Readonly<Record<Standing, number>>; readonly strays: readonly string[] };The whole assessment of a framework.
rollupOffunctionno test imports itfunction rollupOf(counts: Readonly<Record<"met" | "no-evidence" | "not-applicable" | "not-met" | "stale" | "supported", number>>): "met" | "no-evidence" | "not-applicable" | "not-met" | "partial"The roll-up of a requirement from the standings of its objectives.
assessfunctionfunction assess(framework: string, objectives: readonly Objective[], evidence: readonly Evidence[], now: string): AssessmentThe assessment of a framework: each objective's standing, each requirement's roll-up, the counts, and the evidence that names an objective the framework does not have (strays).