<commit_before>#!/usr/bin/python
#
# Copyright (c) 2011 rPath, Inc.
#
# All rights reserved.
#

package_post_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
<package> 
  <name>conary</name>
  <description>Conary Package Manager</description>
</package>
"""

package_put_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
<package>
  <name>Apache</name>
  <description>Apache Renamed</description>
</package>
"""

package_version_post_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
  <package_version>
    <name>3.0</name>
    <license>Apache</license>
    <package id="http://127.0.0.1:8000/api/packages/1"/>
    <consumable>true</consumable>
  </package_version>
"""

package_version_put_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
  <package_version>
    <name>3.1</name>
    <license>Apache</license>
    <package id="http://127.0.0.1:8000/api/packages/1"/>
    <consumable>false</consumable>
  </package_version>
"""

package_version_url_post_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
<package_version_url>
  <url>http://httpd.apache.org/download.cgi#apache30</url>
  <package_version id="http://127.0.0.1:8000/api/package_versions/1"/><commit_msg>Fix test<commit_after>#!/usr/bin/python
#
# Copyright (c) 2011 rPath, Inc.
#
# All rights reserved.
#

package_post_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
<package> 
  <name>conary</name>
  <description>Conary Package Manager</description>
</package>
"""

package_put_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
<package>
  <name>Apache</name>
  <description>Apache Renamed</description>
</package>
"""

package_version_post_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
  <package_version>
    <name>3.0</name>
    <description>3.0</description>
    <license>Apache</license>
    <package id="http://127.0.0.1:8000/api/packages/1"/>
    <consumable>true</consumable>
  </package_version>
"""

package_version_put_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
  <package_version>
    <name>3.1</name>
    <license>Apache</license>
    <package id="http://127.0.0.1:8000/api/packages/1"/>
    <consumable>false</consumable>
  </package_version>
"""

package_version_url_post_xml = """\
<?xml version='1.0' encoding='UTF-8'?>
<package_version_url>
  <url>http://httpd.apache.org/download.cgi#apache30</url>
  <package_version id="http://127.0.0.1:8000/api/package_versions/1"/>
{'fraction_non_alphanumeric': 0.21350210970464134, 'fraction_numerical': 0.049789029535864976, 'mean_word_length': 4.685851318944844, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 10, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 20}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5928082', 'n_tokens_mistral': 947, 'n_tokens_neox': 900, 'n_words': 117}