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-005403 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.2, 1.0)",
"assert abs(r0[0] - 5.71) < 1e-6",
"assert abs(r0[1] - 342.9) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L3-code-006452 | 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(85, 4, 0.5)",
"assert abs(r0 - 60.17) < 1e-6",
"r1 = rms_torque(53, 9, 0.25)",
"assert abs(r1 - 27.62) < 1e-6",
"r2 = rms_torque(68, 7, 0.25)",
"assert abs(r2 - 34.54) <... |
theo-eng-code-L2-code-002714 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(63, 34, 0.25)",
"assert abs(r0 - 43.12) < 1e-6",
"r1 = rms_torque(36, 24, 0.5)",
"assert abs(r1 - 30.59) < 1e-6",
"r2 = rms_torque(10, 7, 0.25)",
"assert abs(r2 - 7.86... |
theo-eng-code-L2-code-000123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([80, 410, 470], 5)",
"assert abs(r0 - 1.3333) < 1e-6",
"r1 = rect_energy([410, 460, 340, 50, 260], 2)",
"assert abs(r1 - 0.8444) < 1e-6",
"r2 = rect_energy([200, ... |
theo-eng-code-L1-clarify-014846 | 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-L2-code-005733 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 12500, 120)",
"assert abs(r0[0] - 12.17) < 1e-6",
"assert abs(r0[1] - 1026.8) < 1e-6",
"r1 = gear_ratio(0.29, 9500, 150)",
"assert abs(r1[0] - 6.92) < 1e-6",
"a... |
theo-eng-code-L2-code-004079 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 4.0], [1.5, 3.5])",
"assert abs(r0 - 3.5355) < 1e-6",
"r1 = seg_len([5.0, 4.0], [4.5, 0.0])",
"assert abs(r1 - 4.0311) < 1e-6",
"r2 = seg_len([2.0, 5.0], [5.0, 0.5]... |
theo-eng-code-L3-code-008329 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(17, 12, 0.75)",
"assert abs(r0 - 15.9) < 1e-6",
"r1 = rms_torque(5, 2, 0.75)",
"assert abs(r1 - 4.44) < 1e-6",
"r2 = rms_torque(71, 33, 0.75)",
"assert abs(r2 - 63.66) <... |
theo-eng-code-L2-code-008288 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(59, 37, 0.5)",
"assert abs(r0 - 49.24) < 1e-6",
"r1 = rms_torque(83, 32, 0.75)",
"assert abs(r1 - 73.64) < 1e-6",
"r2 = rms_torque(76, 34, 0.75)",
"assert abs(r2 - 67.... |
theo-eng-code-L2-code-003661 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([93, 39, 41, 99, 98, 96])",
"assert abs(r0[0] - 77.667) < 1e-6",
"assert abs(r0[1] - 29.255) < 1e-6",
"r1 = summarise([29, 47, 10, 53])",
"assert abs(r1[0] - 34.75) ... |
theo-eng-code-L2-code-008305 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 27, 0.0, 0.03, 0.7, 0.4, 0)",
"assert abs(r0[0] - 0.0176) < 1e-6",
"assert abs(r0[1] - 0.5239) < 1e-6",
"assert abs(r0[2] - 0.0176) < 1e-6",
"r1 = com_zmp(14, 21, -0.07, ... |
theo-eng-code-L2-code-008950 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(38, 7, 0.75)",
"assert abs(r0 - 33.09) < 1e-6",
"r1 = rms_torque(6, 5, 0.25)",
"assert abs(r1 - 5.27) < 1e-6",
"r2 = rms_torque(44, 20, 0.75)",
"assert abs(r2 - 39.4) ... |
theo-eng-code-L3-code-012682 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 80, 130, 0.3)",
"assert abs(r0[0] - 115.0) < 1e-6",
"assert abs(r0[1] - 0.78) < 1e-6",
"assert abs(r0[2] - 47.0) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L3-code-000827 | 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(400, 60, 3.6, 50)",
"assert r0[0] == 111",
"assert r0[1] == 4",
"assert r0[2] == 444",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-012364 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.3, 0.17, 45, 0.0, 0.0)",
"assert abs(r0[0] - 3.12) < 1e-6",
"assert abs(r0[1] - 0.0511) < 1e-6",
"assert abs(r0[2] - 3.12) < 1e-6",
"r1 = joint_torque(2.1, 0.3, 45, ... |
theo-eng-code-L2-code-007349 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-006189 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 6, 0.5)",
"assert abs(r0 - 8.25) < 1e-6",
"r1 = rms_torque(8, 2, 0.25)",
"assert abs(r1 - 4.36) < 1e-6",
"r2 = rms_torque(77, 39, 0.5)",
"assert abs(r2 - 61.03) < ... |
theo-eng-code-L2-code-010457 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 1.0], [3.5, 1.0])",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = seg_len([5.0, 4.0], [3.0, 5.0])",
"assert abs(r1 - 2.2361) < 1e-6",
"r2 = seg_len([1.0, 3.0], [4.5, 4.0])",... |
theo-eng-code-L2-code-007309 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 40, 3.2, 2.5)",
"assert r0[0] == 94",
"assert r0[1] == 54",
"assert r0[2] == 5076",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 40.608) < 1e-6",
"r1... |
theo-eng-code-L2-code-002598 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.52, 45, 2.5, 1.0)",
"assert abs(r0[0] - 18.04) < 1e-6",
"assert abs(r0[1] - 1.1267) < 1e-6",
"assert abs(r0[2] - 19.16) < 1e-6",
"r1 = joint_torque(2.0, 0.28, 6... |
theo-eng-code-L2-code-010643 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014102 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, [0, 25, 50, 75, 100], [0.75, 0.81, 0.89, 0.85, 0.81])",
"assert abs(r0 - 0.786) < 1e-6",
"r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.7, 0.8, 0.9, 0.87, 0.83])",
"ass... |
theo-eng-code-L2-code-003618 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.6, 100)",
"assert r0[0] == 111",
"assert r0[1] == 3",
"assert r0[2] == 333",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 119.88) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-011030 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.37, 13000, 150)",
"assert abs(r0[0] - 12.09) < 1e-6",
"assert abs(r0[1] - 1075.4) < 1e-6",
"r1 = gear_ratio(0.29, 11000, 120)",
"assert abs(r1[0] - 10.02) < 1e-6",
"a... |
theo-eng-code-L2-code-002451 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 150, 0.2, 1.0)",
"assert abs(r0[0] - 0.53) < 1e-6",
"assert abs(r0[1] - 32.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_t... |
theo-eng-code-L1-clarify-000333 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-014142 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 80, 3.7, 5)",
"assert r0[0] == 135",
"assert r0[1] == 33",
"assert r0[2] == 4455",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 82.418) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-013777 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001770 | 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.3, 0.39, 60, 4.0, 3.5)",
"assert abs(r0[0] - 23.69) < 1e-6",
"assert abs(r0[1] - 0.9278) < 1e-6",
"assert abs(r0[2] - 26.94) < 1e-6",
"r1 = joint_torque(3.2, 0.35, 60,... |
theo-eng-code-L3-code-001230 | 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(400, 60, 3.6, 50)",
"assert r0[0] == 111",
"assert r0[1] == 4",
"assert r0[2] == 444",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6"
],
... |
theo-eng-code-L2-code-010881 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L1-refuse-006216 | 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_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-000592 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([130, 340, 190, 480], 5)",
"assert abs(r0 - 1.5833) < 1e-6",
"r1 = rect_energy([100, 50, 300], 1)",
"assert abs(r1 - 0.125) < 1e-6",
"r2 = rect_energy([140, 210, ... |
theo-eng-code-L2-code-012209 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(48, 20, 0.5)",
"assert abs(r0 - 36.77) < 1e-6",
"r1 = rms_torque(81, 38, 0.25)",
"assert abs(r1 - 52.18) < 1e-6",
"r2 = rms_torque(33, 3, 0.25)",
"assert abs(r2 - 16.7... |
theo-eng-code-L2-code-006221 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([82, 50, 31, 44, 58, 59])",
"assert r0[0] == 54",
"assert abs(r0[1] - 17.146) < 1e-6",
"r1 = summarise([97, 90, 14, 23, 55])",
"assert abs(r1[0] - 55.8) < 1e-6",
... |
theo-eng-code-L3-code-013221 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 24, 0.03, -0.01, 0.3, 0.8, 2)",
"assert abs(r0[0] - -0.001) < 1e-6",
"assert abs(r0[1] - 0.6871) < 1e-6",
"assert abs(r0[2] - -0.141) < 1e-6",
"r1 = com_zmp(7, 19, 0.08, -0.... |
theo-eng-code-L2-code-009156 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.1, 0.9)",
"assert abs(r0[0] - 0.4) < 1e-6",
"assert abs(r0[1] - 24.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L1-code-003657 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-013969 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 14500, 120)",
"assert abs(r0[0] - 15.94) < 1e-6",
"assert abs(r0[1] - 909.5) < 1e-6",
"r1 = gear_ratio(0.36, 6000, 180)",
"assert abs(r1[0] - 4.52) < 1e-6",
"as... |
theo-eng-code-L3-code-006618 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.7, 100)",
"assert r0[0] == 81",
"assert r0[1] == 1",
"assert r0[2] == 81",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6",
"r1 = pac... |
theo-eng-code-L3-code-005963 | 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(2.4, 0.35, 60, 2.0, 3.5)",
"assert abs(r0[0] - 9.52) < 1e-6",
"assert abs(r0[1] - 0.343) < 1e-6",
"assert abs(r0[2] - 10.72) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-015053 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 60, 70, 0.7)",
"assert abs(r0[0] - 63.0) < 1e-6",
"assert abs(r0[1] - 1.43) < 1e-6",
"assert abs(r0[2] - 85.7) < 1e-6"
],
"subtask": "writetests",
"verified_b... |
theo-eng-code-L2-code-008736 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-005523 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 200, 580, 0.3)",
"assert abs(r0[0] - 466.0) < 1e-6",
"assert abs(r0[1] - 0.19) < 1e-6",
"assert abs(r0[2] - 11.6) < 1e-6",
"r1 = runtime(0.2, 40, 470, 0.5)",
"as... |
theo-eng-code-L2-code-008065 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 16, -0.08, -0.01, 0.5, 0.4, 0)",
"assert abs(r0[0] - -0.0333) < 1e-6",
"assert abs(r0[1] - 0.4333) < 1e-6",
"assert abs(r0[2] - -0.0333) < 1e-6",
"r1 = com_zmp(13, 28, 0.0... |
theo-eng-code-L2-code-007922 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(68, 28, 0.5)",
"assert abs(r0 - 52.0) < 1e-6",
"r1 = rms_torque(14, 8, 0.25)",
"assert abs(r1 - 9.85) < 1e-6",
"r2 = rms_torque(30, 10, 0.5)",
"assert abs(r2 - 22.36) ... |
theo-eng-code-L2-code-014783 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 10, 3.6, 2.5)",
"assert r0[0] == 56",
"assert r0[1] == 20",
"assert r0[2] == 1120",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 10.08) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-008170 | 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.25, 10000, 100)",
"assert abs(r0[0] - 9.42) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.37, 4000, 100)",
"assert abs(r1[0] - 5.58) < 1e-6",
"asse... |
theo-eng-code-L2-code-000437 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 7, 0.1, 0.8)",
"assert abs(r0[0] - 2.5) < 1e-6",
"assert abs(r0[1] - 150.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-000309 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 1230, 100, 0.29, 2.3, 0.013, 0.7, 0.9, 0.95)",
"assert abs(r0[0] - 267.5) < 1e-6",
"assert abs(r0[1] - 15.27) < 1e-6",
"assert abs(r0[2] - 15.27) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L2-code-015061 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([380, 450, 90, 230], 2)",
"assert abs(r0 - 0.6389) < 1e-6",
"r1 = rect_energy([230, 430, 50, 240], 2)",
"assert abs(r1 - 0.5278) < 1e-6",
"r2 = rect_energy([130, ... |
theo-eng-code-L2-code-002941 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 16, 0.75)",
"assert abs(r0 - 50.01) < 1e-6",
"r1 = rms_torque(47, 3, 0.75)",
"assert abs(r1 - 40.73) < 1e-6",
"r2 = rms_torque(22, 22, 0.75)",
"assert abs(r2 - 22.... |
theo-eng-code-L3-code-012788 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 11",
"assert r0[2] == 1221",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 10.989) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-012914 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.1, 1.0)",
"assert abs(r0[0] - 5.11) < 1e-6",
"assert abs(r0[1] - 306.8) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 22"
],
"subtas... |
theo-eng-code-L1-code-003303 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-002450 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.7, 2.5)",
"assert r0[0] == 81",
"assert r0[1] == 81",
"assert r0[2] == 6561",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 60.689) < 1e-6",
"r1... |
theo-eng-code-L2-code-007644 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.6, 0.14, 30, 0.5, 0.0)",
"assert abs(r0[0] - 1.92) < 1e-6",
"assert abs(r0[1] - 0.0399) < 1e-6",
"assert abs(r0[2] - 1.92) < 1e-6",
"r1 = joint_torque(6.5, 0.31, 60,... |
theo-eng-code-L3-code-000102 | 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.45, 7000, 180)",
"assert abs(r0[0] - 6.6) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.45, 13500, 100)",
"assert abs(r1[0] - 22.9) < 1e-6",
"asser... |
theo-eng-code-L2-code-014931 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 14, 0.02, 0.14, 0.7, 0.9, 1)",
"assert abs(r0[0] - 0.1) < 1e-6",
"assert abs(r0[1] - 0.8333) < 1e-6",
"assert abs(r0[2] - 0.0151) < 1e-6",
"r1 = com_zmp(6, 25, 0.01, 0.13,... |
theo-eng-code-L2-code-014258 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.6, 10)",
"assert r0[0] == 222",
"assert r0[1] == 2",
"assert r0[2] == 444",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 15.984) < 1e-6",
"r1 =... |
theo-eng-code-L1-code-007040 | 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-L1-code-006448 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-009033 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(74, 5, 0.5)",
"assert abs(r0 - 52.45) < 1e-6",
"r1 = rms_torque(89, 13, 0.25)",
"assert abs(r1 - 45.9) < 1e-6",
"r2 = rms_torque(24, 5, 0.25)",
"assert abs(r2 - 12.76) <... |
theo-eng-code-L3-code-000065 | 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(6, 14, -0.07, -0.05, 0.3, 0.7, 2)",
"assert abs(r0[0] - -0.056) < 1e-6",
"assert abs(r0[1] - 0.58) < 1e-6",
"assert abs(r0[2] - -0.1742) < 1e-6",
"r1 = com_zmp(11, 28, -0.04, 0... |
theo-eng-code-L3-code-015028 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(22, 13, 0.5)",
"assert abs(r0 - 18.07) < 1e-6",
"r1 = rms_torque(40, 24, 0.5)",
"assert abs(r1 - 32.98) < 1e-6",
"r2 = rms_torque(82, 2, 0.75)",
"assert abs(r2 - 71.02) ... |
theo-eng-code-L3-code-006901 | 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, 30, 200, 0.5)",
"assert abs(r0[0] - 115.0) < 1e-6",
"assert abs(r0[1] - 0.78) < 1e-6",
"assert abs(r0[2] - 47.0) < 1e-6",
"r1 = runtime(0.5, 250, 490, 0.7)",
"asse... |
theo-eng-code-L3-code-007721 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 14000, 150)",
"assert abs(r0[0] - 12.67) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L3-code-004934 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.6, 2.5)",
"assert r0[0] == 83",
"assert r0[1] == 108",
"assert r0[2] == 8964",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 80.676) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-003921 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 7000, 150)",
"assert abs(r0[0] - 7.74) < 1e-6",
"assert abs(r0[1] - 904.3) < 1e-6",
"r1 = gear_ratio(0.44, 11000, 150)",
"assert abs(r1[0] - 12.16) < 1e-6",
"as... |
theo-eng-code-L2-code-010163 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 10500, 150)",
"assert abs(r0[0] - 7.39) < 1e-6",
"assert abs(r0[1] - 1421.0) < 1e-6",
"r1 = gear_ratio(0.32, 4500, 120)",
"assert abs(r1[0] - 4.52) < 1e-6",
"as... |
theo-eng-code-L3-code-012928 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.1, 1.0)",
"assert abs(r0[0] - 3.21) < 1e-6",
"assert abs(r0[1] - 192.9) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(6... |
theo-eng-code-L2-code-008980 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.45) < 1e-6",
"assert abs(r0[1] - 27.0) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_t... |
theo-eng-code-L3-code-009269 | 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(13, 26, -0.03, 0.02, 0.9, 0.8, 0.5)",
"assert abs(r0[0] - 0.0033) < 1e-6",
"assert abs(r0[1] - 0.8333) < 1e-6",
"assert abs(r0[2] - -0.0391) < 1e-6"
],
"subtask": "write... |
theo-eng-code-L2-code-015731 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 10, -0.02, 0.11, 0.8, 0.3, 0.5)",
"assert abs(r0[0] - 0.0419) < 1e-6",
"assert abs(r0[1] - 0.5619) < 1e-6",
"assert abs(r0[2] - 0.0133) < 1e-6",
"r1 = com_zmp(5, 15, -0.0... |
theo-eng-code-L2-code-007332 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.8, 0.8, 0.85, 0.85, 0.82])",
"assert abs(r0 - 0.81) < 1e-6",
"r1 = interp_eff(10, [0, 25, 50, 75, 100], [0.73, 0.84, 0.87, 0.85, 0.82])",
"ass... |
theo-eng-code-L2-code-011059 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 290, 450, 0.3)",
"assert abs(r0[0] - 402.0) < 1e-6",
"assert abs(r0[1] - 2.24) < 1e-6",
"assert abs(r0[2] - 134.3) < 1e-6",
"r1 = runtime(1.0, 210, 230, 0.5)",
"... |
theo-eng-code-L3-code-009674 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(27, 20, 0.25)",
"assert abs(r0 - 21.96) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-001661 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 160, 600, 0.3)",
"assert abs(r0[0] - 468.0) < 1e-6",
"assert abs(r0[1] - 0.19) < 1e-6",
"assert abs(r0[2] - 11.5) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-009489 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.29) < 1e-6",
"assert abs(r0[1] - 17.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"... |
theo-eng-code-L2-code-005332 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, 11, 0.75)",
"assert abs(r0 - 22.34) < 1e-6",
"r1 = rms_torque(70, 15, 0.5)",
"assert abs(r1 - 50.62) < 1e-6",
"r2 = rms_torque(10, 7, 0.25)",
"assert abs(r2 - 7.86... |
theo-eng-code-L2-code-002999 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 22, 0.2, 0.9)",
"assert abs(r0[0] - 2.39) < 1e-6",
"assert abs(r0[1] - 143.2) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-013210 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(60, 19, 0.75)",
"assert abs(r0 - 52.82) < 1e-6",
"r1 = rms_torque(89, 35, 0.25)",
"assert abs(r1 - 53.84) < 1e-6",
"r2 = rms_torque(99, 38, 0.25)",
"assert abs(r2 - 59... |
theo-eng-code-L2-code-014508 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.1, 0.8)",
"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-008049 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([33, 59, 92, 52])",
"assert r0[0] == 59",
"assert abs(r0[1] - 24.59) < 1e-6",
"r1 = summarise([69, 76, 39, 33, 55, 74])",
"assert abs(r1[0] - 57.667) < 1e-6",
"a... |
theo-eng-code-L1-code-012320 | 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-007848 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.2, 0.9)",
"assert abs(r0[0] - 2.39) < 1e-6",
"assert abs(r0[1] - 143.2) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-011595 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 22, 0.1, 1.0)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L3-code-009207 | 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(30, 2570, 120, 0.27, 2.2, 0.011, 0.3, 0.9, 0.95)",
"assert abs(r0[0] - 133.9) < 1e-6",
"assert abs(r0[1] - 21.29) < 1e-6",
"assert abs(r0[2] - 25.54) < 1e-6",
"r1 = erange(83,... |
theo-eng-code-L2-code-001331 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 25, 0.02, 0.05, 0.9, 0.5, 0)",
"assert abs(r0[0] - 0.0408) < 1e-6",
"assert abs(r0[1] - 0.6222) < 1e-6",
"assert abs(r0[2] - 0.0408) < 1e-6",
"r1 = com_zmp(8, 14, 0.09, -... |
theo-eng-code-L3-code-014767 | 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.37, 13000, 180)",
"assert abs(r0[0] - 10.07) < 1e-6",
"assert abs(r0[1] - 1290.4) < 1e-6",
"r1 = gear_ratio(0.43, 12000, 150)",
"assert abs(r1[0] - 12.97) < 1e-6",
"a... |
theo-eng-code-L2-code-003041 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 29, 0.0, 0.13, 0.5, 0.5, 0)",
"assert abs(r0[0] - 0.082) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.082) < 1e-6",
"r1 = com_zmp(11, 15, -0.06, 0.0, ... |
theo-eng-code-L3-code-001268 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 22, 0.08, 0.09, 0.6, 0.4, 1)",
"assert abs(r0[0] - 0.0855) < 1e-6",
"assert abs(r0[1] - 0.49) < 1e-6",
"assert abs(r0[2] - 0.0356) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L2-code-009695 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 220, 100, 0.5)",
"assert abs(r0[0] - 160.0) < 1e-6",
"assert abs(r0[1] - 5.62) < 1e-6",
"assert abs(r0[2] - 337.5) < 1e-6",
"r1 = runtime(0.5, 270, 340, 0.5)",
"... |
theo-eng-code-L2-code-006576 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([300, 270, 450, 260, 270], 2)",
"assert abs(r0 - 0.8611) < 1e-6",
"r1 = rect_energy([500, 420, 450, 140], 1)",
"assert abs(r1 - 0.4194) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L1-clarify-014024 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-011979 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([55, 20, 15, 63, 51, 81])",
"assert abs(r0[0] - 47.5) < 1e-6",
"assert abs(r0[1] - 25.47) < 1e-6",
"r1 = summarise([29, 25, 44, 92, 63])",
"assert abs(r1[0] - 50.6) ... |
theo-eng-code-L1-clarify-012876 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-011785 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(85, 2160, 60, 0.27, 2.8, 0.011, 0.7, 0.9, 0.95)",
"assert abs(r0[0] - 654.9) < 1e-6",
"assert abs(r0[1] - 12.33) < 1e-6",
"assert abs(r0[2] - 7.4) < 1e-6",
"r1 = erange(62, ... |
theo-eng-code-L2-code-009052 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(32, 2150, 80, 0.33, 2.7, 0.011, 0.6, 0.92, 0.95)",
"assert abs(r0[0] - 191.3) < 1e-6",
"assert abs(r0[1] - 15.89) < 1e-6",
"assert abs(r0[2] - 12.71) < 1e-6",
"r1 = erange(2... |
theo-eng-code-L2-code-011462 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([370, 240, 180], 2)",
"assert abs(r0 - 0.4389) < 1e-6",
"r1 = rect_energy([90, 250, 170], 2)",
"assert abs(r1 - 0.2833) < 1e-6",
"r2 = rect_energy([100, 180, 320]... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.