Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Oct 19, 2023
1 parent 1af42f7 commit e490a95
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 15 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
quality += v * k * 2
quality_denom = sum(d.get('results', {}).get('quality', {}).values())
if quality_denom:
quality = round(quality / quality_denom, 1)
quality = round(quality / quality_denom, 1) / 2

satisfaction = "not reported"
if 'results' in d and 'satisfaction' in d['results']:
Expand All @@ -78,7 +78,7 @@
satisfaction += v * k * 2
satisfaction_denom = sum(d.get('results', {}).get('satisfaction', {}).values())
if satisfaction_denom:
satisfaction = round(satisfaction / satisfaction_denom, 1)
satisfaction = round(satisfaction / satisfaction_denom, 1) / 2

recommendation = "not reported"
if 'results' in d and 'recommendation' in d['results']:
Expand Down
14 changes: 14 additions & 0 deletions events/spanscriptomics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ demographics:
early: 148
late: 0
other: 5
results:
quality:
3: 1
4: 4
5: 14
satisfaction:
1: 1
2: 1
3: 7
4: 10
5: 9
recommendation:
"Maybe": 3
"Yes": 16
country:
ARG: 22
AUS: 1
Expand Down
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h2 class="pb-2 border-bottom">Approval Ratings</h2>
<div class="card card-cover h-100 overflow-hidden text-bg-dark rounded-4 shadow-lg success">
<div class="d-flex flex-column h-100 p-5 pb-3 text-white text-shadow-1">
<div class="display-6 fw-bold">KPI6</div>
<h3 class="pt-1 mt-1 mb-4 display-6 lh-1 fw-bold">8.99 <small>/10</small></h3>
<h3 class="pt-1 mt-1 mb-4 display-6 lh-1 fw-bold">9.00 <small>/10</small></h3>
<div class="pt-1 mt-1 mb-4 display-5 lh-1 fw-bold">100%</div>
<ul class="d-flex list-unstyled mt-auto">
<li class="d-flex align-items-center me-3">
Expand All @@ -160,7 +160,7 @@ <h3 class="pt-1 mt-1 mb-4 display-6 lh-1 fw-bold">8.99 <small>/10</small></h3>
<div class="card card-cover h-100 overflow-hidden text-bg-dark rounded-4 shadow-lg success">
<div class="d-flex flex-column h-100 p-5 pb-3 text-white text-shadow-1">
<div class="display-6 fw-bold">KPI7</div>
<h3 class="pt-1 mt-1 mb-4 display-6 lh-1 fw-bold">9.12 <small>/10</small></h3>
<h3 class="pt-1 mt-1 mb-4 display-6 lh-1 fw-bold">9.06 <small>/10</small></h3>
<div class="pt-1 mt-1 mb-4 display-5 lh-1 fw-bold">101%</div>

<ul class="d-flex list-unstyled mt-auto">
Expand All @@ -176,8 +176,8 @@ <h3 class="pt-1 mt-1 mb-4 display-6 lh-1 fw-bold">9.12 <small>/10</small></h3>
<div class="card card-cover h-100 overflow-hidden text-bg-dark rounded-4 shadow-lg success">
<div class="d-flex flex-column h-100 p-5 pb-3 text-white text-shadow-1">
<div class="display-6 fw-bold">KPI8</div>
<h3 class="pt-1 mt-1 mb-4 display-6 lh-1 fw-bold">9.86 <small>/10</small></h3>
<div class="pt-1 mt-1 mb-4 display-5 lh-1 fw-bold">110%</div>
<h3 class="pt-1 mt-1 mb-4 display-6 lh-1 fw-bold">9.84 <small>/10</small></h3>
<div class="pt-1 mt-1 mb-4 display-5 lh-1 fw-bold">109%</div>
<ul class="d-flex list-unstyled mt-auto">
<li class="d-flex align-items-center me-3">
<small>Average recommendation of material</small>
Expand Down Expand Up @@ -211,12 +211,12 @@ <h2>Events</h2>
<tbody>
<tr><td>Train the Trainers workshop</td><td>2023-06-12 - 2023-06-15</td><td>13</td><td>{'man': 7, 'non-binary': 0, 'decline': 1, 'woman': 5}</td><td>{'early': 1, 'late': 12}</td><td>not reported</td><td>not reported</td><td>not reported</td></tr>
<tr><td>Train the Trainers Pilot workshop</td><td>2022-09-26 - 2022-09-27</td><td>10</td><td>{'man': 8, 'non-binary': 0, 'decline': 0, 'woman': 2}</td><td>{'early': 0, 'late': 0}</td><td>not reported</td><td>not reported</td><td>not reported</td></tr>
<tr><td>Assemblage et annotation @ Roscoff 2021</td><td>2021-12-01 - 2021-12-03</td><td>15</td><td>{'man': 9, 'non-binary': 0, 'decline': 0, 'woman': 6}</td><td>{'early': 5, 'late': 10, 'other': 0}</td><td>9.3</td><td>8.7</td><td>100.0</td></tr>
<tr><td>EBAII Assemblage et annotation @ Roscoff 2022</td><td>2022-09-26 - 2022-09-30</td><td>13</td><td>{'man': 4, 'non-binary': 0, 'decline': 0, 'woman': 9}</td><td>{'early': 6, 'late': 7, 'other': 0}</td><td>8.9</td><td>8.9</td><td>100.0</td></tr>
<tr><td>GTN Smörgåsbord</td><td>2021-02-15 - 2021-02-19</td><td>1189</td><td>{'man': 564, 'non-binary': 4, 'decline': 23, 'woman': 598}</td><td>{'early': 672, 'late': 359, 'other': 67}</td><td>8.9</td><td>9.5</td><td>100.0</td></tr>
<tr><td>Smörgåsbord 2022: Tapas Edition</td><td>2022-03-14 - 2022-03-18</td><td>3082</td><td>{'man': 1467, 'non-binary': 13, 'decline': 54, 'woman': 1548}</td><td>{'other': 234, 'bsc': 198, 'msc': 578, 'phd': 860, 'faculty': 267, 'post-doc': 374, 'researcher': 534, 'early': 1636, 'late': 1175}</td><td>8.9</td><td>9.2</td><td>99.23</td></tr>
<tr><td>Smörgåsbord 3</td><td>2023-05-22 - 2023-05-26</td><td>3321</td><td>{'man': 1621, 'non-binary': 15, 'decline': 63, 'woman': 1622}</td><td>{'other': 287, 'bsc': 256, 'msc': 682, 'phd': 836, 'faculty': 269, 'post-doc': 285, 'researcher': 706, 'early': 1774, 'late': 1260}</td><td>9.1</td><td>8.9</td><td>99.48</td></tr>
<tr><td>Spanscriptomics</td><td>2021-11-29 - 2021-11-30</td><td>153</td><td>{'man': 76, 'non-binary': 0, 'decline': 3, 'woman': 74}</td><td>{'early': 148, 'late': 0, 'other': 5}</td><td>not reported</td><td>not reported</td><td>not reported</td></tr>
<tr><td>Assemblage et annotation @ Roscoff 2021</td><td>2021-12-01 - 2021-12-03</td><td>15</td><td>{'man': 9, 'non-binary': 0, 'decline': 0, 'woman': 6}</td><td>{'early': 5, 'late': 10, 'other': 0}</td><td>4.65</td><td>4.35</td><td>100.0</td></tr>
<tr><td>EBAII Assemblage et annotation @ Roscoff 2022</td><td>2022-09-26 - 2022-09-30</td><td>13</td><td>{'man': 4, 'non-binary': 0, 'decline': 0, 'woman': 9}</td><td>{'early': 6, 'late': 7, 'other': 0}</td><td>4.45</td><td>4.45</td><td>100.0</td></tr>
<tr><td>GTN Smörgåsbord</td><td>2021-02-15 - 2021-02-19</td><td>1189</td><td>{'man': 564, 'non-binary': 4, 'decline': 23, 'woman': 598}</td><td>{'early': 672, 'late': 359, 'other': 67}</td><td>4.45</td><td>4.75</td><td>100.0</td></tr>
<tr><td>Smörgåsbord 2022: Tapas Edition</td><td>2022-03-14 - 2022-03-18</td><td>3082</td><td>{'man': 1467, 'non-binary': 13, 'decline': 54, 'woman': 1548}</td><td>{'other': 234, 'bsc': 198, 'msc': 578, 'phd': 860, 'faculty': 267, 'post-doc': 374, 'researcher': 534, 'early': 1636, 'late': 1175}</td><td>4.45</td><td>4.6</td><td>99.23</td></tr>
<tr><td>Smörgåsbord 3</td><td>2023-05-22 - 2023-05-26</td><td>3321</td><td>{'man': 1621, 'non-binary': 15, 'decline': 63, 'woman': 1622}</td><td>{'other': 287, 'bsc': 256, 'msc': 682, 'phd': 836, 'faculty': 269, 'post-doc': 285, 'researcher': 706, 'early': 1774, 'late': 1260}</td><td>4.55</td><td>4.45</td><td>99.48</td></tr>
<tr><td>Spanscriptomics</td><td>2021-11-29 - 2021-11-30</td><td>153</td><td>{'man': 76, 'non-binary': 0, 'decline': 3, 'woman': 74}</td><td>{'early': 148, 'late': 0, 'other': 5}</td><td>4.7</td><td>3.9</td><td>100.0</td></tr>
</tbody>
</table>

Expand Down
6 changes: 3 additions & 3 deletions kpis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ KPI5:
unit: participants
KPI6:
goal: top 10% in Likert scale
progress: 8.991119005328597
progress: 9.003436426116838
title: Average perception of the quality of training offered
unit: '%'
KPI7:
goal: top 10% in Likert scale
progress: 9.12099644128114
progress: 9.057627118644067
title: Average satisfaction of topic relevance to the needs
unit: '%'
KPI8:
goal: top 10% in Likert scale
progress: 9.856887298747765
progress: 9.84083044982699
title: Average recommendation of material
unit: '%'

0 comments on commit e490a95

Please sign in to comment.