def test_experiment_parameters_schema_comparison(jikken_experiment):
    (exp, expected_variables, _, tmpdir) = jikken_experiment
    diff_variables = copy.deepcopy(expected_variables)
    diff_variables['training_parameters']['batch_size'] = 200
    exp_2 = Experiment(name='exp2', variables=diff_variables, code_dir=tmpdir.strpath)
    assert (exp_2.schema_hash == exp.schema_hash)
    assert (exp.parameters_hash != exp_2.parameters_hash)
def test_experiment_parameters_schema_comparison(jikken_experiment):
    (exp, expected_variables, _, tmpdir) = jikken_experiment
    diff_variables = copy.deepcopy(expected_variables)
    diff_variables['training_parameters']['batch_size'] = 200
    exp_2 = Experiment(name='exp2', variables=diff_variables, code_dir=tmpdir.strpath)
    assert (exp_2.schema_hash == exp.schema_hash)
    assert (exp.parameters_hash != exp_2.parameters_hash)