Upload 3 files
Browse files- chart.js +29 -24
- index.html +4 -4
- style.css +5 -5
chart.js
CHANGED
@@ -439,75 +439,80 @@ Chart.setOption(options[0])
|
|
439 |
Chart2.setOption(options[2])
|
440 |
|
441 |
|
|
|
|
|
|
|
|
|
|
|
442 |
// button and span
|
443 |
var btn_temp0_HumanEval = document.getElementById('btn_temp0_HumanEval')
|
444 |
-
var btn_temp0_HumanEval_ET = document.getElementById('btn_temp0_HumanEval_ET')
|
445 |
var btn_temp0_8_HumanEval = document.getElementById('btn_temp0_8_HumanEval')
|
|
|
446 |
var btn_temp0_8_HumanEval_ET = document.getElementById('btn_temp0_8_HumanEval_ET')
|
447 |
|
448 |
|
449 |
|
450 |
var span_temp0_HumanEval = document.getElementById('span_temp0_HumanEval')
|
451 |
-
var span_temp0_HumanEval_ET = document.getElementById('span_temp0_HumanEval_ET')
|
452 |
var span_temp0_8_HumanEval = document.getElementById('span_temp0_8_HumanEval')
|
|
|
453 |
var span_temp0_8_HumanEval_ET = document.getElementById('span_temp0_8_HumanEval_ET')
|
454 |
|
455 |
btn_temp0_HumanEval.addEventListener("click", function() {
|
456 |
Chart.setOption(options[0])
|
457 |
btn_temp0_HumanEval.style.backgroundColor = '#386df4'
|
458 |
span_temp0_HumanEval.style.color = '#386df4'
|
459 |
-
|
460 |
-
|
461 |
})
|
462 |
span_temp0_HumanEval.addEventListener("click", function() {
|
463 |
Chart.setOption(options[0]);
|
464 |
btn_temp0_HumanEval.style.backgroundColor = '#386df4'
|
465 |
span_temp0_HumanEval.style.color = '#386df4'
|
466 |
-
|
467 |
-
|
468 |
})
|
469 |
|
470 |
-
|
471 |
Chart.setOption(options[1])
|
472 |
btn_temp0_HumanEval.style.backgroundColor = '#d3d3d3'
|
473 |
span_temp0_HumanEval.style.color = '#d3d3d3'
|
474 |
-
|
475 |
-
|
476 |
})
|
477 |
-
|
478 |
-
Chart.setOption(options[1])
|
479 |
btn_temp0_HumanEval.style.backgroundColor = '#d3d3d3'
|
480 |
span_temp0_HumanEval.style.color = '#d3d3d3'
|
481 |
-
|
482 |
-
|
483 |
})
|
484 |
|
485 |
-
|
486 |
Chart2.setOption(options[2])
|
487 |
-
|
488 |
-
|
489 |
btn_temp0_8_HumanEval_ET.style.backgroundColor = '#d3d3d3'
|
490 |
span_temp0_8_HumanEval_ET.style.color = '#d3d3d3'
|
491 |
})
|
492 |
-
|
493 |
-
Chart2.setOption(options[2])
|
494 |
-
|
495 |
-
|
496 |
btn_temp0_8_HumanEval_ET.style.backgroundColor = '#d3d3d3'
|
497 |
span_temp0_8_HumanEval_ET.style.color = '#d3d3d3'
|
498 |
})
|
499 |
|
500 |
btn_temp0_8_HumanEval_ET.addEventListener("click", function() {
|
501 |
Chart2.setOption(options[3])
|
502 |
-
|
503 |
-
|
504 |
btn_temp0_8_HumanEval_ET.style.backgroundColor = '#386df4'
|
505 |
span_temp0_8_HumanEval_ET.style.color = '#386df4'
|
506 |
})
|
507 |
span_temp0_8_HumanEval_ET.addEventListener("click", function() {
|
508 |
Chart2.setOption(options[3])
|
509 |
-
|
510 |
-
|
511 |
btn_temp0_8_HumanEval_ET.style.backgroundColor = '#386df4'
|
512 |
span_temp0_8_HumanEval_ET.style.color = '#386df4'
|
513 |
})
|
|
|
439 |
Chart2.setOption(options[2])
|
440 |
|
441 |
|
442 |
+
//0 temp0_humaneval
|
443 |
+
//1 temp0_8_humaneval
|
444 |
+
//2 temp0_humaneval_et
|
445 |
+
//3 temp0_8_humaneval_et
|
446 |
+
|
447 |
// button and span
|
448 |
var btn_temp0_HumanEval = document.getElementById('btn_temp0_HumanEval')
|
|
|
449 |
var btn_temp0_8_HumanEval = document.getElementById('btn_temp0_8_HumanEval')
|
450 |
+
var btn_temp0_HumanEval_ET = document.getElementById('btn_temp0_HumanEval_ET')
|
451 |
var btn_temp0_8_HumanEval_ET = document.getElementById('btn_temp0_8_HumanEval_ET')
|
452 |
|
453 |
|
454 |
|
455 |
var span_temp0_HumanEval = document.getElementById('span_temp0_HumanEval')
|
|
|
456 |
var span_temp0_8_HumanEval = document.getElementById('span_temp0_8_HumanEval')
|
457 |
+
var span_temp0_HumanEval_ET = document.getElementById('span_temp0_HumanEval_ET')
|
458 |
var span_temp0_8_HumanEval_ET = document.getElementById('span_temp0_8_HumanEval_ET')
|
459 |
|
460 |
btn_temp0_HumanEval.addEventListener("click", function() {
|
461 |
Chart.setOption(options[0])
|
462 |
btn_temp0_HumanEval.style.backgroundColor = '#386df4'
|
463 |
span_temp0_HumanEval.style.color = '#386df4'
|
464 |
+
btn_temp0_8_HumanEval.style.backgroundColor = '#d3d3d3'
|
465 |
+
span_temp0_8_HumanEval.style.color = '#d3d3d3'
|
466 |
})
|
467 |
span_temp0_HumanEval.addEventListener("click", function() {
|
468 |
Chart.setOption(options[0]);
|
469 |
btn_temp0_HumanEval.style.backgroundColor = '#386df4'
|
470 |
span_temp0_HumanEval.style.color = '#386df4'
|
471 |
+
btn_temp0_8_HumanEval.style.backgroundColor = '#d3d3d3'
|
472 |
+
span_temp0_8_HumanEval.style.color = '#d3d3d3'
|
473 |
})
|
474 |
|
475 |
+
btn_temp0_8_HumanEval.addEventListener("click", function() {
|
476 |
Chart.setOption(options[1])
|
477 |
btn_temp0_HumanEval.style.backgroundColor = '#d3d3d3'
|
478 |
span_temp0_HumanEval.style.color = '#d3d3d3'
|
479 |
+
btn_temp0_8_HumanEval.style.backgroundColor = '#386df4'
|
480 |
+
span_temp0_8_HumanEval.style.color = '#386df4'
|
481 |
})
|
482 |
+
span_temp0_8_HumanEval.addEventListener("click", function() {
|
483 |
+
Chart.setOption(options[1]);
|
484 |
btn_temp0_HumanEval.style.backgroundColor = '#d3d3d3'
|
485 |
span_temp0_HumanEval.style.color = '#d3d3d3'
|
486 |
+
btn_temp0_8_HumanEval.style.backgroundColor = '#386df4'
|
487 |
+
span_temp0_8_HumanEval.style.color = '#386df4'
|
488 |
})
|
489 |
|
490 |
+
btn_temp0_HumanEval_ET.addEventListener("click", function() {
|
491 |
Chart2.setOption(options[2])
|
492 |
+
btn_temp0_HumanEval_ET.style.backgroundColor = '#386df4'
|
493 |
+
span_temp0_HumanEval_ET.style.color = '#386df4'
|
494 |
btn_temp0_8_HumanEval_ET.style.backgroundColor = '#d3d3d3'
|
495 |
span_temp0_8_HumanEval_ET.style.color = '#d3d3d3'
|
496 |
})
|
497 |
+
span_temp0_HumanEval_ET.addEventListener("click", function() {
|
498 |
+
Chart2.setOption(options[2])
|
499 |
+
btn_temp0_HumanEval_ET.style.backgroundColor = '#386df4'
|
500 |
+
span_temp0_HumanEval_ET.style.color = '#386df4'
|
501 |
btn_temp0_8_HumanEval_ET.style.backgroundColor = '#d3d3d3'
|
502 |
span_temp0_8_HumanEval_ET.style.color = '#d3d3d3'
|
503 |
})
|
504 |
|
505 |
btn_temp0_8_HumanEval_ET.addEventListener("click", function() {
|
506 |
Chart2.setOption(options[3])
|
507 |
+
btn_temp0_HumanEval_ET.style.backgroundColor = '#d3d3d3'
|
508 |
+
span_temp0_HumanEval_ET.style.color = '#d3d3d3'
|
509 |
btn_temp0_8_HumanEval_ET.style.backgroundColor = '#386df4'
|
510 |
span_temp0_8_HumanEval_ET.style.color = '#386df4'
|
511 |
})
|
512 |
span_temp0_8_HumanEval_ET.addEventListener("click", function() {
|
513 |
Chart2.setOption(options[3])
|
514 |
+
btn_temp0_HumanEval_ET.style.backgroundColor = '#d3d3d3'
|
515 |
+
span_temp0_HumanEval_ET.style.color = '#d3d3d3'
|
516 |
btn_temp0_8_HumanEval_ET.style.backgroundColor = '#386df4'
|
517 |
span_temp0_8_HumanEval_ET.style.color = '#386df4'
|
518 |
})
|
index.html
CHANGED
@@ -112,16 +112,16 @@
|
|
112 |
<div class="section_plot__btnGroup" id="sec_plot__btnGroup1">
|
113 |
<button id="btn_temp0_HumanEval"></button>
|
114 |
<span id="span_temp0_HumanEval">Pass@1 (temp = 0)</span>
|
115 |
-
<button id="
|
116 |
-
<span id="
|
117 |
</div>
|
118 |
<div id="sec_plot__chart1" style="width:706.5px; height:550px;"></div>
|
119 |
</div>
|
120 |
|
121 |
<div class="section_plot__div" id="sec_plot__div2">
|
122 |
<div class="section_plot__btnGroup" id="sec_plot__btnGroup2">
|
123 |
-
<button id="
|
124 |
-
<span id="
|
125 |
<button id="btn_temp0_8_HumanEval_ET"></button>
|
126 |
<span id="span_temp0_8_HumanEval_ET">Pass@1 (temp = 0.8)</span>
|
127 |
</div>
|
|
|
112 |
<div class="section_plot__btnGroup" id="sec_plot__btnGroup1">
|
113 |
<button id="btn_temp0_HumanEval"></button>
|
114 |
<span id="span_temp0_HumanEval">Pass@1 (temp = 0)</span>
|
115 |
+
<button id="btn_temp0_8_HumanEval"></button>
|
116 |
+
<span id="span_temp0_8_HumanEval">Pass@1 (temp = 0.8)</span>
|
117 |
</div>
|
118 |
<div id="sec_plot__chart1" style="width:706.5px; height:550px;"></div>
|
119 |
</div>
|
120 |
|
121 |
<div class="section_plot__div" id="sec_plot__div2">
|
122 |
<div class="section_plot__btnGroup" id="sec_plot__btnGroup2">
|
123 |
+
<button id="btn_temp0_HumanEval_ET"></button>
|
124 |
+
<span id="span_temp0_HumanEval_ET">Pass@1 (temp = 0)</span>
|
125 |
<button id="btn_temp0_8_HumanEval_ET"></button>
|
126 |
<span id="span_temp0_8_HumanEval_ET">Pass@1 (temp = 0.8)</span>
|
127 |
</div>
|
style.css
CHANGED
@@ -195,7 +195,7 @@
|
|
195 |
margin-left: 5px;
|
196 |
cursor: pointer;
|
197 |
}
|
198 |
-
#
|
199 |
margin-left: 20px
|
200 |
}
|
201 |
#btn_temp0_HumanEval {
|
@@ -204,16 +204,16 @@
|
|
204 |
#span_temp0_HumanEval {
|
205 |
color: #386df4;
|
206 |
}
|
207 |
-
#
|
208 |
background-color: #d3d3d3;
|
209 |
}
|
210 |
-
#
|
211 |
color: #d3d3d3;
|
212 |
}
|
213 |
-
#
|
214 |
background-color: #386df4;
|
215 |
}
|
216 |
-
#
|
217 |
color: #386df4;
|
218 |
}
|
219 |
#btn_temp0_8_HumanEval_ET {
|
|
|
195 |
margin-left: 5px;
|
196 |
cursor: pointer;
|
197 |
}
|
198 |
+
#btn_temp0_8_HumanEval, #btn_temp0_8_HumanEval_ET{
|
199 |
margin-left: 20px
|
200 |
}
|
201 |
#btn_temp0_HumanEval {
|
|
|
204 |
#span_temp0_HumanEval {
|
205 |
color: #386df4;
|
206 |
}
|
207 |
+
#btn_temp0_8_HumanEval {
|
208 |
background-color: #d3d3d3;
|
209 |
}
|
210 |
+
#span_temp0_8_HumanEval {
|
211 |
color: #d3d3d3;
|
212 |
}
|
213 |
+
#btn_temp0_HumanEval_ET {
|
214 |
background-color: #386df4;
|
215 |
}
|
216 |
+
#span_temp0_HumanEval_ET {
|
217 |
color: #386df4;
|
218 |
}
|
219 |
#btn_temp0_8_HumanEval_ET {
|