Recognize zero-sweep gravity benchmark controls
This commit is contained in:
@@ -120,7 +120,9 @@ def inspect_case_artifacts(folder):
|
||||
check('action_checks_present', len(action_rows) == 2 and
|
||||
{row['role'] for row in action_rows} == {'baseline', 'candidate'})
|
||||
for row in action_rows:
|
||||
expected = by_role[row['role']]['variant'] == 'independent'
|
||||
measured = by_role[row['role']]
|
||||
expected = measured['variant'] == 'independent' or (
|
||||
measured['variant'] == 'gravity-schur' and int(measured['schur_correction_sweeps']) == 0)
|
||||
check(row['role'] + '_action_variant_matches', row['variant'] == by_role[row['role']]['variant'])
|
||||
check(row['role'] + '_equivalence_requirement_recorded',
|
||||
row['context_equivalence_required'] == ('1' if expected else '0'))
|
||||
|
||||
Reference in New Issue
Block a user