test: parity harness for rust vs python signals analyzer

Validates the brightstaff signals port against the katanemo/signals Python
reference on lmsys/lmsys-chat-1m. Adds a signals_replay bin emitting python-
compatible JSON, a pyarrow-based driver (bypasses the datasets loader pickle
bug on python 3.14), a 3-tier comparator, and an on-demand workflow_dispatch
CI job.

Made-with: Cursor
This commit is contained in:
Syed Hashmi 2026-04-22 12:28:22 -07:00
parent bb4ddaa7f2
commit d32ffb0450
9 changed files with 1118 additions and 0 deletions

View file

@ -3,6 +3,14 @@ name = "brightstaff"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "brightstaff"
path = "src/main.rs"
[[bin]]
name = "signals_replay"
path = "src/bin/signals_replay.rs"
[dependencies]
async-openai = "0.30.1"
async-trait = "0.1"