id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L3-code-012100 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.2, 10)",
"assert r0[0] == 250",
"assert r0[1] == 10",
"assert r0[2] == 2500",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6"
],
... |
theo-eng-code-L2-code-013562 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 11, 0.2, 0.8)",
"assert abs(r0[0] - 5.45) < 1e-6",
"assert abs(r0[1] - 327.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-007897 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([76, 75, 44, 22])",
"assert abs(r0[0] - 54.25) < 1e-6",
"assert abs(r0[1] - 26.133) < 1e-6",
"r1 = summarise([79, 57, 88, 95])",
"assert abs(r1[0] - 79.75) < 1e-6",
... |
theo-eng-code-L2-code-012521 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.0, 4.0], [2.0, 5.0])",
"assert abs(r0 - 2.2361) < 1e-6",
"r1 = seg_len([2.5, 0.0], [0.5, 2.0])",
"assert abs(r1 - 2.8284) < 1e-6",
"r2 = seg_len([0.5, 1.5], [2.0, 4.5]... |
theo-eng-code-L3-code-004927 | 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(55, 2350, 60, 0.29, 3.0, 0.011, 1.4, 0.92, 0.9)",
"assert abs(r0[0] - 342.3) < 1e-6",
"assert abs(r0[1] - 14.46) < 1e-6",
"assert abs(r0[2] - 8.68) < 1e-6",
"r1 = erange(75, 9... |
theo-eng-code-L2-code-013996 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.2, 0.58, 30, 2.0, 3.5)",
"assert abs(r0[0] - 15.93) < 1e-6",
"assert abs(r0[1] - 1.4802) < 1e-6",
"assert abs(r0[2] - 21.11) < 1e-6",
"r1 = joint_torque(5.7, 0.49, 9... |
theo-eng-code-L2-code-007293 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-012827 | 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(5.6, 0.5, 60, 2.0, 3.5)",
"assert abs(r0[0] - 20.39) < 1e-6",
"assert abs(r0[1] - 0.9667) < 1e-6",
"assert abs(r0[2] - 23.77) < 1e-6",
"r1 = joint_torque(2.8, 0.46, 60, ... |
theo-eng-code-L3-code-002463 | 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, 7000, 150)",
"assert abs(r0[0] - 5.81) < 1e-6",
"assert abs(r0[1] - 1205.7) < 1e-6",
"r1 = gear_ratio(0.25, 11500, 120)",
"assert abs(r1[0] - 9.03) < 1e-6",
"asse... |
theo-eng-code-L2-code-004450 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.75) < 1e-6",
"assert abs(r0[1] - 45.0) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_... |
theo-eng-code-L2-code-008540 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([46, 48, 18, 70, 78])",
"assert r0[0] == 52",
"assert abs(r0[1] - 23.495) < 1e-6",
"r1 = summarise([20, 98, 10, 29, 55])",
"assert abs(r1[0] - 42.4) < 1e-6",
"as... |
theo-eng-code-L2-code-000215 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-003722 | 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(300, 20, 3.7, 50)",
"assert r0[0] == 81",
"assert r0[1] == 2",
"assert r0[2] == 162",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-003775 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([360, 180, 270, 190, 430], 2)",
"assert abs(r0 - 0.7944) < 1e-6",
"r1 = rect_energy([90, 480, 420, 380], 1)",
"assert abs(r1 - 0.3806) < 1e-6",
"r2 = rect_energy(... |
theo-eng-code-L1-clarify-005064 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-clarify-015509 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-004274 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(38, 8, 0.5)",
"assert abs(r0 - 27.46) < 1e-6",
"r1 = rms_torque(84, 37, 0.5)",
"assert abs(r1 - 64.9) < 1e-6",
"r2 = rms_torque(70, 34, 0.75)",
"assert abs(r2 - 62.96)... |
theo-eng-code-L1-clarify-014220 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-007805 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 220, 30, 0.5)",
"assert abs(r0[0] - 125.0) < 1e-6",
"assert abs(r0[1] - 1.44) < 1e-6",
"assert abs(r0[2] - 86.4) < 1e-6",
"r1 = runtime(0.1, 220, 570, 0.5)",
"as... |
theo-eng-code-L2-code-002411 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.3, 7500, 100)",
"assert abs(r0[0] - 8.48) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.41, 10500, 150)",
"assert abs(r1[0] - 10.82) < 1e-6",
"ass... |
theo-eng-code-L2-code-000981 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.6, 2.5)",
"assert r0[0] == 222",
"assert r0[1] == 21",
"assert r0[2] == 4662",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 41.958) < 1e-6",
"r... |
theo-eng-code-L2-code-013888 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(45, 1890, 100, 0.22, 2.2, 0.011, 0.7, 0.9, 0.85)",
"assert abs(r0[0] - 272.2) < 1e-6",
"assert abs(r0[1] - 14.05) < 1e-6",
"assert abs(r0[2] - 14.05) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L3-code-009458 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(32, 31, 0.5)",
"assert abs(r0 - 31.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-007934 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r0[0] == 60",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r1[0] == 80",
... |
theo-eng-code-L2-code-003663 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 300, 240, 0.7)",
"assert abs(r0[0] - 282.0) < 1e-6",
"assert abs(r0[1] - 3.19) < 1e-6",
"assert abs(r0[2] - 191.5) < 1e-6",
"r1 = runtime(1.0, 150, 290, 0.3)",
"... |
theo-eng-code-L3-code-002682 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.5, 0.31, 30, 1.0, 1.0)",
"assert abs(r0[0] - 4.18) < 1e-6",
"assert abs(r0[1] - 0.2082) < 1e-6",
"assert abs(r0[2] - 4.39) < 1e-6",
"r1 = joint_torque(2.9, 0.19, 30, 2... |
theo-eng-code-L2-code-006250 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 25, 0.25)",
"assert abs(r0 - 35.79) < 1e-6",
"r1 = rms_torque(27, 20, 0.25)",
"assert abs(r1 - 21.96) < 1e-6",
"r2 = rms_torque(85, 23, 0.25)",
"assert abs(r2 - 46... |
theo-eng-code-L2-code-010506 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-005229 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 4.0], [1.5, 4.5])",
"assert abs(r0 - 3.0414) < 1e-6",
"r1 = seg_len([0.0, 4.0], [2.5, 2.5])",
"assert abs(r1 - 2.9155) < 1e-6",
"r2 = seg_len([3.5, 3.5], [1.5, 4.0]... |
theo-eng-code-L2-code-011254 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-014503 | 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": "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-012102 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(31, 7, 0.5)",
"assert abs(r0 - 22.47) < 1e-6",
"r1 = rms_torque(29, 7, 0.25)",
"assert abs(r1 - 15.72) < 1e-6",
"r2 = rms_torque(67, 15, 0.5)",
"assert abs(r2 - 48.55)... |
theo-eng-code-L2-code-014382 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 41",
"assert r0[2] == 2214",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-010732 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 5000, 120)",
"assert abs(r0[0] - 5.81) < 1e-6",
"assert abs(r0[1] - 860.3) < 1e-6",
"r1 = gear_ratio(0.29, 5500, 120)",
"assert abs(r1[0] - 5.01) < 1e-6",
"asse... |
theo-eng-code-L2-code-012160 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.5, 0.46, 90, 1.0, 2.0)",
"assert abs(r0[0] - 10.15) < 1e-6",
"assert abs(r0[1] - 0.3879) < 1e-6",
"assert abs(r0[2] - 10.93) < 1e-6",
"r1 = joint_torque(0.9, 0.13, 6... |
theo-eng-code-L3-code-014958 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 17, 0.1, 0.02, 0.3, 0.7, 0)",
"assert abs(r0[0] - 0.0477) < 1e-6",
"assert abs(r0[1] - 0.5615) < 1e-6",
"assert abs(r0[2] - 0.0477) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L3-code-008604 | 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(32, 1590, 100, 0.33, 2.2, 0.007, 1.0, 0.88, 0.95)",
"assert abs(r0[0] - 199.0) < 1e-6",
"assert abs(r0[1] - 15.28) < 1e-6",
"assert abs(r0[2] - 15.28) < 1e-6",
"r1 = erange(35... |
theo-eng-code-L3-code-006098 | 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.37, 14000, 150)",
"assert abs(r0[0] - 13.02) < 1e-6",
"assert abs(r0[1] - 1075.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L3-code-001494 | 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(500, 80, 3.6, 10)",
"assert r0[0] == 139",
"assert r0[1] == 16",
"assert r0[2] == 2224",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 80.064) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-007905 | 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.5, 240, 440, 0.5)",
"assert abs(r0[0] - 340.0) < 1e-6",
"assert abs(r0[1] - 1.32) < 1e-6",
"assert abs(r0[2] - 79.4) < 1e-6",
"r1 = runtime(0.5, 70, 430, 0.7)",
"asse... |
theo-eng-code-L2-code-012877 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(64, 2600, 100, 0.37, 2.7, 0.01, 0.5, 0.94, 0.85)",
"assert abs(r0[0] - 247.4) < 1e-6",
"assert abs(r0[1] - 21.99) < 1e-6",
"assert abs(r0[2] - 21.99) < 1e-6",
"r1 = erange(1... |
theo-eng-code-L2-code-005463 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "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-013838 | 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, 7, 0.2, 1.0)",
"assert abs(r0[0] - 11.43) < 1e-6",
"assert abs(r0[1] - 685.7) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L3-code-014758 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(28, 2440, 80, 0.28, 3.1, 0.009, 1.3, 0.92, 0.9)",
"assert abs(r0[0] - 156.9) < 1e-6",
"assert abs(r0[1] - 16.06) < 1e-6",
"assert abs(r0[2] - 12.85) < 1e-6",
"r1 = erange(32, ... |
theo-eng-code-L1-clarify-014125 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-001861 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.8, 0.34, 90, 6.0, 1.5)",
"assert abs(r0[0] - 23.01) < 1e-6",
"assert abs(r0[1] - 0.763) < 1e-6",
"assert abs(r0[2] - 24.16) < 1e-6",
"r1 = joint_torque(4.2, 0.51, 60... |
theo-eng-code-L1-clarify-001732 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-refuse-003382 | 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-L3-code-002937 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.6, 0.34, 60, 7.0, 1.0)",
"assert abs(r0[0] - 29.75) < 1e-6",
"assert abs(r0[1] - 1.0635) < 1e-6",
"assert abs(r0[2] - 30.82) < 1e-6",
"r1 = joint_torque(6.3, 0.37, 30,... |
theo-eng-code-L2-code-006200 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 240, 250, 0.7)",
"assert abs(r0[0] - 243.0) < 1e-6",
"assert abs(r0[1] - 0.74) < 1e-6",
"assert abs(r0[2] - 44.4) < 1e-6",
"r1 = runtime(0.1, 230, 100, 0.3)",
"a... |
theo-eng-code-L2-code-014671 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([470, 300, 480, 490], 10)",
"assert abs(r0 - 4.8333) < 1e-6",
"r1 = rect_energy([360, 260, 250, 230], 2)",
"assert abs(r1 - 0.6111) < 1e-6",
"r2 = rect_energy([50... |
theo-eng-code-L3-code-008116 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.6, 100)",
"assert r0[0] == 56",
"assert r0[1] == 2",
"assert r0[2] == 112",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 40.32) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-014152 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.67) < 1e-6",
"assert abs(r0[1] - 40.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_... |
theo-eng-code-L2-code-007686 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.2, 0.8)",
"assert abs(r0[0] - 3.41) < 1e-6",
"assert abs(r0[1] - 204.5) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_t... |
theo-eng-code-L3-code-014090 | 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, 140, 480, 0.7)",
"assert abs(r0[0] - 242.0) < 1e-6",
"assert abs(r0[1] - 3.72) < 1e-6",
"assert abs(r0[2] - 223.1) < 1e-6",
"r1 = runtime(0.5, 250, 500, 0.3)",
"as... |
theo-eng-code-L3-code-001307 | 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(6.7, 0.28, 60, 7.5, 2.5)",
"assert abs(r0[0] - 25.81) < 1e-6",
"assert abs(r0[1] - 0.7631) < 1e-6",
"assert abs(r0[2] - 27.72) < 1e-6",
"r1 = joint_torque(5.9, 0.37, 90,... |
theo-eng-code-L2-code-004695 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(24, 2, 0.75)",
"assert abs(r0 - 20.81) < 1e-6",
"r1 = rms_torque(13, 6, 0.75)",
"assert abs(r1 - 11.65) < 1e-6",
"r2 = rms_torque(67, 10, 0.25)",
"assert abs(r2 - 34.6... |
theo-eng-code-L3-code-003027 | 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.42, 14500, 120)",
"assert abs(r0[0] - 19.13) < 1e-6",
"assert abs(r0[1] - 757.9) < 1e-6",
"r1 = gear_ratio(0.37, 7500, 150)",
"assert abs(r1[0] - 6.97) < 1e-6",
"asse... |
theo-eng-code-L2-code-015410 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-012038 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([58, 44, 77, 58, 44, 28])",
"assert abs(r0[0] - 51.5) < 1e-6",
"assert abs(r0[1] - 16.73) < 1e-6",
"r1 = summarise([94, 57, 19, 82, 48, 80])",
"assert abs(r1[0] - 63... |
theo-eng-code-L1-clarify-001075 | 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-000290 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(71, 1350, 100, 0.26, 2.6, 0.011, 1.1, 0.9, 0.9)",
"assert abs(r0[0] - 413.4) < 1e-6",
"assert abs(r0[1] - 15.46) < 1e-6",
"assert abs(r0[2] - 15.46) < 1e-6",
"r1 = erange(64... |
theo-eng-code-L1-code-002672 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_cond",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-006427 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(77, 1990, 100, 0.3, 2.3, 0.011, 1.3, 0.9, 0.95)",
"assert abs(r0[0] - 406.6) < 1e-6",
"assert abs(r0[1] - 17.99) < 1e-6",
"assert abs(r0[2] - 17.99) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-011671 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 9000, 100)",
"assert abs(r0[0] - 14.59) < 1e-6",
"assert abs(r0[1] - 616.9) < 1e-6",
"r1 = gear_ratio(0.43, 11500, 120)",
"assert abs(r1[0] - 15.54) < 1e-6",
"a... |
theo-eng-code-L3-code-004468 | 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.39, 14000, 120)",
"assert abs(r0[0] - 17.15) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6",
"r1 = gear_ratio(0.4, 4500, 150)",
"assert abs(r1[0] - 4.52) < 1e-6",
"asser... |
theo-eng-code-L2-code-010009 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(50, 7, 0.5)",
"assert abs(r0 - 35.7) < 1e-6",
"r1 = rms_torque(94, 38, 0.75)",
"assert abs(r1 - 83.59) < 1e-6",
"r2 = rms_torque(61, 8, 0.75)",
"assert abs(r2 - 52.98)... |
theo-eng-code-L3-code-005719 | 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, 11, 0.2, 0.8)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L1-clarify-013237 | 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-012590 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(65, 1320, 80, 0.34, 2.1, 0.007, 0.3, 0.92, 0.9)",
"assert abs(r0[0] - 607.3) < 1e-6",
"assert abs(r0[1] - 9.63) < 1e-6",
"assert abs(r0[2] - 7.71) < 1e-6",
"r1 = erange(98, 25... |
theo-eng-code-L2-code-013370 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 29, -0.04, 0.07, 0.8, 0.6, 2)",
"assert abs(r0[0] - 0.0265) < 1e-6",
"assert abs(r0[1] - 0.6792) < 1e-6",
"assert abs(r0[2] - -0.112) < 1e-6",
"r1 = com_zmp(15, 18, -0.01... |
theo-eng-code-L2-code-014093 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r0[0] == 20",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r1[0] == 40",
"as... |
theo-eng-code-L2-code-006957 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.2, 0.9)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-002772 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r0[0] == 40",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')",
"assert r1[0] == 60",
"a... |
theo-eng-code-L2-code-003357 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([88, 77, 50, 16, 56, 49])",
"assert r0[0] == 56",
"assert abs(r0[1] - 25.1) < 1e-6",
"r1 = summarise([33, 18, 26, 45, 87, 81])",
"assert abs(r1[0] - 48.333) < 1e-6",... |
theo-eng-code-L1-clarify-013120 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-015963 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 9500, 100)",
"assert abs(r0[0] - 12.89) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.37, 12500, 180)",
"assert abs(r1[0] - 9.69) < 1e-6",
"as... |
theo-eng-code-L2-code-006777 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015448 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-refuse-002976 | 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-003367 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 22, -0.02, 0.01, 0.6, 0.5, 1)",
"assert abs(r0[0] - -0.0026) < 1e-6",
"assert abs(r0[1] - 0.5421) < 1e-6",
"assert abs(r0[2] - -0.0579) < 1e-6",
"r1 = com_zmp(13, 26, -0.... |
theo-eng-code-L3-code-008862 | 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(20, 11, 0.1, 0.9)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask... |
theo-eng-code-L1-code-000116 | 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": "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-015076 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 0.0], [3.0, 4.0])",
"assert abs(r0 - 5.0) < 1e-6",
"r1 = seg_len([4.0, 0.5], [4.5, 5.0])",
"assert abs(r1 - 4.5277) < 1e-6",
"r2 = seg_len([1.5, 1.0], [3.5, 4.5])",... |
theo-eng-code-L2-code-007753 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r1[0] == 80",
... |
theo-eng-code-L3-code-000725 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 9",
"assert r0[2] == 1404",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 11.232) < 1e-6"
]... |
theo-eng-code-L2-code-012073 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 180, 80, 0.7)",
"assert abs(r0[0] - 150.0) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"r1 = runtime(0.1, 210, 370, 0.7)",
"ass... |
theo-eng-code-L3-code-008239 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 150, 230, 0.7)",
"assert abs(r0[0] - 174.0) < 1e-6",
"assert abs(r0[1] - 2.59) < 1e-6",
"assert abs(r0[2] - 155.2) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L3-code-006035 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.6, 0.13, 45, 0.0, 1.0)",
"assert abs(r0[0] - 2.52) < 1e-6",
"assert abs(r0[1] - 0.0315) < 1e-6",
"assert abs(r0[2] - 2.56) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-001171 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.9, 0.51, 30, 6.0, 3.5)",
"assert abs(r0[0] - 22.39) < 1e-6",
"assert abs(r0[1] - 2.0721) < 1e-6",
"assert abs(r0[2] - 29.64) < 1e-6",
"r1 = joint_torque(5.7, 0.25, 9... |
theo-eng-code-L3-code-000133 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 11",
"assert r0[2] == 682",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 21.824) < 1e-6"
],
... |
theo-eng-code-L2-code-007312 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([53, 39, 28, 37, 30, 28])",
"assert abs(r0[0] - 35.833) < 1e-6",
"assert abs(r0[1] - 9.621) < 1e-6",
"r1 = summarise([38, 20, 31, 67, 62])",
"assert abs(r1[0] - 43.6... |
theo-eng-code-L2-code-002883 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, 4, 0.75)",
"assert abs(r0 - 30.38) < 1e-6",
"r1 = rms_torque(96, 13, 0.25)",
"assert abs(r1 - 49.3) < 1e-6",
"r2 = rms_torque(14, 3, 0.75)",
"assert abs(r2 - 12.22... |
theo-eng-code-L1-code-012175 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-007750 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 23, 0.04, 0.07, 0.7, 0.7, 0)",
"assert abs(r0[0] - 0.0616) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - 0.0616) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-004770 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.5, 0.34, 90, 2.5, 0.0)",
"assert abs(r0[0] - 15.84) < 1e-6",
"assert abs(r0[1] - 0.4624) < 1e-6",
"assert abs(r0[2] - 15.84) < 1e-6",
"r1 = joint_torque(6.3, 0.43, 9... |
theo-eng-code-L2-code-012506 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 2.0], [2.0, 3.0])",
"assert abs(r0 - 2.2361) < 1e-6",
"r1 = seg_len([1.5, 3.5], [4.0, 0.5])",
"assert abs(r1 - 3.9051) < 1e-6",
"r2 = seg_len([3.0, 4.0], [4.0, 1.5]... |
theo-eng-code-L1-clarify-004145 | 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-014743 | 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(51, 1100, 80, 0.23, 2.2, 0.01, 1.5, 0.92, 0.85)",
"assert abs(r0[0] - 444.4) < 1e-6",
"assert abs(r0[1] - 9.75) < 1e-6",
"assert abs(r0[2] - 7.8) < 1e-6",
"r1 = erange(46, 194... |
theo-eng-code-L2-code-008086 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([330, 400, 480, 450], 2)",
"assert abs(r0 - 0.9222) < 1e-6",
"r1 = rect_energy([440, 190, 400, 480, 180], 1)",
"assert abs(r1 - 0.4694) < 1e-6",
"r2 = rect_energy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.