dtcxzyw commited on
Commit
3af1f54
·
unverified ·
1 Parent(s): fce7d31
Files changed (2) hide show
  1. app.py +3 -3
  2. src/about.py +1 -2
app.py CHANGED
@@ -58,7 +58,7 @@ def init_leaderboard(dataframe):
58
  search_columns=[AutoEvalColumn.method_name.name, AutoEvalColumn.model_name.name],
59
  hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
60
  filter_columns=[
61
- # ColumnFilter(AutoEvalColumn.with_hint.name, type="checkboxgroup", label="With hint"),
62
  ],
63
  bool_checkboxgroup_label="Hide models",
64
  interactive=False,
@@ -78,11 +78,11 @@ with demo:
78
  gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
79
 
80
  with gr.Row():
81
- with gr.Accordion("📙 Citation", open=True):
82
  citation_button = gr.Textbox(
83
  value=CITATION_BUTTON_TEXT,
84
  label=CITATION_BUTTON_LABEL,
85
- lines=20,
86
  elem_id="citation-button",
87
  show_copy_button=True,
88
  )
 
58
  search_columns=[AutoEvalColumn.method_name.name, AutoEvalColumn.model_name.name],
59
  hide_columns=[c.name for c in fields(AutoEvalColumn) if c.hidden],
60
  filter_columns=[
61
+ ColumnFilter(AutoEvalColumn.with_hint.name, type="boolean", label="With hint"),
62
  ],
63
  bool_checkboxgroup_label="Hide models",
64
  interactive=False,
 
78
  gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
79
 
80
  with gr.Row():
81
+ with gr.Accordion("📙 Citation", open=False):
82
  citation_button = gr.Textbox(
83
  value=CITATION_BUTTON_TEXT,
84
  label=CITATION_BUTTON_LABEL,
85
+ lines=5,
86
  elem_id="citation-button",
87
  show_copy_button=True,
88
  )
src/about.py CHANGED
@@ -24,8 +24,7 @@ Please submit your evaluation results generated by scripts/submit.py to {QUEUE_R
24
  """
25
 
26
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
27
- CITATION_BUTTON_TEXT = r"""
28
- @misc{llvm-apr-benchmark,
29
  title = {LLVM APR Benchmark: A Large-Scale Automated Program Repair Benchmark of Real-World LLVM Middle-End Bugs},
30
  url = {https://github.com/dtcxzyw/llvm-apr-benchmark},
31
  author = {Yingwei Zheng},
 
24
  """
25
 
26
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
27
+ CITATION_BUTTON_TEXT = r"""@misc{llvm-apr-benchmark,
 
28
  title = {LLVM APR Benchmark: A Large-Scale Automated Program Repair Benchmark of Real-World LLVM Middle-End Bugs},
29
  url = {https://github.com/dtcxzyw/llvm-apr-benchmark},
30
  author = {Yingwei Zheng},