From d5926b2e889d735acc06f95be5b008aad04ec8e8 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 15 Jul 2024 19:34:20 +0200 Subject: [PATCH] chore(code): Move validity strength bins to validity --- src/model/validity.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/model/validity.py b/src/model/validity.py index 401ed29..2bdace3 100644 --- a/src/model/validity.py +++ b/src/model/validity.py @@ -26,6 +26,12 @@ METHOD_RANKINGS = { 5.0: ["RCT", "randomi(?:s|z)ed.control.trial"], } +VALIDITY_STRENGTH_BINS = { + 0.0: r"\-", + 5.0: r"\+", + 10.0: r"\++", +} + def calculate( df: DataFrame,