id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L2-code-011676 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(94, 17, 0.25)",
"assert abs(r0 - 49.25) < 1e-6",
"r1 = rms_torque(18, 6, 0.25)",
"assert abs(r1 - 10.39) < 1e-6",
"r2 = rms_torque(82, 20, 0.5)",
"assert abs(r2 - 59.6... |
theo-eng-code-L2-code-005954 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.75, 0.8, 0.86, 0.89, 0.83])",
"assert abs(r0 - 0.812) < 1e-6",
"r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.78, 0.81, 0.85, 0.87, 0.81])",
"a... |
theo-eng-code-L1-code-013065 | 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": "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-011322 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 2.5], [3.0, 0.5])",
"assert abs(r0 - 3.6056) < 1e-6",
"r1 = seg_len([5.0, 3.0], [4.5, 0.0])",
"assert abs(r1 - 3.0414) < 1e-6",
"r2 = seg_len([1.0, 0.5], [5.0, 0.5]... |
theo-eng-code-L2-code-000423 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(84, 2550, 60, 0.32, 2.6, 0.008, 0.4, 0.92, 0.85)",
"assert abs(r0[0] - 650.1) < 1e-6",
"assert abs(r0[1] - 10.98) < 1e-6",
"assert abs(r0[2] - 6.59) < 1e-6",
"r1 = erange(80... |
theo-eng-code-L3-code-013585 | 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(75, 1430, 60, 0.22, 1.9, 0.012, 1.4, 0.94, 0.85)",
"assert abs(r0[0] - 677.5) < 1e-6",
"assert abs(r0[1] - 9.41) < 1e-6",
"assert abs(r0[2] - 5.65) < 1e-6",
"r1 = erange(89, 9... |
theo-eng-code-L3-code-004578 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 13500, 150)",
"assert abs(r0[0] - 9.16) < 1e-6",
"assert abs(r0[1] - 1473.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-005421 | 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, 80, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 65",
"assert r0[2] == 10140",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 81.12) < 1e-6"
... |
theo-eng-code-L2-code-004727 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(62, 5, 0.5)",
"assert abs(r0 - 43.98) < 1e-6",
"r1 = rms_torque(77, 19, 0.75)",
"assert abs(r1 - 67.36) < 1e-6",
"r2 = rms_torque(99, 11, 0.25)",
"assert abs(r2 - 50.4... |
theo-eng-code-L3-code-013438 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.2, 10)",
"assert r0[0] == 156",
"assert r0[1] == 9",
"assert r0[2] == 1404",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 44.928) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-015490 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-011325 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 170, 60, 0.7)",
"assert abs(r0[0] - 137.0) < 1e-6",
"assert abs(r0[1] - 6.57) < 1e-6",
"assert abs(r0[2] - 394.2) < 1e-6",
"r1 = runtime(1.0, 250, 550, 0.3)",
"a... |
theo-eng-code-L3-code-013196 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 25, 0.0, 0.12, 0.6, 0.6, 2)",
"assert abs(r0[0] - 0.0682) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0541) < 1e-6",
"r1 = com_zmp(17, 26, 0.05, -0.01... |
theo-eng-code-L2-code-005823 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.7, 100)",
"assert r0[0] == 81",
"assert r0[1] == 1",
"assert r0[2] == 81",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-013998 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 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-L3-code-002727 | 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.2, 210, 230, 0.5)",
"assert abs(r0[0] - 220.0) < 1e-6",
"assert abs(r0[1] - 0.82) < 1e-6",
"assert abs(r0[2] - 49.1) < 1e-6",
"r1 = runtime(1.0, 120, 160, 0.7)",
"ass... |
theo-eng-code-L3-code-010500 | 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, 50, 0.1, 0.8)",
"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-L1-refuse-015949 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-012753 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.8, 0.22, 60, 1.0, 3.5)",
"assert abs(r0[0] - 5.42) < 1e-6",
"assert abs(r0[1] - 0.1097) < 1e-6",
"assert abs(r0[2] - 5.8) < 1e-6",
"r1 = joint_torque(2.4, 0.41, 45, ... |
theo-eng-code-L2-code-014523 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(34, 2290, 100, 0.32, 3.1, 0.008, 0.4, 0.9, 0.95)",
"assert abs(r0[0] - 158.2) < 1e-6",
"assert abs(r0[1] - 20.42) < 1e-6",
"assert abs(r0[2] - 20.42) < 1e-6",
"r1 = erange(9... |
theo-eng-code-L2-code-011980 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 12, -0.07, -0.03, 0.8, 0.8, 0)",
"assert abs(r0[0] - -0.0482) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.0482) < 1e-6",
"r1 = com_zmp(16, 30, 0.08,... |
theo-eng-code-L3-code-009985 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 28, 0.01, 0.13, 0.8, 0.6, 2)",
"assert abs(r0[0] - 0.083) < 1e-6",
"assert abs(r0[1] - 0.6783) < 1e-6",
"assert abs(r0[2] - -0.0552) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L1-refuse-001781 | 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-010614 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.8, 0.26, 60, 6.5, 2.5)",
"assert abs(r0[0] - 17.45) < 1e-6",
"assert abs(r0[1] - 0.5025) < 1e-6",
"assert abs(r0[2] - 18.71) < 1e-6",
"r1 = joint_torque(7.2, 0.18, 3... |
theo-eng-code-L2-code-007593 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, -0.05, 0.4, 0.8, 0.5)",
"assert abs(r0[0] - -0.0686) < 1e-6",
"assert abs(r0[1] - 0.6512) < 1e-6",
"assert abs(r0[2] - -0.1018) < 1e-6",
"r1 = com_zmp(15, 27, -... |
theo-eng-code-L2-code-004956 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r0[0] == 60",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r1[0] == 20",
"... |
theo-eng-code-L2-code-004068 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([120, 390, 440], 10)",
"assert abs(r0 - 2.6389) < 1e-6",
"r1 = rect_energy([240, 430, 170], 5)",
"assert abs(r1 - 1.1667) < 1e-6",
"r2 = rect_energy([370, 130, 31... |
theo-eng-code-L2-code-015964 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 10, 3.7, 10)",
"assert r0[0] == 108",
"assert r0[1] == 3",
"assert r0[2] == 324",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-000131 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 10, 0.1, 0.08, 0.4, 0.5, 1)",
"assert abs(r0[0] - 0.09) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - 0.0441) < 1e-6",
"r1 = com_zmp(11, 30, -0.04, 0.05... |
theo-eng-code-L3-code-002928 | 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.44, 5000, 180)",
"assert abs(r0[0] - 4.61) < 1e-6",
"assert abs(r0[1] - 1085.1) < 1e-6",
"r1 = gear_ratio(0.4, 5000, 150)",
"assert abs(r1[0] - 5.03) < 1e-6",
"assert... |
theo-eng-code-L3-code-011221 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 80, 220, 0.3)",
"assert abs(r0[0] - 178.0) < 1e-6",
"assert abs(r0[1] - 1.01) < 1e-6",
"assert abs(r0[2] - 60.7) < 1e-6",
"r1 = runtime(0.2, 120, 210, 0.3)",
"asse... |
theo-eng-code-L2-code-003316 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, [0, 25, 50, 75, 100], [0.78, 0.8, 0.85, 0.9, 0.85])",
"assert abs(r0 - 0.89) < 1e-6",
"r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.71, 0.8, 0.89, 0.86, 0.82])",
"asse... |
theo-eng-code-L2-code-006729 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 180, 490, 110, 380], 5)",
"assert abs(r0 - 1.9444) < 1e-6",
"r1 = rect_energy([290, 440, 160, 50, 250], 10)",
"assert abs(r1 - 3.3056) < 1e-6",
"r2 = rect_e... |
theo-eng-code-L1-refuse-006891 | 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-007073 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(56, 1150, 80, 0.35, 2.5, 0.011, 0.4, 0.92, 0.95)",
"assert abs(r0[0] - 434.7) < 1e-6",
"assert abs(r0[1] - 12.24) < 1e-6",
"assert abs(r0[2] - 9.79) < 1e-6",
"r1 = erange(77... |
theo-eng-code-L3-code-004815 | 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(800, 10, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 3",
"assert r0[2] == 750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 12.0) < 1e-6",
"r1 = pack... |
theo-eng-code-L3-code-003833 | 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(11, 12, 0.06, 0.02, 0.3, 0.7, 0.5)",
"assert abs(r0[0] - 0.0391) < 1e-6",
"assert abs(r0[1] - 0.5087) < 1e-6",
"assert abs(r0[2] - 0.0132) < 1e-6",
"r1 = com_zmp(19, 28, 0.05, ... |
theo-eng-code-L3-code-013856 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.7, 0.29, 45, 7.5, 4.0)",
"assert abs(r0[0] - 15.79) < 1e-6",
"assert abs(r0[1] - 0.6504) < 1e-6",
"assert abs(r0[2] - 18.39) < 1e-6",
"r1 = joint_torque(5.6, 0.44, 60,... |
theo-eng-code-L2-code-008148 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 280, 600, 0.3)",
"assert abs(r0[0] - 504.0) < 1e-6",
"assert abs(r0[1] - 0.36) < 1e-6",
"assert abs(r0[2] - 21.4) < 1e-6",
"r1 = runtime(0.1, 220, 40, 0.7)",
"as... |
theo-eng-code-L3-code-002496 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.38, 5500, 150)",
"assert abs(r0[0] - 5.25) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6",
"r1 = gear_ratio(0.41, 6500, 120)",
"assert abs(r1[0] - 8.37) < 1e-6",
"asser... |
theo-eng-code-L3-code-006214 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 0.8)",
"assert abs(r0[0] - 2.14) < 1e-6",
"assert abs(r0[1] - 128.6) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(6... |
theo-eng-code-L2-code-003149 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-refuse-009813 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-000205 | 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(85, 1630, 100, 0.34, 2.4, 0.008, 0.8, 0.92, 0.95)",
"assert abs(r0[0] - 495.2) < 1e-6",
"assert abs(r0[1] - 16.31) < 1e-6",
"assert abs(r0[2] - 16.31) < 1e-6"
],
"subta... |
theo-eng-code-L3-code-003830 | 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(8, 16, 0.01, 0.08, 0.9, 0.7, 2)",
"assert abs(r0[0] - 0.0567) < 1e-6",
"assert abs(r0[1] - 0.7667) < 1e-6",
"assert abs(r0[2] - -0.0996) < 1e-6",
"r1 = com_zmp(7, 16, 0.02, 0.0... |
theo-eng-code-L1-code-015871 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-004180 | 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(800, 80, 3.7, 10)",
"assert r0[0] == 216",
"assert r0[1] == 11",
"assert r0[2] == 2376",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 87.912) < 1e-6"
]... |
theo-eng-code-L1-code-011213 | 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": "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-002593 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([370, 440, 130], 2)",
"assert abs(r0 - 0.5222) < 1e-6",
"r1 = rect_energy([130, 310, 440], 5)",
"assert abs(r1 - 1.2222) < 1e-6",
"r2 = rect_energy([260, 190, 100... |
theo-eng-code-L1-clarify-008045 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-014988 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(21, 2480, 100, 0.26, 2.1, 0.007, 0.6, 0.92, 0.85)",
"assert abs(r0[0] - 131.9) < 1e-6",
"assert abs(r0[1] - 13.53) < 1e-6",
"assert abs(r0[2] - 13.53) < 1e-6",
"r1 = erange(84... |
theo-eng-code-L2-code-009676 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, 19, 0.75)",
"assert abs(r0 - 23.64) < 1e-6",
"r1 = rms_torque(58, 15, 0.75)",
"assert abs(r1 - 50.79) < 1e-6",
"r2 = rms_torque(95, 11, 0.75)",
"assert abs(r2 - 82... |
theo-eng-code-L2-code-006640 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.0, 0.0], [0.5, 2.5])",
"assert abs(r0 - 4.3012) < 1e-6",
"r1 = seg_len([3.5, 0.5], [4.5, 3.0])",
"assert abs(r1 - 2.6926) < 1e-6",
"r2 = seg_len([3.0, 1.5], [2.0, 3.0]... |
theo-eng-code-L3-code-005406 | 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.4, 0.36, 45, 0.0, 4.0)",
"assert abs(r0[0] - 1.75) < 1e-6",
"assert abs(r0[1] - 0.0605) < 1e-6",
"assert abs(r0[2] - 1.99) < 1e-6",
"r1 = joint_torque(5.9, 0.5, 45, 6.... |
theo-eng-code-L3-code-006645 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 11, -0.08, 0.14, 0.3, 0.4, 1)",
"assert abs(r0[0] - 0.041) < 1e-6",
"assert abs(r0[1] - 0.355) < 1e-6",
"assert abs(r0[2] - 0.0048) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L2-code-007597 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.0, 4.5], [1.0, 5.0])",
"assert abs(r0 - 3.0414) < 1e-6",
"r1 = seg_len([0.0, 1.0], [1.5, 3.0])",
"assert abs(r1 - 2.5) < 1e-6",
"r2 = seg_len([4.5, 0.5], [2.5, 1.5])",... |
theo-eng-code-L3-code-009779 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 13500, 180)",
"assert abs(r0[0] - 7.35) < 1e-6",
"assert abs(r0[1] - 1836.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L1-code-008477 | 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-010341 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r1[0] == 20",
... |
theo-eng-code-L2-code-005255 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.5, 4.5], [3.5, 1.5])",
"assert abs(r0 - 3.1623) < 1e-6",
"r1 = seg_len([2.0, 4.5], [2.5, 0.0])",
"assert abs(r1 - 4.5277) < 1e-6",
"r2 = seg_len([3.0, 0.5], [4.0, 2.5]... |
theo-eng-code-L1-clarify-005860 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-005442 | 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(800, 80, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 20",
"assert r0[2] == 5000",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-007742 | 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(12, 27, 0.1, 0.14, 0.7, 0.3, 1)",
"assert abs(r0[0] - 0.1277) < 1e-6",
"assert abs(r0[1] - 0.4231) < 1e-6",
"assert abs(r0[2] - 0.0846) < 1e-6",
"r1 = com_zmp(10, 14, 0.09, 0.1... |
theo-eng-code-L2-code-015850 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 19, -0.09, 0.07, 0.7, 0.3, 1)",
"assert abs(r0[0] - 0.0316) < 1e-6",
"assert abs(r0[1] - 0.396) < 1e-6",
"assert abs(r0[2] - -0.0088) < 1e-6",
"r1 = com_zmp(11, 27, -0.08,... |
theo-eng-code-L2-code-012681 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([18, 85, 79, 10, 70])",
"assert abs(r0[0] - 52.4) < 1e-6",
"assert abs(r0[1] - 35.571) < 1e-6",
"r1 = summarise([68, 42, 76, 92, 39, 72])",
"assert abs(r1[0] - 64.83... |
theo-eng-code-L2-code-010742 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 2720, 100, 0.31, 2.7, 0.009, 1.3, 0.9, 0.9)",
"assert abs(r0[0] - 245.2) < 1e-6",
"assert abs(r0[1] - 20.92) < 1e-6",
"assert abs(r0[2] - 20.92) < 1e-6",
"r1 = erange(36... |
theo-eng-code-L1-refuse-000316 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-code-001877 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_cond",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-000021 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.2, 0.59, 60, 6.0, 1.5)",
"assert abs(r0[0] - 38.09) < 1e-6",
"assert abs(r0[1] - 2.4599) < 1e-6",
"assert abs(r0[2] - 41.78) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-002191 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([14, 18, 67, 84, 88, 13])",
"assert abs(r0[0] - 47.333) < 1e-6",
"assert abs(r0[1] - 36.153) < 1e-6",
"r1 = summarise([29, 66, 79, 11])",
"assert abs(r1[0] - 46.25) ... |
theo-eng-code-L2-code-009224 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(15, [0, 25, 50, 75, 100], [0.77, 0.83, 0.89, 0.86, 0.85])",
"assert abs(r0 - 0.806) < 1e-6",
"r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.8, 0.81, 0.85, 0.9, 0.84])",
"as... |
theo-eng-code-L3-code-005781 | 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(96, 35, 0.25)",
"assert abs(r0 - 56.77) < 1e-6",
"r1 = rms_torque(77, 27, 0.75)",
"assert abs(r1 - 68.04) < 1e-6",
"r2 = rms_torque(32, 4, 0.75)",
"assert abs(r2 - 27.78... |
theo-eng-code-L2-code-002026 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 17, 0.05, 0.11, 0.8, 0.5, 0)",
"assert abs(r0[0] - 0.0776) < 1e-6",
"assert abs(r0[1] - 0.6622) < 1e-6",
"assert abs(r0[2] - 0.0776) < 1e-6",
"r1 = com_zmp(18, 16, 0.04, ... |
theo-eng-code-L2-code-009378 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 190, 350, 0.5)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 3.33) < 1e-6",
"assert abs(r0[2] - 200.0) < 1e-6",
"r1 = runtime(0.1, 250, 90, 0.3)",
"a... |
theo-eng-code-L2-code-003356 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 10, 0.5)",
"assert abs(r0 - 29.15) < 1e-6",
"r1 = rms_torque(5, 5, 0.75)",
"assert abs(r1 - 5.0) < 1e-6",
"r2 = rms_torque(26, 7, 0.5)",
"assert abs(r2 - 19.04) < ... |
theo-eng-code-L3-code-012368 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 170, 80, 0.3)",
"assert abs(r0[0] - 107.0) < 1e-6",
"assert abs(r0[1] - 0.84) < 1e-6",
"assert abs(r0[2] - 50.5) < 1e-6",
"r1 = runtime(0.2, 280, 100, 0.3)",
"asse... |
theo-eng-code-L3-code-010299 | 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(80, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.47) < 1e-6",
"assert abs(r0[1] - 28.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_tim... |
theo-eng-code-L2-code-011875 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r0[0] == 80",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r1[0] == 40",
"... |
theo-eng-code-L3-code-008056 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 11500, 100)",
"assert abs(r0[0] - 13.87) < 1e-6",
"assert abs(r0[1] - 828.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-013831 | 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(87, 9, 0.75)",
"assert abs(r0 - 75.48) < 1e-6",
"r1 = rms_torque(38, 27, 0.25)",
"assert abs(r1 - 30.13) < 1e-6",
"r2 = rms_torque(42, 21, 0.5)",
"assert abs(r2 - 33.2) ... |
theo-eng-code-L1-code-006234 | 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": "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-009399 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.7, 50)",
"assert r0[0] == 54",
"assert r0[1] == 5",
"assert r0[2] == 270",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 49.95) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-001289 | 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(1.9, 0.34, 30, 1.5, 0.0)",
"assert abs(r0[0] - 4.09) < 1e-6",
"assert abs(r0[1] - 0.2466) < 1e-6",
"assert abs(r0[2] - 4.09) < 1e-6",
"r1 = joint_torque(2.3, 0.23, 90, 3... |
theo-eng-code-L1-clarify-010168 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-006274 | 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(46, 7, 0.75)",
"assert abs(r0 - 39.99) < 1e-6",
"r1 = rms_torque(66, 12, 0.5)",
"assert abs(r1 - 47.43) < 1e-6",
"r2 = rms_torque(99, 9, 0.25)",
"assert abs(r2 - 50.11) ... |
theo-eng-code-L2-code-015566 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([26, 83, 55, 25, 23])",
"assert abs(r0[0] - 42.4) < 1e-6",
"assert abs(r0[1] - 26.245) < 1e-6",
"r1 = summarise([28, 83, 86, 59])",
"assert r1[0] == 64",
"assert... |
theo-eng-code-L1-code-004582 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-014480 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.1, 0.9)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L2-code-002590 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 2200, 60, 0.25, 2.9, 0.007, 0.8, 0.88, 0.95)",
"assert abs(r0[0] - 921.9) < 1e-6",
"assert abs(r0[1] - 10.0) < 1e-6",
"assert abs(r0[2] - 6.0) < 1e-6",
"r1 = erange(54, ... |
theo-eng-code-L2-code-005486 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.5, 0.5], [4.0, 2.0])",
"assert abs(r0 - 1.5811) < 1e-6",
"r1 = seg_len([0.0, 3.0], [0.0, 4.0])",
"assert abs(r1 - 1.0) < 1e-6",
"r2 = seg_len([5.0, 2.0], [1.0, 5.0])",... |
theo-eng-code-L1-clarify-006223 | 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-L1-code-000449 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-002501 | 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(19, 23, 0.04, -0.01, 0.6, 0.5, 0)",
"assert abs(r0[0] - 0.0126) < 1e-6",
"assert abs(r0[1] - 0.5452) < 1e-6",
"assert abs(r0[2] - 0.0126) < 1e-6",
"r1 = com_zmp(6, 12, -0.04, 0... |
theo-eng-code-L2-code-013417 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
... |
theo-eng-code-L3-code-011307 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 29, -0.1, 0.12, 0.5, 0.3, 2)",
"assert abs(r0[0] - 0.0636) < 1e-6",
"assert abs(r0[1] - 0.3513) < 1e-6",
"assert abs(r0[2] - -0.008) < 1e-6",
"r1 = com_zmp(13, 16, 0.05, 0.... |
theo-eng-code-L3-code-014335 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 19, -0.06, 0.01, 0.8, 0.7, 0.5)",
"assert abs(r0[0] - -0.0184) < 1e-6",
"assert abs(r0[1] - 0.7406) < 1e-6",
"assert abs(r0[2] - -0.0562) < 1e-6",
"r1 = com_zmp(5, 18, -0.0... |
theo-eng-code-L3-code-011795 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 90, 80, 0.7)",
"assert abs(r0[0] - 87.0) < 1e-6",
"assert abs(r0[1] - 5.17) < 1e-6",
"assert abs(r0[2] - 310.3) < 1e-6",
"r1 = runtime(0.2, 140, 240, 0.3)",
"asser... |
theo-eng-code-L2-code-006126 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 11, 0.02, 0.0, 0.4, 0.4, 0)",
"assert abs(r0[0] - 0.009) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - 0.009) < 1e-6",
"r1 = com_zmp(11, 24, -0.04, 0.08, ... |
theo-eng-code-L3-code-004305 | 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(97, 1950, 60, 0.27, 1.9, 0.011, 1.2, 0.94, 0.85)",
"assert abs(r0[0] - 763.6) < 1e-6",
"assert abs(r0[1] - 10.8) < 1e-6",
"assert abs(r0[2] - 6.48) < 1e-6",
"r1 = erange(28, 2... |
theo-eng-code-L2-code-006623 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 40, 0.5)",
"assert abs(r0 - 45.28) < 1e-6",
"r1 = rms_torque(97, 16, 0.75)",
"assert abs(r1 - 84.38) < 1e-6",
"r2 = rms_torque(29, 13, 0.25)",
"assert abs(r2 - 18.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.