feat: add split-safe fundamentals research protocol
This commit is contained in:
@@ -29,6 +29,27 @@ def test_arm_matrix_is_bounded_and_pre_registered():
|
||||
}
|
||||
|
||||
|
||||
def test_split_safe_matrix_is_smaller_and_trial_corrected():
|
||||
assert runner.SPLIT_SAFE_N_TRIALS == 10
|
||||
assert runner.SPLIT_SAFE_ARMS[0]["id"] == "control_w00"
|
||||
assert {arm["weight"] for arm in runner.SPLIT_SAFE_ARMS[1:]} == {
|
||||
0.05,
|
||||
0.10,
|
||||
0.15,
|
||||
}
|
||||
assert {arm["composite"] for arm in runner.SPLIT_SAFE_ARMS[1:]} == {
|
||||
"quality",
|
||||
"growth",
|
||||
"balanced",
|
||||
}
|
||||
|
||||
|
||||
def test_split_safe_output_has_a_distinct_name():
|
||||
assert runner._default_out(runner.SPLIT_SAFE_PROTOCOL).name.startswith(
|
||||
"fundamentals-splitsafe-"
|
||||
)
|
||||
|
||||
|
||||
def test_development_grade_does_not_read_test_window():
|
||||
control = {
|
||||
"windows": [
|
||||
|
||||
Reference in New Issue
Block a user