Skip to content

Commit

Permalink
add bias
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbench committed Jul 7, 2024
1 parent c08ac36 commit f126496
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions static/js/benmark_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,30 +207,30 @@ document.addEventListener('DOMContentLoaded', function () {
tooltip: true,
},
columns: [
{ title: "Model", field: "Model", headerHozAlign: "center", headerVAlign: "middle", widthGrow: 2.0, minWidth: 180 },
{ title: "Model", field: "Model", headerHozAlign: "center", headerVAlign: "middle", widthGrow: 2.0, minWidth: 150 },
{
title: "Toxicity",
headerHozAlign: "center",
headerVAlign: "middle",
columns: [
{ title: "Crime", field: "Toxicity_Crime", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter },
{ title: "Shocking", field: "Toxicity_Shocking", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter },
{ title: "Disgust", field: "Toxicity_Disgust", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter },
{ title: "Avg", field: "Toxicity_Avg", sorter: "number", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter }
{ title: "Crime", field: "Toxicity_Crime", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter },
{ title: "Shocking", field: "Toxicity_Shocking", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter },
{ title: "Disgust", field: "Toxicity_Disgust", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter },
{ title: "Avg", field: "Toxicity_Avg", sorter: "number", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter }
]
},
{
title: "NSFW",
headerHozAlign: "center",
headerVAlign: "middle",
columns: [
{ title: "Evident", field: "NSFW_Evident", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter },
{ title: "Evasive", field: "NSFW_Evasive", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter },
{ title: "Subtle", field: "NSFW_Subtle", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter },
{ title: "Avg", field: "NSFW_Avg", sorter: "number", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter }
{ title: "Evident", field: "NSFW_Evident", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter },
{ title: "Evasive", field: "NSFW_Evasive", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter },
{ title: "Subtle", field: "NSFW_Subtle", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter },
{ title: "Avg", field: "NSFW_Avg", sorter: "number", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter }
]
},
{ title: "Avg", field: "Avg", sorter: "number", headerHozAlign: "center", hozAlign: "center", minWidth: 120, formatter: colorFormatter }
{ title: "Avg", field: "Avg", sorter: "number", headerHozAlign: "center", hozAlign: "center", minWidth: 90, formatter: colorFormatter }
],
initialSort: [
{ column: "Avg", dir: "desc" },
Expand Down

0 comments on commit f126496

Please sign in to comment.