<commit_before>package classes;

import javax.persistence.Entity;
import javax.persistence.*;

/**
 * 
 * @author Brandon AND ONLY BRANDON!
 *
 */
@Entity
public class Student extends Person
{
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	//Need a way to store the absences -> actual dates
	//AttendanceRecord class?
	
	//This is where absences and tardies are stored
	private AttendanceReport report;	
	
	//This field can be used to determine the grade without having to
	//iterate thru all the absences and count them
	private int numAbsences = 0;
	private String major;
	private String advisor;
	private String position;

	public Student(String netID, String firstName, String lastName,
			String password, String major, String advisor, String position) {
		super(netID, firstName, lastName, password, major, advisor, position);

		this.major = major;
		this.advisor = advisor;
		this.position = position;		
		report = new AttendanceReport();
		this.id = hash(netID);<commit_msg>THis is actually used now!<commit_after>package classes;

import javax.persistence.Entity;
import javax.persistence.*;

/**
 * 
 * @author Brandon AND ONLY BRANDON!
 *
 */
@Entity(name="Student")
@DiscriminatorValue("Student")
public class Student extends Person
{
	//Need a way to store the absences -> actual dates
	//AttendanceRecord class?
	
	//This is where absences and tardies are stored
	private AttendanceReport report;	
	
	//This field can be used to determine the grade without having to
	//iterate thru all the absences and count them
	private int numAbsences = 0;
	private String major;
	private String advisor;
	private String position;

	public Student(String netID, String firstName, String lastName,
			String password, String major, String advisor, String position) {
		super(netID, firstName, lastName, password, major, advisor, position);

		this.major = major;
		this.advisor = advisor;
		this.position = position;		
		report = new AttendanceReport();
		this.id = hash(netID);
{'fraction_non_alphanumeric': 0.08656716417910448, 'fraction_numerical': 0.0009950248756218905, 'mean_word_length': 4.306068601583114, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4935906', 'n_tokens_mistral': 604, 'n_tokens_neox': 565, 'n_words': 220}