Spaces:
Sleeping
Sleeping
IliaLarchenko
commited on
Commit
•
f0c6510
1
Parent(s):
b989f04
Updated comments in tests
Browse files- tests/test_e2e.py +1 -0
- tests/test_models.py +0 -3
tests/test_e2e.py
CHANGED
@@ -31,6 +31,7 @@ def test_complete_interview() -> None:
|
|
31 |
futures = [executor.submit(complete_and_grade_interview, it) for it in interview_types]
|
32 |
|
33 |
# Test edge cases: empty, gibberish, repeat for one random interview type each
|
|
|
34 |
futures.append(executor.submit(complete_and_grade_interview, random.choice(interview_types), mode="empty", min_score=0.0))
|
35 |
futures.append(executor.submit(complete_and_grade_interview, random.choice(interview_types), mode="gibberish", min_score=0.0))
|
36 |
futures.append(executor.submit(complete_and_grade_interview, random.choice(interview_types), mode="repeat", min_score=0.0))
|
|
|
31 |
futures = [executor.submit(complete_and_grade_interview, it) for it in interview_types]
|
32 |
|
33 |
# Test edge cases: empty, gibberish, repeat for one random interview type each
|
34 |
+
# The test are placeholders for not, I will increase thresholds later
|
35 |
futures.append(executor.submit(complete_and_grade_interview, random.choice(interview_types), mode="empty", min_score=0.0))
|
36 |
futures.append(executor.submit(complete_and_grade_interview, random.choice(interview_types), mode="gibberish", min_score=0.0))
|
37 |
futures.append(executor.submit(complete_and_grade_interview, random.choice(interview_types), mode="repeat", min_score=0.0))
|
tests/test_models.py
CHANGED
@@ -4,9 +4,6 @@ from api.audio import STTManager, TTSManager
|
|
4 |
from api.llm import LLMManager
|
5 |
from utils.config import Config
|
6 |
|
7 |
-
# Simple placeholder tests so far
|
8 |
-
# TODO: add more tests including LLM based
|
9 |
-
|
10 |
|
11 |
@pytest.fixture
|
12 |
def app_config():
|
|
|
4 |
from api.llm import LLMManager
|
5 |
from utils.config import Config
|
6 |
|
|
|
|
|
|
|
7 |
|
8 |
@pytest.fixture
|
9 |
def app_config():
|