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-L3-code-003156 | 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_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 80, 3.2, 10)",
"assert r0[0] == 156",
"assert r0[1] == 17",
"assert r0[2] == 2652",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 84.864) < 1e-6"
]... |
theo-eng-code-L2-code-005490 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 11500, 150)",
"assert abs(r0[0] - 7.51) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6",
"r1 = gear_ratio(0.34, 11000, 120)",
"assert abs(r1[0] - 11.75) < 1e-6",
"... |
theo-eng-code-L2-code-006639 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([150, 170, 230], 5)",
"assert abs(r0 - 0.7639) < 1e-6",
"r1 = rect_energy([180, 300, 200], 1)",
"assert abs(r1 - 0.1889) < 1e-6",
"r2 = rect_energy([90, 190, 420]... |
theo-eng-code-L2-code-012503 | 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(1.0, 160, 340, 0.5)",
"assert abs(r0[0] - 250.0) < 1e-6",
"assert abs(r0[1] - 3.6) < 1e-6",
"assert abs(r0[2] - 216.0) < 1e-6",
"r1 = runtime(0.1, 200, 510, 0.3)",
"a... |
theo-eng-code-L3-code-006672 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 16, 0.08, 0.14, 0.3, 0.7, 1)",
"assert abs(r0[0] - 0.1074) < 1e-6",
"assert abs(r0[1] - 0.4829) < 1e-6",
"assert abs(r0[2] - 0.0582) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L2-code-005516 | 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([31, 41, 68, 36])",
"assert r0[0] == 44",
"assert abs(r0[1] - 16.513) < 1e-6",
"r1 = summarise([41, 91, 11, 19, 65])",
"assert abs(r1[0] - 45.4) < 1e-6",
"assert... |
theo-eng-code-L2-code-005937 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')",
"assert r0[0] == 80",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r1[0] == 80",
... |
theo-eng-code-L3-code-000907 | 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_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(7, 6, 0.25)",
"assert abs(r0 - 6.26) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L3-code-013306 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 130, 380, 0.3)",
"assert abs(r0[0] - 305.0) < 1e-6",
"assert abs(r0[1] - 0.59) < 1e-6",
"assert abs(r0[2] - 35.4) < 1e-6",
"r1 = runtime(0.1, 160, 30, 0.5)",
"asse... |
theo-eng-code-L3-code-014632 | 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_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(61, 28, 0.5)",
"assert abs(r0 - 47.46) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-009663 | 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(11, 28, -0.06, 0.15, 0.3, 0.7, 0.5)",
"assert abs(r0[0] - 0.0908) < 1e-6",
"assert abs(r0[1] - 0.5872) < 1e-6",
"assert abs(r0[2] - 0.0608) < 1e-6",
"r1 = com_zmp(14, 24, 0.0... |
theo-eng-code-L3-code-007376 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 60, 370, 0.5)",
"assert abs(r0[0] - 215.0) < 1e-6",
"assert abs(r0[1] - 2.09) < 1e-6",
"assert abs(r0[2] - 125.6) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-001189 | 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(19, 21, -0.03, -0.03, 0.4, 0.4, 0)",
"assert abs(r0[0] - -0.03) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - -0.03) < 1e-6",
"r1 = com_zmp(9, 25, -0.04, 0.0... |
theo-eng-code-L3-code-014364 | 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(100, 50, 0.2, 1.0)",
"assert abs(r0[0] - 2.0) < 1e-6",
"assert abs(r0[1] - 120.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L3-code-013765 | 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(0.1, 60, 240, 0.5)",
"assert abs(r0[0] - 150.0) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"r1 = runtime(0.5, 280, 90, 0.5)",
"assert... |
theo-eng-code-L2-code-010564 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([500, 470, 390, 420], 2)",
"assert abs(r0 - 0.9889) < 1e-6",
"r1 = rect_energy([250, 100, 170, 340, 240], 10)",
"assert abs(r1 - 3.0556) < 1e-6",
"r2 = rect_energ... |
theo-eng-code-L2-code-015965 | 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.36, 5500, 150)",
"assert abs(r0[0] - 4.98) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.39, 8000, 120)",
"assert abs(r1[0] - 9.8) < 1e-6",
"asse... |
theo-eng-code-L3-code-007648 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(70, 1970, 120, 0.28, 1.9, 0.01, 0.4, 0.88, 0.85)",
"assert abs(r0[0] - 333.1) < 1e-6",
"assert abs(r0[1] - 17.86) < 1e-6",
"assert abs(r0[2] - 21.43) < 1e-6",
"r1 = erange(31,... |
theo-eng-code-L2-code-008185 | 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.43, 9000, 120)",
"assert abs(r0[0] - 12.16) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.43, 7000, 100)",
"assert abs(r1[0] - 11.35) < 1e-6",
"as... |
theo-eng-code-L3-code-000023 | 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(60, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L2-code-011478 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.3) < 1e-6",
"assert abs(r0[1] - 18.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_ti... |
theo-eng-code-L2-code-002367 | 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(40, [0, 25, 50, 75, 100], [0.7, 0.82, 0.9, 0.89, 0.83])",
"assert abs(r0 - 0.868) < 1e-6",
"r1 = interp_eff(75, [0, 25, 50, 75, 100], [0.77, 0.83, 0.85, 0.85, 0.84])",
"as... |
theo-eng-code-L2-code-008857 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([10, 81, 67, 44, 88, 24])",
"assert abs(r0[0] - 52.333) < 1e-6",
"assert abs(r0[1] - 31.538) < 1e-6",
"r1 = summarise([42, 21, 89, 62, 61])",
"assert r1[0] == 55",
... |
theo-eng-code-L1-code-008199 | 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_chain",
"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-L2-code-004251 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.7, 2.5)",
"assert r0[0] == 81",
"assert r0[1] == 14",
"assert r0[2] == 1134",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 10.489) < 1e-6",
"r1... |
theo-eng-code-L2-code-006213 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([180, 440, 240, 220, 370], 10)",
"assert abs(r0 - 4.0278) < 1e-6",
"r1 = rect_energy([110, 180, 90, 200, 90], 5)",
"assert abs(r1 - 0.9306) < 1e-6",
"r2 = rect_en... |
theo-eng-code-L3-code-002960 | 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(0.2, 290, 550, 0.5)",
"assert abs(r0[0] - 420.0) < 1e-6",
"assert abs(r0[1] - 0.43) < 1e-6",
"assert abs(r0[2] - 25.7) < 1e-6",
"r1 = runtime(0.2, 230, 540, 0.3)",
"ass... |
theo-eng-code-L2-code-010089 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 12, 0.03, 0.02, 0.8, 0.7, 2)",
"assert abs(r0[0] - 0.0229) < 1e-6",
"assert abs(r0[1] - 0.7294) < 1e-6",
"assert abs(r0[2] - -0.1258) < 1e-6",
"r1 = com_zmp(14, 11, -0.05,... |
theo-eng-code-L2-code-004626 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(45, [0, 25, 50, 75, 100], [0.76, 0.83, 0.88, 0.89, 0.82])",
"assert abs(r0 - 0.87) < 1e-6",
"r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.76, 0.81, 0.85, 0.88, 0.8])",
"as... |
theo-eng-code-L3-code-006291 | 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_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 14500, 150)",
"assert abs(r0[0] - 16.4) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-011638 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(71, 10, 0.5)",
"assert abs(r0 - 50.7) < 1e-6",
"r1 = rms_torque(41, 32, 0.5)",
"assert abs(r1 - 36.78) < 1e-6",
"r2 = rms_torque(86, 20, 0.5)",
"assert abs(r2 - 62.43)... |
theo-eng-code-L2-code-001970 | 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.8, 0.47, 90, 5.0, 3.0)",
"assert abs(r0[0] - 36.42) < 1e-6",
"assert abs(r0[1] - 1.5316) < 1e-6",
"assert abs(r0[2] - 41.02) < 1e-6",
"r1 = joint_torque(1.9, 0.25, 6... |
theo-eng-code-L2-code-011626 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([160, 360, 60], 10)",
"assert abs(r0 - 1.6111) < 1e-6",
"r1 = rect_energy([80, 380, 370, 480], 1)",
"assert abs(r1 - 0.3639) < 1e-6",
"r2 = rect_energy([90, 210, ... |
theo-eng-code-L3-code-003805 | 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_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 20, 3.2, 50)",
"assert r0[0] == 94",
"assert r0[1] == 2",
"assert r0[2] == 188",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 30.08) < 1e-6"
],
... |
theo-eng-code-L3-code-014282 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.0, 0.1, 60, 5.5, 0.0)",
"assert abs(r0[0] - 7.65) < 1e-6",
"assert abs(r0[1] - 0.0783) < 1e-6",
"assert abs(r0[2] - 7.65) < 1e-6",
"r1 = joint_torque(1.9, 0.32, 30, 6.... |
theo-eng-code-L2-code-006964 | 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(40, 7, 0.1, 0.9)",
"assert abs(r0[0] - 5.71) < 1e-6",
"assert abs(r0[1] - 342.9) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-005892 | 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([170, 280, 70], 5)",
"assert abs(r0 - 0.7222) < 1e-6",
"r1 = rect_energy([430, 210, 180, 210, 370], 5)",
"assert abs(r1 - 1.9444) < 1e-6",
"r2 = rect_energy([340,... |
theo-eng-code-L2-code-002948 | 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(91, 21, 0.75)",
"assert abs(r0 - 79.5) < 1e-6",
"r1 = rms_torque(17, 5, 0.75)",
"assert abs(r1 - 14.93) < 1e-6",
"r2 = rms_torque(52, 15, 0.5)",
"assert abs(r2 - 38.27... |
theo-eng-code-L2-code-005980 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 8000, 150)",
"assert abs(r0[0] - 7.24) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.3, 7500, 100)",
"assert abs(r1[0] - 8.48) < 1e-6",
"asse... |
theo-eng-code-L3-code-012719 | 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, 190, 330, 0.3)",
"assert abs(r0[0] - 288.0) < 1e-6",
"assert abs(r0[1] - 3.12) < 1e-6",
"assert abs(r0[2] - 187.5) < 1e-6",
"r1 = runtime(0.5, 270, 220, 0.5)",
"as... |
theo-eng-code-L2-code-015788 | 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(500, 60, 3.2, 50)",
"assert r0[0] == 156",
"assert r0[1] == 3",
"assert r0[2] == 468",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 74.88) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-008670 | 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": "1",
"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-L3-code-008286 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 27, -0.07, 0.0, 0.8, 0.9, 0.5)",
"assert abs(r0[0] - -0.0289) < 1e-6",
"assert abs(r0[1] - 0.8587) < 1e-6",
"assert abs(r0[2] - -0.0727) < 1e-6",
"r1 = com_zmp(11, 13, 0.01... |
theo-eng-code-L3-code-009209 | 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, 11000, 150)",
"assert abs(r0[0] - 9.4) < 1e-6",
"assert abs(r0[1] - 1170.3) < 1e-6",
"r1 = gear_ratio(0.42, 9500, 120)",
"assert abs(r1[0] - 12.53) < 1e-6",
"asse... |
theo-eng-code-L2-code-015571 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 41",
"assert r0[2] == 2214",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-008719 | 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(6, 22, 0.03, -0.01, 0.7, 0.3, 0)",
"assert abs(r0[0] - -0.0014) < 1e-6",
"assert abs(r0[1] - 0.3857) < 1e-6",
"assert abs(r0[2] - -0.0014) < 1e-6",
"r1 = com_zmp(5, 11, -0.05... |
theo-eng-code-L2-code-010203 | 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(200, 10, 3.7, 50)",
"assert r0[0] == 54",
"assert r0[1] == 2",
"assert r0[2] == 108",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 19.98) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-006624 | 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(31, 25, 0.25)",
"assert abs(r0 - 26.63) < 1e-6",
"r1 = rms_torque(36, 12, 0.75)",
"assert abs(r1 - 31.75) < 1e-6",
"r2 = rms_torque(93, 25, 0.5)",
"assert abs(r2 - 68.... |
theo-eng-code-L2-code-002460 | 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, 60, 3.7, 5)",
"assert r0[0] == 135",
"assert r0[1] == 25",
"assert r0[2] == 3375",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 62.438) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-006044 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 230, 110, 0.3)",
"assert abs(r0[0] - 146.0) < 1e-6",
"assert abs(r0[1] - 6.16) < 1e-6",
"assert abs(r0[2] - 369.9) < 1e-6",
"r1 = runtime(0.1, 180, 550, 0.5)",
"... |
theo-eng-code-L2-code-011944 | 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(200, 80, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 81",
"assert r0[2] == 4374",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-001820 | 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([2.5, 0.0], [2.0, 2.0])",
"assert abs(r0 - 2.0616) < 1e-6",
"r1 = seg_len([0.0, 5.0], [1.5, 3.0])",
"assert abs(r1 - 2.5) < 1e-6",
"r2 = seg_len([4.5, 4.5], [2.5, 3.5])",... |
theo-eng-code-L2-code-004273 | 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.7, 50)",
"assert r0[0] == 216",
"assert r0[1] == 1",
"assert r0[2] == 216",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-010235 | 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(97, 2440, 120, 0.26, 2.7, 0.011, 1.0, 0.9, 0.95)",
"assert abs(r0[0] - 388.7) < 1e-6",
"assert abs(r0[1] - 23.71) < 1e-6",
"assert abs(r0[2] - 28.45) < 1e-6",
"r1 = erange(91,... |
theo-eng-code-L2-code-008661 | 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_sumloop",
"user_template": "1",
"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-003795 | 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([58, 96, 52, 87, 70, 96])",
"assert abs(r0[0] - 76.5) < 1e-6",
"assert abs(r0[1] - 19.264) < 1e-6",
"r1 = summarise([18, 25, 15, 66, 67, 71])",
"assert abs(r1[0] - 4... |
theo-eng-code-L2-code-001133 | 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(9, 19, 0.06, 0.09, 0.4, 0.8, 2)",
"assert abs(r0[0] - 0.0804) < 1e-6",
"assert abs(r0[1] - 0.6714) < 1e-6",
"assert abs(r0[2] - -0.0565) < 1e-6",
"r1 = com_zmp(11, 22, -0.07,... |
theo-eng-code-L3-code-010305 | 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_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(17, 4, 0.5)",
"assert abs(r0 - 12.35) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-001308 | 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-001233 | 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(80, 11, 0.1, 1.0)",
"assert abs(r0[0] - 8.18) < 1e-6",
"assert abs(r0[1] - 490.9) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-010316 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 130, 160, 0.5)",
"assert abs(r0[0] - 145.0) < 1e-6",
"assert abs(r0[1] - 6.21) < 1e-6",
"assert abs(r0[2] - 372.4) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-014121 | 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, 270, 200, 0.5)",
"assert abs(r0[0] - 235.0) < 1e-6",
"assert abs(r0[1] - 3.83) < 1e-6",
"assert abs(r0[2] - 229.8) < 1e-6",
"r1 = runtime(0.2, 150, 260, 0.7)",
"... |
theo-eng-code-L2-code-002706 | 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, 1650, 60, 0.3, 2.1, 0.008, 1.3, 0.92, 0.9)",
"assert abs(r0[0] - 715.1) < 1e-6",
"assert abs(r0[1] - 9.31) < 1e-6",
"assert abs(r0[2] - 5.59) < 1e-6",
"r1 = erange(40, 2... |
theo-eng-code-L2-code-010416 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 180, 180, 0.3)",
"assert abs(r0[0] - 180.0) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 30.0) < 1e-6",
"r1 = runtime(0.1, 290, 410, 0.7)",
"as... |
theo-eng-code-L1-code-000961 | 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_power",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-clarify-010154 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-008458 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 15, 0.08, -0.02, 0.3, 0.9, 0)",
"assert abs(r0[0] - 0.0223) < 1e-6",
"assert abs(r0[1] - 0.6462) < 1e-6",
"assert abs(r0[2] - 0.0223) < 1e-6",
"r1 = com_zmp(5, 22, -0.02,... |
theo-eng-code-L1-code-014663 | 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_chain",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-004850 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(42, 30, 0.5)",
"assert abs(r0 - 36.5) < 1e-6",
"r1 = rms_torque(50, 40, 0.75)",
"assert abs(r1 - 47.7) < 1e-6",
"r2 = rms_torque(50, 3, 0.75)",
"assert abs(r2 - 43.33) <... |
theo-eng-code-L2-code-005679 | 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_squareloop",
"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-L1-clarify-001845 | 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-005603 | 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(1.6, 0.35, 90, 7.5, 1.5)",
"assert abs(r0[0] - 28.5) < 1e-6",
"assert abs(r0[1] - 0.9841) < 1e-6",
"assert abs(r0[2] - 29.97) < 1e-6",
"r1 = joint_torque(5.5, 0.12, 60... |
theo-eng-code-L2-code-015039 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(85, [0, 25, 50, 75, 100], [0.76, 0.85, 0.88, 0.88, 0.83])",
"assert abs(r0 - 0.86) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.78, 0.85, 0.86, 0.87, 0.85])",
"a... |
theo-eng-code-L2-code-011962 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 110, 530, 0.5)",
"assert abs(r0[0] - 320.0) < 1e-6",
"assert abs(r0[1] - 2.81) < 1e-6",
"assert abs(r0[2] - 168.8) < 1e-6",
"r1 = runtime(0.5, 240, 500, 0.5)",
"... |
theo-eng-code-L2-code-012165 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(78, 40, 0.5)",
"assert abs(r0 - 61.98) < 1e-6",
"r1 = rms_torque(62, 25, 0.75)",
"assert abs(r1 - 55.13) < 1e-6",
"r2 = rms_torque(99, 30, 0.5)",
"assert abs(r2 - 73.1... |
theo-eng-code-L2-code-006007 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.7, 5)",
"assert r0[0] == 81",
"assert r0[1] == 7",
"assert r0[2] == 567",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 10.489) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-012378 | 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(44, 5, 0.25)",
"assert abs(r0 - 22.42) < 1e-6",
"r1 = rms_torque(32, 18, 0.75)",
"assert abs(r1 - 29.14) < 1e-6",
"r2 = rms_torque(52, 10, 0.25)",
"assert abs(r2 - 27.... |
theo-eng-code-L1-clarify-009814 | 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": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-002064 | 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, 240, 450, 0.7)",
"assert abs(r0[0] - 303.0) < 1e-6",
"assert abs(r0[1] - 2.97) < 1e-6",
"assert abs(r0[2] - 178.2) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-008611 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([70, 470, 400, 500], 10)",
"assert abs(r0 - 4.0) < 1e-6",
"r1 = rect_energy([430, 390, 360, 150, 310], 1)",
"assert abs(r1 - 0.4556) < 1e-6",
"r2 = rect_energy([3... |
theo-eng-code-L2-code-006357 | 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(100, 7, 0.2, 1.0)",
"assert abs(r0[0] - 14.29) < 1e-6",
"assert abs(r0[1] - 857.1) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_ti... |
theo-eng-code-L2-code-011618 | 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(9, 27, -0.04, 0.0, 0.7, 0.9, 0.5)",
"assert abs(r0[0] - -0.01) < 1e-6",
"assert abs(r0[1] - 0.85) < 1e-6",
"assert abs(r0[2] - -0.0533) < 1e-6",
"r1 = com_zmp(14, 13, -0.1, 0... |
theo-eng-code-L1-refuse-003960 | 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_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-003966 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([360, 140, 450, 480], 10)",
"assert abs(r0 - 3.9722) < 1e-6",
"r1 = rect_energy([310, 100, 160, 270], 10)",
"assert abs(r1 - 2.3333) < 1e-6",
"r2 = rect_energy([3... |
theo-eng-code-L3-code-004342 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 18, -0.1, 0.08, 0.3, 0.9, 1)",
"assert abs(r0[0] - 0.0157) < 1e-6",
"assert abs(r0[1] - 0.6857) < 1e-6",
"assert abs(r0[2] - -0.0542) < 1e-6",
"r1 = com_zmp(14, 26, -0.02, ... |
theo-eng-code-L2-code-015373 | 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(20, 7, 0.1, 0.9)",
"assert abs(r0[0] - 2.86) < 1e-6",
"assert abs(r0[1] - 171.4) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L3-code-001359 | 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_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 80, 3.7, 10)",
"assert r0[0] == 54",
"assert r0[1] == 41",
"assert r0[2] == 2214",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 81.918) < 1e-6"
],... |
theo-eng-code-L2-code-008409 | 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(9, 19, 0.04, 0.13, 0.8, 0.6, 0)",
"assert abs(r0[0] - 0.1011) < 1e-6",
"assert abs(r0[1] - 0.6643) < 1e-6",
"assert abs(r0[2] - 0.1011) < 1e-6",
"r1 = com_zmp(7, 21, 0.0, 0.0... |
theo-eng-code-L1-code-004670 | 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_squares",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-014160 | 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([47, 10, 88, 47, 37, 61])",
"assert abs(r0[0] - 48.333) < 1e-6",
"assert abs(r0[1] - 25.828) < 1e-6",
"r1 = summarise([88, 61, 28, 42, 79])",
"assert abs(r1[0] - 59.... |
theo-eng-code-L3-code-001256 | 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_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.6, 2.5)",
"assert r0[0] == 222",
"assert r0[1] == 6",
"assert r0[2] == 1332",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6"
]... |
theo-eng-code-L2-code-006158 | 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_prodloop",
"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-L1-clarify-014887 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-005042 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([91, 64, 63, 85, 61])",
"assert abs(r0[0] - 72.8) < 1e-6",
"assert abs(r0[1] - 14.078) < 1e-6",
"r1 = summarise([78, 92, 31, 72])",
"assert abs(r1[0] - 68.25) < 1e-6... |
theo-eng-code-L3-code-001748 | 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(28, 1900, 120, 0.28, 2.5, 0.007, 1.0, 0.88, 0.95)",
"assert abs(r0[0] - 133.1) < 1e-6",
"assert abs(r0[1] - 19.99) < 1e-6",
"assert abs(r0[2] - 23.99) < 1e-6",
"r1 = erange(33... |
theo-eng-code-L2-code-003922 | 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(300, 60, 3.7, 2.5)",
"assert r0[0] == 81",
"assert r0[1] == 81",
"assert r0[2] == 6561",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 60.689) < 1e-6",
"r1... |
theo-eng-code-L3-code-008901 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(93, 2040, 60, 0.33, 2.9, 0.007, 1.2, 0.9, 0.95)",
"assert abs(r0[0] - 778.5) < 1e-6",
"assert abs(r0[1] - 11.35) < 1e-6",
"assert abs(r0[2] - 6.81) < 1e-6",
"r1 = erange(92, 9... |
theo-eng-code-L2-code-000681 | 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(200, 10, 3.7, 10)",
"assert r0[0] == 54",
"assert r0[1] == 6",
"assert r0[2] == 324",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-002735 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 16, -0.04, 0.0, 0.3, 0.7, 1)",
"assert abs(r0[0] - -0.0154) < 1e-6",
"assert abs(r0[1] - 0.5462) < 1e-6",
"assert abs(r0[2] - -0.0711) < 1e-6",
"r1 = com_zmp(19, 24, 0.02, ... |
theo-eng-code-L2-code-001755 | 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([500, 480, 150, 200, 310], 2)",
"assert abs(r0 - 0.9111) < 1e-6",
"r1 = rect_energy([450, 210, 320, 340, 320], 10)",
"assert abs(r1 - 4.5556) < 1e-6",
"r2 = rect_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.