mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
[pitboss/grind] deferred session-0003 (20260521T143544Z-f898)
This commit is contained in:
parent
b3766311fb
commit
6341afec59
16 changed files with 346 additions and 48 deletions
|
|
@ -14,10 +14,10 @@
|
|||
//! | `src/main.rs` | binary entry point; wires --features dynamic|
|
||||
//! | `src/lib.rs` | crate root; `#[cfg(feature="dynamic")]` mod|
|
||||
//! | `src/commands/scan.rs` | enrichment loop lives here |
|
||||
//! | `src/commands/mod.rs` | `verify-feedback` subcommand (§21.2) |
|
||||
//! | `src/commands/mod.rs` | `verify-feedback` subcommand |
|
||||
//! | `src/server/` (any file) | server start_scan verify wiring |
|
||||
//! | `src/rank.rs` | M7 rank-delta telemetry hook (§21 / M7) |
|
||||
//! | `src/chain/reverify.rs` | Phase 26 — composite chain re-verification |
|
||||
//! | `src/rank.rs` | dynamic-verdict rank scoring |
|
||||
//! | `src/chain/reverify.rs` | composite chain re-verification |
|
||||
|
||||
use std::fs;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
|
@ -31,8 +31,8 @@ const ALLOWED: &[&str] = &[
|
|||
"commands/mod.rs",
|
||||
"server/",
|
||||
"rank.rs",
|
||||
// Phase 26 — Track G.3: composite chain re-verification is the
|
||||
// public bridge between the chain composer and the dynamic verifier.
|
||||
// Composite chain re-verification is the public bridge between the chain
|
||||
// composer and the dynamic verifier.
|
||||
"chain/reverify.rs",
|
||||
// The dynamic module itself is obviously allowed.
|
||||
"dynamic/",
|
||||
|
|
|
|||
|
|
@ -24,12 +24,12 @@ set -euo pipefail
|
|||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
||||
|
||||
# ── Defaults ──────────────────────────────────────────────────────────────────
|
||||
# Defaults
|
||||
OUTPUT_DIR=""
|
||||
NYX_BIN="${NYX_BIN:-${REPO_ROOT}/target/release/nyx}"
|
||||
CORPUS_CACHE="${NYX_EVAL_CORPUS_DIR:-${HOME}/.cache/nyx/eval_corpus}"
|
||||
SETS="owasp,sard,inhouse"
|
||||
# Phase 29 (Track I): per-cell budgets + monotonic-improvement diff.
|
||||
# Optional per-cell budgets and monotonic-improvement diff.
|
||||
BUDGET_FILE=""
|
||||
DIFF_FILE=""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
//! Health-score calibration regression net (v3.5).
|
||||
//!
|
||||
//! Pins synthetic reference scenarios catalogued in
|
||||
//! `docs/health-score-audit.md` to expected score bands. When a
|
||||
//! constant or weight in `src/server/health.rs` changes, this test
|
||||
//! fails fast if the change silently re-grades the boundary cases.
|
||||
//! Pins synthetic reference scenarios to expected score bands. When a constant
|
||||
//! or weight in `src/server/health.rs` changes, this test fails fast if the
|
||||
//! change silently re-grades the boundary cases.
|
||||
//!
|
||||
//! Bands are deliberately wide (±5 points around the calibration
|
||||
//! number) so honest curve-shape adjustments don't trip the test ,
|
||||
|
|
@ -142,7 +141,7 @@ fn sev(h: &HealthScore) -> u8 {
|
|||
.score
|
||||
}
|
||||
|
||||
// ── Calibration cases (synthetic, mirror docs/health-score-audit.md) ─────────
|
||||
// Calibration cases
|
||||
|
||||
#[test]
|
||||
fn calibration_clean_first_scan() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue