id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L2-code-013098 | 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.28, 13500, 120)",
"assert abs(r0[0] - 11.88) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.31, 5500, 100)",
"assert abs(r1[0] - 6.43) < 1e-6",
"a... |
theo-eng-code-L1-refuse-011250 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-002229 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 11, 0.1, 1.0)",
"assert abs(r0[0] - 10.23) < 1e-6",
"assert abs(r0[1] - 613.6) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_... |
theo-eng-code-L3-code-003983 | 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(800, 40, 3.2, 50)",
"assert r0[0] == 250",
"assert r0[1] == 1",
"assert r0[2] == 250",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-014434 | 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.35, 12000, 120)",
"assert abs(r0[0] - 13.19) < 1e-6",
"assert abs(r0[1] - 909.5) < 1e-6",
"r1 = gear_ratio(0.35, 6000, 100)",
"assert abs(r1[0] - 7.92) < 1e-6",
"as... |
theo-eng-code-L2-code-005432 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.8, 0.23, 30, 8.0, 2.5)",
"assert abs(r0[0] - 13.42) < 1e-6",
"assert abs(r0[1] - 0.5607) < 1e-6",
"assert abs(r0[2] - 14.83) < 1e-6",
"r1 = joint_torque(4.4, 0.16, 9... |
theo-eng-code-L2-code-013592 | 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, 300, 290, 130, 450], 5)",
"assert abs(r0 - 2.125) < 1e-6",
"r1 = rect_energy([450, 240, 420], 10)",
"assert abs(r1 - 3.0833) < 1e-6",
"r2 = rect_energy([70,... |
theo-eng-code-L1-clarify-007352 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-clarify-009082 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-003651 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 15, 0.01, 0.06, 0.8, 0.8, 2)",
"assert abs(r0[0] - 0.0388) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.1243) < 1e-6",
"r1 = com_zmp(19, 25, 0.08, -0... |
theo-eng-code-L2-code-000958 | 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": "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-L3-code-013054 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 28, 0.1, 0.15, 0.6, 0.9, 1)",
"assert abs(r0[0] - 0.1304) < 1e-6",
"assert abs(r0[1] - 0.7826) < 1e-6",
"assert abs(r0[2] - 0.0507) < 1e-6",
"r1 = com_zmp(10, 10, -0.05, -0... |
theo-eng-code-L2-code-010975 | 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.1, 220, 420, 0.7)",
"assert abs(r0[0] - 280.0) < 1e-6",
"assert abs(r0[1] - 0.32) < 1e-6",
"assert abs(r0[2] - 19.3) < 1e-6",
"r1 = runtime(0.5, 150, 70, 0.5)",
"as... |
theo-eng-code-L2-code-003377 | 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.41, 13500, 180)",
"assert abs(r0[0] - 11.59) < 1e-6",
"assert abs(r0[1] - 1164.5) < 1e-6",
"r1 = gear_ratio(0.26, 5000, 150)",
"assert abs(r1[0] - 3.27) < 1e-6",
"a... |
theo-eng-code-L3-code-014153 | 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.5, 120, 600, 0.3)",
"assert abs(r0[0] - 456.0) < 1e-6",
"assert abs(r0[1] - 0.99) < 1e-6",
"assert abs(r0[2] - 59.2) < 1e-6",
"r1 = runtime(0.1, 110, 260, 0.3)",
"ass... |
theo-eng-code-L2-code-010758 | 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(8, 25, 0.07, 0.08, 0.3, 0.3, 0)",
"assert abs(r0[0] - 0.0776) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - 0.0776) < 1e-6",
"r1 = com_zmp(10, 11, -0.02, 0.1... |
theo-eng-code-L3-code-010210 | 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(8, 29, -0.07, 0.07, 0.9, 0.3, 2)",
"assert abs(r0[0] - 0.0397) < 1e-6",
"assert abs(r0[1] - 0.4297) < 1e-6",
"assert abs(r0[2] - -0.0479) < 1e-6",
"r1 = com_zmp(10, 16, 0.03, -... |
theo-eng-code-L2-code-004845 | 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.5, 300, 250, 0.5)",
"assert abs(r0[0] - 275.0) < 1e-6",
"assert abs(r0[1] - 1.64) < 1e-6",
"assert abs(r0[2] - 98.2) < 1e-6",
"r1 = runtime(0.5, 220, 480, 0.5)",
"a... |
theo-eng-code-L2-code-010278 | 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, 50, 490, 0.7)",
"assert abs(r0[0] - 182.0) < 1e-6",
"assert abs(r0[1] - 4.95) < 1e-6",
"assert abs(r0[2] - 296.7) < 1e-6",
"r1 = runtime(0.1, 260, 390, 0.7)",
"a... |
theo-eng-code-L2-code-002383 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 12000, 100)",
"assert abs(r0[0] - 14.93) < 1e-6",
"assert abs(r0[1] - 803.8) < 1e-6",
"r1 = gear_ratio(0.42, 6000, 100)",
"assert abs(r1[0] - 9.5) < 1e-6",
"ass... |
theo-eng-code-L2-code-001108 | 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, 16, -0.05, 0.08, 0.5, 0.5, 0.5)",
"assert abs(r0[0] - 0.0094) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.0161) < 1e-6",
"r1 = com_zmp(11, 15, -0.08... |
theo-eng-code-L3-code-005817 | 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, 280, 200, 0.5)",
"assert abs(r0[0] - 240.0) < 1e-6",
"assert abs(r0[1] - 3.75) < 1e-6",
"assert abs(r0[2] - 225.0) < 1e-6",
"r1 = runtime(0.2, 300, 350, 0.3)",
"as... |
theo-eng-code-L2-code-000074 | 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\": 60, \"max_kw\": 50}')",
"assert r0[0] == 60",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r1[0] == 20",
"a... |
theo-eng-code-L1-clarify-012347 | 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-012532 | 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.4, 8000, 180)",
"assert abs(r0[0] - 6.7) < 1e-6",
"assert abs(r0[1] - 1193.7) < 1e-6",
"r1 = gear_ratio(0.38, 10000, 100)",
"assert abs(r1[0] - 14.33) < 1e-6",
"ass... |
theo-eng-code-L2-code-003545 | 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.5, 150, 220, 0.7)",
"assert abs(r0[0] - 171.0) < 1e-6",
"assert abs(r0[1] - 2.63) < 1e-6",
"assert abs(r0[2] - 157.9) < 1e-6",
"r1 = runtime(1.0, 110, 100, 0.5)",
"... |
theo-eng-code-L3-code-011818 | 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(3.3, 0.5, 60, 4.0, 1.0)",
"assert abs(r0[0] - 24.0) < 1e-6",
"assert abs(r0[1] - 1.275) < 1e-6",
"assert abs(r0[2] - 25.28) < 1e-6",
"r1 = joint_torque(8.0, 0.31, 60, 6.... |
theo-eng-code-L2-code-001905 | 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.33, 11000, 120)",
"assert abs(r0[0] - 11.4) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.35, 4500, 150)",
"assert abs(r1[0] - 3.96) < 1e-6",
"ass... |
theo-eng-code-L2-code-005846 | 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(55, [0, 25, 50, 75, 100], [0.76, 0.85, 0.88, 0.86, 0.8])",
"assert abs(r0 - 0.876) < 1e-6",
"r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.8, 0.82, 0.9, 0.87, 0.84])",
"ass... |
theo-eng-code-L2-code-003541 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 50, 0.2, 1.0)",
"assert abs(r0[0] - 0.4) < 1e-6",
"assert abs(r0[1] - 24.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-008689 | 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(15, 29, -0.08, 0.08, 0.6, 0.8, 2)",
"assert abs(r0[0] - 0.0255) < 1e-6",
"assert abs(r0[1] - 0.7318) < 1e-6",
"assert abs(r0[2] - -0.1237) < 1e-6",
"r1 = com_zmp(13, 21, -0.0... |
theo-eng-code-L1-code-000793 | 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_modulo",
"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-008777 | 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(58, 3, 0.5)",
"assert abs(r0 - 41.07) < 1e-6",
"r1 = rms_torque(27, 3, 0.25)",
"assert abs(r1 - 13.75) < 1e-6",
"r2 = rms_torque(27, 9, 0.25)",
"assert abs(r2 - 15.59) <... |
theo-eng-code-L2-code-001595 | 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(6, 14, -0.1, 0.05, 0.3, 0.7, 2)",
"assert abs(r0[0] - 0.005) < 1e-6",
"assert abs(r0[1] - 0.58) < 1e-6",
"assert abs(r0[2] - -0.1132) < 1e-6",
"r1 = com_zmp(9, 30, 0.07, 0.05... |
theo-eng-code-L3-code-009053 | 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_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.8, 0.18, 45, 5.0, 1.0)",
"assert abs(r0[0] - 11.11) < 1e-6",
"assert abs(r0[1] - 0.2462) < 1e-6",
"assert abs(r0[2] - 11.36) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L1-clarify-009154 | 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": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-005675 | 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(8, 4, 0.25)",
"assert abs(r0 - 5.29) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L3-code-013472 | 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(80, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.4) < 1e-6",
"assert abs(r0[1] - 24.0) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_time... |
theo-eng-code-L2-code-013912 | 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([310, 500, 370, 100, 490], 2)",
"assert abs(r0 - 0.9833) < 1e-6",
"r1 = rect_energy([160, 280, 420, 220, 100], 1)",
"assert abs(r1 - 0.3278) < 1e-6",
"r2 = rect_e... |
theo-eng-code-L2-code-005334 | 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.1, 40, 570, 0.3)",
"assert abs(r0[0] - 411.0) < 1e-6",
"assert abs(r0[1] - 0.22) < 1e-6",
"assert abs(r0[2] - 13.1) < 1e-6",
"r1 = runtime(1.0, 150, 350, 0.3)",
"as... |
theo-eng-code-L3-code-014587 | 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.9, 0.49, 90, 2.5, 2.5)",
"assert abs(r0[0] - 26.2) < 1e-6",
"assert abs(r0[1] - 1.0724) < 1e-6",
"assert abs(r0[2] - 28.88) < 1e-6",
"r1 = joint_torque(1.5, 0.26, 60, ... |
theo-eng-code-L3-code-005030 | 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(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"
],
"subtask... |
theo-eng-code-L2-code-007975 | 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(500, 60, 3.2, 5)",
"assert r0[0] == 156",
"assert r0[1] == 25",
"assert r0[2] == 3900",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 62.4) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-001396 | 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([70, 26, 98, 25])",
"assert abs(r0[0] - 54.75) < 1e-6",
"assert abs(r0[1] - 35.659) < 1e-6",
"r1 = summarise([76, 71, 89, 42, 84])",
"assert abs(r1[0] - 72.4) < 1e-6... |
theo-eng-code-L3-code-009111 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(51, 33, 0.5)",
"assert abs(r0 - 42.95) < 1e-6",
"r1 = rms_torque(90, 39, 0.75)",
"assert abs(r1 - 80.34) < 1e-6",
"r2 = rms_torque(95, 21, 0.25)",
"assert abs(r2 - 50.86... |
theo-eng-code-L2-code-012986 | 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(80, [0, 25, 50, 75, 100], [0.74, 0.81, 0.88, 0.87, 0.83])",
"assert abs(r0 - 0.862) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.7, 0.83, 0.89, 0.89, 0.83])",
"a... |
theo-eng-code-L3-code-003701 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 27, -0.02, -0.03, 0.5, 0.4, 0.5)",
"assert abs(r0[0] - -0.0275) < 1e-6",
"assert abs(r0[1] - 0.425) < 1e-6",
"assert abs(r0[2] - -0.0492) < 1e-6",
"r1 = com_zmp(20, 11, 0.1,... |
theo-eng-code-L2-code-008332 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.6, 5)",
"assert r0[0] == 222",
"assert r0[1] == 11",
"assert r0[2] == 2442",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 43.956) < 1e-6",
"r1 ... |
theo-eng-code-L1-clarify-013554 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-004579 | 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, 40, 50, 0.5)",
"assert abs(r0[0] - 45.0) < 1e-6",
"assert abs(r0[1] - 4.0) < 1e-6",
"assert abs(r0[2] - 240.0) < 1e-6",
"r1 = runtime(0.1, 120, 510, 0.3)",
"assert... |
theo-eng-code-L2-code-004429 | 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(75, 23, 0.75)",
"assert abs(r0 - 65.96) < 1e-6",
"r1 = rms_torque(33, 9, 0.25)",
"assert abs(r1 - 18.25) < 1e-6",
"r2 = rms_torque(7, 7, 0.25)",
"assert abs(r2 - 7.0) ... |
theo-eng-code-L3-code-012056 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 260, 140, 0.7)",
"assert abs(r0[0] - 224.0) < 1e-6",
"assert abs(r0[1] - 4.02) < 1e-6",
"assert abs(r0[2] - 241.1) < 1e-6",
"r1 = runtime(0.2, 50, 580, 0.3)",
"ass... |
theo-eng-code-L2-code-013407 | 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": "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-001539 | 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": "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-008859 | 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(500, 60, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 13",
"assert r0[2] == 1755",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 64.935) < 1e-6",
"r1... |
theo-eng-code-L2-code-008819 | 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([360, 390, 360, 150], 10)",
"assert abs(r0 - 3.5) < 1e-6",
"r1 = rect_energy([410, 400, 90], 10)",
"assert abs(r1 - 2.5) < 1e-6",
"r2 = rect_energy([250, 90, 270,... |
theo-eng-code-L2-code-002749 | 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.5, 170, 560, 0.5)",
"assert abs(r0[0] - 365.0) < 1e-6",
"assert abs(r0[1] - 1.23) < 1e-6",
"assert abs(r0[2] - 74.0) < 1e-6",
"r1 = runtime(0.5, 170, 430, 0.5)",
"a... |
theo-eng-code-L2-code-000810 | 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(55, [0, 25, 50, 75, 100], [0.73, 0.8, 0.87, 0.89, 0.8])",
"assert abs(r0 - 0.874) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.71, 0.83, 0.9, 0.88, 0.84])",
"ass... |
theo-eng-code-L2-code-011702 | 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, 30, -0.02, -0.04, 0.8, 0.3, 0.5)",
"assert abs(r0[0] - -0.0367) < 1e-6",
"assert abs(r0[1] - 0.3833) < 1e-6",
"assert abs(r0[2] - -0.0562) < 1e-6",
"r1 = com_zmp(13, 15, 0... |
theo-eng-code-L3-code-008766 | 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(2.1, 0.21, 60, 2.0, 4.0)",
"assert abs(r0[0] - 5.44) < 1e-6",
"assert abs(r0[1] - 0.1191) < 1e-6",
"assert abs(r0[2] - 5.92) < 1e-6",
"r1 = joint_torque(1.0, 0.15, 30, 8... |
theo-eng-code-L3-code-008798 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 14500, 100)",
"assert abs(r0[0] - 22.96) < 1e-6",
"assert abs(r0[1] - 631.6) < 1e-6",
"r1 = gear_ratio(0.26, 7000, 150)",
"assert abs(r1[0] - 4.57) < 1e-6",
"asse... |
theo-eng-code-L3-code-010692 | 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(67, 15, 0.25)",
"assert abs(r0 - 35.93) < 1e-6",
"r1 = rms_torque(22, 19, 0.25)",
"assert abs(r1 - 19.79) < 1e-6",
"r2 = rms_torque(27, 19, 0.5)",
"assert abs(r2 - 23.35... |
theo-eng-code-L1-clarify-009572 | 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-L3-code-015334 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 22, 0.2, 0.8)",
"assert abs(r0[0] - 1.36) < 1e-6",
"assert abs(r0[1] - 81.8) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask"... |
theo-eng-code-L1-code-009284 | 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": "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-014236 | 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([450, 190, 220, 420], 2)",
"assert abs(r0 - 0.7111) < 1e-6",
"r1 = rect_energy([120, 230, 340, 400, 490], 5)",
"assert abs(r1 - 2.1944) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L3-code-008127 | 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.4, 14500, 100)",
"assert abs(r0[0] - 21.87) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-007677 | 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": "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-L2-code-010371 | 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(60, [0, 25, 50, 75, 100], [0.73, 0.82, 0.88, 0.87, 0.85])",
"assert abs(r0 - 0.876) < 1e-6",
"r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.77, 0.8, 0.87, 0.88, 0.83])",
"a... |
theo-eng-code-L2-code-010909 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.8, 0.39, 60, 6.0, 3.5)",
"assert abs(r0[0] - 21.21) < 1e-6",
"assert abs(r0[1] - 0.9532) < 1e-6",
"assert abs(r0[2] - 24.54) < 1e-6",
"r1 = joint_torque(1.1, 0.34, 6... |
theo-eng-code-L3-code-012822 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 7, 0.1, 1.0)",
"assert abs(r0[0] - 12.86) < 1e-6",
"assert abs(r0[1] - 771.4) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 7"
],
"subtask"... |
theo-eng-code-L3-code-008565 | 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.3, 0.44, 60, 0.5, 4.0)",
"assert abs(r0[0] - 15.51) < 1e-6",
"assert abs(r0[1] - 0.5679) < 1e-6",
"assert abs(r0[2] - 17.78) < 1e-6",
"r1 = joint_torque(6.0, 0.1, 45, ... |
theo-eng-code-L2-code-001296 | 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(3.2, 0.26, 30, 4.0, 0.0)",
"assert abs(r0[0] - 7.14) < 1e-6",
"assert abs(r0[1] - 0.3425) < 1e-6",
"assert abs(r0[2] - 7.14) < 1e-6",
"r1 = joint_torque(4.7, 0.21, 45,... |
theo-eng-code-L3-code-002758 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 11500, 120)",
"assert abs(r0[0] - 11.92) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.45, 14000, 150)",
"assert abs(r1[0] - 15.83) < 1e-6",
"as... |
theo-eng-code-L2-code-000881 | 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(7, 13, -0.05, 0.01, 0.6, 0.7, 1)",
"assert abs(r0[0] - -0.011) < 1e-6",
"assert abs(r0[1] - 0.665) < 1e-6",
"assert abs(r0[2] - -0.0788) < 1e-6",
"r1 = com_zmp(16, 15, -0.07,... |
theo-eng-code-L3-code-014943 | 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.6, 10)",
"assert r0[0] == 83",
"assert r0[1] == 27",
"assert r0[2] == 2241",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 80.676) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-001815 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 20, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 5",
"assert r0[2] == 625",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 20.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-009238 | 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, 210, 390, 0.7)",
"assert abs(r0[0] - 264.0) < 1e-6",
"assert abs(r0[1] - 3.41) < 1e-6",
"assert abs(r0[2] - 204.5) < 1e-6",
"r1 = runtime(0.5, 300, 580, 0.7)",
"... |
theo-eng-code-L2-code-009249 | 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(30, 12, 0.5)",
"assert abs(r0 - 22.85) < 1e-6",
"r1 = rms_torque(55, 30, 0.25)",
"assert abs(r1 - 37.83) < 1e-6",
"r2 = rms_torque(55, 31, 0.25)",
"assert abs(r2 - 38.... |
theo-eng-code-L2-code-006934 | 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(78, 14, 0.75)",
"assert abs(r0 - 67.91) < 1e-6",
"r1 = rms_torque(92, 17, 0.5)",
"assert abs(r1 - 66.16) < 1e-6",
"r2 = rms_torque(39, 18, 0.25)",
"assert abs(r2 - 24.... |
theo-eng-code-L2-code-001070 | 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(70, 5, 0.5)",
"assert abs(r0 - 49.62) < 1e-6",
"r1 = rms_torque(70, 5, 0.25)",
"assert abs(r1 - 35.27) < 1e-6",
"r2 = rms_torque(49, 39, 0.5)",
"assert abs(r2 - 44.28)... |
theo-eng-code-L2-code-003438 | 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(300, 20, 3.6, 5)",
"assert r0[0] == 83",
"assert r0[1] == 14",
"assert r0[2] == 1162",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 20.916) < 1e-6",
"r1 =... |
theo-eng-code-L1-code-007119 | 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": "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-013797 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 20, 3.6, 50)",
"assert r0[0] == 111",
"assert r0[1] == 2",
"assert r0[2] == 222",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-001039 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 11500, 150)",
"assert abs(r0[0] - 9.54) < 1e-6",
"assert abs(r0[1] - 1205.7) < 1e-6",
"r1 = gear_ratio(0.34, 9000, 180)",
"assert abs(r1[0] - 6.41) < 1e-6",
"asse... |
theo-eng-code-L2-code-003516 | 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(300, 80, 3.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 27",
"assert r0[2] == 2538",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 81.216) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-001924 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 0.5], [2.0, 3.0])",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = seg_len([1.5, 0.0], [0.5, 3.0])",
"assert abs(r1 - 3.1623) < 1e-6",
"r2 = seg_len([2.5, 3.5], [2.0, 3.5])",... |
theo-eng-code-L2-code-005765 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(69, 2470, 80, 0.37, 2.6, 0.009, 0.9, 0.94, 0.9)",
"assert abs(r0[0] - 384.1) < 1e-6",
"assert abs(r0[1] - 16.17) < 1e-6",
"assert abs(r0[2] - 12.93) < 1e-6",
"r1 = erange(90... |
theo-eng-code-L2-code-011758 | 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(66, 2730, 100, 0.23, 2.8, 0.011, 1.1, 0.88, 0.9)",
"assert abs(r0[0] - 296.9) < 1e-6",
"assert abs(r0[1] - 20.01) < 1e-6",
"assert abs(r0[2] - 20.01) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L2-code-003011 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 17, 0.07, 0.14, 0.4, 0.8, 2)",
"assert abs(r0[0] - 0.1241) < 1e-6",
"assert abs(r0[1] - 0.7091) < 1e-6",
"assert abs(r0[2] - -0.0205) < 1e-6",
"r1 = com_zmp(5, 30, 0.0, 0.... |
theo-eng-code-L3-code-000234 | 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(13, 10, 0.75)",
"assert abs(r0 - 12.32) < 1e-6",
"r1 = rms_torque(41, 3, 0.5)",
"assert abs(r1 - 29.07) < 1e-6",
"r2 = rms_torque(98, 18, 0.5)",
"assert abs(r2 - 70.46) ... |
theo-eng-code-L3-code-007004 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 8500, 120)",
"assert abs(r0[0] - 8.81) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.33, 12500, 120)",
"assert abs(r1[0] - 12.96) < 1e-6",
"asse... |
theo-eng-code-L3-code-005385 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 200, 440, 0.3)",
"assert abs(r0[0] - 368.0) < 1e-6",
"assert abs(r0[1] - 0.49) < 1e-6",
"assert abs(r0[2] - 29.3) < 1e-6",
"r1 = runtime(0.2, 210, 280, 0.3)",
"ass... |
theo-eng-code-L2-code-008345 | 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, 7, 0.1, 0.8)",
"assert abs(r0[0] - 10.0) < 1e-6",
"assert abs(r0[1] - 600.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-010107 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 14, 0.04, 0.14, 0.4, 0.7, 0.5)",
"assert abs(r0[0] - 0.0919) < 1e-6",
"assert abs(r0[1] - 0.5556) < 1e-6",
"assert abs(r0[2] - 0.0635) < 1e-6",
"r1 = com_zmp(8, 20, -0.05... |
theo-eng-code-L2-code-015409 | 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(19, 11, 0.03, 0.12, 0.7, 0.4, 1)",
"assert abs(r0[0] - 0.063) < 1e-6",
"assert abs(r0[1] - 0.59) < 1e-6",
"assert abs(r0[2] - 0.0029) < 1e-6",
"r1 = com_zmp(15, 21, 0.06, -0.... |
theo-eng-code-L2-code-005069 | 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": "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-code-002537 | 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_slices",
"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-L3-code-015599 | 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.31, 5500, 180)",
"assert abs(r0[0] - 3.57) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6",
"r1 = gear_ratio(0.45, 12000, 180)",
"assert abs(r1[0] - 11.31) < 1e-6",
"ass... |
theo-eng-code-L2-code-010128 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 4.0], [0.5, 4.5])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([5.0, 4.0], [3.5, 2.5])",
"assert abs(r1 - 2.1213) < 1e-6",
"r2 = seg_len([1.0, 5.0], [0.5, 0.0]... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.