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-000588 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 0.0], [2.5, 2.0])",
"assert abs(r0 - 2.8284) < 1e-6",
"r1 = seg_len([1.5, 3.5], [1.5, 3.5])",
"assert abs(r1 - 0.0) < 1e-6",
"r2 = seg_len([4.0, 4.0], [2.0, 4.5])",... |
theo-eng-code-L2-code-000842 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 18, 0.03, -0.03, 0.8, 0.6, 1)",
"assert abs(r0[0] - -0.01) < 1e-6",
"assert abs(r0[1] - 0.6667) < 1e-6",
"assert abs(r0[2] - -0.078) < 1e-6",
"r1 = com_zmp(15, 15, 0.03, 0... |
theo-eng-code-L3-code-006850 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.6, 10)",
"assert r0[0] == 222",
"assert r0[1] == 6",
"assert r0[2] == 1332",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 47.952) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-013164 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(32, 1230, 120, 0.28, 2.0, 0.008, 0.6, 0.88, 0.9)",
"assert abs(r0[0] - 184.9) < 1e-6",
"assert abs(r0[1] - 15.58) < 1e-6",
"assert abs(r0[2] - 18.69) < 1e-6",
"r1 = erange(63,... |
theo-eng-code-L3-code-010300 | 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, 80, 3.2, 100)",
"assert r0[0] == 125",
"assert r0[1] == 2",
"assert r0[2] == 250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-002042 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.78, 0.82, 0.85, 0.86, 0.82])",
"assert abs(r0 - 0.852) < 1e-6",
"r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.74, 0.85, 0.86, 0.87, 0.82])",
"... |
theo-eng-code-L1-clarify-013678 | 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-010315 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 4.0], [4.0, 4.0])",
"assert abs(r0 - 1.0) < 1e-6",
"r1 = seg_len([1.0, 4.5], [5.0, 3.5])",
"assert abs(r1 - 4.1231) < 1e-6",
"r2 = seg_len([3.5, 2.0], [5.0, 5.0])",... |
theo-eng-code-L3-code-010031 | 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(38, 10, 0.25)",
"assert abs(r0 - 20.88) < 1e-6",
"r1 = rms_torque(17, 7, 0.25)",
"assert abs(r1 - 10.44) < 1e-6",
"r2 = rms_torque(22, 2, 0.75)",
"assert abs(r2 - 19.08)... |
theo-eng-code-L2-code-001866 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 220, 270, 0.3)",
"assert abs(r0[0] - 255.0) < 1e-6",
"assert abs(r0[1] - 3.53) < 1e-6",
"assert abs(r0[2] - 211.8) < 1e-6",
"r1 = runtime(0.1, 110, 600, 0.3)",
"... |
theo-eng-code-L2-code-010996 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.6, 50)",
"assert r0[0] == 222",
"assert r0[1] == 2",
"assert r0[2] == 444",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-014215 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, 19, 0.75)",
"assert abs(r0 - 40.11) < 1e-6",
"r1 = rms_torque(91, 26, 0.5)",
"assert abs(r1 - 66.92) < 1e-6",
"r2 = rms_torque(33, 20, 0.25)",
"assert abs(r2 - 23.... |
theo-eng-code-L2-code-003407 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(26, 21, 0.5)",
"assert abs(r0 - 23.63) < 1e-6",
"r1 = rms_torque(37, 36, 0.25)",
"assert abs(r1 - 36.25) < 1e-6",
"r2 = rms_torque(7, 4, 0.5)",
"assert abs(r2 - 5.7) <... |
theo-eng-code-L2-code-006938 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([440, 220, 160, 460, 430], 5)",
"assert abs(r0 - 2.375) < 1e-6",
"r1 = rect_energy([290, 490, 450, 180], 10)",
"assert abs(r1 - 3.9167) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L2-code-007258 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-002807 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 10",
"assert r0[2] == 1250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-007571 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 90, 370, 360], 1)",
"assert abs(r0 - 0.2444) < 1e-6",
"r1 = rect_energy([90, 160, 270, 260, 100], 1)",
"assert abs(r1 - 0.2444) < 1e-6",
"r2 = rect_energy([1... |
theo-eng-code-L3-code-010705 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(33, 2240, 60, 0.34, 2.3, 0.012, 0.4, 0.88, 0.95)",
"assert abs(r0[0] - 237.7) < 1e-6",
"assert abs(r0[1] - 13.19) < 1e-6",
"assert abs(r0[2] - 7.91) < 1e-6"
],
"subtask... |
theo-eng-code-L1-clarify-013363 | 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-L3-code-000070 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.7, 2.5)",
"assert r0[0] == 54",
"assert r0[1] == 121",
"assert r0[2] == 6534",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 60.44) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-010039 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-012298 | 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(20, 50, 0.1, 0.8)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask"... |
theo-eng-code-L2-code-007476 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 7500, 100)",
"assert abs(r0[0] - 8.2) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.25, 7000, 100)",
"assert abs(r1[0] - 6.6) < 1e-6",
"assert... |
theo-eng-code-L1-clarify-007481 | 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-008104 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.7, 0.39, 90, 5.5, 1.5)",
"assert abs(r0[0] - 31.95) < 1e-6",
"assert abs(r0[1] - 1.1255) < 1e-6",
"assert abs(r0[2] - 33.63) < 1e-6",
"r1 = joint_torque(2.6, 0.53, 3... |
theo-eng-code-L1-code-008683 | 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": "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-003907 | 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, 80, 520, 0.3)",
"assert abs(r0[0] - 388.0) < 1e-6",
"assert abs(r0[1] - 0.23) < 1e-6",
"assert abs(r0[2] - 13.9) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-014870 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-015673 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.1, 0.8)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-007982 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([160, 260, 450], 10)",
"assert abs(r0 - 2.4167) < 1e-6",
"r1 = rect_energy([360, 330, 330, 480], 5)",
"assert abs(r1 - 2.0833) < 1e-6",
"r2 = rect_energy([150, 22... |
theo-eng-code-L2-code-005634 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.71, 0.82, 0.88, 0.88, 0.85])",
"assert abs(r0 - 0.88) < 1e-6",
"r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.77, 0.81, 0.85, 0.86, 0.85])",
"a... |
theo-eng-code-L2-code-009279 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 40, 3.7, 5)",
"assert r0[0] == 81",
"assert r0[1] == 27",
"assert r0[2] == 2187",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 40.459) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-000598 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(90, 1030, 100, 0.22, 2.1, 0.007, 1.2, 0.92, 0.9)",
"assert abs(r0[0] - 815.9) < 1e-6",
"assert abs(r0[1] - 9.93) < 1e-6",
"assert abs(r0[2] - 9.93) < 1e-6",
"r1 = erange(71,... |
theo-eng-code-L2-code-012854 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 14, 0.1, -0.03, 0.8, 0.8, 0.5)",
"assert abs(r0[0] - 0.0242) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.0166) < 1e-6",
"r1 = com_zmp(20, 30, 0.07, ... |
theo-eng-code-L2-code-006124 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 21, 0.09, 0.11, 0.8, 0.7, 1)",
"assert abs(r0[0] - 0.1017) < 1e-6",
"assert abs(r0[1] - 0.7417) < 1e-6",
"assert abs(r0[2] - 0.0261) < 1e-6",
"r1 = com_zmp(14, 29, 0.09, ... |
theo-eng-code-L3-code-001179 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.2, 0.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"
],
"subtask... |
theo-eng-code-L2-code-013474 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 10, 0.5)",
"assert abs(r0 - 15.18) < 1e-6",
"r1 = rms_torque(47, 25, 0.25)",
"assert abs(r1 - 31.95) < 1e-6",
"r2 = rms_torque(56, 27, 0.75)",
"assert abs(r2 - 50.... |
theo-eng-code-L2-code-004212 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 18, 0.05, 0.1, 0.5, 0.8, 0)",
"assert abs(r0[0] - 0.0781) < 1e-6",
"assert abs(r0[1] - 0.6687) < 1e-6",
"assert abs(r0[2] - 0.0781) < 1e-6",
"r1 = com_zmp(5, 25, -0.01, -... |
theo-eng-code-L1-code-005763 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_modulo",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-002890 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.1, 0.8)",
"assert abs(r0[0] - 5.0) < 1e-6",
"assert abs(r0[1] - 300.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L3-code-003190 | 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(8, 29, -0.09, 0.07, 0.8, 0.7, 0.5)",
"assert abs(r0[0] - 0.0354) < 1e-6",
"assert abs(r0[1] - 0.7216) < 1e-6",
"assert abs(r0[2] - -0.0014) < 1e-6",
"r1 = com_zmp(10, 12, -0.09... |
theo-eng-code-L1-clarify-005085 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-014462 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 150, 0.1, 0.8)",
"assert abs(r0[0] - 0.29) < 1e-6",
"assert abs(r0[1] - 17.5) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r... |
theo-eng-code-L2-code-013157 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 20, 0.07, -0.04, 0.3, 0.6, 1)",
"assert abs(r0[0] - 0.0089) < 1e-6",
"assert abs(r0[1] - 0.4667) < 1e-6",
"assert abs(r0[2] - -0.0387) < 1e-6",
"r1 = com_zmp(18, 22, 0.0,... |
theo-eng-code-L1-refuse-008921 | 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-012279 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.6, 0.19, 90, 1.5, 2.5)",
"assert abs(r0[0] - 8.95) < 1e-6",
"assert abs(r0[1] - 0.1336) < 1e-6",
"assert abs(r0[2] - 9.28) < 1e-6",
"r1 = joint_torque(5.1, 0.36, 60,... |
theo-eng-code-L2-code-005290 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(91, 38, 0.25)",
"assert abs(r0 - 56.15) < 1e-6",
"r1 = rms_torque(89, 21, 0.75)",
"assert abs(r1 - 77.79) < 1e-6",
"r2 = rms_torque(38, 37, 0.75)",
"assert abs(r2 - 37... |
theo-eng-code-L2-code-000526 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(46, 16, 0.25)",
"assert abs(r0 - 26.85) < 1e-6",
"r1 = rms_torque(88, 24, 0.5)",
"assert abs(r1 - 64.5) < 1e-6",
"r2 = rms_torque(6, 2, 0.5)",
"assert abs(r2 - 4.47) <... |
theo-eng-code-L3-code-015686 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 3",
"assert r0[2] == 750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 12.0) < 1e-6",
"r1 = pack... |
theo-eng-code-L3-code-008040 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 11, 0.1, 0.8)",
"assert abs(r0[0] - 6.36) < 1e-6",
"assert abs(r0[1] - 381.8) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L2-code-003302 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 10, 3.7, 10)",
"assert r0[0] == 216",
"assert r0[1] == 2",
"assert r0[2] == 432",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 15.984) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-010548 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(26, 10, 0.5)",
"assert abs(r0 - 19.7) < 1e-6",
"r1 = rms_torque(52, 15, 0.75)",
"assert abs(r1 - 45.65) < 1e-6",
"r2 = rms_torque(29, 7, 0.25)",
"assert abs(r2 - 15.72... |
theo-eng-code-L2-code-012387 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-002816 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 30, 40, 0.3)",
"assert abs(r0[0] - 37.0) < 1e-6",
"assert abs(r0[1] - 4.86) < 1e-6",
"assert abs(r0[2] - 291.9) < 1e-6",
"r1 = runtime(0.1, 110, 470, 0.7)",
"asser... |
theo-eng-code-L3-code-006808 | 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.35, 7000, 100)",
"assert abs(r0[0] - 9.24) < 1e-6",
"assert abs(r0[1] - 757.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-013463 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([170, 170, 300, 70], 2)",
"assert abs(r0 - 0.3944) < 1e-6",
"r1 = rect_energy([410, 340, 430], 10)",
"assert abs(r1 - 3.2778) < 1e-6",
"r2 = rect_energy([470, 290... |
theo-eng-code-L3-code-007185 | 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(60, 7, 0.1, 1.0)",
"assert abs(r0[0] - 9.64) < 1e-6",
"assert abs(r0[1] - 578.6) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(8... |
theo-eng-code-L2-code-011732 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([31, 96, 59, 63, 84])",
"assert abs(r0[0] - 66.6) < 1e-6",
"assert abs(r0[1] - 25.026) < 1e-6",
"r1 = summarise([59, 65, 55, 51, 67, 10])",
"assert abs(r1[0] - 51.16... |
theo-eng-code-L2-code-005330 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 20, 0.1, -0.03, 0.3, 0.7, 2)",
"assert abs(r0[0] - 0.0297) < 1e-6",
"assert abs(r0[1] - 0.5162) < 1e-6",
"assert abs(r0[2] - -0.0755) < 1e-6",
"r1 = com_zmp(7, 14, -0.02,... |
theo-eng-code-L3-code-007904 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 90, 330, 0.3)",
"assert abs(r0[0] - 258.0) < 1e-6",
"assert abs(r0[1] - 1.74) < 1e-6",
"assert abs(r0[2] - 104.7) < 1e-6",
"r1 = runtime(0.2, 270, 180, 0.3)",
"ass... |
theo-eng-code-L2-code-000722 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 300, 560, 0.7)",
"assert abs(r0[0] - 378.0) < 1e-6",
"assert abs(r0[1] - 1.19) < 1e-6",
"assert abs(r0[2] - 71.4) < 1e-6",
"r1 = runtime(1.0, 160, 570, 0.7)",
"a... |
theo-eng-code-L3-code-007664 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 200, 250, 0.5)",
"assert abs(r0[0] - 225.0) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"r1 = runtime(0.1, 110, 580, 0.3)",
"asse... |
theo-eng-code-L2-code-004576 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 19, -0.02, 0.09, 0.3, 0.7, 2)",
"assert abs(r0[0] - 0.0433) < 1e-6",
"assert abs(r0[1] - 0.5303) < 1e-6",
"assert abs(r0[2] - -0.0648) < 1e-6",
"r1 = com_zmp(16, 17, -0.0... |
theo-eng-code-L1-refuse-010178 | 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-013951 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-007260 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 1210, 80, 0.34, 2.5, 0.007, 0.6, 0.94, 0.85)",
"assert abs(r0[0] - 440.6) < 1e-6",
"assert abs(r0[1] - 10.8) < 1e-6",
"assert abs(r0[2] - 8.64) < 1e-6",
"r1 = erange(97,... |
theo-eng-code-L3-code-005761 | 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, 290, 320, 0.7)",
"assert abs(r0[0] - 299.0) < 1e-6",
"assert abs(r0[1] - 1.51) < 1e-6",
"assert abs(r0[2] - 90.3) < 1e-6",
"r1 = runtime(1.0, 230, 590, 0.5)",
"ass... |
theo-eng-code-L2-code-008000 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 22, 0.0, 0.05, 0.7, 0.3, 0.5)",
"assert abs(r0[0] - 0.0355) < 1e-6",
"assert abs(r0[1] - 0.4161) < 1e-6",
"assert abs(r0[2] - 0.0143) < 1e-6",
"r1 = com_zmp(17, 19, 0.09, ... |
theo-eng-code-L2-code-000845 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([430, 190, 390, 410, 60], 1)",
"assert abs(r0 - 0.4111) < 1e-6",
"r1 = rect_energy([130, 370, 160], 2)",
"assert abs(r1 - 0.3667) < 1e-6",
"r2 = rect_energy([480,... |
theo-eng-code-L1-clarify-015064 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-007076 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.37, 15000, 180)",
"assert abs(r0[0] - 11.62) < 1e-6",
"assert abs(r0[1] - 1290.4) < 1e-6",
"r1 = gear_ratio(0.41, 5000, 150)",
"assert abs(r1[0] - 5.15) < 1e-6",
"a... |
theo-eng-code-L2-code-005787 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 2.5)",
"assert r0[0] == 83",
"assert r0[1] == 81",
"assert r0[2] == 6723",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 60.507) < 1e-6",
"r1... |
theo-eng-code-L3-code-014822 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 60, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 15",
"assert r0[2] == 3750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-000858 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([92, 51, 47, 30, 46])",
"assert abs(r0[0] - 53.2) < 1e-6",
"assert abs(r0[1] - 23.124) < 1e-6",
"r1 = summarise([96, 49, 26, 90, 93, 31])",
"assert abs(r1[0] - 64.16... |
theo-eng-code-L2-code-001000 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(33, 6, 0.25)",
"assert abs(r0 - 17.3) < 1e-6",
"r1 = rms_torque(82, 4, 0.75)",
"assert abs(r1 - 71.04) < 1e-6",
"r2 = rms_torque(23, 3, 0.75)",
"assert abs(r2 - 19.97)... |
theo-eng-code-L2-code-011843 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.5, 3.0], [2.5, 2.0])",
"assert abs(r0 - 1.4142) < 1e-6",
"r1 = seg_len([0.5, 1.0], [1.5, 1.5])",
"assert abs(r1 - 1.118) < 1e-6",
"r2 = seg_len([1.0, 4.5], [4.5, 4.0])... |
theo-eng-code-L1-refuse-001276 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-009817 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 15, 0.04, 0.07, 0.5, 0.6, 0)",
"assert abs(r0[0] - 0.0532) < 1e-6",
"assert abs(r0[1] - 0.5441) < 1e-6",
"assert abs(r0[2] - 0.0532) < 1e-6",
"r1 = com_zmp(11, 18, 0.01, ... |
theo-eng-code-L3-code-011787 | 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(100, 50, 0.1, 0.9)",
"assert abs(r0[0] - 2.0) < 1e-6",
"assert abs(r0[1] - 120.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-013860 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 11, 0.1, 0.8)",
"assert abs(r0[0] - 3.18) < 1e-6",
"assert abs(r0[1] - 190.9) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L1-refuse-002266 | 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-015093 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(21, 18, 0.5)",
"assert abs(r0 - 19.56) < 1e-6",
"r1 = rms_torque(71, 6, 0.5)",
"assert abs(r1 - 50.38) < 1e-6",
"r2 = rms_torque(84, 28, 0.5)",
"assert abs(r2 - 62.61)... |
theo-eng-code-L2-code-000645 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 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_ti... |
theo-eng-code-L2-code-013163 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(50, 39, 0.5)",
"assert abs(r0 - 44.84) < 1e-6",
"r1 = rms_torque(18, 5, 0.25)",
"assert abs(r1 - 9.99) < 1e-6",
"r2 = rms_torque(38, 12, 0.5)",
"assert abs(r2 - 28.18)... |
theo-eng-code-L2-code-003147 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([0.0, 0.0], [0.5, 3.5])",
"assert abs(r0 - 3.5355) < 1e-6",
"r1 = seg_len([0.0, 0.5], [4.5, 3.5])",
"assert abs(r1 - 5.4083) < 1e-6",
"r2 = seg_len([2.5, 3.5], [3.5, 5.0]... |
theo-eng-code-L3-code-006482 | 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.2, 70, 480, 0.7)",
"assert abs(r0[0] - 193.0) < 1e-6",
"assert abs(r0[1] - 0.93) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-013505 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 12000, 180)",
"assert abs(r0[0] - 7.29) < 1e-6",
"assert abs(r0[1] - 1646.4) < 1e-6",
"r1 = gear_ratio(0.38, 9500, 150)",
"assert abs(r1[0] - 9.07) < 1e-6",
"as... |
theo-eng-code-L2-code-015014 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.6) < 1e-6",
"assert abs(r0[1] - 36.0) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_ti... |
theo-eng-code-L3-code-003898 | 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(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"
],
"subtask": ... |
theo-eng-code-L3-code-001353 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.6, 0.42, 90, 0.5, 3.0)",
"assert abs(r0[0] - 3.3) < 1e-6",
"assert abs(r0[1] - 0.1235) < 1e-6",
"assert abs(r0[2] - 3.67) < 1e-6",
"r1 = joint_torque(7.1, 0.12, 90, 6.... |
theo-eng-code-L3-code-008131 | 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.35, 11500, 180)",
"assert abs(r0[0] - 8.43) < 1e-6",
"assert abs(r0[1] - 1364.2) < 1e-6",
"r1 = gear_ratio(0.26, 7500, 180)",
"assert abs(r1[0] - 4.08) < 1e-6",
"asse... |
theo-eng-code-L2-code-004702 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 4500, 150)",
"assert abs(r0[0] - 4.98) < 1e-6",
"assert abs(r0[1] - 904.3) < 1e-6",
"r1 = gear_ratio(0.32, 14500, 100)",
"assert abs(r1[0] - 17.49) < 1e-6",
"as... |
theo-eng-code-L3-code-014903 | 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(83, 1040, 100, 0.31, 1.9, 0.013, 0.8, 0.92, 0.85)",
"assert abs(r0[0] - 534.1) < 1e-6",
"assert abs(r0[1] - 13.21) < 1e-6",
"assert abs(r0[2] - 13.21) < 1e-6",
"r1 = erange(31... |
theo-eng-code-L2-code-007801 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([11, 88, 18, 23, 95, 37])",
"assert abs(r0[0] - 45.333) < 1e-6",
"assert abs(r0[1] - 36.828) < 1e-6",
"r1 = summarise([29, 70, 86, 75, 68, 84])",
"assert abs(r1[0] -... |
theo-eng-code-L2-code-004580 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 1170, 100, 0.25, 2.0, 0.008, 1.2, 0.92, 0.85)",
"assert abs(r0[0] - 742.3) < 1e-6",
"assert abs(r0[1] - 11.11) < 1e-6",
"assert abs(r0[2] - 11.11) < 1e-6",
"r1 = erange(... |
theo-eng-code-L1-refuse-014377 | 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-000549 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 29, 0.09, 0.15, 0.3, 0.6, 1)",
"assert abs(r0[0] - 0.1295) < 1e-6",
"assert abs(r0[1] - 0.4977) < 1e-6",
"assert abs(r0[2] - 0.0788) < 1e-6",
"r1 = com_zmp(8, 19, 0.04, 0... |
theo-eng-code-L1-code-014292 | 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-005443 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001767 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 10500, 100)",
"assert abs(r0[0] - 14.25) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.42, 5500, 180)",
"assert abs(r1[0] - 4.84) < 1e-6",
"as... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.