sdbrgo commited on
Commit
9b456ab
·
verified ·
1 Parent(s): 91f2cd2

Update phase/interpret.py

Browse files

modified threshold magnitude of PCR, PEG

Files changed (1) hide show
  1. phase/interpret.py +4 -4
phase/interpret.py CHANGED
@@ -3,8 +3,8 @@ def assign_typology(components):
3
  # define state rules for every components
4
  STATE_RULES = {
5
  "PCR (Participation Coverage Ratio)": [
6
- (0.5, "Low Alert"),
7
- (0.2, "Medium Alert"),
8
  (0.0, "High Alert")
9
  ],
10
  "SPI-A (Silent Participation Inference - Silent Non-Adoption)": [
@@ -18,8 +18,8 @@ def assign_typology(components):
18
  (0.0, "Low Alert")
19
  ],
20
  "PEG (Participation-to-Expression Gap)": [
21
- (0.6, "High Alert"),
22
- (0.3, "Medium Alert"),
23
  (0.0, "Low Alert")
24
  ]
25
  }
 
3
  # define state rules for every components
4
  STATE_RULES = {
5
  "PCR (Participation Coverage Ratio)": [
6
+ (60.0, "Low Alert"),
7
+ (20.0, "Medium Alert"),
8
  (0.0, "High Alert")
9
  ],
10
  "SPI-A (Silent Participation Inference - Silent Non-Adoption)": [
 
18
  (0.0, "Low Alert")
19
  ],
20
  "PEG (Participation-to-Expression Gap)": [
21
+ (60.0, "High Alert"),
22
+ (30.0, "Medium Alert"),
23
  (0.0, "Low Alert")
24
  ]
25
  }