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-013275 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-014042 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([47, 48, 90, 22, 20, 24])",
"assert abs(r0[0] - 41.833) < 1e-6",
"assert abs(r0[1] - 26.731) < 1e-6",
"r1 = summarise([38, 23, 60, 77])",
"assert abs(r1[0] - 49.5) <... |
theo-eng-code-L2-code-005020 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([100, 80, 310, 220, 70], 2)",
"assert abs(r0 - 0.4333) < 1e-6",
"r1 = rect_energy([450, 280, 250, 470], 10)",
"assert abs(r1 - 4.0278) < 1e-6",
"r2 = rect_energy(... |
theo-eng-code-L3-code-010884 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(12, 3, 0.5)",
"assert abs(r0 - 8.75) < 1e-6",
"r1 = rms_torque(82, 18, 0.5)",
"assert abs(r1 - 59.36) < 1e-6",
"r2 = rms_torque(57, 30, 0.5)",
"assert abs(r2 - 45.55) < ... |
theo-eng-code-L2-code-010588 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 27, -0.05, -0.01, 0.7, 0.8, 0)",
"assert abs(r0[0] - -0.0249) < 1e-6",
"assert abs(r0[1] - 0.7628) < 1e-6",
"assert abs(r0[2] - -0.0249) < 1e-6",
"r1 = com_zmp(11, 27, 0.... |
theo-eng-code-L2-code-008926 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-000173 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 21, 0.25)",
"assert abs(r0 - 28.16) < 1e-6",
"r1 = rms_torque(69, 3, 0.75)",
"assert abs(r1 - 59.77) < 1e-6",
"r2 = rms_torque(42, 16, 0.75)",
"assert abs(r2 - 37.... |
theo-eng-code-L2-code-007788 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 25, -0.01, 0.12, 0.4, 0.9, 2)",
"assert abs(r0[0] - 0.0713) < 1e-6",
"assert abs(r0[1] - 0.7125) < 1e-6",
"assert abs(r0[2] - -0.074) < 1e-6",
"r1 = com_zmp(5, 19, -0.01,... |
theo-eng-code-L2-code-010700 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 14500, 150)",
"assert abs(r0[0] - 14.58) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6",
"r1 = gear_ratio(0.44, 15000, 180)",
"assert abs(r1[0] - 13.82) < 1e-6",
"a... |
theo-eng-code-L3-code-013459 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(19, 18, 0.5)",
"assert abs(r0 - 18.51) < 1e-6",
"r1 = rms_torque(20, 7, 0.25)",
"assert abs(r1 - 11.69) < 1e-6",
"r2 = rms_torque(35, 12, 0.75)",
"assert abs(r2 - 30.9) ... |
theo-eng-code-L3-code-011164 | 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(15, 9, 0.75)",
"assert abs(r0 - 13.75) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-014168 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([87, 99, 97, 90, 38, 24])",
"assert abs(r0[0] - 72.5) < 1e-6",
"assert abs(r0[1] - 32.746) < 1e-6",
"r1 = summarise([42, 70, 90, 35, 61])",
"assert abs(r1[0] - 59.6)... |
theo-eng-code-L2-code-004496 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(40, 1390, 60, 0.35, 2.1, 0.012, 1.3, 0.9, 0.95)",
"assert abs(r0[0] - 343.1) < 1e-6",
"assert abs(r0[1] - 11.08) < 1e-6",
"assert abs(r0[2] - 6.65) < 1e-6",
"r1 = erange(99,... |
theo-eng-code-L2-code-012051 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 12, -0.01, -0.01, 0.7, 0.8, 0)",
"assert abs(r0[0] - -0.01) < 1e-6",
"assert abs(r0[1] - 0.7387) < 1e-6",
"assert abs(r0[2] - -0.01) < 1e-6",
"r1 = com_zmp(15, 22, -0.05,... |
theo-eng-code-L2-code-014338 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(42, 2510, 100, 0.33, 2.4, 0.01, 1.4, 0.88, 0.85)",
"assert abs(r0[0] - 170.1) < 1e-6",
"assert abs(r0[1] - 20.99) < 1e-6",
"assert abs(r0[2] - 20.99) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L2-code-006268 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(72, 20, 0.75)",
"assert abs(r0 - 63.15) < 1e-6",
"r1 = rms_torque(54, 28, 0.5)",
"assert abs(r1 - 43.01) < 1e-6",
"r2 = rms_torque(66, 15, 0.25)",
"assert abs(r2 - 35.... |
theo-eng-code-L2-code-013631 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')",
"assert r0[0] == 60",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r1[0] == 80",
"a... |
theo-eng-code-L2-code-002299 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 150, 40, 0.5)",
"assert abs(r0[0] - 95.0) < 1e-6",
"assert abs(r0[1] - 0.95) < 1e-6",
"assert abs(r0[2] - 56.8) < 1e-6",
"r1 = runtime(0.2, 100, 500, 0.3)",
"ass... |
theo-eng-code-L2-code-001242 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(90, [0, 25, 50, 75, 100], [0.77, 0.83, 0.85, 0.9, 0.83])",
"assert abs(r0 - 0.858) < 1e-6",
"r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.73, 0.84, 0.88, 0.85, 0.8])",
"as... |
theo-eng-code-L2-code-002966 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 500, 440, 110], 5)",
"assert abs(r0 - 2.0417) < 1e-6",
"r1 = rect_energy([500, 290, 410, 460], 1)",
"assert abs(r1 - 0.4611) < 1e-6",
"r2 = rect_energy([150... |
theo-eng-code-L3-code-004881 | 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.29, 10000, 100)",
"assert abs(r0[0] - 10.93) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.26, 10500, 180)",
"assert abs(r1[0] - 5.72) < 1e-6",
"ass... |
theo-eng-code-L3-code-000462 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(75, 1950, 60, 0.36, 2.4, 0.013, 0.5, 0.92, 0.9)",
"assert abs(r0[0] - 528.2) < 1e-6",
"assert abs(r0[1] - 12.78) < 1e-6",
"assert abs(r0[2] - 7.67) < 1e-6",
"r1 = erange(39, 1... |
theo-eng-code-L1-clarify-005209 | 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-L3-code-011355 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(62, 1710, 100, 0.31, 2.8, 0.008, 0.5, 0.88, 0.85)",
"assert abs(r0[0] - 298.0) < 1e-6",
"assert abs(r0[1] - 17.69) < 1e-6",
"assert abs(r0[2] - 17.69) < 1e-6"
],
"subta... |
theo-eng-code-L3-code-015011 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 120, 220, 0.5)",
"assert abs(r0[0] - 170.0) < 1e-6",
"assert abs(r0[1] - 0.53) < 1e-6",
"assert abs(r0[2] - 31.8) < 1e-6",
"r1 = runtime(0.1, 120, 430, 0.5)",
"ass... |
theo-eng-code-L1-code-004989 | 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_dictget",
"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-L1-refuse-014791 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-014653 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 17, -0.07, 0.07, 0.8, 0.3, 1)",
"assert abs(r0[0] - 0.0093) < 1e-6",
"assert abs(r0[1] - 0.5167) < 1e-6",
"assert abs(r0[2] - -0.0433) < 1e-6",
"r1 = com_zmp(5, 12, 0.1, ... |
theo-eng-code-L1-clarify-006254 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-001135 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001968 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 40, 3.7, 2.5)",
"assert r0[0] == 135",
"assert r0[1] == 33",
"assert r0[2] == 4455",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 41.209) < 1e-6",
"r... |
theo-eng-code-L2-code-005974 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(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-L2-code-000541 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([370, 120, 120], 5)",
"assert abs(r0 - 0.8472) < 1e-6",
"r1 = rect_energy([50, 500, 310, 170, 320], 1)",
"assert abs(r1 - 0.375) < 1e-6",
"r2 = rect_energy([190, ... |
theo-eng-code-L2-code-004762 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 14, -0.05, 0.11, 0.5, 0.8, 0)",
"assert abs(r0[0] - 0.0567) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - 0.0567) < 1e-6",
"r1 = com_zmp(5, 28, 0.09, 0.07... |
theo-eng-code-L1-code-009909 | 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_filter",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-013574 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 61",
"assert r0[2] == 6771",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 60.939) < 1e-6",
"r... |
theo-eng-code-L2-code-003104 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(60, 2290, 120, 0.37, 1.9, 0.011, 1.4, 0.9, 0.9)",
"assert abs(r0[0] - 229.2) < 1e-6",
"assert abs(r0[1] - 23.56) < 1e-6",
"assert abs(r0[2] - 28.27) < 1e-6",
"r1 = erange(51... |
theo-eng-code-L3-code-012674 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.3, 0.48, 30, 8.0, 4.0)",
"assert abs(r0[0] - 25.07) < 1e-6",
"assert abs(r0[1] - 2.2502) < 1e-6",
"assert abs(r0[2] - 34.08) < 1e-6",
"r1 = joint_torque(5.3, 0.2, 90, ... |
theo-eng-code-L2-code-000017 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([100, 360, 110, 500, 100], 10)",
"assert abs(r0 - 3.25) < 1e-6",
"r1 = rect_energy([300, 380, 230], 10)",
"assert abs(r1 - 2.5278) < 1e-6",
"r2 = rect_energy([50,... |
theo-eng-code-L2-code-010021 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 8000, 180)",
"assert abs(r0[0] - 5.19) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6",
"r1 = gear_ratio(0.4, 14500, 120)",
"assert abs(r1[0] - 18.22) < 1e-6",
"as... |
theo-eng-code-L2-code-006695 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 23, -0.08, -0.03, 0.7, 0.9, 0)",
"assert abs(r0[0] - -0.0497) < 1e-6",
"assert abs(r0[1] - 0.8211) < 1e-6",
"assert abs(r0[2] - -0.0497) < 1e-6",
"r1 = com_zmp(12, 23, -0... |
theo-eng-code-L2-code-002308 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 7, 0.75)",
"assert abs(r0 - 9.34) < 1e-6",
"r1 = rms_torque(88, 11, 0.5)",
"assert abs(r1 - 62.71) < 1e-6",
"r2 = rms_torque(7, 7, 0.75)",
"assert abs(r2 - 7.0) < ... |
theo-eng-code-L2-code-001126 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(50, 2180, 60, 0.33, 2.1, 0.007, 0.5, 0.88, 0.9)",
"assert abs(r0[0] - 484.9) < 1e-6",
"assert abs(r0[1] - 9.28) < 1e-6",
"assert abs(r0[2] - 5.57) < 1e-6",
"r1 = erange(20, ... |
theo-eng-code-L2-code-010721 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.5, 0.4, 60, 7.0, 0.0)",
"assert abs(r0[0] - 24.64) < 1e-6",
"assert abs(r0[1] - 1.1467) < 1e-6",
"assert abs(r0[2] - 24.64) < 1e-6",
"r1 = joint_torque(4.8, 0.53, 90... |
theo-eng-code-L3-code-008313 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(90, 2, 0.25)",
"assert abs(r0 - 45.03) < 1e-6",
"r1 = rms_torque(25, 17, 0.75)",
"assert abs(r1 - 23.26) < 1e-6",
"r2 = rms_torque(96, 14, 0.75)",
"assert abs(r2 - 83.43... |
theo-eng-code-L2-code-014772 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 7000, 120)",
"assert abs(r0[0] - 5.5) < 1e-6",
"assert abs(r0[1] - 1273.2) < 1e-6",
"r1 = gear_ratio(0.44, 6500, 100)",
"assert abs(r1[0] - 10.78) < 1e-6",
"ass... |
theo-eng-code-L2-code-013612 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 13, 0.75)",
"assert abs(r0 - 70.45) < 1e-6",
"r1 = rms_torque(50, 37, 0.25)",
"assert abs(r1 - 40.64) < 1e-6",
"r2 = rms_torque(39, 6, 0.25)",
"assert abs(r2 - 20.... |
theo-eng-code-L2-code-002790 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 100, 570, 0.3)",
"assert abs(r0[0] - 429.0) < 1e-6",
"assert abs(r0[1] - 0.21) < 1e-6",
"assert abs(r0[2] - 12.6) < 1e-6",
"r1 = runtime(1.0, 170, 100, 0.5)",
"a... |
theo-eng-code-L3-code-009543 | 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(200, 20, 3.6, 10)",
"assert r0[0] == 56",
"assert r0[1] == 10",
"assert r0[2] == 560",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 20.16) < 1e-6"
],
... |
theo-eng-code-L2-code-001180 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 1.0)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-013892 | 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(90, 1240, 100, 0.23, 2.2, 0.009, 0.4, 0.94, 0.9)",
"assert abs(r0[0] - 756.9) < 1e-6",
"assert abs(r0[1] - 10.7) < 1e-6",
"assert abs(r0[2] - 10.7) < 1e-6",
"r1 = erange(52, 1... |
theo-eng-code-L3-code-007197 | 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(16, 18, 0.08, 0.01, 0.9, 0.4, 2)",
"assert abs(r0[0] - 0.0429) < 1e-6",
"assert abs(r0[1] - 0.6353) < 1e-6",
"assert abs(r0[2] - -0.0866) < 1e-6",
"r1 = com_zmp(20, 26, 0.09, -... |
theo-eng-code-L2-code-000680 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 0.48, 90, 8.0, 3.0)",
"assert abs(r0[0] - 48.5) < 1e-6",
"assert abs(r0[1] - 2.1965) < 1e-6",
"assert abs(r0[2] - 55.09) < 1e-6",
"r1 = joint_torque(3.3, 0.54, 30... |
theo-eng-code-L3-code-002792 | 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.26, 7500, 120)",
"assert abs(r0[0] - 6.13) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6",
"r1 = gear_ratio(0.37, 12000, 120)",
"assert abs(r1[0] - 13.95) < 1e-6",
"ass... |
theo-eng-code-L1-code-006906 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-009611 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 30, -0.07, 0.06, 0.9, 0.4, 1)",
"assert abs(r0[0] - 0.013) < 1e-6",
"assert abs(r0[1] - 0.5809) < 1e-6",
"assert abs(r0[2] - -0.0462) < 1e-6",
"r1 = com_zmp(10, 21, -0.06... |
theo-eng-code-L2-code-011074 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 240, 30, 0.3)",
"assert abs(r0[0] - 93.0) < 1e-6",
"assert abs(r0[1] - 1.94) < 1e-6",
"assert abs(r0[2] - 116.1) < 1e-6",
"r1 = runtime(0.1, 50, 540, 0.5)",
"ass... |
theo-eng-code-L2-code-006604 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-000832 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([180, 360, 220], 5)",
"assert abs(r0 - 1.0556) < 1e-6",
"r1 = rect_energy([100, 230, 490, 330, 430], 1)",
"assert abs(r1 - 0.4389) < 1e-6",
"r2 = rect_energy([100... |
theo-eng-code-L2-code-009921 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 13000, 120)",
"assert abs(r0[0] - 12.66) < 1e-6",
"assert abs(r0[1] - 1026.8) < 1e-6",
"r1 = gear_ratio(0.39, 10500, 100)",
"assert abs(r1[0] - 15.44) < 1e-6",
... |
theo-eng-code-L3-code-003650 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 30, 570, 0.3)",
"assert abs(r0[0] - 408.0) < 1e-6",
"assert abs(r0[1] - 2.21) < 1e-6",
"assert abs(r0[2] - 132.4) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-011578 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 50, 0.2, 0.9)",
"assert abs(r0[0] - 1.75) < 1e-6",
"assert abs(r0[1] - 105.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L3-code-015449 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 10, 3.2, 5)",
"assert r0[0] == 62",
"assert r0[1] == 11",
"assert r0[2] == 682",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 10.912) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-008355 | 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(20, 24, 0.1, -0.05, 0.3, 0.7, 0.5)",
"assert abs(r0[0] - 0.0182) < 1e-6",
"assert abs(r0[1] - 0.5182) < 1e-6",
"assert abs(r0[2] - -0.0082) < 1e-6",
"r1 = com_zmp(13, 25, -0.08... |
theo-eng-code-L2-code-001664 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-010718 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.9, 0.21, 90, 5.0, 1.5)",
"assert abs(r0[0] - 17.41) < 1e-6",
"assert abs(r0[1] - 0.3219) < 1e-6",
"assert abs(r0[2] - 17.89) < 1e-6",
"r1 = joint_torque(0.9, 0.44, 4... |
theo-eng-code-L2-code-000863 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([500, 440, 120, 410, 80], 2)",
"assert abs(r0 - 0.8611) < 1e-6",
"r1 = rect_energy([70, 160, 480, 280, 480], 2)",
"assert abs(r1 - 0.8167) < 1e-6",
"r2 = rect_ene... |
theo-eng-code-L3-code-012844 | 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(15, 4, 0.25)",
"assert abs(r0 - 8.26) < 1e-6",
"r1 = rms_torque(39, 18, 0.5)",
"assert abs(r1 - 30.37) < 1e-6",
"r2 = rms_torque(28, 15, 0.25)",
"assert abs(r2 - 19.1) <... |
theo-eng-code-L2-code-014839 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 80, 3.2, 5)",
"assert r0[0] == 125",
"assert r0[1] == 40",
"assert r0[2] == 5000",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-002845 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 16, -0.06, 0.02, 0.5, 0.3, 0)",
"assert abs(r0[0] - -0.0018) < 1e-6",
"assert abs(r0[1] - 0.3545) < 1e-6",
"assert abs(r0[2] - -0.0018) < 1e-6",
"r1 = com_zmp(12, 15, 0.06... |
theo-eng-code-L2-code-011496 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 50, 150, 0.3)",
"assert abs(r0[0] - 120.0) < 1e-6",
"assert abs(r0[1] - 7.5) < 1e-6",
"assert abs(r0[2] - 450.0) < 1e-6",
"r1 = runtime(1.0, 280, 80, 0.5)",
"ass... |
theo-eng-code-L2-code-008009 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(26, 2510, 60, 0.22, 2.9, 0.009, 1.2, 0.94, 0.85)",
"assert abs(r0[0] - 188.0) < 1e-6",
"assert abs(r0[1] - 11.76) < 1e-6",
"assert abs(r0[2] - 7.05) < 1e-6",
"r1 = erange(52... |
theo-eng-code-L1-code-000004 | 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": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-013297 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.8, 0.11, 60, 1.5, 1.0)",
"assert abs(r0[0] - 5.05) < 1e-6",
"assert abs(r0[1] - 0.0496) < 1e-6",
"assert abs(r0[2] - 5.1) < 1e-6",
"r1 = joint_torque(6.8, 0.56, 90, ... |
theo-eng-code-L3-code-010452 | 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.5, 30, 590, 0.3)",
"assert abs(r0[0] - 422.0) < 1e-6",
"assert abs(r0[1] - 1.07) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"r1 = runtime(0.5, 210, 190, 0.3)",
"asse... |
theo-eng-code-L3-code-003309 | 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, 1110, 120, 0.35, 2.5, 0.008, 1.5, 0.94, 0.95)",
"assert abs(r0[0] - 279.4) < 1e-6",
"assert abs(r0[1] - 21.42) < 1e-6",
"assert abs(r0[2] - 25.71) < 1e-6"
],
"subta... |
theo-eng-code-L2-code-009732 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.3, 4500, 100)",
"assert abs(r0[0] - 5.09) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.3, 4500, 120)",
"assert abs(r1[0] - 4.24) < 1e-6",
"assert... |
theo-eng-code-L2-code-011370 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.2, 0.27, 90, 7.0, 2.0)",
"assert abs(r0[0] - 22.78) < 1e-6",
"assert abs(r0[1] - 0.5881) < 1e-6",
"assert abs(r0[2] - 23.95) < 1e-6",
"r1 = joint_torque(7.9, 0.18, 4... |
theo-eng-code-L3-code-002709 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(61, 12, 0.75)",
"assert abs(r0 - 53.17) < 1e-6",
"r1 = rms_torque(71, 20, 0.75)",
"assert abs(r1 - 62.3) < 1e-6",
"r2 = rms_torque(100, 11, 0.5)",
"assert abs(r2 - 71.14... |
theo-eng-code-L2-code-002197 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 80, 240, 0.3)",
"assert abs(r0[0] - 192.0) < 1e-6",
"assert abs(r0[1] - 2.34) < 1e-6",
"assert abs(r0[2] - 140.6) < 1e-6",
"r1 = runtime(0.5, 130, 160, 0.5)",
"a... |
theo-eng-code-L2-code-012199 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-clarify-008546 | 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-006329 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(26, 20, 0.25)",
"assert abs(r0 - 21.66) < 1e-6",
"r1 = rms_torque(50, 22, 0.25)",
"assert abs(r1 - 31.43) < 1e-6",
"r2 = rms_torque(73, 24, 0.75)",
"assert abs(r2 - 64... |
theo-eng-code-L2-code-002167 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.2, 100)",
"assert r0[0] == 94",
"assert r0[1] == 1",
"assert r0[2] == 94",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 30.08) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-005170 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.7, 10)",
"assert r0[0] == 81",
"assert r0[1] == 27",
"assert r0[2] == 2187",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-004611 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 0.8)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L3-code-006989 | 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(44, 2090, 60, 0.24, 2.3, 0.01, 0.3, 0.9, 0.95)",
"assert abs(r0[0] - 429.7) < 1e-6",
"assert abs(r0[1] - 9.73) < 1e-6",
"assert abs(r0[2] - 5.84) < 1e-6",
"r1 = erange(55, 132... |
theo-eng-code-L2-code-014568 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.2, 0.8)",
"assert abs(r0[0] - 3.41) < 1e-6",
"assert abs(r0[1] - 204.5) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_t... |
theo-eng-code-L2-code-002257 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([290, 110, 70], 2)",
"assert abs(r0 - 0.2611) < 1e-6",
"r1 = rect_energy([260, 180, 110, 320], 1)",
"assert abs(r1 - 0.2417) < 1e-6",
"r2 = rect_energy([340, 400,... |
theo-eng-code-L3-code-015463 | 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(35, 30, 0.25)",
"assert abs(r0 - 31.32) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-000233 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 22, 0.2, 1.0)",
"assert abs(r0[0] - 0.91) < 1e-6",
"assert abs(r0[1] - 54.5) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-007977 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([170, 70, 230], 1)",
"assert abs(r0 - 0.1306) < 1e-6",
"r1 = rect_energy([140, 250, 150], 5)",
"assert abs(r1 - 0.75) < 1e-6",
"r2 = rect_energy([210, 280, 60], 2... |
theo-eng-code-L1-code-012952 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_power",
"user_template": "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-009451 | 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(1.3, 0.46, 45, 0.5, 2.5)",
"assert abs(r0[0] - 3.67) < 1e-6",
"assert abs(r0[1] - 0.1975) < 1e-6",
"assert abs(r0[2] - 4.16) < 1e-6",
"r1 = joint_torque(7.7, 0.55, 60, 2... |
theo-eng-code-L2-code-012685 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.8, 0.5, 30, 0.5, 4.0)",
"assert abs(r0[0] - 5.89) < 1e-6",
"assert abs(r0[1] - 0.4417) < 1e-6",
"assert abs(r0[2] - 7.65) < 1e-6",
"r1 = joint_torque(0.7, 0.14, 30, ... |
theo-eng-code-L3-code-012579 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 14500, 150)",
"assert abs(r0[0] - 12.39) < 1e-6",
"assert abs(r0[1] - 1170.3) < 1e-6",
"r1 = gear_ratio(0.39, 8500, 180)",
"assert abs(r1[0] - 6.94) < 1e-6",
"ass... |
theo-eng-code-L1-code-001690 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-003270 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.74, 0.84, 0.9, 0.86, 0.82])",
"assert abs(r0 - 0.852) < 1e-6",
"r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.78, 0.83, 0.86, 0.9, 0.8])",
"ass... |
theo-eng-code-L2-code-009811 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 7000, 180)",
"assert abs(r0[0] - 6.6) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.27, 8500, 180)",
"assert abs(r1[0] - 4.81) < 1e-6",
"asse... |
theo-eng-code-L2-code-007811 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.5, 0.14, 90, 0.5, 2.5)",
"assert abs(r0[0] - 5.15) < 1e-6",
"assert abs(r0[1] - 0.0523) < 1e-6",
"assert abs(r0[2] - 5.28) < 1e-6",
"r1 = joint_torque(8.0, 0.54, 45,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.