maybehelloworld commited on
Commit
d592d57
·
verified ·
1 Parent(s): 59be5a1

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -2
index.html CHANGED
@@ -43,7 +43,7 @@
43
  dataPath: "./results.yaml",
44
  modelColumnLabel: "model",
45
  taskGroups: [],
46
- defaultSort: { key: "model", direction: "asc" },
47
  maxFractionDigits: 4
48
  };
49
 
@@ -641,7 +641,9 @@
641
  state.taskGroups = normalizedData.taskGroups;
642
 
643
  if (!getColumnDefinition(state.sort.key)) {
644
- state.sort = { key: "model", direction: "asc" };
 
 
645
  }
646
 
647
  buildTableHead();
 
43
  dataPath: "./results.yaml",
44
  modelColumnLabel: "model",
45
  taskGroups: [],
46
+ defaultSort: { key: "Exogenous Context Discrimination::All", direction: "desc" },
47
  maxFractionDigits: 4
48
  };
49
 
 
641
  state.taskGroups = normalizedData.taskGroups;
642
 
643
  if (!getColumnDefinition(state.sort.key)) {
644
+ state.sort = getColumnDefinition(TABLE_CONFIG.defaultSort.key)
645
+ ? { ...TABLE_CONFIG.defaultSort }
646
+ : { key: "model", direction: "asc" };
647
  }
648
 
649
  buildTableHead();