Spaces:
Runtime error
Runtime error
fix import 8 - mod nomi funzioni test
Browse files- MLOps_project/CI/__pycache__/__init__.cpython-312.pyc +0 -0
- MLOps_project/CI/__pycache__/test_ci.cpython-312-pytest-9.0.1.pyc +0 -0
- MLOps_project/CI/test_ci.py +2 -2
- MLOps_project/src/__pycache__/__init__.cpython-312.pyc +0 -0
- MLOps_project/src/__pycache__/dataset.cpython-312.pyc +0 -0
- MLOps_project/src/__pycache__/modello.cpython-312.pyc +0 -0
MLOps_project/CI/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (184 Bytes). View file
|
|
|
MLOps_project/CI/__pycache__/test_ci.cpython-312-pytest-9.0.1.pyc
ADDED
|
Binary file (3.58 kB). View file
|
|
|
MLOps_project/CI/test_ci.py
CHANGED
|
@@ -6,8 +6,8 @@ class TestClass :
|
|
| 6 |
test sul modello per pipeline CI
|
| 7 |
"""
|
| 8 |
|
| 9 |
-
def
|
| 10 |
assert sentiment_task("neutral")[0]["label"]=="neutral" and sentiment_task("awesome")[0]["label"]=="positive" and sentiment_task("terrible")[0]["label"]=="negative"
|
| 11 |
|
| 12 |
-
def
|
| 13 |
assert df_train.shape[0]>df_test.shape[0]
|
|
|
|
| 6 |
test sul modello per pipeline CI
|
| 7 |
"""
|
| 8 |
|
| 9 |
+
def test_trivial_output(self) :
|
| 10 |
assert sentiment_task("neutral")[0]["label"]=="neutral" and sentiment_task("awesome")[0]["label"]=="positive" and sentiment_task("terrible")[0]["label"]=="negative"
|
| 11 |
|
| 12 |
+
def test_train_set_bigger_than_test_set(self) :
|
| 13 |
assert df_train.shape[0]>df_test.shape[0]
|
MLOps_project/src/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (185 Bytes). View file
|
|
|
MLOps_project/src/__pycache__/dataset.cpython-312.pyc
ADDED
|
Binary file (723 Bytes). View file
|
|
|
MLOps_project/src/__pycache__/modello.cpython-312.pyc
ADDED
|
Binary file (386 Bytes). View file
|
|
|