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-014515 | 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-L1-clarify-006249 | 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-L2-code-012962 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([33, 60, 32, 18, 71])",
"assert abs(r0[0] - 42.8) < 1e-6",
"assert abs(r0[1] - 21.902) < 1e-6",
"r1 = summarise([49, 73, 40, 36])",
"assert abs(r1[0] - 49.5) < 1e-6"... |
theo-eng-code-L2-code-005837 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(47, 11, 0.25)",
"assert abs(r0 - 25.36) < 1e-6",
"r1 = rms_torque(89, 8, 0.75)",
"assert abs(r1 - 77.18) < 1e-6",
"r2 = rms_torque(90, 13, 0.75)",
"assert abs(r2 - 78.... |
theo-eng-code-L1-code-013815 | 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": "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-008974 | 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, 480, 140], 5)",
"assert abs(r0 - 1.3472) < 1e-6",
"r1 = rect_energy([60, 460, 440], 10)",
"assert abs(r1 - 2.6667) < 1e-6",
"r2 = rect_energy([320, 280, 400... |
theo-eng-code-L2-code-003398 | 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": "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-012251 | 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([310, 110, 480], 5)",
"assert abs(r0 - 1.25) < 1e-6",
"r1 = rect_energy([470, 430, 160, 210, 60], 1)",
"assert abs(r1 - 0.3694) < 1e-6",
"r2 = rect_energy([170, 3... |
theo-eng-code-L3-code-008123 | 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.37, 10500, 120)",
"assert abs(r0[0] - 12.21) < 1e-6",
"assert abs(r0[1] - 860.3) < 1e-6",
"r1 = gear_ratio(0.4, 7000, 100)",
"assert abs(r1[0] - 10.56) < 1e-6",
"asse... |
theo-eng-code-L2-code-009434 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "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-008915 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r0[0] == 20",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')",
"assert r1[0] == 20",
"a... |
theo-eng-code-L3-code-010750 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 11000, 180)",
"assert abs(r0[0] - 10.37) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L3-code-002048 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(39, 2100, 100, 0.22, 2.9, 0.013, 1.2, 0.88, 0.85)",
"assert abs(r0[0] - 172.9) < 1e-6",
"assert abs(r0[1] - 19.17) < 1e-6",
"assert abs(r0[2] - 19.17) < 1e-6"
],
"subta... |
theo-eng-code-L2-code-004263 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.2, 1.0)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-002953 | 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(35, [0, 25, 50, 75, 100], [0.77, 0.81, 0.85, 0.87, 0.83])",
"assert abs(r0 - 0.826) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.78, 0.85, 0.86, 0.88, 0.82])",
"... |
theo-eng-code-L2-code-012410 | 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(75, [0, 25, 50, 75, 100], [0.78, 0.84, 0.88, 0.87, 0.85])",
"assert abs(r0 - 0.87) < 1e-6",
"r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.73, 0.84, 0.86, 0.89, 0.8])",
"as... |
theo-eng-code-L2-code-008472 | 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(200, 60, 3.6, 5)",
"assert r0[0] == 56",
"assert r0[1] == 60",
"assert r0[2] == 3360",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-015522 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.3, 10000, 100)",
"assert abs(r0[0] - 11.31) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-015961 | 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(20, [0, 25, 50, 75, 100], [0.78, 0.84, 0.87, 0.87, 0.84])",
"assert abs(r0 - 0.828) < 1e-6",
"r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.72, 0.84, 0.87, 0.86, 0.8])",
"a... |
theo-eng-code-L2-code-004794 | 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(43, 23, 0.25)",
"assert abs(r0 - 29.31) < 1e-6",
"r1 = rms_torque(55, 32, 0.75)",
"assert abs(r1 - 50.25) < 1e-6",
"r2 = rms_torque(65, 38, 0.75)",
"assert abs(r2 - 59... |
theo-eng-code-L1-code-002868 | 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": "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-000256 | 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([97, 43, 70, 73, 93, 21])",
"assert abs(r0[0] - 66.167) < 1e-6",
"assert abs(r0[1] - 29.356) < 1e-6",
"r1 = summarise([20, 48, 50, 73])",
"assert abs(r1[0] - 47.75) ... |
theo-eng-code-L2-code-003868 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(69, 4, 0.25)",
"assert abs(r0 - 34.67) < 1e-6",
"r1 = rms_torque(58, 11, 0.25)",
"assert abs(r1 - 30.52) < 1e-6",
"r2 = rms_torque(58, 32, 0.25)",
"assert abs(r2 - 40.... |
theo-eng-code-L3-code-003293 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(39, 2460, 100, 0.35, 2.3, 0.01, 0.3, 0.9, 0.95)",
"assert abs(r0[0] - 190.1) < 1e-6",
"assert abs(r0[1] - 19.49) < 1e-6",
"assert abs(r0[2] - 19.49) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-001335 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(10, 10, 0.5)",
"assert abs(r0 - 10.0) < 1e-6",
"r1 = rms_torque(5, 5, 0.5)",
"assert abs(r1 - 5.0) < 1e-6",
"r2 = rms_torque(12, 8, 0.25)",
"assert abs(r2 - 9.17) < 1e... |
theo-eng-code-L3-code-002877 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 6500, 180)",
"assert abs(r0[0] - 5.85) < 1e-6",
"assert abs(r0[1] - 1110.4) < 1e-6",
"r1 = gear_ratio(0.45, 12500, 100)",
"assert abs(r1[0] - 21.21) < 1e-6",
"ass... |
theo-eng-code-L3-code-010166 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 13000, 120)",
"assert abs(r0[0] - 11.44) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.36, 9500, 120)",
"assert abs(r1[0] - 10.74) < 1e-6",
"as... |
theo-eng-code-L2-code-009929 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 230, 400, 0.3)",
"assert abs(r0[0] - 349.0) < 1e-6",
"assert abs(r0[1] - 1.29) < 1e-6",
"assert abs(r0[2] - 77.4) < 1e-6",
"r1 = runtime(1.0, 300, 260, 0.3)",
"a... |
theo-eng-code-L2-code-003123 | 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(500, 40, 3.6, 50)",
"assert r0[0] == 139",
"assert r0[1] == 2",
"assert r0[2] == 278",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-008469 | 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(400, 80, 3.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 4",
"assert r0[2] == 500",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = p... |
theo-eng-code-L1-clarify-009630 | 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-L1-clarify-011786 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-001885 | 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, 200, 270, 0.7)",
"assert abs(r0[0] - 221.0) < 1e-6",
"assert abs(r0[1] - 4.07) < 1e-6",
"assert abs(r0[2] - 244.3) < 1e-6",
"r1 = runtime(0.2, 300, 330, 0.5)",
"... |
theo-eng-code-L2-code-005950 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([73, 24, 83, 74])",
"assert abs(r0[0] - 63.5) < 1e-6",
"assert abs(r0[1] - 26.715) < 1e-6",
"r1 = summarise([54, 59, 20, 87])",
"assert r1[0] == 55",
"assert abs... |
theo-eng-code-L2-code-007063 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(49, 1390, 80, 0.36, 2.3, 0.013, 1.4, 0.92, 0.95)",
"assert abs(r0[0] - 317.4) < 1e-6",
"assert abs(r0[1] - 14.66) < 1e-6",
"assert abs(r0[2] - 11.73) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L3-code-014701 | 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(64, 940, 120, 0.36, 3.0, 0.012, 0.3, 0.9, 0.9)",
"assert abs(r0[0] - 218.6) < 1e-6",
"assert abs(r0[1] - 26.35) < 1e-6",
"assert abs(r0[2] - 31.62) < 1e-6",
"r1 = erange(48, 1... |
theo-eng-code-L1-code-011691 | 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-006236 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 22, 0.1, 0.9)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L2-code-005811 | 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([1.5, 5.0], [0.0, 2.0])",
"assert abs(r0 - 3.3541) < 1e-6",
"r1 = seg_len([3.5, 0.5], [0.0, 1.5])",
"assert abs(r1 - 3.6401) < 1e-6",
"r2 = seg_len([4.0, 4.0], [4.5, 1.5]... |
theo-eng-code-L3-code-001026 | 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.6, 2.5)",
"assert r0[0] == 222",
"assert r0[1] == 6",
"assert r0[2] == 1332",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-007417 | 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, 1.5], [2.0, 4.5])",
"assert abs(r0 - 3.0) < 1e-6",
"r1 = seg_len([4.0, 2.5], [5.0, 4.0])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([2.5, 2.5], [5.0, 1.0])",... |
theo-eng-code-L2-code-015111 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 12500, 120)",
"assert abs(r0[0] - 16.49) < 1e-6",
"assert abs(r0[1] - 757.9) < 1e-6",
"r1 = gear_ratio(0.34, 12000, 150)",
"assert abs(r1[0] - 10.25) < 1e-6",
"... |
theo-eng-code-L2-code-010957 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([12, 19, 96, 76, 24, 37])",
"assert r0[0] == 44",
"assert abs(r0[1] - 34.135) < 1e-6",
"r1 = summarise([35, 86, 36, 85])",
"assert abs(r1[0] - 60.5) < 1e-6",
"as... |
theo-eng-code-L2-code-008984 | 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([460, 70, 450, 430, 160], 5)",
"assert abs(r0 - 2.1806) < 1e-6",
"r1 = rect_energy([310, 430, 470, 160, 340], 1)",
"assert abs(r1 - 0.475) < 1e-6",
"r2 = rect_ene... |
theo-eng-code-L2-code-000327 | 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, 30, 440, 0.3)",
"assert abs(r0[0] - 317.0) < 1e-6",
"assert abs(r0[1] - 1.42) < 1e-6",
"assert abs(r0[2] - 85.2) < 1e-6",
"r1 = runtime(0.5, 50, 300, 0.3)",
"ass... |
theo-eng-code-L3-code-014342 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.6, 5)",
"assert r0[0] == 56",
"assert r0[1] == 60",
"assert r0[2] == 3360",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6"
],
... |
theo-eng-code-L1-refuse-007653 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-clarify-012789 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-014361 | 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(12, 11, -0.05, 0.07, 0.6, 0.6, 2)",
"assert abs(r0[0] - 0.0074) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.1149) < 1e-6",
"r1 = com_zmp(7, 10, -0.08, 0... |
theo-eng-code-L2-code-005746 | 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([21, 90, 76, 32])",
"assert abs(r0[0] - 54.75) < 1e-6",
"assert abs(r0[1] - 33.42) < 1e-6",
"r1 = summarise([70, 98, 14, 85, 99, 16])",
"assert abs(r1[0] - 63.667) <... |
theo-eng-code-L3-code-005217 | 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(4.6, 0.1, 45, 0.0, 1.0)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 0.0153) < 1e-6",
"assert abs(r0[2] - 1.61) < 1e-6",
"r1 = joint_torque(7.1, 0.3, 90, 6.0,... |
theo-eng-code-L2-code-007824 | 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(10, 29, -0.09, 0.0, 0.9, 0.5, 2)",
"assert abs(r0[0] - -0.0231) < 1e-6",
"assert abs(r0[1] - 0.6026) < 1e-6",
"assert abs(r0[2] - -0.1459) < 1e-6",
"r1 = com_zmp(10, 15, 0.06... |
theo-eng-code-L2-code-001234 | 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(1.4, 0.29, 90, 3.5, 0.5)",
"assert abs(r0[0] - 11.95) < 1e-6",
"assert abs(r0[1] - 0.3336) < 1e-6",
"assert abs(r0[2] - 12.12) < 1e-6",
"r1 = joint_torque(6.6, 0.11, 3... |
theo-eng-code-L3-code-004336 | 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(38, 1750, 60, 0.35, 2.2, 0.007, 0.4, 0.88, 0.9)",
"assert abs(r0[0] - 397.9) < 1e-6",
"assert abs(r0[1] - 8.6) < 1e-6",
"assert abs(r0[2] - 5.16) < 1e-6",
"r1 = erange(72, 137... |
theo-eng-code-L2-code-002404 | 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, 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-010007 | 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, 30, 0.09, 0.14, 0.6, 0.5, 2)",
"assert abs(r0[0] - 0.1329) < 1e-6",
"assert abs(r0[1] - 0.5143) < 1e-6",
"assert abs(r0[2] - 0.028) < 1e-6",
"r1 = com_zmp(8, 19, -0.09, 0.... |
theo-eng-code-L3-code-009923 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 7500, 180)",
"assert abs(r0[0] - 5.65) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.4, 13500, 180)",
"assert abs(r1[0] - 11.31) < 1e-6",
"asse... |
theo-eng-code-L2-code-001377 | 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(26, 2070, 100, 0.37, 3.1, 0.007, 0.7, 0.92, 0.95)",
"assert abs(r0[0] - 115.6) < 1e-6",
"assert abs(r0[1] - 21.36) < 1e-6",
"assert abs(r0[2] - 21.36) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-014321 | 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(18, 25, 0.08, 0.07, 0.7, 0.9, 2)",
"assert abs(r0[0] - 0.0742) < 1e-6",
"assert abs(r0[1] - 0.8163) < 1e-6",
"assert abs(r0[2] - -0.0922) < 1e-6",
"r1 = com_zmp(12, 11, 0.07,... |
theo-eng-code-L1-refuse-009870 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-011967 | 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, 22, -0.07, 0.12, 0.8, 0.5, 2)",
"assert abs(r0[0] - 0.0848) < 1e-6",
"assert abs(r0[1] - 0.5556) < 1e-6",
"assert abs(r0[2] - -0.0284) < 1e-6",
"r1 = com_zmp(18, 25, 0.0, ... |
theo-eng-code-L3-code-004904 | 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(40, 22, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L2-code-013383 | 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(25, [0, 25, 50, 75, 100], [0.8, 0.83, 0.9, 0.86, 0.82])",
"assert abs(r0 - 0.83) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.74, 0.8, 0.86, 0.89, 0.83])",
"asse... |
theo-eng-code-L2-code-015435 | 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(20, 17, -0.08, 0.07, 0.8, 0.7, 1)",
"assert abs(r0[0] - -0.0111) < 1e-6",
"assert abs(r0[1] - 0.7541) < 1e-6",
"assert abs(r0[2] - -0.0879) < 1e-6",
"r1 = com_zmp(8, 22, 0.1,... |
theo-eng-code-L2-code-004248 | 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([310, 230, 60], 5)",
"assert abs(r0 - 0.8333) < 1e-6",
"r1 = rect_energy([190, 50, 100, 260, 230], 5)",
"assert abs(r1 - 1.1528) < 1e-6",
"r2 = rect_energy([150, ... |
theo-eng-code-L2-code-010580 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(42, 1030, 80, 0.27, 2.4, 0.012, 0.6, 0.9, 0.95)",
"assert abs(r0[0] - 378.5) < 1e-6",
"assert abs(r0[1] - 10.54) < 1e-6",
"assert abs(r0[2] - 8.43) < 1e-6",
"r1 = erange(91,... |
theo-eng-code-L3-code-015135 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 11, 0.2, 0.8)",
"assert abs(r0[0] - 6.82) < 1e-6",
"assert abs(r0[1] - 409.1) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L3-code-015635 | 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(27, 1710, 60, 0.33, 2.0, 0.008, 1.0, 0.94, 0.85)",
"assert abs(r0[0] - 256.4) < 1e-6",
"assert abs(r0[1] - 8.95) < 1e-6",
"assert abs(r0[2] - 5.37) < 1e-6",
"r1 = erange(39, 1... |
theo-eng-code-L2-code-003492 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 20",
"assert r0[2] == 1880",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 60.16) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-006943 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(61, 1340, 80, 0.29, 2.4, 0.012, 0.5, 0.94, 0.85)",
"assert abs(r0[0] - 450.6) < 1e-6",
"assert abs(r0[1] - 11.51) < 1e-6",
"assert abs(r0[2] - 9.21) < 1e-6",
"r1 = erange(73... |
theo-eng-code-L1-code-000919 | 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": "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-003404 | 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, 50, 0.1, 0.9)",
"assert abs(r0[0] - 2.0) < 1e-6",
"assert abs(r0[1] - 120.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_ti... |
theo-eng-code-L2-code-003009 | 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(17, 24, 0.08, -0.05, 0.3, 0.4, 0)",
"assert abs(r0[0] - 0.0039) < 1e-6",
"assert abs(r0[1] - 0.3585) < 1e-6",
"assert abs(r0[2] - 0.0039) < 1e-6",
"r1 = com_zmp(18, 18, 0.04,... |
theo-eng-code-L2-code-012111 | 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([100, 230, 140, 260], 10)",
"assert abs(r0 - 2.0278) < 1e-6",
"r1 = rect_energy([160, 420, 60, 480], 5)",
"assert abs(r1 - 1.5556) < 1e-6",
"r2 = rect_energy([440... |
theo-eng-code-L2-code-011282 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 11, 0.2, 0.8)",
"assert abs(r0[0] - 6.82) < 1e-6",
"assert abs(r0[1] - 409.1) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L2-code-003709 | 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-refuse-007577 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-000287 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 1.0], [5.0, 3.5])",
"assert abs(r0 - 3.2016) < 1e-6",
"r1 = seg_len([3.5, 4.0], [3.5, 0.0])",
"assert abs(r1 - 4.0) < 1e-6",
"r2 = seg_len([0.5, 0.5], [3.5, 5.0])",... |
theo-eng-code-L3-code-007411 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 130, 80, 0.3)",
"assert abs(r0[0] - 95.0) < 1e-6",
"assert abs(r0[1] - 9.47) < 1e-6",
"assert abs(r0[2] - 568.4) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-003297 | 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([5.0, 2.5], [1.0, 3.5])",
"assert abs(r0 - 4.1231) < 1e-6",
"r1 = seg_len([3.0, 0.0], [3.0, 2.5])",
"assert abs(r1 - 2.5) < 1e-6",
"r2 = seg_len([1.0, 1.0], [2.0, 4.5])",... |
theo-eng-code-L2-code-013755 | 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-L3-code-010336 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 29, -0.08, 0.12, 0.7, 0.5, 0)",
"assert abs(r0[0] - 0.0518) < 1e-6",
"assert abs(r0[1] - 0.5682) < 1e-6",
"assert abs(r0[2] - 0.0518) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-014739 | 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(4.6, 0.26, 90, 2.5, 1.0)",
"assert abs(r0[0] - 12.24) < 1e-6",
"assert abs(r0[1] - 0.2727) < 1e-6",
"assert abs(r0[2] - 12.52) < 1e-6",
"r1 = joint_torque(5.5, 0.53, 6... |
theo-eng-code-L2-code-008592 | 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(9, 14, -0.09, 0.1, 0.3, 0.4, 0.5)",
"assert abs(r0[0] - 0.0257) < 1e-6",
"assert abs(r0[1] - 0.3609) < 1e-6",
"assert abs(r0[2] - 0.0073) < 1e-6",
"r1 = com_zmp(16, 14, -0.04... |
theo-eng-code-L3-code-007178 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.7, 50)",
"assert r0[0] == 216",
"assert r0[1] == 2",
"assert r0[2] == 432",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-008640 | 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([230, 50, 490], 2)",
"assert abs(r0 - 0.4278) < 1e-6",
"r1 = rect_energy([450, 390, 390, 290], 10)",
"assert abs(r1 - 4.2222) < 1e-6",
"r2 = rect_energy([340, 370... |
theo-eng-code-L1-code-001236 | 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-L2-code-009878 | 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-L3-code-003689 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 20, 3.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 7",
"assert r0[2] == 658",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 21.056) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-005328 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 9000, 180)",
"assert abs(r0[0] - 5.47) < 1e-6",
"assert abs(r0[1] - 1646.4) < 1e-6",
"r1 = gear_ratio(0.29, 4500, 120)",
"assert abs(r1[0] - 4.1) < 1e-6",
"assert... |
theo-eng-code-L2-code-002396 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.5, 5.0], [1.5, 2.5])",
"assert abs(r0 - 2.6926) < 1e-6",
"r1 = seg_len([1.5, 1.5], [4.0, 3.0])",
"assert abs(r1 - 2.9155) < 1e-6",
"r2 = seg_len([2.0, 1.0], [0.5, 5.0]... |
theo-eng-code-L3-code-002716 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.2, 5)",
"assert r0[0] == 62",
"assert r0[1] == 61",
"assert r0[2] == 3782",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 60.512) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-013552 | 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(5, 11, 0.1, 0.04, 0.6, 0.3, 0)",
"assert abs(r0[0] - 0.0587) < 1e-6",
"assert abs(r0[1] - 0.3937) < 1e-6",
"assert abs(r0[2] - 0.0587) < 1e-6",
"r1 = com_zmp(18, 14, -0.1, 0.12... |
theo-eng-code-L1-code-010311 | 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": "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-013486 | 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.43, 4000, 100)",
"assert abs(r0[0] - 6.48) < 1e-6",
"assert abs(r0[1] - 616.9) < 1e-6",
"r1 = gear_ratio(0.36, 12500, 120)",
"assert abs(r1[0] - 14.14) < 1e-6",
"as... |
theo-eng-code-L2-code-014709 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.7, 5)",
"assert r0[0] == 81",
"assert r0[1] == 7",
"assert r0[2] == 567",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 10.489) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-009325 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.1, 0.9)",
"assert abs(r0[0] - 2.86) < 1e-6",
"assert abs(r0[1] - 171.4) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-009678 | 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 3",
"assert r0[2] == 750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 12.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-009363 | 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(60, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask... |
theo-eng-code-L3-code-007007 | 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(11, 27, 0.03, 0.07, 0.5, 0.5, 2)",
"assert abs(r0[0] - 0.0584) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.0435) < 1e-6",
"r1 = com_zmp(20, 16, -0.04, 0.1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.