Danny Liu commited on
Commit
10f2787
·
1 Parent(s): 4e5862b

fix format issue

Browse files
Files changed (2) hide show
  1. app.py +5 -6
  2. src/display/css_html_js.py +15 -0
app.py CHANGED
@@ -44,17 +44,16 @@ with demo:
44
 
45
  gr.Markdown("## Benchmark")
46
  gr.Markdown("### Model evaluation on VerilogEval-Human V1 benchmark (156 problems, 10 rollouts each)")
47
- with gr.Row():
48
  leaderboard = init_leaderboard(LEADERBOARD_DF)
49
- with gr.Row():
50
- gr.Markdown("### Evaluation Results")
51
- gr.Markdown(CONCLUSION_TEXT, elem_classes="markdown-text")
52
 
53
  gr.Markdown("### Transition Matrices")
54
  gr.Markdown("The transition matrices below show how errors evolve during the SFT and RL phases, revealing the surface convergence gap where optimization reduces syntax errors but increases functional testbench failures.")
55
  with gr.Row():
56
- gr.Image("subq1_sft_transition_matrix.png", label="SFT Transition Matrix", show_label=True, show_download_button=False)
57
- gr.Image("subq1_transition_matrix.png", label="RL Transition Matrix", show_label=True, show_download_button=False)
58
 
59
  with gr.Row():
60
  with gr.Accordion("📙 Citation", open=False):
 
44
 
45
  gr.Markdown("## Benchmark")
46
  gr.Markdown("### Model evaluation on VerilogEval-Human V1 benchmark (156 problems, 10 rollouts each)")
47
+ with gr.Column(elem_id="leaderboard-container"):
48
  leaderboard = init_leaderboard(LEADERBOARD_DF)
49
+ gr.Markdown("### Evaluation Results")
50
+ gr.Markdown(CONCLUSION_TEXT, elem_classes="markdown-text")
 
51
 
52
  gr.Markdown("### Transition Matrices")
53
  gr.Markdown("The transition matrices below show how errors evolve during the SFT and RL phases, revealing the surface convergence gap where optimization reduces syntax errors but increases functional testbench failures.")
54
  with gr.Row():
55
+ gr.Image("subq1_sft_transition_matrix.png", show_label=False, show_download_button=False)
56
+ gr.Image("subq1_transition_matrix.png", show_label=False, show_download_button=False)
57
 
58
  with gr.Row():
59
  with gr.Accordion("📙 Citation", open=False):
src/display/css_html_js.py CHANGED
@@ -100,6 +100,21 @@ custom_css = """
100
  margin: 0 auto !important;
101
  display: block !important;
102
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  """
104
 
105
  get_window_url_params = """
 
100
  margin: 0 auto !important;
101
  display: block !important;
102
  }
103
+
104
+ #leaderboard-container {
105
+ width: 100% !important;
106
+ max-width: 100% !important;
107
+ padding: 0 !important;
108
+ }
109
+
110
+ #leaderboard-container .filter-bar,
111
+ #leaderboard-container .search-bar {
112
+ width: 100% !important;
113
+ }
114
+
115
+ #leaderboard-container table {
116
+ width: 100% !important;
117
+ }
118
  """
119
 
120
  get_window_url_params = """