fix: recalibrate FIP path labels to live equity scale
Replace inert ±0.25 bands with ~p25/p75 cutoffs from the prod snapshot (−0.08 / 0.00). Document zero-return dilution and left-skewed distribution.
This commit is contained in:
@@ -192,6 +192,9 @@ function interpretation(
|
||||
|
||||
case 'fip_id': {
|
||||
// Display context only — not a production gate input.
|
||||
// Prefer backend path_label (calibrated ~p25/p75 on live equities).
|
||||
// Fallback thresholds match indicator_service FIP_PATH_* constants
|
||||
// (not ±0.25 — that band almost never fires on real names).
|
||||
const label = typeof v.path_label === 'string' ? v.path_label : null;
|
||||
const path = typeof v.path === 'string' ? v.path : null;
|
||||
if (label) {
|
||||
@@ -201,8 +204,8 @@ function interpretation(
|
||||
}
|
||||
const fip = num('fip_id');
|
||||
if (fip == null) return null;
|
||||
if (fip <= -0.25) return { text: 'smooth grind (continuous)', tone: 'text-emerald-300' };
|
||||
if (fip >= 0.25) return { text: 'jumpy path (discrete)', tone: 'text-amber-300' };
|
||||
if (fip <= -0.08) return { text: 'smooth grind (continuous)', tone: 'text-emerald-300' };
|
||||
if (fip >= 0) return { text: 'jumpy path (discrete)', tone: 'text-amber-300' };
|
||||
return { text: 'mixed path', tone: 'text-gray-300' };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user