`test_weighted_search` fail in `ailab-db`
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 1
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Description
Test `test_weighted_search` is failing:
```bash
Run python -m unittest discover -s tests
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): openaipublic.blob.core.windows.net:443
DEBUG:urllib3.connectionpool:[https://openaipublic.blob.core.windows.net:443](https://openaipublic.blob.core.windows.net/) "GET /encodings/cl100k_base.tiktoken HTTP/1.1" 200 1681126
INFO:ailab.db:Connecting to ***
FINFO:ailab.db:Connecting to ***
.INFO:ailab.db:Connecting to ***
.INFO:ailab.db:Connecting to ***
.INFO:ailab.db:Connecting to ***
.INFO:ailab.db:Connecting to ***
.INFO:ailab.db:Connecting to ***
.INFO:ailab.db:Connecting to ***
...INFO:ailab.db:Connecting to ***
.
======================================================================
Database connection failed.
FAIL: test_weighted_search (test_db_api.TestDBAPI.test_weighted_search)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/ailab-db/ailab-db/tests/test_db_api.py", line 44, in test_weighted_search
self.assertEqual(len(result[0]['result']), test.MATCH_COUNT)
AssertionError: 3 != 10
----------------------------------------------------------------------
Ran 11 tests in 13.509s
FAILED (failures=1)
Error: Process completed with exit code 1.
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.