+
    *je&  c                     R t ^ RIHt ^ RIt^ RIHu Ht ^ RI	H
t
 ^ RIt^ RIt^ RIHt ^ RIHt ^ RIHt ]! 4       tR tR tR	 tR
 t]P0                  P2                  R 4       t]P0                  P2                  R 4       t]P0                  P2                  R 4       t]P0                  P2                  R 4       tR tR tR t RR/R R llt!R# )z(CLI tests for the discovery review flow.)annotationsN)Path)SourceCandidate)	CliRunner)clic                 N   \         P                  q P                  pR q!V8H  q3'       g   \        P                  ! RV3RW34      RR\
        P                  ! 4       9   g!   \        P                  ! \         4      '       d   \        P                  ! \         4      MRR\        P                  ! V 4      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p ;p;r2\         P                  p R	qV,          q3P                  q"! 4       qf'       g   R
RR\
        P                  ! 4       9   g!   \        P                  ! \         4      '       d   \        P                  ! \         4      MRR\        P                  ! V 4      R\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          p\        \        P                  ! V4      4      hR;p ;p;p;r&R# )
MentorCorepy0r   py2py4py7zassert %(py9)spy9Nsourceszlassert %(py9)s
{%(py9)s = %(py7)s
{%(py7)s = (%(py2)s
{%(py2)s = %(py0)s.REPO_ROOT
} / %(py4)s).is_dir
}()
}==)zK%(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.REPO_ROOT
}.name
} == %(py7)s)r   	REPO_ROOTname
@pytest_ar_call_reprcompare@py_builtinslocals_should_repr_global_name	_safereprAssertionError_format_explanationis_dir)@py_assert1@py_assert3@py_assert6@py_assert5@py_format8@py_format10@py_assert8s          M/Users/jameslopez/projects/MentorCore/tests/compiler/test_cli_compile_flow.py)test_cli_repo_root_points_at_project_rootr#      s   ==--------------3----3---=--------------MM/I/I%/--/-/////////C////C///M///I///-///////////    c           	        R  R lpV P                  RV4       VR,          p\        P                  \        P                  RRR\        V4      R.4      pVP                  p^ qeV8H  qw'       g   \        P                  ! R!V3R"WV34      RR	\        P                  ! 4       9   g   \        P                  ! V4      '       d   \        P                  ! V4      MR	R
\        P                  ! V4      R\        P                  ! V4      /,          p\        P                  ! VP                  4      R,           RV/,          p	\        \        P                   ! V	4      4      hR;p;rv\"        P$                  ! VP'                  4       4      p
V
R,          pRq{V8H  q'       gy   \        P                  ! R!V3R#W34      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                   ! V4      4      hR;p;rV
R,          pRq{V8H  q'       gy   \        P                  ! R!V3R#W34      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                   ! V4      4      hR;p;rV
R,          pRq{V8H  q'       gy   \        P                  ! R!V3R#W34      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                   ! V4      4      hR;p;rV
R,          ^ ,          R,          pRq{VJ q'       gy   \        P                  ! R$V3R%W34      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                   ! V4      4      hR;p;rV
R,          ^ ,          R,          pRq{V8H  q'       gy   \        P                  ! R!V3R#W34      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                   ! V4      4      hR;p;rV
R,          ^ ,          R,          pRq{V8H  q'       gy   \        P                  ! R!V3R#W34      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                   ! V4      4      hR;p;rRqP                  qkV9   q'       g   \        P                  ! R&V3R'W34      R\        P                  ! V4      RR	\        P                  ! 4       9   g   \        P                  ! V4      '       d   \        P                  ! V4      MR	R\        P                  ! V4      /,          pR RV/,          p	\        \        P                   ! V	4      4      hR;p;rR# )(c                   V ^8  d   QhRR/# )   r   str )formats   "r"   __annotate__=test_compile_propose_writes_review_yaml.<locals>.__annotate__   s     
 
# 
r$   c           	       "   R qV8H  q"'       g   \         P                  ! RV3RW34      RR\        P                  ! 4       9   g   \         P                  ! V 4      '       d   \         P
                  ! V 4      MRR\         P
                  ! V4      /,          pRRV/,          p\        \         P                  ! V4      4      hR;r!\        RRR	R
RRR /R7      .# 5i)Ada Lovelacer   r   py3assert %(py5)spy5NarticlezWikipedia: Ada Lovelacez*https://en.wikipedia.org/wiki/Ada_Lovelace	wikipediazwikipedia-ada-lovelacewikipedia_title)source_typetitle
origin_url
fetch_type	source_idfetch_configr   z%(py0)s == %(py3)s)	r   r   r   r   r   r   r   r   r   )r   @py_assert2r   @py_format4@py_format6s   &    r"   fake_discover>test_compile_propose_writes_review_yaml.<locals>.fake_discover   s     %%~%%%%%t%%%%%%t%%%%t%%%~%%%%%%%%%/G&2/@	
 		
s   AC!A6Cz"compiler.sources.discover.discoverada-lovelace.yamlcompiler.   	--sourcesz	--proposer   resultr	   r1   
>assert %(py7)sr   Nslugada-lovelacepy1r
   assert %(py6)spy6display_namevoice_policy	generatedr   approvedFr8   r3   r4   z#mentor compile ada-lovelace --buildr/   assert %(py7)sr   z1%(py2)s
{%(py2)s = %(py0)s.exit_code
} == %(py5)sz%(py1)s == %(py4)s)is)z%(py1)s is %(py4)sinz.%(py1)s in %(py5)s
{%(py5)s = %(py3)s.output
})setattrrunnerinvoker   appr(   	exit_coder   r   r   r   r   r   _format_assertmsgoutputr   r   yaml	safe_load	read_text)monkeypatchtmp_pathr?   sources_pathrD   r   @py_assert4r   r>   r   data@py_assert0r<   @py_format5@py_format7s   &&             r"   'test_compile_propose_writes_review_yamlrh      sk   
 <mL11L]]	NK\1BKPF
 /q/q //////////6////6//////q////&--////////>>,0023D<)>)>)))))<)))<)))>))))))))1>1>11111111111>11111111.;.;...........;........	?1j)2U2U22222)222)222U22222222	?1l+:{:{:::::+:::+:::{::::::::	?1/0BNBNBBBBB0BBB0BBBNBBBBBBBB0AMMAMAAAAA0AAA0AAAAAAFAAAAFAAAMAAAAAAAAr$   c                :	  a / oRR V3R lllpV P                  \        RV4       \        V4      p\        P	                  \        P
                  RRR\        V4      R.4      pVP                  p^ qeV8H  qw'       g   \        P                  ! RV3RWV34      RR	\        P                  ! 4       9   g   \        P                  ! V4      '       d   \        P                  ! V4      MR	R
\        P                  ! V4      R\        P                  ! V4      /,          p\        P                  ! VP                  4      R,           RV/,          p	\!        \        P"                  ! V	4      4      hR;p;rvSR,          p
RqzV8H  q'       gy   \        P                  ! RV3R W34      R\        P                  ! V
4      R\        P                  ! V4      /,          pRRV/,          p\!        \        P"                  ! V4      4      hR;p
;rSR,          p
^ qzV8H  q'       gy   \        P                  ! RV3R W34      R\        P                  ! V
4      R\        P                  ! V4      /,          pRRV/,          p\!        \        P"                  ! V4      4      hR;p
;rSR,          p\%        V\&        4      qw'       Eg9   RRR\        P                  ! 4       9   g!   \        P                  ! \$        4      '       d   \        P                  ! \$        4      MRRR\        P                  ! 4       9   g   \        P                  ! V4      '       d   \        P                  ! V4      MRR
R\        P                  ! 4       9   g!   \        P                  ! \&        4      '       d   \        P                  ! \&        4      MRR\        P                  ! V4      /,          p\!        \        P"                  ! V4      4      hRpVR,           Uu. uF  qR,          NK  	  p
pR.qzV8H  q'       gy   \        P                  ! RV3R W34      R\        P                  ! V
4      R\        P                  ! V4      /,          pRRV/,          p\!        \        P"                  ! V4      4      hR;p
;rR# u upi )!    c               $    V ^8  d   QhRRRRRR/# )r'   rF   r(   sources_configdictfrom_stage_idxintr)   )r*   s   "r"   r+   Ctest_compile_build_uses_only_approved_sources.<locals>.__annotate__:   s"     4 4c 44 4QT 4r$   c                .   <"   V SR &   VSR&   VSR&   R# 5i)rF   rl   rn   Nr)   )rF   rl   rn   receiveds   &&&r"   fake_compile_onceHtest_compile_build_uses_only_approved_sources.<locals>.fake_compile_once:   s&     %3!"%3!"s   _compile_oncerB   rG   rC   --buildr   rD   r	   r1   rE   r   NrF   rH   r
   rI   rJ   rn   rl   z5assert %(py4)s
{%(py4)s = %(py0)s(%(py1)s, %(py2)s)
}
isinstanceconfigrm   r   idapproved-book)rj   r   rP   rQ   )rV   r   _write_sources_yamlrW   rX   rY   r(   rZ   r   r   r   r   r   r   r[   r\   r   r   rw   rm   )r`   ra   rs   rb   rD   r   rc   r   r>   r   re   r<   rf   rg   rx   srr   s   &&              @r"   -test_compile_build_uses_only_approved_sourcesr}   7   s   "$H4 4
 _.?@&x0L]]	NK\1BINF
 /q/q //////////6////6//////q////&--////////F-~-~-----------~--------$%*******%***%***********&'Ffd#########:####:#######f####f#######d####d###########I./.dGG.D/O3DD3DDDDDD/DDD/DDD3DDDDDDDDD/s   8Rc           	        \        V R R7      p\        P                  \        P                  RRR\        V4      R.4      pVP                  p^qCV8H  qU'       g   \        P                  ! RV3RW434      RR\        P                  ! 4       9   g   \        P                  ! V4      '       d   \        P                  ! V4      MRR\        P                  ! V4      R	\        P                  ! V4      /,          pR
RV/,          p\        \        P                  ! V4      4      hR;p;rTRqP                  qHV9   q'       g   \        P                  ! RV	3RW34      R\        P                  ! V4      RR\        P                  ! 4       9   g   \        P                  ! V4      '       d   \        P                  ! V4      MRR	\        P                  ! V4      /,          pR
RV/,          p\        \        P                  ! V4      4      hR;p;rR# )F)rN   rB   rG   rC   rv   r   rD   r	   r1   rO   r   NzNo approved sources foundrH   r/   r   rP   rS   rU   )r{   rW   rX   r   rY   r(   rZ   r   r   r   r   r   r   r   r   r\   )
ra   rb   rD   r   rc   r   r>   r   re   r<   s
   &         r"   ,test_compile_build_requires_approved_sourcesr   O   s    &x%@L]]	NK\1BINF
  q q           6    6      q        &7--7-77777&777&777777&7777&777-77777777r$   c                T  a"   . oR  V3R llpV P                  \        RV4       V P                  \        RR 4       \        P                  ! RR. /^R7      G Rj  xL
  R.pSV8H  q3'       g   \        P                  ! RV3RSV34      R	R
\
        P                  ! 4       9   g   \        P                  ! S4      '       d   \        P                  ! S4      MR
R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;r2R#  L5i)c                    V ^8  d   QhRRRR/# r'   rF   r(   rl   rm   r)   )r*   s   "r"   r+   Btest_compile_loop_stops_when_thresholds_pass.<locals>.__annotate___        
 
c 
4 
r$   c                B   <"   SP                  V 4       R RRRR^ RR/# 5i)groundednessg
ףp=
?style_matchg{Gz?misattributionpassedTappendrF   rl   callss   &&r"   rs   Gtest_compile_loop_stops_when_thresholds_pass.<locals>.fake_compile_once_   s0     TD4ad	
 	
   ru   _best_existing_evalc                    R # Nr)   rF   s   &r"   <lambda>>test_compile_loop_stops_when_thresholds_pass.<locals>.<lambda>i       r$   rG   r   budgetNr   r   r/   r0   r1   r   r;   )rV   r   _compile_loopr   r   r   r   r   r   r   r   )r`   rs   r<   r   r=   r>   r   s   &     @r"   ,test_compile_loop_stops_when_thresholds_passr   [   s     E
 
 _.?@24EF


NYOA
FFF#$$5$$$$$$5$$$$$$$5$$$$5$$$$$$$$$$$$ Gs   AD(D&A$D(A%D(c                D  a"   . oR  V3R llpV P                  \        RV4       V P                  \        RR 4       \        P                  ! RR. /^R7      G Rj  xL
  \        S4      p^q2V8H  qD'       Eg   \        P
                  ! RV3RW#34      R	R
\        P                  ! 4       9   g!   \        P                  ! \        4      '       d   \        P                  ! \        4      MR
RR\        P                  ! 4       9   g   \        P                  ! S4      '       d   \        P                  ! S4      MRR\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rCR#  ELA5i)c                    V ^8  d   QhRRRR/# r   r)   )r*   s   "r"   r+   8test_compile_loop_stops_on_plateau.<locals>.__annotate__t   r   r$   c                B   <"   SP                  V 4       R RRRR^ RR/# 5i)r   gRQ?r   g=
ףp=?r   r   Fr   r   s   &&r"   rs   =test_compile_loop_stops_on_plateau.<locals>.fake_compile_oncet   s0     TD4ae	
 	
r   ru   r   c                    R RRRR^ /# )r         ?r   g?r   r)   r   s   &r"   r   4test_compile_loop_stops_on_plateau.<locals>.<lambda>       nc=#?OQRSr$   rG   r   r   Nr   lenrH   r   r/   rJ   assert %(py8)spy8r   )z0%(py3)s
{%(py3)s = %(py0)s(%(py1)s)
} == %(py6)s)rV   r   r   r   r   r   r   r   r   r   r   r   )r`   rs   r<   r   rc   rg   @py_format9r   s   &      @r"   "test_compile_loop_stops_on_plateaur   p   s     E
 
 _.?@S 

NYOA
FFFu:?:33uu: Gs!   AF FA1F AF !A=F c                ^  a"   . oR  V3R llpR R lpV P                  \        RV4       V P                  \        RR 4       V P                  RV4       \        P                  ! RR	. /^R
7      G Rj  xL
  S^ ,          pR	. /qCV8H  qU'       gy   \        P                  ! RV3RW434      R\        P
                  ! V4      R\        P
                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rTS^,          R,          p^qCV8H  qU'       gy   \        P                  ! RV3RW434      R\        P
                  ! V4      R\        P
                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rTR#  EL65i)c                    V ^8  d   QhRRRR/# r   r)   )r*   s   "r"   r+   Otest_compile_loop_uses_improved_config_between_iterations.<locals>.__annotate__   r   r$   c                B   <"   SP                  V4       R RRRR^ RR/# 5i)r   333333?r   r   r   r   Fr   )rF   rl   seen_configss   &&r"   rs   Ttest_compile_loop_uses_improved_config_between_iterations.<locals>.fake_compile_once   s2     N+C3ae	
 	
r   c               $    V ^8  d   QhRRRRRR/# )r'   rl   rm   eval_result	iterationro   r)   )r*   s   "r"   r+   r      s&     ( ((( 	(r$   c               2   "   \        V 4      pW#R &   VR.3# 5i)improved_atztest action)rm   )rl   r   r   updateds   &&$ r"   fake_improve_sources_config^test_compile_loop_uses_improved_config_between_iterations.<locals>.fake_improve_sources_config   s&      ~&!*''s   ru   r   c                    R # r   r)   r   s   &r"   r   Ktest_compile_loop_uses_improved_config_between_iterations.<locals>.<lambda>   r   r$   z.compiler.stages.improve.improve_sources_configrG   r   r   NrH   r
   rI   rJ   r   r   rQ   )rV   r   r   r   r   r   r   r   )	r`   rs   r   re   r   r<   rf   rg   r   s	   &       @r"   9test_compile_loop_uses_improved_config_between_iterationsr      s&    L
 
( _.?@24EF8#
 

NYOA
FFF?-y"o-o-----?---?---o--------?=).Q.Q.....)...)...Q........ Gs   A1F-4F*5D6F-c                  a"   . oR  R lpV P                  \        RV4       V P                  \        RR 4       V P                  \        RV3R l4       \        P                  ! \        RR7      ;_uu_ 4        \        P
                  ! R	R
. /^R7      G Rj  xL
  RRR4       R	.pSV8H  q3'       g   \        P                  ! RV3RSV34      RR\        P                  ! 4       9   g   \        P                  ! S4      '       d   \        P                  ! S4      MRR\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;r2R#  L  + '       g   i     L; i5i)c                    V ^8  d   QhRRRR/# r   r)   )r*   s   "r"   r+   @test_compile_loop_rolls_back_on_regression.<locals>.__annotate__   s     
 
c 
4 
r$   c                   "   R RRRR^ RR/# 5i)r   ffffff?r   r   r   r   Fr)   )rF   rl   s   &&r"   rs   Etest_compile_loop_rolls_back_on_regression.<locals>.fake_compile_once   s#     C3ae	
 	
s   ru   r   c                    R RRRR^ /# )r   g?r   r   r   r)   r   s   &r"   r   <test_compile_loop_rolls_back_on_regression.<locals>.<lambda>   r   r$   _rollback_currentc                &   < SP                  V 4      # r   r   )rF   rolled_backs   &r"   r   r      s    {?Q?QRV?Wr$   	regressed)matchrG   r   r   Nr   r   r/   r0   r1   r   r;   )rV   r   pytestraisesRuntimeErrorr   r   r   r   r   r   r   r   r   )r`   rs   r<   r   r=   r>   r   s   &     @r"   *test_compile_loop_rolls_back_on_regressionr      s     K
 _.?@S
 02WX	|;	7	7BJJJ 
8 ***;******;*******;****;************ 	K 
8	7s8   A7F :E-E+E-A(F A$F +E--E=	8F c                
   VR ,          pVR,          R,          R,          R,          pVP                   P                  RR7       VP                  RP                  RR	.4      R,           4       V P	                  R
\        V4      4       \        P                  ! R4      pRqTVJqf'       g   \        P                  ! RV3RWE34      RR\        P                  ! 4       9   g   \        P                  ! V4      '       d   \        P                  ! V4      MRR\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;reVR,          p	RqV
8H  qU'       gy   \        P                  ! RV3RW34      R\        P                  ! V	4      R\        P                  ! V
4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p	;rZVR,          p	RqV
8H  qU'       gy   \        P                  ! RV3RW34      R\        P                  ! V	4      R\        P                  ! V
4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p	;rZR# )personasrG   currentevalzhistory.jsonlT)parents
z>{"groundedness": 0.4, "style_match": 0.8, "misattribution": 0}z>{"groundedness": 0.7, "style_match": 0.6, "misattribution": 0}MENTORCORE_PERSONAS_ROOTNr   rD   r/   r0   r1   r   r   rH   r
   rI   rJ   r   r   )is not)z%(py0)s is not %(py3)sr   rQ   )parentmkdir
write_textjoinsetenvr(   r   r   r   r   r   r   r   r   r   r   )r`   ra   roothistoryrD   r<   r   r=   r>   re   r   rf   rg   s   &&           r"   -test_best_existing_eval_reads_current_historyr      s   j D^#i/&8?JGNN&		PP	
 	 13t9=$$^4F666.!(S(S(((((!(((!(((S((((((((- 'C'C''''' ''' '''C''''''''r$   c                   V R ,          pVP                  \        P                  ! R^RRRRRRRR	RR
R//4      4       \        P                  ! V RRRRR	R/4       \        P
                  ! VP                  4       4      pVR,          R,          pRqCV8H  qU'       gy   \        P                  ! RV3RW434      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rTVR,          R	,          pRqCV8H  qU'       gy   \        P                  ! RV3RW434      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rTVR,          R
,          pRqCV8H  qU'       gy   \        P                  ! RV3RW434      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rTR# )zpersona.yamlschema_versionrF   rG   rK   r.   fidelityr   g        r   	last_evalN	timestampz2026-06-11T00:00:00+00:00g=
ףp=?gQ?rH   r
   rI   rJ   r   rQ   )r   r]   dumpr   _write_eval_to_manifestr^   r_   r   r   r   r   r   )ra   manifest_pathrd   re   r   r<   rf   rg   s   &       r"   ,test_write_eval_to_manifest_updates_fidelityr      s   ~-M		 !^S-kSWX		
	 4D4	
 >>-1134D
N+3t3t33333+333+333t33333333
M*2d2d22222*222*222d22222222
K(G,GG,GGGGGG(GGG(GGG,GGGGGGGGGr$   c                	   V P                  R R4       R p\        P                  ! RRRRRR/RR	RR
RR/RRRRRR/.VR,          V4      pVR,          qDP                  pRqeV8H  qw'       g   \        P
                  ! RV3RWV34      R\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p	\        \        P                  ! V	4      4      hR;p;p;rvVR	,          qDP                  pRqeV8H  qw'       g   \        P
                  ! RV3RWV34      R\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p	\        \        P                  ! V	4      4      hR;p;p;rvVR,          qDP                  pRqeV8H  qw'       g   \        P
                  ! RV3RWV34      R\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p	\        \        P                  ! V	4      4      hR;p;p;rvRqCR,          qP                  qf! 4       qV9   qU'       g   \        P
                  ! RV3R WK34      R\        P                  ! V4      R\        P                  ! V
4      R\        P                  ! V4      R\        P                  ! V4      /,          p	RRV	/,          p\        \        P                  ! V4      4      hR;p;p;p
;rkRqCR	,          qP                  qf! 4       qV9   qU'       g   \        P
                  ! RV3R WK34      R\        P                  ! V4      R\        P                  ! V
4      R\        P                  ! V4      R\        P                  ! V4      /,          p	RRV	/,          p\        \        P                  ! V4      4      hR;p;p;p
;rkRqCR,          qP                  qf! 4       qV9   qU'       g   \        P
                  ! RV3R WK34      R\        P                  ! V4      R\        P                  ! V
4      R\        P                  ! V4      R\        P                  ! V4      /,          p	RRV	/,          p\        \        P                  ! V4      4      hR;p;p;p
;rkR# )!FAKE_COMPILER1c                    \        R 4      h)z5real acquisition should not run in fake compiler mode)r   )r   raw_dirs   &&r"   should_not_call_real_acquireYtest_fake_compiler_acquire_all_writes_text_fixtures.<locals>.should_not_call_real_acquire   s    TUUr$   ry   zbook-srcr8   	gutenbergr6   zBook Sourcezwiki-srcr3   r4   zWiki Sourcezurl-srcurlz
URL Sourcerawz.txtrH   r/   rJ   r   r   Nz.jsonz.htmlr
   zassert %(py10)spy10r   )z.%(py3)s
{%(py3)s = %(py1)s.suffix
} == %(py6)srS   )zH%(py1)s in %(py8)s
{%(py8)s = %(py6)s
{%(py6)s = %(py4)s.read_text
}()
})
r   r   _compiler_acquire_allsuffixr   r   r   r   r   r_   )r`   ra   r   resultsre   r<   r   rc   rg   r   r   @py_assert7@py_format11s   &&           r"   3test_fake_compiler_acquire_all_writes_text_fixturesr      s    ,V '':|['=Qjk!=
 9lE7LI	
 	5$G :/%%///////%//////%///////////:0%%0000000%000000%000000000009/$$///////$//////$///////////;J/;99;9;;;;;;;;=;;;=;;;/;;;9;;;;;;;;;;;;;J/;99;9;;;;;;;;=;;;=;;;/;;;9;;;;;;;;;;;;99-9779799999999<999<999-99979999999999999r$   rN   Tc               $    V ^8  d   QhRRRRRR/# )r'   ra   r   rN   boolreturnr)   )r*   s   "r"   r+   r+     s!      $ T T r$   c                   V R ,          pVP                  \        P                  ! RRRRRRRRR	R
RRRRRRRRV/RRRR	R
RRRRRRRRR/./4      4       V# )rA   rF   rG   rK   r.   r   ry   rz   typebookr6   Approvedrightszpublic-domainr8   r   zhttps://example.com/approvedrN   zrejected-bookRejectedzfair-use-excerptzhttps://example.com/rejectedF)r   r]   r   )ra   rN   paths   &$ r"   r{   r{     s    ))DOO		o /$e="H o "4$e="E	
8 Kr$   )"__doc__
__future__r   builtinsr   _pytest.assertion.rewrite	assertionrewriter   pathlibr   r   r]   compiler.sources.discoverr   typer.testingr   compilerr   rW   r#   rh   r}   r   markasyncior   r   r   r   r   r   r   r{   r)   r$   r"   <module>r     s    . "       5 # 	0
BBE0	8 % %(  0  /  /F + +2(,H8:8D  r$   