# Stage 119: Threshold & Rate Edges (aq119_threshold_rate_and_calibrate_edges / DB-UNIT-17)

Aggregates multi-axis ratings via Empirical-Bayes + Wilson lower bounds and applies 5 swappable thresholding regimes (alpha-cut, mutual k-NN, z-score, Pareto, hysteresis).

- Atomic micro-queue: `aq119_threshold_rate_and_calibrate_edges` (visibility: `public_commons`)
- Backing database unit: `DB-UNIT-17` (`Cascading Decision Models, Local Classifiers & Abstention Core`)
- Database cell: `lsh-db.teleon.dev` (`teleon_core.decision_rubric_schemas`, `teleon_core.cascade_classification_ledger`, `teleon_core.abstention_calibration_sets`)
- Claim row hydration: `single_self_contained_flat_task_row` (100% context inline, normalized writeback)
- Track 2 Sister queue (`SISTER-17`): `sq17-improve-decisions-queue.teleon.dev` (Distill frontier decisions into compact SetFit/ModernBERT/GLiNER2 CPU heads and tighten natural no-match abstention thresholds.)
- Lanes: Bayesian Wilson Lower, 5 Threshold Regimes, Schmitt Hysteresis

## Execution engines & AI Agent freedom contract

- **Deterministic (0 model calls)**: `rule_model2vec_setfit_gliner_cpu_cascade_v1` (Empirical-Bayes Wilson aggregator & 5-regime threshold engine (0 calls))
- **Hybrid (<=1 model call)**: `clef_jev_clairic_typed_decision_escalation_v1`
- **AI Agent & Bot Fleet (1..6 calls)**: `ambiguous_tail_reasoning_arbitrator_v1` (Domain threshold & prior strength tuner)
  - Contract: **Instructions + Resources + Freedom to search for new resources and new ways not bound by instructions**

## Database invariants

- Static rubrics precede dynamic item state so input-only decision APIs capture cached-prefix discounts.
- Below-threshold confidence returns explicit ABSTAIN or escalates rather than pushing mismatched components.

## External & internal bot fleet actions

- Prevent 1/1 = 100% small-sample gaming via Empirical-Bayes prior shrinkage and Wilson bounds
- Suppress hubness explosion on dense corpora using mutual k-NN and local z-score regimes
- Stabilize live graph edges across re-indexing passes with Schmitt-trigger hysteresis

## Sister self-tuning areas

- Distill recurring multi-question rubrics into 8-to-32-shot SetFit and ONNX INT8 CPU classifiers (DIM-03, DIM-06)
- Calibrate per-domain abstention thresholds on 25%+ natural no-suitable-component holdouts (DIM-01, DIM-06)
- Benchmark choice-order invariance across Clef-flash, Jev, Clairic, and Decisions endpoints (DIM-02, DIM-08)
