1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Tier thresholds, measured on the single-tenant crossover ladder
//! (`tasks/evidence/20-crossover.md`, 27-B6b, 2026-08-26).
/// Thresholds selected for one `(dimensions, quantization scheme)` bucket.
/// MEASURED (`tasks/evidence/20-crossover.md`): SIFT-128, one thread,
/// three-process medians, Bit4+rescore scan against a forced Vamana graph.
/// The task-20 rule (scan p50 >= 2x graph p50) first holds at 30,000 rows
/// (ratio 4.24 at k = 10, 3.43 at k = 100, graph recall 0.9985 / 0.9924);
/// at 10,000 rows the ratio is 1.82 / 1.75. The crossover therefore lies in
/// the measured bracket (10,000, 30,000] and this constant is the first
/// ladder point that satisfies the rule, not an interpolation. Only one
/// `(dimensions, scheme)` bucket is measured, so `for_bucket` still returns
/// this single arm for every bucket.
pub const MEASURED_TIER_THRESHOLDS: TierThresholds = TierThresholds ;
/// Kept as the name earlier tasks import; it now carries the measured value.
pub const PROVISIONAL_TIER_THRESHOLDS: TierThresholds = MEASURED_TIER_THRESHOLDS;
/// Selects the threshold bucket for a segment's dimensions and scheme.
///
/// One bucket (128-d, Bit4+rescore) is measured; other buckets reuse it
/// until they are measured on the same ladder.
pub const