Skip to content

fix(bench): reject empty completion markers#186

Open
skyc1e wants to merge 1 commit into
circlefin:mainfrom
skyc1e:fix/empty-benchmark-summary
Open

fix(bench): reject empty completion markers#186
skyc1e wants to merge 1 commit into
circlefin:mainfrom
skyc1e:fix/empty-benchmark-summary

Conversation

@skyc1e

@skyc1e skyc1e commented Jun 21, 2026

Copy link
Copy Markdown

A benchmark can leave an empty summary.csv if it stops after creating the file but before writing its row. The report currently checks only for existence, so that interrupted run is treated as complete and can be used as a baseline.

Treat zero-byte summary markers as incomplete. Current results now resolve to partial, and baseline discovery skips these runs. Added unit coverage for missing, empty, and populated markers plus status resolution.

Tests: cd scripts && python -m unittest test_engine_bench_report.py test_tx_latency_report.py -v

@skyc1e skyc1e marked this pull request as ready for review June 21, 2026 20:51
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