From 4da2e2ff819cd711342242e1ffe00549d6b38e46 Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Fri, 21 Mar 2025 12:48:51 -0400 Subject: [PATCH] Fix tests --- .../__pycache__/__init__.cpython-313.pyc | Bin 154 -> 0 bytes .../__pycache__/doc_tracker.cpython-313.pyc | Bin 8954 -> 0 bytes src/code_rag/__pycache__/rag.cpython-313.pyc | Bin 8212 -> 0 bytes src/code_rag/rag.py | 4 +--- tests/__pycache__/__init__.cpython-313.pyc | Bin 147 -> 0 bytes tests/__pycache__/fixtures.cpython-313.pyc | Bin 4843 -> 0 bytes ...est_doc_tracker.cpython-313-pytest-8.3.5.pyc | Bin 19804 -> 0 bytes .../test_rag.cpython-313-pytest-8.3.5.pyc | Bin 15632 -> 0 bytes tests/__pycache__/utility.cpython-313.pyc | Bin 1562 -> 0 bytes tests/test_rag.py | 6 +++--- 10 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 src/code_rag/__pycache__/__init__.cpython-313.pyc delete mode 100644 src/code_rag/__pycache__/doc_tracker.cpython-313.pyc delete mode 100644 src/code_rag/__pycache__/rag.cpython-313.pyc delete mode 100644 tests/__pycache__/__init__.cpython-313.pyc delete mode 100644 tests/__pycache__/fixtures.cpython-313.pyc delete mode 100644 tests/__pycache__/test_doc_tracker.cpython-313-pytest-8.3.5.pyc delete mode 100644 tests/__pycache__/test_rag.cpython-313-pytest-8.3.5.pyc delete mode 100644 tests/__pycache__/utility.cpython-313.pyc diff --git a/src/code_rag/__pycache__/__init__.cpython-313.pyc b/src/code_rag/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index d930f3d57cee8880e9dc8eedbebe8349ab4ac528..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 154 zcmey&%ge<81ZjD9(n0iN5CH>>P{wB#AY&>+I)f&o-%5reCLr%KNa~iQenx(7s(xZ| zYEEWuewltjQGQlxa!Ij%a(+r`d{JV$esNJUf)gK~nU`4-AFo$Xd5gm)H$SB`C)KWq V6=)L3reYA|BQql-V-Yiu1pt3BC6WLD diff --git a/src/code_rag/__pycache__/doc_tracker.cpython-313.pyc b/src/code_rag/__pycache__/doc_tracker.cpython-313.pyc deleted file mode 100644 index 60978c7355cc5f50bf882cb4c39d33ba3c7eb5e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8954 zcmdT~U2GItcD~is-R^(4?Y3zf|CGB8c7y+5@i6?D212pc0;?$ zRFyF}Qp8J=_OJ*Of`Hvfm|1NwN~A@}L*_BF(n?VhDb(6Sw+fF$lzEvqgC{~+Z)$H+ssP)lxzA_)%~k`&;9N>-#x{K*XtsX+An`S=?fC_U-)1oYvE?&PvGV*86~64 zSt99IMq=o*MY6!va+dv&l~_(Mvr5(=36W8@iHuqYEP5}Jjpo@P&u-?~N2{8MR5i&& z9N%KK;RvHSQVE4u($joWZ>Y;cFJ$8*c)m+MCHQ`LHzTp57Rie5l5C?^koHk{hg3Cc z2kH3KiEkJv^d!09*-`TB9(78dNms&~+-4kY!GpN+_JH zh!QVzDKR-a%?k=Q4OKZ9Xrh;k$!TE{YNcgP7P&c|yCjHndMjm$=ZsD{C{JYO64zu` zT1YGDL?%7Yr?`ZW;*tr0OI#7t@Wf?Ag%c;Z ztWybjO7nmQl=$onE=fvrCZ}eFOYw9{j@UG-%x5Mf1drrK;X&aAA>+6>Oxn@DDRG+b zOF-51w0Na&MiMXbNk#5UiYY!WB_{i1DOr2~?Zy=;k-Wr9y))M|M?8+2ipRA;$>Q`H zxjuZ?4iMK#KFIyln-2tk>dZHHtvVX>jiH;q4JaZ>bGq<=c&19)0}8oI#!a=vm~pe7 zfz2*#4k>YskQf;;_JW>CWsIqmd-wxF1{t&UdCx0f_5+(P>bxn=DS71|>t%M!G& zkXzQivCy9G^35GU`wF?(zJrY8a?;cRy9jO~RhlaeNSBp_kmMy?<4TLK`G!ShXnH2Y z<2K<_5sQTDq}fD7v5Z>gIH?-5?D05%85Xy8^WtJ&0LtadAg+@&cl{#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NouxLe*tW0GwyzZKxw`nptDnCL)Z2saJ1^PSOt3V8hBe10ma9+w z*1h(YGBl+$oZMtjmDtuI8wF0+dpFs=|D~y`5VH z>m9htF;_2lz(E5WQ=by$OQ3{hr;A;@5CT`-j+a8!tK0-!9YKvP?hx%Wl}nvC6L*f9 z6YvxO*F8UTiPJ?AwzwO@K2O2{_`Ty+kx4LcIqJ(l>WT|89G}_&4d#-QRwOv;TGkc24)H+l6bZc3Q8QvM-@hzErZJE!OTl`7zHmM{- z&?tzxWRf-@(!H2HhZ)6e1u`{~OiD5@XHrRC1|>baEDKUHd5vf+>CT%MJ7b0y(h_>* ze@1>VTWkk@aB;SQ2NR|@Ot#hsdCP#U`QN8aHd~iI7Dq(G^hqc*2VU*Tg3qbzIz+aM z%kXNrGGaKgN&Qho(t`tBa<#G2e`MP`ixyC*Y^5~`J~+Gz>mdeLt*#QOaeXB{PH5Vx z8|-vR+o3hcNA$g=Z`VL&6h5zjeUP-htcHyjQk+h*{JN?=!)kJ)zeE|}Ww)+0%wc`m zj?zDeI#gx}UGy!B$z=MPIKL+DZ^_9!Kovxk diff --git a/src/code_rag/rag.py b/src/code_rag/rag.py index 74dd36c..4e5f23f 100644 --- a/src/code_rag/rag.py +++ b/src/code_rag/rag.py @@ -160,9 +160,7 @@ class RAG: # 3. Process new and modified documents files_to_process = changed_files["new"] + changed_files["modified"] if files_to_process: - chunks, _ = self.process_documents( - files_to_process, text_splitter, self.tracker - ) + chunks, _ = self.process_documents(files_to_process, text_splitter) print(f"Adding {len(chunks)} new chunks to the vector store") vectorstore.add_documents(chunks) else: diff --git a/tests/__pycache__/__init__.cpython-313.pyc b/tests/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 004651634e92150437ea917c00c18b315f6434c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmey&%ge<81ZjD9(n0iN5CH>>P{wB#AY&>+I)f&o-%5reCLr%KNa~i6enx(7s(xZ| zYEEWuewltjQGQlxa!Ij%a(+r`d{JV$eo1OEkQ*PLnU`4-AFo$Xd5gm)H$SB`C)KWq V6=(#=ieeDsBQql-V-Yiu1prtoBNG4s diff --git a/tests/__pycache__/fixtures.cpython-313.pyc b/tests/__pycache__/fixtures.cpython-313.pyc deleted file mode 100644 index 6ab0623e34d17d935a71d3489868b9066a576825..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4843 zcmeHL%}*Og6rcUDcWp2jlR}#h*aU)bOQ4XZ5iN-n(WXftR*QoYDN(IuJ+>EYuQjs< zf})6!1Em+>P{9$Yr`-B4G*PRn>VX8Jpbb4l&4n8kts<(b>YKH_7-AAC^^mF=d*8l! z@6D{|_ujmH;|-tBi=ch?;m`3WZiIeeokHXD%*LOxLfMiH2XvIiVeYqy1PpBgvWCXdZ*Js&^HF8}gUb4)%ERO5R=k0U(5mR2yf|@jrum_G zV3RTwCfbj4T7I$6MTiM)fX8j-I01L(8Uc+N4_!usqR%Fmy+>c!OGEMl}c;%Jg`uU&j`4G=qIiHPWG=i}>Klq=FF^ zpOzbs>W~Z|onXinxZs-d{ICd%e_9mYmZM>5iR_0t>fxeif#l@+?fKF()ACTRUl)+vxJlXm zo;Y*(OvCm)z{D(bZ|sAg^RkTnj}l5L@0CtSypxdlBCqXzyx@!%t~&A2&xOT;oJVP~ zU+iOvWJe3Twh~;}%|3-O@Gjb#i{H~+(w^oL_B5Bg`&?H7{X(12hz_F`REYQ}yeMM4 z0#T#DC-nI#p&rG!7g(Hssl|Iai=bz$Ilm{Un#v?Gyi7+;#mVW;`&CcJ$5`%eZ#73v zo9l46ZOEE75J)3e!{|BiaKCqO+_W99@8~lO)7fY#L1){$7v0>Dz69r z&%p_)e?gqvVc^6}RHs^&QcRVUswMO^R+3mHX^2KeGazg-Ce26A>mhb&1|`IQ88P)I z2!W6aH8$jjq?(Rr)i_q58rLwT%eE!P9*pk0v{QRmvuqWA5kM9e8zIxenXrXFF_DoAt(xU&<(wu^ z76r4leL#Y|<<%0|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wa z%xmw*-$37VFSaPohI+bsdY|s<#%XyKH|Zk7rab znp^Y?PZwvI>R2n?=ovUR2ppvB(?}Aguwxc4^Y=08b9A2>yUcghOIh0VS9B3}hU3be zl`Eh@d{`)cfP}tGG{gORUB}fIVd)<1UzU|+IkGHoS(ZbqLEk~z)VCznohU1V2E0gc zrvX#OfEOoXotk&-aa*^);T_&+_=o- zo+WGiVYSyoX0neb)nH-TO>-7brliA|eT8;wJTe>6Zw)CA)-sJFC0G6CK8AKYY0G1O zsyt?B^2uV zkPKrxw4XjxXImH!(Vhd^2w{|1pHdlLfnoV%ZpHvN&TS0ro2E-tW1NyUN?xbr50D%o z^PLTZMr%3k_mR{rvbGo@d2DDXj?pi@uw50K+K*s`7OqnLY*CdZh^?$BjKH=A7(oVm zp+)vL_bQn`W76z!E3M(@TR?vk|Hc1>TLQmlA|ptCh@UZ`$8`r+32 zBZ{uSTHQMMNkHPCRYe7CGl=w5B0V?H+#IS#p1*qHLnS(Q@!N;XQpfzj!bo{X2Oy*s zrDI7l&#KfhcbMl4;EvQmy9-Q=N=?ovz6+|0P7EstQmZ=DjJ7xu2T+a}N_cx&>R)Q@ zue9RJul_Os1)p!3=WVHYbEDe-*3{;eXCCNOi(g3ky7XZE^4bb?QWtEzoQG6Fv7#|zM%7N6X4mG1K zj>G|!|4PPZS=shWeI$5_Y=NF=)@AGWA=rlzdh?j^ixM5iUMqZV(V<~i4ZeoZgSvJ*^A_%!LKff;!gzO z4dGkC9}CKlg~(5Z?LQHc6(M=g9~A3WngoyhX6qlee&X?n{i|NVQ@29Uy|5%6ycew( n{rC1o#U1zBL*g;<-j1la_g;Hg?77z(6Hkh(d$)-LjEDaRMO8b{ diff --git a/tests/__pycache__/test_rag.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_rag.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 9ce9147b1c55483def620d4a2c3d07e9249f0d65..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15632 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Y4Fx_uNOyPHeoOu+WTWIoQVj66?9k~P4OO;akgyfzO>s7{}+g=rP MTIl9gI+et}0VjqoEdT%j diff --git a/tests/test_rag.py b/tests/test_rag.py index 6c09d49..e96957f 100644 --- a/tests/test_rag.py +++ b/tests/test_rag.py @@ -23,6 +23,7 @@ def test_process_documents(tracker_file, docs_dir, db_dir, sample_docs, rag_pipe files = [ os.path.join(rag_pipeline.docs_dir, "doc1.txt"), os.path.join(rag_pipeline.docs_dir, "doc2.txt"), + os.path.join(rag_pipeline.docs_dir, "doc3.txt"), ] text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=200) @@ -30,13 +31,12 @@ def test_process_documents(tracker_file, docs_dir, db_dir, sample_docs, rag_pipe chunks, file_chunk_map = rag_pipeline.process_documents(files, text_splitter) # Verify chunks were created - assert len(chunks) >= 2 # At least one chunk per document + assert len(chunks) >= 3 # At least one chunk per document tracker = rag_pipeline.tracker # Verify chunk IDs were tracked for file_path in files: assert file_path in tracker.doc_info - assert "chunk_ids" in tracker.doc_info[file_path] - assert len(tracker.doc_info[file_path]["chunk_ids"]) > 0 + assert len(tracker.doc_info[file_path].chunk_ids) > 0 # Verify metadata in chunks for chunk in chunks: