ztwang commited on
Commit
3e04edb
Β·
verified Β·
1 Parent(s): 54dfcdf

Upload 10 files

Browse files
Files changed (2) hide show
  1. README.md +2 -4
  2. index.html +32 -25
README.md CHANGED
@@ -3,11 +3,9 @@ title: MCP-Bench Leaderboard
3
  emoji: πŸ†
4
  colorFrom: blue
5
  colorTo: indigo
6
- sdk: gradio
7
- sdk_version: "4.44.0"
8
- app_file: app.py
9
  pinned: false
10
- short_description: Leaderboard for MCP-Bench
11
  tags:
12
  - benchmark
13
  - leaderboard
 
3
  emoji: πŸ†
4
  colorFrom: blue
5
  colorTo: indigo
6
+ sdk: static
 
 
7
  pinned: false
8
+ short_description: Leaderboard for MCP-Bench
9
  tags:
10
  - benchmark
11
  - leaderboard
index.html CHANGED
@@ -48,6 +48,33 @@
48
  <section class="leaderboard-section" id="leaderboard">
49
  <h2 class="section-title">Detailed Results</h2>
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  <div class="table-container">
52
  <table class="leaderboard-table" id="leaderboardTable">
53
  <thead>
@@ -93,6 +120,10 @@
93
  </table>
94
  </div>
95
 
 
 
 
 
96
 
97
  </section>
98
 
@@ -118,30 +149,6 @@
118
  </footer>
119
  </div>
120
 
121
- <script>
122
- // Copy citation function
123
- function copyCitation() {
124
- const citationText = document.querySelector('.citation-text').textContent;
125
- navigator.clipboard.writeText(citationText).then(() => {
126
- const button = document.querySelector('.copy-citation-btn');
127
- const originalText = button.innerHTML;
128
- button.innerHTML = '<i class="fas fa-check"></i> Copied!';
129
- button.style.backgroundColor = '#4caf50';
130
-
131
- setTimeout(() => {
132
- button.innerHTML = originalText;
133
- button.style.backgroundColor = '';
134
- }, 2000);
135
- });
136
- }
137
-
138
- // Update last updated date
139
- document.addEventListener('DOMContentLoaded', function() {
140
- const lastUpdated = document.getElementById('lastUpdated');
141
- if (lastUpdated) {
142
- lastUpdated.textContent = 'December 2024';
143
- }
144
- });
145
- </script>
146
  </body>
147
  </html>
 
48
  <section class="leaderboard-section" id="leaderboard">
49
  <h2 class="section-title">Detailed Results</h2>
50
 
51
+ <div class="controls">
52
+ <div class="search-container">
53
+ <i class="fas fa-search"></i>
54
+ <input type="text" id="searchInput" placeholder="Search models..." class="search-input">
55
+ </div>
56
+
57
+ <div class="filter-container">
58
+ <label for="sortSelect">Sort by:</label>
59
+ <select id="sortSelect" class="sort-select">
60
+ <option value="overall_score">Overall Score</option>
61
+ <option value="valid_tool_name_rate">Valid Tool Name Rate</option>
62
+ <option value="schema_compliance">Schema Compliance</option>
63
+ <option value="execution_success">Execution Success</option>
64
+ <option value="task_fulfillment">Task Fulfillment</option>
65
+ <option value="information_grounding">Information Grounding</option>
66
+ <option value="tool_appropriateness">Tool Appropriateness</option>
67
+ <option value="parameter_accuracy">Parameter Accuracy</option>
68
+ <option value="dependency_awareness">Dependency Awareness</option>
69
+ <option value="parallelism_efficiency">Parallelism Efficiency</option>
70
+ </select>
71
+
72
+ <button id="sortOrder" class="sort-btn" title="Toggle sort order">
73
+ <i class="fas fa-sort-amount-down"></i>
74
+ </button>
75
+ </div>
76
+ </div>
77
+
78
  <div class="table-container">
79
  <table class="leaderboard-table" id="leaderboardTable">
80
  <thead>
 
120
  </table>
121
  </div>
122
 
123
+ <div class="loading" id="loading">
124
+ <i class="fas fa-spinner fa-spin"></i>
125
+ Loading leaderboard data...
126
+ </div>
127
 
128
  </section>
129
 
 
149
  </footer>
150
  </div>
151
 
152
+ <script src="script.js"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  </body>
154
  </html>