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-003913 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.7, 50)",
"assert r0[0] == 216",
"assert r0[1] == 2",
"assert r0[2] == 432",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-014151 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(81, 11, 0.5)",
"assert abs(r0 - 57.8) < 1e-6",
"r1 = rms_torque(70, 27, 0.25)",
"assert abs(r1 - 42.09) < 1e-6",
"r2 = rms_torque(7, 5, 0.75)",
"assert abs(r2 - 6.56) < ... |
theo-eng-code-L2-code-002556 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(89, 39, 0.75)",
"assert abs(r0 - 79.5) < 1e-6",
"r1 = rms_torque(66, 25, 0.5)",
"assert abs(r1 - 49.9) < 1e-6",
"r2 = rms_torque(73, 19, 0.25)",
"assert abs(r2 - 40.04... |
theo-eng-code-L2-code-012799 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 4500, 180)",
"assert abs(r0[0] - 3.96) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.34, 4500, 150)",
"assert abs(r1[0] - 3.85) < 1e-6",
"ass... |
theo-eng-code-L3-code-013200 | 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, 230, 400, 0.7)",
"assert abs(r0[0] - 281.0) < 1e-6",
"assert abs(r0[1] - 0.32) < 1e-6",
"assert abs(r0[2] - 19.2) < 1e-6",
"r1 = runtime(1.0, 280, 120, 0.3)",
"ass... |
theo-eng-code-L3-code-002329 | 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.25, 12500, 120)",
"assert abs(r0[0] - 9.82) < 1e-6",
"assert abs(r0[1] - 1273.2) < 1e-6",
"r1 = gear_ratio(0.41, 7000, 150)",
"assert abs(r1[0] - 7.21) < 1e-6",
"asse... |
theo-eng-code-L2-code-008707 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 3.5], [2.0, 4.0])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([4.0, 0.0], [1.0, 5.0])",
"assert abs(r1 - 5.831) < 1e-6",
"r2 = seg_len([4.0, 5.0], [5.0, 0.5])... |
theo-eng-code-L2-code-002766 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 6, 0.5)",
"assert abs(r0 - 7.65) < 1e-6",
"r1 = rms_torque(79, 3, 0.5)",
"assert abs(r1 - 55.9) < 1e-6",
"r2 = rms_torque(56, 9, 0.5)",
"assert abs(r2 - 40.11) < 1e... |
theo-eng-code-L2-code-001652 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.2, 0.11, 90, 3.0, 3.5)",
"assert abs(r0[0] - 6.58) < 1e-6",
"assert abs(r0[1] - 0.0613) < 1e-6",
"assert abs(r0[2] - 6.8) < 1e-6",
"r1 = joint_torque(5.4, 0.49, 60, ... |
theo-eng-code-L3-code-015314 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 12000, 150)",
"assert abs(r0[0] - 13.57) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-002954 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 10, 3.7, 2.5)",
"assert r0[0] == 81",
"assert r0[1] == 14",
"assert r0[2] == 1134",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 10.489) < 1e-6",
"r1... |
theo-eng-code-L1-code-000633 | 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": "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-015768 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([52, 92, 66, 12, 12])",
"assert abs(r0[0] - 46.8) < 1e-6",
"assert abs(r0[1] - 34.86) < 1e-6",
"r1 = summarise([45, 45, 37, 80])",
"assert abs(r1[0] - 51.75) < 1e-6"... |
theo-eng-code-L3-code-004914 | 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(100, 2660, 60, 0.28, 3.0, 0.009, 0.5, 0.92, 0.85)",
"assert abs(r0[0] - 694.5) < 1e-6",
"assert abs(r0[1] - 12.24) < 1e-6",
"assert abs(r0[2] - 7.34) < 1e-6",
"r1 = erange(74,... |
theo-eng-code-L2-code-001134 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(67, 9, 0.75)",
"assert abs(r0 - 58.2) < 1e-6",
"r1 = rms_torque(60, 26, 0.5)",
"assert abs(r1 - 46.24) < 1e-6",
"r2 = rms_torque(74, 10, 0.5)",
"assert abs(r2 - 52.8) ... |
theo-eng-code-L2-code-010765 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.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-L2-code-012440 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r0[0] == 80",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')",
"assert r1[0] == 20",
... |
theo-eng-code-L2-code-012784 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 220, 520, 0.7)",
"assert abs(r0[0] - 310.0) < 1e-6",
"assert abs(r0[1] - 0.58) < 1e-6",
"assert abs(r0[2] - 34.8) < 1e-6",
"r1 = runtime(0.1, 30, 500, 0.5)",
"as... |
theo-eng-code-L2-code-005509 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-003842 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.1, 0.44, 60, 2.5, 1.0)",
"assert abs(r0[0] - 18.88) < 1e-6",
"assert abs(r0[1] - 0.8131) < 1e-6",
"assert abs(r0[2] - 19.69) < 1e-6",
"r1 = joint_torque(5.7, 0.17, 4... |
theo-eng-code-L2-code-007257 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-012308 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 21, 0.01, -0.04, 0.8, 0.9, 0)",
"assert abs(r0[0] - -0.0239) < 1e-6",
"assert abs(r0[1] - 0.8677) < 1e-6",
"assert abs(r0[2] - -0.0239) < 1e-6",
"r1 = com_zmp(20, 23, -0.... |
theo-eng-code-L2-code-008306 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 9, 0.5)",
"assert abs(r0 - 26.93) < 1e-6",
"r1 = rms_torque(71, 9, 0.75)",
"assert abs(r1 - 61.65) < 1e-6",
"r2 = rms_torque(95, 35, 0.5)",
"assert abs(r2 - 71.59)... |
theo-eng-code-L1-refuse-013357 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-012778 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-015705 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(56, 2610, 100, 0.31, 2.8, 0.007, 0.3, 0.92, 0.85)",
"assert abs(r0[0] - 263.0) < 1e-6",
"assert abs(r0[1] - 18.1) < 1e-6",
"assert abs(r0[2] - 18.1) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-003024 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(94, 2130, 120, 0.28, 2.6, 0.007, 1.4, 0.88, 0.85)",
"assert abs(r0[0] - 373.0) < 1e-6",
"assert abs(r0[1] - 21.42) < 1e-6",
"assert abs(r0[2] - 25.71) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-013747 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([58, 73, 36, 63])",
"assert abs(r0[0] - 57.5) < 1e-6",
"assert abs(r0[1] - 15.631) < 1e-6",
"r1 = summarise([97, 54, 12, 63])",
"assert abs(r1[0] - 56.5) < 1e-6",
... |
theo-eng-code-L2-code-006436 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([78, 54, 30, 23])",
"assert abs(r0[0] - 46.25) < 1e-6",
"assert abs(r0[1] - 24.985) < 1e-6",
"r1 = summarise([21, 95, 79, 64, 68])",
"assert abs(r1[0] - 65.4) < 1e-6... |
theo-eng-code-L2-code-002876 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 22, 0.02, 0.07, 0.6, 0.8, 1)",
"assert abs(r0[0] - 0.0524) < 1e-6",
"assert abs(r0[1] - 0.7294) < 1e-6",
"assert abs(r0[2] - -0.022) < 1e-6",
"r1 = com_zmp(13, 24, 0.01, ... |
theo-eng-code-L3-code-006132 | 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(1.0, 130, 30, 0.3)",
"assert abs(r0[0] - 60.0) < 1e-6",
"assert abs(r0[1] - 15.0) < 1e-6",
"assert abs(r0[2] - 900.0) < 1e-6",
"r1 = runtime(0.1, 280, 570, 0.5)",
"asse... |
theo-eng-code-L3-code-005821 | 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(3.4, 0.44, 60, 1.0, 0.0)",
"assert abs(r0[0] - 10.09) < 1e-6",
"assert abs(r0[1] - 0.413) < 1e-6",
"assert abs(r0[2] - 10.09) < 1e-6",
"r1 = joint_torque(5.9, 0.12, 30, ... |
theo-eng-code-L3-code-014446 | 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(400, 20, 3.2, 2.5)",
"assert r0[0] == 125",
"assert r0[1] == 20",
"assert r0[2] == 2500",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 20.0) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-008051 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.6, 50)",
"assert r0[0] == 111",
"assert r0[1] == 4",
"assert r0[2] == 444",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6"
],
... |
theo-eng-code-L3-code-010275 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 29, 0.09, 0.15, 0.6, 0.4, 0)",
"assert abs(r0[0] - 0.1278) < 1e-6",
"assert abs(r0[1] - 0.4739) < 1e-6",
"assert abs(r0[2] - 0.1278) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L2-code-010399 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([69, 96, 94, 68])",
"assert abs(r0[0] - 81.75) < 1e-6",
"assert abs(r0[1] - 15.327) < 1e-6",
"r1 = summarise([58, 74, 30, 52, 65, 30])",
"assert abs(r1[0] - 51.5) < ... |
theo-eng-code-L1-code-003692 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-clarify-006573 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-014546 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-014228 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 270, 230, 0.3)",
"assert abs(r0[0] - 242.0) < 1e-6",
"assert abs(r0[1] - 0.37) < 1e-6",
"assert abs(r0[2] - 22.3) < 1e-6",
"r1 = runtime(0.1, 170, 500, 0.5)",
"ass... |
theo-eng-code-L2-code-002090 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.29) < 1e-6",
"assert abs(r0[1] - 17.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"... |
theo-eng-code-L3-code-000995 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(32, 9, 0.25)",
"assert abs(r0 - 17.8) < 1e-6",
"r1 = rms_torque(78, 20, 0.75)",
"assert abs(r1 - 68.29) < 1e-6",
"r2 = rms_torque(100, 35, 0.75)",
"assert abs(r2 - 88.35... |
theo-eng-code-L2-code-005779 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001735 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001726 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.7, 100)",
"assert r0[0] == 54",
"assert r0[1] == 3",
"assert r0[2] == 162",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 59.94) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-007906 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, [0, 25, 50, 75, 100], [0.77, 0.85, 0.88, 0.86, 0.81])",
"assert abs(r0 - 0.86) < 1e-6",
"r1 = interp_eff(80, [0, 25, 50, 75, 100], [0.77, 0.83, 0.88, 0.86, 0.81])",
"a... |
theo-eng-code-L3-code-003242 | 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(40, 7, 0.2, 0.8)",
"assert abs(r0[0] - 4.29) < 1e-6",
"assert abs(r0[1] - 257.1) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(8... |
theo-eng-code-L1-clarify-004222 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-004428 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 23, 0.25)",
"assert abs(r0 - 38.55) < 1e-6",
"r1 = rms_torque(50, 4, 0.75)",
"assert abs(r1 - 43.35) < 1e-6",
"r2 = rms_torque(63, 26, 0.25)",
"assert abs(r2 - 38.... |
theo-eng-code-L1-code-012362 | 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": "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-007358 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 4500, 100)",
"assert abs(r0[0] - 4.92) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.34, 5000, 100)",
"assert abs(r1[0] - 6.41) < 1e-6",
"asse... |
theo-eng-code-L1-clarify-010105 | 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": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-code-010136 | 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": "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-011430 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 250}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-007093 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.2, 0.56, 45, 6.5, 0.5)",
"assert abs(r0[0] - 35.35) < 1e-6",
"assert abs(r0[1] - 2.582) < 1e-6",
"assert abs(r0[2] - 36.64) < 1e-6",
"r1 = joint_torque(6.3, 0.14, 60... |
theo-eng-code-L2-code-010502 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 14, -0.04, 0.0, 0.4, 0.9, 2)",
"assert abs(r0[0] - -0.02) < 1e-6",
"assert abs(r0[1] - 0.65) < 1e-6",
"assert abs(r0[2] - -0.1525) < 1e-6",
"r1 = com_zmp(9, 17, -0.07, 0.... |
theo-eng-code-L3-code-008096 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.7, 50)",
"assert r0[0] == 135",
"assert r0[1] == 1",
"assert r0[2] == 135",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 24.975) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-003677 | 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": "4",
"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"
],
"subtask":... |
theo-eng-code-L3-code-010025 | 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(45, 1180, 80, 0.33, 2.9, 0.01, 1.4, 0.92, 0.9)",
"assert abs(r0[0] - 289.6) < 1e-6",
"assert abs(r0[1] - 13.98) < 1e-6",
"assert abs(r0[2] - 11.19) < 1e-6",
"r1 = erange(96, 1... |
theo-eng-code-L2-code-014691 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 140, 70, 0.5)",
"assert abs(r0[0] - 105.0) < 1e-6",
"assert abs(r0[1] - 1.71) < 1e-6",
"assert abs(r0[2] - 102.9) < 1e-6",
"r1 = runtime(0.5, 270, 180, 0.5)",
"a... |
theo-eng-code-L3-code-013711 | 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.1, 70, 540, 0.3)",
"assert abs(r0[0] - 399.0) < 1e-6",
"assert abs(r0[1] - 0.23) < 1e-6",
"assert abs(r0[2] - 13.5) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L3-code-002287 | 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(39, 10, 0.75)",
"assert abs(r0 - 34.14) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-005616 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 220, 0.5)",
"assert abs(r0[0] - 140.0) < 1e-6",
"assert abs(r0[1] - 1.29) < 1e-6",
"assert abs(r0[2] - 77.1) < 1e-6",
"r1 = runtime(1.0, 170, 520, 0.7)",
"as... |
theo-eng-code-L3-code-010924 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 21, 0.09, -0.05, 0.6, 0.6, 2)",
"assert abs(r0[0] - -0.0189) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.1412) < 1e-6"
],
"subtask": "writetests... |
theo-eng-code-L2-code-008315 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 4500, 120)",
"assert abs(r0[0] - 3.53) < 1e-6",
"assert abs(r0[1] - 1273.2) < 1e-6",
"r1 = gear_ratio(0.34, 10500, 150)",
"assert abs(r1[0] - 8.97) < 1e-6",
"as... |
theo-eng-code-L3-code-011910 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(70, 39, 0.5)",
"assert abs(r0 - 56.66) < 1e-6",
"r1 = rms_torque(64, 40, 0.25)",
"assert abs(r1 - 47.16) < 1e-6",
"r2 = rms_torque(79, 17, 0.75)",
"assert abs(r2 - 68.94... |
theo-eng-code-L1-clarify-006990 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-009472 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.6, 2.5)",
"assert r0[0] == 83",
"assert r0[1] == 14",
"assert r0[2] == 1162",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 10.458) < 1e-6",
"r1... |
theo-eng-code-L3-code-002782 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(87, 8, 0.5)",
"assert abs(r0 - 61.78) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-001543 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([59, 22, 70, 31, 25, 93])",
"assert r0[0] == 50",
"assert abs(r0[1] - 28.636) < 1e-6",
"r1 = summarise([77, 83, 72, 71])",
"assert abs(r1[0] - 75.75) < 1e-6",
"a... |
theo-eng-code-L3-code-010435 | 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(200, 60, 3.7, 100)",
"assert r0[0] == 54",
"assert r0[1] == 4",
"assert r0[2] == 216",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6"
],
... |
theo-eng-code-L1-clarify-002139 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-014605 | 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.19, 90, 7.5, 1.0)",
"assert abs(r0[0] - 16.59) < 1e-6",
"assert abs(r0[1] - 0.3044) < 1e-6",
"assert abs(r0[2] - 16.89) < 1e-6",
"r1 = joint_torque(4.3, 0.37, 30,... |
theo-eng-code-L2-code-005262 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 4.5], [4.5, 0.5])",
"assert abs(r0 - 5.3151) < 1e-6",
"r1 = seg_len([3.5, 5.0], [2.0, 0.0])",
"assert abs(r1 - 5.2202) < 1e-6",
"r2 = seg_len([5.0, 5.0], [5.0, 2.0]... |
theo-eng-code-L2-code-000543 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.7, 10)",
"assert r0[0] == 81",
"assert r0[1] == 27",
"assert r0[2] == 2187",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-008162 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 3.0], [2.5, 0.5])",
"assert abs(r0 - 3.5355) < 1e-6",
"r1 = seg_len([3.0, 0.5], [0.0, 4.0])",
"assert abs(r1 - 4.6098) < 1e-6",
"r2 = seg_len([4.0, 2.0], [4.5, 1.5]... |
theo-eng-code-L3-code-012390 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.2, 0.6, 90, 6.5, 4.0)",
"assert abs(r0[0] - 53.56) < 1e-6",
"assert abs(r0[1] - 2.964) < 1e-6",
"assert abs(r0[2] - 65.42) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-002606 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "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-010155 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 250, 540, 0.7)",
"assert abs(r0[0] - 337.0) < 1e-6",
"assert abs(r0[1] - 0.27) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"r1 = runtime(1.0, 190, 390, 0.7)",
"a... |
theo-eng-code-L3-code-006217 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 13500, 120)",
"assert abs(r0[0] - 14.42) < 1e-6",
"assert abs(r0[1] - 936.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-009143 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 9000, 150)",
"assert abs(r0[0] - 7.69) < 1e-6",
"assert abs(r0[1] - 1170.3) < 1e-6",
"r1 = gear_ratio(0.32, 7500, 100)",
"assert abs(r1[0] - 9.05) < 1e-6",
"asser... |
theo-eng-code-L1-code-008688 | 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-000081 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.6, 0.22, 45, 8.0, 1.5)",
"assert abs(r0[0] - 15.72) < 1e-6",
"assert abs(r0[1] - 0.4614) < 1e-6",
"assert abs(r0[2] - 16.41) < 1e-6",
"r1 = joint_torque(3.5, 0.47, 3... |
theo-eng-code-L1-clarify-011940 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-005764 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 15, 0.03, -0.04, 0.9, 0.6, 0.5)",
"assert abs(r0[0] - -0.0157) < 1e-6",
"assert abs(r0[1] - 0.7043) < 1e-6",
"assert abs(r0[2] - -0.0516) < 1e-6",
"r1 = com_zmp(13, 27, 0.... |
theo-eng-code-L2-code-014820 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.78, 0.83, 0.9, 0.87, 0.81])",
"assert abs(r0 - 0.886) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.8, 0.81, 0.9, 0.89, 0.83])",
"ass... |
theo-eng-code-L3-code-003784 | 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(48, 2540, 60, 0.29, 3.1, 0.007, 1.3, 0.92, 0.9)",
"assert abs(r0[0] - 358.5) < 1e-6",
"assert abs(r0[1] - 12.05) < 1e-6",
"assert abs(r0[2] - 7.23) < 1e-6"
],
"subtask"... |
theo-eng-code-L2-code-012776 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-006129 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([89, 61, 79, 58, 53])",
"assert r0[0] == 68",
"assert abs(r0[1] - 15.297) < 1e-6",
"r1 = summarise([52, 73, 11, 13])",
"assert abs(r1[0] - 37.25) < 1e-6",
"asser... |
theo-eng-code-L2-code-007338 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 80, 400, 0.7)",
"assert abs(r0[0] - 176.0) < 1e-6",
"assert abs(r0[1] - 0.51) < 1e-6",
"assert abs(r0[2] - 30.7) < 1e-6",
"r1 = runtime(0.2, 50, 200, 0.5)",
"ass... |
theo-eng-code-L3-code-013938 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.1, 0.9)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L2-code-003522 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.1, 0.27, 90, 6.5, 0.0)",
"assert abs(r0[0] - 22.65) < 1e-6",
"assert abs(r0[1] - 0.5735) < 1e-6",
"assert abs(r0[2] - 22.65) < 1e-6",
"r1 = joint_torque(1.9, 0.55, 3... |
theo-eng-code-L1-clarify-011050 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-005545 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(83, 32, 0.25)",
"assert abs(r0 - 49.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L3-code-001843 | 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(57, 2360, 60, 0.25, 2.1, 0.011, 0.3, 0.88, 0.95)",
"assert abs(r0[0] - 476.7) < 1e-6",
"assert abs(r0[1] - 11.36) < 1e-6",
"assert abs(r0[2] - 6.81) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-003233 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-008052 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12, 0.5)",
"assert abs(r0 - 37.05) < 1e-6",
"r1 = rms_torque(25, 5, 0.25)",
"assert abs(r1 - 13.23) < 1e-6",
"r2 = rms_torque(68, 39, 0.75)",
"assert abs(r2 - 62.0... |
theo-eng-code-L1-code-010359 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_dictget",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-002075 | 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(60, 7, 0.2, 1.0)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(2... |
theo-eng-code-L2-code-002358 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 22, 0.1, 0.15, 0.9, 0.9, 2)",
"assert abs(r0[0] - 0.1262) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - -0.0573) < 1e-6",
"r1 = com_zmp(14, 21, 0.03, -0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.