crexs commited on
Commit
d9bb5a0
·
verified ·
1 Parent(s): c7f5f21

Upload core/pedi_metrics.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. core/pedi_metrics.py +4 -0
core/pedi_metrics.py CHANGED
@@ -7,6 +7,10 @@ import math
7
  from dataclasses import dataclass
8
  from typing import Dict, List, Tuple
9
 
 
 
 
 
10
  DIMS = ("coherence", "resonance", "tension")
11
  NORM = 1.5
12
  MIN_USABLE_BLOCKS = 3
 
7
  from dataclasses import dataclass
8
  from typing import Dict, List, Tuple
9
 
10
+ # DIMS defines the dimensions used for anchor distance calculations in PEDI.
11
+ # Note: Real Svalbard ledger blocks also store 'shadow_depth' at the root of 'emotional_state'
12
+ # (making four dimensions tracked in total), but 'shadow_depth' is intentionally excluded
13
+ # from the anchor distance calculation to align with the paper's 3D state space model.
14
  DIMS = ("coherence", "resonance", "tension")
15
  NORM = 1.5
16
  MIN_USABLE_BLOCKS = 3