id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L2-code-005158 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-000401 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([44, 63, 42, 84, 58])",
"assert abs(r0[0] - 58.2) < 1e-6",
"assert abs(r0[1] - 16.976) < 1e-6",
"r1 = summarise([31, 25, 36, 97])",
"assert abs(r1[0] - 47.25) < 1e-6... |
theo-eng-code-L2-code-013441 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 6000, 180)",
"assert abs(r0[0] - 3.39) < 1e-6",
"assert abs(r0[1] - 1768.4) < 1e-6",
"r1 = gear_ratio(0.28, 6000, 150)",
"assert abs(r1[0] - 4.22) < 1e-6",
"ass... |
theo-eng-code-L3-code-001724 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.2, 0.8)",
"assert abs(r0[0] - 6.43) < 1e-6",
"assert abs(r0[1] - 385.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(4... |
theo-eng-code-L2-code-015916 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([99, 95, 93, 68, 99])",
"assert abs(r0[0] - 90.8) < 1e-6",
"assert abs(r0[1] - 13.008) < 1e-6",
"r1 = summarise([95, 95, 76, 81, 97, 11])",
"assert abs(r1[0] - 75.83... |
theo-eng-code-L3-code-009699 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.41, 7000, 100)",
"assert abs(r0[0] - 10.82) < 1e-6",
"assert abs(r0[1] - 647.0) < 1e-6",
"r1 = gear_ratio(0.29, 13500, 150)",
"assert abs(r1[0] - 9.84) < 1e-6",
"asse... |
theo-eng-code-L2-code-014520 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.1, 0.9)",
"assert abs(r0[0] - 5.45) < 1e-6",
"assert abs(r0[1] - 327.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-014397 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-007432 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 15, -0.05, 0.1, 0.9, 0.5, 0)",
"assert abs(r0[0] - 0.0438) < 1e-6",
"assert abs(r0[1] - 0.65) < 1e-6",
"assert abs(r0[2] - 0.0438) < 1e-6",
"r1 = com_zmp(5, 26, 0.05, 0.12... |
theo-eng-code-L3-code-009315 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 29, -0.02, 0.04, 0.8, 0.6, 0.5)",
"assert abs(r0[0] - 0.0214) < 1e-6",
"assert abs(r0[1] - 0.6619) < 1e-6",
"assert abs(r0[2] - -0.0123) < 1e-6"
],
"subtask": "write... |
theo-eng-code-L2-code-003098 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 15, -0.1, 0.1, 0.5, 0.8, 0.5)",
"assert abs(r0[0] - 0.02) < 1e-6",
"assert abs(r0[1] - 0.68) < 1e-6",
"assert abs(r0[2] - -0.0147) < 1e-6",
"r1 = com_zmp(14, 10, -0.06, -... |
theo-eng-code-L2-code-003737 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(97, 2790, 60, 0.23, 2.7, 0.009, 1.5, 0.9, 0.95)",
"assert abs(r0[0] - 689.6) < 1e-6",
"assert abs(r0[1] - 13.36) < 1e-6",
"assert abs(r0[2] - 8.02) < 1e-6",
"r1 = erange(80,... |
theo-eng-code-L2-code-015083 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([60, 300, 60, 300], 1)",
"assert abs(r0 - 0.2) < 1e-6",
"r1 = rect_energy([480, 400, 90, 280, 500], 10)",
"assert abs(r1 - 4.8611) < 1e-6",
"r2 = rect_energy([130... |
theo-eng-code-L3-code-009804 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L2-code-003579 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.1, 1.0)",
"assert abs(r0[0] - 9.64) < 1e-6",
"assert abs(r0[1] - 578.6) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-001826 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(41, 19, 0.25)",
"assert abs(r0 - 26.29) < 1e-6",
"r1 = rms_torque(10, 6, 0.5)",
"assert abs(r1 - 8.25) < 1e-6",
"r2 = rms_torque(12, 5, 0.25)",
"assert abs(r2 - 7.4) <... |
theo-eng-code-L2-code-006842 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 22, 0.2, 0.8)",
"assert abs(r0[0] - 0.68) < 1e-6",
"assert abs(r0[1] - 40.9) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L3-code-010540 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 22, -0.1, 0.03, 0.9, 0.3, 0)",
"assert abs(r0[0] - -0.0227) < 1e-6",
"assert abs(r0[1] - 0.5432) < 1e-6",
"assert abs(r0[2] - -0.0227) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L3-code-005816 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(25, 15, 0.25)",
"assert abs(r0 - 18.03) < 1e-6",
"r1 = rms_torque(89, 30, 0.5)",
"assert abs(r1 - 66.41) < 1e-6",
"r2 = rms_torque(25, 6, 0.5)",
"assert abs(r2 - 18.18) ... |
theo-eng-code-L3-code-001974 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.2, 0.9)",
"assert abs(r0[0] - 5.0) < 1e-6",
"assert abs(r0[1] - 300.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(80... |
theo-eng-code-L3-code-009533 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(48, 31, 0.25)",
"assert abs(r0 - 36.01) < 1e-6",
"r1 = rms_torque(79, 36, 0.75)",
"assert abs(r1 - 70.74) < 1e-6",
"r2 = rms_torque(72, 15, 0.75)",
"assert abs(r2 - 62.8... |
theo-eng-code-L2-code-002623 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 14, 0.1, 0.05, 0.4, 0.3, 1)",
"assert abs(r0[0] - 0.0731) < 1e-6",
"assert abs(r0[1] - 0.3462) < 1e-6",
"assert abs(r0[2] - 0.0378) < 1e-6",
"r1 = com_zmp(12, 20, 0.1, 0.... |
theo-eng-code-L2-code-008831 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(22, 14, 0.25)",
"assert abs(r0 - 16.37) < 1e-6",
"r1 = rms_torque(43, 23, 0.25)",
"assert abs(r1 - 29.31) < 1e-6",
"r2 = rms_torque(67, 36, 0.75)",
"assert abs(r2 - 60... |
theo-eng-code-L2-code-006578 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 9500, 100)",
"assert abs(r0[0] - 13.97) < 1e-6",
"assert abs(r0[1] - 680.1) < 1e-6",
"r1 = gear_ratio(0.4, 7500, 100)",
"assert abs(r1[0] - 11.31) < 1e-6",
"ass... |
theo-eng-code-L3-code-013720 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 7500, 150)",
"assert abs(r0[0] - 6.41) < 1e-6",
"assert abs(r0[1] - 1170.3) < 1e-6",
"r1 = gear_ratio(0.25, 13000, 100)",
"assert abs(r1[0] - 12.25) < 1e-6",
"ass... |
theo-eng-code-L2-code-011663 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 300, 580, 0.3)",
"assert abs(r0[0] - 496.0) < 1e-6",
"assert abs(r0[1] - 0.91) < 1e-6",
"assert abs(r0[2] - 54.4) < 1e-6",
"r1 = runtime(0.5, 150, 440, 0.3)",
"a... |
theo-eng-code-L3-code-010906 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(28, 2330, 60, 0.27, 1.9, 0.008, 0.9, 0.94, 0.85)",
"assert abs(r0[0] - 251.0) < 1e-6",
"assert abs(r0[1] - 9.48) < 1e-6",
"assert abs(r0[2] - 5.69) < 1e-6",
"r1 = erange(83, 1... |
theo-eng-code-L3-code-012155 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.6, 100)",
"assert r0[0] == 222",
"assert r0[1] == 1",
"assert r0[2] == 222",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-011761 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(74, 2650, 60, 0.34, 2.5, 0.012, 0.7, 0.94, 0.85)",
"assert abs(r0[0] - 429.1) < 1e-6",
"assert abs(r0[1] - 14.66) < 1e-6",
"assert abs(r0[2] - 8.8) < 1e-6",
"r1 = erange(34,... |
theo-eng-code-L2-code-011493 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 110, 60, 0.3)",
"assert abs(r0[0] - 75.0) < 1e-6",
"assert abs(r0[1] - 12.0) < 1e-6",
"assert abs(r0[2] - 720.0) < 1e-6",
"r1 = runtime(1.0, 160, 130, 0.7)",
"as... |
theo-eng-code-L2-code-013740 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 290, 570, 0.5)",
"assert abs(r0[0] - 430.0) < 1e-6",
"assert abs(r0[1] - 0.21) < 1e-6",
"assert abs(r0[2] - 12.6) < 1e-6",
"r1 = runtime(0.2, 80, 530, 0.3)",
"as... |
theo-eng-code-L1-clarify-014687 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-010001 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 10",
"assert r0[2] == 1250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-008587 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(57, 1400, 120, 0.3, 2.5, 0.012, 0.8, 0.94, 0.95)",
"assert abs(r0[0] - 262.6) < 1e-6",
"assert abs(r0[1] - 20.62) < 1e-6",
"assert abs(r0[2] - 24.74) < 1e-6",
"r1 = erange(30,... |
theo-eng-code-L3-code-006341 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(27, 1650, 80, 0.23, 2.1, 0.012, 0.8, 0.94, 0.9)",
"assert abs(r0[0] - 219.8) < 1e-6",
"assert abs(r0[1] - 11.06) < 1e-6",
"assert abs(r0[2] - 8.85) < 1e-6"
],
"subtask"... |
theo-eng-code-L2-code-006956 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-015461 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.2, 2.5)",
"assert r0[0] == 250",
"assert r0[1] == 20",
"assert r0[2] == 5000",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-013573 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(90, 2590, 60, 0.33, 2.9, 0.01, 0.6, 0.88, 0.95)",
"assert abs(r0[0] - 603.8) < 1e-6",
"assert abs(r0[1] - 14.16) < 1e-6",
"assert abs(r0[2] - 8.5) < 1e-6",
"r1 = erange(51, ... |
theo-eng-code-L1-clarify-007364 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-010727 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(49, 9, 0.25)",
"assert abs(r0 - 25.71) < 1e-6",
"r1 = rms_torque(9, 7, 0.25)",
"assert abs(r1 - 7.55) < 1e-6",
"r2 = rms_torque(21, 10, 0.5)",
"assert abs(r2 - 16.45) ... |
theo-eng-code-L2-code-008720 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.0, 0.19, 60, 5.5, 1.5)",
"assert abs(r0[0] - 10.49) < 1e-6",
"assert abs(r0[1] - 0.2226) < 1e-6",
"assert abs(r0[2] - 10.83) < 1e-6",
"r1 = joint_torque(7.8, 0.46, 4... |
theo-eng-code-L2-code-014450 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.4, 0.15, 90, 0.0, 3.5)",
"assert abs(r0[0] - 5.44) < 1e-6",
"assert abs(r0[1] - 0.0555) < 1e-6",
"assert abs(r0[2] - 5.64) < 1e-6",
"r1 = joint_torque(3.9, 0.47, 90,... |
theo-eng-code-L2-code-014597 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(93, 4, 0.5)",
"assert abs(r0 - 65.82) < 1e-6",
"r1 = rms_torque(90, 23, 0.25)",
"assert abs(r1 - 49.21) < 1e-6",
"r2 = rms_torque(82, 16, 0.5)",
"assert abs(r2 - 59.08... |
theo-eng-code-L2-code-015644 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(29, 2230, 120, 0.32, 2.9, 0.01, 1.1, 0.9, 0.95)",
"assert abs(r0[0] - 101.4) < 1e-6",
"assert abs(r0[1] - 27.16) < 1e-6",
"assert abs(r0[2] - 32.59) < 1e-6",
"r1 = erange(25... |
theo-eng-code-L2-code-000829 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(75, [0, 25, 50, 75, 100], [0.74, 0.8, 0.89, 0.86, 0.8])",
"assert abs(r0 - 0.86) < 1e-6",
"r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.75, 0.85, 0.86, 0.87, 0.84])",
"ass... |
theo-eng-code-L2-code-015016 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.4, 0.46, 90, 0.0, 1.5)",
"assert abs(r0[0] - 12.18) < 1e-6",
"assert abs(r0[1] - 0.3809) < 1e-6",
"assert abs(r0[2] - 12.76) < 1e-6",
"r1 = joint_torque(3.0, 0.58, 3... |
theo-eng-code-L2-code-003550 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(67, 1490, 120, 0.32, 2.8, 0.013, 0.3, 0.9, 0.9)",
"assert abs(r0[0] - 241.8) < 1e-6",
"assert abs(r0[1] - 24.94) < 1e-6",
"assert abs(r0[2] - 29.92) < 1e-6",
"r1 = erange(89... |
theo-eng-code-L2-code-001644 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 4.5], [2.5, 5.0])",
"assert abs(r0 - 0.7071) < 1e-6",
"r1 = seg_len([2.0, 1.0], [2.5, 2.5])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([0.5, 4.0], [0.0, 4.5]... |
theo-eng-code-L2-code-008312 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.37, 14000, 100)",
"assert abs(r0[0] - 19.53) < 1e-6",
"assert abs(r0[1] - 716.9) < 1e-6",
"r1 = gear_ratio(0.25, 9500, 150)",
"assert abs(r1[0] - 5.97) < 1e-6",
"as... |
theo-eng-code-L3-code-007362 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.6, 100)",
"assert r0[0] == 56",
"assert r0[1] == 3",
"assert r0[2] == 168",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-009233 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 7, 0.1, 0.8)",
"assert abs(r0[0] - 10.0) < 1e-6",
"assert abs(r0[1] - 600.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(2... |
theo-eng-code-L2-code-002288 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 80, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 17",
"assert r0[2] == 2295",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 84.915) < 1e-6",
"r1... |
theo-eng-code-L3-code-008881 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 290, 480, 0.3)",
"assert abs(r0[0] - 423.0) < 1e-6",
"assert abs(r0[1] - 2.13) < 1e-6",
"assert abs(r0[2] - 127.7) < 1e-6",
"r1 = runtime(0.2, 230, 570, 0.7)",
"as... |
theo-eng-code-L2-code-013558 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([290, 180, 500, 230, 260], 10)",
"assert abs(r0 - 4.0556) < 1e-6",
"r1 = rect_energy([190, 310, 400, 300], 10)",
"assert abs(r1 - 3.3333) < 1e-6",
"r2 = rect_ener... |
theo-eng-code-L3-code-012858 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(63, 2640, 120, 0.36, 3.0, 0.01, 0.9, 0.94, 0.9)",
"assert abs(r0[0] - 188.2) < 1e-6",
"assert abs(r0[1] - 30.12) < 1e-6",
"assert abs(r0[2] - 36.15) < 1e-6"
],
"subtask... |
theo-eng-code-L1-code-015315 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-007353 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-014543 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 13, 0.04, 0.07, 0.7, 0.8, 0.5)",
"assert abs(r0[0] - 0.0526) < 1e-6",
"assert abs(r0[1] - 0.7419) < 1e-6",
"assert abs(r0[2] - 0.0148) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L3-code-011537 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.2, 1.0)",
"assert abs(r0[0] - 0.67) < 1e-6",
"assert abs(r0[1] - 40.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_ti... |
theo-eng-code-L2-code-006088 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 5500, 100)",
"assert abs(r0[0] - 6.01) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.36, 14500, 100)",
"assert abs(r1[0] - 19.68) < 1e-6",
"as... |
theo-eng-code-L2-code-005451 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.9, 0.44, 60, 5.0, 3.5)",
"assert abs(r0[0] - 22.24) < 1e-6",
"assert abs(r0[1] - 1.0906) < 1e-6",
"assert abs(r0[2] - 26.06) < 1e-6",
"r1 = joint_torque(6.4, 0.24, 9... |
theo-eng-code-L3-code-003889 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.37, 12500, 180)",
"assert abs(r0[0] - 9.69) < 1e-6",
"assert abs(r0[1] - 1290.4) < 1e-6",
"r1 = gear_ratio(0.36, 13000, 100)",
"assert abs(r1[0] - 17.64) < 1e-6",
"as... |
theo-eng-code-L2-code-003084 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.6, 50)",
"assert r0[0] == 83",
"assert r0[1] == 1",
"assert r0[2] == 83",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 14.94) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-000478 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 0.9)",
"assert abs(r0[0] - 2.5) < 1e-6",
"assert abs(r0[1] - 150.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(60... |
theo-eng-code-L2-code-015346 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 11, -0.06, 0.07, 0.9, 0.6, 0.5)",
"assert abs(r0[0] - 0.0081) < 1e-6",
"assert abs(r0[1] - 0.7429) < 1e-6",
"assert abs(r0[2] - -0.0298) < 1e-6",
"r1 = com_zmp(17, 19, 0.... |
theo-eng-code-L3-code-005110 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 17, 0.0, -0.02, 0.8, 0.6, 2)",
"assert abs(r0[0] - -0.0155) < 1e-6",
"assert abs(r0[1] - 0.6455) < 1e-6",
"assert abs(r0[2] - -0.147) < 1e-6",
"r1 = com_zmp(9, 22, 0.0, 0.01... |
theo-eng-code-L2-code-001819 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(97, 940, 120, 0.29, 2.5, 0.013, 1.0, 0.88, 0.85)",
"assert abs(r0[0] - 408.3) < 1e-6",
"assert abs(r0[1] - 20.19) < 1e-6",
"assert abs(r0[2] - 24.23) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L2-code-008034 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 230, 400, 0.7)",
"assert abs(r0[0] - 281.0) < 1e-6",
"assert abs(r0[1] - 0.32) < 1e-6",
"assert abs(r0[2] - 19.2) < 1e-6",
"r1 = runtime(0.5, 40, 410, 0.5)",
"as... |
theo-eng-code-L2-code-014056 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(35, 10, 0.5)",
"assert abs(r0 - 25.74) < 1e-6",
"r1 = rms_torque(83, 39, 0.75)",
"assert abs(r1 - 74.48) < 1e-6",
"r2 = rms_torque(7, 3, 0.5)",
"assert abs(r2 - 5.39) ... |
theo-eng-code-L2-code-012533 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 22, 0.2, 1.0)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-003946 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(98, 1630, 60, 0.24, 3.0, 0.01, 0.4, 0.9, 0.85)",
"assert abs(r0[0] - 887.8) < 1e-6",
"assert abs(r0[1] - 9.38) < 1e-6",
"assert abs(r0[2] - 5.63) < 1e-6",
"r1 = erange(74, 1... |
theo-eng-code-L3-code-004660 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 4500, 100)",
"assert abs(r0[0] - 4.92) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.26, 5500, 120)",
"assert abs(r1[0] - 4.49) < 1e-6",
"assert... |
theo-eng-code-L1-refuse-015917 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-011224 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(91, 1440, 80, 0.24, 2.4, 0.011, 1.2, 0.9, 0.95)",
"assert abs(r0[0] - 740.6) < 1e-6",
"assert abs(r0[1] - 11.67) < 1e-6",
"assert abs(r0[2] - 9.34) < 1e-6",
"r1 = erange(38, 2... |
theo-eng-code-L3-code-008062 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.6, 5)",
"assert r0[0] == 139",
"assert r0[1] == 16",
"assert r0[2] == 2224",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 40.032) < 1e-6",
"r1 = ... |
theo-eng-code-L1-refuse-014619 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-code-002316 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_average",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-clarify-005631 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-clarify-012177 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-013372 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([17, 59, 54, 29, 42, 90])",
"assert abs(r0[0] - 48.5) < 1e-6",
"assert abs(r0[1] - 25.603) < 1e-6",
"r1 = summarise([98, 27, 22, 95])",
"assert abs(r1[0] - 60.5) < 1... |
theo-eng-code-L1-clarify-003559 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-014542 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(20, 1230, 80, 0.31, 3.1, 0.009, 0.8, 0.94, 0.95)",
"assert abs(r0[0] - 148.5) < 1e-6",
"assert abs(r0[1] - 12.8) < 1e-6",
"assert abs(r0[2] - 10.24) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-015944 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 10500, 180)",
"assert abs(r0[0] - 9.24) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.31, 12500, 120)",
"assert abs(r1[0] - 12.17) < 1e-6",
"... |
theo-eng-code-L2-code-006049 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([480, 440, 370, 60], 2)",
"assert abs(r0 - 0.75) < 1e-6",
"r1 = rect_energy([420, 150, 360, 400, 500], 2)",
"assert abs(r1 - 1.0167) < 1e-6",
"r2 = rect_energy([3... |
theo-eng-code-L2-code-011158 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.6, 5)",
"assert r0[0] == 111",
"assert r0[1] == 21",
"assert r0[2] == 2331",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 41.958) < 1e-6",
"r1 ... |
theo-eng-code-L1-clarify-000248 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-003567 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 20, 3.7, 2.5)",
"assert r0[0] == 81",
"assert r0[1] == 27",
"assert r0[2] == 2187",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 20.23) < 1e-6",
"r1 ... |
theo-eng-code-L1-clarify-000457 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-009504 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 11500, 150)",
"assert abs(r0[0] - 10.4) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.39, 15000, 180)",
"assert abs(r1[0] - 12.25) < 1e-6",
"as... |
theo-eng-code-L2-code-002581 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 8000, 150)",
"assert abs(r0[0] - 7.84) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.42, 11000, 100)",
"assert abs(r1[0] - 17.42) < 1e-6",
"a... |
theo-eng-code-L3-code-013086 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 290, 300, 0.5)",
"assert abs(r0[0] - 295.0) < 1e-6",
"assert abs(r0[1] - 3.05) < 1e-6",
"assert abs(r0[2] - 183.1) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-012402 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([14, 57, 82, 77, 30, 84])",
"assert abs(r0[0] - 57.333) < 1e-6",
"assert abs(r0[1] - 29.432) < 1e-6",
"r1 = summarise([34, 96, 26, 39, 57])",
"assert abs(r1[0] - 50.... |
theo-eng-code-L2-code-003121 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-009050 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 15000, 100)",
"assert abs(r0[0] - 20.36) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.35, 8500, 120)",
"assert abs(r1[0] - 9.35) < 1e-6",
"as... |
theo-eng-code-L2-code-005757 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([92, 87, 41, 40])",
"assert r0[0] == 65",
"assert abs(r0[1] - 28.367) < 1e-6",
"r1 = summarise([18, 29, 81, 66, 95])",
"assert abs(r1[0] - 57.8) < 1e-6",
"assert... |
theo-eng-code-L2-code-014582 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 28, 0.03, -0.01, 0.5, 0.8, 0)",
"assert abs(r0[0] - 0.0005) < 1e-6",
"assert abs(r0[1] - 0.7211) < 1e-6",
"assert abs(r0[2] - 0.0005) < 1e-6",
"r1 = com_zmp(12, 12, 0.01,... |
theo-eng-code-L3-code-015209 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.8, 0.28, 30, 1.0, 0.5)",
"assert abs(r0[0] - 2.61) < 1e-6",
"assert abs(r0[1] - 0.1254) < 1e-6",
"assert abs(r0[2] - 2.67) < 1e-6",
"r1 = joint_torque(7.6, 0.31, 60, 2... |
theo-eng-code-L1-refuse-012229 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-004452 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.2, 0.1, 60, 2.0, 1.0)",
"assert abs(r0[0] - 4.33) < 1e-6",
"assert abs(r0[1] - 0.0407) < 1e-6",
"assert abs(r0[2] - 4.37) < 1e-6",
"r1 = joint_torque(7.7, 0.52, 60, 1.... |
theo-eng-code-L2-code-008947 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([32, 16, 56, 49, 47, 92])",
"assert abs(r0[0] - 48.667) < 1e-6",
"assert abs(r0[1] - 25.61) < 1e-6",
"r1 = summarise([51, 28, 22, 49, 67, 50])",
"assert abs(r1[0] - ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.