Skip to content

Commit e7e731a

Browse files
author
Martin Jonáš
committed
feat: Hide irrelevant columns for each track.
1 parent a800be8 commit e7e731a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

web/themes/smtcomp/layouts/_default/result.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,12 @@ <h3>{{ index $category_names $cat }} Performance</h3>
9292
<th class="center">Wall Time Score</th>
9393

9494
<th class="center">Solved</th>
95-
<th class="center">Solved SAT</th>
96-
<th class="center">Solved UNSAT</th>
95+
{{ if in (slice "track_single_query" "track_model_validation" "track_parallel") $.Params.track }}
96+
<th class="center">Solved SAT</th>
97+
{{ end }}
98+
{{ if in (slice "track_single_query" "track_unsat_core" "track_parallel") $.Params.track }}
99+
<th class="center">Solved UNSAT</th>
100+
{{ end }}
97101
<th class="center">Unsolved</th>
98102
<th class="center">Abstained</th>
99103
<th class="center">Timeout</th>
@@ -131,8 +135,12 @@ <h3>{{ index $category_names $cat }} Performance</h3>
131135
<td class="right" {{ if eq $solver.competing "no" }}style="color:grey" {{ end }}>{{ $solver.WallScore }}</td>
132136

133137
<td class="right"{{ if eq $solver.competing "no" }}style="color:grey" {{ end }} >{{ $solver.solved }}</td>
138+
{{ if in (slice "track_single_query" "track_model_validation" "track_parallel") $.Params.track }}
134139
<td class="right"{{ if eq $solver.competing "no" }}style="color:grey" {{ end }} >{{ $solver.solved_sat }}</td>
140+
{{ end }}
141+
{{ if in (slice "track_single_query" "track_unsat_core" "track_parallel") $.Params.track }}
135142
<td class="right" {{ if eq $solver.competing "no" }}style="color:grey" {{ end }}>{{ $solver.solved_unsat }}</td>
143+
{{ end }}
136144
<td class="right" {{ if eq $solver.competing "no" }}style="color:grey" {{ end }}>{{ $solver.unsolved }}</td>
137145
<td class="right" {{ if eq $solver.competing "no" }}style="color:grey" {{ end }}>{{ $solver.abstained }}</td>
138146

0 commit comments

Comments
 (0)