Compare commits

...

2 Commits

3 changed files with 93 additions and 134 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
mocodo_notebook
**__pycache__**
output
venv
venv
.vscode/

View File

@ -91,12 +91,10 @@ etre3, 0N Ressource, 11 fiche_activité
test =f"""
test_de_positionnement: id_testpos, consigne, caracteristiques ia
test_de_progression: id_testpro, consigne
historique_test: id_entree, durée, score, temps de réaction moyen, date de réalisation
{apprenant}
{compte}
réaliser1, 0N compte,0N test_de_progression, 11 historique_test, 0N apprenant
réaliser2, 0N compte,0N test_de_positionnement, 11 historique test, 0N apprenant
posséser1, 11 historique_test, 0N apprenant
"""

View File

@ -759,153 +759,120 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 11,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"773\" height=\"377\" viewBox=\"0 0 773 377\">\n",
"<rect x=\"0\" y=\"0\" width=\"773\" height=\"377\" fill=\"none\" stroke=\"none\" stroke-width=\"0\"/>\n",
"\n",
"<!-- Association REALISER2 -->\n",
"<g>\n",
"\t<line x1=\"95\" y1=\"193\" x2=\"317\" y2=\"53\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"494\" y1=\"53\" x2=\"317\" y2=\"53\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"317\" y1=\"193\" x2=\"317\" y2=\"53\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"666\" y1=\"193\" x2=\"317\" y2=\"53\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<g>\n",
"\t\t<path d=\"M344 27 a14 14 90 0 1 14 14 V53 h-82 V41 a14 14 90 0 1 14 -14\" fill=\"#b2bba4\" stroke=\"#b2bba4\" stroke-width=\"0\"/>\n",
"\t\t<path d=\"M358 53 v12 a14 14 90 0 1 -14 14 H290 a14 14 90 0 1 -14 -14 V53 H82\" fill=\"#ccd6ba\" stroke=\"#ccd6ba\" stroke-width=\"0\"/>\n",
"\t\t<rect x=\"276\" y=\"27\" width=\"82\" height=\"52\" fill=\"none\" rx=\"14\" stroke=\"#85956b\" stroke-width=\"1.5\"/>\n",
"\t\t<line x1=\"276\" y1=\"53\" x2=\"358\" y2=\"53\" stroke=\"#85956b\" stroke-width=\"1\"/>\n",
"\t\t<text x=\"283\" y=\"45.6\" fill=\"#27360c\" font-family=\"Courier New\" font-size=\"14\">réaliser</text>\n",
"\t</g>\n",
"\t<text x=\"186\" y=\"149.9\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"\t<text x=\"368\" y=\"69\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"\t<text x=\"322\" y=\"123\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">1,1</text>\n",
"\t<text x=\"540\" y=\"166.55\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"</g>\n",
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"568\" height=\"564\" viewBox=\"0 0 568 564\">\n",
"<rect x=\"0\" y=\"0\" width=\"568\" height=\"564\" fill=\"none\" stroke=\"none\" stroke-width=\"0\"/>\n",
"\n",
"<!-- Association POSSESER1 -->\n",
"<g>\n",
"\t<line x1=\"317\" y1=\"193\" x2=\"494\" y2=\"193\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"666\" y1=\"193\" x2=\"494\" y2=\"193\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"112\" y1=\"237\" x2=\"112\" y2=\"80\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"289\" y1=\"80\" x2=\"112\" y2=\"80\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<g>\n",
"\t\t<path d=\"M521 167 a14 14 90 0 1 14 14 V193 h-82 V181 a14 14 90 0 1 14 -14\" fill=\"#b2bba4\" stroke=\"#b2bba4\" stroke-width=\"0\"/>\n",
"\t\t<path d=\"M535 193 v12 a14 14 90 0 1 -14 14 H467 a14 14 90 0 1 -14 -14 V193 H82\" fill=\"#ccd6ba\" stroke=\"#ccd6ba\" stroke-width=\"0\"/>\n",
"\t\t<rect x=\"453\" y=\"167\" width=\"82\" height=\"52\" fill=\"none\" rx=\"14\" stroke=\"#85956b\" stroke-width=\"1.5\"/>\n",
"\t\t<line x1=\"453\" y1=\"193\" x2=\"535\" y2=\"193\" stroke=\"#85956b\" stroke-width=\"1\"/>\n",
"\t\t<text x=\"460\" y=\"185.6\" fill=\"#27360c\" font-family=\"Courier New\" font-size=\"14\">posséser</text>\n",
"\t\t<path d=\"M139 54 a14 14 90 0 1 14 14 V80 h-82 V68 a14 14 90 0 1 14 -14\" fill=\"#b2bba4\" stroke=\"#b2bba4\" stroke-width=\"0\"/>\n",
"\t\t<path d=\"M153 80 v12 a14 14 90 0 1 -14 14 H85 a14 14 90 0 1 -14 -14 V80 H82\" fill=\"#ccd6ba\" stroke=\"#ccd6ba\" stroke-width=\"0\"/>\n",
"\t\t<rect x=\"71\" y=\"54\" width=\"82\" height=\"52\" fill=\"none\" rx=\"14\" stroke=\"#85956b\" stroke-width=\"1.5\"/>\n",
"\t\t<line x1=\"71\" y1=\"80\" x2=\"153\" y2=\"80\" stroke=\"#85956b\" stroke-width=\"1\"/>\n",
"\t\t<text x=\"78\" y=\"72.6\" fill=\"#27360c\" font-family=\"Courier New\" font-size=\"14\">posséser</text>\n",
"\t</g>\n",
"\t<text x=\"425\" y=\"209\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">1,1</text>\n",
"\t<text x=\"540\" y=\"209\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"\t<text x=\"117\" y=\"167\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">1,1</text>\n",
"\t<text x=\"163\" y=\"96\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"</g>\n",
"\n",
"<!-- Association REALISER1 -->\n",
"<!-- Association REALISER2 -->\n",
"<g>\n",
"\t<line x1=\"95\" y1=\"193\" x2=\"317\" y2=\"333\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"494\" y1=\"333\" x2=\"317\" y2=\"333\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"317\" y1=\"193\" x2=\"317\" y2=\"333\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"666\" y1=\"193\" x2=\"317\" y2=\"333\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"289\" y1=\"439\" x2=\"289\" y2=\"237\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"461\" y1=\"237\" x2=\"289\" y2=\"237\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"112\" y1=\"237\" x2=\"289\" y2=\"237\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<line x1=\"289\" y1=\"80\" x2=\"289\" y2=\"237\" stroke=\"#726f83\" stroke-width=\"1\"/>\n",
"\t<g>\n",
"\t\t<path d=\"M344 307 a14 14 90 0 1 14 14 V333 h-82 V321 a14 14 90 0 1 14 -14\" fill=\"#b2bba4\" stroke=\"#b2bba4\" stroke-width=\"0\"/>\n",
"\t\t<path d=\"M358 333 v12 a14 14 90 0 1 -14 14 H290 a14 14 90 0 1 -14 -14 V333 H82\" fill=\"#ccd6ba\" stroke=\"#ccd6ba\" stroke-width=\"0\"/>\n",
"\t\t<rect x=\"276\" y=\"307\" width=\"82\" height=\"52\" fill=\"none\" rx=\"14\" stroke=\"#85956b\" stroke-width=\"1.5\"/>\n",
"\t\t<line x1=\"276\" y1=\"333\" x2=\"358\" y2=\"333\" stroke=\"#85956b\" stroke-width=\"1\"/>\n",
"\t\t<text x=\"283\" y=\"325.6\" fill=\"#27360c\" font-family=\"Courier New\" font-size=\"14\">réaliser</text>\n",
"\t\t<path d=\"M316 211 a14 14 90 0 1 14 14 V237 h-82 V225 a14 14 90 0 1 14 -14\" fill=\"#b2bba4\" stroke=\"#b2bba4\" stroke-width=\"0\"/>\n",
"\t\t<path d=\"M330 237 v12 a14 14 90 0 1 -14 14 H262 a14 14 90 0 1 -14 -14 V237 H82\" fill=\"#ccd6ba\" stroke=\"#ccd6ba\" stroke-width=\"0\"/>\n",
"\t\t<rect x=\"248\" y=\"211\" width=\"82\" height=\"52\" fill=\"none\" rx=\"14\" stroke=\"#85956b\" stroke-width=\"1.5\"/>\n",
"\t\t<line x1=\"248\" y1=\"237\" x2=\"330\" y2=\"237\" stroke=\"#85956b\" stroke-width=\"1\"/>\n",
"\t\t<text x=\"255\" y=\"229.6\" fill=\"#27360c\" font-family=\"Courier New\" font-size=\"14\">réaliser</text>\n",
"\t</g>\n",
"\t<text x=\"186\" y=\"244.1\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"\t<text x=\"380\" y=\"349\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"\t<text x=\"322\" y=\"271\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">1,1</text>\n",
"\t<text x=\"540\" y=\"227.45\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"</g>\n",
"\n",
"<!-- Entity TEST_DE_POSITIONNEMENT -->\n",
"<g>\n",
"\t<g>\n",
"\t\t<rect x=\"396\" y=\"9\" width=\"196\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"396\" y=\"35\" width=\"196\" height=\"62\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"396\" y=\"9\" width=\"196\" height=\"88\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"396\" y1=\"35\" x2=\"592\" y2=\"35\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t</g>\n",
"\t<text x=\"401\" y=\"27.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">test_de_positionnement</text>\n",
"\t<text x=\"401\" y=\"53.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">id_testpos</text>\n",
"\t<line x1=\"401\" y1=\"56\" x2=\"486\" y2=\"56\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"401\" y=\"71.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">consigne</text>\n",
"\t<text x=\"401\" y=\"89.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">caracteristiques ia</text>\n",
"</g>\n",
"\n",
"<!-- Entity COMPTE -->\n",
"<g>\n",
"\t<g>\n",
"\t\t<rect x=\"9\" y=\"77\" width=\"172\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"9\" y=\"103\" width=\"172\" height=\"206\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"9\" y=\"77\" width=\"172\" height=\"232\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"9\" y1=\"103\" x2=\"181\" y2=\"103\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t</g>\n",
"\t<text x=\"69\" y=\"95.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">compte</text>\n",
"\t<text x=\"14\" y=\"121.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">login</text>\n",
"\t<line x1=\"14\" y1=\"124\" x2=\"57\" y2=\"124\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"14\" y=\"139.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">email</text>\n",
"\t<text x=\"14\" y=\"157.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">password</text>\n",
"\t<text x=\"14\" y=\"175.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">état</text>\n",
"\t<text x=\"14\" y=\"193.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">date_de_derniere_co</text>\n",
"\t<text x=\"14\" y=\"211.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">nom</text>\n",
"\t<text x=\"14\" y=\"229.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">prenom</text>\n",
"\t<text x=\"14\" y=\"247.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">mobile</text>\n",
"\t<text x=\"14\" y=\"265.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">date_de_création</text>\n",
"\t<text x=\"14\" y=\"283.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">moyen_paiement</text>\n",
"\t<text x=\"14\" y=\"301.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">est_connecté</text>\n",
"</g>\n",
"\n",
"<!-- Entity HISTORIQUE_TEST -->\n",
"<g>\n",
"\t<g>\n",
"\t\t<rect x=\"214\" y=\"131\" width=\"206\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"214\" y=\"157\" width=\"206\" height=\"98\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"214\" y=\"131\" width=\"206\" height=\"124\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"214\" y1=\"157\" x2=\"420\" y2=\"157\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t</g>\n",
"\t<text x=\"254\" y=\"149.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">historique_test</text>\n",
"\t<text x=\"219\" y=\"175.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">id_entree</text>\n",
"\t<line x1=\"219\" y1=\"178\" x2=\"296\" y2=\"178\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"219\" y=\"193.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">durée</text>\n",
"\t<text x=\"219\" y=\"211.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">score</text>\n",
"\t<text x=\"219\" y=\"229.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">temps de réaction moyen</text>\n",
"\t<text x=\"219\" y=\"247.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">date de réalisation</text>\n",
"\t<text x=\"294\" y=\"315\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"\t<text x=\"335\" y=\"253\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"\t<text x=\"220\" y=\"253\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">1,1</text>\n",
"\t<text x=\"294\" y=\"167\" fill=\"#726f83\" font-family=\"Courier New\" font-size=\"12\">0,N</text>\n",
"</g>\n",
"\n",
"<!-- Entity APPRENANT -->\n",
"<g>\n",
"\t<g>\n",
"\t\t<rect x=\"568\" y=\"122\" width=\"196\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"568\" y=\"148\" width=\"196\" height=\"116\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"568\" y=\"122\" width=\"196\" height=\"142\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"568\" y1=\"148\" x2=\"764\" y2=\"148\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t\t<rect x=\"191\" y=\"9\" width=\"196\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"191\" y=\"35\" width=\"196\" height=\"116\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"191\" y=\"9\" width=\"196\" height=\"142\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"191\" y1=\"35\" x2=\"387\" y2=\"35\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t</g>\n",
"\t<text x=\"628\" y=\"140.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">apprenant</text>\n",
"\t<text x=\"573\" y=\"166.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">id_apprenant</text>\n",
"\t<line x1=\"573\" y1=\"169\" x2=\"675\" y2=\"169\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"573\" y=\"184.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">nom</text>\n",
"\t<text x=\"573\" y=\"202.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">prenom</text>\n",
"\t<text x=\"573\" y=\"220.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">date_de_naissance</text>\n",
"\t<text x=\"573\" y=\"238.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">classe</text>\n",
"\t<text x=\"573\" y=\"256.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">reponses_questionnaire</text>\n",
"\t<text x=\"251\" y=\"27.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">apprenant</text>\n",
"\t<text x=\"196\" y=\"53.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">id_apprenant</text>\n",
"\t<line x1=\"196\" y1=\"56\" x2=\"298\" y2=\"56\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"196\" y=\"71.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">nom</text>\n",
"\t<text x=\"196\" y=\"89.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">prenom</text>\n",
"\t<text x=\"196\" y=\"107.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">date_de_naissance</text>\n",
"\t<text x=\"196\" y=\"125.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">classe</text>\n",
"\t<text x=\"196\" y=\"143.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">reponses_questionnaire</text>\n",
"</g>\n",
"\n",
"<!-- Entity TEST_DE_PROGRESSION -->\n",
"<!-- Entity HISTORIQUE_TEST -->\n",
"<g>\n",
"\t<g>\n",
"\t\t<rect x=\"408\" y=\"298\" width=\"172\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"408\" y=\"324\" width=\"172\" height=\"44\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"408\" y=\"298\" width=\"172\" height=\"70\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"408\" y1=\"324\" x2=\"580\" y2=\"324\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t\t<rect x=\"9\" y=\"175\" width=\"206\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"9\" y=\"201\" width=\"206\" height=\"98\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"9\" y=\"175\" width=\"206\" height=\"124\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"9\" y1=\"201\" x2=\"215\" y2=\"201\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t</g>\n",
"\t<text x=\"414\" y=\"316.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">test_de_progression</text>\n",
"\t<text x=\"413\" y=\"342.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">id_testpro</text>\n",
"\t<line x1=\"413\" y1=\"345\" x2=\"498\" y2=\"345\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"413\" y=\"360.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">consigne</text>\n",
"\t<text x=\"49\" y=\"193.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">historique_test</text>\n",
"\t<text x=\"14\" y=\"219.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">id_entree</text>\n",
"\t<line x1=\"14\" y1=\"222\" x2=\"91\" y2=\"222\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"14\" y=\"237.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">durée</text>\n",
"\t<text x=\"14\" y=\"255.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">score</text>\n",
"\t<text x=\"14\" y=\"273.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">temps de réaction moyen</text>\n",
"\t<text x=\"14\" y=\"291.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">date de réalisation</text>\n",
"</g>\n",
"\n",
"<!-- Entity TEST_DE_POSITIONNEMENT -->\n",
"<g>\n",
"\t<g>\n",
"\t\t<rect x=\"363\" y=\"193\" width=\"196\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"363\" y=\"219\" width=\"196\" height=\"62\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"363\" y=\"193\" width=\"196\" height=\"88\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"363\" y1=\"219\" x2=\"559\" y2=\"219\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t</g>\n",
"\t<text x=\"368\" y=\"211.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">test_de_positionnement</text>\n",
"\t<text x=\"368\" y=\"237.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">id_testpos</text>\n",
"\t<line x1=\"368\" y1=\"240\" x2=\"453\" y2=\"240\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"368\" y=\"255.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">consigne</text>\n",
"\t<text x=\"368\" y=\"273.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">caracteristiques ia</text>\n",
"</g>\n",
"\n",
"<!-- Entity COMPTE -->\n",
"<g>\n",
"\t<g>\n",
"\t\t<rect x=\"203\" y=\"323\" width=\"172\" height=\"26\" fill=\"#97b8ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"203\" y=\"349\" width=\"172\" height=\"206\" fill=\"#c0d4ff\" stroke=\"none\" stroke-width=\"0\" opacity=\"1\"/>\n",
"\t\t<rect x=\"203\" y=\"323\" width=\"172\" height=\"232\" fill=\"none\" stroke=\"#578dff\" stroke-width=\"1.5\" opacity=\"1\"/>\n",
"\t\t<line x1=\"203\" y1=\"349\" x2=\"375\" y2=\"349\" stroke=\"#578dff\" stroke-width=\"1\"/>\n",
"\t</g>\n",
"\t<text x=\"263\" y=\"341.6\" fill=\"#131114\" font-family=\"Courier New\" font-size=\"14\">compte</text>\n",
"\t<text x=\"208\" y=\"367.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">login</text>\n",
"\t<line x1=\"208\" y1=\"370\" x2=\"251\" y2=\"370\" stroke=\"#3e3c42\" stroke-width=\"1\"/>\n",
"\t<text x=\"208\" y=\"385.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">email</text>\n",
"\t<text x=\"208\" y=\"403.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">password</text>\n",
"\t<text x=\"208\" y=\"421.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">état</text>\n",
"\t<text x=\"208\" y=\"439.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">date_de_derniere_co</text>\n",
"\t<text x=\"208\" y=\"457.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">nom</text>\n",
"\t<text x=\"208\" y=\"475.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">prenom</text>\n",
"\t<text x=\"208\" y=\"493.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">mobile</text>\n",
"\t<text x=\"208\" y=\"511.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">date_de_création</text>\n",
"\t<text x=\"208\" y=\"529.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">moyen_paiement</text>\n",
"\t<text x=\"208\" y=\"547.6\" fill=\"#3e3c42\" font-family=\"Courier New\" font-size=\"14\">est_connecté</text>\n",
"</g>\n",
"</svg>"
],
@ -1126,7 +1093,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
@ -1147,7 +1114,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 9,
"metadata": {},
"outputs": [
{
@ -1287,10 +1254,6 @@
" TYPE consigne\n",
" TYPE caracteristiques_ia\n",
" }\n",
" test_de_progression {\n",
" TYPE id_testpro PK\n",
" TYPE consigne\n",
" }\n",
" historique_test {\n",
" TYPE id_entree PK\n",
" TYPE duree\n",
@ -1362,9 +1325,6 @@
" Ressource ||--o{ video: etre\n",
" Ressource ||--o{ article: etre\n",
" Ressource ||--o{ fiche_activite: etre\n",
" historique_test }o--|| compte: realiser1\n",
" historique_test }o--|| test_de_progression: realiser1\n",
" historique_test }o--|| apprenant: realiser1\n",
" historique_test }o--|| compte: realiser2\n",
" historique_test }o--|| test_de_positionnement: realiser2\n",
" historique_test }o--|| apprenant: realiser2\n",
@ -1386,7 +1346,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [