Skip to content

Timelines in Caliper LIB

Caliper LIB stamps what it sends on step, time and the script's own timelines, on both senders, and the hub forwards stamps only to viewers that announced timelines.

Field Value
ID STR-23
Status In Progress
Scope Peripheral
Pillar Live Data, Streaming and Recordings
Sprint 4
Depends On Wire Protocol 3.2 (STR-09)
Unblocks Recordings on MCAP (STR-12)
Docs None
Branches sprint4-time
Design None

The work on these branches is unfinished, so the feature shows as in progress.

Coverage Ledger

  • Branch sprint4-time, 177 commits, 2 not in sprint4-integ3: 6273f1d1, ab10d6ea. Timelines in Caliper LIB on both senders; WIP hub forwarding of stamps.
  • Branch sprint4-integ3, fd97ad02. Timelines, stamps, text, bars and recording messages of protocol 3.2 in the codecs (the VIEWS key timelines, stamps on SNAPSHOT, SERIES and CONTROLS, static snapshots, TEXT, bar charts, split updates, recording messages), reproducing the draft's two example frames byte for byte.
  • Branch sprint4-time, ab10d6ea. Timelines in Caliper LIB: step, time and up to six timelines of the script's own (caliper.step, caliper.timeline, caliper.set_time), stamped once at each call on both senders and sent only to peers that announced timelines, with a test that a frozen 3.1 codec decodes every frame.
  • Branch sprint4-time, 6273f1d1. The hub's timelines: the hub announces timelines, keeps a session's timelines and each retained series value's stamp, and forwards stamps only to viewers that announced them.
  • design/recordings.md on the branch sprint4, under Timelines. Timelines: step, time and up to six of the script's own, ids 0 to 7, never removed during a session.
  • design/recordings.md on the branch sprint4, under Stamps and static items. Stamps read at the call on every timeline, absent stamps, and static items (static=True) present at every position.
  • design/recordings.md on the branch sprint4, under The calls in Caliper LIB. caliper.step, caliper.timeline, caliper.set_time and caliper.record(path, ...) with views, rates, data_views, budget, horizon, sync and full (Caliper LIB, 2 days for record).
  • design/recordings.md on the branch sprint4, under Changes to the shared contracts. Absent stamps, caliper.step as the 3.1 checkpoint, and pinning time with caliper.set_time.
  • design/roadmap.md on the branch sprint4, under Scenes and recordings. The timelines and recordings part: stamps on several timelines, the recording file, recordings in the workspace and the scrubber in the app and the browser.
  • design/sprint-4.md on the branch sprint4, under 1. A loss landscape in a notebook. What increment 1 defers: picking, events and selection; arrows, boxes, images, cameras, entity transforms, class table, labels, normals, textures; index-pair edges, up-axis switch, scale bar and view_camera; scene data views beyond the default; timelines and stamps; the rest of the messages; shared-memory session; the TypeScript fallback and budgets.
  • design/sprint-4.md on the branch sprint4, under 3. Every primitive natively, through shared memory. The rest of protocol 3.2 in three codecs: other parts, SCENE_TRANSFORMS, SCENE_CLASSES, stamps, text, bars, u16, split updates and the recording messages (2 of 4 days).
  • design/sprint-4.md on the branch sprint4, under 7. Timelines, recordings on MCAP and the scrubber. Timelines in Caliper LIB (3 days).
  • design/wire-protocol-3-2.md on the branch sprint4, under What 3.2 adds. Five capabilities: timelines, scenes, text, bars and recordings, each used only with a peer that announced it, with every 3.1 message unchanged.
  • design/wire-protocol-3-2.md on the branch sprint4, under Timelines and Stamps. Timelines and stamps on the wire.
  • design/wire-protocol-3-2.md on the branch sprint4, under Declaring timelines. Timelines are declared by a VIEWS key timelines.
  • design/wire-protocol-3-2.md on the branch sprint4, under The stamp. A stamp is an i64 section per message, or per value for series and text, and a static key marks items with no stamp.
  • design/wire-protocol-3-2.md on the branch sprint4, under Decisions. Decisions: stamps in i64 sections, timelines in VIEWS, one scene message per entity part, entity transforms as matrices, only u16 added, index-pair edges as an indices section of lines, bars as a SNAPSHOT, text in binary sections, a cursor per viewer connection, the hub never forwards CURSOR to a producer.
  • Orchestrators' notes, _notes/HANDOFF-sprint4.md. Timelines in Caliper LIB are finished on both senders; the hub forwarding stamps only to viewers that announced timelines is unfinished (WIP).
  • Orchestrators' notes, s4-proto3/STATUS.md. Caliper LIB scene calls on both senders and the hub's class tables, transforms, cameras and split updates.
  • Orchestrators' notes, s4-time/STATUS.md. Timelines in Caliper LIB on both senders: step, time and up to six of the script's own, caliper.timeline, caliper.set_time, static=, stamps on every snapshot, series, control and scene item.
  • Orchestrators' notes, s4-time/STATUS.md. The hub announces timelines and forwards stamps, static and timelines only to viewers that announced them, with a new hub test; unfinished.
  • Orchestrators' notes, s4-time/STATUS.md. The Python test through the real hub with the frozen 3.1 codec as the viewer is not written; full suites and docs are pending.
  • Orchestrators' notes, s4-time/STATUS.md. The recorder should read the stamp once at the call through caliper._timelines.stamp() and take_call, the series tap, scene items and CONTROLS stamp interfaces.

Roadmap Graph Feature in Graph