Latest Results
cleanup(benchmarks-website): trim dead code, stale comments, missing docs
Pre-cutover quality pass on `server/` and `migrate/`:
- `server/tests/common/mod.rs`: drop the 18 `unreachable_pub` warnings
per integration-test binary by switching every shared helper to
`pub(crate)`. The `#![allow(dead_code)]` stays — different test
binaries still use different subsets.
- `server/src/db.rs`: hoist the six function-scoped `use std::hash::Hasher`
statements to the module top, and add doc comments on `finish` and
`hasher_for` explaining why each exists.
- `server/src/{records, app, ingest}.rs` and `migrate/src/{classifier,
commits, v2, verify}.rs`: every previously-undocumented `pub` field
on the wire / state structs now carries a single-line `///` doc.
Field semantics (units, encoding, role) that were only implicit in
the field name are now explicit.
- `server/src/main.rs`: document the four environment variables
(`INGEST_BEARER_TOKEN`, `VORTEX_BENCH_DB`, `VORTEX_BENCH_BIND`,
`VORTEX_BENCH_LOG`) on the binary's `//!` doc.
- `server/src/{slug, error}.rs`: remove the last `planning/*.md`
cross-references, replacing them with the [`crate::*`] links that
point at the live source of truth.
- `static/chart-init.js`: fix the stale `server/src/html.rs` references
in two comment blocks (the file is now `server/src/html/mod.rs`),
rebuild the file map at the top to match the actual section
ordering, and add the two canvas state contract entries
(`__bench_display_unit`, `__bench_y_user_set`) that the orientation
comment had drifted from.
Verification:
- `cargo clippy -p vortex-bench-server -p vortex-bench-migrate --all-targets
--all-features -- -W dead_code -W unreachable_pub -W unused_imports`
→ 0 warnings.
- `cargo test -p vortex-bench-server -p vortex-bench-migrate` → all 140+
tests pass.
- `cargo test --doc -p vortex-bench-server -p vortex-bench-migrate` → 0
failures.
- No snapshot regenerated.
- v2 site files (`server.js`, `src/`, `package.json`, etc.) untouched.
Signed-off-by: Claude <noreply@anthropic.com>claude/vortex-v3-quality-pass-jbkRO Latest Branches
0%
claude/vortex-v3-quality-pass-jbkRO 0%
-17%
© 2026 CodSpeed Technology