Skip to content

Commit

Permalink
Spring2024 first project
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekToma committed Feb 21, 2024
1 parent 8c9f0dd commit 73ea071
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions notebooks/cranfield.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"outputs": [],
"source": [
"%%capture\n",
"! pip install git+https://github.com/MIR-MU/pv211-utils.git@spring2023"
"! pip install git+https://github.com/MIR-MU/pv211-utils.git@spring2024"
]
},
{
Expand Down Expand Up @@ -303,9 +303,9 @@
"outputs": [],
"source": [
"from pv211_utils.systems import BoWSystem\n",
"from pv211_utils.preprocessing import SimpleDocPreprocessing\n",
"from pv211_utils.preprocessing import NoneDocPreprocessing\n",
"\n",
"preprocessing = SimpleDocPreprocessing()\n",
"preprocessing = NoneDocPreprocessing()\n",
"system = BoWSystem(documents, preprocessing)"
]
},
Expand Down Expand Up @@ -350,7 +350,7 @@
"provenance": []
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -364,11 +364,11 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.10.12"
},
"vscode": {
"interpreter": {
"hash": "4525bb9afa5b11e91ff8883ff1427ebcb57df9afe31e89541862e2caa0e84c72"
"hash": "916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions pv211_utils/cranfield/leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@

class CranfieldLeaderboard(GoogleSpreadsheetLeaderboardBase):
def get_competition_start(self) -> datetime.date:
return datetime.date(2023, 2, 13)
return datetime.date(2024, 2, 19)

def get_competition_end(self) -> datetime.date:
return datetime.date(2023, 3, 13)
return datetime.date(2024, 3, 19)

def _get_key_path(self) -> str:
key_path = pkg_resources.resource_filename('pv211_utils', 'data/pv211-leaderboard-b8e892e3e8bb.json')
return key_path

def _get_spreadsheet_key(self) -> str:
spreadsheet_key = '1kDRTDUCPTOi0crgIO_WqctuvCazTmZ4V_EoVSvb6VQI'
spreadsheet_key = '1K_GnmMTjeacPaUmvjO79abrlqOV8JqvnoxoQICulpAw'
return spreadsheet_key

def get_public_url(self) -> Optional[str]:
return (
'https://docs.google.com/spreadsheets/d/e/'
'2PACX-1vSXuOTclZfHWYxh2rf7hfMeLvcCuE5UsJu7BzteyunhPw3z4YNZjCovjmMB6SnDdgjGyenOgdochaEq/pubhtml'
'2PACX-1vQga_qzgcLp_IcrOt5xZBq4Pq7jjTwmV6JLMRPwkLwG3K3dm2FrcZT-1GhGItFkNyAxwDaOzzFLOIdu/pubhtml'
)

0 comments on commit 73ea071

Please sign in to comment.