Ë
    lQêjî  ã                   óV   — d dl mZ d dlZd dlmZ d dlmZ d dlm	Z	 e	deddfd„«       Z
y)	é    )ÚListN)Ú	ServerAPI)Ú
Collection)Úmulti_region_testÚclientÚreturnc                 óÎ  — | j                  «        d}d}d}| j                  «       j                  rdddœ}nyd}g }t        |«      D ])  }| j	                  d|› �|¬«      }|j                  |«       Œ+ t        j                  j                  ||«      j                  «       }t        |«      D �cg c]  }d|› �‘Œ	 }	}t        |«      D ]  }||   j                  |	|«       Œ yc c}w )	zcTest that we can create a large number of collections and that the system
    # remains responsive.é
   Né   )zhnsw:batch_sizezhnsw:sync_thresholdiL  Útest_collection_)ÚmetadataÚtest_id_)ÚresetÚget_settingsÚis_persistentÚrangeÚcreate_collectionÚappendÚnpÚrandomÚrandÚtolistÚadd)
r   ÚNÚDr   Únum_collectionsÚcollectionsÚiÚnew_collectionÚdataÚidss
             úo/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/chromadb/test/stress/test_many_collections.pyÚtest_many_collectionsr#   	   sø   € ð ‡L�L„Nà
€AØ
€Aà€HØ×ÑÓ×*Ò*Ø'(ÀÑC‰ð 	ð €OØ$&€KÜ�?Ó#ò +ˆØ×1Ñ1Ø˜q˜cÐ"Øð 2ó 
ˆð 	×Ñ˜>Õ*ð+ô �9‰9�>‰>˜!˜QÓ×&Ñ&Ó(€DÜ#(¨£8Ö
,˜aˆX�a�SŠ>Ð
,€CÐ
,Ü�?Ó#ò &ˆØ�A‰×Ñ˜3 Õ%ñ&ùò -s   Â.C")Útypingr   Únumpyr   Úchromadb.apir   Úchromadb.api.models.Collectionr   Úchromadb.test.conftestr   r#   © ó    r"   ú<module>r+      s6   ðÝ Û å "Ý 5Ý 4ð ð& )ð &°ò &ó ñ&r*   