<commit_before><?xml version="1.0" encoding="utf-8" ?> 
<!--
    How the GL driver database works:
    
    First, a set of configurations is specified in the <configs> section.
    Each configuration has an associated name.
    
    Then, some rules are declared in the <rules> section. Rules consist of
    severeral <conditions>, which can be:
    - <regexp>: Match one of the GL strings against a regular expression.
    - <comparever>: Compare the a version against a prefined value.
    - <negate>: True if the contained rule(s) are false.
    - <match>: True if the contained rule(s) are true.
    <conditions> as well as <negate> and <match> are containers for conditions;
    by default, they are true if all contained conditions are true. This 
    behaviour can be changed by specifying the 'fulfill="one"' attribute. 
    (You can also specify 'fulfill="all"', but that's just like the default.)
    
    If the <conditions> section evaluates to 'true', all the configurations 
    from the <configs> section specified in the <applicable> sections (in 
    <usecfg>...</usecfg> tags) are added to the global config tree; otherwise, 
    the configurations specified in <notapplicable> are added.
    
    The rules are evaluated in the order they appear in the database.
  -->
<gldriverdb>
  <configs>
    <config name="preferclipplane">
      <Video>
	<OpenGL>
	  <PreferClipPlane>true</PreferClipPlane>
	</OpenGL>
      </Video>
    </config>
    <config name="novbo">
      <Video>
	<OpenGL>
	  <UseExtension>
	    <GL_ARB_vertex_buffer_object>no</GL_ARB_vertex_buffer_object>
	  </UseExtension>
	</OpenGL>
      </Video>
    </config>
    <config name="noavp">
      <Video>
	<OpenGL>
	  <UseExtension>
	    <GL_ARB_vertex_program>no</GL_ARB_vertex_program>
	  </UseExtension>
	</OpenGL>
      </Video>
    </config>
    <config name="noaps">
      <Video>
	<OpenGL>
	  <UseExtension>
	    <GL_ARB_point_sprite>no</GL_ARB_point_sprite>
	  </UseExtension>
	</OpenGL>
      </Video>
    </config>
    <config name="3dfxhacks">
      <Video>
	<OpenGL>
	  <UseExtension>
	    <GL_ARB_multitexture>no</GL_ARB_multitexture>
	  </UseExtension>
	  <Win32>
	    <DisableConsoleWindow>yes</DisableConsoleWindow>
	  </Win32>
	</OpenGL>
      </Video>
    </config>
    <config name="texturecompression">
      <Video>
	<OpenGL>
	  <TargetFormat>
	    <GL_RGB>compressed</GL_RGB>
	    <GL_RGBA>compressed</GL_RGBA>
	    <GL_RGB5_A1>compressed</GL_RGB5_A1>
	    <GL_RGBA8>compressed</GL_RGBA8>
	  </TargetFormat>
	</OpenGL>
      </Video>
    </config>
    <config name="softgl">
      <Video>
	<OpenGL>
	  <TextureFilter>none</TextureFilter>
	</OpenGL>
      </Video>
    </config>
  </configs>
  <rules>
    <!-- rule description="Some more examples">
      <conditions>
	<comparever version="gl" relation="ge 1.1" />
	<comparever version="driver" relation="lt 6.34" />
      </conditions>
      <applicable>
      </applicable>
      <notapplicable>
      </notapplicable>
    </rule -->
    <rule description="Prefer clipplane for clipping">
      <conditions fulfill="all">
	<regexp string="platform" pattern="Unix" />
	<regexp string="renderer" pattern="Rage128" />
	<regexp string="glversion" pattern="1.2 Mesa 5.0" />
      </conditions>
      <applicable>
	<usecfg>preferclipplane</usecfg>
      </applicable>
    </rule><commit_msg>Tweak to the pattern.<commit_after><?xml version="1.0" encoding="utf-8" ?> 
<!--
    How the GL driver database works:
    
    First, a set of configurations is specified in the <configs> section.
    Each configuration has an associated name.
    
    Then, some rules are declared in the <rules> section. Rules consist of
    severeral <conditions>, which can be:
    - <regexp>: Match one of the GL strings against a regular expression.
    - <comparever>: Compare the a version against a prefined value.
    - <negate>: True if the contained rule(s) are false.
    - <match>: True if the contained rule(s) are true.
    <conditions> as well as <negate> and <match> are containers for conditions;
    by default, they are true if all contained conditions are true. This 
    behaviour can be changed by specifying the 'fulfill="one"' attribute. 
    (You can also specify 'fulfill="all"', but that's just like the default.)
    
    If the <conditions> section evaluates to 'true', all the configurations 
    from the <configs> section specified in the <applicable> sections (in 
    <usecfg>...</usecfg> tags) are added to the global config tree; otherwise, 
    the configurations specified in <notapplicable> are added.
    
    The rules are evaluated in the order they appear in the database.
  -->
<gldriverdb>
  <configs>
    <config name="preferclipplane">
      <Video>
	<OpenGL>
	  <PreferClipPlane>true</PreferClipPlane>
	</OpenGL>
      </Video>
    </config>
    <config name="novbo">
      <Video>
	<OpenGL>
	  <UseExtension>
	    <GL_ARB_vertex_buffer_object>no</GL_ARB_vertex_buffer_object>
	  </UseExtension>
	</OpenGL>
      </Video>
    </config>
    <config name="noavp">
      <Video>
	<OpenGL>
	  <UseExtension>
	    <GL_ARB_vertex_program>no</GL_ARB_vertex_program>
	  </UseExtension>
	</OpenGL>
      </Video>
    </config>
    <config name="noaps">
      <Video>
	<OpenGL>
	  <UseExtension>
	    <GL_ARB_point_sprite>no</GL_ARB_point_sprite>
	  </UseExtension>
	</OpenGL>
      </Video>
    </config>
    <config name="3dfxhacks">
      <Video>
	<OpenGL>
	  <UseExtension>
	    <GL_ARB_multitexture>no</GL_ARB_multitexture>
	  </UseExtension>
	  <Win32>
	    <DisableConsoleWindow>yes</DisableConsoleWindow>
	  </Win32>
	</OpenGL>
      </Video>
    </config>
    <config name="texturecompression">
      <Video>
	<OpenGL>
	  <TargetFormat>
	    <GL_RGB>compressed</GL_RGB>
	    <GL_RGBA>compressed</GL_RGBA>
	    <GL_RGB5_A1>compressed</GL_RGB5_A1>
	    <GL_RGBA8>compressed</GL_RGBA8>
	  </TargetFormat>
	</OpenGL>
      </Video>
    </config>
    <config name="softgl">
      <Video>
	<OpenGL>
	  <TextureFilter>none</TextureFilter>
	</OpenGL>
      </Video>
    </config>
  </configs>
  <rules>
    <!-- rule description="Some more examples">
      <conditions>
	<comparever version="gl" relation="ge 1.1" />
	<comparever version="driver" relation="lt 6.34" />
      </conditions>
      <applicable>
      </applicable>
      <notapplicable>
      </notapplicable>
    </rule -->
    <rule description="Prefer clipplane for clipping">
      <conditions fulfill="all">
	<regexp string="platform" pattern="Unix" />
	<regexp string="renderer" pattern="Rage128" />
	<regexp string="glversion" pattern="1.2" />
      </conditions>
      <applicable>
	<usecfg>preferclipplane</usecfg>
      </applicable>
    </rule>
{'fraction_non_alphanumeric': 0.12946628793541637, 'fraction_numerical': 0.007474958887726118, 'mean_word_length': 3.089242053789731, 'pattern_counts': {'":': 0, '<': 241, '<?xml version=': 2, '>': 241, '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': '325078', 'n_tokens_mistral': 2266, 'n_tokens_neox': 2192, 'n_words': 578}