galtimur commited on
Commit
42e302a
·
1 Parent(s): 5a08107

Added Pass/golden column

Browse files
Files changed (1) hide show
  1. src/leaderboard_formatting.py +2 -2
src/leaderboard_formatting.py CHANGED
@@ -91,7 +91,7 @@ def get_columns_per_task(task_id: str) -> List[str]:
91
  return ["Model Name", "Context"] + metrics_per_task + ["Availability", "Submitted By", "Resources"]
92
 
93
  if task_id == 'ci_builds_repair':
94
- return ["Model Name", "Context Size", "Task type"] + metrics_per_task + ["Availability", "Submitted By", "Resources"]
95
 
96
  return ["Model Name", "Context Size", "Availability"] + metrics_per_task + ["Submitted By", "Resources"]
97
 
@@ -103,5 +103,5 @@ def get_types_per_task(task_id: str) -> List[str]:
103
  if task_id == 'bug_localization':
104
  return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "html"]
105
  if task_id == 'ci_builds_repair':
106
- return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "markdown", "html"]
107
  return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "html"]
 
91
  return ["Model Name", "Context"] + metrics_per_task + ["Availability", "Submitted By", "Resources"]
92
 
93
  if task_id == 'ci_builds_repair':
94
+ return ["Model Name", "Context Size", "Task type"] + metrics_per_task + ["Pass/golden", "Availability", "Submitted By", "Resources"]
95
 
96
  return ["Model Name", "Context Size", "Availability"] + metrics_per_task + ["Submitted By", "Resources"]
97
 
 
103
  if task_id == 'bug_localization':
104
  return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "html"]
105
  if task_id == 'ci_builds_repair':
106
+ return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "markdown", "markdown", "html"]
107
  return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "html"]