zhimin-z
commited on
Commit
·
014ef37
1
Parent(s):
1b10ccd
fix
Browse files
app.py
CHANGED
|
@@ -675,31 +675,27 @@ with gr.Blocks(title="SWE Assistant PR & Commit Leaderboard", theme=gr.themes.So
|
|
| 675 |
|
| 676 |
# PR Monthly Metrics Section
|
| 677 |
gr.Markdown("---") # Divider
|
| 678 |
-
|
| 679 |
-
|
| 680 |
-
|
| 681 |
-
pr_monthly_metrics_plot = gr.Plot(label="PR Monthly Metrics")
|
| 682 |
-
|
| 683 |
-
# Load PR monthly metrics when app starts
|
| 684 |
-
app.load(
|
| 685 |
-
fn=lambda: create_monthly_metrics_plot(type="pr"),
|
| 686 |
-
inputs=[],
|
| 687 |
-
outputs=[pr_monthly_metrics_plot]
|
| 688 |
-
)
|
| 689 |
|
| 690 |
# Commit Monthly Metrics Section
|
| 691 |
gr.Markdown("---") # Divider
|
| 692 |
-
|
| 693 |
-
|
| 694 |
-
|
| 695 |
-
|
| 696 |
-
|
| 697 |
-
|
| 698 |
-
|
| 699 |
-
|
| 700 |
-
|
| 701 |
-
|
| 702 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 703 |
|
| 704 |
|
| 705 |
# Submit Assistant Tab
|
|
|
|
| 675 |
|
| 676 |
# PR Monthly Metrics Section
|
| 677 |
gr.Markdown("---") # Divider
|
| 678 |
+
gr.Markdown("### PR Monthly Performance - Top 5 Assistants")
|
| 679 |
+
gr.Markdown("*Shows acceptance rate trends and PR volumes for the most active assistants*")
|
| 680 |
+
pr_monthly_metrics_plot = gr.Plot(label="PR Monthly Metrics")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 681 |
|
| 682 |
# Commit Monthly Metrics Section
|
| 683 |
gr.Markdown("---") # Divider
|
| 684 |
+
gr.Markdown("### Commit Monthly Performance - Top 5 Assistants")
|
| 685 |
+
gr.Markdown("*Shows commit volumes for the most active assistants*")
|
| 686 |
+
commit_monthly_metrics_plot = gr.Plot(label="Commit Monthly Metrics")
|
| 687 |
+
|
| 688 |
+
# Load monthly metrics when app starts
|
| 689 |
+
app.load(
|
| 690 |
+
fn=lambda: create_monthly_metrics_plot(type="pr"),
|
| 691 |
+
inputs=[],
|
| 692 |
+
outputs=[pr_monthly_metrics_plot]
|
| 693 |
+
)
|
| 694 |
+
app.load(
|
| 695 |
+
fn=lambda: create_monthly_metrics_plot(type="commit"),
|
| 696 |
+
inputs=[],
|
| 697 |
+
outputs=[commit_monthly_metrics_plot]
|
| 698 |
+
)
|
| 699 |
|
| 700 |
|
| 701 |
# Submit Assistant Tab
|