Skip to content

Modularize live baseline benchmark script#336

Merged
yvette-carlisle merged 1 commit into
mainfrom
xy/module-batch-30
Jul 1, 2026
Merged

Modularize live baseline benchmark script#336
yvette-carlisle merged 1 commit into
mainfrom
xy/module-batch-30

Conversation

@yvette-carlisle

Copy link
Copy Markdown
Member

Summary

  • Split the 3929-line live baseline benchmark script into focused shell modules under scripts/live-baseline/.
  • Kept scripts/live-baseline-benchmark.sh as the orchestration entrypoint and extracted shared core, corpus, report, runner, OpenMemory probe, and per-project adapters.
  • Updated source-inspection tests to assert against the new module locations without weakening the checked strings.

Batch size

  • 15 files changed, 3878 insertions, 3866 deletions, 7744 total changed lines.
  • Entry script reduced from 3929 lines to 81 lines.

Validation

  • bash -n scripts/live-baseline-benchmark.sh scripts/live-baseline/*.sh scripts/live-baseline/projects/*.sh
  • RUSTC=/run/current-system/sw/bin/rustc cargo nextest run -p elf-eval --test real_world_job_benchmark openmemory_ui_export_probe_has_dedicated_docker_task
  • RUSTC=/run/current-system/sw/bin/rustc cargo nextest run -p elf-eval --test real_world_job_benchmark mem0_delete_audit_probe_requires_explicit_delete_history_event
  • RUSTC=/run/current-system/sw/bin/rustc cargo make fmt-rust
  • RUSTC=/run/current-system/sw/bin/rustc cargo make check (403 passed, 92 skipped)

Note

  • A host smoke with ELF_BASELINE_PROJECTS=__none was attempted, but this macOS host lacks GNU timeout; the original script had the same required-command guard, so this is not introduced by the split.

@yvette-carlisle yvette-carlisle merged commit 57e50b0 into main Jul 1, 2026
12 checks passed
@yvette-carlisle yvette-carlisle deleted the xy/module-batch-30 branch July 1, 2026 08:47
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