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-015434 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 50, 0.1, 0.9)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 96.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask":... |
theo-eng-code-L3-code-003355 | 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(91, 1790, 120, 0.3, 1.9, 0.012, 0.9, 0.92, 0.9)",
"assert abs(r0[0] - 435.1) < 1e-6",
"assert abs(r0[1] - 18.82) < 1e-6",
"assert abs(r0[2] - 22.59) < 1e-6",
"r1 = erange(79, ... |
theo-eng-code-L2-code-001792 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.7, 2.5)",
"assert r0[0] == 108",
"assert r0[1] == 41",
"assert r0[2] == 4428",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6",
"r... |
theo-eng-code-L2-code-001531 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "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-L1-code-002157 | 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": "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-006544 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.7, 0.43, 45, 7.5, 4.0)",
"assert abs(r0[0] - 30.87) < 1e-6",
"assert abs(r0[1] - 1.7381) < 1e-6",
"assert abs(r0[2] - 37.82) < 1e-6",
"r1 = joint_torque(7.8, 0.41, 9... |
theo-eng-code-L2-code-004459 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, [0, 25, 50, 75, 100], [0.71, 0.81, 0.86, 0.85, 0.85])",
"assert abs(r0 - 0.85) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.73, 0.82, 0.88, 0.89, 0.83])",
"a... |
theo-eng-code-L2-code-015285 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(85, 4, 0.25)",
"assert abs(r0 - 42.64) < 1e-6",
"r1 = rms_torque(17, 16, 0.25)",
"assert abs(r1 - 16.26) < 1e-6",
"r2 = rms_torque(86, 14, 0.75)",
"assert abs(r2 - 74.... |
theo-eng-code-L2-code-001920 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "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-012128 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([31, 87, 77, 76])",
"assert abs(r0[0] - 67.75) < 1e-6",
"assert abs(r0[1] - 24.998) < 1e-6",
"r1 = summarise([36, 76, 47, 48])",
"assert abs(r1[0] - 51.75) < 1e-6",
... |
theo-eng-code-L3-code-008054 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(52, 2060, 60, 0.29, 2.2, 0.009, 0.7, 0.94, 0.95)",
"assert abs(r0[0] - 506.7) < 1e-6",
"assert abs(r0[1] - 9.75) < 1e-6",
"assert abs(r0[2] - 5.85) < 1e-6"
],
"subtask"... |
theo-eng-code-L2-code-004208 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(93, 5, 0.75)",
"assert abs(r0 - 80.58) < 1e-6",
"r1 = rms_torque(92, 8, 0.5)",
"assert abs(r1 - 65.3) < 1e-6",
"r2 = rms_torque(97, 26, 0.75)",
"assert abs(r2 - 85.0) ... |
theo-eng-code-L2-code-012231 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 30, 0.09, 0.07, 0.3, 0.3, 0)",
"assert abs(r0[0] - 0.077) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - 0.077) < 1e-6",
"r1 = com_zmp(13, 22, -0.01, 0.01... |
theo-eng-code-L2-code-004143 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r1[0] == 80",
... |
theo-eng-code-L3-code-012936 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 210, 380, 0.5)",
"assert abs(r0[0] - 295.0) < 1e-6",
"assert abs(r0[1] - 0.31) < 1e-6",
"assert abs(r0[2] - 18.3) < 1e-6",
"r1 = runtime(0.5, 140, 130, 0.7)",
"ass... |
theo-eng-code-L2-code-006902 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([34, 17, 47, 46])",
"assert r0[0] == 36",
"assert abs(r0[1] - 13.976) < 1e-6",
"r1 = summarise([43, 52, 76, 90])",
"assert abs(r1[0] - 65.25) < 1e-6",
"assert ab... |
theo-eng-code-L3-code-011876 | 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(7.6, 0.18, 60, 6.0, 1.0)",
"assert abs(r0[0] - 14.99) < 1e-6",
"assert abs(r0[1] - 0.2765) < 1e-6",
"assert abs(r0[2] - 15.26) < 1e-6",
"r1 = joint_torque(6.0, 0.38, 45,... |
theo-eng-code-L2-code-002261 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 140, 350, 140], 10)",
"assert abs(r0 - 2.4167) < 1e-6",
"r1 = rect_energy([410, 80, 120, 120, 410], 10)",
"assert abs(r1 - 3.1667) < 1e-6",
"r2 = rect_energ... |
theo-eng-code-L1-refuse-012461 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-004136 | 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, 290, 520, 0.3)",
"assert abs(r0[0] - 451.0) < 1e-6",
"assert abs(r0[1] - 1.0) < 1e-6",
"assert abs(r0[2] - 59.9) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L3-code-015967 | 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(7, 13, -0.05, 0.07, 0.5, 0.8, 0)",
"assert abs(r0[0] - 0.028) < 1e-6",
"assert abs(r0[1] - 0.695) < 1e-6",
"assert abs(r0[2] - 0.028) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L3-code-012182 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(92, 1040, 120, 0.24, 2.5, 0.012, 1.0, 0.94, 0.85)",
"assert abs(r0[0] - 473.4) < 1e-6",
"assert abs(r0[1] - 16.52) < 1e-6",
"assert abs(r0[2] - 19.82) < 1e-6"
],
"subta... |
theo-eng-code-L1-clarify-002165 | 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-002650 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 10, 3.6, 5)",
"assert r0[0] == 56",
"assert r0[1] == 10",
"assert r0[2] == 560",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 10.08) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-005904 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-005280 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(61, 3, 0.25)",
"assert abs(r0 - 30.61) < 1e-6",
"r1 = rms_torque(76, 22, 0.25)",
"assert abs(r1 - 42.51) < 1e-6",
"r2 = rms_torque(78, 19, 0.5)",
"assert abs(r2 - 56.7... |
theo-eng-code-L2-code-003360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 270, 410, 0.5)",
"assert abs(r0[0] - 340.0) < 1e-6",
"assert abs(r0[1] - 0.53) < 1e-6",
"assert abs(r0[2] - 31.8) < 1e-6",
"r1 = runtime(0.2, 190, 40, 0.3)",
"as... |
theo-eng-code-L1-refuse-006968 | 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-012587 | 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-005148 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(85, 2210, 80, 0.3, 3.1, 0.01, 1.2, 0.94, 0.95)",
"assert abs(r0[0] - 497.9) < 1e-6",
"assert abs(r0[1] - 16.22) < 1e-6",
"assert abs(r0[2] - 12.98) < 1e-6",
"r1 = erange(84,... |
theo-eng-code-L2-code-013966 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 30, 0.06, 0.1, 0.6, 0.7, 0)",
"assert abs(r0[0] - 0.085) < 1e-6",
"assert abs(r0[1] - 0.6625) < 1e-6",
"assert abs(r0[2] - 0.085) < 1e-6",
"r1 = com_zmp(6, 15, 0.08, 0.14... |
theo-eng-code-L1-code-008197 | 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-L2-code-009365 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 30, 0.01, 0.06, 0.7, 0.4, 1)",
"assert abs(r0[0] - 0.0426) < 1e-6",
"assert abs(r0[1] - 0.5043) < 1e-6",
"assert abs(r0[2] - -0.0088) < 1e-6",
"r1 = com_zmp(17, 30, -0.05... |
theo-eng-code-L3-code-004541 | 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(6, 30, 0.08, 0.05, 0.6, 0.4, 1)",
"assert abs(r0[0] - 0.055) < 1e-6",
"assert abs(r0[1] - 0.4333) < 1e-6",
"assert abs(r0[2] - 0.0108) < 1e-6",
"r1 = com_zmp(5, 19, 0.04, -0.03... |
theo-eng-code-L2-code-010456 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 16, -0.05, -0.02, 0.9, 0.7, 2)",
"assert abs(r0[0] - -0.0363) < 1e-6",
"assert abs(r0[1] - 0.8086) < 1e-6",
"assert abs(r0[2] - -0.2011) < 1e-6",
"r1 = com_zmp(5, 26, -0.... |
theo-eng-code-L2-code-003924 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.2, 0.9)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 47.7) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L3-code-013478 | 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, 1120, 100, 0.35, 2.7, 0.013, 1.4, 0.88, 0.85)",
"assert abs(r0[0] - 344.1) < 1e-6",
"assert abs(r0[1] - 20.01) < 1e-6",
"assert abs(r0[2] - 20.01) < 1e-6",
"r1 = erange(51... |
theo-eng-code-L3-code-008625 | 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(400, 60, 3.7, 10)",
"assert r0[0] == 108",
"assert r0[1] == 16",
"assert r0[2] == 1728",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6"
]... |
theo-eng-code-L2-code-002295 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 50, 0.2, 0.8)",
"assert abs(r0[0] - 1.5) < 1e-6",
"assert abs(r0[1] - 90.0) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L1-code-003843 | 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": "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-012545 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(47, 14, 0.25)",
"assert abs(r0 - 26.44) < 1e-6",
"r1 = rms_torque(30, 20, 0.75)",
"assert abs(r1 - 27.84) < 1e-6",
"r2 = rms_torque(36, 25, 0.5)",
"assert abs(r2 - 30.... |
theo-eng-code-L3-code-007112 | 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(17, 28, -0.01, -0.04, 0.6, 0.6, 1)",
"assert abs(r0[0] - -0.0287) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0898) < 1e-6",
"r1 = com_zmp(20, 20, 0.03, 0... |
theo-eng-code-L3-code-011429 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 80, 3.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 64",
"assert r0[2] == 8896",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 80.064) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-015707 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 14000, 120)",
"assert abs(r0[0] - 11.0) < 1e-6",
"assert abs(r0[1] - 1273.2) < 1e-6",
"r1 = gear_ratio(0.39, 6500, 100)",
"assert abs(r1[0] - 9.56) < 1e-6",
"as... |
theo-eng-code-L2-code-015341 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.2, 0.9)",
"assert abs(r0[0] - 4.77) < 1e-6",
"assert abs(r0[1] - 286.4) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-003850 | 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, 150, 0.3)",
"assert abs(r0[0] - 156.0) < 1e-6",
"assert abs(r0[1] - 0.58) < 1e-6",
"assert abs(r0[2] - 34.6) < 1e-6",
"r1 = runtime(0.2, 250, 160, 0.5)",
"ass... |
theo-eng-code-L3-code-006769 | 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.6, 0.29, 90, 3.5, 1.0)",
"assert abs(r0[0] - 16.5) < 1e-6",
"assert abs(r0[1] - 0.4233) < 1e-6",
"assert abs(r0[2] - 16.92) < 1e-6",
"r1 = joint_torque(7.8, 0.44, 45, ... |
theo-eng-code-L2-code-002981 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(23, 1490, 60, 0.28, 2.5, 0.011, 0.8, 0.94, 0.9)",
"assert abs(r0[0] - 215.5) < 1e-6",
"assert abs(r0[1] - 9.6) < 1e-6",
"assert abs(r0[2] - 5.76) < 1e-6",
"r1 = erange(64, 2... |
theo-eng-code-L2-code-011421 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 2.0], [0.0, 2.5])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([3.0, 3.5], [4.5, 4.0])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([2.5, 0.5], [1.5, 4.0]... |
theo-eng-code-L3-code-014531 | 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(14, 29, -0.06, 0.12, 0.3, 0.5, 0)",
"assert abs(r0[0] - 0.0614) < 1e-6",
"assert abs(r0[1] - 0.4349) < 1e-6",
"assert abs(r0[2] - 0.0614) < 1e-6",
"r1 = com_zmp(5, 10, -0.05, 0... |
theo-eng-code-L2-code-007834 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.1, 0.43, 45, 5.5, 1.0)",
"assert abs(r0[0] - 19.54) < 1e-6",
"assert abs(r0[1] - 1.1464) < 1e-6",
"assert abs(r0[2] - 20.68) < 1e-6",
"r1 = joint_torque(3.3, 0.34, 9... |
theo-eng-code-L2-code-003994 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 0.8)",
"assert abs(r0[0] - 4.77) < 1e-6",
"assert abs(r0[1] - 286.4) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-002576 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-005689 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, [0, 25, 50, 75, 100], [0.7, 0.85, 0.9, 0.86, 0.81])",
"assert abs(r0 - 0.76) < 1e-6",
"r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.72, 0.82, 0.85, 0.89, 0.84])",
"ass... |
theo-eng-code-L2-code-004453 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.0, 0.26, 90, 7.0, 4.0)",
"assert abs(r0[0] - 22.96) < 1e-6",
"assert abs(r0[1] - 0.5633) < 1e-6",
"assert abs(r0[2] - 25.21) < 1e-6",
"r1 = joint_torque(5.0, 0.57, 3... |
theo-eng-code-L1-code-004399 | 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": "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-011852 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, [0, 25, 50, 75, 100], [0.7, 0.82, 0.88, 0.9, 0.84])",
"assert abs(r0 - 0.844) < 1e-6",
"r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.77, 0.83, 0.89, 0.9, 0.8])",
"asse... |
theo-eng-code-L2-code-005254 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 8500, 180)",
"assert abs(r0[0] - 4.98) < 1e-6",
"assert abs(r0[1] - 1705.2) < 1e-6",
"r1 = gear_ratio(0.29, 10000, 120)",
"assert abs(r1[0] - 9.11) < 1e-6",
"as... |
theo-eng-code-L2-code-015569 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 13000, 150)",
"assert abs(r0[0] - 12.74) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.28, 9500, 150)",
"assert abs(r1[0] - 6.69) < 1e-6",
"a... |
theo-eng-code-L2-code-009123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 13, -0.01, 0.02, 0.8, 0.6, 2)",
"assert abs(r0[0] - 0.003) < 1e-6",
"assert abs(r0[1] - 0.7133) < 1e-6",
"assert abs(r0[2] - -0.1424) < 1e-6",
"r1 = com_zmp(8, 12, -0.01,... |
theo-eng-code-L3-code-006424 | 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(8, 5, 0.25)",
"assert abs(r0 - 5.89) < 1e-6",
"r1 = rms_torque(63, 4, 0.5)",
"assert abs(r1 - 44.64) < 1e-6",
"r2 = rms_torque(81, 11, 0.75)",
"assert abs(r2 - 70.36) < ... |
theo-eng-code-L2-code-011171 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 4500, 120)",
"assert abs(r0[0] - 5.94) < 1e-6",
"assert abs(r0[1] - 757.9) < 1e-6",
"r1 = gear_ratio(0.34, 6500, 120)",
"assert abs(r1[0] - 6.94) < 1e-6",
"asse... |
theo-eng-code-L2-code-007480 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 22, 0.06, 0.11, 0.6, 0.4, 1)",
"assert abs(r0[0] - 0.0979) < 1e-6",
"assert abs(r0[1] - 0.4483) < 1e-6",
"assert abs(r0[2] - 0.0522) < 1e-6",
"r1 = com_zmp(5, 25, 0.1, -0.... |
theo-eng-code-L1-code-015923 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_dictget",
"user_template": "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-015043 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 26, 0.25)",
"assert abs(r0 - 27.06) < 1e-6",
"r1 = rms_torque(22, 14, 0.75)",
"assert abs(r1 - 20.3) < 1e-6",
"r2 = rms_torque(14, 4, 0.75)",
"assert abs(r2 - 12.2... |
theo-eng-code-L3-code-001160 | 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.28, 9500, 120)",
"assert abs(r0[0] - 8.36) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-003508 | 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(5.2, 0.19, 90, 1.0, 2.0)",
"assert abs(r0[0] - 6.71) < 1e-6",
"assert abs(r0[1] - 0.0987) < 1e-6",
"assert abs(r0[2] - 6.91) < 1e-6",
"r1 = joint_torque(6.1, 0.4, 90, 7.... |
theo-eng-code-L2-code-013338 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 60, \"max_kw\": 150}')",
"assert r1[0] == 60",
... |
theo-eng-code-L2-code-004262 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(51, 6, 0.75)",
"assert abs(r0 - 44.27) < 1e-6",
"r1 = rms_torque(50, 28, 0.5)",
"assert abs(r1 - 40.52) < 1e-6",
"r2 = rms_torque(78, 17, 0.5)",
"assert abs(r2 - 56.45... |
theo-eng-code-L1-code-014827 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_loop_sum",
"user_template": "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-006600 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(7, 5, 0.5)",
"assert abs(r0 - 6.08) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safe... |
theo-eng-code-L3-code-001404 | 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(35, 19, 0.25)",
"assert abs(r0 - 24.02) < 1e-6",
"r1 = rms_torque(62, 19, 0.5)",
"assert abs(r1 - 45.85) < 1e-6",
"r2 = rms_torque(23, 11, 0.75)",
"assert abs(r2 - 20.66... |
theo-eng-code-L2-code-013072 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 10000, 180)",
"assert abs(r0[0] - 7.54) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.31, 8000, 180)",
"assert abs(r1[0] - 5.19) < 1e-6",
"as... |
theo-eng-code-L2-code-005984 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(67, 17, 0.25)",
"assert abs(r0 - 36.59) < 1e-6",
"r1 = rms_torque(28, 18, 0.75)",
"assert abs(r1 - 25.87) < 1e-6",
"r2 = rms_torque(51, 8, 0.5)",
"assert abs(r2 - 36.5... |
theo-eng-code-L2-code-004900 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')",
"assert r0[0] == 60",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r1[0] == 40",
"... |
theo-eng-code-L3-code-003389 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(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",
"r1 ... |
theo-eng-code-L2-code-002694 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.5], [5.0, 2.0])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([4.5, 1.0], [2.0, 4.0])",
"assert abs(r1 - 3.9051) < 1e-6",
"r2 = seg_len([4.0, 3.0], [2.0, 0.0]... |
theo-eng-code-L2-code-001287 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 150}')",
"assert r0[0] == 40",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')",
"assert r1[0] == 60",
"... |
theo-eng-code-L2-code-011689 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 27, 0.01, 0.13, 0.3, 0.9, 0)",
"assert abs(r0[0] - 0.0804) < 1e-6",
"assert abs(r0[1] - 0.6522) < 1e-6",
"assert abs(r0[2] - 0.0804) < 1e-6",
"r1 = com_zmp(5, 18, 0.0, 0.... |
theo-eng-code-L2-code-003649 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.6, 0.36, 90, 6.0, 2.0)",
"assert abs(r0[0] - 27.55) < 1e-6",
"assert abs(r0[1] - 0.9331) < 1e-6",
"assert abs(r0[2] - 29.41) < 1e-6",
"r1 = joint_torque(1.0, 0.32, 3... |
theo-eng-code-L1-code-006671 | 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": "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-001294 | 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.34, 6500, 150)",
"assert abs(r0[0] - 5.55) < 1e-6",
"assert abs(r0[1] - 1170.3) < 1e-6",
"r1 = gear_ratio(0.29, 6500, 120)",
"assert abs(r1[0] - 5.92) < 1e-6",
"asser... |
theo-eng-code-L3-code-013419 | 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(4.5, 0.28, 30, 8.0, 4.0)",
"assert abs(r0[0] - 14.08) < 1e-6",
"assert abs(r0[1] - 0.7448) < 1e-6",
"assert abs(r0[2] - 17.06) < 1e-6",
"r1 = joint_torque(6.7, 0.46, 60,... |
theo-eng-code-L2-code-002884 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(72, 6, 0.5)",
"assert abs(r0 - 51.09) < 1e-6",
"r1 = rms_torque(74, 7, 0.75)",
"assert abs(r1 - 64.18) < 1e-6",
"r2 = rms_torque(49, 4, 0.5)",
"assert abs(r2 - 34.76) ... |
theo-eng-code-L1-code-004369 | 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-L3-code-015681 | 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, 150, 0.1, 0.8)",
"assert abs(r0[0] - 0.29) < 1e-6",
"assert abs(r0[1] - 17.5) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-000955 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 50, 0.2, 0.8)",
"assert abs(r0[0] - 0.6) < 1e-6",
"assert abs(r0[1] - 36.0) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L3-code-003223 | 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(300, 10, 3.2, 2.5)",
"assert r0[0] == 94",
"assert r0[1] == 14",
"assert r0[2] == 1316",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 10.528) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-006675 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, [0, 25, 50, 75, 100], [0.78, 0.85, 0.86, 0.89, 0.84])",
"assert abs(r0 - 0.856) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.78, 0.81, 0.9, 0.87, 0.85])",
"a... |
theo-eng-code-L2-code-002931 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([66, 82, 72, 86])",
"assert abs(r0[0] - 76.5) < 1e-6",
"assert abs(r0[1] - 9.147) < 1e-6",
"r1 = summarise([75, 25, 87, 59, 13, 82])",
"assert abs(r1[0] - 56.833) < ... |
theo-eng-code-L3-code-012304 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 5",
"assert r0[2] == 675",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 24.975) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-007147 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([93, 86, 85, 41])",
"assert abs(r0[0] - 76.25) < 1e-6",
"assert abs(r0[1] - 23.768) < 1e-6",
"r1 = summarise([36, 61, 75, 87, 23])",
"assert abs(r1[0] - 56.4) < 1e-6... |
theo-eng-code-L2-code-011383 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 290, 460, 0.5)",
"assert abs(r0[0] - 375.0) < 1e-6",
"assert abs(r0[1] - 0.48) < 1e-6",
"assert abs(r0[2] - 28.8) < 1e-6",
"r1 = runtime(0.5, 160, 440, 0.5)",
"a... |
theo-eng-code-L2-code-005610 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.2, 150, 600, 0.3)",
"assert abs(r0[0] - 465.0) < 1e-6",
"assert abs(r0[1] - 0.39) < 1e-6",
"assert abs(r0[2] - 23.2) < 1e-6",
"r1 = runtime(0.1, 230, 50, 0.5)",
"as... |
theo-eng-code-L2-code-002549 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 7, 0.1, 0.9)",
"assert abs(r0[0] - 14.29) < 1e-6",
"assert abs(r0[1] - 857.1) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_ti... |
theo-eng-code-L1-refuse-000682 | 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-006635 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-010281 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, [0, 25, 50, 75, 100], [0.74, 0.82, 0.9, 0.86, 0.85])",
"assert abs(r0 - 0.852) < 1e-6",
"r1 = interp_eff(75, [0, 25, 50, 75, 100], [0.7, 0.84, 0.87, 0.87, 0.8])",
"ass... |
theo-eng-code-L3-code-001450 | 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(800, 60, 3.7, 2.5)",
"assert r0[0] == 216",
"assert r0[1] == 31",
"assert r0[2] == 6696",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 61.938) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-015033 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 230, 100, 0.7)",
"assert abs(r0[0] - 191.0) < 1e-6",
"assert abs(r0[1] - 0.94) < 1e-6",
"assert abs(r0[2] - 56.5) < 1e-6"
],
"subtask": "writetests",
"verifie... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.