Phase 3 KPI 상태값 명시
This commit is contained in:
parent
1e9f293fda
commit
f7aae885b2
4 changed files with 42 additions and 21 deletions
|
|
@ -23,6 +23,7 @@ REQUIRED_METRIC_KEYS = {
|
|||
"numerator",
|
||||
"pass",
|
||||
"source_files",
|
||||
"status",
|
||||
"threshold",
|
||||
"value",
|
||||
}
|
||||
|
|
@ -136,8 +137,10 @@ class Phase3KpiExportTests(unittest.TestCase):
|
|||
self.assertTrue(REQUIRED_METRIC_KEYS.issubset(metric))
|
||||
self_efficacy = report["metrics"]["self_efficacy_prepost"]
|
||||
self.assertFalse(self_efficacy["pass"])
|
||||
self.assertEqual(self_efficacy["status"], "computed_prepost")
|
||||
self.assertEqual(self_efficacy["value"], 25.0)
|
||||
self.assertEqual(self_efficacy["source_files"], [PREPOST_CSV_PATH])
|
||||
self.assertEqual(report["metrics"]["icc"]["status"], "design_pending")
|
||||
|
||||
def test_writers_create_phase3_evidence_files(self) -> None:
|
||||
rows = build_prepost_csv_rows(fixture_rows(), participant_keys=ParticipantKeys())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue