sdbrgo commited on
Commit
a3a8a1b
Β·
verified Β·
1 Parent(s): 42ba3f5

Update phase/compute.py

Browse files

modified descriptions of percentage-based components

Files changed (1) hide show
  1. phase/compute.py +3 -3
phase/compute.py CHANGED
@@ -63,16 +63,16 @@ class ParticipationAdoptionIndex:
63
  effective_groups_rounded = int(round(effective_groups))
64
 
65
  self.components_1 = {
66
- "PCR (Participation Coverage Ratio)": {"Value": pcr, "Description": "β‰ˆ1 β†’ Participation closely matches the target population. β‰ˆ0 β†’ Participation reached very few of the intended population."},
67
  "SPI-A (Silent Participation Inference - Silent Non-Adoption)": {"Value": spi_a, "Description": "High β†’ Large segments of the target population were not reached or excluded. Low β†’ Minimal non-participation across the target population."},
68
  "SPI-B (Silent Participation Inference - Silent Adoption)": {"Value": spi_b, "Description": "High β†’ Silent participation dominates. Low β†’ Expressive participation dominates."},
69
- "PEG (Participation-to-Expression Gap)": {"Value": peg, "Description": "β‰ˆ1 β†’ High expression gap among participants. β‰ˆ0 β†’ Minimal expression gap."}
70
  }
71
 
72
  self.components_2 = {
73
  "PCI (Participation Concentration Index)":
74
  {"Value": pci,
75
- "Description": "β‰ˆ1 β†’ Participation is concentrated to certain groups. β‰ˆ0 β†’ Participation is balanced across groups."
76
  },
77
  "Group Summary":
78
  {"Minimum Participating Groups": f"At least {effective_groups_int} groups meaningfully participated.",
 
63
  effective_groups_rounded = int(round(effective_groups))
64
 
65
  self.components_1 = {
66
+ "PCR (Participation Coverage Ratio)": {"Value": pcr, "Description": "β‰ˆ100 β†’ Participation closely matches the target population. β‰ˆ0 β†’ Participation reached very few of the intended population."},
67
  "SPI-A (Silent Participation Inference - Silent Non-Adoption)": {"Value": spi_a, "Description": "High β†’ Large segments of the target population were not reached or excluded. Low β†’ Minimal non-participation across the target population."},
68
  "SPI-B (Silent Participation Inference - Silent Adoption)": {"Value": spi_b, "Description": "High β†’ Silent participation dominates. Low β†’ Expressive participation dominates."},
69
+ "PEG (Participation-to-Expression Gap)": {"Value": peg, "Description": "β‰ˆ100 β†’ High expression gap among participants. β‰ˆ0 β†’ Minimal expression gap."}
70
  }
71
 
72
  self.components_2 = {
73
  "PCI (Participation Concentration Index)":
74
  {"Value": pci,
75
+ "Description": "β‰ˆ100 β†’ Participation is concentrated to certain groups. β‰ˆ0 β†’ Participation is balanced across groups."
76
  },
77
  "Group Summary":
78
  {"Minimum Participating Groups": f"At least {effective_groups_int} groups meaningfully participated.",