Skip to content

Commit

Permalink
Remove sequential performance from the incremental track results. (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjonas authored Aug 8, 2024
1 parent b433fcb commit dab65d4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 19 deletions.
21 changes: 10 additions & 11 deletions web/themes/smtcomp/layouts/_default/result.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,24 @@ <h1>{{ .Params.division }} ({{ $prettyTrack }})</h1>
</ul>
{{ end }}

{{ $categories := slice "sequential" "parallel" "sat" "unsat" "twentyfour" }}
{{ $winner_categories := slice "winner_seq" "winner_par" "winner_sat" "winner_unsat" "winner_24s" }}

{{ if eq $.Params.track "track_incremental" }}
{{ $winner_categories = slice "winner_par" "winner_sat" "winner_unsat" "winner_24s" }}
{{ $categories = slice "parallel" "sat" "unsat" "twentyfour" }}
{{ end }}

{{ $winner_category_names := .Site.Data.pretty_names.winner_performance }}
{{ $category_names := .Site.Data.pretty_names.performance }}

<h3>Winners</h3>
<table>
<thead>
<tr>
{{ range $cat := $winner_categories }}
{{ if isset $.Params $cat }}
<th class="center">{{$cat}}</th>
<th class="center">{{index $winner_category_names $cat}}</th>
{{ end }}
{{ end }}
</tr>
Expand All @@ -57,16 +66,6 @@ <h3>Winners</h3>
</tr>
</table>

{{ $categories := slice "sequential" "parallel" "sat" "unsat" "twentyfour" }}

{{ $category_names := dict
"sequential" "Sequential"
"parallel" "Parallel"
"sat" "SAT"
"unsat" "UNSAT"
"twentyfour" "24 seconds"
}}

{{ range $cat := $categories }}
{{ with index $.Params $cat }}
<h3>{{ index $category_names $cat }} Performance</h3>
Expand Down
11 changes: 8 additions & 3 deletions web/themes/smtcomp/layouts/_default/result_comp.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@ <h1>Largest Contribution Ranking - {{ $prettyTrack }}</h2>
Page generated on {{ .Params.resultdate }}
</p>

{{ $categories := slice "sequential" "parallel" "sat" "unsat" "twentyfour" }}
{{ $winner_categories := slice "winner_seq" "winner_par" "winner_sat" "winner_unsat" "winner_24s" }}

{{ if eq $.Params.track "track_incremental" }}
{{ $winner_categories = slice "winner_par" "winner_sat" "winner_unsat" "winner_24s" }}
{{ $categories = slice "parallel" "sat" "unsat" "twentyfour" }}
{{ end }}

{{ $winner_category_names := .Site.Data.pretty_names.winner_performance }}
{{ $category_names := .Site.Data.pretty_names.performance }}

<h3>Winners</h3>
<table>
Expand Down Expand Up @@ -42,9 +50,6 @@ <h3>Winners</h3>
</tr>
</table>

{{ $categories := slice "sequential" "parallel" "sat" "unsat" "twentyfour" }}

{{ $category_names := .Site.Data.pretty_names.performance }}

{{ range $cat := $categories }}
{{ with index $.Params $cat }}
Expand Down
19 changes: 14 additions & 5 deletions web/themes/smtcomp/layouts/_default/results_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,20 @@

{{ $categories := slice "sequential" "parallel" "sat" "unsat" "twentyfour" }}
{{ $winner_categories := dict
"sequential" "winner_seq"
"parallel" "winner_par"
"sat" "winner_sat"
"unsat" "winner_unsat"
"twentyfour" "winner_24s" }}
"sequential" "winner_seq"
"parallel" "winner_par"
"sat" "winner_sat"
"unsat" "winner_unsat"
"twentyfour" "winner_24s" }}

{{ if eq $.Params.track "track_incremental" }}
{{ $categories = slice "parallel" "sat" "unsat" "twentyfour" }}
{{ $winner_categories := dict
"parallel" "winner_par"
"sat" "winner_sat"
"unsat" "winner_unsat"
"twentyfour" "winner_24s" }}
{{ end }}

{{ $categories_pretty := .Site.Data.pretty_names.performance }}

Expand Down

0 comments on commit dab65d4

Please sign in to comment.