<commit_before>package models;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

import controllers.Identity;
import play.db.ebean.Model;

@Entity
public class AssistanceCall extends Model {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public String id;
	
	public String hostname;
	
	public String date;
	
	public String details;
	
	@ManyToOne
	public Student student;
	

	public static Finder<String, AssistanceCall> find = new Finder<String, AssistanceCall>(String.class, AssistanceCall.class);

	public AssistanceCall(String hostname, String date, String details, String uuid) {
		String hashedUuid = Identity.hashed(uuid);
		System.out.println("----!!!!!!!!!!-------- UUID : " + uuid +" ; hashed : " + hashedUuid);
		this.student = Student.find.ref(hashedUuid);
		this.hostname = hostname;
		this.date = date;
		this.details = details;
	}

    public static int count() {
        return find.findRowCount();
    }
	
	public static List<AssistanceCall> all() {
	  return find.all();
	}

	public static void create(AssistanceCall assistanceCall) {
		assistanceCall.student = Student.find.ref(assistanceCall.student.hashedUuid);
		System.out.println("Assistance call :\n"
				+ "hashedUuid : " + assistanceCall.student.hashedUuid +"\n"
				+ "details : "+ assistanceCall.details+"\n"
				+ "hostname : "+ assistanceCall.hostname);
		assistanceCall.save();
		System.out.println("-------------------Model--------------------"+assistanceCall.id);
	}
	
	public static void delete(String id, String s) {
		find.byId(id).delete();
	}
	
}<commit_msg>[Fix] Comment some System.out<commit_after>package models;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

import controllers.Identity;
import play.db.ebean.Model;

@Entity
public class AssistanceCall extends Model {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public String id;
	
	public String hostname;
	
	public String date;
	
	public String details;
	
	@ManyToOne
	public Student student;
	

	public static Finder<String, AssistanceCall> find = new Finder<String, AssistanceCall>(String.class, AssistanceCall.class);

	public AssistanceCall(String hostname, String date, String details, String uuid) {
		String hashedUuid = Identity.hashed(uuid);
		//System.out.println("----!!!!!!!!!!-------- UUID : " + uuid +" ; hashed : " + hashedUuid);
		this.student = Student.find.ref(hashedUuid);
		this.hostname = hostname;
		this.date = date;
		this.details = details;
	}

    public static int count() {
        return find.findRowCount();
    }
	
	public static List<AssistanceCall> all() {
	  return find.all();
	}

	public static void create(AssistanceCall assistanceCall) {
		assistanceCall.student = Student.find.ref(assistanceCall.student.hashedUuid);
//		System.out.println("Assistance call :\n"
//				+ "hashedUuid : " + assistanceCall.student.hashedUuid +"\n"
//				+ "details : "+ assistanceCall.details+"\n"
//				+ "hostname : "+ assistanceCall.hostname);
		assistanceCall.save();
	}
	
	public static void delete(String id, String s) {
		find.byId(id).delete();
	}
	
}
{'fraction_non_alphanumeric': 0.13670520231213873, 'fraction_numerical': 0.0005780346820809249, 'mean_word_length': 4.059941520467836, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4713935', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1048, 'n_words': 246}