Improve Benchmarking#2798
Conversation
🛡️ AI Review — Skeptic (security review)VERDICT: SAFE Baseline scrutiny: established OpenTensor-associated contributor with repo write permission; no trusted-list Gittensor match found; branch apply-benchmark-to-only-bad-benches -> devnet-ready. Reviewed the trusted instructions, prior Skeptic sticky, contributor signals, PR metadata, comments, changed-file list, and pre-fetched diff. The prior sticky contains no finding IDs to reconcile. The PR does not modify FindingsNo findings. ConclusionNo malicious intent or security vulnerability was found in the reviewed diff. Residual risk is limited to benchmark-tooling correctness and generated-weight accuracy, which do not cross the Skeptic security threshold here. 🔍 AI Review — Auditor (domain review)VERDICT: 👍 Gittensor UNKNOWN; author has write permission, @opentensor affiliation, and substantial recent subtensor contribution history, so calibration is established-contributor domain review. PR body is concise but substantive enough to leave unchanged. Spec version is bumped from Duplicate-work check: overlapping open PRs appear to share generated/runtime weight files as incidental overlap; their titles and branches indicate unrelated runtime or feature work, not duplicate benchmark tooling. I do not recommend closing this PR in favor of another. Validation: FindingsNo findings. ConclusionThe PR keeps benchmark patch application scoped to comparator-reported drifted functions, adds missing benchmark coverage and lint wiring, and preserves the required runtime spec bump. I did not find a domain correctness issue that should block merge. |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
…tensor/subtensor into apply-benchmark-to-only-bad-benches
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
Description
This PR
Modifies the benchmark flow so that only extrinsics that have drifted passed the threshold or have incorrect read/writes are updated rather than replacing the entire file and creating conflicts everywhere.
Adds a lint to check for extrinsics with missing benchmarks
Adds missing benchmarks
fixes a bug where it would fail extrinsics where it shouldn't.