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-006302 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.77, 0.83, 0.89, 0.86, 0.82])",
"assert abs(r0 - 0.89) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.74, 0.84, 0.88, 0.89, 0.85])",
"a... |
theo-eng-code-L2-code-001590 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.2, 0.9)",
"assert abs(r0[0] - 4.77) < 1e-6",
"assert abs(r0[1] - 286.4) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-013960 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(58, 1940, 120, 0.28, 1.9, 0.012, 1.3, 0.92, 0.85)",
"assert abs(r0[0] - 260.7) < 1e-6",
"assert abs(r0[1] - 18.91) < 1e-6",
"assert abs(r0[2] - 22.69) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-001476 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 14500, 180)",
"assert abs(r0[0] - 10.93) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.38, 8500, 180)",
"assert abs(r1[0] - 6.76) < 1e-6",
"a... |
theo-eng-code-L1-clarify-013857 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-003944 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-007528 | 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.45, 15000, 180)",
"assert abs(r0[0] - 14.14) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.38, 14000, 100)",
"assert abs(r1[0] - 20.06) < 1e-6",
"a... |
theo-eng-code-L2-code-005112 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.2, 0.55, 30, 6.0, 0.5)",
"assert abs(r0[0] - 25.9) < 1e-6",
"assert abs(r0[1] - 2.541) < 1e-6",
"assert abs(r0[2] - 27.17) < 1e-6",
"r1 = joint_torque(6.3, 0.25, 45,... |
theo-eng-code-L2-code-015387 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(73, 2310, 100, 0.38, 2.2, 0.013, 0.7, 0.92, 0.85)",
"assert abs(r0[0] - 288.3) < 1e-6",
"assert abs(r0[1] - 21.52) < 1e-6",
"assert abs(r0[2] - 21.52) < 1e-6",
"r1 = erange(... |
theo-eng-code-L3-code-015295 | 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(500, 80, 3.6, 5)",
"assert r0[0] == 139",
"assert r0[1] == 32",
"assert r0[2] == 4448",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 80.064) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-000322 | 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(12, 18, -0.03, 0.09, 0.9, 0.3, 1)",
"assert abs(r0[0] - 0.042) < 1e-6",
"assert abs(r0[1] - 0.54) < 1e-6",
"assert abs(r0[2] - -0.013) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L2-code-005337 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004351 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-015662 | 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(400, 80, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 81",
"assert r0[2] == 8991",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-003152 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 1.0], [4.5, 4.0])",
"assert abs(r0 - 5.4083) < 1e-6",
"r1 = seg_len([3.5, 0.5], [2.5, 4.5])",
"assert abs(r1 - 4.1231) < 1e-6",
"r2 = seg_len([3.5, 0.0], [4.0, 4.5]... |
theo-eng-code-L1-code-013930 | 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_fstring",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-006165 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 25, -0.07, 0.02, 0.3, 0.7, 2)",
"assert abs(r0[0] - -0.0164) < 1e-6",
"assert abs(r0[1] - 0.5381) < 1e-6",
"assert abs(r0[2] - -0.1261) < 1e-6",
"r1 = com_zmp(5, 24, 0.08, ... |
theo-eng-code-L2-code-006298 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.6, 50)",
"assert r0[0] == 111",
"assert r0[1] == 1",
"assert r0[2] == 111",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 19.98) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-006784 | 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(5.1, 0.1, 30, 7.0, 3.0)",
"assert abs(r0[0] - 4.68) < 1e-6",
"assert abs(r0[1] - 0.087) < 1e-6",
"assert abs(r0[2] - 4.95) < 1e-6",
"r1 = joint_torque(8.0, 0.55, 90, 7.5... |
theo-eng-code-L1-refuse-009206 | 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-001761 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4.5], [3.0, 4.5])",
"assert abs(r0 - 3.0) < 1e-6",
"r1 = seg_len([2.5, 0.5], [4.5, 4.5])",
"assert abs(r1 - 4.4721) < 1e-6",
"r2 = seg_len([2.5, 4.5], [4.0, 3.0])",... |
theo-eng-code-L3-code-004663 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 21, -0.05, 0.14, 0.8, 0.7, 1)",
"assert abs(r0[0] - 0.0578) < 1e-6",
"assert abs(r0[1] - 0.7432) < 1e-6",
"assert abs(r0[2] - -0.0179) < 1e-6",
"r1 = com_zmp(11, 11, 0.04, ... |
theo-eng-code-L2-code-004455 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([46, 79, 16, 24, 81, 95])",
"assert abs(r0[0] - 56.833) < 1e-6",
"assert abs(r0[1] - 32.848) < 1e-6",
"r1 = summarise([90, 43, 41, 25, 92, 50])",
"assert abs(r1[0] -... |
theo-eng-code-L2-code-004859 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([52, 60, 40, 29, 74])",
"assert r0[0] == 51",
"assert abs(r0[1] - 17.436) < 1e-6",
"r1 = summarise([43, 86, 90, 58])",
"assert abs(r1[0] - 69.25) < 1e-6",
"asser... |
theo-eng-code-L2-code-014929 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.79, 0.85, 0.89, 0.89, 0.83])",
"assert abs(r0 - 0.89) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.71, 0.84, 0.89, 0.85, 0.81])",
"a... |
theo-eng-code-L1-clarify-009939 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-clarify-010851 | 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-L3-code-002913 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 22, 0.06, 0.05, 0.5, 0.7, 1)",
"assert abs(r0[0] - 0.0541) < 1e-6",
"assert abs(r0[1] - 0.6189) < 1e-6",
"assert abs(r0[2] - -0.009) < 1e-6",
"r1 = com_zmp(12, 29, -0.05, -... |
theo-eng-code-L2-code-004412 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 38, 0.5)",
"assert abs(r0 - 44.41) < 1e-6",
"r1 = rms_torque(54, 14, 0.75)",
"assert abs(r1 - 47.29) < 1e-6",
"r2 = rms_torque(69, 4, 0.5)",
"assert abs(r2 - 48.87... |
theo-eng-code-L2-code-012397 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 30, 120, 0.5)",
"assert abs(r0[0] - 75.0) < 1e-6",
"assert abs(r0[1] - 2.4) < 1e-6",
"assert abs(r0[2] - 144.0) < 1e-6",
"r1 = runtime(1.0, 230, 60, 0.3)",
"asse... |
theo-eng-code-L3-code-006841 | 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.39, 6500, 120)",
"assert abs(r0[0] - 7.96) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L3-code-010586 | 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(3.1, 0.38, 90, 5.5, 3.5)",
"assert abs(r0[0] - 26.28) < 1e-6",
"assert abs(r0[1] - 0.9434) < 1e-6",
"assert abs(r0[2] - 29.58) < 1e-6",
"r1 = joint_torque(1.3, 0.13, 90,... |
theo-eng-code-L2-code-014999 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12, 0.0, 0.04, 0.4, 0.6, 0)",
"assert abs(r0[0] - 0.0218) < 1e-6",
"assert abs(r0[1] - 0.5091) < 1e-6",
"assert abs(r0[2] - 0.0218) < 1e-6",
"r1 = com_zmp(18, 18, 0.07, 0... |
theo-eng-code-L2-code-009885 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 180, 50, 0.7)",
"assert abs(r0[0] - 141.0) < 1e-6",
"assert abs(r0[1] - 3.19) < 1e-6",
"assert abs(r0[2] - 191.5) < 1e-6",
"r1 = runtime(0.2, 200, 120, 0.3)",
"a... |
theo-eng-code-L2-code-011092 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.7, 0.11, 45, 7.0, 1.0)",
"assert abs(r0[0] - 5.99) < 1e-6",
"assert abs(r0[1] - 0.0916) < 1e-6",
"assert abs(r0[2] - 6.08) < 1e-6",
"r1 = joint_torque(6.7, 0.36, 30,... |
theo-eng-code-L3-code-012671 | 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.26, 13500, 100)",
"assert abs(r0[0] - 13.23) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.42, 7000, 150)",
"assert abs(r1[0] - 7.39) < 1e-6",
"ass... |
theo-eng-code-L2-code-005961 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-015575 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(52, 31, 0.75)",
"assert abs(r0 - 47.63) < 1e-6",
"r1 = rms_torque(61, 34, 0.75)",
"assert abs(r1 - 55.5) < 1e-6",
"r2 = rms_torque(77, 13, 0.25)",
"assert abs(r2 - 40.11... |
theo-eng-code-L2-code-003470 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 170, 470, 0.5)",
"assert abs(r0[0] - 320.0) < 1e-6",
"assert abs(r0[1] - 1.41) < 1e-6",
"assert abs(r0[2] - 84.4) < 1e-6",
"r1 = runtime(1.0, 130, 210, 0.5)",
"a... |
theo-eng-code-L3-code-002250 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.2, 50)",
"assert r0[0] == 62",
"assert r0[1] == 5",
"assert r0[2] == 310",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 49.6) < 1e-6",
"r1 = pack... |
theo-eng-code-L2-code-005187 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(41, 910, 60, 0.35, 2.3, 0.008, 0.5, 0.9, 0.95)",
"assert abs(r0[0] - 536.1) < 1e-6",
"assert abs(r0[1] - 7.26) < 1e-6",
"assert abs(r0[2] - 4.36) < 1e-6",
"r1 = erange(51, 2... |
theo-eng-code-L2-code-005475 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 7, 0.1, 1.0)",
"assert abs(r0[0] - 12.86) < 1e-6",
"assert abs(r0[1] - 771.4) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_tim... |
theo-eng-code-L3-code-007696 | 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(4.5, 0.47, 90, 8.0, 1.5)",
"assert abs(r0[0] - 47.26) < 1e-6",
"assert abs(r0[1] - 2.0985) < 1e-6",
"assert abs(r0[2] - 50.41) < 1e-6",
"r1 = joint_torque(3.0, 0.42, 30,... |
theo-eng-code-L1-clarify-012850 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-006407 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 290, 180, 0.7)",
"assert abs(r0[0] - 257.0) < 1e-6",
"assert abs(r0[1] - 0.35) < 1e-6",
"assert abs(r0[2] - 21.0) < 1e-6",
"r1 = runtime(0.1, 280, 100, 0.5)",
"a... |
theo-eng-code-L2-code-012669 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(38, 26, 0.5)",
"assert abs(r0 - 32.56) < 1e-6",
"r1 = rms_torque(24, 14, 0.25)",
"assert abs(r1 - 17.06) < 1e-6",
"r2 = rms_torque(43, 27, 0.5)",
"assert abs(r2 - 35.9... |
theo-eng-code-L2-code-006159 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 11, 0.1, 1.0)",
"assert abs(r0[0] - 4.09) < 1e-6",
"assert abs(r0[1] - 245.5) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-011514 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-012138 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-011549 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([25, 93, 43, 98, 32])",
"assert abs(r0[0] - 58.2) < 1e-6",
"assert abs(r0[1] - 34.694) < 1e-6",
"r1 = summarise([19, 42, 31, 51])",
"assert abs(r1[0] - 35.75) < 1e-6... |
theo-eng-code-L2-code-002218 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4.5], [4.0, 1.0])",
"assert abs(r0 - 4.3012) < 1e-6",
"r1 = seg_len([3.5, 0.5], [4.5, 3.5])",
"assert abs(r1 - 3.1623) < 1e-6",
"r2 = seg_len([0.0, 4.0], [1.0, 0.5]... |
theo-eng-code-L3-code-006399 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 20, 0.08, 0.12, 0.7, 0.8, 0)",
"assert abs(r0[0] - 0.1011) < 1e-6",
"assert abs(r0[1] - 0.7526) < 1e-6",
"assert abs(r0[2] - 0.1011) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L2-code-013932 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 30, -0.1, 0.13, 0.5, 0.4, 2)",
"assert abs(r0[0] - 0.0816) < 1e-6",
"assert abs(r0[1] - 0.4211) < 1e-6",
"assert abs(r0[2] - -0.0043) < 1e-6",
"r1 = com_zmp(18, 25, -0.09,... |
theo-eng-code-L3-code-000884 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(63, 1200, 80, 0.25, 2.2, 0.012, 1.0, 0.92, 0.95)",
"assert abs(r0[0] - 567.9) < 1e-6",
"assert abs(r0[1] - 10.54) < 1e-6",
"assert abs(r0[2] - 8.43) < 1e-6",
"r1 = erange(58, ... |
theo-eng-code-L2-code-007334 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(47, 1770, 80, 0.29, 3.1, 0.013, 0.7, 0.9, 0.95)",
"assert abs(r0[0] - 275.0) < 1e-6",
"assert abs(r0[1] - 16.23) < 1e-6",
"assert abs(r0[2] - 12.99) < 1e-6",
"r1 = erange(92... |
theo-eng-code-L2-code-007202 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-007771 | 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(60, 2130, 80, 0.29, 2.3, 0.007, 1.3, 0.9, 0.85)",
"assert abs(r0[0] - 412.4) < 1e-6",
"assert abs(r0[1] - 12.37) < 1e-6",
"assert abs(r0[2] - 9.89) < 1e-6",
"r1 = erange(31, 1... |
theo-eng-code-L1-refuse-008176 | 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-code-007945 | 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_loop_sum",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-001467 | 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(19, 10, 0.03, 0.06, 0.6, 0.5, 2)",
"assert abs(r0[0] - 0.0403) < 1e-6",
"assert abs(r0[1] - 0.5655) < 1e-6",
"assert abs(r0[2] - -0.0749) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-005484 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-clarify-004711 | 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-refuse-001939 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-013623 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([120, 390, 380, 160], 5)",
"assert abs(r0 - 1.4583) < 1e-6",
"r1 = rect_energy([60, 280, 260, 500], 10)",
"assert abs(r1 - 3.0556) < 1e-6",
"r2 = rect_energy([260... |
theo-eng-code-L3-code-012145 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.7, 0.37, 45, 1.5, 2.0)",
"assert abs(r0[0] - 12.45) < 1e-6",
"assert abs(r0[1] - 0.5111) < 1e-6",
"assert abs(r0[2] - 13.47) < 1e-6",
"r1 = joint_torque(5.3, 0.38, 30,... |
theo-eng-code-L2-code-010697 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 9500, 100)",
"assert abs(r0[0] - 15.4) < 1e-6",
"assert abs(r0[1] - 616.9) < 1e-6",
"r1 = gear_ratio(0.35, 11000, 150)",
"assert abs(r1[0] - 9.68) < 1e-6",
"ass... |
theo-eng-code-L2-code-009242 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(59, 12, 0.5)",
"assert abs(r0 - 42.57) < 1e-6",
"r1 = rms_torque(49, 34, 0.25)",
"assert abs(r1 - 38.3) < 1e-6",
"r2 = rms_torque(71, 28, 0.25)",
"assert abs(r2 - 42.9... |
theo-eng-code-L3-code-010197 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(92, 12, 0.5)",
"assert abs(r0 - 65.6) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-005089 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 14000, 120)",
"assert abs(r0[0] - 11.0) < 1e-6",
"assert abs(r0[1] - 1273.2) < 1e-6",
"r1 = gear_ratio(0.45, 8500, 150)",
"assert abs(r1[0] - 9.61) < 1e-6",
"as... |
theo-eng-code-L2-code-006582 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 0.5], [4.5, 4.5])",
"assert abs(r0 - 5.6569) < 1e-6",
"r1 = seg_len([4.5, 4.0], [2.0, 0.0])",
"assert abs(r1 - 4.717) < 1e-6",
"r2 = seg_len([3.5, 5.0], [4.0, 1.0])... |
theo-eng-code-L1-code-013296 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-010795 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([51, 68, 31, 46, 46, 12])",
"assert abs(r0[0] - 42.333) < 1e-6",
"assert abs(r0[1] - 19.023) < 1e-6",
"r1 = summarise([12, 30, 68, 29, 18])",
"assert abs(r1[0] - 31.... |
theo-eng-code-L1-code-003362 | 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_fstring",
"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-001685 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-004010 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.44, 14500, 150)",
"assert abs(r0[0] - 16.03) < 1e-6",
"assert abs(r0[1] - 904.3) < 1e-6",
"r1 = gear_ratio(0.45, 4500, 150)",
"assert abs(r1[0] - 5.09) < 1e-6",
"as... |
theo-eng-code-L3-code-006002 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 4500, 150)",
"assert abs(r0[0] - 2.94) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-003811 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 29, -0.06, 0.03, 0.9, 0.3, 0.5)",
"assert abs(r0[0] - 0.0069) < 1e-6",
"assert abs(r0[1] - 0.4538) < 1e-6",
"assert abs(r0[2] - -0.0162) < 1e-6",
"r1 = com_zmp(11, 10, -0.0... |
theo-eng-code-L3-code-004985 | 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(19, 2, 0.75)",
"assert abs(r0 - 16.48) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-000599 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(38, 2080, 80, 0.34, 2.2, 0.009, 1.1, 0.94, 0.95)",
"assert abs(r0[0] - 267.7) < 1e-6",
"assert abs(r0[1] - 13.49) < 1e-6",
"assert abs(r0[2] - 10.79) < 1e-6",
"r1 = erange(4... |
theo-eng-code-L3-code-001464 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 11, 0.2, 1.0)",
"assert abs(r0[0] - 7.27) < 1e-6",
"assert abs(r0[1] - 436.4) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L2-code-000662 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 10, -0.04, 0.01, 0.6, 0.5, 0)",
"assert abs(r0[0] - -0.0106) < 1e-6",
"assert abs(r0[1] - 0.5412) < 1e-6",
"assert abs(r0[2] - -0.0106) < 1e-6",
"r1 = com_zmp(12, 26, -0.0... |
theo-eng-code-L2-code-000125 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 10000, 120)",
"assert abs(r0[0] - 13.51) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.25, 7000, 100)",
"assert abs(r1[0] - 6.6) < 1e-6",
"ass... |
theo-eng-code-L2-code-003268 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 21, -0.08, 0.04, 0.5, 0.4, 0.5)",
"assert abs(r0[0] - -0.0119) < 1e-6",
"assert abs(r0[1] - 0.4432) < 1e-6",
"assert abs(r0[2] - -0.0345) < 1e-6",
"r1 = com_zmp(17, 17, 0... |
theo-eng-code-L3-code-011437 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 200, 600, 0.5)",
"assert abs(r0[0] - 400.0) < 1e-6",
"assert abs(r0[1] - 0.23) < 1e-6",
"assert abs(r0[2] - 13.5) < 1e-6",
"r1 = runtime(0.5, 80, 290, 0.5)",
"asse... |
theo-eng-code-L3-code-004687 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(57, 21, 0.25)",
"assert abs(r0 - 33.81) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-007209 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.3, 0.29, 30, 2.5, 0.5)",
"assert abs(r0[0] - 8.04) < 1e-6",
"assert abs(r0[1] - 0.3869) < 1e-6",
"assert abs(r0[2] - 8.23) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-013044 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(15, 3, 0.75)",
"assert abs(r0 - 13.08) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L3-code-000574 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 110, 340, 0.5)",
"assert abs(r0[0] - 225.0) < 1e-6",
"assert abs(r0[1] - 2.0) < 1e-6",
"assert abs(r0[2] - 120.0) < 1e-6",
"r1 = runtime(0.2, 290, 600, 0.5)",
"ass... |
theo-eng-code-L3-code-011968 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.5, 0.38, 90, 5.0, 0.5)",
"assert abs(r0[0] - 28.89) < 1e-6",
"assert abs(r0[1] - 0.9867) < 1e-6",
"assert abs(r0[2] - 29.38) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-004053 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 60, 3.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 16",
"assert r0[2] == 1776",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6",
"r1... |
theo-eng-code-L2-code-008543 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.6, 100)",
"assert r0[0] == 83",
"assert r0[1] == 3",
"assert r0[2] == 249",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 89.64) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-007395 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-010944 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 19, 0.0, 0.02, 0.4, 0.3, 0)",
"assert abs(r0[0] - 0.0109) < 1e-6",
"assert abs(r0[1] - 0.3457) < 1e-6",
"assert abs(r0[2] - 0.0109) < 1e-6",
"r1 = com_zmp(5, 12, 0.01, 0.13... |
theo-eng-code-L1-refuse-005667 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-008812 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.8, 0.25, 60, 2.5, 0.5)",
"assert abs(r0[0] - 11.47) < 1e-6",
"assert abs(r0[1] - 0.2771) < 1e-6",
"assert abs(r0[2] - 11.61) < 1e-6",
"r1 = joint_torque(2.6, 0.11, 6... |
theo-eng-code-L2-code-004269 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.5, 1.0], [2.0, 0.5])",
"assert abs(r0 - 1.5811) < 1e-6",
"r1 = seg_len([4.0, 2.5], [3.5, 2.5])",
"assert abs(r1 - 0.5) < 1e-6",
"r2 = seg_len([0.5, 3.5], [0.5, 4.5])",... |
theo-eng-code-L2-code-001649 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 130, 430, 0.3)",
"assert abs(r0[0] - 340.0) < 1e-6",
"assert abs(r0[1] - 2.65) < 1e-6",
"assert abs(r0[2] - 158.8) < 1e-6",
"r1 = runtime(0.5, 100, 510, 0.7)",
"... |
theo-eng-code-L3-code-004199 | 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.1, 140, 450, 0.3)",
"assert abs(r0[0] - 357.0) < 1e-6",
"assert abs(r0[1] - 0.25) < 1e-6",
"assert abs(r0[2] - 15.1) < 1e-6",
"r1 = runtime(0.5, 240, 350, 0.3)",
"ass... |
theo-eng-code-L3-code-000696 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 100, 170, 0.3)",
"assert abs(r0[0] - 149.0) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 36.2) < 1e-6",
"r1 = runtime(1.0, 300, 530, 0.5)",
"asse... |
theo-eng-code-L2-code-012944 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(40, 11, 0.25)",
"assert abs(r0 - 22.15) < 1e-6",
"r1 = rms_torque(50, 17, 0.5)",
"assert abs(r1 - 37.34) < 1e-6",
"r2 = rms_torque(44, 37, 0.25)",
"assert abs(r2 - 38.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.