8000 Clarify MiniGraf validation comments (v2.x) by adityamukho · Pull Request #1003 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/bench/bindings-report.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ function verifyEvidence(binding, metrics, directory, identity) {
throw new Error('wrong WASI lockfile hash');
}
const rawPath = path.join(directory, 'benchmark/samples.jsonl');
// Keep #839's validator authoritative for sample IDs/counts/iterations and
// the complete/check markers, including rejection of smoke streams.
// Use the #839 validator to check sample IDs, counts, iteration counts,
// and complete/check markers. It rejects smoke streams.
const validation = spawnSync('python3', ['-I', path.join(measuredHarness, 'validate.py'), binding, rawPath], { encoding: 'utf8' });
if (validation.status !== 0) throw new Error(`invalid raw samples: ${validation.stderr || validation.error}`);
const records = read('benchmark/samples.jsonl').trim().split('\n').map(parseMetrics);
Expand Down
Loading
0