def METHOD_NAME(artifacts_dir, expected_accuracy, expected_loss):
    with open(artifacts_dir + "/accuracy") as accuracy_file:
        accuracy = accuracy_file.read()
        assert str(expected_accuracy) == accuracy
    with open(artifacts_dir + "/loss") as loss_file:
        loss = loss_file.read()
        assert str(expected_loss) == loss