<commit_before><?php
  class ContactsTest extends PHPUnit_Framework_TestCase
  {
    public function testListContacts()
    {
        $mj = new Mailjet(getenv('API_KEY'), getenv('API_SECRET_KEY'));

        $mj->contact();

        $this->assertEquals(200, $mj->_response_code);
    }

    public function testCreateContactslist()
    {
        $mj = new Mailjet(getenv('API_KEY'), getenv('API_SECRET_KEY'));

        $params = array(
          "method" => "POST",
          "Address" => "<EMAIL>",
          "Name" => "testCreateContactslist"
        );
        $mj->contactslist($params);

        $this->assertEquals(201, $mj->_response_code);
    }

    public function testdeleteLastContactslist()
    {
        $mj = new Mailjet(getenv('API_KEY'), getenv('API_SECRET_KEY'));

        $mj->contactslist();

        $lastid = $mj->_response->Data[count($mj->_response->Data) - 1]->ID;

        $params = array(
          "method" => "DELETE",
          "ID" => $lastid
        );
        $mj->contactslist($params);

        $this->assertEquals(204, $mj->_response_code);
    }<commit_msg>Update contact.php<commit_after><?php
  class ContactsTest extends PHPUnit_Framework_TestCase
  {
    public function testListContacts()
    {
        $mj = new Mailjet(getenv('API_KEY'), getenv('API_SECRET_KEY'));

        $mj->contact();

        $this->assertEquals(200, $mj->_response_code);
    }

    public function testCreateContactslist()
    {
        $mj = new Mailjet(getenv('API_KEY'), getenv('API_SECRET_KEY'));

        $params = array(
          "method" => "POST",
          "Address" => "<EMAIL>",
          "Name" => "testCreateContactslist"
        );
        $mj->contactslist($params);

        $this->assertEquals(201, $mj->_response_code);
    }

    public function testDeleteLastContactslist()
    {
        $mj = new Mailjet(getenv('API_KEY'), getenv('API_SECRET_KEY'));

        $mj->contactslist();

        $lastid = $mj->_response->Data[count($mj->_response->Data) - 1]->ID;

        $params = array(
          "method" => "DELETE",
          "ID" => $lastid
        );
        $mj->contactslist($params);

        $this->assertEquals(204, $mj->_response_code);
    }
{'fraction_non_alphanumeric': 0.16476494751255136, 'fraction_numerical': 0.009128251939753538, 'mean_word_length': 2.529790660225443, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1427907', 'n_tokens_mistral': 734, 'n_tokens_neox': 676, 'n_words': 107}