Commit graph

1083 commits

Author SHA1 Message Date
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
Leon Luithlen
fbd011560a Rebase onto main 2024-11-12 16:47:28 +01:00
Leon Luithlen
d7ffef1979 Remove old __tests__ folders 2024-11-12 16:47:28 +01:00
Leon Luithlen
86e726d741 Complete migrating unit tests 2024-11-12 16:47:28 +01:00
Leon Luithlen
dce894bfd3 Add first three unit tests 2024-11-12 16:47:28 +01:00
Vasilije
cdaf63f57c
Merge pull request #190 from topoteretes/COG-575-remove-graph-overwrite-on-error
Remove graph overwriting on exception in NetworkXAdapter
2024-11-12 16:45:43 +01:00
Vasilije
b6eceb0458
Merge branch 'main' into COG-575-remove-graph-overwrite-on-error 2024-11-12 16:44:57 +01:00
0xideas
e52d262000
Merge pull request #201 from topoteretes/fix/small-cleanup
Small cleanup pull request
2024-11-12 15:45:29 +01:00
Leon Luithlen
66fb2948f8 Small cleanup pull request 2024-11-12 15:37:03 +01:00
Vasilije
5e48ab9b24
Merge branch 'main' into COG-575-remove-graph-overwrite-on-error 2024-11-12 12:34:46 +01:00
Leon Luithlen
6e59370d71 Rerun checks 2024-11-12 12:07:20 +01:00
Vasilije
357735e748
Delete .github/workflows/auto-comment.yml (#199) 2024-11-12 12:06:21 +01:00
Leon Luithlen
dc209eb26c Rerun checks 2024-11-12 10:48:38 +01:00
Vasilije
bcd397c0b0
Merge pull request #191 from topoteretes/COG-555-codegen-notebook
Add code_graph_demo notebook
2024-11-12 10:18:50 +01:00
Vasilije
be792a7ba6
Merge branch 'main' into COG-575-remove-graph-overwrite-on-error 2024-11-12 10:18:09 +01:00