id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L1-refuse-007069 | 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_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-000077 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.1, 0.18, 90, 5.5, 2.5)",
"assert abs(r0[0] - 11.57) < 1e-6",
"assert abs(r0[1] - 0.2009) < 1e-6",
"assert abs(r0[2] - 12.07) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L3-code-015212 | 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(400, 20, 3.7, 2.5)",
"assert r0[0] == 108",
"assert r0[1] == 21",
"assert r0[2] == 2268",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 20.979) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-013008 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(21, 13, 0.5)",
"assert abs(r0 - 17.46) < 1e-6",
"r1 = rms_torque(11, 11, 0.5)",
"assert abs(r1 - 11.0) < 1e-6",
"r2 = rms_torque(46, 36, 0.25)",
"assert abs(r2 - 38.74... |
theo-eng-code-L2-code-000417 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(84, 3, 0.5)",
"assert abs(r0 - 59.43) < 1e-6",
"r1 = rms_torque(37, 36, 0.5)",
"assert abs(r1 - 36.5) < 1e-6",
"r2 = rms_torque(72, 15, 0.75)",
"assert abs(r2 - 62.8) ... |
theo-eng-code-L1-code-004811 | 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-L3-code-012838 | 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(18, 20, 0.04, 0.06, 0.7, 0.7, 2)",
"assert abs(r0[0] - 0.0505) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - -0.0922) < 1e-6",
"r1 = com_zmp(10, 17, 0.01, 0.14... |
theo-eng-code-L2-code-004824 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(87, 7, 0.75)",
"assert abs(r0 - 75.43) < 1e-6",
"r1 = rms_torque(75, 31, 0.75)",
"assert abs(r1 - 66.78) < 1e-6",
"r2 = rms_torque(7, 6, 0.25)",
"assert abs(r2 - 6.26)... |
theo-eng-code-L2-code-010904 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-003277 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.2, 5)",
"assert r0[0] == 62",
"assert r0[1] == 21",
"assert r0[2] == 1302",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 20.832) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-011265 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(48, 35, 0.25)",
"assert abs(r0 - 38.66) < 1e-6",
"r1 = rms_torque(42, 21, 0.5)",
"assert abs(r1 - 33.2) < 1e-6",
"r2 = rms_torque(28, 13, 0.25)",
"assert abs(r2 - 17.9... |
theo-eng-code-L2-code-005822 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 1790, 80, 0.31, 3.0, 0.007, 1.4, 0.88, 0.95)",
"assert abs(r0[0] - 144.0) < 1e-6",
"assert abs(r0[1] - 14.51) < 1e-6",
"assert abs(r0[2] - 11.61) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L3-code-013246 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(68, 1570, 60, 0.29, 1.9, 0.011, 1.0, 0.94, 0.9)",
"assert abs(r0[0] - 648.1) < 1e-6",
"assert abs(r0[1] - 9.44) < 1e-6",
"assert abs(r0[2] - 5.67) < 1e-6",
"r1 = erange(35, 23... |
theo-eng-code-L2-code-012806 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.0], [5.0, 5.0])",
"assert abs(r0 - 3.3541) < 1e-6",
"r1 = seg_len([5.0, 0.0], [0.0, 3.0])",
"assert abs(r1 - 5.831) < 1e-6",
"r2 = seg_len([2.5, 1.5], [1.5, 1.0])... |
theo-eng-code-L3-code-003723 | 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(58, 38, 0.75)",
"assert abs(r0 - 53.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L1-refuse-014659 | 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_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-006904 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 120, 420], 1)",
"assert abs(r0 - 0.1639) < 1e-6",
"r1 = rect_energy([70, 410, 50, 180, 240], 10)",
"assert abs(r1 - 2.6389) < 1e-6",
"r2 = rect_energy([60, 2... |
theo-eng-code-L2-code-014219 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(82, 29, 0.5)",
"assert abs(r0 - 61.5) < 1e-6",
"r1 = rms_torque(55, 19, 0.25)",
"assert abs(r1 - 32.05) < 1e-6",
"r2 = rms_torque(86, 36, 0.75)",
"assert abs(r2 - 76.6... |
theo-eng-code-L2-code-002722 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 0.5], [5.0, 1.0])",
"assert abs(r0 - 4.5277) < 1e-6",
"r1 = seg_len([0.0, 1.5], [2.0, 0.5])",
"assert abs(r1 - 2.2361) < 1e-6",
"r2 = seg_len([0.5, 1.5], [4.0, 3.5]... |
theo-eng-code-L2-code-010980 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([85, 59, 34, 84])",
"assert abs(r0[0] - 65.5) < 1e-6",
"assert abs(r0[1] - 24.201) < 1e-6",
"r1 = summarise([58, 38, 24, 72])",
"assert r1[0] == 48",
"assert abs... |
theo-eng-code-L2-code-007752 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r1[0] == 40",
"... |
theo-eng-code-L3-code-000497 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 120, 250, 0.7)",
"assert abs(r0[0] - 159.0) < 1e-6",
"assert abs(r0[1] - 5.66) < 1e-6",
"assert abs(r0[2] - 339.6) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-008954 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 7000, 150)",
"assert abs(r0[0] - 4.57) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6",
"r1 = gear_ratio(0.36, 5000, 100)",
"assert abs(r1[0] - 6.79) < 1e-6",
"ass... |
theo-eng-code-L3-code-005038 | 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(6.3, 0.52, 90, 4.0, 0.0)",
"assert abs(r0[0] - 36.47) < 1e-6",
"assert abs(r0[1] - 1.6494) < 1e-6",
"assert abs(r0[2] - 36.47) < 1e-6",
"r1 = joint_torque(7.6, 0.49, 60,... |
theo-eng-code-L1-clarify-003705 | 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-L2-code-012940 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(69, 18, 0.25)",
"assert abs(r0 - 37.86) < 1e-6",
"r1 = rms_torque(64, 27, 0.5)",
"assert abs(r1 - 49.12) < 1e-6",
"r2 = rms_torque(41, 10, 0.75)",
"assert abs(r2 - 35.... |
theo-eng-code-L3-code-007893 | 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(12, 20, 0.04, 0.04, 0.7, 0.8, 2)",
"assert abs(r0[0] - 0.04) < 1e-6",
"assert abs(r0[1] - 0.7625) < 1e-6",
"assert abs(r0[2] - -0.1155) < 1e-6",
"r1 = com_zmp(11, 17, -0.01, -0... |
theo-eng-code-L2-code-012706 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 10, -0.09, -0.03, 0.9, 0.6, 2)",
"assert abs(r0[0] - -0.066) < 1e-6",
"assert abs(r0[1] - 0.78) < 1e-6",
"assert abs(r0[2] - -0.225) < 1e-6",
"r1 = com_zmp(13, 14, 0.0, 0... |
theo-eng-code-L2-code-013186 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 10, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 6",
"assert r0[2] == 372",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 11.904) < 1e-6",
"r1 = ... |
theo-eng-code-L1-clarify-011780 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-code-000271 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-014751 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 130, 530, 0.3)",
"assert abs(r0[0] - 410.0) < 1e-6",
"assert abs(r0[1] - 0.44) < 1e-6",
"assert abs(r0[2] - 26.3) < 1e-6",
"r1 = runtime(0.1, 130, 440, 0.5)",
"a... |
theo-eng-code-L2-code-010070 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([85, 67, 20, 67, 13, 91])",
"assert abs(r0[0] - 57.167) < 1e-6",
"assert abs(r0[1] - 32.999) < 1e-6",
"r1 = summarise([11, 82, 99, 20, 73])",
"assert r1[0] == 57",
... |
theo-eng-code-L2-code-004078 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 25, 0.0, 0.1, 0.4, 0.4, 0.5)",
"assert abs(r0[0] - 0.0658) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - 0.0454) < 1e-6",
"r1 = com_zmp(6, 16, -0.06, -0.... |
theo-eng-code-L2-code-000896 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 29, -0.08, 0.03, 0.9, 0.5, 0.5)",
"assert abs(r0[0] - 0.0062) < 1e-6",
"assert abs(r0[1] - 0.5865) < 1e-6",
"assert abs(r0[2] - -0.0237) < 1e-6",
"r1 = com_zmp(7, 24, -0.0... |
theo-eng-code-L2-code-001547 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, 31, 0.25)",
"assert abs(r0 - 38.43) < 1e-6",
"r1 = rms_torque(49, 37, 0.25)",
"assert abs(r1 - 40.34) < 1e-6",
"r2 = rms_torque(67, 11, 0.75)",
"assert abs(r2 - 58... |
theo-eng-code-L2-code-000370 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.0, 0.0], [5.0, 4.0])",
"assert abs(r0 - 4.1231) < 1e-6",
"r1 = seg_len([1.5, 5.0], [0.0, 3.0])",
"assert abs(r1 - 2.5) < 1e-6",
"r2 = seg_len([3.0, 0.0], [4.0, 4.0])",... |
theo-eng-code-L2-code-009629 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-015328 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.44, 10500, 180)",
"assert abs(r0[0] - 9.68) < 1e-6",
"assert abs(r0[1] - 1085.1) < 1e-6",
"r1 = gear_ratio(0.36, 5000, 120)",
"assert abs(r1[0] - 5.65) < 1e-6",
"as... |
theo-eng-code-L3-code-003926 | 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(80, 150, 0.1, 0.8)",
"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-005199 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 230, 70, 0.5)",
"assert abs(r0[0] - 150.0) < 1e-6",
"assert abs(r0[1] - 6.0) < 1e-6",
"assert abs(r0[2] - 360.0) < 1e-6",
"r1 = runtime(0.2, 200, 260, 0.5)",
"as... |
theo-eng-code-L2-code-005379 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(82, 31, 0.25)",
"assert abs(r0 - 49.01) < 1e-6",
"r1 = rms_torque(56, 22, 0.25)",
"assert abs(r1 - 33.87) < 1e-6",
"r2 = rms_torque(5, 4, 0.25)",
"assert abs(r2 - 4.27... |
theo-eng-code-L2-code-013091 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(53, 35, 0.5)",
"assert abs(r0 - 44.91) < 1e-6",
"r1 = rms_torque(94, 40, 0.25)",
"assert abs(r1 - 58.39) < 1e-6",
"r2 = rms_torque(24, 2, 0.75)",
"assert abs(r2 - 20.8... |
theo-eng-code-L2-code-007255 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 4000, 120)",
"assert abs(r0[0] - 5.53) < 1e-6",
"assert abs(r0[1] - 723.4) < 1e-6",
"r1 = gear_ratio(0.34, 4000, 150)",
"assert abs(r1[0] - 3.42) < 1e-6",
"asse... |
theo-eng-code-L3-code-007919 | 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(20, 50, 0.1, 1.0)",
"assert abs(r0[0] - 0.45) < 1e-6",
"assert abs(r0[1] - 27.0) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(... |
theo-eng-code-L2-code-004500 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(68, 29, 0.75)",
"assert abs(r0 - 60.65) < 1e-6",
"r1 = rms_torque(17, 12, 0.75)",
"assert abs(r1 - 15.9) < 1e-6",
"r2 = rms_torque(99, 22, 0.5)",
"assert abs(r2 - 71.7... |
theo-eng-code-L2-code-001247 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 13, 0.09, 0.03, 0.9, 0.3, 2)",
"assert abs(r0[0] - 0.0575) < 1e-6",
"assert abs(r0[1] - 0.575) < 1e-6",
"assert abs(r0[2] - -0.0597) < 1e-6",
"r1 = com_zmp(15, 25, 0.02, ... |
theo-eng-code-L3-code-007850 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.2, 50)",
"assert r0[0] == 94",
"assert r0[1] == 6",
"assert r0[2] == 564",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 90.24) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-015021 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 2, 0.5)",
"assert abs(r0 - 40.33) < 1e-6",
"r1 = rms_torque(54, 36, 0.75)",
"assert abs(r1 - 50.11) < 1e-6",
"r2 = rms_torque(85, 20, 0.25)",
"assert abs(r2 - 45.8... |
theo-eng-code-L1-clarify-010871 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-010600 | 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(2.8, 0.57, 45, 5.0, 1.0)",
"assert abs(r0[0] - 25.31) < 1e-6",
"assert abs(r0[1] - 1.9277) < 1e-6",
"assert abs(r0[2] - 27.23) < 1e-6",
"r1 = joint_torque(4.7, 0.4, 60, ... |
theo-eng-code-L3-code-005629 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 260, 550, 0.7)",
"assert abs(r0[0] - 347.0) < 1e-6",
"assert abs(r0[1] - 0.52) < 1e-6",
"assert abs(r0[2] - 31.1) < 1e-6",
"r1 = runtime(1.0, 90, 70, 0.3)",
"asser... |
theo-eng-code-L3-code-000332 | 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(300, 10, 3.6, 100)",
"assert r0[0] == 83",
"assert r0[1] == 1",
"assert r0[2] == 83",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 29.88) < 1e-6"
],
... |
theo-eng-code-L2-code-002855 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 110, 390, 0.5)",
"assert abs(r0[0] - 250.0) < 1e-6",
"assert abs(r0[1] - 3.6) < 1e-6",
"assert abs(r0[2] - 216.0) < 1e-6",
"r1 = runtime(1.0, 190, 420, 0.3)",
"a... |
theo-eng-code-L3-code-012623 | 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(60, 22, 0.1, 0.8)",
"assert abs(r0[0] - 2.39) < 1e-6",
"assert abs(r0[1] - 143.2) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask... |
theo-eng-code-L3-code-006622 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 14500, 100)",
"assert abs(r0[0] - 18.04) < 1e-6",
"assert abs(r0[1] - 803.8) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-003710 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 2210, 120, 0.27, 2.4, 0.009, 0.6, 0.88, 0.85)",
"assert abs(r0[0] - 334.6) < 1e-6",
"assert abs(r0[1] - 20.58) < 1e-6",
"assert abs(r0[2] - 24.7) < 1e-6",
"r1 = erange(9... |
theo-eng-code-L1-code-015166 | 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": "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-005577 | 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, 110, 430, 0.5)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 0.33) < 1e-6",
"assert abs(r0[2] - 20.0) < 1e-6",
"r1 = runtime(1.0, 220, 230, 0.3)",
"ass... |
theo-eng-code-L2-code-009944 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 21, 0.08, 0.03, 0.6, 0.6, 0)",
"assert abs(r0[0] - 0.0482) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 0.0482) < 1e-6",
"r1 = com_zmp(14, 28, -0.07, -0... |
theo-eng-code-L3-code-005133 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 10, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 11",
"assert r0[2] == 594",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 10.989) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-011840 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 9500, 150)",
"assert abs(r0[0] - 5.97) < 1e-6",
"assert abs(r0[1] - 1591.5) < 1e-6",
"r1 = gear_ratio(0.28, 8000, 150)",
"assert abs(r1[0] - 5.63) < 1e-6",
"ass... |
theo-eng-code-L2-code-011482 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 20, -0.03, 0.07, 0.9, 0.7, 2)",
"assert abs(r0[0] - 0.0469) < 1e-6",
"assert abs(r0[1] - 0.7462) < 1e-6",
"assert abs(r0[2] - -0.1052) < 1e-6",
"r1 = com_zmp(13, 18, 0.09,... |
theo-eng-code-L2-code-009527 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(74, 1010, 120, 0.35, 2.5, 0.007, 1.1, 0.92, 0.9)",
"assert abs(r0[0] - 317.3) < 1e-6",
"assert abs(r0[1] - 20.99) < 1e-6",
"assert abs(r0[2] - 25.19) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L3-code-006036 | 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(100, 150, 0.1, 0.8)",
"assert abs(r0[0] - 0.58) < 1e-6",
"assert abs(r0[1] - 35.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_ti... |
theo-eng-code-L2-code-009205 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 14000, 100)",
"assert abs(r0[0] - 19.0) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.37, 14000, 100)",
"assert abs(r1[0] - 19.53) < 1e-6",
"a... |
theo-eng-code-L3-code-015162 | 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(69, 1620, 100, 0.37, 2.9, 0.012, 1.4, 0.9, 0.85)",
"assert abs(r0[0] - 255.7) < 1e-6",
"assert abs(r0[1] - 22.94) < 1e-6",
"assert abs(r0[2] - 22.94) < 1e-6",
"r1 = erange(42,... |
theo-eng-code-L2-code-014147 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.5, 0.0], [2.0, 2.5])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([5.0, 1.5], [4.5, 2.5])",
"assert abs(r1 - 1.118) < 1e-6",
"r2 = seg_len([1.0, 1.0], [4.0, 0.5])... |
theo-eng-code-L2-code-012606 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(42, 1800, 120, 0.32, 2.7, 0.01, 0.4, 0.94, 0.95)",
"assert abs(r0[0] - 174.0) < 1e-6",
"assert abs(r0[1] - 22.93) < 1e-6",
"assert abs(r0[2] - 27.51) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L3-code-015288 | 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(48, 1340, 120, 0.31, 2.6, 0.011, 0.4, 0.94, 0.95)",
"assert abs(r0[0] - 219.1) < 1e-6",
"assert abs(r0[1] - 20.82) < 1e-6",
"assert abs(r0[2] - 24.98) < 1e-6",
"r1 = erange(96... |
theo-eng-code-L2-code-005511 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([380, 250, 180], 10)",
"assert abs(r0 - 2.25) < 1e-6",
"r1 = rect_energy([250, 350, 370, 440, 270], 1)",
"assert abs(r1 - 0.4667) < 1e-6",
"r2 = rect_energy([90, ... |
theo-eng-code-L2-code-003013 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 16, 0.75)",
"assert abs(r0 - 27.18) < 1e-6",
"r1 = rms_torque(18, 4, 0.5)",
"assert abs(r1 - 13.04) < 1e-6",
"r2 = rms_torque(29, 10, 0.25)",
"assert abs(r2 - 16.8... |
theo-eng-code-L3-code-010505 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 26, 0.04, 0.05, 0.9, 0.6, 0.5)",
"assert abs(r0[0] - 0.047) < 1e-6",
"assert abs(r0[1] - 0.6892) < 1e-6",
"assert abs(r0[2] - 0.0119) < 1e-6",
"r1 = com_zmp(12, 15, 0.03, 0... |
theo-eng-code-L3-code-007256 | 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(800, 60, 3.6, 10)",
"assert r0[0] == 222",
"assert r0[1] == 8",
"assert r0[2] == 1776",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-014641 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 20, 3.6, 100)",
"assert r0[0] == 111",
"assert r0[1] == 1",
"assert r0[2] == 111",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-005283 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 0.8)",
"assert abs(r0[0] - 1.36) < 1e-6",
"assert abs(r0[1] - 81.8) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L3-code-003584 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 17, -0.08, 0.14, 0.3, 0.5, 2)",
"assert abs(r0[0] - 0.0536) < 1e-6",
"assert abs(r0[1] - 0.4214) < 1e-6",
"assert abs(r0[2] - -0.0323) < 1e-6",
"r1 = com_zmp(18, 18, 0.03, ... |
theo-eng-code-L2-code-001066 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, [0, 25, 50, 75, 100], [0.75, 0.82, 0.87, 0.86, 0.81])",
"assert abs(r0 - 0.82) < 1e-6",
"r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.74, 0.85, 0.86, 0.85, 0.8])",
"as... |
theo-eng-code-L3-code-007017 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.2, 2.5)",
"assert r0[0] == 62",
"assert r0[1] == 81",
"assert r0[2] == 5022",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 40.176) < 1e-6"
]... |
theo-eng-code-L3-code-010283 | 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.36, 8000, 120)",
"assert abs(r0[0] - 9.05) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L1-clarify-000883 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-008269 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([54, 79, 62, 96, 38])",
"assert abs(r0[0] - 65.8) < 1e-6",
"assert abs(r0[1] - 22.432) < 1e-6",
"r1 = summarise([65, 29, 43, 26, 18, 53])",
"assert r1[0] == 39",
... |
theo-eng-code-L1-refuse-013921 | 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-004896 | 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(300, 20, 3.6, 100)",
"assert r0[0] == 83",
"assert r0[1] == 1",
"assert r0[2] == 83",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 29.88) < 1e-6"
],
... |
theo-eng-code-L2-code-008999 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(71, 12, 0.25)",
"assert abs(r0 - 36.99) < 1e-6",
"r1 = rms_torque(89, 33, 0.5)",
"assert abs(r1 - 67.12) < 1e-6",
"r2 = rms_torque(15, 11, 0.75)",
"assert abs(r2 - 14.... |
theo-eng-code-L2-code-015839 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(37, 27, 0.5)",
"assert abs(r0 - 32.39) < 1e-6",
"r1 = rms_torque(20, 14, 0.75)",
"assert abs(r1 - 18.68) < 1e-6",
"r2 = rms_torque(93, 6, 0.25)",
"assert abs(r2 - 46.7... |
theo-eng-code-L3-code-004080 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.0, 0.53, 60, 8.0, 1.0)",
"assert abs(r0[0] - 47.28) < 1e-6",
"assert abs(r0[1] - 2.7154) < 1e-6",
"assert abs(r0[2] - 49.99) < 1e-6",
"r1 = joint_torque(3.5, 0.52, 90,... |
theo-eng-code-L3-code-014178 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.7, 50)",
"assert r0[0] == 81",
"assert r0[1] == 6",
"assert r0[2] == 486",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 89.91) < 1e-6",
"r1 = pac... |
theo-eng-code-L3-code-007460 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(21, 1200, 60, 0.3, 2.3, 0.013, 0.6, 0.92, 0.85)",
"assert abs(r0[0] - 194.8) < 1e-6",
"assert abs(r0[1] - 9.17) < 1e-6",
"assert abs(r0[2] - 5.5) < 1e-6",
"r1 = erange(32, 160... |
theo-eng-code-L1-refuse-000512 | 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-L3-code-001098 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 26, -0.1, -0.03, 0.8, 0.7, 1)",
"assert abs(r0[0] - -0.0545) < 1e-6",
"assert abs(r0[1] - 0.735) < 1e-6",
"assert abs(r0[2] - -0.1294) < 1e-6",
"r1 = com_zmp(10, 28, -0.01,... |
theo-eng-code-L2-code-013386 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.75) < 1e-6",
"assert abs(r0[1] - 45.0) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_... |
theo-eng-code-L2-code-012547 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 4.0], [4.0, 2.0])",
"assert abs(r0 - 3.6056) < 1e-6",
"r1 = seg_len([1.0, 1.5], [0.0, 0.0])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([0.0, 0.0], [0.0, 4.5]... |
theo-eng-code-L3-code-007782 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 7000, 180)",
"assert abs(r0[0] - 4.11) < 1e-6",
"assert abs(r0[1] - 1705.2) < 1e-6",
"r1 = gear_ratio(0.38, 13500, 100)",
"assert abs(r1[0] - 19.34) < 1e-6",
"ass... |
theo-eng-code-L2-code-011457 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 18, -0.03, -0.05, 0.7, 0.3, 0.5)",
"assert abs(r0[0] - -0.04) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.0655) < 1e-6",
"r1 = com_zmp(20, 12, 0.04,... |
theo-eng-code-L2-code-012523 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-012269 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, [0, 25, 50, 75, 100], [0.72, 0.83, 0.86, 0.88, 0.84])",
"assert abs(r0 - 0.836) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.79, 0.82, 0.88, 0.85, 0.82])",
"... |
theo-eng-code-L3-code-015994 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.2, 100)",
"assert r0[0] == 125",
"assert r0[1] == 1",
"assert r0[2] == 125",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-009197 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([210, 370, 470, 170, 280], 1)",
"assert abs(r0 - 0.4167) < 1e-6",
"r1 = rect_energy([50, 400, 210, 370, 200], 2)",
"assert abs(r1 - 0.6833) < 1e-6",
"r2 = rect_en... |
theo-eng-code-L2-code-009846 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.1, 1.0)",
"assert abs(r0[0] - 6.43) < 1e-6",
"assert abs(r0[1] - 385.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.