<commit_before>#ifndef __Data_student__
#define __Data_student__

#include "general.hpp"
#include "major.hpp"
#include "concentration.hpp"
#include "course.hpp"
using namespace std;

class Student {
private:
	void init(string n, int s, int g, string m);
public:
	string name;
	int startingYear, gradutationYear;

	vector<Major> majors;
	vector<Concentration> concentrations;
	vector<Course> courses;

	Student();
	Student(string n, string s, string e, string m);
	Student(string fn);

	bool hasTakenCourse(string str);
	void addCourse(const Course& c);
	void addCourses(string str);
	void addLab(const Course& c);
	void addLabs(string str);

	void addMajor(const Major& m);
	void addMajors(string str);
	void addConcentration(const Concentration& m);
	void addConcentrations(string str);

	ostream& getData(ostream &os);
	void display();
};

extern Student user;
<commit_msg>Remove addLab and addLabs, now that getCourse works properly with them.<commit_after>#ifndef __Data_student__
#define __Data_student__

#include "general.hpp"
#include "major.hpp"
#include "concentration.hpp"
#include "course.hpp"
using namespace std;

class Student {
private:
	void init(string n, int s, int g, string m);
public:
	string name;
	int startingYear, gradutationYear;

	vector<Major> majors;
	vector<Concentration> concentrations;
	vector<Course> courses;

	Student();
	Student(string n, string s, string e, string m);
	Student(string fn);

	bool hasTakenCourse(string str);
	void addCourse(const Course& c);
	void addCourses(string str);

	void addMajor(const Major& m);
	void addMajors(string str);
	void addConcentration(const Concentration& m);
	void addConcentrations(string str);

	ostream& getData(ostream &os);
	void display();
};

extern Student user;

{'fraction_non_alphanumeric': 0.108, 'fraction_numerical': 0.0, 'mean_word_length': 6.032128514056225, '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': '704111', 'n_tokens_mistral': 606, 'n_tokens_neox': 556, 'n_words': 181}