interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / bench / results / trap / HumanEval_53_add.json

22 lines · 982 bytes Raw Blame History
1{
2 "name": "HumanEval_53_add",
3 "language": "om",
4 "temperature": 0.0,
5 "top_p": 1.0,
6 "max_tokens": 0,
7 "prompt": "om2\nnote Add two numbers x and y\nnote >>> add_ 2 3\nnote 5\nnote >>> add_ 5 7\nnote 12\nnote Omega name: add is add_ here.\nfn add_ x long y long to long\n",
8 "tests": "fn tc_0 to bool\nr = add_ 0 1\nret eq r 1\nend\nfn tc_1 to bool\nr = add_ 1 0\nret eq r 1\nend\nfn tc_2 to bool\nr = add_ 2 3\nret eq r 5\nend\nfn tc_3 to bool\nr = add_ 5 7\nret eq r 12\nend\nfn tc_4 to bool\nr = add_ 7 5\nret eq r 12\nend\ntext mpe_ok \"MultiPL-E Omega: all tests passed\\n\"\nfn main to int\nif not tc_0\nret 1\nend\nif not tc_1\nret 2\nend\nif not tc_2\nret 3\nend\nif not tc_3\nret 4\nend\nif not tc_4\nret 5\nend\nw = write 1 mpe_ok 0 len mpe_ok\nret 0\nend",
9 "completions": [
10 "trap 5\nend\n"
11 ],
12 "stop_tokens": [
13 "\nfn ",
14 "\nstruct ",
15 "\nglobal ",
16 "\ntext ",
17 "\nconst ",
18 "\nlayout ",
19 "\nabstract "
20 ],
21 "stub_mode": "trap"
22}