<commit_before>package com.example.tests;

import org.testng.annotations.Test;

public class ContactModificationTests extends TestBase {
	
	@Test
	public void modifySomeContact(){
		app.getNavigationHelper().openMainPage();		
		app.getContactHelper().initContactModification(1);
		ContactData contact = new ContactData();
		contact.firstname = "NEW FIRST NAME 1";
		app.getContactHelper().fillContactForm(contact);
		app.getContactHelper().submitContactModification();
		app.getNavigationHelper().returnToHomePage();
	}

}<commit_msg>New check was added for ContactModificationTests<commit_after>package com.example.tests;

import static org.testng.Assert.assertEquals;

import java.util.Collections;
import java.util.List;

import org.testng.annotations.Test;

public class ContactModificationTests extends TestBase {
	
	@Test
	public void modifySomeContact(){
		app.getNavigationHelper().openMainPage();
		
		//save old state
	    List<ContactData> oldList = app.getContactHelper().getContacts();
	    
	    //actions
		app.getContactHelper().initContactModification(0);
		ContactData contact = new ContactData();
		contact.firstname = "NEW FIRST NAME 1";
		contact.lastname = "NEW LAST NAME 1";
		app.getContactHelper().fillContactForm(contact);
		app.getContactHelper().submitContactModification();
		app.getNavigationHelper().returnToHomePage();
		
		//save new state
	    List<ContactData> newList = app.getContactHelper().getContacts();
	    
	    //compare states
	    contact.firstname = contact.firstname + " " + contact.lastname;
	    oldList.remove(0);
	    oldList.add(contact);
	    Collections.sort(oldList);
	    assertEquals(newList, oldList);
	}

}
{'fraction_non_alphanumeric': 0.11404561824729892, 'fraction_numerical': 0.003601440576230492, 'mean_word_length': 4.828671328671328, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6746385', 'n_tokens_mistral': 519, 'n_tokens_neox': 468, 'n_words': 94}