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