Experiment infrastructure + relative score thresholds + some refactoring