tiginamaria commited on
Commit
1b2fa29
1 Parent(s): 0548807

Update src/leaderboard_formatting.py

Browse files
Files changed (1) hide show
  1. src/leaderboard_formatting.py +2 -2
src/leaderboard_formatting.py CHANGED
@@ -81,7 +81,7 @@ def get_columns_per_task(task_id: str) -> List[str]:
81
  if task_id == 'project_code_completion':
82
  return ["Model Name", "Context Size", "Dataset Name", "Dataset"] + metrics_per_task + ["Availability", "Submitted By", "Resources"]
83
  if task_id == 'bug_localization':
84
- return ["Model Name", "Availability", "Context Size", "Dataset"] + metrics_per_task + ["Submitted By", "Resources"]
85
 
86
  if task_id == 'module_summarization':
87
  return ["Model Name", "Context Size"] + metrics_per_task + ["Submitted By", "Resources"]
@@ -100,7 +100,7 @@ def get_types_per_task(task_id: str) -> List[str]:
100
  if task_id == 'project_code_completion':
101
  return ["html", "markdown", "markdown", "html"] + ["number" for _ in metrics_per_task] + ["markdown", "markdown", "html"]
102
  if task_id == 'bug_localization':
103
- return ["html", "markdown", "markdown", "html"] + ["number" for _ in metrics_per_task] + ["markdown", "html"]
104
  if task_id == 'ci_builds_repair':
105
  return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "markdown", "html"]
106
  return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "html"]
 
81
  if task_id == 'project_code_completion':
82
  return ["Model Name", "Context Size", "Dataset Name", "Dataset"] + metrics_per_task + ["Availability", "Submitted By", "Resources"]
83
  if task_id == 'bug_localization':
84
+ return ["Model Name", "Availability", "Context Size"] + metrics_per_task + ["Submitted By", "Resources"]
85
 
86
  if task_id == 'module_summarization':
87
  return ["Model Name", "Context Size"] + metrics_per_task + ["Submitted By", "Resources"]
 
100
  if task_id == 'project_code_completion':
101
  return ["html", "markdown", "markdown", "html"] + ["number" for _ in metrics_per_task] + ["markdown", "markdown", "html"]
102
  if task_id == 'bug_localization':
103
+ return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "html"]
104
  if task_id == 'ci_builds_repair':
105
  return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "markdown", "html"]
106
  return ["html", "markdown", "markdown"] + ["number" for _ in metrics_per_task] + ["markdown", "html"]