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-005539 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.1, 0.11, 45, 7.0, 1.5)",
"assert abs(r0[0] - 7.67) < 1e-6",
"assert abs(r0[1] - 0.1093) < 1e-6",
"assert abs(r0[2] - 7.83) < 1e-6",
"r1 = joint_torque(4.1, 0.51, 30, 5... |
theo-eng-code-L2-code-001227 | 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, 40, 3.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 14",
"assert r0[2] == 1316",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 42.112) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-004617 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(68, 16, 0.75)",
"assert abs(r0 - 59.43) < 1e-6",
"r1 = rms_torque(78, 31, 0.75)",
"assert abs(r1 - 69.31) < 1e-6",
"r2 = rms_torque(72, 16, 0.5)",
"assert abs(r2 - 52.... |
theo-eng-code-L2-code-005938 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 230, 520, 0.5)",
"assert abs(r0[0] - 375.0) < 1e-6",
"assert abs(r0[1] - 2.4) < 1e-6",
"assert abs(r0[2] - 144.0) < 1e-6",
"r1 = runtime(1.0, 220, 30, 0.5)",
"as... |
theo-eng-code-L2-code-010181 | 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_maxloop",
"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-000356 | 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_countloop",
"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-010478 | 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.7, 0.8, 0.85, 0.86, 0.81])",
"assert abs(r0 - 0.86) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.7, 0.84, 0.9, 0.87, 0.81])",
"asser... |
theo-eng-code-L1-code-003326 | 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_join",
"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-L3-code-000619 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 20, -0.05, -0.03, 0.5, 0.8, 0.5)",
"assert abs(r0[0] - -0.0379) < 1e-6",
"assert abs(r0[1] - 0.6818) < 1e-6",
"assert abs(r0[2] - -0.0726) < 1e-6",
"r1 = com_zmp(19, 13, 0.... |
theo-eng-code-L3-code-006637 | 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(20, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.33) < 1e-6",
"assert abs(r0[1] - 20.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r1 ... |
theo-eng-code-L1-clarify-013924 | 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-code-001851 | 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_nested",
"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-014966 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 40, 580, 0.7)",
"assert abs(r0[0] - 202.0) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - 26.7) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L3-code-002126 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 29, -0.1, 0.04, 0.4, 0.8, 0.5)",
"assert abs(r0[0] - 0.0015) < 1e-6",
"assert abs(r0[1] - 0.69) < 1e-6",
"assert abs(r0[2] - -0.0337) < 1e-6",
"r1 = com_zmp(6, 19, -0.03, 0... |
theo-eng-code-L1-clarify-002366 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-011387 | 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": "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-003727 | 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.37, 12000, 120)",
"assert abs(r0[0] - 13.95) < 1e-6",
"assert abs(r0[1] - 860.3) < 1e-6",
"r1 = gear_ratio(0.3, 14000, 180)",
"assert abs(r1[0] - 8.8) < 1e-6",
"ass... |
theo-eng-code-L2-code-015147 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.6, 0.45, 30, 4.0, 2.5)",
"assert abs(r0[0] - 10.59) < 1e-6",
"assert abs(r0[1] - 0.918) < 1e-6",
"assert abs(r0[2] - 12.89) < 1e-6",
"r1 = joint_torque(7.5, 0.29, 90... |
theo-eng-code-L2-code-010654 | 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([90, 27, 96, 67])",
"assert r0[0] == 70",
"assert abs(r0[1] - 31.273) < 1e-6",
"r1 = summarise([86, 38, 86, 96, 41, 96])",
"assert abs(r1[0] - 73.833) < 1e-6",
"... |
theo-eng-code-L1-code-015947 | 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": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-009574 | 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, 27, -0.1, -0.01, 0.9, 0.4, 0)",
"assert abs(r0[0] - -0.0241) < 1e-6",
"assert abs(r0[1] - 0.4781) < 1e-6",
"assert abs(r0[2] - -0.0241) < 1e-6",
"r1 = com_zmp(16, 28, 0.05... |
theo-eng-code-L3-code-009266 | 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_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.1, 0.9)",
"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"
],
"subta... |
theo-eng-code-L3-code-014959 | 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_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.2, 1.0)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 48.0) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask":... |
theo-eng-code-L2-code-004244 | 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, 20, 3.7, 50)",
"assert r0[0] == 81",
"assert r0[1] == 2",
"assert r0[2] == 162",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-000792 | 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(32, 1640, 120, 0.36, 2.0, 0.011, 0.7, 0.94, 0.95)",
"assert abs(r0[0] - 149.8) < 1e-6",
"assert abs(r0[1] - 20.29) < 1e-6",
"assert abs(r0[2] - 24.35) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-012679 | 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": "1",
"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-L2-code-002389 | 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([350, 60, 280], 5)",
"assert abs(r0 - 0.9583) < 1e-6",
"r1 = rect_energy([340, 280, 80], 1)",
"assert abs(r1 - 0.1944) < 1e-6",
"r2 = rect_energy([320, 200, 180],... |
theo-eng-code-L2-code-010157 | 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.4, 12000, 100)",
"assert abs(r0[0] - 18.1) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6",
"r1 = gear_ratio(0.45, 8500, 100)",
"assert abs(r1[0] - 14.42) < 1e-6",
"ass... |
theo-eng-code-L3-code-012712 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.7, 2.5)",
"assert r0[0] == 216",
"assert r0[1] == 6",
"assert r0[2] == 1296",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-012553 | 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(1.0, 180, 270, 0.3)",
"assert abs(r0[0] - 243.0) < 1e-6",
"assert abs(r0[1] - 3.7) < 1e-6",
"assert abs(r0[2] - 222.2) < 1e-6",
"r1 = runtime(1.0, 110, 570, 0.3)",
"a... |
theo-eng-code-L1-clarify-008429 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-015582 | 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(2.2, 0.39, 90, 8.0, 3.5)",
"assert abs(r0[0] - 34.82) < 1e-6",
"assert abs(r0[1] - 1.3283) < 1e-6",
"assert abs(r0[2] - 39.46) < 1e-6",
"r1 = joint_torque(6.3, 0.37, 30,... |
theo-eng-code-L3-code-002642 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 14000, 150)",
"assert abs(r0[0] - 9.15) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6",
"r1 = gear_ratio(0.35, 7500, 120)",
"assert abs(r1[0] - 8.25) < 1e-6",
"asse... |
theo-eng-code-L2-code-004330 | 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(11, 27, 0.04, 0.06, 0.9, 0.5, 1)",
"assert abs(r0[0] - 0.0542) < 1e-6",
"assert abs(r0[1] - 0.6158) < 1e-6",
"assert abs(r0[2] - -0.0086) < 1e-6",
"r1 = com_zmp(17, 16, 0.01,... |
theo-eng-code-L2-code-015908 | 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, 290, 100, 0.7)",
"assert abs(r0[0] - 233.0) < 1e-6",
"assert abs(r0[1] - 3.86) < 1e-6",
"assert abs(r0[2] - 231.8) < 1e-6",
"r1 = runtime(0.2, 260, 590, 0.7)",
"... |
theo-eng-code-L2-code-012228 | 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": "3",
"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-002214 | 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(49, 1910, 120, 0.28, 2.4, 0.011, 0.4, 0.9, 0.85)",
"assert abs(r0[0] - 200.1) < 1e-6",
"assert abs(r0[1] - 20.81) < 1e-6",
"assert abs(r0[2] - 24.97) < 1e-6",
"r1 = erange(74,... |
theo-eng-code-L2-code-005499 | 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.0, 0.0], [3.5, 2.5])",
"assert abs(r0 - 2.9155) < 1e-6",
"r1 = seg_len([5.0, 5.0], [4.5, 3.5])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([2.0, 5.0], [0.5, 1.0]... |
theo-eng-code-L3-code-010955 | 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(84, 930, 60, 0.22, 2.6, 0.013, 0.3, 0.88, 0.95)",
"assert abs(r0[0] - 1090.8) < 1e-6",
"assert abs(r0[1] - 7.32) < 1e-6",
"assert abs(r0[2] - 4.39) < 1e-6",
"r1 = erange(71, 9... |
theo-eng-code-L2-code-003681 | 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(48, 33, 0.75)",
"assert abs(r0 - 44.72) < 1e-6",
"r1 = rms_torque(9, 9, 0.25)",
"assert abs(r1 - 9.0) < 1e-6",
"r2 = rms_torque(23, 20, 0.25)",
"assert abs(r2 - 20.79)... |
theo-eng-code-L2-code-006328 | 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, 11, 0.02, 0.08, 0.6, 0.9, 0.5)",
"assert abs(r0[0] - 0.053) < 1e-6",
"assert abs(r0[1] - 0.765) < 1e-6",
"assert abs(r0[2] - 0.014) < 1e-6",
"r1 = com_zmp(7, 20, -0.04, -0... |
theo-eng-code-L2-code-002217 | 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, 40, 3.6, 10)",
"assert r0[0] == 222",
"assert r0[1] == 6",
"assert r0[2] == 1332",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 47.952) < 1e-6",
"r1 ... |
theo-eng-code-L1-code-002009 | 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_cond",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-015629 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-013352 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(73, 2650, 120, 0.22, 2.6, 0.013, 0.3, 0.9, 0.9)",
"assert abs(r0[0] - 289.5) < 1e-6",
"assert abs(r0[1] - 22.7) < 1e-6",
"assert abs(r0[2] - 27.23) < 1e-6",
"r1 = erange(33, 1... |
theo-eng-code-L2-code-015927 | 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 12, -0.07, 0.14, 0.9, 0.8, 2)",
"assert abs(r0[0] - 0.0233) < 1e-6",
"assert abs(r0[1] - 0.8556) < 1e-6",
"assert abs(r0[2] - -0.1511) < 1e-6",
"r1 = com_zmp(10, 18, -0.1... |
theo-eng-code-L2-code-010204 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.3, 0.36, 60, 8.0, 3.5)",
"assert abs(r0[0] - 32.57) < 1e-6",
"assert abs(r0[1] - 1.2658) < 1e-6",
"assert abs(r0[2] - 37.0) < 1e-6",
"r1 = joint_torque(3.7, 0.47, 45... |
theo-eng-code-L3-code-000516 | 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(50, 29, 0.5)",
"assert abs(r0 - 40.87) < 1e-6",
"r1 = rms_torque(10, 6, 0.75)",
"assert abs(r1 - 9.17) < 1e-6",
"r2 = rms_torque(63, 5, 0.5)",
"assert abs(r2 - 44.69) < ... |
theo-eng-code-L3-code-004042 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(69, 2710, 120, 0.23, 3.0, 0.012, 0.7, 0.92, 0.9)",
"assert abs(r0[0] - 254.6) < 1e-6",
"assert abs(r0[1] - 24.39) < 1e-6",
"assert abs(r0[2] - 29.27) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-005151 | 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": "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-007942 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.6, 10)",
"assert r0[0] == 56",
"assert r0[1] == 30",
"assert r0[2] == 1680",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-009010 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 80, 3.2, 5)",
"assert r0[0] == 62",
"assert r0[1] == 81",
"assert r0[2] == 5022",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 80.352) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-005997 | 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([60, 420, 380, 390], 5)",
"assert abs(r0 - 1.7361) < 1e-6",
"r1 = rect_energy([110, 70, 430, 50, 120], 2)",
"assert abs(r1 - 0.4333) < 1e-6",
"r2 = rect_energy([2... |
theo-eng-code-L2-code-007500 | 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": "3",
"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-code-000170 | 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_nested",
"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-002956 | 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.36, 11000, 180)",
"assert abs(r0[0] - 8.29) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.34, 12000, 150)",
"assert abs(r1[0] - 10.25) < 1e-6",
"... |
theo-eng-code-L2-code-002357 | 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(16, 20, 0.06, 0.14, 0.7, 0.5, 0)",
"assert abs(r0[0] - 0.1044) < 1e-6",
"assert abs(r0[1] - 0.5889) < 1e-6",
"assert abs(r0[2] - 0.1044) < 1e-6",
"r1 = com_zmp(20, 14, -0.04,... |
theo-eng-code-L3-code-010723 | 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(0.8, 0.6, 90, 3.5, 3.0)",
"assert abs(r0[0] - 22.96) < 1e-6",
"assert abs(r0[1] - 1.356) < 1e-6",
"assert abs(r0[2] - 27.02) < 1e-6",
"r1 = joint_torque(4.7, 0.37, 45, 0... |
theo-eng-code-L2-code-014190 | 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([73, 47, 66, 63, 52, 17])",
"assert r0[0] == 53",
"assert abs(r0[1] - 20.01) < 1e-6",
"r1 = summarise([15, 53, 77, 81, 95, 63])",
"assert r1[0] == 64",
"assert a... |
theo-eng-code-L1-clarify-001451 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-004051 | 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([74, 20, 79, 49, 11, 13])",
"assert r0[0] == 41",
"assert abs(r0[1] - 30.731) < 1e-6",
"r1 = summarise([53, 90, 98, 10, 94, 27])",
"assert r1[0] == 62",
"assert ... |
theo-eng-code-L3-code-005345 | 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(7.9, 0.27, 30, 4.5, 2.0)",
"assert abs(r0[0] - 11.19) < 1e-6",
"assert abs(r0[1] - 0.52) < 1e-6",
"assert abs(r0[2] - 12.23) < 1e-6",
"r1 = joint_torque(3.1, 0.54, 90, 0... |
theo-eng-code-L2-code-014925 | 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 14500, 180)",
"assert abs(r0[0] - 8.2) < 1e-6",
"assert abs(r0[1] - 1768.4) < 1e-6",
"r1 = gear_ratio(0.35, 6500, 120)",
"assert abs(r1[0] - 7.15) < 1e-6",
"ass... |
theo-eng-code-L2-code-003917 | 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(0.2, 230, 380, 0.5)",
"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.2, 200, 180, 0.5)",
"a... |
theo-eng-code-L1-code-012262 | 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_countdown",
"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-L3-code-001402 | 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(40, 2570, 120, 0.38, 1.9, 0.007, 1.1, 0.94, 0.9)",
"assert abs(r0[0] - 174.3) < 1e-6",
"assert abs(r0[1] - 20.65) < 1e-6",
"assert abs(r0[2] - 24.78) < 1e-6",
"r1 = erange(98,... |
theo-eng-code-L2-code-015683 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 40, 3.7, 2.5)",
"assert r0[0] == 81",
"assert r0[1] == 54",
"assert r0[2] == 4374",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 40.459) < 1e-6",
"r1... |
theo-eng-code-L2-code-015012 | 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 10, 0.1, -0.04, 0.3, 0.4, 0)",
"assert abs(r0[0] - 0.0125) < 1e-6",
"assert abs(r0[1] - 0.3625) < 1e-6",
"assert abs(r0[2] - 0.0125) < 1e-6",
"r1 = com_zmp(10, 12, -0.01, ... |
theo-eng-code-L2-code-001401 | 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([140, 70, 480, 160, 460], 5)",
"assert abs(r0 - 1.8194) < 1e-6",
"r1 = rect_energy([440, 410, 180, 430, 490], 2)",
"assert abs(r1 - 1.0833) < 1e-6",
"r2 = rect_en... |
theo-eng-code-L2-code-011957 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.5, 1.5], [5.0, 3.5])",
"assert abs(r0 - 4.0311) < 1e-6",
"r1 = seg_len([4.5, 0.0], [3.5, 2.5])",
"assert abs(r1 - 2.6926) < 1e-6",
"r2 = seg_len([2.5, 1.5], [4.5, 3.0]... |
theo-eng-code-L2-code-003460 | 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_maxloop",
"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-000107 | 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([44, 28, 87, 26, 83, 27])",
"assert abs(r0[0] - 49.167) < 1e-6",
"assert abs(r0[1] - 28.562) < 1e-6",
"r1 = summarise([13, 59, 31, 77, 41, 20])",
"assert abs(r1[0] -... |
theo-eng-code-L2-code-006225 | 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(0.2, 50, 160, 0.5)",
"assert abs(r0[0] - 105.0) < 1e-6",
"assert abs(r0[1] - 1.71) < 1e-6",
"assert abs(r0[2] - 102.9) < 1e-6",
"r1 = runtime(0.1, 160, 300, 0.3)",
"a... |
theo-eng-code-L2-code-003403 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(25, [0, 25, 50, 75, 100], [0.71, 0.83, 0.88, 0.88, 0.81])",
"assert abs(r0 - 0.83) < 1e-6",
"r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.79, 0.85, 0.85, 0.85, 0.8])",
"as... |
theo-eng-code-L2-code-001462 | 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_maxloop",
"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-012218 | 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-L1-code-002753 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-001914 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.6, 0.48, 90, 6.5, 1.0)",
"assert abs(r0[0] - 32.02) < 1e-6",
"assert abs(r0[1] - 1.5437) < 1e-6",
"assert abs(r0[2] - 33.56) < 1e-6",
"r1 = joint_torque(6.7, 0.48, 3... |
theo-eng-code-L1-code-000499 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-013847 | 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\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')",
"assert r1[0] == 20",
... |
theo-eng-code-L3-code-015955 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(13, 13, 0.75)",
"assert abs(r0 - 13.0) < 1e-6",
"r1 = rms_torque(36, 2, 0.75)",
"assert abs(r1 - 31.19) < 1e-6",
"r2 = rms_torque(33, 13, 0.25)",
"assert abs(r2 - 19.97)... |
theo-eng-code-L3-code-011605 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 40, 3.2, 2.5)",
"assert r0[0] == 94",
"assert r0[1] == 54",
"assert r0[2] == 5076",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 40.608) < 1e-6",
"r1 =... |
theo-eng-code-L1-code-003435 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-006169 | 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, 280, 590, 0.7)",
"assert abs(r0[0] - 373.0) < 1e-6",
"assert abs(r0[1] - 1.21) < 1e-6",
"assert abs(r0[2] - 72.4) < 1e-6",
"r1 = runtime(0.1, 220, 470, 0.3)",
"a... |
theo-eng-code-L3-code-015608 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 12500, 100)",
"assert abs(r0[0] - 12.25) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L2-code-000691 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(55, 5, 0.5)",
"assert abs(r0 - 39.05) < 1e-6",
"r1 = rms_torque(22, 3, 0.25)",
"assert abs(r1 - 11.3) < 1e-6",
"r2 = rms_torque(69, 40, 0.25)",
"assert abs(r2 - 48.89)... |
theo-eng-code-L2-code-014036 | 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 22, 0.2, 0.9)",
"assert abs(r0[0] - 3.18) < 1e-6",
"assert abs(r0[1] - 190.9) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L1-code-006892 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-000190 | 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.25, 5500, 100)",
"assert abs(r0[0] - 5.18) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.39, 10000, 180)",
"assert abs(r1[0] - 8.17) < 1e-6",
"as... |
theo-eng-code-L2-code-014599 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(40, [0, 25, 50, 75, 100], [0.7, 0.8, 0.87, 0.86, 0.81])",
"assert abs(r0 - 0.842) < 1e-6",
"r1 = interp_eff(80, [0, 25, 50, 75, 100], [0.75, 0.8, 0.89, 0.88, 0.83])",
"ass... |
theo-eng-code-L3-code-011053 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.2, 2.5)",
"assert r0[0] == 94",
"assert r0[1] == 107",
"assert r0[2] == 10058",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 80.464) < 1e-6",
"r1... |
theo-eng-code-L3-code-014912 | 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, 200, 260, 0.3)",
"assert abs(r0[0] - 242.0) < 1e-6",
"assert abs(r0[1] - 3.72) < 1e-6",
"assert abs(r0[2] - 223.1) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L3-code-010120 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.3, 0.48, 45, 7.5, 2.5)",
"assert abs(r0[0] - 33.8) < 1e-6",
"assert abs(r0[1] - 2.135) < 1e-6",
"assert abs(r0[2] - 39.13) < 1e-6",
"r1 = joint_torque(1.9, 0.38, 60, 4... |
theo-eng-code-L2-code-004599 | 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.4, 0.3, 45, 6.0, 1.0)",
"assert abs(r0[0] - 18.1) < 1e-6",
"assert abs(r0[1] - 0.702) < 1e-6",
"assert abs(r0[2] - 18.81) < 1e-6",
"r1 = joint_torque(5.3, 0.37, 45, ... |
theo-eng-code-L2-code-012334 | 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": "4",
"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-L2-code-013236 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 220, 500, 0.7)",
"assert abs(r0[0] - 304.0) < 1e-6",
"assert abs(r0[1] - 0.59) < 1e-6",
"assert abs(r0[2] - 35.5) < 1e-6",
"r1 = runtime(1.0, 200, 270, 0.5)",
"a... |
theo-eng-code-L3-code-011556 | 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(16, 29, -0.05, 0.12, 0.6, 0.7, 1)",
"assert abs(r0[0] - 0.0596) < 1e-6",
"assert abs(r0[1] - 0.6644) < 1e-6",
"assert abs(r0[2] - -0.0082) < 1e-6",
"r1 = com_zmp(12, 29, 0.05, ... |
theo-eng-code-L1-code-008379 | 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_countdown",
"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-003502 | 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(20, 22, 0.1, 0.8)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 47.7) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time(8... |
theo-eng-code-L3-code-005854 | 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_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 50, 0.2, 1.0)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 96.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.