Skip to content

Commit

Permalink
Add 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
edomora97 committed Sep 28, 2024
1 parent e783535 commit eba4bf8
Show file tree
Hide file tree
Showing 256 changed files with 273 additions and 218 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ $ yarn dev

2. Enter the `utils/make_db` directory

3. You need an app credentials file that allows the script to interact with the Google Docs APIs. Create such an app following [the official docs](https://developers.google.com/sheets/api/quickstart/python). From this step you should obtain a `credentials.json`.
3. Login to gcloud with

```
gcloud auth application-default login --scopes=openid,https://www.googleapis.com/auth/userinfo.email,https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/spreadsheets
gcloud auth application-default set-quota-project A_GCP_PROJECT_ID
```

4. Generate the new database by running

Expand Down
2 changes: 1 addition & 1 deletion data/contests.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/contests/2002.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"year": 2002, "navigation": {"current": 2002, "previous": 2001, "next": 2003}, "location": {"location": null, "gmaps": null, "latitude": null, "longitude": null}, "region": null, "num_contestants": 78, "max_score_possible": 100.0, "max_score": 94.0, "avg_score": 16.599428448717948, "tasks": [{"contest_year": 2002, "name": "cond", "title": "Condominio", "link": null, "index": 0, "max_score_possible": 25.0}, {"contest_year": 2002, "name": "bnero", "title": "Bianco e nero", "link": null, "index": 1, "max_score_possible": 25.0}, {"contest_year": 2002, "name": "spec", "title": "Specchio", "link": null, "index": 2, "max_score_possible": 25.0}, {"contest_year": 2002, "name": "borse", "title": "Borse", "link": "https://training.olinfo.it/#/task/oii_borse/statement", "index": 3, "max_score_possible": 25.0}], "medals": {"gold": {"count": null, "cutoff": null}, "silver": {"count": null, "cutoff": null}, "bronze": {"count": null, "cutoff": null}}}
{"year": 2002, "navigation": {"current": 2002, "previous": 2001, "next": 2003}, "location": {"location": null, "gmaps": null, "latitude": null, "longitude": null}, "region": null, "num_contestants": 78, "max_score_possible": 100.0, "max_score": 94.0, "avg_score": 16.599428448717948, "tasks": [{"contest_year": 2002, "name": "cond", "title": "Condominio", "link": null, "index": 0, "max_score_possible": 25.0}, {"contest_year": 2002, "name": "bnero", "title": "Bianco e nero", "link": null, "index": 1, "max_score_possible": 25.0}, {"contest_year": 2002, "name": "spec", "title": "Specchio", "link": null, "index": 2, "max_score_possible": 25.0}, {"contest_year": 2002, "name": "borse", "title": "Borse", "link": "https://training.olinfo.it/task/oii_borse", "index": 3, "max_score_possible": 25.0}], "medals": {"gold": {"count": null, "cutoff": null}, "silver": {"count": null, "cutoff": null}, "bronze": {"count": null, "cutoff": null}}}
2 changes: 1 addition & 1 deletion data/contests/2003/results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/contests/2004/results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/contests/2005/results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/contests/2007.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"year": 2007, "navigation": {"current": 2007, "previous": 2006, "next": 2008}, "location": {"location": "Bari", "gmaps": "https://goo.gl/maps/9FdpCSvz4q12", "latitude": 41.1112924, "longitude": 16.7419962}, "region": "PUG", "num_contestants": 71, "max_score_possible": 60.0, "max_score": 52.0, "avg_score": 14.910704225352113, "tasks": [{"contest_year": 2007, "name": "somme", "title": "Somme di sequenze", "link": "https://training.olinfo.it/#/task/oii_somme/statement", "index": 0, "max_score_possible": 20.0}, {"contest_year": 2007, "name": "domina", "title": "Dominatori di torneo", "link": "https://training.olinfo.it/#/task/oii_domina/statement", "index": 1, "max_score_possible": 20.0}, {"contest_year": 2007, "name": "petali", "title": "Petali di margherita", "link": "https://training.olinfo.it/#/task/oii_petali/statement", "index": 2, "max_score_possible": 20.0}], "medals": {"gold": {"count": 5, "cutoff": 90.0}, "silver": {"count": 10, "cutoff": 61.0}, "bronze": {"count": 20, "cutoff": 48.0}}}
{"year": 2007, "navigation": {"current": 2007, "previous": 2006, "next": 2008}, "location": {"location": "Bari", "gmaps": "https://goo.gl/maps/9FdpCSvz4q12", "latitude": 41.1112924, "longitude": 16.7419962}, "region": "PUG", "num_contestants": 71, "max_score_possible": 60.0, "max_score": 52.0, "avg_score": 14.910704225352113, "tasks": [{"contest_year": 2007, "name": "somme", "title": "Somme di sequenze", "link": "https://training.olinfo.it/task/oii_somme", "index": 0, "max_score_possible": 20.0}, {"contest_year": 2007, "name": "domina", "title": "Dominatori di torneo", "link": "https://training.olinfo.it/task/oii_domina", "index": 1, "max_score_possible": 20.0}, {"contest_year": 2007, "name": "petali", "title": "Petali di margherita", "link": "https://training.olinfo.it/task/oii_petali", "index": 2, "max_score_possible": 20.0}], "medals": {"gold": {"count": 5, "cutoff": 90.0}, "silver": {"count": 10, "cutoff": 61.0}, "bronze": {"count": 20, "cutoff": 48.0}}}
2 changes: 1 addition & 1 deletion data/contests/2008.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"year": 2008, "navigation": {"current": 2008, "previous": 2007, "next": 2009}, "location": {"location": "Pesaro/Fano", "gmaps": "https://goo.gl/maps/USn45KG6HFS2", "latitude": 43.8401035, "longitude": 12.9860611}, "region": "MAR", "num_contestants": 76, "max_score_possible": 60.0, "max_score": 56.0, "avg_score": 11.06578947368421, "tasks": [{"contest_year": 2008, "name": "cnn", "title": "Troupe televisive", "link": "https://training.olinfo.it/#/task/oii_cnn/statement", "index": 0, "max_score_possible": 20.0}, {"contest_year": 2008, "name": "triade", "title": "Giornalismo d'inchiesta", "link": "https://training.olinfo.it/#/task/oii_triade/statement", "index": 1, "max_score_possible": 20.0}, {"contest_year": 2008, "name": "parole", "title": "Parole saturnine", "link": "https://training.olinfo.it/#/task/oii_parole/statement", "index": 2, "max_score_possible": 20.0}], "medals": {"gold": {"count": 5, "cutoff": 56.0}, "silver": {"count": 10, "cutoff": 40.0}, "bronze": {"count": 20, "cutoff": 24.0}}}
{"year": 2008, "navigation": {"current": 2008, "previous": 2007, "next": 2009}, "location": {"location": "Pesaro/Fano", "gmaps": "https://goo.gl/maps/USn45KG6HFS2", "latitude": 43.8401035, "longitude": 12.9860611}, "region": "MAR", "num_contestants": 76, "max_score_possible": 60.0, "max_score": 56.0, "avg_score": 11.06578947368421, "tasks": [{"contest_year": 2008, "name": "cnn", "title": "Troupe televisive", "link": "https://training.olinfo.it/task/oii_cnn", "index": 0, "max_score_possible": 20.0}, {"contest_year": 2008, "name": "triade", "title": "Giornalismo d'inchiesta", "link": "https://training.olinfo.it/task/oii_triade", "index": 1, "max_score_possible": 20.0}, {"contest_year": 2008, "name": "parole", "title": "Parole saturnine", "link": "https://training.olinfo.it/task/oii_parole", "index": 2, "max_score_possible": 20.0}], "medals": {"gold": {"count": 5, "cutoff": 56.0}, "silver": {"count": 10, "cutoff": 40.0}, "bronze": {"count": 20, "cutoff": 24.0}}}
2 changes: 1 addition & 1 deletion data/contests/2009.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"year": 2009, "navigation": {"current": 2009, "previous": 2008, "next": 2010}, "location": {"location": "Istituto Statale Superiore Carlo Anti - Verona", "gmaps": "https://goo.gl/maps/3h1FBSn54oK2", "latitude": 45.3575856, "longitude": 10.8374907}, "region": "VEN", "num_contestants": 80, "max_score_possible": 60.0, "max_score": 60.0, "avg_score": 14.2375, "tasks": [{"contest_year": 2009, "name": "amici", "title": "T\u00e8 con gli amici", "link": "https://training.olinfo.it/#/task/oii_amici/statement", "index": 0, "max_score_possible": 20.0}, {"contest_year": 2009, "name": "numeri", "title": "Numeri antipatici", "link": "https://training.olinfo.it/#/task/oii_numeri/statement", "index": 1, "max_score_possible": 20.0}, {"contest_year": 2009, "name": "pesca", "title": "Pesca bizzarra", "link": "https://training.olinfo.it/#/task/oii_pesca/statement", "index": 2, "max_score_possible": 20.0}], "medals": {"gold": {"count": 5, "cutoff": 96.0}, "silver": {"count": 11, "cutoff": 36.0}, "bronze": {"count": 20, "cutoff": 24.0}}}
{"year": 2009, "navigation": {"current": 2009, "previous": 2008, "next": 2010}, "location": {"location": "Istituto Statale Superiore Carlo Anti - Verona", "gmaps": "https://goo.gl/maps/3h1FBSn54oK2", "latitude": 45.3575856, "longitude": 10.8374907}, "region": "VEN", "num_contestants": 80, "max_score_possible": 60.0, "max_score": 60.0, "avg_score": 14.2375, "tasks": [{"contest_year": 2009, "name": "amici", "title": "T\u00e8 con gli amici", "link": "https://training.olinfo.it/task/oii_amici", "index": 0, "max_score_possible": 20.0}, {"contest_year": 2009, "name": "numeri", "title": "Numeri antipatici", "link": "https://training.olinfo.it/task/oii_numeri", "index": 1, "max_score_possible": 20.0}, {"contest_year": 2009, "name": "pesca", "title": "Pesca bizzarra", "link": "https://training.olinfo.it/task/oii_pesca", "index": 2, "max_score_possible": 20.0}], "medals": {"gold": {"count": 5, "cutoff": 96.0}, "silver": {"count": 11, "cutoff": 36.0}, "bronze": {"count": 20, "cutoff": 24.0}}}
2 changes: 1 addition & 1 deletion data/contests/2010.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"year": 2010, "navigation": {"current": 2010, "previous": 2009, "next": 2011}, "location": {"location": "Garda Village - Sirmione", "gmaps": "https://goo.gl/maps/5iD2NmP9Dv22", "latitude": 45.4653723, "longitude": 10.5943623}, "region": "LOM", "num_contestants": 79, "max_score_possible": 80.0, "max_score": 80.0, "avg_score": 35.41772151898734, "tasks": [{"contest_year": 2010, "name": "baht", "title": "Per un pugno di baht", "link": "https://training.olinfo.it/#/task/oii_baht/statement", "index": 0, "max_score_possible": 20.0}, {"contest_year": 2010, "name": "fuga", "title": "Fuga dagli inseguitori", "link": "https://training.olinfo.it/#/task/oii_fuga/statement", "index": 1, "max_score_possible": 20.0}, {"contest_year": 2010, "name": "salti", "title": "Salti spettacolari", "link": "https://training.olinfo.it/#/task/oii_salti/statement", "index": 2, "max_score_possible": 20.0}, {"contest_year": 2010, "name": "scuola", "title": "Scuola di supereroi", "link": "https://training.olinfo.it/#/task/oii_scuola/statement", "index": 3, "max_score_possible": 20.0}], "medals": {"gold": {"count": 5, "cutoff": 68.0}, "silver": {"count": 11, "cutoff": 47.0}, "bronze": {"count": 20, "cutoff": 35.0}}}
{"year": 2010, "navigation": {"current": 2010, "previous": 2009, "next": 2011}, "location": {"location": "Garda Village - Sirmione", "gmaps": "https://goo.gl/maps/5iD2NmP9Dv22", "latitude": 45.4653723, "longitude": 10.5943623}, "region": "LOM", "num_contestants": 79, "max_score_possible": 80.0, "max_score": 80.0, "avg_score": 35.41772151898734, "tasks": [{"contest_year": 2010, "name": "baht", "title": "Per un pugno di baht", "link": "https://training.olinfo.it/task/oii_baht", "index": 0, "max_score_possible": 20.0}, {"contest_year": 2010, "name": "fuga", "title": "Fuga dagli inseguitori", "link": "https://training.olinfo.it/task/oii_fuga", "index": 1, "max_score_possible": 20.0}, {"contest_year": 2010, "name": "salti", "title": "Salti spettacolari", "link": "https://training.olinfo.it/task/oii_salti", "index": 2, "max_score_possible": 20.0}, {"contest_year": 2010, "name": "scuola", "title": "Scuola di supereroi", "link": "https://training.olinfo.it/task/oii_scuola", "index": 3, "max_score_possible": 20.0}], "medals": {"gold": {"count": 5, "cutoff": 68.0}, "silver": {"count": 11, "cutoff": 47.0}, "bronze": {"count": 20, "cutoff": 35.0}}}
2 changes: 1 addition & 1 deletion data/contests/2011.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"year": 2011, "navigation": {"current": 2011, "previous": 2010, "next": 2012}, "location": {"location": "Garda Village - Sirmione", "gmaps": "https://goo.gl/maps/5iD2NmP9Dv22", "latitude": 45.4653723, "longitude": 10.5943623}, "region": "LOM", "num_contestants": 78, "max_score_possible": 400.0, "max_score": 380.0, "avg_score": 112.82051282051282, "tasks": [{"contest_year": 2011, "name": "eso", "title": "Espressioni senza operatori", "link": "https://training.olinfo.it/#/task/oii_eso/statement", "index": 0, "max_score_possible": 100.0}, {"contest_year": 2011, "name": "fibstr", "title": "Stringhe di Fibonacci", "link": "https://training.olinfo.it/#/task/oii_fibstr/statement", "index": 1, "max_score_possible": 100.0}, {"contest_year": 2011, "name": "matita", "title": "Scrivere senza staccare la matita dal foglio", "link": "https://training.olinfo.it/#/task/oii_matita/statement", "index": 2, "max_score_possible": 100.0}, {"contest_year": 2011, "name": "salta", "title": "Salta il coniglietto", "link": "https://training.olinfo.it/#/task/oii_salta/statement", "index": 3, "max_score_possible": 100.0}], "medals": {"gold": {"count": 5, "cutoff": 260.0}, "silver": {"count": 11, "cutoff": 200.0}, "bronze": {"count": 21, "cutoff": 115.0}}}
{"year": 2011, "navigation": {"current": 2011, "previous": 2010, "next": 2012}, "location": {"location": "Garda Village - Sirmione", "gmaps": "https://goo.gl/maps/5iD2NmP9Dv22", "latitude": 45.4653723, "longitude": 10.5943623}, "region": "LOM", "num_contestants": 78, "max_score_possible": 400.0, "max_score": 380.0, "avg_score": 112.82051282051282, "tasks": [{"contest_year": 2011, "name": "eso", "title": "Espressioni senza operatori", "link": "https://training.olinfo.it/task/oii_eso", "index": 0, "max_score_possible": 100.0}, {"contest_year": 2011, "name": "fibstr", "title": "Stringhe di Fibonacci", "link": "https://training.olinfo.it/task/oii_fibstr", "index": 1, "max_score_possible": 100.0}, {"contest_year": 2011, "name": "matita", "title": "Scrivere senza staccare la matita dal foglio", "link": "https://training.olinfo.it/task/oii_matita", "index": 2, "max_score_possible": 100.0}, {"contest_year": 2011, "name": "salta", "title": "Salta il coniglietto", "link": "https://training.olinfo.it/task/oii_salta", "index": 3, "max_score_possible": 100.0}], "medals": {"gold": {"count": 5, "cutoff": 260.0}, "silver": {"count": 11, "cutoff": 200.0}, "bronze": {"count": 21, "cutoff": 115.0}}}
2 changes: 1 addition & 1 deletion data/contests/2012.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"year": 2012, "navigation": {"current": 2012, "previous": 2011, "next": 2013}, "location": {"location": "Garda Village - Sirmione", "gmaps": "https://goo.gl/maps/5iD2NmP9Dv22", "latitude": 45.4653723, "longitude": 10.5943623}, "region": "LOM", "num_contestants": 87, "max_score_possible": 300.0, "max_score": 300.0, "avg_score": 70.05747126436782, "tasks": [{"contest_year": 2012, "name": "fermata", "title": "Entscheidungsproblem", "link": "https://training.olinfo.it/#/task/oii_fermata/statement", "index": 0, "max_score_possible": 100.0}, {"contest_year": 2012, "name": "convoglio", "title": "La battaglia del convoglio", "link": "https://training.olinfo.it/#/task/oii_convoglio/statement", "index": 1, "max_score_possible": 100.0}, {"contest_year": 2012, "name": "fontane", "title": "Allenamento per la maratona", "link": "https://training.olinfo.it/#/task/oii_fontane/statement", "index": 2, "max_score_possible": 100.0}], "medals": {"gold": {"count": 6, "cutoff": 206.0}, "silver": {"count": 12, "cutoff": 129.0}, "bronze": {"count": 23, "cutoff": 69.0}}}
{"year": 2012, "navigation": {"current": 2012, "previous": 2011, "next": 2013}, "location": {"location": "Garda Village - Sirmione", "gmaps": "https://goo.gl/maps/5iD2NmP9Dv22", "latitude": 45.4653723, "longitude": 10.5943623}, "region": "LOM", "num_contestants": 87, "max_score_possible": 300.0, "max_score": 300.0, "avg_score": 70.05747126436782, "tasks": [{"contest_year": 2012, "name": "fermata", "title": "Entscheidungsproblem", "link": "https://training.olinfo.it/task/oii_fermata", "index": 0, "max_score_possible": 100.0}, {"contest_year": 2012, "name": "convoglio", "title": "La battaglia del convoglio", "link": "https://training.olinfo.it/task/oii_convoglio", "index": 1, "max_score_possible": 100.0}, {"contest_year": 2012, "name": "fontane", "title": "Allenamento per la maratona", "link": "https://training.olinfo.it/task/oii_fontane", "index": 2, "max_score_possible": 100.0}], "medals": {"gold": {"count": 6, "cutoff": 206.0}, "silver": {"count": 12, "cutoff": 129.0}, "bronze": {"count": 23, "cutoff": 69.0}}}
2 changes: 1 addition & 1 deletion data/contests/2013.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"year": 2013, "navigation": {"current": 2013, "previous": 2012, "next": 2014}, "location": {"location": "Dipartimento di Studi e Ricerche Aziendali - Management ed Information Technology - Campus di Fisciano - Salerno", "gmaps": "https://goo.gl/maps/yzZpDbTG6nm", "latitude": 40.7714591, "longitude": 14.7898879}, "region": "CAM", "num_contestants": 87, "max_score_possible": 300.0, "max_score": 292.0, "avg_score": 74.32183908045977, "tasks": [{"contest_year": 2013, "name": "bufale", "title": "Mozzarelle di bufala", "link": "https://training.olinfo.it/#/task/oii_bufale/statement", "index": 0, "max_score_possible": 100.0}, {"contest_year": 2013, "name": "spiedini", "title": "Spiedini di frutta", "link": "https://training.olinfo.it/#/task/oii_spiedini/statement", "index": 1, "max_score_possible": 100.0}, {"contest_year": 2013, "name": "maree", "title": "Maree a Venezia", "link": "https://training.olinfo.it/#/task/oii_maree/statement", "index": 2, "max_score_possible": 100.0}], "medals": {"gold": {"count": 5, "cutoff": 208.0}, "silver": {"count": 14, "cutoff": 139.0}, "bronze": {"count": 17, "cutoff": 59.0}}}
{"year": 2013, "navigation": {"current": 2013, "previous": 2012, "next": 2014}, "location": {"location": "Dipartimento di Studi e Ricerche Aziendali - Management ed Information Technology - Campus di Fisciano - Salerno", "gmaps": "https://goo.gl/maps/yzZpDbTG6nm", "latitude": 40.7714591, "longitude": 14.7898879}, "region": "CAM", "num_contestants": 87, "max_score_possible": 300.0, "max_score": 292.0, "avg_score": 74.32183908045977, "tasks": [{"contest_year": 2013, "name": "bufale", "title": "Mozzarelle di bufala", "link": "https://training.olinfo.it/task/oii_bufale", "index": 0, "max_score_possible": 100.0}, {"contest_year": 2013, "name": "spiedini", "title": "Spiedini di frutta", "link": "https://training.olinfo.it/task/oii_spiedini", "index": 1, "max_score_possible": 100.0}, {"contest_year": 2013, "name": "maree", "title": "Maree a Venezia", "link": "https://training.olinfo.it/task/oii_maree", "index": 2, "max_score_possible": 100.0}], "medals": {"gold": {"count": 5, "cutoff": 208.0}, "silver": {"count": 14, "cutoff": 139.0}, "bronze": {"count": 17, "cutoff": 59.0}}}
Loading

0 comments on commit eba4bf8

Please sign in to comment.