<commit_before><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="text" encoding="utf-8" />
       
  
  <xsl:param name="delim" select="','" />
  <xsl:param name="quote" select="'&quot;'" />
  <xsl:param name="break" select="'&#xA;'" />

  <xsl:template match="/subject_map_records">
    
    <!-- <xsl:if test="/records/item/mrn"-->
      <xsl:text>"research_subject_id","end_date","start_date","mrn","facility_code" </xsl:text>
    <!--/xsl:if>
    <xsl:if test="not(/records/item/mrn)">
      <xsl:text>"research_subject_id,person_index_yob,redcap_yob" </xsl:text></xsl:if> -->
    <xsl:value-of select="$break" />   
    <xsl:apply-templates select="/subject_map_records/item" />
    <xsl:value-of select="$break" />
  </xsl:template>

  <xsl:template match="/subject_map_exception_records">
    
    <xsl:text>"research_subject_id","person_index_yob","redcap_yob" </xsl:text>
    <xsl:value-of select="$break" />   
    <xsl:apply-templates select="/subject_map_exception_records/item" />
    <xsl:value-of select="$break" />
  </xsl:template>

  <xsl:template match="item">
    <xsl:apply-templates />
    <xsl:if test="following-sibling::*">
      <xsl:value-of select="$break" />
    </xsl:if>
  </xsl:template>

  <xsl:template match="*">
    <xsl:value-of select="concat($quote, normalize-space(), $quote)" />
    <xsl:if test="following-sibling::*">
      <xsl:value-of select="$delim" /><commit_msg>Update example files in config-example-gsm<commit_after><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="text" encoding="utf-8" />
       
  
  <xsl:param name="delim" select="','" />
  <xsl:param name="quote" select="'&quot;'" />
  <xsl:param name="break" select="'&#xA;'" />

  <xsl:template match="/subject_map_records">
    
    <!-- <xsl:if test="/records/item/mrn"-->
      <xsl:text>"research_subject_id","end_date","start_date","mrn","facility_code"</xsl:text>
    <!--/xsl:if>
    <xsl:if test="not(/records/item/mrn)">
      <xsl:text>"research_subject_id,person_index_yob,redcap_yob"</xsl:text></xsl:if> -->
    <xsl:value-of select="$break" />   
    <xsl:apply-templates select="/subject_map_records/item" />
    <xsl:value-of select="$break" />
  </xsl:template>

  <xsl:template match="/subject_map_exception_records">
    
    <xsl:text>"research_subject_id","person_index_yob","redcap_yob"</xsl:text>
    <xsl:value-of select="$break" />   
    <xsl:apply-templates select="/subject_map_exception_records/item" />
    <xsl:value-of select="$break" />
  </xsl:template>

  <xsl:template match="item">
    <xsl:apply-templates />
    <xsl:if test="following-sibling::*">
      <xsl:value-of select="$break" />
    </xsl:if>
  </xsl:template>

  <xsl:template match="*">
    <xsl:value-of select="concat($quote, normalize-space(), $quote)" />
    <xsl:if test="following-sibling::*">
      <xsl:value-of select="$delim" />
{'fraction_non_alphanumeric': 0.2181571815718157, 'fraction_numerical': 0.005420054200542005, 'mean_word_length': 4.23581560283688, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7223757', 'n_tokens_mistral': 1146, 'n_tokens_neox': 1035, 'n_words': 127}