@@ -261,12 +261,12 @@ function aggregateMcpData(k = 4) {
261261 const aggregatedData = {
262262 generated_at : new Date ( ) . toISOString ( ) ,
263263 k : k ,
264- servers : { }
264+ leaderboard : { }
265265 } ;
266266
267267 for ( const [ serverName , implementations ] of Object . entries ( servers ) ) {
268268 console . log ( `\n📊 Processing ${ serverName } ...` ) ;
269- aggregatedData . servers [ serverName ] = { } ;
269+ aggregatedData . leaderboard [ serverName ] = { } ;
270270
271271 for ( const [ implName , implPath ] of Object . entries ( implementations ) ) {
272272 console . log ( ` 📥 Collecting data for ${ implName } ...` ) ;
@@ -275,7 +275,7 @@ function aggregateMcpData(k = 4) {
275275 const metrics = calculateMetrics ( runData , k ) ;
276276
277277 if ( metrics ) {
278- aggregatedData . servers [ serverName ] [ implName ] = metrics ;
278+ aggregatedData . leaderboard [ serverName ] [ implName ] = metrics ;
279279 console . log ( ` ✅ ${ implName } : ${ metrics . total_tasks } tasks, ${ ( metrics [ "pass@1" ] . avg * 100 ) . toFixed ( 1 ) } % pass@1` ) ;
280280 } else {
281281 console . log ( ` ⚠️ ${ implName } : No valid data found` ) ;
@@ -308,7 +308,7 @@ function main() {
308308
309309 // Print summary
310310 console . log ( '\n📊 Summary:' ) ;
311- for ( const [ serverName , implementations ] of Object . entries ( aggregatedData . servers ) ) {
311+ for ( const [ serverName , implementations ] of Object . entries ( aggregatedData . leaderboard ) ) {
312312 console . log ( `${ serverName } :` ) ;
313313 for ( const [ implName , data ] of Object . entries ( implementations ) ) {
314314 if ( data . total_tasks ) {
0 commit comments