sberbank-ai-lab / RePlay

RecSys Library
https://sberbank-ai-lab.github.io/RePlay/
Apache License 2.0
68 stars 6 forks source link

Test RePlay on Spark 3.2 #52

Closed AleXXL1986 closed 2 years ago

AleXXL1986 commented 2 years ago

Check all tests and. Ann bug with knn optimize.

Darel13712 commented 2 years ago

zsh: /usr/local/bin/pytest: bad interpreter: /usr/local/opt/python/bin/python3.7: no such file or directory
============================= test session starts ==============================
platform darwin -- Python 3.9.7, pytest-5.4.3, py-1.11.0, pluggy-0.13.1
rootdir: /Users/darel/python/sponge-bob-magic, inifile: pytest.ini
plugins: cov-2.9.0, anyio-3.4.0
collected 244 items

replay/data_preparator.py .                                              [  0%]
replay/experiment.py F                                                   [  0%]
replay/filters.py ......                                                 [  3%]
replay/time.py ..                                                        [  4%]
replay/utils.py .........                                                [  7%]
replay/metrics/mrr.py .                                                  [  8%]
replay/metrics/ndcg.py .                                                 [  8%]
replay/metrics/rocauc.py .                                               [  9%]
replay/metrics/unexpectedness.py .                                       [  9%]
100%|█████████████████████████████████████████| 15/15 [00:00<00:00, 5031.55it/s]
.                                         [  9%]
replay/models/pop_rec.py .                                               [ 10%]
replay/models/random_rec.py .                                            [ 10%]
replay/models/user_pop_rec.py .                                          [ 11%]
replay/models/wilson.py .                                                [ 11%]
replay/splitters/log_splitter.py .                                       [ 11%]
replay/splitters/user_log_splitter.py .                                  [ 12%]
tests/test_data_preparator.py ................................           [ 25%]
tests/test_fallback.py ..                                                [ 26%]
tests/test_metrics.py ...................                                [ 34%]
tests/test_optuna.py ............                                        [ 38%]
tests/test_save_load.py ...FF..........                                  [ 45%]
tests/test_utils.py FF...                                                [ 47%]
tests/models/test_admm_slim.py .....                                     [ 49%]
tests/models/test_all_models.py ....FF................                   [ 58%]
tests/models/test_als.py ....                                            [ 59%]
tests/models/test_association_rules.py .....                             [ 61%]
tests/models/test_base_rec.py .....                                      [ 63%]
tests/models/test_cluster.py ..                                          [ 64%]
tests/models/test_knn.py .                                               [ 65%]
tests/models/test_lightfm_wrap.py ......                                 [ 67%]
tests/models/test_neuromf.py .F......                                    [ 70%]
tests/models/test_pop_rec.py ..                                          [ 71%]
tests/models/test_random_rec.py ......                                   [ 74%]
tests/models/test_slim.py .....                                          [ 76%]
tests/models/test_vae.py .F.                                             [ 77%]
tests/models/test_wilson.py ...                                          [ 78%]
tests/models/test_word2vec.py ..                                         [ 79%]
tests/scenarios/test_two_stages_features.py .........                    [ 83%]
tests/scenarios/test_two_stages_scenario.py .Fatal Python error: Fatal Python error: Segmentation fault

Segmentation faultThread 0x

000070000f85f000 (most recent call first):
  File "/Users/darel/.pyenv/versions/3.[1]    13193 segmentation fault  pytest --cov=replay --cov-report=term-missing --doctest-modules replay  tests```