Trouter-Library commited on
Commit
8697525
·
verified ·
1 Parent(s): 9cc73a0

Create benchmark_results.json

Browse files
Files changed (1) hide show
  1. benchmark_results.json +307 -0
benchmark_results.json ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "OpenTrouter/Troviku-1.1",
3
+ "version": "1.1.0",
4
+ "evaluation_date": "2025-01-15",
5
+ "evaluator": "OpenTrouter Research Team",
6
+
7
+ "benchmarks": {
8
+ "humaneval": {
9
+ "name": "HumanEval",
10
+ "description": "Hand-written programming problems for evaluating functional correctness",
11
+ "total_problems": 164,
12
+ "metrics": {
13
+ "pass_at_1": 0.72,
14
+ "pass_at_10": 0.89,
15
+ "pass_at_100": 0.94
16
+ },
17
+ "language": "python",
18
+ "temperature": 0.8,
19
+ "evaluation_notes": "Evaluated using exact match on test cases"
20
+ },
21
+
22
+ "mbpp": {
23
+ "name": "MBPP",
24
+ "description": "Mostly Basic Python Problems - crowd-sourced programming problems",
25
+ "total_problems": 500,
26
+ "metrics": {
27
+ "pass_at_1": 0.68,
28
+ "pass_at_10": 0.84,
29
+ "pass_at_100": 0.91
30
+ },
31
+ "language": "python",
32
+ "temperature": 0.8,
33
+ "evaluation_notes": "Sanitized version used for evaluation"
34
+ },
35
+
36
+ "code_contests": {
37
+ "name": "CodeContests",
38
+ "description": "Competitive programming problems from various platforms",
39
+ "total_problems": 165,
40
+ "metrics": {
41
+ "pass_at_1": 0.45,
42
+ "pass_at_10": 0.68,
43
+ "pass_at_100": 0.79
44
+ },
45
+ "difficulty_breakdown": {
46
+ "introductory": 0.82,
47
+ "interview": 0.54,
48
+ "competition": 0.28
49
+ },
50
+ "language": "python",
51
+ "temperature": 0.8,
52
+ "evaluation_notes": "Competitive programming requiring advanced algorithms"
53
+ },
54
+
55
+ "multipl_e": {
56
+ "name": "MultiPL-E",
57
+ "description": "Multi-language evaluation benchmark",
58
+ "total_problems": 164,
59
+ "languages_evaluated": [
60
+ "python",
61
+ "java",
62
+ "javascript",
63
+ "cpp",
64
+ "rust",
65
+ "go",
66
+ "typescript",
67
+ "php",
68
+ "ruby",
69
+ "swift"
70
+ ],
71
+ "metrics_by_language": {
72
+ "python": {
73
+ "pass_at_1": 0.72,
74
+ "pass_at_10": 0.88
75
+ },
76
+ "java": {
77
+ "pass_at_1": 0.65,
78
+ "pass_at_10": 0.82
79
+ },
80
+ "javascript": {
81
+ "pass_at_1": 0.68,
82
+ "pass_at_10": 0.85
83
+ },
84
+ "cpp": {
85
+ "pass_at_1": 0.61,
86
+ "pass_at_10": 0.78
87
+ },
88
+ "rust": {
89
+ "pass_at_1": 0.58,
90
+ "pass_at_10": 0.75
91
+ },
92
+ "go": {
93
+ "pass_at_1": 0.64,
94
+ "pass_at_10": 0.80
95
+ },
96
+ "typescript": {
97
+ "pass_at_1": 0.67,
98
+ "pass_at_10": 0.84
99
+ },
100
+ "php": {
101
+ "pass_at_1": 0.60,
102
+ "pass_at_10": 0.76
103
+ },
104
+ "ruby": {
105
+ "pass_at_1": 0.59,
106
+ "pass_at_10": 0.74
107
+ },
108
+ "swift": {
109
+ "pass_at_1": 0.56,
110
+ "pass_at_10": 0.72
111
+ }
112
+ },
113
+ "temperature": 0.8,
114
+ "evaluation_notes": "Cross-language code generation capability"
115
+ },
116
+
117
+ "ds_1000": {
118
+ "name": "DS-1000",
119
+ "description": "Data science code generation with 1000 problems",
120
+ "total_problems": 1000,
121
+ "metrics": {
122
+ "pass_at_1": 0.58,
123
+ "pass_at_10": 0.76
124
+ },
125
+ "libraries_covered": [
126
+ "numpy",
127
+ "pandas",
128
+ "scikit-learn",
129
+ "matplotlib",
130
+ "scipy",
131
+ "pytorch",
132
+ "tensorflow"
133
+ ],
134
+ "metrics_by_library": {
135
+ "numpy": 0.64,
136
+ "pandas": 0.61,
137
+ "scikit_learn": 0.55,
138
+ "matplotlib": 0.58,
139
+ "scipy": 0.52,
140
+ "pytorch": 0.54,
141
+ "tensorflow": 0.51
142
+ },
143
+ "language": "python",
144
+ "temperature": 0.2,
145
+ "evaluation_notes": "Focused on data science and ML libraries"
146
+ }
147
+ },
148
+
149
+ "custom_evaluations": {
150
+ "code_translation": {
151
+ "description": "Translation accuracy between programming languages",
152
+ "language_pairs_tested": 45,
153
+ "metrics": {
154
+ "semantic_preservation": 0.84,
155
+ "syntax_correctness": 0.91,
156
+ "functional_equivalence": 0.78
157
+ },
158
+ "top_performing_pairs": [
159
+ {
160
+ "source": "python",
161
+ "target": "javascript",
162
+ "score": 0.89
163
+ },
164
+ {
165
+ "source": "javascript",
166
+ "target": "typescript",
167
+ "score": 0.93
168
+ },
169
+ {
170
+ "source": "java",
171
+ "target": "kotlin",
172
+ "score": 0.87
173
+ }
174
+ ]
175
+ },
176
+
177
+ "code_explanation": {
178
+ "description": "Quality of code explanations and documentation",
179
+ "total_samples": 200,
180
+ "metrics": {
181
+ "accuracy": 0.88,
182
+ "completeness": 0.82,
183
+ "clarity": 0.86,
184
+ "relevance": 0.90
185
+ },
186
+ "complexity_levels": {
187
+ "beginner": 0.93,
188
+ "intermediate": 0.86,
189
+ "advanced": 0.79
190
+ }
191
+ },
192
+
193
+ "bug_detection": {
194
+ "description": "Ability to identify and fix bugs in code",
195
+ "total_samples": 250,
196
+ "bug_types": {
197
+ "syntax_errors": 0.95,
198
+ "logic_errors": 0.73,
199
+ "type_errors": 0.88,
200
+ "runtime_errors": 0.81,
201
+ "edge_cases": 0.65
202
+ },
203
+ "fix_success_rate": 0.76
204
+ },
205
+
206
+ "code_review": {
207
+ "description": "Code review and improvement suggestions",
208
+ "total_samples": 150,
209
+ "categories": {
210
+ "code_quality": 0.84,
211
+ "security_issues": 0.78,
212
+ "performance_optimization": 0.72,
213
+ "best_practices": 0.86,
214
+ "readability": 0.89
215
+ }
216
+ },
217
+
218
+ "test_generation": {
219
+ "description": "Quality of generated unit tests",
220
+ "total_samples": 180,
221
+ "metrics": {
222
+ "test_coverage": 0.81,
223
+ "edge_case_coverage": 0.68,
224
+ "test_correctness": 0.87,
225
+ "assertion_quality": 0.83
226
+ }
227
+ }
228
+ },
229
+
230
+ "performance_metrics": {
231
+ "latency": {
232
+ "p50_ms": 1250,
233
+ "p95_ms": 3100,
234
+ "p99_ms": 5200
235
+ },
236
+ "throughput": {
237
+ "tokens_per_second": 45,
238
+ "requests_per_minute": 60
239
+ },
240
+ "resource_utilization": {
241
+ "average_gpu_memory_gb": 18,
242
+ "peak_gpu_memory_gb": 22,
243
+ "average_cpu_percent": 35
244
+ }
245
+ },
246
+
247
+ "comparison_to_baselines": {
248
+ "models": [
249
+ {
250
+ "name": "GPT-4-turbo",
251
+ "humaneval_pass_at_1": 0.84,
252
+ "mbpp_pass_at_1": 0.80
253
+ },
254
+ {
255
+ "name": "Claude-3.5-Sonnet",
256
+ "humaneval_pass_at_1": 0.82,
257
+ "mbpp_pass_at_1": 0.78
258
+ },
259
+ {
260
+ "name": "CodeLlama-34B",
261
+ "humaneval_pass_at_1": 0.68,
262
+ "mbpp_pass_at_1": 0.62
263
+ },
264
+ {
265
+ "name": "Troviku-1.1",
266
+ "humaneval_pass_at_1": 0.72,
267
+ "mbpp_pass_at_1": 0.68
268
+ }
269
+ ],
270
+ "notes": "Troviku-1.1 shows competitive performance with specialized optimization for coding tasks"
271
+ },
272
+
273
+ "limitations": {
274
+ "known_weaknesses": [
275
+ "Complex algorithmic problems requiring advanced mathematics",
276
+ "Very large codebases with deep context dependencies",
277
+ "Highly specialized domain-specific languages",
278
+ "Real-time system programming with strict performance constraints",
279
+ "Legacy code with unusual or deprecated patterns"
280
+ ],
281
+ "improvement_areas": [
282
+ "Enhanced multi-file context understanding",
283
+ "Better handling of rare programming languages",
284
+ "Improved optimization for competitive programming",
285
+ "Stronger performance on security-critical code"
286
+ ]
287
+ },
288
+
289
+ "methodology": {
290
+ "evaluation_framework": "Standard academic benchmarks with custom extensions",
291
+ "temperature_settings": "Varied by task type (0.2-0.8)",
292
+ "sampling_strategy": "Pass@k evaluated with k=[1, 10, 100]",
293
+ "test_execution": "Isolated sandbox environments with timeout limits",
294
+ "human_evaluation": "20% of outputs manually reviewed by senior engineers"
295
+ },
296
+
297
+ "reproducibility": {
298
+ "random_seed": 42,
299
+ "evaluation_code_repository": "https://github.com/OpenTrouter/troviku-eval",
300
+ "benchmark_versions": {
301
+ "humaneval": "v1.0",
302
+ "mbpp": "v1.0-sanitized",
303
+ "code_contests": "v1.0",
304
+ "multipl_e": "v0.2"
305
+ }
306
+ }
307
+ }