Leon Luithlen
|
8afb25e0d4
|
Move PdfDocument_test.py to integration tests
|
2024-11-14 11:24:11 +01:00 |
|
Leon Luithlen
|
e794bb8834
|
Return stripped value from get_embeddable_data if its string
|
2024-11-14 09:43:56 +01:00 |
|
Leon Luithlen
|
adc8a0b09c
|
Add ellipsis test string
|
2024-11-14 09:43:32 +01:00 |
|
Leon Luithlen
|
d90698305b
|
Simplify chunk_by_word
|
2024-11-14 09:43:10 +01:00 |
|
Leon Luithlen
|
45a60b7f19
|
Remove assert and move is_real_paragraph_end outside loop
|
2024-11-13 16:35:47 +01:00 |
|
Leon Luithlen
|
b787407db7
|
Add more adversarial examples
|
2024-11-13 16:23:14 +01:00 |
|
Leon Luithlen
|
fdec9a692e
|
Test maximum_lenth parameter of chunk_by_sentence
|
2024-11-13 16:03:06 +01:00 |
|
Leon Luithlen
|
9ea2634480
|
Replace word_count with maximum_length in if clause
|
2024-11-13 15:53:44 +01:00 |
|
Leon Luithlen
|
9b2fb09c59
|
Fix PdfDocument teset, give chunk_by_sentence a maximum_length arg
|
2024-11-13 15:39:17 +01:00 |
|
Leon Luithlen
|
1b4a7e4fdc
|
Adapt chunk_by_paragraph_test.py
|
2024-11-13 15:35:03 +01:00 |
|
Leon Luithlen
|
f8e5b529c3
|
Add maximum_length argument to chunk_sentences
|
2024-11-13 15:35:03 +01:00 |
|
Leon Luithlen
|
ef7a19043d
|
Adapt chunk_by_paragraph test parametrization
|
2024-11-13 15:35:03 +01:00 |
|
Leon Luithlen
|
92a66dddb9
|
Autoformat chunking tests
|
2024-11-13 15:35:03 +01:00 |
|
Leon Luithlen
|
ce498d97dd
|
Refactor chunk_by_paragraph to be isomorphic
|
2024-11-13 15:35:03 +01:00 |
|
Leon Luithlen
|
ab55a73d18
|
Adapt chunk_by_sentence to isomorphic chunk_by_word
|
2024-11-13 15:35:03 +01:00 |
|
Leon Luithlen
|
c054e897a3
|
Make chunk_by_word isomorphic
|
2024-11-13 15:35:03 +01:00 |
|
Leon Luithlen
|
830c6710e0
|
Fix chunk_by_word_test
|
2024-11-13 15:35:02 +01:00 |
|
Leon Luithlen
|
98cbaaff68
|
Add isomorphism tests
|
2024-11-13 15:35:02 +01:00 |
|
Leon Luithlen
|
6f0637a028
|
Small cosmetic changes
|
2024-11-13 15:35:02 +01:00 |
|
0xideas
|
7a72aa44d9
|
Merge pull request #197 from topoteretes/COG-577-add-unit-test-task
Cog 577 add unit test task
|
2024-11-13 15:34:13 +01:00 |
|
Leon Luithlen
|
49bc07d30d
|
Rename ground_truth to expected_chunks
|
2024-11-13 14:41:28 +01:00 |
|
Leon Luithlen
|
cd80525420
|
Revert to EXTENSION_TO_DOCUMENT_CLASS implementation of classify_documents
|
2024-11-13 14:32:10 +01:00 |
|
Leon Luithlen
|
aa1480ca2c
|
Remove unused imports and make PdfDocument_test a pytest function
|
2024-11-13 14:26:05 +01:00 |
|
0xideas
|
af88870076
|
Update cognee/tests/unit/interfaces/graph/util.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
|
2024-11-13 14:24:45 +01:00 |
|
Leon Luithlen
|
58a733c1d8
|
Increase time delta
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
8a59cadd08
|
Remove unneeded ground truth dicts and autoformat
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
826de0edbf
|
Remove orphan dictionary
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
83995fa548
|
Try old version of classify_documents
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
2d74590ec4
|
Apply _test.py suffix to test files
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
8107709e98
|
Remove duplicate pdf key
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
7a6cf53292
|
Remove tests/unit/integration folder
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
a5411256c2
|
Add better text for task integration test assertions
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
d01061d88a
|
Remove unused imports
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
949dd50257
|
Copy over gitignore
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
d7d84607a3
|
Clean up unit test pull request
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
2be1127996
|
Makedirs for integration test
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
c385783ba5
|
Remove pytest.ini
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
6f4ba20003
|
Run integration tests in pipeline
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
e6bdb6703a
|
cp cognee_db for integration test
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
adbf3df4e0
|
Move cognee_db for integration test
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
c42bb510c8
|
Add cognee_db
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
636bfae7a2
|
Try recursive patching
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
501d2107a9
|
Try more patching
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
a57530e5ac
|
Use patch
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
ade1fd2f8e
|
Add pytest.ini back
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
7d3657aef7
|
Add fixture for mock user
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
7d3f2224eb
|
Add get_mock_user
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
18890715cf
|
Run unit tests in github actions
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
3cc11383ac
|
Apply autoformatting
|
2024-11-12 16:47:28 +01:00 |
|
Leon Luithlen
|
f326a4daff
|
Transform into pytest tests
|
2024-11-12 16:47:28 +01:00 |
|