Running BigCodeBench-Hard tests...
[1m============================= test session starts ==============================[0m
platform linux -- Python 3.10.20, pytest-8.2.0, pluggy-1.6.0 -- /usr/local/bin/python
cachedir: .pytest_cache
rootdir: /tests
plugins: Faker-20.1.0, pyfakefs-5.4.1, requests-mock-1.11.0, anyio-4.13.0
[1mcollecting ... [0mcollected 6 items

test_outputs.py::test_solution_exists [32mPASSED[0m[33m                             [ 16%][0m
test_outputs.py::TestCases::test_case_1 [32mPASSED[0m[33m                           [ 33%][0m
test_outputs.py::TestCases::test_case_2 [32mPASSED[0m[33m                           [ 50%][0m
test_outputs.py::TestCases::test_case_3 [31mFAILED[0m[31m                           [ 66%][0m
test_outputs.py::TestCases::test_case_4 [32mPASSED[0m[31m                           [ 83%][0m
test_outputs.py::TestCases::test_case_5 [32mPASSED[0m[31m                           [100%][0m

=================================== FAILURES ===================================
[31m[1m____________________________ TestCases.test_case_3 _____________________________[0m
[1m[31mtest_outputs.py[0m:44: in test_case_3
    [0mmodel = task_func(texts, stopwords=stopwords_mock)[90m[39;49;00m
[1m[31m/workspace/solution.py[0m:58: in task_func
    [0mmodel = Word2Vec(sentences=sentences, min_count=[94m1[39;49;00m)[90m[39;49;00m
[1m[31m/usr/local/lib/python3.10/site-packages/gensim/models/word2vec.py[0m:430: in __init__
    [0m[96mself[39;49;00m.train([90m[39;49;00m
[1m[31m/usr/local/lib/python3.10/site-packages/gensim/models/word2vec.py[0m:1045: in train
    [0m[96mself[39;49;00m._check_training_sanity(epochs=epochs, total_examples=total_examples, total_words=total_words)[90m[39;49;00m
[1m[31m/usr/local/lib/python3.10/site-packages/gensim/models/word2vec.py[0m:1554: in _check_training_sanity
    [0m[94mraise[39;49;00m [96mRuntimeError[39;49;00m([33m"[39;49;00m[33myou must first build vocabulary before training the model[39;49;00m[33m"[39;49;00m)[90m[39;49;00m
[1m[31mE   RuntimeError: you must first build vocabulary before training the model[0m
[33m=============================== warnings summary ===============================[0m
test_outputs.py:16
  /tests/test_outputs.py:16: DeprecationWarning: invalid escape sequence '\W'
    ALPHANUMERIC = re.compile('[\W_]+')

../workspace/solution.py:6
  /workspace/solution.py:6: DeprecationWarning: invalid escape sequence '\W'
    ALPHANUMERIC = re.compile('[\W_]+')

../usr/local/lib/python3.10/site-packages/scipy/sparse/sparsetools.py:21
  /usr/local/lib/python3.10/site-packages/scipy/sparse/sparsetools.py:21: DeprecationWarning: `scipy.sparse.sparsetools` is deprecated!
  scipy.sparse.sparsetools is a private module for scipy.sparse, and should not be used.
    _deprecated()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[36m[1m=========================== short test summary info ============================[0m
[31mFAILED[0m test_outputs.py::[1mTestCases::test_case_3[0m - RuntimeError: you must first build vocabulary before training the model
[31m=================== [31m[1m1 failed[0m, [32m5 passed[0m, [33m3 warnings[0m[31m in 0.91s[0m[31m ====================[0m
✗ Tests failed (reward: 0)
