<commit_before><application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <grammars>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified">
      <xs:element name="phonebookEntries" type="phonebookEntries"/>
      <xs:element name="phonebookEntry" type="phonebookEntry"/>
      <xs:element name="userEntry" type="userEntry"/>
      <xs:complexType name="phonebookEntries">
        <xs:sequence>
          <xs:element maxOccurs="unbounded" minOccurs="0" name="entries" type="phonebookEntry"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="phonebookEntry">
        <xs:sequence>
          <xs:element name="id" type="xs:long"/>
          <xs:element minOccurs="0" name="title" type="xs:string"/>
          <xs:element minOccurs="0" name="firstName" type="xs:string"/>
          <xs:element minOccurs="0" name="lastName" type="xs:string"/>
          <xs:element minOccurs="0" name="phoneNumber" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="userEntry">
        <xs:sequence>
          <xs:element name="key" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>
  </grammars>
  <resources base="http://example.com/api/">
    <resource path="/phonebook">
      <method name="GET" id="queryPhonebook">
        <doc>Returns list of entries matching the query</doc>
        <request>
          <param name="Authorization" style="query" type="xs:string"/>
          <param name="title" style="query" type="xs:string"/>
          <param name="firstname" style="query" type="xs:string"/>
          <param name="lastname" style="query" type="xs:string"/>
        </request>
        <response status="200">
          <doc>OK</doc>
          <representation mediaType="application/json" element="xs:phonebookEntries"/>
        </response>
        <response status="401">
          <doc>User Not Authorized</doc>
        </response>
      </method>
      <method name="POST" id="create">
        <doc>Adds entry to phonebook</doc>
        <request>
          <param name="Authorization" style="query" type="xs:string"/>
          <representation mediaType="application/json" element="xs:phonebookEntry"/>
        </request>
        <response status="201">
          <doc>Created Successfully</doc>
        </response>
        <response status="401">
          <doc>User Not Authorized</doc>
        </response>
      </method>
      <resource path="/{id}">
        <param name="id" style="template" type="xs:string"/>
        <method name="DELETE" id="deleteEntry">
          <doc>Deletes an existing entry from the phonebook</doc>
          <request>
            <param name="Authorization" style="query" type="xs:string"/>
          </request>
          <response status="204">
            <doc>OK</doc>
          </response>
          <response status="401">
            <doc>User Not Authorized</doc>
          </response>
          <response status="404">
            <doc>Entry not found for given ID</doc>
          </response>
        </method>
        <method name="GET" id="getEntry">
          <doc>Returns entry with provided ID</doc>
          <request>
            <param name="Authorization" style="query" type="xs:string"/>
          </request>
          <response>
            <representation mediaType="application/json" element="xs:phonebookEntry"/>
          </response>
        </method>
        <method name="PUT" id="update">
          <doc>Updates an existing entry in the phonebook</doc>
          <request>
            <param name="Authorization" style="query" type="xs:string"/>
            <representation mediaType="application/json" element="xs:phonebookEntry"/>
          </request>
          <response status="200">
            <doc>OK</doc>
            <representation mediaType="application/json" element="xs:phonebookEntry"/>
          </response>
          <response status="401">
            <doc>User Not Authorized</doc>
          </response>
          <response status="404">
            <doc>Entry not found for given ID</doc>
          </response>
        </method>
      </resource>
    </resource>
    <resource path="/user">
      <method name="POST" id="createUser">
        <doc>Creates new user entry</doc>
        <response status="200">
          <doc>successful operation</doc>
          <representation mediaType="application/json" element="xs:userEntry"/>
        </response>
      </method>
    </resource>
  </resources>
</application><commit_msg>Update wadl.xml<commit_after><application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <resources base="http://example.com/api/">
    <resource path="/phonebook">
      <method name="GET" id="queryPhonebook">
        <doc>Returns list of entries matching the query</doc>
        <request>
          <param name="Authorization" style="query" type="xs:string"/>
          <param name="title" style="query" type="xs:string"/>
          <param name="firstname" style="query" type="xs:string"/>
          <param name="lastname" style="query" type="xs:string"/>
        </request>
        <response status="200">
          <doc>OK</doc>
          <representation mediaType="application/json" href="#phonebookEntries"/>
        </response>
        <response status="401">
          <doc>User Not Authorized</doc>
        </response>
      </method>
      <method name="POST" id="create">
        <doc>Adds entry to phonebook</doc>
        <request>
          <param name="Authorization" style="query" type="xs:string"/>
          <representation mediaType="application/json" href="#phonebookEntry"/>
        </request>
        <response status="201">
          <doc>Created Successfully</doc>
        </response>
        <response status="401">
          <doc>User Not Authorized</doc>
        </response>
      </method>
      <resource path="/{id}">
        <param name="id" style="template" type="xs:string"/>
        <method name="DELETE" id="deleteEntry">
          <doc>Deletes an existing entry from the phonebook</doc>
          <request>
            <param name="Authorization" style="query" type="xs:string"/>
          </request>
          <response status="204">
            <doc>OK</doc>
          </response>
          <response status="401">
            <doc>User Not Authorized</doc>
          </response>
          <response status="404">
            <doc>Entry not found for given ID</doc>
          </response>
        </method>
        <method name="GET" id="getEntry">
          <doc>Returns entry with provided ID</doc>
          <request>
            <param name="Authorization" style="query" type="xs:string"/>
          </request>
          <response>
            <representation mediaType="application/json" href="#phonebookEntry"/>
          </response>
        </method>
        <method name="PUT" id="update">
          <doc>Updates an existing entry in the phonebook</doc>
          <request>
            <param name="Authorization" style="query" type="xs:string"/>
            <representation mediaType="application/json" href="#phonebookEntry"/>
          </request>
          <response status="200">
            <doc>OK</doc>
            <representation mediaType="application/json" href="#phonebookEntry"/>
          </response>
          <response status="401">
            <doc>User Not Authorized</doc>
          </response>
          <response status="404">
            <doc>Entry not found for given ID</doc>
          </response>
        </method>
      </resource>
    </resource>
    <resource path="/user">
      <method name="POST" id="createUser">
        <doc>Creates new user entry</doc>
        <response status="200">
          <doc>successful operation</doc>
          <representation mediaType="application/json" href="#userEntry"/>
        </response>
      </method>
    </resource>
  </resources>
  <representation id="PhonebookEntry" mediaType="application/json">
    <doc title="PhonebookEntry" xml:lang="en"></doc>
    <param name="id" type="xsd:integer">
      <doc title="id" xml:lang="en"></doc>
    </param>
    <param name="title" type="xsd:string">
      <doc title="title" xml:lang="en"></doc>
    </param>
    <param name="firstName" type="xsd:string">
      <doc title="firstName" xml:lang="en"></doc>
    </param>
    <param name="lastName" type="xsd:string">
      <doc title="lastName" xml:lang="en"></doc>
    </param>
    <param name="phoneNumber" type="xsd:string">
      <doc title="phoneNumber" xml:lang="en"></doc>
    </param>
  </representation>
  <representation id="PhonebookEntries" mediaType="application/json">
    <doc title="PhonebookEntries" xml:lang="en"></doc>
    <param href="#PhonebookEntry" name="entries" repeating="true">
      <doc title="entries" xml:lang="en"></doc>
    </param>
  </representation>
  <representation id="UserEntry" mediaType="application/json">
    <doc title="UserEntry" xml:lang="en"></doc>
    <param name="key" type="xsd:string">
      <doc title="key" xml:lang="en"></doc>
    </param>
  </representation>
</application>
{'fraction_non_alphanumeric': 0.16310975609756098, 'fraction_numerical': 0.010670731707317074, 'mean_word_length': 2.5422290782876975, 'pattern_counts': {'":': 0, '<': 279, '<?xml version=': 0, '>': 279, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, 'xml': 16}, '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': '7177559', 'n_tokens_mistral': 2651, 'n_tokens_neox': 2564, 'n_words': 537}