Skip to content

Commit

Permalink
Merge pull request #3 from rleyton/process-team-points
Browse files Browse the repository at this point in the history
Kilbarchan + Process team points
  • Loading branch information
rleyton authored Feb 4, 2023
2 parents f427c1f + e132cbb commit 9a64334
Show file tree
Hide file tree
Showing 20 changed files with 642 additions and 416 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ keys/**
__pycache__/
*.py[cod]
*$py.class
*.bkup

# C extensions
*.so
Expand Down
9 changes: 9 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "sheets-to-csv",
"type": "python",
Expand All @@ -27,6 +28,14 @@
"program": "tools/process-results.py",
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "team-results",
"type": "python",
"request": "launch",
"program": "tools/team-results.py",
"console": "integratedTerminal",
"justMyCode": true
}
]
}
6 changes: 6 additions & 0 deletions data/2022-23/2/club-parsed/34.U15_Combined.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
,names,gender
0,Rhuridh Miller,m
1,Lauren,f
2,Fraser McKillop,m
3,Lucas Watt,m
4,Alex Massie,m
104 changes: 52 additions & 52 deletions results/provisional/2022-23/1/html/index.html
Original file line number Diff line number Diff line change
@@ -1,112 +1,112 @@
<style type="text/css">
</style>
<table id="T_6a47f">
<table id="T_3bf13">
<thead>
<tr>
<th class="blank level0" >&nbsp;</th>
<th id="T_6a47f_level0_col0" class="col_heading level0 col0" >resultsPage</th>
<th id="T_3bf13_level0_col0" class="col_heading level0 col0" >resultsPage</th>
</tr>
</thead>
<tbody>
<tr>
<th id="T_6a47f_level0_row0" class="row_heading level0 row0" >0</th>
<td id="T_6a47f_row0_col0" class="data row0 col0" ><a target="_blank" href="U11_Boys.U11.male.team.results.html">U11_Boys.U11.male.team.results.html</a></td>
<th id="T_3bf13_level0_row0" class="row_heading level0 row0" >0</th>
<td id="T_3bf13_row0_col0" class="data row0 col0" ><a target="_blank" href="U11_Boys.U11.male.team.results.html">U11_Boys.U11.male.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row1" class="row_heading level0 row1" >1</th>
<td id="T_6a47f_row1_col0" class="data row1 col0" ><a target="_blank" href="U11_Boys.results.html">U11_Boys.results.html</a></td>
<th id="T_3bf13_level0_row1" class="row_heading level0 row1" >1</th>
<td id="T_3bf13_row1_col0" class="data row1 col0" ><a target="_blank" href="U11_Boys.results.html">U11_Boys.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row2" class="row_heading level0 row2" >2</th>
<td id="T_6a47f_row2_col0" class="data row2 col0" ><a target="_blank" href="U11_Girls.U11.female.team.results.html">U11_Girls.U11.female.team.results.html</a></td>
<th id="T_3bf13_level0_row2" class="row_heading level0 row2" >2</th>
<td id="T_3bf13_row2_col0" class="data row2 col0" ><a target="_blank" href="U11_Girls.U11.female.team.results.html">U11_Girls.U11.female.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row3" class="row_heading level0 row3" >3</th>
<td id="T_6a47f_row3_col0" class="data row3 col0" ><a target="_blank" href="U11_Girls.results.html">U11_Girls.results.html</a></td>
<th id="T_3bf13_level0_row3" class="row_heading level0 row3" >3</th>
<td id="T_3bf13_row3_col0" class="data row3 col0" ><a target="_blank" href="U11_Girls.results.html">U11_Girls.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row4" class="row_heading level0 row4" >4</th>
<td id="T_6a47f_row4_col0" class="data row4 col0" ><a target="_blank" href="U13_Boys.U13.male.team.results.html">U13_Boys.U13.male.team.results.html</a></td>
<th id="T_3bf13_level0_row4" class="row_heading level0 row4" >4</th>
<td id="T_3bf13_row4_col0" class="data row4 col0" ><a target="_blank" href="U13_Boys.U13.male.team.results.html">U13_Boys.U13.male.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row5" class="row_heading level0 row5" >5</th>
<td id="T_6a47f_row5_col0" class="data row5 col0" ><a target="_blank" href="U13_Boys.results.html">U13_Boys.results.html</a></td>
<th id="T_3bf13_level0_row5" class="row_heading level0 row5" >5</th>
<td id="T_3bf13_row5_col0" class="data row5 col0" ><a target="_blank" href="U13_Boys.results.html">U13_Boys.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row6" class="row_heading level0 row6" >6</th>
<td id="T_6a47f_row6_col0" class="data row6 col0" ><a target="_blank" href="U13_Girls.U13.female.team.results.html">U13_Girls.U13.female.team.results.html</a></td>
<th id="T_3bf13_level0_row6" class="row_heading level0 row6" >6</th>
<td id="T_3bf13_row6_col0" class="data row6 col0" ><a target="_blank" href="U13_Girls.U13.female.team.results.html">U13_Girls.U13.female.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row7" class="row_heading level0 row7" >7</th>
<td id="T_6a47f_row7_col0" class="data row7 col0" ><a target="_blank" href="U13_Girls.results.html">U13_Girls.results.html</a></td>
<th id="T_3bf13_level0_row7" class="row_heading level0 row7" >7</th>
<td id="T_3bf13_row7_col0" class="data row7 col0" ><a target="_blank" href="U13_Girls.results.html">U13_Girls.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row8" class="row_heading level0 row8" >8</th>
<td id="T_6a47f_row8_col0" class="data row8 col0" ><a target="_blank" href="U15_Combined.U15.female.team.results.html">U15_Combined.U15.female.team.results.html</a></td>
<th id="T_3bf13_level0_row8" class="row_heading level0 row8" >8</th>
<td id="T_3bf13_row8_col0" class="data row8 col0" ><a target="_blank" href="U15_Combined.U15.female.team.results.html">U15_Combined.U15.female.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row9" class="row_heading level0 row9" >9</th>
<td id="T_6a47f_row9_col0" class="data row9 col0" ><a target="_blank" href="U15_Combined.U15.male.team.results.html">U15_Combined.U15.male.team.results.html</a></td>
<th id="T_3bf13_level0_row9" class="row_heading level0 row9" >9</th>
<td id="T_3bf13_row9_col0" class="data row9 col0" ><a target="_blank" href="U15_Combined.U15.male.team.results.html">U15_Combined.U15.male.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row10" class="row_heading level0 row10" >10</th>
<td id="T_6a47f_row10_col0" class="data row10 col0" ><a target="_blank" href="U15_Combined.results.html">U15_Combined.results.html</a></td>
<th id="T_3bf13_level0_row10" class="row_heading level0 row10" >10</th>
<td id="T_3bf13_row10_col0" class="data row10 col0" ><a target="_blank" href="U15_Combined.results.html">U15_Combined.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row11" class="row_heading level0 row11" >11</th>
<td id="T_6a47f_row11_col0" class="data row11 col0" ><a target="_blank" href="U17_Combined.U17.female.team.results.html">U17_Combined.U17.female.team.results.html</a></td>
<th id="T_3bf13_level0_row11" class="row_heading level0 row11" >11</th>
<td id="T_3bf13_row11_col0" class="data row11 col0" ><a target="_blank" href="U17_Combined.U17.female.team.results.html">U17_Combined.U17.female.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row12" class="row_heading level0 row12" >12</th>
<td id="T_6a47f_row12_col0" class="data row12 col0" ><a target="_blank" href="U17_Combined.U17.male.team.results.html">U17_Combined.U17.male.team.results.html</a></td>
<th id="T_3bf13_level0_row12" class="row_heading level0 row12" >12</th>
<td id="T_3bf13_row12_col0" class="data row12 col0" ><a target="_blank" href="U17_Combined.U17.male.team.results.html">U17_Combined.U17.male.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row13" class="row_heading level0 row13" >13</th>
<td id="T_6a47f_row13_col0" class="data row13 col0" ><a target="_blank" href="U17_Combined.results.html">U17_Combined.results.html</a></td>
<th id="T_3bf13_level0_row13" class="row_heading level0 row13" >13</th>
<td id="T_3bf13_row13_col0" class="data row13 col0" ><a target="_blank" href="U17_Combined.results.html">U17_Combined.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row14" class="row_heading level0 row14" >14</th>
<td id="T_6a47f_row14_col0" class="data row14 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.MASTER.female.team.results.html">U20-Senior-Masters_Combined.MASTER.female.team.results.html</a></td>
<th id="T_3bf13_level0_row14" class="row_heading level0 row14" >14</th>
<td id="T_3bf13_row14_col0" class="data row14 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.MASTER.female.team.results.html">U20-Senior-Masters_Combined.MASTER.female.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row15" class="row_heading level0 row15" >15</th>
<td id="T_6a47f_row15_col0" class="data row15 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.MASTER.male.team.results.html">U20-Senior-Masters_Combined.MASTER.male.team.results.html</a></td>
<th id="T_3bf13_level0_row15" class="row_heading level0 row15" >15</th>
<td id="T_3bf13_row15_col0" class="data row15 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.MASTER.male.team.results.html">U20-Senior-Masters_Combined.MASTER.male.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row16" class="row_heading level0 row16" >16</th>
<td id="T_6a47f_row16_col0" class="data row16 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.OVERALL.female.team.results.html">U20-Senior-Masters_Combined.OVERALL.female.team.results.html</a></td>
<th id="T_3bf13_level0_row16" class="row_heading level0 row16" >16</th>
<td id="T_3bf13_row16_col0" class="data row16 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.OVERALL.female.team.results.html">U20-Senior-Masters_Combined.OVERALL.female.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row17" class="row_heading level0 row17" >17</th>
<td id="T_6a47f_row17_col0" class="data row17 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.OVERALL.male.team.results.html">U20-Senior-Masters_Combined.OVERALL.male.team.results.html</a></td>
<th id="T_3bf13_level0_row17" class="row_heading level0 row17" >17</th>
<td id="T_3bf13_row17_col0" class="data row17 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.OVERALL.male.team.results.html">U20-Senior-Masters_Combined.OVERALL.male.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row18" class="row_heading level0 row18" >18</th>
<td id="T_6a47f_row18_col0" class="data row18 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.SENIOR.female.team.results.html">U20-Senior-Masters_Combined.SENIOR.female.team.results.html</a></td>
<th id="T_3bf13_level0_row18" class="row_heading level0 row18" >18</th>
<td id="T_3bf13_row18_col0" class="data row18 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.SENIOR.female.team.results.html">U20-Senior-Masters_Combined.SENIOR.female.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row19" class="row_heading level0 row19" >19</th>
<td id="T_6a47f_row19_col0" class="data row19 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.SENIOR.male.team.results.html">U20-Senior-Masters_Combined.SENIOR.male.team.results.html</a></td>
<th id="T_3bf13_level0_row19" class="row_heading level0 row19" >19</th>
<td id="T_3bf13_row19_col0" class="data row19 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.SENIOR.male.team.results.html">U20-Senior-Masters_Combined.SENIOR.male.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row20" class="row_heading level0 row20" >20</th>
<td id="T_6a47f_row20_col0" class="data row20 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.U20.female.team.results.html">U20-Senior-Masters_Combined.U20.female.team.results.html</a></td>
<th id="T_3bf13_level0_row20" class="row_heading level0 row20" >20</th>
<td id="T_3bf13_row20_col0" class="data row20 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.U20.female.team.results.html">U20-Senior-Masters_Combined.U20.female.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row21" class="row_heading level0 row21" >21</th>
<td id="T_6a47f_row21_col0" class="data row21 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.U20.male.team.results.html">U20-Senior-Masters_Combined.U20.male.team.results.html</a></td>
<th id="T_3bf13_level0_row21" class="row_heading level0 row21" >21</th>
<td id="T_3bf13_row21_col0" class="data row21 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.U20.male.team.results.html">U20-Senior-Masters_Combined.U20.male.team.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row22" class="row_heading level0 row22" >22</th>
<td id="T_6a47f_row22_col0" class="data row22 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.results.html">U20-Senior-Masters_Combined.results.html</a></td>
<th id="T_3bf13_level0_row22" class="row_heading level0 row22" >22</th>
<td id="T_3bf13_row22_col0" class="data row22 col0" ><a target="_blank" href="U20-Senior-Masters_Combined.results.html">U20-Senior-Masters_Combined.results.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row23" class="row_heading level0 row23" >23</th>
<td id="T_6a47f_row23_col0" class="data row23 col0" ><a target="_blank" href="missingTeamSubmissions.html">missingTeamSubmissions.html</a></td>
<th id="T_3bf13_level0_row23" class="row_heading level0 row23" >23</th>
<td id="T_3bf13_row23_col0" class="data row23 col0" ><a target="_blank" href="missingTeamSubmissions.html">missingTeamSubmissions.html</a></td>
</tr>
<tr>
<th id="T_6a47f_level0_row24" class="row_heading level0 row24" >24</th>
<td id="T_6a47f_row24_col0" class="data row24 col0" ><a target="_blank" href="volunteers.html">volunteers.html</a></td>
<th id="T_3bf13_level0_row24" class="row_heading level0 row24" >24</th>
<td id="T_3bf13_row24_col0" class="data row24 col0" ><a target="_blank" href="volunteers.html">volunteers.html</a></td>
</tr>
</tbody>
</table>
101 changes: 101 additions & 0 deletions results/provisional/2022-23/1/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"races": {
"U13": {
"M": {
"penalty": 38,
"participants": 28,
"counters": 3
},
"F": {
"penalty": 62,
"participants": 52,
"counters": 3
}
},
"U11": {
"M": {
"penalty": 49,
"participants": 39,
"counters": 3
},
"F": {
"penalty": 68,
"participants": 58,
"counters": 3
}
},
"U15": {
"M": {
"penalty": 42,
"participants": 32,
"counters": 3
},
"F": {
"penalty": 40,
"participants": 30,
"counters": 3
}
},
"U17": {
"M": {
"penalty": 27,
"participants": 17,
"counters": 3
},
"F": {
"penalty": 27,
"participants": 17,
"counters": 3
}
},
"U20": {
"M": {
"penalty": 12,
"participants": 2,
"counters": 3
},
"F": {
"penalty": 12,
"participants": 2,
"counters": 3
}
},
"SENIOR": {
"M": {
"penalty": 67,
"participants": 57,
"counters": 4
},
"F": {
"penalty": 29,
"participants": 19,
"counters": 4
}
},
"MASTER": {
"M": {
"penalty": 70,
"participants": 60,
"counters": 3
},
"F": {
"penalty": 31,
"participants": 21,
"counters": 3
}
},
"OVERALL": {
"M": {
"penalty": 129,
"participants": 119,
"counters": 4
},
"F": {
"penalty": 52,
"participants": 42,
"counters": 4
}
}
},
"attendance": 434
}
Binary file removed results/provisional/2022-23/2/.DS_Store
Binary file not shown.
10 changes: 5 additions & 5 deletions results/provisional/2022-23/2/U15_Combined.results.csv
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ position,times,team,Name,gender,AgeCat,clubnumber,Club name,Website
12,0:14:08,1M,BEN BAILLIE,M,U15,1,East Kilbride AC,http://www.ekac.org.uk/
13,0:14:13,14M,Gregor Samson,M,U15,14,Ayr Seaforth AC,https://www.ayrseaforth.co.uk/
14,0:14:28,2M,Lewis Anderson,M,U15,2,Kilmarnock H&AC,http://www.kilmarnockharriers.com/
15,0:14:36,34M,,M,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
15,0:14:36,34M,Rhuridh Miller,M,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
16,0:14:42,6M,Euan Reid,M,U15,6,Cambuslang Harriers,https://cambuslangharriers.org/
17,0:14:48,10F,Katie Woods,F,U15,10,Shettleston Harriers,http://shettlestonharriers.org.uk/
18,0:14:57,7M,Dillon Sim,M,U15,7,Giffnock North AC,https://www.giffnocknorth.co.uk/
19,0:15:24,1M,EUAN THORPE,M,U15,1,East Kilbride AC,http://www.ekac.org.uk/
20,0:15:40,37M,Daniel Simpson,M,U15,37,Law & District AAC,http://www.lawaac.co.uk/
21,0:15:43,34F,,F,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
21,0:15:43,34F,Lauren,F,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
22,0:15:46,11M,Murryn Burns,M,U15,11,Airdrie Harriers,http://airdrieharriers.org/
23,0:15:54,14F,Marnie Harrower,F,U15,14,Ayr Seaforth AC,https://www.ayrseaforth.co.uk/
24,0:15:59,34M,,M,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
24,0:15:59,34M,Fraser McKillop,M,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
25,0:16:00,36M,AARON SCOTT,M,U15,36,Larkhall YMCA,https://www.facebook.com/larkhallharriers/
26,0:16:01,1F,EVA MORRISON,F,U15,1,East Kilbride AC,http://www.ekac.org.uk/
27,0:16:14,7F,Isla Munro,F,U15,7,Giffnock North AC,https://www.giffnocknorth.co.uk/
Expand All @@ -35,8 +35,8 @@ position,times,team,Name,gender,AgeCat,clubnumber,Club name,Website
34,0:17:21,1F,CARRIE CHARTERS,F,U15,1,East Kilbride AC,http://www.ekac.org.uk/
35,0:17:54,1M,CHRISTOPHER PATON,M,U15,1,East Kilbride AC,http://www.ekac.org.uk/
36,0:17:59,10F,Katie Burns,F,U15,10,Shettleston Harriers,http://shettlestonharriers.org.uk/
37,0:18:03,34M,,M,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
38,0:18:35,34M,,M,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
37,0:18:03,34M,Lucas Watt,M,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
38,0:18:35,34M,Alex Massie,M,U15,34,Kilbarchan AAC,https://kilbarchanaac.org.uk/
39,0:19:29,2F,Charlotte Gebbie,F,U15,2,Kilmarnock H&AC,http://www.kilmarnockharriers.com/
40,0:19:32,2F,Isla Fitzgerald,F,U15,2,Kilmarnock H&AC,http://www.kilmarnockharriers.com/
41,0:20:15,7F,Lexie Martin,F,U15,7,Giffnock North AC,https://www.giffnocknorth.co.uk/
Expand Down
Loading

0 comments on commit 9a64334

Please sign in to comment.