Skip to content

Commit

Permalink
Deployed 160f4cf with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Feb 28, 2024
1 parent 9db02ad commit 1b25d4d
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 38 deletions.
18 changes: 9 additions & 9 deletions data/tables/requetes_elaborees/index.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand Down
2 changes: 1 addition & 1 deletion data/tables/requetes_elaborees/pythons/film_annee/exo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand Down
2 changes: 1 addition & 1 deletion data/tables/requetes_elaborees/pythons/film_genre/exo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand Down
4 changes: 1 addition & 3 deletions data/tables/requetes_elaborees/pythons/film_moyenne/exo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand Down Expand Up @@ -33,5 +33,3 @@ def moyenne(donnees, descripteur):
"""Renvoie la moyenne des valeurs de ce descripteur"""
pass


assert abs(moyenne(films, "Minutes") - 122.57) < 10**-2, "Erreur sur la moyenne de 'Minutes'"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand All @@ -27,8 +27,3 @@
def projection(donnees, descripteur):
"""Renvoie la liste des valeurs de ce descripteur"""
pass


assert projection(films, "Ranking")[4] == 5, "Erreur sur la projection de 'Ranking'"
assert projection(films, "Name")[4] == "Pulp Fiction", "Erreur sur la projection de 'Name'"
assert projection(films, "Year")[4] == 1994, "Erreur sur la projection de 'Year'"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand All @@ -28,5 +28,3 @@ def projection_multiple(donnees, descripteurs):
"""Renvoie les valeurs de ces descripteurs"""
pass


assert projection_multiple(films, ("Name", "Year", "Rating"))[0] == ("Citizen Kane", 1941, 8.3), "Erreur"
2 changes: 1 addition & 1 deletion data/tables/requetes_elaborees/pythons/film_revenus/exo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand Down
5 changes: 1 addition & 4 deletions data/tables/requetes_elaborees/pythons/film_somme/exo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from js import fetch

reponse = await fetch(f"../{url_fichier}")
reponse = await fetch(f"{url_fichier}")
contenu = await reponse.text()

with open(file=url_fichier, mode="w", encoding=encodage) as fichier:
Expand All @@ -27,6 +27,3 @@
def somme(donnees, descripteur):
"""Renvoie la somme des valeurs de ce descripteur"""
pass


assert abs(somme(films, "Gross") - 33072.07) < 10**-6, "Erreur sur la somme de 'Gross'"
8 changes: 4 additions & 4 deletions outils/pyodide/sandbox/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4128,7 +4128,7 @@ <h1 id="bac-a-sable">Bac à sable<a class="headerlink" href="#bac-a-sable" title
</script>-->

<!--
<div><div class = 'setQCM'><span class = 'questionQCM arithmatex' data-nq = 1>Age du capitaine ?</span><div class="wrapper_qcm" id = "qcm_hzqbvu" data-n-correct = 3 data-shuffle = 1 ><span><input type="checkbox" id="hzqbvu-0" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="hzqbvu-0" class="qcm-item arithmatex">\(6\times 7\)</label></span><span><input type="checkbox" id="hzqbvu-1" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="hzqbvu-1" class="qcm-item arithmatex">Ça : \(\int_0^{42} 1 \textrm{d} x\)</label></span><span><input type="checkbox" id="hzqbvu-2" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="hzqbvu-2" class="qcm-item arithmatex"><pre style="display: inline;"><code style="display: inline;" class="language-python qcm"> sum([i for i in range(10)])</code></pre></label></span><span><input type="checkbox" id="hzqbvu-3" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="hzqbvu-3" class="qcm-item arithmatex">La réponse D</label></span><span><input type="checkbox" id="hzqbvu-4" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="hzqbvu-4" class="qcm-item arithmatex">42</label></span></div></div><div class = 'setQCM'><span class = 'questionQCM arithmatex' data-nq = 2>1+1=?</span><div class="wrapper_qcm" id = "qcm_tpayph" data-n-correct = 1 data-shuffle = 1 ><span><input type="checkbox" id="tpayph-0" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="tpayph-0" class="qcm-item arithmatex">\(12\)</label></span><span><input type="checkbox" id="tpayph-1" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="tpayph-1" class="qcm-item arithmatex">2</label></span><span><input type="checkbox" id="tpayph-2" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="tpayph-2" class="qcm-item arithmatex">Je sais pas</label></span><span><input type="checkbox" id="tpayph-3" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="tpayph-3" class="qcm-item arithmatex">L'age du capitaine</label></span></div></div><div class = 'setQCM'><span class = 'questionQCM arithmatex' data-nq = 3>\({x}^{p} = ?\)</span><div class="wrapper_qcm" id = "qcm_cabtwn" data-n-correct = 1 data-shuffle = 1 data-var-x = "[8, 2]" data-var-p = "7" ><span><input type="checkbox" id="cabtwn-0" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="cabtwn-0" class="qcm-item arithmatex">\({x}^{p}\)</label></span><span><input type="checkbox" id="cabtwn-1" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="cabtwn-1" class="qcm-item arithmatex">\({x}+{p}\)</label></span><span><input type="checkbox" id="cabtwn-2" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="cabtwn-2" class="qcm-item arithmatex">Je sais pas</label></span><span><input type="checkbox" id="cabtwn-3" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="cabtwn-3" class="qcm-item arithmatex">L'age du capitaine</label></span></div></div><div class="buttonWrapper"><span class = "validationButton" id = "valider_zeeiws">Valider</span><span class = "validationButton" id = "recharger_zeeiws">Recharger</span></div><div class = "showScore" id="score_zeeiws"></div></div>-->
<div><div class = 'setQCM'><span class = 'questionQCM arithmatex' data-nq = 1>Age du capitaine ?</span><div class="wrapper_qcm" id = "qcm_kntxha" data-n-correct = 3 data-shuffle = 1 ><span><input type="checkbox" id="kntxha-0" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="kntxha-0" class="qcm-item arithmatex">\(6\times 7\)</label></span><span><input type="checkbox" id="kntxha-1" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="kntxha-1" class="qcm-item arithmatex">Ça : \(\int_0^{42} 1 \textrm{d} x\)</label></span><span><input type="checkbox" id="kntxha-2" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="kntxha-2" class="qcm-item arithmatex"><pre style="display: inline;"><code style="display: inline;" class="language-python qcm"> sum([i for i in range(10)])</code></pre></label></span><span><input type="checkbox" id="kntxha-3" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="kntxha-3" class="qcm-item arithmatex">La réponse D</label></span><span><input type="checkbox" id="kntxha-4" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="kntxha-4" class="qcm-item arithmatex">42</label></span></div></div><div class = 'setQCM'><span class = 'questionQCM arithmatex' data-nq = 2>1+1=?</span><div class="wrapper_qcm" id = "qcm_lsvfcs" data-n-correct = 1 data-shuffle = 1 ><span><input type="checkbox" id="lsvfcs-0" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="lsvfcs-0" class="qcm-item arithmatex">\(12\)</label></span><span><input type="checkbox" id="lsvfcs-1" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="lsvfcs-1" class="qcm-item arithmatex">2</label></span><span><input type="checkbox" id="lsvfcs-2" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="lsvfcs-2" class="qcm-item arithmatex">Je sais pas</label></span><span><input type="checkbox" id="lsvfcs-3" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="lsvfcs-3" class="qcm-item arithmatex">L'age du capitaine</label></span></div></div><div class = 'setQCM'><span class = 'questionQCM arithmatex' data-nq = 3>\({x}^{p} = ?\)</span><div class="wrapper_qcm" id = "qcm_snatfp" data-n-correct = 1 data-shuffle = 1 data-var-x = "[8, 2]" data-var-p = "7" ><span><input type="checkbox" id="snatfp-0" class="qcm-checkbox correct "><span class="check-toggle"></span><label for="snatfp-0" class="qcm-item arithmatex">\({x}^{p}\)</label></span><span><input type="checkbox" id="snatfp-1" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="snatfp-1" class="qcm-item arithmatex">\({x}+{p}\)</label></span><span><input type="checkbox" id="snatfp-2" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="snatfp-2" class="qcm-item arithmatex">Je sais pas</label></span><span><input type="checkbox" id="snatfp-3" class="qcm-checkbox incorrect "><span class="check-toggle"></span><label for="snatfp-3" class="qcm-item arithmatex">L'age du capitaine</label></span></div></div><div class="buttonWrapper"><span class = "validationButton" id = "valider_pceqvh">Valider</span><span class = "validationButton" id = "recharger_pceqvh">Recharger</span></div><div class = "showScore" id="score_pceqvh"></div></div>-->

<!-- <span id="truc_m">$x^p$</span>
Expand Down Expand Up @@ -4209,15 +4209,15 @@ <h1>MathJax v3: TeX &amp; MathML to HTML</h1>
<!-- <div id = "setQCM"> -->
<!-- Question 1:
<div class="wrapper_qcm" id = "qcm_zdevyy" data-n-correct = 2 data-shuffle = 1 ><span><input type="checkbox" id="zdevyy-0" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="zdevyy-0" class="qcm-item arithmatex">\(6\times 7\)</label></span><span><input type="checkbox" id="zdevyy-1" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="zdevyy-1" class="qcm-item arithmatex">Ça : \(\int_0^{42} 1 \textrm{d} x\)</label></span><span><input type="checkbox" id="zdevyy-2" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="zdevyy-2" class="qcm-item arithmatex"><pre style="display: inline;"><code style="display: inline;" class="language-python qcm"> sum([i for i in range(10)])</code></pre></label></span><span><input type="checkbox" id="zdevyy-3" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="zdevyy-3" class="qcm-item arithmatex">La réponse D</label></span></div> -->
<div class="wrapper_qcm" id = "qcm_ooveix" data-n-correct = 2 data-shuffle = 1 ><span><input type="checkbox" id="ooveix-0" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="ooveix-0" class="qcm-item arithmatex">\(6\times 7\)</label></span><span><input type="checkbox" id="ooveix-1" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="ooveix-1" class="qcm-item arithmatex">Ça : \(\int_0^{42} 1 \textrm{d} x\)</label></span><span><input type="checkbox" id="ooveix-2" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="ooveix-2" class="qcm-item arithmatex"><pre style="display: inline;"><code style="display: inline;" class="language-python qcm"> sum([i for i in range(10)])</code></pre></label></span><span><input type="checkbox" id="ooveix-3" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="ooveix-3" class="qcm-item arithmatex">La réponse D</label></span></div> -->
<!--
Question 2:
<div class="wrapper_qcm" id = "qcm_eupsmg" data-n-correct = 2 data-shuffle = 1 ><span><input type="checkbox" id="eupsmg-0" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="eupsmg-0" class="qcm-item arithmatex">\(6\times 7\)</label></span><span><input type="checkbox" id="eupsmg-1" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="eupsmg-1" class="qcm-item arithmatex">Ça : \(\int_0^{42} 1 \textrm{d} x\)</label></span><span><input type="checkbox" id="eupsmg-2" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="eupsmg-2" class="qcm-item arithmatex"><pre style="display: inline;"><code style="display: inline;" class="language-python qcm"> sum([i for i in range(10)])</code></pre></label></span><span><input type="checkbox" id="eupsmg-3" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="eupsmg-3" class="qcm-item arithmatex">La réponse D</label></span></div>
<div class="wrapper_qcm" id = "qcm_jzjkpc" data-n-correct = 2 data-shuffle = 1 ><span><input type="checkbox" id="jzjkpc-0" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="jzjkpc-0" class="qcm-item arithmatex">\(6\times 7\)</label></span><span><input type="checkbox" id="jzjkpc-1" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="jzjkpc-1" class="qcm-item arithmatex">Ça : \(\int_0^{42} 1 \textrm{d} x\)</label></span><span><input type="checkbox" id="jzjkpc-2" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="jzjkpc-2" class="qcm-item arithmatex"><pre style="display: inline;"><code style="display: inline;" class="language-python qcm"> sum([i for i in range(10)])</code></pre></label></span><span><input type="checkbox" id="jzjkpc-3" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="jzjkpc-3" class="qcm-item arithmatex">La réponse D</label></span></div>
Question 3:
<div class="wrapper_qcm" id = "qcm_nyedwq" data-n-correct = 2 data-shuffle = 1 ><span><input type="checkbox" id="nyedwq-0" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="nyedwq-0" class="qcm-item arithmatex">\(6\times 7\)</label></span><span><input type="checkbox" id="nyedwq-1" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="nyedwq-1" class="qcm-item arithmatex">Ça : \(\int_0^{42} 1 \textrm{d} x\)</label></span><span><input type="checkbox" id="nyedwq-2" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="nyedwq-2" class="qcm-item arithmatex"><pre style="display: inline;"><code style="display: inline;" class="language-python qcm"> sum([i for i in range(10)])</code></pre></label></span><span><input type="checkbox" id="nyedwq-3" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="nyedwq-3" class="qcm-item arithmatex">La réponse D</label></span></div>
<div class="wrapper_qcm" id = "qcm_ioplox" data-n-correct = 2 data-shuffle = 1 ><span><input type="checkbox" id="ioplox-0" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="ioplox-0" class="qcm-item arithmatex">\(6\times 7\)</label></span><span><input type="checkbox" id="ioplox-1" class="qcm-checkbox correct reveal"><span class="check-toggle"></span><label for="ioplox-1" class="qcm-item arithmatex">Ça : \(\int_0^{42} 1 \textrm{d} x\)</label></span><span><input type="checkbox" id="ioplox-2" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="ioplox-2" class="qcm-item arithmatex"><pre style="display: inline;"><code style="display: inline;" class="language-python qcm"> sum([i for i in range(10)])</code></pre></label></span><span><input type="checkbox" id="ioplox-3" class="qcm-checkbox incorrect reveal"><span class="check-toggle"></span><label for="ioplox-3" class="qcm-item arithmatex">La réponse D</label></span></div>
<div class="buttonWrapper">
<span class = "validationButton" id = "valider">Valider</span>
Expand Down
Loading

0 comments on commit 1b25d4d

Please sign in to comment.