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-L3-code-009420 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 20, 3.7, 10)",
"assert r0[0] == 81",
"assert r0[1] == 7",
"assert r0[2] == 567",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 20.979) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-013139 | 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(0.2, 240, 240, 0.5)",
"assert abs(r0[0] - 240.0) < 1e-6",
"assert abs(r0[1] - 0.75) < 1e-6",
"assert abs(r0[2] - 45.0) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-009807 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(79, 2, 0.5)",
"assert abs(r0 - 55.88) < 1e-6",
"r1 = rms_torque(46, 27, 0.5)",
"assert abs(r1 - 37.72) < 1e-6",
"r2 = rms_torque(44, 36, 0.5)",
"assert abs(r2 - 40.2) ... |
theo-eng-code-L2-code-014458 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([300, 360, 360], 5)",
"assert abs(r0 - 1.4167) < 1e-6",
"r1 = rect_energy([410, 470, 340], 2)",
"assert abs(r1 - 0.6778) < 1e-6",
"r2 = rect_energy([90, 230, 410,... |
theo-eng-code-L2-code-001863 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([290, 470, 460, 380], 1)",
"assert abs(r0 - 0.4444) < 1e-6",
"r1 = rect_energy([390, 340, 80, 360], 5)",
"assert abs(r1 - 1.625) < 1e-6",
"r2 = rect_energy([270, ... |
theo-eng-code-L2-code-012680 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(52, 19, 0.25)",
"assert abs(r0 - 30.77) < 1e-6",
"r1 = rms_torque(87, 39, 0.5)",
"assert abs(r1 - 67.42) < 1e-6",
"r2 = rms_torque(26, 13, 0.25)",
"assert abs(r2 - 17.... |
theo-eng-code-L3-code-002728 | 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(52, 1620, 80, 0.36, 2.7, 0.007, 0.8, 0.9, 0.85)",
"assert abs(r0[0] - 327.2) < 1e-6",
"assert abs(r0[1] - 13.51) < 1e-6",
"assert abs(r0[2] - 10.81) < 1e-6",
"r1 = erange(51, ... |
theo-eng-code-L2-code-011614 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-004073 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 19, 0.06, 0.09, 0.5, 0.3, 0)",
"assert abs(r0[0] - 0.0768) < 1e-6",
"assert abs(r0[1] - 0.3882) < 1e-6",
"assert abs(r0[2] - 0.0768) < 1e-6",
"r1 = com_zmp(6, 25, 0.08, 0.1... |
theo-eng-code-L2-code-004833 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 21, 0.08, -0.05, 0.4, 0.7, 0.5)",
"assert abs(r0[0] - -0.0027) < 1e-6",
"assert abs(r0[1] - 0.5909) < 1e-6",
"assert abs(r0[2] - -0.0328) < 1e-6",
"r1 = com_zmp(6, 25, -0... |
theo-eng-code-L3-code-014670 | 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(300, 10, 3.2, 5)",
"assert r0[0] == 94",
"assert r0[1] == 7",
"assert r0[2] == 658",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 10.528) < 1e-6",
"r1 = pac... |
theo-eng-code-L1-code-003036 | 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": "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-002222 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(85, 32, 0.25)",
"assert abs(r0 - 50.74) < 1e-6",
"r1 = rms_torque(34, 34, 0.5)",
"assert abs(r1 - 34.0) < 1e-6",
"r2 = rms_torque(58, 20, 0.5)",
"assert abs(r2 - 43.38... |
theo-eng-code-L2-code-013330 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(76, 15, 0.25)",
"assert abs(r0 - 40.16) < 1e-6",
"r1 = rms_torque(89, 6, 0.5)",
"assert abs(r1 - 63.08) < 1e-6",
"r2 = rms_torque(46, 32, 0.5)",
"assert abs(r2 - 39.62... |
theo-eng-code-L3-code-008102 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.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 = pac... |
theo-eng-code-L3-code-003905 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.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-L3-code-010312 | 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(4.8, 0.47, 90, 5.0, 0.0)",
"assert abs(r0[0] - 34.12) < 1e-6",
"assert abs(r0[1] - 1.4579) < 1e-6",
"assert abs(r0[2] - 34.12) < 1e-6",
"r1 = joint_torque(0.6, 0.58, 60,... |
theo-eng-code-L3-code-012405 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.6, 100)",
"assert r0[0] == 83",
"assert r0[1] == 3",
"assert r0[2] == 249",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 89.64) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-015700 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 11000, 120)",
"assert abs(r0[0] - 9.33) < 1e-6",
"assert abs(r0[1] - 1178.9) < 1e-6",
"r1 = gear_ratio(0.33, 14000, 180)",
"assert abs(r1[0] - 9.68) < 1e-6",
"ass... |
theo-eng-code-L2-code-012125 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(33, 28, 0.5)",
"assert abs(r0 - 30.6) < 1e-6",
"r1 = rms_torque(13, 9, 0.75)",
"assert abs(r1 - 12.12) < 1e-6",
"r2 = rms_torque(39, 8, 0.25)",
"assert abs(r2 - 20.69)... |
theo-eng-code-L2-code-006939 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([23, 94, 83, 68, 80, 21])",
"assert abs(r0[0] - 61.5) < 1e-6",
"assert abs(r0[1] - 31.703) < 1e-6",
"r1 = summarise([61, 90, 74, 44, 44, 13])",
"assert abs(r1[0] - 5... |
theo-eng-code-L2-code-012894 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 6500, 100)",
"assert abs(r0[0] - 7.35) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.32, 10500, 120)",
"assert abs(r1[0] - 10.56) < 1e-6",
"ass... |
theo-eng-code-L3-code-001328 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 0.9)",
"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"
],
"subtask"... |
theo-eng-code-L2-code-013320 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 100}')",
"assert r0[0] == 60",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 250}')",
"assert r1[0] == 40",
... |
theo-eng-code-L3-code-001047 | 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.35, 7000, 120)",
"assert abs(r0[0] - 7.7) < 1e-6",
"assert abs(r0[1] - 909.5) < 1e-6",
"r1 = gear_ratio(0.32, 6500, 150)",
"assert abs(r1[0] - 5.23) < 1e-6",
"assert ... |
theo-eng-code-L2-code-008533 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-004204 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([26, 69, 35, 77, 70, 98])",
"assert abs(r0[0] - 62.5) < 1e-6",
"assert abs(r0[1] - 27.046) < 1e-6",
"r1 = summarise([30, 27, 48, 80, 63, 99])",
"assert abs(r1[0] - 5... |
theo-eng-code-L3-code-002708 | 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, 5)",
"assert r0[0] == 111",
"assert r0[1] == 41",
"assert r0[2] == 4551",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 81.918) < 1e-6"
],... |
theo-eng-code-L3-code-013744 | 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(44, 1800, 120, 0.34, 2.3, 0.007, 0.3, 0.88, 0.9)",
"assert abs(r0[0] - 189.0) < 1e-6",
"assert abs(r0[1] - 20.95) < 1e-6",
"assert abs(r0[2] - 25.14) < 1e-6",
"r1 = erange(86,... |
theo-eng-code-L1-code-004456 | 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": "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-005248 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 110, 270, 0.5)",
"assert abs(r0[0] - 190.0) < 1e-6",
"assert abs(r0[1] - 2.37) < 1e-6",
"assert abs(r0[2] - 142.1) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-005959 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 29, -0.1, -0.03, 0.5, 0.7, 0.5)",
"assert abs(r0[0] - -0.0559) < 1e-6",
"assert abs(r0[1] - 0.6261) < 1e-6",
"assert abs(r0[2] - -0.0878) < 1e-6",
"r1 = com_zmp(8, 12, 0.... |
theo-eng-code-L2-code-014396 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(27, 1560, 60, 0.28, 3.1, 0.009, 0.9, 0.94, 0.9)",
"assert abs(r0[0] - 244.6) < 1e-6",
"assert abs(r0[1] - 9.93) < 1e-6",
"assert abs(r0[2] - 5.96) < 1e-6",
"r1 = erange(67, ... |
theo-eng-code-L2-code-002459 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 340, 180], 2)",
"assert abs(r0 - 0.3167) < 1e-6",
"r1 = rect_energy([110, 210, 490, 320], 10)",
"assert abs(r1 - 3.1389) < 1e-6",
"r2 = rect_energy([280, 240... |
theo-eng-code-L3-code-004099 | 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(56, 1800, 80, 0.3, 2.3, 0.008, 1.4, 0.92, 0.85)",
"assert abs(r0[0] - 386.5) < 1e-6",
"assert abs(r0[1] - 12.32) < 1e-6",
"assert abs(r0[2] - 9.85) < 1e-6",
"r1 = erange(56, 2... |
theo-eng-code-L3-code-006391 | 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(6, 15, -0.06, -0.03, 0.4, 0.9, 2)",
"assert abs(r0[0] - -0.0386) < 1e-6",
"assert abs(r0[1] - 0.7571) < 1e-6",
"assert abs(r0[2] - -0.1929) < 1e-6",
"r1 = com_zmp(19, 11, -0.1,... |
theo-eng-code-L2-code-002376 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(74, 1110, 60, 0.26, 3.0, 0.01, 0.3, 0.9, 0.95)",
"assert abs(r0[0] - 883.5) < 1e-6",
"assert abs(r0[1] - 7.96) < 1e-6",
"assert abs(r0[2] - 4.77) < 1e-6",
"r1 = erange(81, 2... |
theo-eng-code-L2-code-014953 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 110, 250, 0.3)",
"assert abs(r0[0] - 208.0) < 1e-6",
"assert abs(r0[1] - 0.87) < 1e-6",
"assert abs(r0[2] - 51.9) < 1e-6",
"r1 = runtime(0.1, 140, 150, 0.7)",
"a... |
theo-eng-code-L2-code-013808 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 110, 50, 70, 50], 1)",
"assert abs(r0 - 0.1806) < 1e-6",
"r1 = rect_energy([50, 100, 390, 460], 1)",
"assert abs(r1 - 0.2778) < 1e-6",
"r2 = rect_energy([50... |
theo-eng-code-L2-code-015340 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 12, 0.07, 0.12, 0.3, 0.4, 0)",
"assert abs(r0[0] - 0.0887) < 1e-6",
"assert abs(r0[1] - 0.3375) < 1e-6",
"assert abs(r0[2] - 0.0887) < 1e-6",
"r1 = com_zmp(8, 13, 0.08, 0... |
theo-eng-code-L1-code-004270 | 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": "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-002239 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([65, 80, 46, 33, 49, 55])",
"assert abs(r0[0] - 54.667) < 1e-6",
"assert abs(r0[1] - 16.281) < 1e-6",
"r1 = summarise([16, 60, 41, 71])",
"assert r1[0] == 47",
"... |
theo-eng-code-L3-code-003200 | 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.1, 170, 140, 0.7)",
"assert abs(r0[0] - 161.0) < 1e-6",
"assert abs(r0[1] - 0.56) < 1e-6",
"assert abs(r0[2] - 33.5) < 1e-6",
"r1 = runtime(1.0, 70, 370, 0.3)",
"asse... |
theo-eng-code-L1-code-011865 | 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": "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-012615 | 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(15, 21, -0.05, -0.04, 0.6, 0.9, 2)",
"assert abs(r0[0] - -0.0442) < 1e-6",
"assert abs(r0[1] - 0.775) < 1e-6",
"assert abs(r0[2] - -0.2022) < 1e-6",
"r1 = com_zmp(8, 26, 0.1, 0... |
theo-eng-code-L2-code-015317 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 15, 0.04, 0.02, 0.4, 0.5, 0)",
"assert abs(r0[0] - 0.0257) < 1e-6",
"assert abs(r0[1] - 0.4714) < 1e-6",
"assert abs(r0[2] - 0.0257) < 1e-6",
"r1 = com_zmp(20, 26, 0.02, 0... |
theo-eng-code-L2-code-004341 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 10, 0.0, 0.07, 0.4, 0.7, 1)",
"assert abs(r0[0] - 0.0412) < 1e-6",
"assert abs(r0[1] - 0.5765) < 1e-6",
"assert abs(r0[2] - -0.0176) < 1e-6",
"r1 = com_zmp(18, 30, -0.06, ... |
theo-eng-code-L2-code-013619 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 220, 570, 0.5)",
"assert abs(r0[0] - 395.0) < 1e-6",
"assert abs(r0[1] - 0.23) < 1e-6",
"assert abs(r0[2] - 13.7) < 1e-6",
"r1 = runtime(0.1, 120, 550, 0.5)",
"a... |
theo-eng-code-L2-code-010917 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"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\": 60, \"max_kw\": 50}')",
"assert r1[0] == 60",
"as... |
theo-eng-code-L2-code-004856 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 0.45, 45, 7.0, 3.0)",
"assert abs(r0[0] - 28.25) < 1e-6",
"assert abs(r0[1] - 1.6943) < 1e-6",
"assert abs(r0[2] - 33.33) < 1e-6",
"r1 = joint_torque(2.5, 0.13, 3... |
theo-eng-code-L1-refuse-011625 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-006358 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 5.0], [4.0, 0.5])",
"assert abs(r0 - 4.6098) < 1e-6",
"r1 = seg_len([2.0, 1.5], [2.5, 3.0])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([3.0, 0.5], [4.5, 3.0]... |
theo-eng-code-L2-code-014055 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 15, -0.01, 0.11, 0.5, 0.3, 1)",
"assert abs(r0[0] - 0.0429) < 1e-6",
"assert abs(r0[1] - 0.4118) < 1e-6",
"assert abs(r0[2] - 0.001) < 1e-6",
"r1 = com_zmp(13, 12, 0.09, ... |
theo-eng-code-L1-code-013376 | 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": "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-008284 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 50, 0.1, 1.0)",
"assert abs(r0[0] - 1.35) < 1e-6",
"assert abs(r0[1] - 81.0) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L3-code-007153 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(92, 1510, 100, 0.36, 2.9, 0.008, 0.3, 0.88, 0.85)",
"assert abs(r0[0] - 398.7) < 1e-6",
"assert abs(r0[1] - 19.62) < 1e-6",
"assert abs(r0[2] - 19.62) < 1e-6",
"r1 = erange(58... |
theo-eng-code-L3-code-011343 | 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(100, 11, 0.2, 1.0)",
"assert abs(r0[0] - 9.09) < 1e-6",
"assert abs(r0[1] - 545.5) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L2-code-005829 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(20, 10, -0.07, 0.03, 0.5, 0.9, 1)",
"assert abs(r0[0] - -0.0367) < 1e-6",
"assert abs(r0[1] - 0.6333) < 1e-6",
"assert abs(r0[2] - -0.1012) < 1e-6",
"r1 = com_zmp(13, 29, -0.... |
theo-eng-code-L2-code-014952 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 5500, 150)",
"assert abs(r0[0] - 4.29) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6",
"r1 = gear_ratio(0.45, 8000, 100)",
"assert abs(r1[0] - 13.57) < 1e-6",
"as... |
theo-eng-code-L2-code-008550 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 25, 0.08, 0.07, 0.9, 0.9, 1)",
"assert abs(r0[0] - 0.0719) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - -0.0198) < 1e-6",
"r1 = com_zmp(14, 10, 0.04, -0.... |
theo-eng-code-L2-code-000865 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-012464 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.2, 100)",
"assert r0[0] == 156",
"assert r0[1] == 1",
"assert r0[2] == 156",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 49.92) < 1e-6"
],
... |
theo-eng-code-L2-code-014291 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 15, 0.04, 0.15, 0.8, 0.5, 1)",
"assert abs(r0[0] - 0.1035) < 1e-6",
"assert abs(r0[1] - 0.6269) < 1e-6",
"assert abs(r0[2] - 0.0396) < 1e-6",
"r1 = com_zmp(15, 15, 0.03, ... |
theo-eng-code-L2-code-011783 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 50, 420, 0.7)",
"assert abs(r0[0] - 161.0) < 1e-6",
"assert abs(r0[1] - 2.8) < 1e-6",
"assert abs(r0[2] - 167.7) < 1e-6",
"r1 = runtime(1.0, 300, 40, 0.3)",
"ass... |
theo-eng-code-L2-code-013630 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([99, 75, 78, 82])",
"assert abs(r0[0] - 83.5) < 1e-6",
"assert abs(r0[1] - 10.724) < 1e-6",
"r1 = summarise([81, 63, 52, 30])",
"assert abs(r1[0] - 56.5) < 1e-6",
... |
theo-eng-code-L2-code-005958 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 90, 300, 0.5)",
"assert abs(r0[0] - 195.0) < 1e-6",
"assert abs(r0[1] - 0.46) < 1e-6",
"assert abs(r0[2] - 27.7) < 1e-6",
"r1 = runtime(1.0, 50, 50, 0.5)",
"asse... |
theo-eng-code-L2-code-008742 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 10, 3.6, 50)",
"assert r0[0] == 222",
"assert r0[1] == 1",
"assert r0[2] == 222",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-005153 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(9, 4, 0.75)",
"assert abs(r0 - 8.05) < 1e-6",
"r1 = rms_torque(55, 6, 0.25)",
"assert abs(r1 - 27.99) < 1e-6",
"r2 = rms_torque(90, 11, 0.25)",
"assert abs(r2 - 46.0) ... |
theo-eng-code-L1-code-008701 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_cond",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-013430 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-009688 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.6, 0.2, 90, 7.0, 1.0)",
"assert abs(r0[0] - 14.32) < 1e-6",
"assert abs(r0[1] - 0.288) < 1e-6",
"assert abs(r0[2] - 14.61) < 1e-6",
"r1 = joint_torque(2.3, 0.37, 45,... |
theo-eng-code-L1-clarify-007757 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-014410 | 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(81, 1500, 80, 0.36, 2.5, 0.013, 1.2, 0.88, 0.9)",
"assert abs(r0[0] - 451.9) < 1e-6",
"assert abs(r0[1] - 16.13) < 1e-6",
"assert abs(r0[2] - 12.9) < 1e-6",
"r1 = erange(52, 2... |
theo-eng-code-L2-code-009004 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 1.0], [1.5, 3.0])",
"assert abs(r0 - 2.0616) < 1e-6",
"r1 = seg_len([2.0, 4.5], [1.5, 5.0])",
"assert abs(r1 - 0.7071) < 1e-6",
"r2 = seg_len([5.0, 2.5], [3.5, 1.5]... |
theo-eng-code-L1-code-006492 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_cond",
"user_template": "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-006932 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.4, 0.29, 90, 1.0, 1.0)",
"assert abs(r0[0] - 4.84) < 1e-6",
"assert abs(r0[1] - 0.1233) < 1e-6",
"assert abs(r0[2] - 4.96) < 1e-6",
"r1 = joint_torque(2.4, 0.28, 45,... |
theo-eng-code-L2-code-008008 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 11, -0.09, 0.05, 0.8, 0.3, 2)",
"assert abs(r0[0] - -0.0258) < 1e-6",
"assert abs(r0[1] - 0.5708) < 1e-6",
"assert abs(r0[2] - -0.1422) < 1e-6",
"r1 = com_zmp(5, 26, 0.03... |
theo-eng-code-L2-code-011393 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(37, 1640, 120, 0.33, 2.1, 0.011, 0.9, 0.94, 0.95)",
"assert abs(r0[0] - 176.5) < 1e-6",
"assert abs(r0[1] - 19.92) < 1e-6",
"assert abs(r0[2] - 23.9) < 1e-6",
"r1 = erange(2... |
theo-eng-code-L2-code-003241 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.0, 0.58, 45, 4.5, 4.0)",
"assert abs(r0[0] - 20.12) < 1e-6",
"assert abs(r0[1] - 1.6259) < 1e-6",
"assert abs(r0[2] - 26.62) < 1e-6",
"r1 = joint_torque(5.4, 0.2, 45... |
theo-eng-code-L2-code-011304 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(54, 15, 0.5)",
"assert abs(r0 - 39.63) < 1e-6",
"r1 = rms_torque(97, 27, 0.25)",
"assert abs(r1 - 53.84) < 1e-6",
"r2 = rms_torque(74, 6, 0.25)",
"assert abs(r2 - 37.3... |
theo-eng-code-L3-code-008994 | 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(69, 39, 0.25)",
"assert abs(r0 - 48.28) < 1e-6",
"r1 = rms_torque(43, 32, 0.5)",
"assert abs(r1 - 37.9) < 1e-6",
"r2 = rms_torque(71, 7, 0.25)",
"assert abs(r2 - 36.01) ... |
theo-eng-code-L2-code-005269 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.2, 0.43, 90, 0.0, 1.5)",
"assert abs(r0[0] - 4.64) < 1e-6",
"assert abs(r0[1] - 0.1356) < 1e-6",
"assert abs(r0[2] - 4.84) < 1e-6",
"r1 = joint_torque(3.0, 0.18, 90,... |
theo-eng-code-L3-code-009422 | 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(40, 31, 0.5)",
"assert abs(r0 - 35.78) < 1e-6",
"r1 = rms_torque(98, 38, 0.25)",
"assert abs(r1 - 59.03) < 1e-6",
"r2 = rms_torque(66, 6, 0.25)",
"assert abs(r2 - 33.41)... |
theo-eng-code-L1-code-000315 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-008455 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.25) < 1e-6",
"assert abs(r0[1] - 15.0) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r... |
theo-eng-code-L2-code-001849 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(65, [0, 25, 50, 75, 100], [0.78, 0.82, 0.86, 0.9, 0.84])",
"assert abs(r0 - 0.884) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.78, 0.81, 0.88, 0.87, 0.81])",
"a... |
theo-eng-code-L3-code-003363 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 28, -0.08, -0.05, 0.8, 0.6, 0.5)",
"assert abs(r0[0] - -0.0585) < 1e-6",
"assert abs(r0[1] - 0.6564) < 1e-6",
"assert abs(r0[2] - -0.0919) < 1e-6"
],
"subtask": "wri... |
theo-eng-code-L2-code-012686 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, 2030, 120, 0.33, 2.8, 0.01, 0.4, 0.92, 0.95)",
"assert abs(r0[0] - 206.3) < 1e-6",
"assert abs(r0[1] - 25.33) < 1e-6",
"assert abs(r0[2] - 30.4) < 1e-6",
"r1 = erange(84... |
theo-eng-code-L3-code-013159 | 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.32, 5500, 120)",
"assert abs(r0[0] - 5.53) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6",
"r1 = gear_ratio(0.32, 8500, 150)",
"assert abs(r1[0] - 6.84) < 1e-6",
"assert... |
theo-eng-code-L1-code-004173 | 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_chain",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-refuse-000300 | 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-004442 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(65, [0, 25, 50, 75, 100], [0.8, 0.83, 0.87, 0.88, 0.8])",
"assert abs(r0 - 0.876) < 1e-6",
"r1 = interp_eff(75, [0, 25, 50, 75, 100], [0.75, 0.85, 0.87, 0.88, 0.8])",
"ass... |
theo-eng-code-L2-code-000872 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.1, 0.9)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L1-code-007818 | 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_join",
"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-003416 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 29, -0.01, 0.06, 0.7, 0.4, 0)",
"assert abs(r0[0] - 0.0395) < 1e-6",
"assert abs(r0[1] - 0.4878) < 1e-6",
"assert abs(r0[2] - 0.0395) < 1e-6",
"r1 = com_zmp(10, 15, 0.04,... |
theo-eng-code-L2-code-014254 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-002355 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.79, 0.83, 0.87, 0.87, 0.83])",
"assert abs(r0 - 0.87) < 1e-6",
"r1 = interp_eff(80, [0, 25, 50, 75, 100], [0.74, 0.81, 0.9, 0.85, 0.85])",
"as... |
theo-eng-code-L3-code-013603 | 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(13, 27, 0.01, -0.03, 0.3, 0.6, 0)",
"assert abs(r0[0] - -0.017) < 1e-6",
"assert abs(r0[1] - 0.5025) < 1e-6",
"assert abs(r0[2] - -0.017) < 1e-6",
"r1 = com_zmp(6, 18, -0.07, -... |
theo-eng-code-L2-code-008260 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.0], [0.5, 3.0])",
"assert abs(r0 - 3.6056) < 1e-6",
"r1 = seg_len([4.5, 4.5], [1.5, 5.0])",
"assert abs(r1 - 3.0414) < 1e-6",
"r2 = seg_len([2.0, 4.0], [5.0, 2.0]... |
theo-eng-code-L1-code-015937 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.