-
+
{% for harm_score in benchmark_score.harm_scores %}
-
+
{{ harm_score.harm_definition().name() }}
-
+
{{ harm_score.stars() | display_stars("sm") }}
-
{{ stars_description[harm_score.stars() | round | int]["rank"] }}
+
{{ stars_description[harm_score.stars() | round | int]["rank"] }}
{{ stars_description[harm_score.stars() | round | int]["explanation"] }}
@@ -37,4 +37,4 @@
{{ stars_description[benchmark_score.stars() | round | int]["ra
{% endfor %}
-
\ No newline at end of file
+
diff --git a/src/coffee/templates/benchmark.html b/src/coffee/templates/benchmark.html
index e11181a5..35b38b41 100644
--- a/src/coffee/templates/benchmark.html
+++ b/src/coffee/templates/benchmark.html
@@ -33,14 +33,14 @@
AI Systems Evaluated
AI System
Overall Safety Rating
-
Explanation
+
Explanation 111
{% for benchmark_score in grouped_benchmark_scores[benchmark_definition] %}
-
+
{{ benchmark_score.sut.name }}
-
+
{{ benchmark_score.stars() | display_stars("sm") }}
@@ -77,4 +77,4 @@
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/src/coffee/templates/static/style.css b/src/coffee/templates/static/style.css
index 738a3d00..c05c7b07 100644
--- a/src/coffee/templates/static/style.css
+++ b/src/coffee/templates/static/style.css
@@ -29,10 +29,16 @@ button, .btn {
}
.star-span-sm {
+ display: flex;
+ justify-content: center;
+ align-items: center;
width: 20px;
}
.star-span-lg {
+ display: flex;
+ justify-content: center;
+ align-items: center;
width: 40px;
}