p y t e s t   :   D : \ M C P _ C o n t r i b u t i o n \ m c p - m e m o r y - s e r v i c e \ . v e n v \ L i b \ s i t e - p a c k a g e s \ p y t e s t _ a s y n c i o \ p l u 
 
 g i n . p y : 3 0 0 :   P y t e s t D e p r e c a t i o n W a r n i n g :   T h e   c o n f i g u r a t i o n   o p t i o n   
 
 " a s y n c i o _ d e f a u l t _ f i x t u r e _ l o o p _ s c o p e "   i s   u n s e t . 
 
 A t   l i n e : 1   c h a r : 1 
 
 +   p y t e s t   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y   >   b e f o r e . t x t   2 > &   . . . 
 
 +   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
 
         +   C a t e g o r y I n f o                     :   N o t S p e c i f i e d :   ( D : \ M C P _ C o n t r i b u . . . c o p e "   i s   u n s e t . : S t r i n g )   [ ]   
 
       ,   R e m o t e E x c e p t i o n 
 
         +   F u l l y Q u a l i f i e d E r r o r I d   :   N a t i v e C o m m a n d E r r o r 
 
   
 
 T h e   e v e n t   l o o p   s c o p e   f o r   a s y n c h r o n o u s   f i x t u r e s   w i l l   d e f a u l t   t o   t h e   " f i x t u r e "   c a c h i n g   
 
 s c o p e .   F u t u r e   v e r s i o n s   o f   p y t e s t - a s y n c i o   w i l l   d e f a u l t   t h e   l o o p   s c o p e   f o r   a s y n c h r o n o u s   
 
 f i x t u r e s   t o   " f u n c t i o n "   s c o p e .   S e t   t h e   d e f a u l t   f i x t u r e   l o o p   s c o p e   e x p l i c i t l y   i n   o r d e r   t o   
 
 a v o i d   u n e x p e c t e d   b e h a v i o r   i n   t h e   f u t u r e .   V a l i d   f i x t u r e   l o o p   s c o p e s   a r e :   " f u n c t i o n " ,   
 
 " c l a s s " ,   " m o d u l e " ,   " p a c k a g e " ,   " s e s s i o n " 
 
 
 
     w a r n i n g s . w a r n ( P y t e s t D e p r e c a t i o n W a r n i n g ( _ D E F A U L T _ F I X T U R E _ L O O P _ S C O P E _ U N S E T ) ) 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 T E S T   I S O L A T I O N   V E R I F I C A T I O N 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 D a t a b a s e   i n   t e m p   d i r e c t o r y :   C : \ U s e r s \ M L \ A p p D a t a \ L o c a l \ T e m p \ m c p - t e s t - d b - q d 0 c l x f 3 \ t e s t . d b 
 
 S t o r a g e   b a c k e n d :   s q l i t e _ v e c 
 
 C l o u d   b a c k e n d s :   B L O C K E D 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   t e s t   s e s s i o n   s t a r t s   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 p l a t f o r m   w i n 3 2   - -   P y t h o n   3 . 1 4 . 3 ,   p y t e s t - 9 . 2 . 0 ,   p l u g g y - 1 . 6 . 0 
 
 b e n c h m a r k :   5 . 3 . 1   ( d e f a u l t s :   t i m e r = t i m e . p e r f _ c o u n t e r   d i s a b l e _ g c = F a l s e   m i n _ r o u n d s = 5   m i n _ t i m e = 0 . 0 0 0 0 0 5   m a x _ t i m e = 1 . 0   c a l i b r a t i o n _ p r e c i s i o n = 1 0   w a r m u p = F a l s e   w a r m u p _ i t e r a t i o n s = 1 0 0 0 0 0 ) 
 
 r o o t d i r :   D : \ M C P _ C o n t r i b u t i o n \ m c p - m e m o r y - s e r v i c e 
 
 c o n f i g f i l e :   p y t e s t . i n i 
 
 p l u g i n s :   a n y i o - 4 . 1 4 . 2 ,   a s y n c i o - 1 . 4 . 1 ,   b e n c h m a r k - 5 . 3 . 1 ,   c o v - 7 . 1 . 0 ,   t i m e o u t - 2 . 4 . 0 ,   x d i s t - 3 . 8 . 0 
 
 a s y n c i o :   m o d e = M o d e . A U T O ,   d e b u g = F a l s e ,   a s y n c i o _ d e f a u l t _ f i x t u r e _ l o o p _ s c o p e = N o n e ,   a s y n c i o _ d e f a u l t _ t e s t _ l o o p _ s c o p e = f u n c t i o n 
 
 c o l l e c t e d   5   i t e m s 
 
 
 
 t e s t s \ m a i n t e n a n c e \ t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y   F E E E E E E E E                                     [ 1 0 0 % ] 
 
 [ T e s t   C l e a n u p ]   S a f e t y   c h e c k s   p a s s e d 
 
 [ T e s t   C l e a n u p ]   D a t a b a s e   p a t h :   C : \ U s e r s \ M L \ A p p D a t a \ L o c a l \ T e m p \ m c p - t e s t - d b - q d 0 c l x f 3 \ t e s t . d b 
 
 [ T e s t   C l e a n u p ]   C l e a n i n g   t e s t   d a t a b a s e . . . 
 
 [ T e s t   C l e a n u p ]   N o   t e s t   m e m o r i e s   t o   c l e a n 
 
 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   E R R O R S   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 _ _ _ _ _ _ _   E R R O R   a t   s e t u p   o f   t e s t _ v a u l t _ e x p o r t _ c r e a t e s _ e x p e c t e d _ s t r u c t u r e   _ _ _ _ _ _ _ _ 
 
 
 
 t e m p _ d b _ p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p 0 l q x x n p l ' 
 
 
 
         @ p y t e s t . f i x t u r e 
 
         a s y n c   d e f   s e e d e d _ s t o r a g e ( t e m p _ d b _ p a t h ) : 
 
                 " " " S e e d   r e a l   s q l i t e - v e c   s t o r a g e   a n d   g r a p h   w i t h   t e s t   m e m o r i e s   a n d   e n t i t i e s . " " " 
 
                 d b _ f i l e   =   o s . p a t h . j o i n ( t e m p _ d b _ p a t h ,   " t e s t _ v a u l t . d b " ) 
 
                 s t o r a g e   =   S q l i t e V e c M e m o r y S t o r a g e ( d b _ p a t h = d b _ f i l e ) 
 
                 a w a i t   s t o r a g e . i n i t i a l i z e ( ) 
 
         
 
                 #   S e e d   3   m e m o r i e s 
 
 >               m e m 1   =   a w a i t   s t o r a g e . s t o r e ( 
 
                         c o n t e n t = " A l p h a   s e r v i c e   h a n d l e s   u s e r   a u t h e n t i c a t i o n   a n d   s e s s i o n   t o k e n s . " , 
 
                         t a g s = [ " a u t h " ,   " s e c u r i t y " ] , 
 
                 ) 
 
 E               T y p e E r r o r :   S t o r e M i x i n . s t o r e ( )   g o t   a n   u n e x p e c t e d   k e y w o r d   a r g u m e n t   ' c o n t e n t ' 
 
 
 
 t e s t s \ m a i n t e n a n c e \ t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : 2 4 :   T y p e E r r o r 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   C a p t u r e d   l o g   s e t u p   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 E R R O R         m c p _ m e m o r y _ s e r v i c e . e m b e d d i n g s . o n n x _ e m b e d d i n g s : o n n x _ e m b e d d i n g s . p y : 4 3 6   F a i l e d   t o   c r e a t e   O N N X   e m b e d d i n g   m o d e l :   O N N X   m o d e l   i s   n o t   c a c h e d   a n d   d o w n l o a d s   a r e   d i s a b l e d   ( M C P _ M E M O R Y _ O N N X _ A L L O W _ D O W N L O A D = 0 ) . 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 6 2   O N N X   m o d e l   c r e a t i o n   f a i l e d ,   f a l l i n g   b a c k   t o   S e n t e n c e T r a n s f o r m e r 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 7 7   N o   e m b e d d i n g   b a c k e n d   a v a i l a b l e ;   u s i n g   h a s h   e m b e d d i n g s   ( r e d u c e d   q u a l i t y ) .   I n s t a l l   M L   d e p e n d e n c i e s   f o r   s e m a n t i c   s e a r c h :   p i p   i n s t a l l   m c p - m e m o r y - s e r v i c e [ m l ] .   T h e   h a s h   f a l l b a c k   i s   r e f u s e d   o n   d a t a b a s e s   t h a t   a l r e a d y   c o n t a i n   m e m o r i e s ;   s e t   M C P _ M E M O R Y _ A L L O W _ H A S H _ E M B E D D I N G S = 1   t o   o v e r r i d e   f o r   t e s t i n g . 
 
 _ _ _ _ _ _   E R R O R   a t   t e a r d o w n   o f   t e s t _ v a u l t _ e x p o r t _ c r e a t e s _ e x p e c t e d _ s t r u c t u r e   _ _ _ _ _ _ 
 
 
 
         @ p y t e s t . f i x t u r e 
 
         d e f   t e m p _ d b _ p a t h ( ) : 
 
                 ' ' ' C r e a t e   a   t e m p o r a r y   d i r e c t o r y   f o r   d a t a b a s e   t e s t i n g . ' ' ' 
 
                 t e m p _ d i r   =   t e m p f i l e . m k d t e m p ( ) 
 
                 y i e l d   t e m p _ d i r 
 
                 #   C l e a n   u p   a f t e r   t e s t 
 
 >               s h u t i l . r m t r e e ( t e m p _ d i r ) 
 
 
 
 t e s t s \ c o n f t e s t . p y : 1 7 3 :   
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 8 5 2 :   i n   r m t r e e 
 
         _ r m t r e e _ i m p l ( p a t h ,   d i r _ f d ,   o n e x c ) 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 7 0 5 :   i n   _ r m t r e e _ u n s a f e 
 
         o n e x c ( o s . u n l i n k ,   f u l l n a m e ,   e r r ) 
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 
 
 p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p 0 l q x x n p l ' ,   d i r _ f d   =   N o n e 
 
 o n e x c   =   < f u n c t i o n   r m t r e e . < l o c a l s > . o n e x c   a t   0 x 0 0 0 0 0 1 D B 0 4 B 5 A 4 0 0 > 
 
 
 
         d e f   _ r m t r e e _ u n s a f e ( p a t h ,   d i r _ f d ,   o n e x c ) : 
 
                 i f   d i r _ f d   i s   n o t   N o n e : 
 
                         r a i s e   N o t I m p l e m e n t e d E r r o r ( " d i r _ f d   u n a v a i l a b l e   o n   t h i s   p l a t f o r m " ) 
 
                 t r y : 
 
                         s t   =   o s . l s t a t ( p a t h ) 
 
                 e x c e p t   O S E r r o r   a s   e r r : 
 
                         o n e x c ( o s . l s t a t ,   p a t h ,   e r r ) 
 
                         r e t u r n 
 
                 t r y : 
 
                         i f   _ r m t r e e _ i s l i n k ( s t ) : 
 
                                 #   s y m l i n k s   t o   d i r e c t o r i e s   a r e   f o r b i d d e n ,   s e e   b u g   # 1 6 6 9 
 
                                 r a i s e   O S E r r o r ( " C a n n o t   c a l l   r m t r e e   o n   a   s y m b o l i c   l i n k " ) 
 
                 e x c e p t   O S E r r o r   a s   e r r : 
 
                         o n e x c ( o s . p a t h . i s l i n k ,   p a t h ,   e r r ) 
 
                         #   c a n ' t   c o n t i n u e   e v e n   i f   o n e x c   h o o k   r e t u r n s 
 
                         r e t u r n 
 
                 d e f   o n e r r o r ( e r r ) : 
 
                         i f   n o t   i s i n s t a n c e ( e r r ,   F i l e N o t F o u n d E r r o r ) : 
 
                                 o n e x c ( o s . s c a n d i r ,   e r r . f i l e n a m e ,   e r r ) 
 
                 r e s u l t s   =   o s . w a l k ( p a t h ,   t o p d o w n = F a l s e ,   o n e r r o r = o n e r r o r ,   f o l l o w l i n k s = o s . _ w a l k _ s y m l i n k s _ a s _ f i l e s ) 
 
                 f o r   d i r p a t h ,   d i r n a m e s ,   f i l e n a m e s   i n   r e s u l t s : 
 
                         f o r   n a m e   i n   d i r n a m e s : 
 
                                 f u l l n a m e   =   o s . p a t h . j o i n ( d i r p a t h ,   n a m e ) 
 
                                 t r y : 
 
                                         o s . r m d i r ( f u l l n a m e ) 
 
                                 e x c e p t   F i l e N o t F o u n d E r r o r : 
 
                                         c o n t i n u e 
 
                                 e x c e p t   O S E r r o r   a s   e r r : 
 
                                         o n e x c ( o s . r m d i r ,   f u l l n a m e ,   e r r ) 
 
                         f o r   n a m e   i n   f i l e n a m e s : 
 
                                 f u l l n a m e   =   o s . p a t h . j o i n ( d i r p a t h ,   n a m e ) 
 
                                 t r y : 
 
 >                                       o s . u n l i n k ( f u l l n a m e ) 
 
 E                                       P e r m i s s i o n E r r o r :   [ W i n E r r o r   3 2 ]   T h e   p r o c e s s   c a n n o t   a c c e s s   t h e   f i l e   b e c a u s e   i t   i s   b e i n g   u s e d   b y   a n o t h e r   p r o c e s s :   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p 0 l q x x n p l \ \ t e s t _ v a u l t . d b ' 
 
 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 7 0 1 :   P e r m i s s i o n E r r o r 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   C a p t u r e d   l o g   s e t u p   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 E R R O R         m c p _ m e m o r y _ s e r v i c e . e m b e d d i n g s . o n n x _ e m b e d d i n g s : o n n x _ e m b e d d i n g s . p y : 4 3 6   F a i l e d   t o   c r e a t e   O N N X   e m b e d d i n g   m o d e l :   O N N X   m o d e l   i s   n o t   c a c h e d   a n d   d o w n l o a d s   a r e   d i s a b l e d   ( M C P _ M E M O R Y _ O N N X _ A L L O W _ D O W N L O A D = 0 ) . 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 6 2   O N N X   m o d e l   c r e a t i o n   f a i l e d ,   f a l l i n g   b a c k   t o   S e n t e n c e T r a n s f o r m e r 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 7 7   N o   e m b e d d i n g   b a c k e n d   a v a i l a b l e ;   u s i n g   h a s h   e m b e d d i n g s   ( r e d u c e d   q u a l i t y ) .   I n s t a l l   M L   d e p e n d e n c i e s   f o r   s e m a n t i c   s e a r c h :   p i p   i n s t a l l   m c p - m e m o r y - s e r v i c e [ m l ] .   T h e   h a s h   f a l l b a c k   i s   r e f u s e d   o n   d a t a b a s e s   t h a t   a l r e a d y   c o n t a i n   m e m o r i e s ;   s e t   M C P _ M E M O R Y _ A L L O W _ H A S H _ E M B E D D I N G S = 1   t o   o v e r r i d e   f o r   t e s t i n g . 
 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _   E R R O R   a t   s e t u p   o f   t e s t _ w i k i l i n k s _ r e s p e c t _ l i m i t   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 
 
 
 t e m p _ d b _ p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p z w z h l q 4 w ' 
 
 
 
         @ p y t e s t . f i x t u r e 
 
         a s y n c   d e f   s e e d e d _ s t o r a g e ( t e m p _ d b _ p a t h ) : 
 
                 " " " S e e d   r e a l   s q l i t e - v e c   s t o r a g e   a n d   g r a p h   w i t h   t e s t   m e m o r i e s   a n d   e n t i t i e s . " " " 
 
                 d b _ f i l e   =   o s . p a t h . j o i n ( t e m p _ d b _ p a t h ,   " t e s t _ v a u l t . d b " ) 
 
                 s t o r a g e   =   S q l i t e V e c M e m o r y S t o r a g e ( d b _ p a t h = d b _ f i l e ) 
 
                 a w a i t   s t o r a g e . i n i t i a l i z e ( ) 
 
         
 
                 #   S e e d   3   m e m o r i e s 
 
 >               m e m 1   =   a w a i t   s t o r a g e . s t o r e ( 
 
                         c o n t e n t = " A l p h a   s e r v i c e   h a n d l e s   u s e r   a u t h e n t i c a t i o n   a n d   s e s s i o n   t o k e n s . " , 
 
                         t a g s = [ " a u t h " ,   " s e c u r i t y " ] , 
 
                 ) 
 
 E               T y p e E r r o r :   S t o r e M i x i n . s t o r e ( )   g o t   a n   u n e x p e c t e d   k e y w o r d   a r g u m e n t   ' c o n t e n t ' 
 
 
 
 t e s t s \ m a i n t e n a n c e \ t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : 2 4 :   T y p e E r r o r 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   C a p t u r e d   l o g   s e t u p   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 E R R O R         m c p _ m e m o r y _ s e r v i c e . e m b e d d i n g s . o n n x _ e m b e d d i n g s : o n n x _ e m b e d d i n g s . p y : 4 3 6   F a i l e d   t o   c r e a t e   O N N X   e m b e d d i n g   m o d e l :   O N N X   m o d e l   i s   n o t   c a c h e d   a n d   d o w n l o a d s   a r e   d i s a b l e d   ( M C P _ M E M O R Y _ O N N X _ A L L O W _ D O W N L O A D = 0 ) . 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 6 2   O N N X   m o d e l   c r e a t i o n   f a i l e d ,   f a l l i n g   b a c k   t o   S e n t e n c e T r a n s f o r m e r 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 7 7   N o   e m b e d d i n g   b a c k e n d   a v a i l a b l e ;   u s i n g   h a s h   e m b e d d i n g s   ( r e d u c e d   q u a l i t y ) .   I n s t a l l   M L   d e p e n d e n c i e s   f o r   s e m a n t i c   s e a r c h :   p i p   i n s t a l l   m c p - m e m o r y - s e r v i c e [ m l ] .   T h e   h a s h   f a l l b a c k   i s   r e f u s e d   o n   d a t a b a s e s   t h a t   a l r e a d y   c o n t a i n   m e m o r i e s ;   s e t   M C P _ M E M O R Y _ A L L O W _ H A S H _ E M B E D D I N G S = 1   t o   o v e r r i d e   f o r   t e s t i n g . 
 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _   E R R O R   a t   t e a r d o w n   o f   t e s t _ w i k i l i n k s _ r e s p e c t _ l i m i t   _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 
 
 
         @ p y t e s t . f i x t u r e 
 
         d e f   t e m p _ d b _ p a t h ( ) : 
 
                 ' ' ' C r e a t e   a   t e m p o r a r y   d i r e c t o r y   f o r   d a t a b a s e   t e s t i n g . ' ' ' 
 
                 t e m p _ d i r   =   t e m p f i l e . m k d t e m p ( ) 
 
                 y i e l d   t e m p _ d i r 
 
                 #   C l e a n   u p   a f t e r   t e s t 
 
 >               s h u t i l . r m t r e e ( t e m p _ d i r ) 
 
 
 
 t e s t s \ c o n f t e s t . p y : 1 7 3 :   
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 8 5 2 :   i n   r m t r e e 
 
         _ r m t r e e _ i m p l ( p a t h ,   d i r _ f d ,   o n e x c ) 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 7 0 5 :   i n   _ r m t r e e _ u n s a f e 
 
         o n e x c ( o s . u n l i n k ,   f u l l n a m e ,   e r r ) 
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 
 
 p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p z w z h l q 4 w ' ,   d i r _ f d   =   N o n e 
 
 o n e x c   =   < f u n c t i o n   r m t r e e . < l o c a l s > . o n e x c   a t   0 x 0 0 0 0 0 1 D B 0 4 F 9 B 6 9 0 > 
 
 
 
         d e f   _ r m t r e e _ u n s a f e ( p a t h ,   d i r _ f d ,   o n e x c ) : 
 
                 i f   d i r _ f d   i s   n o t   N o n e : 
 
                         r a i s e   N o t I m p l e m e n t e d E r r o r ( " d i r _ f d   u n a v a i l a b l e   o n   t h i s   p l a t f o r m " ) 
 
                 t r y : 
 
                         s t   =   o s . l s t a t ( p a t h ) 
 
                 e x c e p t   O S E r r o r   a s   e r r : 
 
                         o n e x c ( o s . l s t a t ,   p a t h ,   e r r ) 
 
                         r e t u r n 
 
                 t r y : 
 
                         i f   _ r m t r e e _ i s l i n k ( s t ) : 
 
                                 #   s y m l i n k s   t o   d i r e c t o r i e s   a r e   f o r b i d d e n ,   s e e   b u g   # 1 6 6 9 
 
                                 r a i s e   O S E r r o r ( " C a n n o t   c a l l   r m t r e e   o n   a   s y m b o l i c   l i n k " ) 
 
                 e x c e p t   O S E r r o r   a s   e r r : 
 
                         o n e x c ( o s . p a t h . i s l i n k ,   p a t h ,   e r r ) 
 
                         #   c a n ' t   c o n t i n u e   e v e n   i f   o n e x c   h o o k   r e t u r n s 
 
                         r e t u r n 
 
                 d e f   o n e r r o r ( e r r ) : 
 
                         i f   n o t   i s i n s t a n c e ( e r r ,   F i l e N o t F o u n d E r r o r ) : 
 
                                 o n e x c ( o s . s c a n d i r ,   e r r . f i l e n a m e ,   e r r ) 
 
                 r e s u l t s   =   o s . w a l k ( p a t h ,   t o p d o w n = F a l s e ,   o n e r r o r = o n e r r o r ,   f o l l o w l i n k s = o s . _ w a l k _ s y m l i n k s _ a s _ f i l e s ) 
 
                 f o r   d i r p a t h ,   d i r n a m e s ,   f i l e n a m e s   i n   r e s u l t s : 
 
                         f o r   n a m e   i n   d i r n a m e s : 
 
                                 f u l l n a m e   =   o s . p a t h . j o i n ( d i r p a t h ,   n a m e ) 
 
                                 t r y : 
 
                                         o s . r m d i r ( f u l l n a m e ) 
 
                                 e x c e p t   F i l e N o t F o u n d E r r o r : 
 
                                         c o n t i n u e 
 
                                 e x c e p t   O S E r r o r   a s   e r r : 
 
                                         o n e x c ( o s . r m d i r ,   f u l l n a m e ,   e r r ) 
 
                         f o r   n a m e   i n   f i l e n a m e s : 
 
                                 f u l l n a m e   =   o s . p a t h . j o i n ( d i r p a t h ,   n a m e ) 
 
                                 t r y : 
 
 >                                       o s . u n l i n k ( f u l l n a m e ) 
 
 E                                       P e r m i s s i o n E r r o r :   [ W i n E r r o r   3 2 ]   T h e   p r o c e s s   c a n n o t   a c c e s s   t h e   f i l e   b e c a u s e   i t   i s   b e i n g   u s e d   b y   a n o t h e r   p r o c e s s :   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p z w z h l q 4 w \ \ t e s t _ v a u l t . d b ' 
 
 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 7 0 1 :   P e r m i s s i o n E r r o r 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   C a p t u r e d   l o g   s e t u p   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 E R R O R         m c p _ m e m o r y _ s e r v i c e . e m b e d d i n g s . o n n x _ e m b e d d i n g s : o n n x _ e m b e d d i n g s . p y : 4 3 6   F a i l e d   t o   c r e a t e   O N N X   e m b e d d i n g   m o d e l :   O N N X   m o d e l   i s   n o t   c a c h e d   a n d   d o w n l o a d s   a r e   d i s a b l e d   ( M C P _ M E M O R Y _ O N N X _ A L L O W _ D O W N L O A D = 0 ) . 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 6 2   O N N X   m o d e l   c r e a t i o n   f a i l e d ,   f a l l i n g   b a c k   t o   S e n t e n c e T r a n s f o r m e r 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 7 7   N o   e m b e d d i n g   b a c k e n d   a v a i l a b l e ;   u s i n g   h a s h   e m b e d d i n g s   ( r e d u c e d   q u a l i t y ) .   I n s t a l l   M L   d e p e n d e n c i e s   f o r   s e m a n t i c   s e a r c h :   p i p   i n s t a l l   m c p - m e m o r y - s e r v i c e [ m l ] .   T h e   h a s h   f a l l b a c k   i s   r e f u s e d   o n   d a t a b a s e s   t h a t   a l r e a d y   c o n t a i n   m e m o r i e s ;   s e t   M C P _ M E M O R Y _ A L L O W _ H A S H _ E M B E D D I N G S = 1   t o   o v e r r i d e   f o r   t e s t i n g . 
 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _   E R R O R   a t   s e t u p   o f   t e s t _ d e l e t e d _ m e m o r y _ o m i t t e d   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 
 
 
 t e m p _ d b _ p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p u t b 7 x 7 h i ' 
 
 
 
         @ p y t e s t . f i x t u r e 
 
         a s y n c   d e f   s e e d e d _ s t o r a g e ( t e m p _ d b _ p a t h ) : 
 
                 " " " S e e d   r e a l   s q l i t e - v e c   s t o r a g e   a n d   g r a p h   w i t h   t e s t   m e m o r i e s   a n d   e n t i t i e s . " " " 
 
                 d b _ f i l e   =   o s . p a t h . j o i n ( t e m p _ d b _ p a t h ,   " t e s t _ v a u l t . d b " ) 
 
                 s t o r a g e   =   S q l i t e V e c M e m o r y S t o r a g e ( d b _ p a t h = d b _ f i l e ) 
 
                 a w a i t   s t o r a g e . i n i t i a l i z e ( ) 
 
         
 
                 #   S e e d   3   m e m o r i e s 
 
 >               m e m 1   =   a w a i t   s t o r a g e . s t o r e ( 
 
                         c o n t e n t = " A l p h a   s e r v i c e   h a n d l e s   u s e r   a u t h e n t i c a t i o n   a n d   s e s s i o n   t o k e n s . " , 
 
                         t a g s = [ " a u t h " ,   " s e c u r i t y " ] , 
 
                 ) 
 
 E               T y p e E r r o r :   S t o r e M i x i n . s t o r e ( )   g o t   a n   u n e x p e c t e d   k e y w o r d   a r g u m e n t   ' c o n t e n t ' 
 
 
 
 t e s t s \ m a i n t e n a n c e \ t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : 2 4 :   T y p e E r r o r 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   C a p t u r e d   l o g   s e t u p   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 E R R O R         m c p _ m e m o r y _ s e r v i c e . e m b e d d i n g s . o n n x _ e m b e d d i n g s : o n n x _ e m b e d d i n g s . p y : 4 3 6   F a i l e d   t o   c r e a t e   O N N X   e m b e d d i n g   m o d e l :   O N N X   m o d e l   i s   n o t   c a c h e d   a n d   d o w n l o a d s   a r e   d i s a b l e d   ( M C P _ M E M O R Y _ O N N X _ A L L O W _ D O W N L O A D = 0 ) . 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 6 2   O N N X   m o d e l   c r e a t i o n   f a i l e d ,   f a l l i n g   b a c k   t o   S e n t e n c e T r a n s f o r m e r 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 7 7   N o   e m b e d d i n g   b a c k e n d   a v a i l a b l e ;   u s i n g   h a s h   e m b e d d i n g s   ( r e d u c e d   q u a l i t y ) .   I n s t a l l   M L   d e p e n d e n c i e s   f o r   s e m a n t i c   s e a r c h :   p i p   i n s t a l l   m c p - m e m o r y - s e r v i c e [ m l ] .   T h e   h a s h   f a l l b a c k   i s   r e f u s e d   o n   d a t a b a s e s   t h a t   a l r e a d y   c o n t a i n   m e m o r i e s ;   s e t   M C P _ M E M O R Y _ A L L O W _ H A S H _ E M B E D D I N G S = 1   t o   o v e r r i d e   f o r   t e s t i n g . 
 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _   E R R O R   a t   t e a r d o w n   o f   t e s t _ d e l e t e d _ m e m o r y _ o m i t t e d   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 
 
 
         @ p y t e s t . f i x t u r e 
 
         d e f   t e m p _ d b _ p a t h ( ) : 
 
                 ' ' ' C r e a t e   a   t e m p o r a r y   d i r e c t o r y   f o r   d a t a b a s e   t e s t i n g . ' ' ' 
 
                 t e m p _ d i r   =   t e m p f i l e . m k d t e m p ( ) 
 
                 y i e l d   t e m p _ d i r 
 
                 #   C l e a n   u p   a f t e r   t e s t 
 
 >               s h u t i l . r m t r e e ( t e m p _ d i r ) 
 
 
 
 t e s t s \ c o n f t e s t . p y : 1 7 3 :   
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 8 5 2 :   i n   r m t r e e 
 
         _ r m t r e e _ i m p l ( p a t h ,   d i r _ f d ,   o n e x c ) 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 7 0 5 :   i n   _ r m t r e e _ u n s a f e 
 
         o n e x c ( o s . u n l i n k ,   f u l l n a m e ,   e r r ) 
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 
 
 p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p u t b 7 x 7 h i ' ,   d i r _ f d   =   N o n e 
 
 o n e x c   =   < f u n c t i o n   r m t r e e . < l o c a l s > . o n e x c   a t   0 x 0 0 0 0 0 1 D B 0 4 F 9 B D 7 0 > 
 
 
 
         d e f   _ r m t r e e _ u n s a f e ( p a t h ,   d i r _ f d ,   o n e x c ) : 
 
                 i f   d i r _ f d   i s   n o t   N o n e : 
 
                         r a i s e   N o t I m p l e m e n t e d E r r o r ( " d i r _ f d   u n a v a i l a b l e   o n   t h i s   p l a t f o r m " ) 
 
                 t r y : 
 
                         s t   =   o s . l s t a t ( p a t h ) 
 
                 e x c e p t   O S E r r o r   a s   e r r : 
 
                         o n e x c ( o s . l s t a t ,   p a t h ,   e r r ) 
 
                         r e t u r n 
 
                 t r y : 
 
                         i f   _ r m t r e e _ i s l i n k ( s t ) : 
 
                                 #   s y m l i n k s   t o   d i r e c t o r i e s   a r e   f o r b i d d e n ,   s e e   b u g   # 1 6 6 9 
 
                                 r a i s e   O S E r r o r ( " C a n n o t   c a l l   r m t r e e   o n   a   s y m b o l i c   l i n k " ) 
 
                 e x c e p t   O S E r r o r   a s   e r r : 
 
                         o n e x c ( o s . p a t h . i s l i n k ,   p a t h ,   e r r ) 
 
                         #   c a n ' t   c o n t i n u e   e v e n   i f   o n e x c   h o o k   r e t u r n s 
 
                         r e t u r n 
 
                 d e f   o n e r r o r ( e r r ) : 
 
                         i f   n o t   i s i n s t a n c e ( e r r ,   F i l e N o t F o u n d E r r o r ) : 
 
                                 o n e x c ( o s . s c a n d i r ,   e r r . f i l e n a m e ,   e r r ) 
 
                 r e s u l t s   =   o s . w a l k ( p a t h ,   t o p d o w n = F a l s e ,   o n e r r o r = o n e r r o r ,   f o l l o w l i n k s = o s . _ w a l k _ s y m l i n k s _ a s _ f i l e s ) 
 
                 f o r   d i r p a t h ,   d i r n a m e s ,   f i l e n a m e s   i n   r e s u l t s : 
 
                         f o r   n a m e   i n   d i r n a m e s : 
 
                                 f u l l n a m e   =   o s . p a t h . j o i n ( d i r p a t h ,   n a m e ) 
 
                                 t r y : 
 
                                         o s . r m d i r ( f u l l n a m e ) 
 
                                 e x c e p t   F i l e N o t F o u n d E r r o r : 
 
                                         c o n t i n u e 
 
                                 e x c e p t   O S E r r o r   a s   e r r : 
 
                                         o n e x c ( o s . r m d i r ,   f u l l n a m e ,   e r r ) 
 
                         f o r   n a m e   i n   f i l e n a m e s : 
 
                                 f u l l n a m e   =   o s . p a t h . j o i n ( d i r p a t h ,   n a m e ) 
 
                                 t r y : 
 
 >                                       o s . u n l i n k ( f u l l n a m e ) 
 
 E                                       P e r m i s s i o n E r r o r :   [ W i n E r r o r   3 2 ]   T h e   p r o c e s s   c a n n o t   a c c e s s   t h e   f i l e   b e c a u s e   i t   i s   b e i n g   u s e d   b y   a n o t h e r   p r o c e s s :   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p u t b 7 x 7 h i \ \ t e s t _ v a u l t . d b ' 
 
 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 7 0 1 :   P e r m i s s i o n E r r o r 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   C a p t u r e d   l o g   s e t u p   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 E R R O R         m c p _ m e m o r y _ s e r v i c e . e m b e d d i n g s . o n n x _ e m b e d d i n g s : o n n x _ e m b e d d i n g s . p y : 4 3 6   F a i l e d   t o   c r e a t e   O N N X   e m b e d d i n g   m o d e l :   O N N X   m o d e l   i s   n o t   c a c h e d   a n d   d o w n l o a d s   a r e   d i s a b l e d   ( M C P _ M E M O R Y _ O N N X _ A L L O W _ D O W N L O A D = 0 ) . 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 6 2   O N N X   m o d e l   c r e a t i o n   f a i l e d ,   f a l l i n g   b a c k   t o   S e n t e n c e T r a n s f o r m e r 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 7 7   N o   e m b e d d i n g   b a c k e n d   a v a i l a b l e ;   u s i n g   h a s h   e m b e d d i n g s   ( r e d u c e d   q u a l i t y ) .   I n s t a l l   M L   d e p e n d e n c i e s   f o r   s e m a n t i c   s e a r c h :   p i p   i n s t a l l   m c p - m e m o r y - s e r v i c e [ m l ] .   T h e   h a s h   f a l l b a c k   i s   r e f u s e d   o n   d a t a b a s e s   t h a t   a l r e a d y   c o n t a i n   m e m o r i e s ;   s e t   M C P _ M E M O R Y _ A L L O W _ H A S H _ E M B E D D I N G S = 1   t o   o v e r r i d e   f o r   t e s t i n g . 
 
 _   E R R O R   a t   s e t u p   o f   t e s t _ r e r u n _ r e m o v e s _ s t a l e _ p a g e s _ a n d _ p r e s e r v e s _ u n r e l a t e d _ f i l e s   _ 
 
 
 
 t e m p _ d b _ p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p r 6 w w s _ a q ' 
 
 
 
         @ p y t e s t . f i x t u r e 
 
         a s y n c   d e f   s e e d e d _ s t o r a g e ( t e m p _ d b _ p a t h ) : 
 
                 " " " S e e d   r e a l   s q l i t e - v e c   s t o r a g e   a n d   g r a p h   w i t h   t e s t   m e m o r i e s   a n d   e n t i t i e s . " " " 
 
                 d b _ f i l e   =   o s . p a t h . j o i n ( t e m p _ d b _ p a t h ,   " t e s t _ v a u l t . d b " ) 
 
                 s t o r a g e   =   S q l i t e V e c M e m o r y S t o r a g e ( d b _ p a t h = d b _ f i l e ) 
 
                 a w a i t   s t o r a g e . i n i t i a l i z e ( ) 
 
         
 
                 #   S e e d   3   m e m o r i e s 
 
 >               m e m 1   =   a w a i t   s t o r a g e . s t o r e ( 
 
                         c o n t e n t = " A l p h a   s e r v i c e   h a n d l e s   u s e r   a u t h e n t i c a t i o n   a n d   s e s s i o n   t o k e n s . " , 
 
                         t a g s = [ " a u t h " ,   " s e c u r i t y " ] , 
 
                 ) 
 
 E               T y p e E r r o r :   S t o r e M i x i n . s t o r e ( )   g o t   a n   u n e x p e c t e d   k e y w o r d   a r g u m e n t   ' c o n t e n t ' 
 
 
 
 t e s t s \ m a i n t e n a n c e \ t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : 2 4 :   T y p e E r r o r 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   C a p t u r e d   l o g   s e t u p   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 E R R O R         m c p _ m e m o r y _ s e r v i c e . e m b e d d i n g s . o n n x _ e m b e d d i n g s : o n n x _ e m b e d d i n g s . p y : 4 3 6   F a i l e d   t o   c r e a t e   O N N X   e m b e d d i n g   m o d e l :   O N N X   m o d e l   i s   n o t   c a c h e d   a n d   d o w n l o a d s   a r e   d i s a b l e d   ( M C P _ M E M O R Y _ O N N X _ A L L O W _ D O W N L O A D = 0 ) . 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 6 2   O N N X   m o d e l   c r e a t i o n   f a i l e d ,   f a l l i n g   b a c k   t o   S e n t e n c e T r a n s f o r m e r 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 7 7   N o   e m b e d d i n g   b a c k e n d   a v a i l a b l e ;   u s i n g   h a s h   e m b e d d i n g s   ( r e d u c e d   q u a l i t y ) .   I n s t a l l   M L   d e p e n d e n c i e s   f o r   s e m a n t i c   s e a r c h :   p i p   i n s t a l l   m c p - m e m o r y - s e r v i c e [ m l ] .   T h e   h a s h   f a l l b a c k   i s   r e f u s e d   o n   d a t a b a s e s   t h a t   a l r e a d y   c o n t a i n   m e m o r i e s ;   s e t   M C P _ M E M O R Y _ A L L O W _ H A S H _ E M B E D D I N G S = 1   t o   o v e r r i d e   f o r   t e s t i n g . 
 
 _   E R R O R   a t   t e a r d o w n   o f   t e s t _ r e r u n _ r e m o v e s _ s t a l e _ p a g e s _ a n d _ p r e s e r v e s _ u n r e l a t e d _ f i l e s   _ 
 
 
 
         @ p y t e s t . f i x t u r e 
 
         d e f   t e m p _ d b _ p a t h ( ) : 
 
                 ' ' ' C r e a t e   a   t e m p o r a r y   d i r e c t o r y   f o r   d a t a b a s e   t e s t i n g . ' ' ' 
 
                 t e m p _ d i r   =   t e m p f i l e . m k d t e m p ( ) 
 
                 y i e l d   t e m p _ d i r 
 
                 #   C l e a n   u p   a f t e r   t e s t 
 
 >               s h u t i l . r m t r e e ( t e m p _ d i r ) 
 
 
 
 t e s t s \ c o n f t e s t . p y : 1 7 3 :   
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 8 5 2 :   i n   r m t r e e 
 
         _ r m t r e e _ i m p l ( p a t h ,   d i r _ f d ,   o n e x c ) 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 7 0 5 :   i n   _ r m t r e e _ u n s a f e 
 
         o n e x c ( o s . u n l i n k ,   f u l l n a m e ,   e r r ) 
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 
 
 p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p r 6 w w s _ a q ' ,   d i r _ f d   =   N o n e 
 
 o n e x c   =   < f u n c t i o n   r m t r e e . < l o c a l s > . o n e x c   a t   0 x 0 0 0 0 0 1 D B 0 3 A 1 C D 5 0 > 
 
 
 
         d e f   _ r m t r e e _ u n s a f e ( p a t h ,   d i r _ f d ,   o n e x c ) : 
 
                 i f   d i r _ f d   i s   n o t   N o n e : 
 
                         r a i s e   N o t I m p l e m e n t e d E r r o r ( " d i r _ f d   u n a v a i l a b l e   o n   t h i s   p l a t f o r m " ) 
 
                 t r y : 
 
                         s t   =   o s . l s t a t ( p a t h ) 
 
                 e x c e p t   O S E r r o r   a s   e r r : 
 
                         o n e x c ( o s . l s t a t ,   p a t h ,   e r r ) 
 
                         r e t u r n 
 
                 t r y : 
 
                         i f   _ r m t r e e _ i s l i n k ( s t ) : 
 
                                 #   s y m l i n k s   t o   d i r e c t o r i e s   a r e   f o r b i d d e n ,   s e e   b u g   # 1 6 6 9 
 
                                 r a i s e   O S E r r o r ( " C a n n o t   c a l l   r m t r e e   o n   a   s y m b o l i c   l i n k " ) 
 
                 e x c e p t   O S E r r o r   a s   e r r : 
 
                         o n e x c ( o s . p a t h . i s l i n k ,   p a t h ,   e r r ) 
 
                         #   c a n ' t   c o n t i n u e   e v e n   i f   o n e x c   h o o k   r e t u r n s 
 
                         r e t u r n 
 
                 d e f   o n e r r o r ( e r r ) : 
 
                         i f   n o t   i s i n s t a n c e ( e r r ,   F i l e N o t F o u n d E r r o r ) : 
 
                                 o n e x c ( o s . s c a n d i r ,   e r r . f i l e n a m e ,   e r r ) 
 
                 r e s u l t s   =   o s . w a l k ( p a t h ,   t o p d o w n = F a l s e ,   o n e r r o r = o n e r r o r ,   f o l l o w l i n k s = o s . _ w a l k _ s y m l i n k s _ a s _ f i l e s ) 
 
                 f o r   d i r p a t h ,   d i r n a m e s ,   f i l e n a m e s   i n   r e s u l t s : 
 
                         f o r   n a m e   i n   d i r n a m e s : 
 
                                 f u l l n a m e   =   o s . p a t h . j o i n ( d i r p a t h ,   n a m e ) 
 
                                 t r y : 
 
                                         o s . r m d i r ( f u l l n a m e ) 
 
                                 e x c e p t   F i l e N o t F o u n d E r r o r : 
 
                                         c o n t i n u e 
 
                                 e x c e p t   O S E r r o r   a s   e r r : 
 
                                         o n e x c ( o s . r m d i r ,   f u l l n a m e ,   e r r ) 
 
                         f o r   n a m e   i n   f i l e n a m e s : 
 
                                 f u l l n a m e   =   o s . p a t h . j o i n ( d i r p a t h ,   n a m e ) 
 
                                 t r y : 
 
 >                                       o s . u n l i n k ( f u l l n a m e ) 
 
 E                                       P e r m i s s i o n E r r o r :   [ W i n E r r o r   3 2 ]   T h e   p r o c e s s   c a n n o t   a c c e s s   t h e   f i l e   b e c a u s e   i t   i s   b e i n g   u s e d   b y   a n o t h e r   p r o c e s s :   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p r 6 w w s _ a q \ \ t e s t _ v a u l t . d b ' 
 
 
 
 C : \ U s e r s \ M L \ A p p D a t a \ R o a m i n g \ u v \ p y t h o n \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ L i b \ s h u t i l . p y : 7 0 1 :   P e r m i s s i o n E r r o r 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   C a p t u r e d   l o g   s e t u p   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 E R R O R         m c p _ m e m o r y _ s e r v i c e . e m b e d d i n g s . o n n x _ e m b e d d i n g s : o n n x _ e m b e d d i n g s . p y : 4 3 6   F a i l e d   t o   c r e a t e   O N N X   e m b e d d i n g   m o d e l :   O N N X   m o d e l   i s   n o t   c a c h e d   a n d   d o w n l o a d s   a r e   d i s a b l e d   ( M C P _ M E M O R Y _ O N N X _ A L L O W _ D O W N L O A D = 0 ) . 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 6 2   O N N X   m o d e l   c r e a t i o n   f a i l e d ,   f a l l i n g   b a c k   t o   S e n t e n c e T r a n s f o r m e r 
 
 W A R N I N G     m c p _ m e m o r y _ s e r v i c e . s t o r a g e . m i x i n s . e m b e d d i n g s : e m b e d d i n g s . p y : 2 7 7   N o   e m b e d d i n g   b a c k e n d   a v a i l a b l e ;   u s i n g   h a s h   e m b e d d i n g s   ( r e d u c e d   q u a l i t y ) .   I n s t a l l   M L   d e p e n d e n c i e s   f o r   s e m a n t i c   s e a r c h :   p i p   i n s t a l l   m c p - m e m o r y - s e r v i c e [ m l ] .   T h e   h a s h   f a l l b a c k   i s   r e f u s e d   o n   d a t a b a s e s   t h a t   a l r e a d y   c o n t a i n   m e m o r i e s ;   s e t   M C P _ M E M O R Y _ A L L O W _ H A S H _ E M B E D D I N G S = 1   t o   o v e r r i d e   f o r   t e s t i n g . 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   F A I L U R E S   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _   t e s t _ e m p t y _ g r a p h _ e x i t s _ n o n z e r o   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 
 
 
 t e m p _ d b _ p a t h   =   ' C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p 4 3 2 y a s 0 8 ' 
 
 
 
         d e f   t e s t _ e m p t y _ g r a p h _ e x i t s _ n o n z e r o ( t e m p _ d b _ p a t h ) : 
 
                 " " " I f   l i s t _ e n t i t i e s   i s   e m p t y ,   t h e   s c r i p t   p r i n t s   a n   e x p l a n a t i o n   a n d   e x i t s   n o n - z e r o   w i t h o u t   w r i t i n g . " " " 
 
                 e m p t y _ d b   =   o s . p a t h . j o i n ( t e m p _ d b _ p a t h ,   " e m p t y . d b " ) 
 
                 v a u l t _ d i r   =   P a t h ( t e m p _ d b _ p a t h )   /   " v a u l t " 
 
         
 
                 r e s u l t   =   r u n _ e x p o r t _ s c r i p t ( " - - o u t " ,   s t r ( v a u l t _ d i r ) ,   " - - d b - p a t h " ,   e m p t y _ d b ) 
 
         
 
                 a s s e r t   r e s u l t . r e t u r n c o d e   ! =   0 
 
 >               a s s e r t   ' m e m o r y _ q u a l i t y   { " a c t i o n " :   " m a i n t a i n " ,   " d r y _ r u n " :   f a l s e } '   i n   r e s u l t . s t d o u t   o r   \ 
 
                               ' m e m o r y _ q u a l i t y   { " a c t i o n " :   " m a i n t a i n " ,   " d r y _ r u n " :   f a l s e } '   i n   r e s u l t . s t d e r r 
 
 E               a s s e r t   ( ' m e m o r y _ q u a l i t y   { " a c t i o n " :   " m a i n t a i n " ,   " d r y _ r u n " :   f a l s e } '   i n   ' '   o r   ' m e m o r y _ q u a l i t y   { " a c t i o n " :   " m a i n t a i n " ,   " d r y _ r u n " :   f a l s e } '   i n   " C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ R o a m i n g \ \ u v \ \ p y t h o n \ \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ \ p y t h o n . e x e :   c a n ' t   o p e n   f i l e   ' D : \ \ \ \ M C P . . . t i o n \ \ \ \ m c p - m e m o r y - s e r v i c e \ \ \ \ s c r i p t s \ \ \ \ m a i n t e n a n c e \ \ \ \ e x p o r t _ e n t i t y _ v a u l t . p y ' :   [ E r r n o   2 ]   N o   s u c h   f i l e   o r   d i r e c t o r y \ n " ) 
 
 E                 +     w h e r e   ' '   =   C o m p l e t e d P r o c e s s ( a r g s = [ ' D : \ \ M C P _ C o n t r i b u t i o n \ \ m c p - m e m o r y - s e r v i c e \ \ . v e n v \ \ S c r i p t s \ \ p y t h o n . e x e ' ,   ' D : \ \ M C P _ C o n t r i b u t i o n \ \ . . . i o n \ \ \ \ m c p - m e m o r y - s e r v i c e \ \ \ \ s c r i p t s \ \ \ \ m a i n t e n a n c e \ \ \ \ e x p o r t _ e n t i t y _ v a u l t . p y ' :   [ E r r n o   2 ]   N o   s u c h   f i l e   o r   d i r e c t o r y \ n " ) . s t d o u t 
 
 E                 +     a n d       " C : \ \ U s e r s \ \ M L \ \ A p p D a t a \ \ R o a m i n g \ \ u v \ \ p y t h o n \ \ c p y t h o n - 3 . 1 4 - w i n d o w s - x 8 6 _ 6 4 - n o n e \ \ p y t h o n . e x e :   c a n ' t   o p e n   f i l e   ' D : \ \ \ \ M C P . . . t i o n \ \ \ \ m c p - m e m o r y - s e r v i c e \ \ \ \ s c r i p t s \ \ \ \ m a i n t e n a n c e \ \ \ \ e x p o r t _ e n t i t y _ v a u l t . p y ' :   [ E r r n o   2 ]   N o   s u c h   f i l e   o r   d i r e c t o r y \ n "   =   C o m p l e t e d P r o c e s s ( a r g s = [ ' D : \ \ M C P _ C o n t r i b u t i o n \ \ m c p - m e m o r y - s e r v i c e \ \ . v e n v \ \ S c r i p t s \ \ p y t h o n . e x e ' ,   ' D : \ \ M C P _ C o n t r i b u t i o n \ \ . . . i o n \ \ \ \ m c p - m e m o r y - s e r v i c e \ \ \ \ s c r i p t s \ \ \ \ m a i n t e n a n c e \ \ \ \ e x p o r t _ e n t i t y _ v a u l t . p y ' :   [ E r r n o   2 ]   N o   s u c h   f i l e   o r   d i r e c t o r y \ n " ) . s t d e r r 
 
 
 
 t e s t s \ m a i n t e n a n c e \ t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : 8 4 :   A s s e r t i o n E r r o r 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   w a r n i n g s   s u m m a r y   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 . v e n v \ L i b \ s i t e - p a c k a g e s \ a n y i o \ p y t e s t _ p l u g i n . p y : 1 4 
 
     D : \ M C P _ C o n t r i b u t i o n \ m c p - m e m o r y - s e r v i c e \ . v e n v \ L i b \ s i t e - p a c k a g e s \ a n y i o \ p y t e s t _ p l u g i n . p y : 1 4 :   P y t e s t R e m o v e d I n 1 0 W a r n i n g :   _ p y t e s t . p y t h o n . C a l l S p e c 2   h a s   b e e n   r e n a m e d   t o   C a l l S p e c . 
 
     T h e   C a l l S p e c 2   a l i a s   w i l l   b e   r e m o v e d   i n   p y t e s t   1 0 . 
 
     U p d a t e   i m p o r t s   t o   u s e   C a l l S p e c   i n s t e a d . 
 
     S e e   h t t p s : / / d o c s . p y t e s t . o r g / e n / s t a b l e / d e p r e c a t i o n s . h t m l # c a l l s p e c 2 - r e n a m e d 
 
         f r o m   _ p y t e s t . p y t h o n   i m p o r t   C a l l S p e c 2 
 
 
 
 - -   D o c s :   h t t p s : / / d o c s . p y t e s t . o r g / e n / s t a b l e / h o w - t o / c a p t u r e - w a r n i n g s . h t m l 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = =   s h o r t   t e s t   s u m m a r y   i n f o   = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 F A I L E D   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ e m p t y _ g r a p h _ e x i t s _ n o n z e r o 
 
 E R R O R   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ v a u l t _ e x p o r t _ c r e a t e s _ e x p e c t e d _ s t r u c t u r e 
 
 E R R O R   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ v a u l t _ e x p o r t _ c r e a t e s _ e x p e c t e d _ s t r u c t u r e 
 
 E R R O R   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ w i k i l i n k s _ r e s p e c t _ l i m i t 
 
 E R R O R   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ w i k i l i n k s _ r e s p e c t _ l i m i t 
 
 E R R O R   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ d e l e t e d _ m e m o r y _ o m i t t e d 
 
 E R R O R   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ d e l e t e d _ m e m o r y _ o m i t t e d 
 
 E R R O R   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ r e r u n _ r e m o v e s _ s t a l e _ p a g e s _ a n d _ p r e s e r v e s _ u n r e l a t e d _ f i l e s 
 
 E R R O R   t e s t s / m a i n t e n a n c e / t e s t _ e x p o r t _ e n t i t y _ v a u l t . p y : : t e s t _ r e r u n _ r e m o v e s _ s t a l e _ p a g e s _ a n d _ p r e s e r v e s _ u n r e l a t e d _ f i l e s 
 
 = = = = = = = = = = = = = = = = = = =   1   f a i l e d ,   1   w a r n i n g ,   8   e r r o r s   i n   4 . 7 3 s   = = = = = = = = = = = = = = = = = = = = 
 
 
 
 [ T e s t   C l e a n u p ]   R e m o v e d   t e s t   d a t a b a s e   d i r e c t o r y :   C : \ U s e r s \ M L \ A p p D a t a \ L o c a l \ T e m p \ m c p - t e s t - d b - q d 0 c l x f 3 
 
 