<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE daodefinition SYSTEM "dao.dtd">
<daodefinition version="1">
	<datasource>
		<tables>
			<table name="kernel_bu_eleve_affectation" tablename="kernel_bu_eleve_affectation" primary="yes"/>
		</tables>
	</datasource>
	<properties>
		<!-- TABLE TEST VERSION -->
		<property name="affect_id"         fieldname="id"         type="integer" table="kernel_bu_eleve_affectation" pk="yes"/>
		<property name="affect_eleve"      fieldname="eleve"      type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
		<property name="affect_annee_scol" fieldname="annee_scol" type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
		<property name="affect_classe"     fieldname="classe"     type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
		<property name="affect_niveau"     fieldname="niveau"     type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
	</properties>
	<methods>
		<method name="getByEleve" type="select">
			<parameters>
				<parameter name="eleve" />
			</parameters>
			<conditions>
				<condition property="affect_eleve" operator="=" value="$eleve" />
			</conditions>
		</method>
		<method name="getByClasse" type="select">
			<parameters>
				<parameter name="classe" />
			</parameters>
			<conditions>
				<condition property="affect_classe" operator="=" value="$classe" />
			</conditions>
		</method>
	</methods>
</daodefinition>

<commit_msg>Gestion de l'affectation courante d'un élève.<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE daodefinition SYSTEM "dao.dtd">
<daodefinition version="1">
	<datasource>
		<tables>
			<table name="kernel_bu_eleve_affectation" tablename="kernel_bu_eleve_affectation" primary="yes"/>
		</tables>
	</datasource>
	<properties>
		<!-- TABLE TEST VERSION -->
		<property name="affect_id"         fieldname="id"         type="integer" table="kernel_bu_eleve_affectation" pk="yes"/>
		<property name="affect_eleve"      fieldname="eleve"      type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
		<property name="affect_annee_scol" fieldname="annee_scol" type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
		<property name="affect_classe"     fieldname="classe"     type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
		<property name="affect_niveau"     fieldname="niveau"     type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
		<property name="affect_current"    fieldname="current"    type="string"  table="kernel_bu_eleve_affectation" pk="no"/>
	</properties>
	<methods>
		<method name="getByEleve" type="select">
			<parameters>
				<parameter name="eleve" />
			</parameters>
			<conditions>
				<condition property="affect_eleve" operator="=" value="$eleve" />
				<condition property="affect_current" operator="=" value="1" />
			</conditions>
		</method>
		<method name="getByClasse" type="select">
			<parameters>
				<parameter name="classe" />
			</parameters>
			<conditions>
				<condition property="affect_classe" operator="=" value="$classe" />
				<condition property="affect_current" operator="=" value="1" />
			</conditions>
		</method>
	</methods>
</daodefinition>


{'fraction_non_alphanumeric': 0.16619541313226516, 'fraction_numerical': 0.005655042412818096, 'mean_word_length': 5.134874759152216, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 2, '>': 76, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2565527', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1097, 'n_words': 185}