Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"cells": [
{
Expand Down Expand Up @@ -3619,7 +3619,9 @@
"\n",
"Le Conseil de l'UE utilise la majorité qualifiée : 55% des États (15/27) représentant 65% de la population.\n",
"\n",
"Modélisez ce système et calculez les indices de pouvoir des grands pays (Allemagne, France, Italie, Espagne)."
"Modélisez ce système et calculez les indices de pouvoir des grands pays (Allemagne, France, Italie, Espagne).\n",
"\n",
"**Note d'unité** : la `WeightedVotingGame` compare le quota à la **somme des poids** (pas à un ratio). Pour 65% de la population, le quota s'exprime donc en millions d'habitants (la cellule suivante propose un calcul direct)."
]
},
{
Expand All @@ -3628,10 +3630,10 @@
"id": "f6494b07",
"metadata": {
"execution": {
"iopub.execute_input": "2026-10-11T16:24:28.905925Z",
"iopub.status.busy": "2026-10-11T16:24:28.905698Z",
"iopub.status.idle": "2026-10-11T16:24:28.909011Z",
"shell.execute_reply": "2026-10-11T16:24:28.908597Z"
"iopub.execute_input": "2026-10-12T03:39:17.656616Z",
"iopub.status.busy": "2026-10-12T03:39:17.656616Z",
"iopub.status.idle": "2026-10-12T03:39:17.656616Z",
"shell.execute_reply": "2026-10-12T03:39:17.656616Z"
},
"papermill": {
"duration": 0.014863,
Expand Down Expand Up @@ -3661,11 +3663,13 @@
"}\n",
"\n",
"# TODO etudiant : créer le jeu de vote pondéré UE et calculer les indices de pouvoir\n",
"# eu_game = WeightedVotingGame(weights=list(eu_populations.values()), quota=0.65)\n",
"# (le quota doit s'exprimer dans la même unité que les poids — voir cellule précédente)\n",
"# total_population = sum(eu_populations.values()) # 345 (avec les 8 pays ci-dessus)\n",
"# eu_game = WeightedVotingGame(weights=list(eu_populations.values()), quota=0.65 * total_population)\n",
"# banzhaf_indices = banzhaf_power_index(eu_game)\n",
"# shapley_indices = shapley_power_index(eu_game)\n",
"\n",
"print(\"Exercice a completer\")\n"
"print(\"Exercice a completer\")"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
date: '2026-10-12'
by: myia-po-2027:CoursIA-2
python_sha: fec407c7a8d35226560cefa6a640301b5c99160c
csharp_sha: db7540c2de36f2c09b4095c046f8e8aa93839887
content_python_sha: 49e3dd644bcd3beb6247599983ecd2109b7d3a77920887890f5a5a26d5e39a8f
content_csharp_sha: 61391a702979c05f3ed084b8e668a8ff569861948e20ab591d32b98a0f9001ea
Loading