Skip to content

feat(bench): add a six-month working-day stand (#76) - #171

Merged
mrcsin merged 1 commit into
masterfrom
six-month-stand
Nov 12, 2026
Merged

mrcsin merged 1 commit into
masterfrom
six-month-stand

Conversation

@mrcsin

@mrcsin mrcsin commented Nov 12, 2026

Copy link
Copy Markdown
Member

Problem

The demo stand seeded one continuous day of ten pens. The minimap and the recipe-run navigation that follow in the next PR could not be judged against the archive a plasma tool keeps: months of weekday shifts, nights and weekends off, recipe markers inside each session.

Change

  • converge takes --schedule continuous|shifts, --days and --pens. shifts clips the span to sessions, makes nights, weekends, a maintenance week and random off days breaks, holds an idle level between recipe runs, and writes locked recipe markers and two or three unlocked operator markers per week as scada_writer (ShiftSchedule, LatticeValues, ShiftMarkerWriter).
  • The seed streams one calendar day at a time into one COPY, so a 183-day seed stays near 90 MB of memory.
  • The six-months AppHost launch profile (Live demo (six months) in Rider and Zed) seeds 183 days at 50 pens on every stand start: about a minute, 18.5 M rows, 4 124 recipe and 63 operator markers, 1.7 GB.
  • ArchiveClock in Core holds the one wall-clock-to-UTC rule; ArchiveTimeConverter delegates to it.
  • bench.md documents the schedule, the keys, the markers and the measured stand.

The continuous schedule still produces the standard slice row for row (same digest before and after; EveryContinuousRowCarriesTheWalkAtItsHeldIndex pins it by invariant).

Verification

  • dotnet build SemiPlot.slnx: 0 errors; dotnet format --verify-no-changes: clean.
  • SemiPlot.Tests.Unit: 2815 passed. Integration ShiftSeedTests|ConvergeTests: 7 passed against Docker.
  • The six-month stand was run end to end through the launch profile and tested by hand together with the minimap work.

Part of #76: a six-month stand with measured seed and read costs. A year-long archive and a permanent CI gate are not in this PR.

🤖 Generated with Claude Code

The demo stand seeded one continuous day of ten pens, so nothing
could be judged against the archive a plasma tool actually keeps:
months of weekday shifts with nights and weekends off and recipe
markers inside each session. converge now takes --schedule shifts,
--days and --pens, writes locked recipe markers and unlocked
operator markers as scada_writer, and streams the seed one day at a
time. The six-months AppHost profile seeds 183 days at 50 pens on
every stand start, in about a minute and 1.8 GB. The continuous
schedule still produces the standard slice row for row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mrcsin
mrcsin marked this pull request as ready for review November 12, 2026 09:32
@mrcsin
mrcsin merged commit 0d28472 into master Nov 12, 2026
2 checks passed
@mrcsin
mrcsin deleted the six-month-stand branch November 12, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant