Spaces:
Running
Running
refine
Browse files
app.py
CHANGED
|
@@ -2182,15 +2182,16 @@ print(f"β Scheduler started: Incremental Update at 12:00 AM UTC every Monday (
|
|
| 2182 |
|
| 2183 |
# Create Gradio interface
|
| 2184 |
with gr.Blocks(title="SWE Agent Review Leaderboard", theme=gr.themes.Soft()) as app:
|
|
|
|
| 2185 |
|
| 2186 |
gr.Markdown("# π SWE Agent Review Leaderboard")
|
| 2187 |
-
gr.Markdown("Track and compare GitHub PR review acceptance statistics for SWE agents (last
|
| 2188 |
|
| 2189 |
with gr.Tabs():
|
| 2190 |
|
| 2191 |
# Leaderboard Tab
|
| 2192 |
with gr.Tab("π Leaderboard"):
|
| 2193 |
-
gr.Markdown("*All statistics are based on reviews from the last
|
| 2194 |
leaderboard_table = Leaderboard(
|
| 2195 |
value=pd.DataFrame(columns=[col[0] for col in LEADERBOARD_COLUMNS]), # Empty initially
|
| 2196 |
datatype=LEADERBOARD_COLUMNS,
|
|
|
|
| 2182 |
|
| 2183 |
# Create Gradio interface
|
| 2184 |
with gr.Blocks(title="SWE Agent Review Leaderboard", theme=gr.themes.Soft()) as app:
|
| 2185 |
+
total_months = LEADERBOARD_TIME_FRAME_DAYS // 30
|
| 2186 |
|
| 2187 |
gr.Markdown("# π SWE Agent Review Leaderboard")
|
| 2188 |
+
gr.Markdown(f"Track and compare GitHub PR review acceptance statistics for SWE agents (last {total_months} months)")
|
| 2189 |
|
| 2190 |
with gr.Tabs():
|
| 2191 |
|
| 2192 |
# Leaderboard Tab
|
| 2193 |
with gr.Tab("π Leaderboard"):
|
| 2194 |
+
gr.Markdown(f"*All statistics are based on reviews from the last {total_months} months*")
|
| 2195 |
leaderboard_table = Leaderboard(
|
| 2196 |
value=pd.DataFrame(columns=[col[0] for col in LEADERBOARD_COLUMNS]), # Empty initially
|
| 2197 |
datatype=LEADERBOARD_COLUMNS,
|