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-L1-code-012270 | 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_squares",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-006162 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-009428 | 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(20, 11, -0.01, 0.02, 0.3, 0.3, 1)",
"assert abs(r0[0] - 0.0006) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - -0.0299) < 1e-6",
"r1 = com_zmp(20, 15, -0.08, 0.... |
theo-eng-code-L3-code-001153 | 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(95, 5, 0.5)",
"assert abs(r0 - 67.27) < 1e-6",
"r1 = rms_torque(12, 8, 0.25)",
"assert abs(r1 - 9.17) < 1e-6",
"r2 = rms_torque(31, 9, 0.25)",
"assert abs(r2 - 17.35) < ... |
theo-eng-code-L3-code-015255 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(97, 1240, 100, 0.23, 2.0, 0.012, 0.6, 0.92, 0.85)",
"assert abs(r0[0] - 712.5) < 1e-6",
"assert abs(r0[1] - 11.57) < 1e-6",
"assert abs(r0[2] - 11.57) < 1e-6",
"r1 = erange(43... |
theo-eng-code-L2-code-004543 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 7, 0.2, 0.9)",
"assert abs(r0[0] - 7.5) < 1e-6",
"assert abs(r0[1] - 450.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L3-code-009131 | 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.38, 5500, 150)",
"assert abs(r0[0] - 5.25) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6",
"r1 = gear_ratio(0.38, 4000, 100)",
"assert abs(r1[0] - 5.73) < 1e-6",
"asser... |
theo-eng-code-L2-code-013533 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.1, 0.57, 90, 5.5, 0.0)",
"assert abs(r0[0] - 42.22) < 1e-6",
"assert abs(r0[1] - 2.231) < 1e-6",
"assert abs(r0[2] - 42.22) < 1e-6",
"r1 = joint_torque(5.5, 0.26, 30... |
theo-eng-code-L2-code-005819 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 8000, 180)",
"assert abs(r0[0] - 6.03) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.42, 10000, 120)",
"assert abs(r1[0] - 13.19) < 1e-6",
"a... |
theo-eng-code-L3-code-013185 | 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, 280, 440, 0.7)",
"assert abs(r0[0] - 328.0) < 1e-6",
"assert abs(r0[1] - 1.37) < 1e-6",
"assert abs(r0[2] - 82.3) < 1e-6",
"r1 = runtime(0.1, 200, 190, 0.3)",
"ass... |
theo-eng-code-L3-code-005448 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.2, 0.8)",
"assert abs(r0[0] - 4.29) < 1e-6",
"assert abs(r0[1] - 257.1) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(8... |
theo-eng-code-L2-code-009737 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.6, 50)",
"assert r0[0] == 56",
"assert r0[1] == 4",
"assert r0[2] == 224",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 40.32) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-008186 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-004355 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 6000, 120)",
"assert abs(r0[0] - 7.35) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6",
"r1 = gear_ratio(0.38, 8000, 150)",
"assert abs(r1[0] - 7.64) < 1e-6",
"asse... |
theo-eng-code-L3-code-013869 | 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(49, 2440, 60, 0.3, 2.5, 0.013, 0.6, 0.9, 0.85)",
"assert abs(r0[0] - 286.4) < 1e-6",
"assert abs(r0[1] - 14.54) < 1e-6",
"assert abs(r0[2] - 8.73) < 1e-6",
"r1 = erange(67, 23... |
theo-eng-code-L3-code-001512 | 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.5, 160, 110, 0.7)",
"assert abs(r0[0] - 145.0) < 1e-6",
"assert abs(r0[1] - 3.1) < 1e-6",
"assert abs(r0[2] - 186.2) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-005124 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 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] - 14.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6"
... |
theo-eng-code-L2-code-000739 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([490, 160, 70, 390], 5)",
"assert abs(r0 - 1.5417) < 1e-6",
"r1 = rect_energy([290, 410, 210], 5)",
"assert abs(r1 - 1.2639) < 1e-6",
"r2 = rect_energy([50, 400, ... |
theo-eng-code-L2-code-003975 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.5], [0.5, 4.0])",
"assert abs(r0 - 3.5355) < 1e-6",
"r1 = seg_len([4.0, 4.5], [2.0, 1.5])",
"assert abs(r1 - 3.6056) < 1e-6",
"r2 = seg_len([0.0, 4.5], [1.0, 1.5]... |
theo-eng-code-L2-code-007228 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 13000, 100)",
"assert abs(r0[0] - 21.07) < 1e-6",
"assert abs(r0[1] - 616.9) < 1e-6",
"r1 = gear_ratio(0.33, 11000, 150)",
"assert abs(r1[0] - 9.12) < 1e-6",
"a... |
theo-eng-code-L1-clarify-001856 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-002018 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 17, 0.05, 0.01, 0.9, 0.6, 1)",
"assert abs(r0[0] - 0.0281) < 1e-6",
"assert abs(r0[1] - 0.7355) < 1e-6",
"assert abs(r0[2] - -0.0469) < 1e-6",
"r1 = com_zmp(20, 16, 0.06, 0... |
theo-eng-code-L2-code-007469 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008619 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 60, 3.7, 5)",
"assert r0[0] == 216",
"assert r0[1] == 16",
"assert r0[2] == 3456",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-002880 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(63, 900, 120, 0.32, 2.7, 0.007, 1.4, 0.88, 0.95)",
"assert abs(r0[0] - 276.1) < 1e-6",
"assert abs(r0[1] - 21.68) < 1e-6",
"assert abs(r0[2] - 26.01) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-009160 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r0[0] == 20",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')",
"assert r1[0] == 60",
... |
theo-eng-code-L2-code-003336 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "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-000299 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 15, 0.03, -0.03, 0.6, 0.9, 2)",
"assert abs(r0[0] - 0.001) < 1e-6",
"assert abs(r0[1] - 0.7452) < 1e-6",
"assert abs(r0[2] - -0.151) < 1e-6",
"r1 = com_zmp(11, 11, 0.03, ... |
theo-eng-code-L3-code-008118 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 21, 0.1, -0.05, 0.8, 0.5, 0.5)",
"assert abs(r0[0] - 0.0074) < 1e-6",
"assert abs(r0[1] - 0.6147) < 1e-6",
"assert abs(r0[2] - -0.024) < 1e-6",
"r1 = com_zmp(6, 14, 0.09, 0... |
theo-eng-code-L1-code-007330 | 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_squares",
"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-001759 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 12000, 150)",
"assert abs(r0[0] - 9.65) < 1e-6",
"assert abs(r0[1] - 1243.4) < 1e-6",
"r1 = gear_ratio(0.32, 5000, 150)",
"assert abs(r1[0] - 4.02) < 1e-6",
"asse... |
theo-eng-code-L2-code-012658 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.7, 50)",
"assert r0[0] == 81",
"assert r0[1] == 1",
"assert r0[2] == 81",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 14.985) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-010354 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-014796 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 40, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 21",
"assert r0[2] == 2268",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 41.958) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-007725 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(31, 17, 0.5)",
"assert abs(r0 - 25.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L1-refuse-002213 | 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-006297 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 180, 450, 0.5)",
"assert abs(r0[0] - 315.0) < 1e-6",
"assert abs(r0[1] - 0.57) < 1e-6",
"assert abs(r0[2] - 34.3) < 1e-6",
"r1 = runtime(0.5, 160, 500, 0.7)",
"a... |
theo-eng-code-L2-code-009230 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r0[0] == 20",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')",
"assert r1[0] == 80",
"a... |
theo-eng-code-L3-code-009035 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 12000, 120)",
"assert abs(r0[0] - 12.06) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-007616 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.5, 3.5], [5.0, 5.0])",
"assert abs(r0 - 2.1213) < 1e-6",
"r1 = seg_len([2.0, 1.0], [2.0, 3.5])",
"assert abs(r1 - 2.5) < 1e-6",
"r2 = seg_len([3.0, 2.5], [0.5, 4.0])",... |
theo-eng-code-L2-code-005694 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 300, 470, 0.5)",
"assert abs(r0[0] - 385.0) < 1e-6",
"assert abs(r0[1] - 0.47) < 1e-6",
"assert abs(r0[2] - 28.1) < 1e-6",
"r1 = runtime(0.5, 290, 180, 0.7)",
"a... |
theo-eng-code-L3-code-014299 | 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(91, 1290, 80, 0.25, 2.2, 0.012, 0.8, 0.9, 0.85)",
"assert abs(r0[0] - 714.8) < 1e-6",
"assert abs(r0[1] - 10.82) < 1e-6",
"assert abs(r0[2] - 8.66) < 1e-6",
"r1 = erange(96, 2... |
theo-eng-code-L1-code-011162 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-009390 | 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.45, 13500, 120)",
"assert abs(r0[0] - 19.09) < 1e-6",
"assert abs(r0[1] - 707.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-003840 | 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.2, 200, 580, 0.3)",
"assert abs(r0[0] - 466.0) < 1e-6",
"assert abs(r0[1] - 0.39) < 1e-6",
"assert abs(r0[2] - 23.2) < 1e-6",
"r1 = runtime(0.1, 150, 420, 0.3)",
"ass... |
theo-eng-code-L2-code-004451 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 20, -0.08, 0.04, 0.9, 0.4, 2)",
"assert abs(r0[0] - -0.0168) < 1e-6",
"assert abs(r0[1] - 0.6368) < 1e-6",
"assert abs(r0[2] - -0.1467) < 1e-6",
"r1 = com_zmp(10, 20, -0.... |
theo-eng-code-L2-code-012326 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 26, -0.09, -0.03, 0.8, 0.7, 1)",
"assert abs(r0[0] - -0.0413) < 1e-6",
"assert abs(r0[1] - 0.7188) < 1e-6",
"assert abs(r0[2] - -0.1145) < 1e-6",
"r1 = com_zmp(16, 21, 0.0... |
theo-eng-code-L3-code-004658 | 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(20, 11, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask... |
theo-eng-code-L2-code-003904 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([36, 35, 17, 76, 17, 32])",
"assert abs(r0[0] - 35.5) < 1e-6",
"assert abs(r0[1] - 21.622) < 1e-6",
"r1 = summarise([18, 73, 99, 15])",
"assert abs(r1[0] - 51.25) < ... |
theo-eng-code-L2-code-009084 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, [0, 25, 50, 75, 100], [0.71, 0.8, 0.86, 0.89, 0.8])",
"assert abs(r0 - 0.884) < 1e-6",
"r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.76, 0.84, 0.9, 0.85, 0.84])",
"ass... |
theo-eng-code-L1-code-006683 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_loop_sum",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-006638 | 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(70, 1780, 60, 0.29, 2.1, 0.008, 1.0, 0.88, 0.9)",
"assert abs(r0[0] - 674.0) < 1e-6",
"assert abs(r0[1] - 9.35) < 1e-6",
"assert abs(r0[2] - 5.61) < 1e-6"
],
"subtask":... |
theo-eng-code-L1-code-009562 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-008790 | 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, 130, 570, 0.5)",
"assert abs(r0[0] - 350.0) < 1e-6",
"assert abs(r0[1] - 0.26) < 1e-6",
"assert abs(r0[2] - 15.4) < 1e-6",
"r1 = runtime(1.0, 200, 340, 0.7)",
"ass... |
theo-eng-code-L3-code-014262 | 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(25, 18, 0.75)",
"assert abs(r0 - 23.45) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-013021 | 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(200, 60, 3.7, 100)",
"assert r0[0] == 54",
"assert r0[1] == 4",
"assert r0[2] == 216",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = pa... |
theo-eng-code-L1-code-003597 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_countdown",
"user_template": "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-009994 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([84, 93, 67, 48])",
"assert r0[0] == 73",
"assert abs(r0[1] - 19.849) < 1e-6",
"r1 = summarise([21, 27, 43, 28])",
"assert abs(r1[0] - 29.75) < 1e-6",
"assert ab... |
theo-eng-code-L3-code-005744 | 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.27, 4000, 120)",
"assert abs(r0[0] - 3.39) < 1e-6",
"assert abs(r0[1] - 1178.9) < 1e-6",
"r1 = gear_ratio(0.41, 4000, 180)",
"assert abs(r1[0] - 3.43) < 1e-6",
"asser... |
theo-eng-code-L2-code-002873 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 27, -0.01, 0.01, 0.5, 0.3, 0.5)",
"assert abs(r0[0] - 0.002) < 1e-6",
"assert abs(r0[1] - 0.38) < 1e-6",
"assert abs(r0[2] - -0.0174) < 1e-6",
"r1 = com_zmp(7, 13, -0.04,... |
theo-eng-code-L2-code-006395 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.4, 0.1, 45, 0.5, 1.5)",
"assert abs(r0[0] - 0.83) < 1e-6",
"assert abs(r0[1] - 0.0097) < 1e-6",
"assert abs(r0[2] - 0.85) < 1e-6",
"r1 = joint_torque(2.6, 0.15, 60, ... |
theo-eng-code-L2-code-010091 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_prodloop",
"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-001734 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 210, 210, 0.7)",
"assert abs(r0[0] - 210.0) < 1e-6",
"assert abs(r0[1] - 0.86) < 1e-6",
"assert abs(r0[2] - 51.4) < 1e-6",
"r1 = runtime(1.0, 260, 520, 0.7)",
"a... |
theo-eng-code-L3-code-015060 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 80, 3.6, 100)",
"assert r0[0] == 139",
"assert r0[1] == 2",
"assert r0[2] == 278",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 100.08) < 1e-6",
"r1 = ... |
theo-eng-code-L1-code-006100 | 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-L3-code-006546 | 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(3.9, 0.44, 60, 4.0, 3.5)",
"assert abs(r0[0] - 22.24) < 1e-6",
"assert abs(r0[1] - 1.0261) < 1e-6",
"assert abs(r0[2] - 25.83) < 1e-6",
"r1 = joint_torque(2.7, 0.55, 30,... |
theo-eng-code-L2-code-015614 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 10, 3.7, 2.5)",
"assert r0[0] == 135",
"assert r0[1] == 9",
"assert r0[2] == 1215",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 11.239) < 1e-6",
"r1... |
theo-eng-code-L3-code-001653 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.6, 50)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 25.02) < 1e-6"
],
... |
theo-eng-code-L1-code-005404 | 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_minmax",
"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-L1-clarify-012112 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-013544 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(75, 29, 0.25)",
"assert abs(r0 - 45.13) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-014967 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([440, 320, 400, 60, 180], 2)",
"assert abs(r0 - 0.7778) < 1e-6",
"r1 = rect_energy([100, 240, 80], 10)",
"assert abs(r1 - 1.1667) < 1e-6",
"r2 = rect_energy([260,... |
theo-eng-code-L2-code-011725 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.1, 1.0)",
"assert abs(r0[0] - 4.09) < 1e-6",
"assert abs(r0[1] - 245.5) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L1-clarify-001898 | 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-012748 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015185 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 5.0], [2.5, 3.5])",
"assert abs(r0 - 1.5) < 1e-6",
"r1 = seg_len([3.0, 4.5], [5.0, 1.0])",
"assert abs(r1 - 4.0311) < 1e-6",
"r2 = seg_len([0.0, 1.5], [4.5, 2.5])",... |
theo-eng-code-L2-code-004646 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.8, 0.13, 60, 0.0, 3.0)",
"assert abs(r0[0] - 2.65) < 1e-6",
"assert abs(r0[1] - 0.027) < 1e-6",
"assert abs(r0[2] - 2.73) < 1e-6",
"r1 = joint_torque(4.0, 0.44, 60, ... |
theo-eng-code-L2-code-004166 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([77, 20, 33, 10])",
"assert r0[0] == 35",
"assert abs(r0[1] - 29.541) < 1e-6",
"r1 = summarise([73, 75, 41, 63, 99, 51])",
"assert r1[0] == 67",
"assert abs(r1[1... |
theo-eng-code-L2-code-007604 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(83, 1410, 60, 0.3, 2.8, 0.007, 0.5, 0.88, 0.95)",
"assert abs(r0[0] - 938.6) < 1e-6",
"assert abs(r0[1] - 8.4) < 1e-6",
"assert abs(r0[2] - 5.04) < 1e-6",
"r1 = erange(87, 1... |
theo-eng-code-L2-code-015936 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.3, 0.51, 45, 2.5, 3.5)",
"assert abs(r0[0] - 16.45) < 1e-6",
"assert abs(r0[1] - 1.0231) < 1e-6",
"assert abs(r0[2] - 20.03) < 1e-6",
"r1 = joint_torque(6.9, 0.49, 4... |
theo-eng-code-L2-code-015336 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(85, 12, 0.25)",
"assert abs(r0 - 43.75) < 1e-6",
"r1 = rms_torque(24, 21, 0.75)",
"assert abs(r1 - 23.29) < 1e-6",
"r2 = rms_torque(55, 18, 0.5)",
"assert abs(r2 - 40.... |
theo-eng-code-L2-code-007161 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')",
"assert r0[0] == 20",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r1[0] == 20",
"... |
theo-eng-code-L3-code-010573 | 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(14, 28, -0.06, 0.03, 0.4, 0.6, 0.5)",
"assert abs(r0[0] - 0.0) < 1e-6",
"assert abs(r0[1] - 0.5333) < 1e-6",
"assert abs(r0[2] - -0.0272) < 1e-6",
"r1 = com_zmp(13, 28, -0.08, ... |
theo-eng-code-L2-code-006305 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')",
"assert r0[0] == 80",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')",
"assert r1[0] == 80",
"a... |
theo-eng-code-L2-code-005487 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L3-code-009153 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 11000, 180)",
"assert abs(r0[0] - 7.14) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-013055 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-007823 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 90, 470, 0.3)",
"assert abs(r0[0] - 356.0) < 1e-6",
"assert abs(r0[1] - 2.53) < 1e-6",
"assert abs(r0[2] - 151.7) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-007343 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 1710, 100, 0.3, 2.1, 0.011, 0.9, 0.88, 0.85)",
"assert abs(r0[0] - 347.9) < 1e-6",
"assert abs(r0[1] - 16.12) < 1e-6",
"assert abs(r0[2] - 16.12) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L3-code-005786 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 80, 3.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 21",
"assert r0[2] == 2331",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 83.916) < 1e-6"
]... |
theo-eng-code-L3-code-009443 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(21, 1100, 120, 0.37, 3.0, 0.013, 0.5, 0.9, 0.95)",
"assert abs(r0[0] - 71.1) < 1e-6",
"assert abs(r0[1] - 28.06) < 1e-6",
"assert abs(r0[2] - 33.67) < 1e-6",
"r1 = erange(40, ... |
theo-eng-code-L2-code-015881 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(90, [0, 25, 50, 75, 100], [0.75, 0.82, 0.88, 0.89, 0.8])",
"assert abs(r0 - 0.836) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.75, 0.83, 0.87, 0.86, 0.84])",
"a... |
theo-eng-code-L2-code-002811 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 11000, 120)",
"assert abs(r0[0] - 14.86) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.39, 5500, 100)",
"assert abs(r1[0] - 8.09) < 1e-6",
"as... |
theo-eng-code-L2-code-003610 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 5000, 100)",
"assert abs(r0[0] - 6.22) < 1e-6",
"assert abs(r0[1] - 803.8) < 1e-6",
"r1 = gear_ratio(0.3, 13000, 100)",
"assert abs(r1[0] - 14.7) < 1e-6",
"asse... |
theo-eng-code-L1-clarify-012818 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-002430 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(75, [0, 25, 50, 75, 100], [0.73, 0.8, 0.86, 0.85, 0.84])",
"assert abs(r0 - 0.85) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.75, 0.8, 0.86, 0.88, 0.83])",
"ass... |
theo-eng-code-L1-code-003220 | 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_average",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-005696 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 28, 0.1, -0.03, 0.4, 0.8, 2)",
"assert abs(r0[0] - 0.0042) < 1e-6",
"assert abs(r0[1] - 0.6947) < 1e-6",
"assert abs(r0[2] - -0.1374) < 1e-6",
"r1 = com_zmp(12, 17, 0.01, 0... |
theo-eng-code-L1-code-001895 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-012210 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 23, 0.0, 0.08, 0.5, 0.9, 2)",
"assert abs(r0[0] - 0.0541) < 1e-6",
"assert abs(r0[1] - 0.7706) < 1e-6",
"assert abs(r0[2] - -0.103) < 1e-6",
"r1 = com_zmp(15, 13, 0.07, 0.0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.