Skip to content
oxidaseSign in

Data language

Two colors and a hatch: what a mark means, where its words live, and the truths it never bends.

Marks

Two colors and a hatch. Marks are pictures: their words live in a legend, a label or an accessible name. Thin marks take radius.mark and cells radius.cell; axis labels and keys use meta in tertiary ink; goals are a dashed ink line at low strength, and tooltips are small raised cards.

  • Solid blueObserved; a darker step is more.data.observed, data.ramp1 to ramp8
  • Blue hatch on a pale washSomething that partly happened: a step in progress, or a shortfall.dataStyles.partial
  • Yellow with a darker rimEarned: XP, milestones, standards met.data.earned, data.earnedRim
  • Hollow blue ring or arcA forecast frozen before the session.data.predicted
  • Dashed outlineExcluded, missing, or not yet.dataStyles.excluded
  • Empty cellNo evidence yet.data.empty
  • Empty trackWhat is still to come in a ring, bar or goal column. Never yellow, never drawn as filled.data.track, dataStyles.track

Legends and ladders

A legend lists only the marks its view uses, each named in words. A ladder shows steps such as standards: filled steps are observed, the step in progress is hatched, the rest are empty, and the whole ladder is one image named by its label.

  • Observed
  • In progress
  • Standard met
  • Not yet
Code
<Legend
  items={[{ mark: "observed", step: 6, label: "Observed" }, { mark: "partial", label: "In progress" }, { mark: "milestone", label: "Standard met" }, { mark: "excluded", label: "Not yet" }]}
/>
<Ladder
  steps={6}
  filled={3}
  partial
  label="Standard 3 of 6 met, the fourth in progress"
/>

Evidence wells

The record of a protocol is drawn as round wells, in one vocabulary on the dashboard, the Map, the Journal and run detail. The fill is an observed outcome on the blue ramp, a recorded zero stays visible as the palest step with a rim, a frozen forecast is an arc outside the well, an exclusion keeps a dashed rim and is never filled, recorded assistance adds a notch, and a dotted ring marks the suggested focus.

Code
<Component
  mark={{ kind: "observed", value: 0, predicted: null, assisted: false, excluded: null, label: "Observed 0%" }}
  size={40}
  showValue
/>
<Component
  mark={{ kind: "observed", value: 0.2, predicted: null, assisted: false, excluded: null, label: "Observed 20%" }}
  size={40}
  showValue
/>
<Component
  mark={{ kind: "observed", value: 0.4, predicted: null, assisted: false, excluded: null, label: "Observed 40%" }}
  size={40}
  showValue
/>
<Component
  mark={{ kind: "observed", value: 0.6, predicted: null, assisted: false, excluded: null, label: "Observed 60%" }}
  size={40}
  showValue
/>
<Component
  mark={{ kind: "observed", value: 0.8, predicted: null, assisted: false, excluded: null, label: "Observed 80%" }}
  size={40}
  showValue
/>
<Component
  mark={{ kind: "observed", value: 1, predicted: null, assisted: false, excluded: null, label: "Observed 100%" }}
  size={40}
  showValue
/>
  • Your results
  • Expected before the session
  • Not counted
  • With hints
  • Suggested focus
Code
<span className="x6s0dn4 x78zum5 x1a02dak x1108dl5">
  <Component
    mark={{ kind: "observed", value: 0.6, predicted: 0.72, assisted: false, excluded: null, label: "Observed 60%" }}
    size={40}
    showValue
  />
  <Component
    mark={{ kind: "excluded", value: null, predicted: null, assisted: false, excluded: "interrupted", label: "" }}
    size={40}
  />
  <Component
    mark={{ kind: "observed", value: 0.7, predicted: null, assisted: true, excluded: "assisted", label: "Observed 70%" }}
    size={40}
  />
  <Component
    mark={{ kind: "observed", value: 0.36, predicted: null, assisted: false, excluded: null, label: "Observed 36%" }}
    size={40}
    focusTarget
  />
</span>
<h entries={["observed", "predicted", "excluded", "assisted", "focus"]} />

Plates and strips

A plate shows one faculty: each row is a dimension that changes in the task, and each well is a level that was actually tried. Levels never tried are not drawn, and missing data is never interpolated. A trial strip shows one session's trials, oldest first, as a single image whose name lists every trial.

10 cells: Observed 52%

Code
"use client";

import { useState } from "react";
import { WellPlate, type PlateRow, type PlateSelection } from "@/components/evidence/WellPlate";
import type { EvidenceMark } from "@/lib/evidence-marks";
import { FormStatus, Stack } from "@oxidase/ui";

/* Invented readings. Each well is a level that was actually tried; untried levels are not drawn. */
const mark = (value: number, predicted: number | null = null): EvidenceMark => ({
  kind: "observed",
  value,
  predicted,
  assisted: false,
  excluded: null,
  label: `Observed ${Math.round(value * 100)}%${predicted === null ? "" : `, predicted before the session ${Math.round(predicted * 100)}%`}`,
});

const ROWS: PlateRow[] = [
  {
    id: "cells",
    label: "Cells to hold",
    cells: [
      { key: "4", label: "4 cells", mark: mark(0.96) },
      { key: "6", label: "6 cells", mark: mark(0.88, 0.84) },
      { key: "8", label: "8 cells", mark: mark(0.71) },
      { key: "10", label: "10 cells", mark: mark(0.52), focusTarget: true },
    ],
  },
  {
    id: "hold",
    label: "Hold time",
    cells: [
      { key: "2", label: "2 seconds", mark: mark(0.9) },
      { key: "4", label: "4 seconds", mark: mark(0.66, 0.7) },
    ],
  },
];

/** A plate: arrow keys move between wells, Enter selects, and one well is in the tab order. */
export function PlateDemo() {
  const [selected, setSelected] = useState<PlateSelection>({ row: "cells", key: "10" });
  const cell = ROWS.find((row) => row.id === selected?.row)?.cells.find((item) => item.key === selected?.key);
  return (
    <Stack gap="s12">
      <WellPlate rows={ROWS} selected={selected} onSelect={(row, key) => setSelected({ row, key })} wellSize={32} />
      <FormStatus>{cell ? `${cell.label}: ${cell.mark.label}` : "Select a level"}</FormStatus>
    </Stack>
  );
}
Code
<k
  label="Spatial hold trials"
  wellSize={14}
  marks={[{ kind: "observed", value: 1, predicted: null, assisted: false, excluded: null, label: "Observed 100%" }, { kind: "observed", value: 0.83, predicted: null, assisted: false, excluded: null, label: "Observed 83%" }, { kind: "observed", value: 0.67, predicted: null, assisted: false, excluded: null, label: "Observed 67%" }, { kind: "excluded", value: null, predicted: null, assisted: false, excluded: "interrupted", label: "Interrupted, not used in estimates" }, { kind: "observed", value: 0.83, predicted: null, assisted: false, excluded: null, label: "Observed 83%" }, { kind: "observed", value: 0.5, predicted: null, assisted: false, excluded: null, label: "Observed 50%" }]}
/>

Readouts and tracks

A readout is one figure with its unit and where it came from. A track shows sessions as columns: the top edge is what the protocol asked for and the fill is what came back. Only observed values appear on a track.

41/52cells held

Your resultLatest session, 6 trials

Your resultExpected before the session
Code
<Component
  value="41/52"
  unit="cells held"
  label="Latest session, 6 trials"
  provenance="observed"
/>
<span className="x6s0dn4 x78zum5 x1a02dak x1108dl5">
  <d kind="observed" />
  <d kind="predicted" />
</span>
Code
<Component
  points={[{ demand: 5, achieved: 5, at: 0 }, { demand: 6, achieved: 5, at: 1 }, { demand: 6, achieved: 4, at: 2 }, { demand: 7, achieved: 7, at: 3 }, { demand: 8, achieved: 7, at: 4 }, { demand: 8, achieved: 6, at: 5 }, { demand: 9, achieved: 9, at: 6 }, { demand: 10, achieved: 9, at: 7 }]}
  scaleMax={12}
  label="Spatial hold, cells asked for and held per session"
/>

Truth

A current estimate is never drawn as a prediction

Only a forecast frozen before a session draws an arc or says "Predicted before the session".
  • Levels appear only where trials were recorded. Missing data stays visibly missing.
  • Readings from different presentation populations are never averaged together.
  • Interactive wells carry their full reading in their accessible name; decorative drawings are hidden from assistive technology.

Exclusion words come from the recorded status, never from a guess. The product shows exactly these:

assisted
Not counted: extra viewing time
interrupted
Not counted: interrupted
unversioned
Not counted: the answer's format wasn't recorded
invalid
Not counted: couldn't be scored
display changed
Not counted: the screen changed during the round