✨ Add openclaw benchmarks
Browse files
app.py
CHANGED
|
@@ -49,6 +49,7 @@ from huggingface_hub import HfApi
|
|
| 49 |
|
| 50 |
from src.leaderboard import get_leaderboard_df, get_benchmark_run_df
|
| 51 |
from src.display.text_blocks import (
|
|
|
|
| 52 |
INTRODUCTION_TEXT,
|
| 53 |
LLM_BENCHMARKS_TEXT,
|
| 54 |
)
|
|
@@ -175,6 +176,8 @@ with demo:
|
|
| 175 |
|
| 176 |
with gr.Tab("📝 About"):
|
| 177 |
gr.Markdown(LLM_BENCHMARKS_TEXT, elem_classes="markdown-text")
|
|
|
|
|
|
|
| 178 |
|
| 179 |
scheduler = BackgroundScheduler()
|
| 180 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
|
|
|
| 49 |
|
| 50 |
from src.leaderboard import get_leaderboard_df, get_benchmark_run_df
|
| 51 |
from src.display.text_blocks import (
|
| 52 |
+
HOW_TO_USE_TEXT,
|
| 53 |
INTRODUCTION_TEXT,
|
| 54 |
LLM_BENCHMARKS_TEXT,
|
| 55 |
)
|
|
|
|
| 176 |
|
| 177 |
with gr.Tab("📝 About"):
|
| 178 |
gr.Markdown(LLM_BENCHMARKS_TEXT, elem_classes="markdown-text")
|
| 179 |
+
|
| 180 |
+
gr.Markdown(HOW_TO_USE_TEXT, elem_classes="markdown-text")
|
| 181 |
|
| 182 |
scheduler = BackgroundScheduler()
|
| 183 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
results/swe-bench-pro--ansible-qwen3-6-36b-nvfp4-openclaw.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"benchmark": {
|
| 3 |
+
"name": "swe-bench-pro--ansible",
|
| 4 |
+
"repo": "ScaleAI/SWE-bench_Pro",
|
| 5 |
+
"num_tasks": 96,
|
| 6 |
+
"url": "https://huggingface.co/datasets/ScaleAI/SWE-bench_Pro"
|
| 7 |
+
},
|
| 8 |
+
"harness": {
|
| 9 |
+
"name": "OpenClaw",
|
| 10 |
+
"skills": [],
|
| 11 |
+
"is_oss": true,
|
| 12 |
+
"url": "https://github.com/openclaw/openclaw"
|
| 13 |
+
},
|
| 14 |
+
"model": {
|
| 15 |
+
"name": "Qwen3.6-35B-A3B",
|
| 16 |
+
"repo": "RedHatAI/Qwen3.6-35B-A3B-NVFP4",
|
| 17 |
+
"is_oss": true,
|
| 18 |
+
"num_params": 35,
|
| 19 |
+
"precision": "nvfp4",
|
| 20 |
+
"url": "https://huggingface.co/RedHatAI/Qwen3.6-35B-A3B-NVFP4"
|
| 21 |
+
},
|
| 22 |
+
"environment": {
|
| 23 |
+
"name": "harbor",
|
| 24 |
+
"config": {
|
| 25 |
+
"path": null,
|
| 26 |
+
"name": "scale-ai/swe-bench-pro",
|
| 27 |
+
"version": null,
|
| 28 |
+
"ref": "sha256:88411d32ff27e53a4c1a7e29f0c2aeba180c8e5d60f221cab5ed56325f33549d",
|
| 29 |
+
"registry_url": null,
|
| 30 |
+
"registry_path": null,
|
| 31 |
+
"overwrite": false,
|
| 32 |
+
"download_dir": null,
|
| 33 |
+
"task_names": [
|
| 34 |
+
"*ansible*"
|
| 35 |
+
],
|
| 36 |
+
"exclude_task_names": null,
|
| 37 |
+
"n_tasks": null
|
| 38 |
+
},
|
| 39 |
+
"url": "https://github.com/harbor-framework/harbor"
|
| 40 |
+
},
|
| 41 |
+
"metrics": {
|
| 42 |
+
"n_tasks": 96,
|
| 43 |
+
"n_errors": 5,
|
| 44 |
+
"score": 0.406,
|
| 45 |
+
"n_input_tokens": 0,
|
| 46 |
+
"n_cache_tokens": 0,
|
| 47 |
+
"n_output_tokens": 0,
|
| 48 |
+
"n_total_tokens": 0,
|
| 49 |
+
"agent_time_seconds": 38085,
|
| 50 |
+
"total_time_seconds": 50779,
|
| 51 |
+
"cost_usd": 9.4,
|
| 52 |
+
"mean_input_tokens_per_task": 0,
|
| 53 |
+
"mean_cache_tokens_per_task": 0,
|
| 54 |
+
"mean_output_tokens_per_task": 0,
|
| 55 |
+
"mean_tokens_per_task": 0,
|
| 56 |
+
"mean_cost_usd_per_task": 0.1,
|
| 57 |
+
"mean_total_time_seconds_per_task": 528,
|
| 58 |
+
"mean_agent_time_seconds_per_task": 396
|
| 59 |
+
}
|
| 60 |
+
}
|
results/swe-bench-verified-qwen3-6-35b-nvfp4-openclaw.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"benchmark": {
|
| 3 |
+
"name": "swe-bench-verified",
|
| 4 |
+
"repo": "SWE-bench/SWE-bench_Verified",
|
| 5 |
+
"num_tasks": 500,
|
| 6 |
+
"url": "https://huggingface.co/datasets/SWE-bench/SWE-bench_Verified"
|
| 7 |
+
},
|
| 8 |
+
"harness": {
|
| 9 |
+
"name": "OpenClaw",
|
| 10 |
+
"skills": [],
|
| 11 |
+
"is_oss": true,
|
| 12 |
+
"url": "https://github.com/openclaw/openclaw"
|
| 13 |
+
},
|
| 14 |
+
"model": {
|
| 15 |
+
"name": "Qwen3.6-35B-A3B",
|
| 16 |
+
"repo": "RedHatAI/Qwen3.6-35B-A3B-NVFP4",
|
| 17 |
+
"is_oss": true,
|
| 18 |
+
"num_params": 35,
|
| 19 |
+
"precision": "nvfp4",
|
| 20 |
+
"url": "https://huggingface.co/RedHatAI/Qwen3.6-35B-A3B-NVFP4"
|
| 21 |
+
},
|
| 22 |
+
"environment": {
|
| 23 |
+
"name": "harbor",
|
| 24 |
+
"config": {
|
| 25 |
+
"path": null,
|
| 26 |
+
"name": "swe-bench/swe-bench-verified",
|
| 27 |
+
"version": null,
|
| 28 |
+
"ref": "sha256:235d6032d549851a936db3b5fe08807c4d385c12ee10e7be9c9786a1ff60563c",
|
| 29 |
+
"registry_url": null,
|
| 30 |
+
"registry_path": null,
|
| 31 |
+
"overwrite": false,
|
| 32 |
+
"download_dir": null,
|
| 33 |
+
"task_names": null,
|
| 34 |
+
"exclude_task_names": null,
|
| 35 |
+
"n_tasks": null,
|
| 36 |
+
"accelerated_images": true
|
| 37 |
+
},
|
| 38 |
+
"url": "https://github.com/harbor-framework/harbor"
|
| 39 |
+
},
|
| 40 |
+
"metrics": {
|
| 41 |
+
"n_tasks": 500,
|
| 42 |
+
"n_errors": 3,
|
| 43 |
+
"score": 0.588,
|
| 44 |
+
"n_input_tokens": 0,
|
| 45 |
+
"n_cache_tokens": 0,
|
| 46 |
+
"n_output_tokens": 0,
|
| 47 |
+
"n_total_tokens": 0,
|
| 48 |
+
"agent_time_seconds": 120399,
|
| 49 |
+
"total_time_seconds": 200354,
|
| 50 |
+
"cost_usd": 33.44,
|
| 51 |
+
"mean_input_tokens_per_task": 0,
|
| 52 |
+
"mean_cache_tokens_per_task": 0,
|
| 53 |
+
"mean_output_tokens_per_task": 0,
|
| 54 |
+
"mean_tokens_per_task": 0,
|
| 55 |
+
"mean_cost_usd_per_task": 0.07,
|
| 56 |
+
"mean_total_time_seconds_per_task": 400,
|
| 57 |
+
"mean_agent_time_seconds_per_task": 240
|
| 58 |
+
}
|
| 59 |
+
}
|
src/display/text_blocks.py
CHANGED
|
@@ -32,3 +32,22 @@ A coding agent is a system that autonomously solves software engineering tasks -
|
|
| 32 |
|
| 33 |
Visit the [GitHub repo](https://github.com/redhat-et/coding_agent_bench) for details about the project, methodology, and how to submit your own results.
|
| 34 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
Visit the [GitHub repo](https://github.com/redhat-et/coding_agent_bench) for details about the project, methodology, and how to submit your own results.
|
| 34 |
"""
|
| 35 |
+
|
| 36 |
+
HOW_TO_USE_TEXT = """
|
| 37 |
+
---
|
| 38 |
+
## How to interpret these results
|
| 39 |
+
|
| 40 |
+
In the absence of enterprise-specific datasets, public benchmarks provide a means of comparing the performance of coding agents across a wide range of tasks.
|
| 41 |
+
Better performance on these benchmarks generally translates to better performance on real-world tasks.
|
| 42 |
+
All benchmarks are run using Harbor, a sandboxed environment for evaluating coding agents.
|
| 43 |
+
|
| 44 |
+
Each benchmark measures the performance of the coding agent on different tasks:
|
| 45 |
+
|
| 46 |
+
* **swe-bench-verified**: Measures performance on solving GitHub issues in popular Python repositories.
|
| 47 |
+
* **swe-bench-pro--ansible**: Measures performance on solving GitHub issues in the [ansible/ansible](https://github.com/ansible/ansible) repository.
|
| 48 |
+
Demonstrates how benchmarking can be used to evaluate coding agents on enterprise-specific tasks.
|
| 49 |
+
|
| 50 |
+
Higher scores indicate better performance on the benchmarks.
|
| 51 |
+
If an agent scores better on a given benchmark than another, it can be generally considered to be better at those kinds of tasks.
|
| 52 |
+
We take a simple average of these scores so you can quickly compare the performance of different coding agents, but this is a relative score and the average itself is meaningless on its own.
|
| 53 |
+
"""
|