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
//! Shared weight and threshold tables for the repairability heuristic.
use ;
/// Weight coefficient for each heuristic parameter.
///
/// Weights must sum to 1.0. Each parameter score (0–2) is multiplied by its
/// weight and by 5.0 to produce a contribution to the 0–10 numeric score.
/// Minimum numeric score (out of 10) required for each letter grade.
///
/// Grade E is assigned when the score is below `d`.
/// Default A–E band boundaries — the smartphone/tablet heuristic's own design
/// choice (see `thresholds::smartphone`), reused as a placeholder by the
/// other, not-yet-effective product categories until each gets its own band
/// boundaries from a real delegated act or a dedicated heuristic revision.
/// The four concrete rulesets share this by construction, not coincidence —
/// a single point of truth means a future change to it is a one-line edit
/// instead of a four-file find-and-replace.
pub static DEFAULT_REPAIRABILITY_THRESHOLDS: RepairabilityThresholds = RepairabilityThresholds ;