<commit_before><sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron"  >

  <sch:title>Tester Program for SVRL</sch:title>
  
  <sch:p>This schema tests an SVRL document that has been created by
  validating another document using some Schematron schema using the
  iso_svrl.xsl stylesheet. If there were any failed assertions or
  successful reports, the document succeeds. If you validate this 
  using the iso_schematron_terminator.xsl stylesheet and some XSLT
  engines, then you can use this to generate status messages for
  use in batch files etc. </sch:p>
  
  <sch:ns prefix="svrl" uri="http://purl.oclc.org/dsdl/svrl" />
  
  <sch:pattern  id="P1"> 
     <sch:rule context="svrl:failed-assert | svrl:successful-report">
	<sch:report test="true()"
		><sch:value-of select="preceding::svrl:active-pattern[1]/@document"/>: <sch:value-of select="svrl:text"/></sch:report>
     </sch:rule>
     <commit_msg>Trying to get file name and line number in messages.<commit_after><sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron"  >

  <sch:title>Tester Program for SVRL</sch:title>
  
  <sch:p>This schema tests an SVRL document that has been created by
  validating another document using some Schematron schema using the
  iso_svrl.xsl stylesheet. If there were any failed assertions or
  successful reports, the document succeeds. If you validate this 
  using the iso_schematron_terminator.xsl stylesheet and some XSLT
  engines, then you can use this to generate status messages for
  use in batch files etc. </sch:p>
  
  <sch:ns prefix="svrl" uri="http://purl.oclc.org/dsdl/svrl" />
  
  <sch:pattern  id="P1"> 
     <sch:rule context="svrl:failed-assert | svrl:successful-report">
	<sch:report test="true()"
	  ><sch:value-of select="replace(preceding::svrl:active-pattern[1]/@document, '^file:/.:', '')"/>:<sch:value-of select="@line-number"/>:<sch:value-of select="@column-number"/>: error:<sch:value-of select="svrl:text"/></sch:report>
     </sch:rule>
     
{'fraction_non_alphanumeric': 0.13343403826787512, 'fraction_numerical': 0.002014098690835851, 'mean_word_length': 4.519444444444445, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4757948', 'n_tokens_mistral': 673, 'n_tokens_neox': 648, 'n_words': 179}