From faed86cb6472bfeffc72e35125a5db5b5c0efd0a Mon Sep 17 00:00:00 2001
From: Thomas Purcell <purcell@fhi-berlin.mpg.de>
Date: Sun, 15 Nov 2020 14:40:40 +0100
Subject: [PATCH] Lossen check model standards

make it 1e-4 beacuse of parameterization
---
 .gitlab-ci.yml                 | 4 ++--
 tests/exec_test/check_model.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 97a0b909..459bc47a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,7 @@ build.intel:
     - make install
     - cd ../
     - pytest tests/pytest
+    - tests/googletest/sisso_test
     - cd tests/exec_test/classification
     - ../../../bin/sisso++
     - python check_model.py
@@ -38,7 +39,6 @@ build.intel:
     - ../../../bin/sisso++
     - python ../check_model.py
     - cd ../../../
-    - tests/googletest/sisso_test
   tags:
     - docker
 
@@ -56,6 +56,7 @@ build.gnu:
     - make install
     - cd ../
     - pytest tests/pytest
+    - tests/googletest/sisso_test
     - cd tests/exec_test/classification
     - ../../../bin/sisso++
     - python check_model.py
@@ -75,6 +76,5 @@ build.gnu:
     - ../../../bin/sisso++
     - python ../check_model.py
     - cd ../../../
-    - tests/googletest/sisso_test
   tags:
     - docker
diff --git a/tests/exec_test/check_model.py b/tests/exec_test/check_model.py
index 86bb8946..2ad6f45c 100644
--- a/tests/exec_test/check_model.py
+++ b/tests/exec_test/check_model.py
@@ -6,5 +6,5 @@ import numpy as np
 model = ModelRegressor(
     str("models/train_dim_2_model_0.dat"), str("models/test_dim_2_model_0.dat")
 )
-assert model.rmse < 1e-7
-assert model.test_rmse < 1e-7
+assert model.rmse < 1e-4
+assert model.test_rmse < 1e-4
-- 
GitLab