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-000051 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.7, 100)",
"assert r0[0] == 216",
"assert r0[1] == 1",
"assert r0[2] == 216",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-012024 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-009140 | 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(55, 38, 0.5)",
"assert abs(r0 - 47.27) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-011672 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([220, 80, 290, 380], 2)",
"assert abs(r0 - 0.5389) < 1e-6",
"r1 = rect_energy([300, 380, 210, 320], 5)",
"assert abs(r1 - 1.6806) < 1e-6",
"r2 = rect_energy([360,... |
theo-eng-code-L2-code-010958 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(80, [0, 25, 50, 75, 100], [0.76, 0.8, 0.87, 0.87, 0.84])",
"assert abs(r0 - 0.864) < 1e-6",
"r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.77, 0.8, 0.89, 0.88, 0.82])",
"as... |
theo-eng-code-L1-code-006331 | 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": "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-002588 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.1, 0.8)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L3-code-009297 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(20, 1570, 100, 0.38, 2.4, 0.009, 1.1, 0.88, 0.95)",
"assert abs(r0[0] - 99.6) < 1e-6",
"assert abs(r0[1] - 19.08) < 1e-6",
"assert abs(r0[2] - 19.08) < 1e-6",
"r1 = erange(20,... |
theo-eng-code-L2-code-006282 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 8000, 180)",
"assert abs(r0[0] - 7.37) < 1e-6",
"assert abs(r0[1] - 1085.1) < 1e-6",
"r1 = gear_ratio(0.4, 7000, 150)",
"assert abs(r1[0] - 7.04) < 1e-6",
"asse... |
theo-eng-code-L2-code-013848 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, -0.07, 0.03, 0.9, 0.9, 0.5)",
"assert abs(r0[0] - -0.0055) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - -0.0514) < 1e-6",
"r1 = com_zmp(5, 26, -0.08... |
theo-eng-code-L2-code-003646 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-014721 | 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(20, 24, -0.08, -0.05, 0.5, 0.5, 2)",
"assert abs(r0[0] - -0.0636) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.1656) < 1e-6",
"r1 = com_zmp(12, 25, -0.09, ... |
theo-eng-code-L2-code-009497 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(48, 22, 0.75)",
"assert abs(r0 - 43.0) < 1e-6",
"r1 = rms_torque(82, 16, 0.75)",
"assert abs(r1 - 71.46) < 1e-6",
"r2 = rms_torque(40, 32, 0.5)",
"assert abs(r2 - 36.2... |
theo-eng-code-L2-code-015859 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([130, 300, 80, 200, 320], 1)",
"assert abs(r0 - 0.2861) < 1e-6",
"r1 = rect_energy([100, 390, 120], 5)",
"assert abs(r1 - 0.8472) < 1e-6",
"r2 = rect_energy([80, ... |
theo-eng-code-L2-code-005408 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 50, 0.2, 0.8)",
"assert abs(r0[0] - 1.5) < 1e-6",
"assert abs(r0[1] - 90.0) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-004919 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 22, -0.04, 0.12, 0.7, 0.9, 1)",
"assert abs(r0[0] - 0.0606) < 1e-6",
"assert abs(r0[1] - 0.8257) < 1e-6",
"assert abs(r0[2] - -0.0236) < 1e-6",
"r1 = com_zmp(11, 21, -0.0... |
theo-eng-code-L2-code-002337 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 2.5], [3.5, 4.5])",
"assert abs(r0 - 3.2016) < 1e-6",
"r1 = seg_len([2.0, 4.0], [3.0, 2.5])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([4.0, 3.0], [1.0, 1.0]... |
theo-eng-code-L2-code-003402 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 13500, 120)",
"assert abs(r0[0] - 10.6) < 1e-6",
"assert abs(r0[1] - 1273.2) < 1e-6",
"r1 = gear_ratio(0.29, 4000, 100)",
"assert abs(r1[0] - 4.37) < 1e-6",
"as... |
theo-eng-code-L2-code-005088 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 26, -0.07, 0.08, 0.3, 0.4, 1)",
"assert abs(r0[0] - 0.0383) < 1e-6",
"assert abs(r0[1] - 0.3722) < 1e-6",
"assert abs(r0[2] - 0.0004) < 1e-6",
"r1 = com_zmp(13, 29, -0.05... |
theo-eng-code-L2-code-005659 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 9",
"assert r0[2] == 1404",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 11.232) < 1e-6",
"r1... |
theo-eng-code-L1-clarify-012265 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-009733 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 15, 0.02, 0.09, 0.5, 0.5, 0)",
"assert abs(r0[0] - 0.0657) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.0657) < 1e-6",
"r1 = com_zmp(15, 16, 0.03, -0.04,... |
theo-eng-code-L2-code-001345 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 10000, 100)",
"assert abs(r0[0] - 16.96) < 1e-6",
"assert abs(r0[1] - 589.5) < 1e-6",
"r1 = gear_ratio(0.29, 8000, 180)",
"assert abs(r1[0] - 4.86) < 1e-6",
"as... |
theo-eng-code-L2-code-011801 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r1[0] == 20",
... |
theo-eng-code-L1-refuse-009461 | 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-000507 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 150}')",
"assert r0[0] == 80",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-003979 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.2, 0.8)",
"assert abs(r0[0] - 3.41) < 1e-6",
"assert abs(r0[1] - 204.5) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_t... |
theo-eng-code-L2-code-002021 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(79, 1400, 120, 0.37, 2.4, 0.008, 0.3, 0.9, 0.85)",
"assert abs(r0[0] - 301.2) < 1e-6",
"assert abs(r0[1] - 22.29) < 1e-6",
"assert abs(r0[2] - 26.75) < 1e-6",
"r1 = erange(6... |
theo-eng-code-L3-code-001677 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 22, 0.2, 1.0)",
"assert abs(r0[0] - 0.91) < 1e-6",
"assert abs(r0[1] - 54.5) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask"... |
theo-eng-code-L1-clarify-012912 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-001945 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.3, 0.12, 60, 2.5, 4.0)",
"assert abs(r0[0] - 4.23) < 1e-6",
"assert abs(r0[1] - 0.0518) < 1e-6",
"assert abs(r0[2] - 4.44) < 1e-6",
"r1 = joint_torque(3.7, 0.18, 60,... |
theo-eng-code-L3-code-000162 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(43, 23, 0.5)",
"assert abs(r0 - 34.48) < 1e-6",
"r1 = rms_torque(52, 33, 0.75)",
"assert abs(r1 - 47.96) < 1e-6",
"r2 = rms_torque(17, 8, 0.5)",
"assert abs(r2 - 13.29) ... |
theo-eng-code-L2-code-008675 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-005534 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 28, -0.06, 0.1, 0.5, 0.4, 0)",
"assert abs(r0[0] - 0.0493) < 1e-6",
"assert abs(r0[1] - 0.4317) < 1e-6",
"assert abs(r0[2] - 0.0493) < 1e-6",
"r1 = com_zmp(13, 24, 0.07, 0.... |
theo-eng-code-L1-clarify-003771 | 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": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-004281 | 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, 60, 3.7, 10)",
"assert r0[0] == 216",
"assert r0[1] == 8",
"assert r0[2] == 1728",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-007654 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L3-code-014674 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(88, 1380, 80, 0.37, 2.3, 0.01, 1.1, 0.92, 0.95)",
"assert abs(r0[0] - 631.7) < 1e-6",
"assert abs(r0[1] - 13.23) < 1e-6",
"assert abs(r0[2] - 10.59) < 1e-6",
"r1 = erange(89, ... |
theo-eng-code-L1-code-001208 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-014524 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(62, 8, 0.25)",
"assert abs(r0 - 31.76) < 1e-6",
"r1 = rms_torque(99, 37, 0.5)",
"assert abs(r1 - 74.73) < 1e-6",
"r2 = rms_torque(62, 15, 0.25)",
"assert abs(r2 - 33.6... |
theo-eng-code-L2-code-015273 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 20, 0.09, 0.11, 0.9, 0.4, 1)",
"assert abs(r0[0] - 0.1003) < 1e-6",
"assert abs(r0[1] - 0.6436) < 1e-6",
"assert abs(r0[2] - 0.0347) < 1e-6",
"r1 = com_zmp(13, 13, 0.06, ... |
theo-eng-code-L2-code-014275 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.7, 0.22, 30, 3.5, 3.5)",
"assert abs(r0[0] - 4.69) < 1e-6",
"assert abs(r0[1] - 0.1968) < 1e-6",
"assert abs(r0[2] - 5.38) < 1e-6",
"r1 = joint_torque(5.0, 0.57, 60,... |
theo-eng-code-L2-code-011836 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.5, 0.0], [2.0, 0.5])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([4.0, 1.5], [4.0, 1.0])",
"assert abs(r1 - 0.5) < 1e-6",
"r2 = seg_len([1.5, 0.5], [1.5, 4.5])",... |
theo-eng-code-L3-code-004112 | 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(61, 1650, 60, 0.26, 2.9, 0.008, 1.1, 0.92, 0.9)",
"assert abs(r0[0] - 570.9) < 1e-6",
"assert abs(r0[1] - 9.62) < 1e-6",
"assert abs(r0[2] - 5.77) < 1e-6"
],
"subtask":... |
theo-eng-code-L3-code-002971 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.7, 0.48, 60, 5.5, 2.0)",
"assert abs(r0[0] - 38.13) < 1e-6",
"assert abs(r0[1] - 1.8586) < 1e-6",
"assert abs(r0[2] - 41.85) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-012927 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.3) < 1e-6",
"assert abs(r0[1] - 18.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_ti... |
theo-eng-code-L1-code-002028 | 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_squares",
"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-008705 | 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(80, 11, 0.2, 0.8)",
"assert abs(r0[0] - 5.45) < 1e-6",
"assert abs(r0[1] - 327.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask... |
theo-eng-code-L2-code-002390 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.8, 0.84, 0.86, 0.85, 0.83])",
"assert abs(r0 - 0.84) < 1e-6",
"r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.78, 0.85, 0.88, 0.9, 0.85])",
"ass... |
theo-eng-code-L2-code-000386 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.5, 0.57, 60, 4.5, 2.5)",
"assert abs(r0[0] - 39.95) < 1e-6",
"assert abs(r0[1] - 2.2743) < 1e-6",
"assert abs(r0[2] - 45.64) < 1e-6",
"r1 = joint_torque(5.2, 0.28, 6... |
theo-eng-code-L2-code-010309 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 5000, 100)",
"assert abs(r0[0] - 6.79) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.39, 9500, 100)",
"assert abs(r1[0] - 13.97) < 1e-6",
"ass... |
theo-eng-code-L3-code-005297 | 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, 22, 0.2, 0.9)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time(... |
theo-eng-code-L3-code-006336 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(62, 27, 0.25)",
"assert abs(r0 - 38.83) < 1e-6",
"r1 = rms_torque(60, 17, 0.75)",
"assert abs(r1 - 52.65) < 1e-6",
"r2 = rms_torque(10, 2, 0.5)",
"assert abs(r2 - 7.21) ... |
theo-eng-code-L3-code-007172 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(80, 13, 0.75)",
"assert abs(r0 - 69.59) < 1e-6",
"r1 = rms_torque(82, 19, 0.75)",
"assert abs(r1 - 71.65) < 1e-6",
"r2 = rms_torque(15, 8, 0.25)",
"assert abs(r2 - 10.21... |
theo-eng-code-L2-code-012871 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.6, 0.41, 45, 2.5, 1.5)",
"assert abs(r0[0] - 9.39) < 1e-6",
"assert abs(r0[1] - 0.5099) < 1e-6",
"assert abs(r0[2] - 10.15) < 1e-6",
"r1 = joint_torque(1.8, 0.24, 60... |
theo-eng-code-L2-code-013245 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 25, 0.09, 0.03, 0.7, 0.6, 2)",
"assert abs(r0[0] - 0.0459) < 1e-6",
"assert abs(r0[1] - 0.6265) < 1e-6",
"assert abs(r0[2] - -0.0818) < 1e-6",
"r1 = com_zmp(19, 23, -0.1, ... |
theo-eng-code-L2-code-006073 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 15, -0.1, 0.1, 0.3, 0.7, 2)",
"assert abs(r0[0] - 0.0) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.1019) < 1e-6",
"r1 = com_zmp(14, 12, 0.03, 0.1, 0... |
theo-eng-code-L2-code-006690 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-013409 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.5], [3.0, 1.0])",
"assert abs(r0 - 0.5) < 1e-6",
"r1 = seg_len([0.5, 5.0], [0.5, 3.0])",
"assert abs(r1 - 2.0) < 1e-6",
"r2 = seg_len([1.5, 5.0], [4.0, 3.0])",
... |
theo-eng-code-L3-code-000459 | 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(200, 80, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 41",
"assert r0[2] == 2542",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 81.344) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-015408 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-014993 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(80, [0, 25, 50, 75, 100], [0.76, 0.85, 0.86, 0.85, 0.8])",
"assert abs(r0 - 0.84) < 1e-6",
"r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.74, 0.85, 0.89, 0.89, 0.8])",
"ass... |
theo-eng-code-L3-code-011088 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 22, -0.07, -0.02, 0.7, 0.7, 0.5)",
"assert abs(r0[0] - -0.0394) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - -0.0751) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L2-code-002279 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(57, 1560, 80, 0.26, 3.1, 0.008, 0.4, 0.9, 0.9)",
"assert abs(r0[0] - 434.6) < 1e-6",
"assert abs(r0[1] - 11.8) < 1e-6",
"assert abs(r0[2] - 9.44) < 1e-6",
"r1 = erange(74, 2... |
theo-eng-code-L2-code-008326 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(82, 29, 0.5)",
"assert abs(r0 - 61.5) < 1e-6",
"r1 = rms_torque(61, 26, 0.5)",
"assert abs(r1 - 46.89) < 1e-6",
"r2 = rms_torque(55, 37, 0.25)",
"assert abs(r2 - 42.23... |
theo-eng-code-L1-code-010578 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-001319 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 9000, 100)",
"assert abs(r0[0] - 14.93) < 1e-6",
"assert abs(r0[1] - 602.9) < 1e-6",
"r1 = gear_ratio(0.42, 11000, 150)",
"assert abs(r1[0] - 11.61) < 1e-6",
"a... |
theo-eng-code-L2-code-010212 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 26, 0.03, 0.02, 0.8, 0.7, 0)",
"assert abs(r0[0] - 0.0221) < 1e-6",
"assert abs(r0[1] - 0.7212) < 1e-6",
"assert abs(r0[2] - 0.0221) < 1e-6",
"r1 = com_zmp(13, 25, -0.09, ... |
theo-eng-code-L3-code-004536 | 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(7.4, 0.33, 45, 3.0, 2.5)",
"assert abs(r0[0] - 15.34) < 1e-6",
"assert abs(r0[1] - 0.5953) < 1e-6",
"assert abs(r0[2] - 16.83) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-007208 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(34, 2000, 100, 0.34, 1.9, 0.009, 0.7, 0.9, 0.85)",
"assert abs(r0[0] - 185.6) < 1e-6",
"assert abs(r0[1] - 15.57) < 1e-6",
"assert abs(r0[2] - 15.57) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L2-code-009978 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 22, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-006823 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 280, 340, 0.7)",
"assert abs(r0[0] - 298.0) < 1e-6",
"assert abs(r0[1] - 3.02) < 1e-6",
"assert abs(r0[2] - 181.2) < 1e-6",
"r1 = runtime(0.2, 130, 560, 0.3)",
"... |
theo-eng-code-L2-code-009438 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005323 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 60, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 49",
"assert r0[2] == 7644",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 61.152) < 1e-6",
"r... |
theo-eng-code-L3-code-007715 | 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(26, 1540, 60, 0.37, 2.2, 0.012, 1.0, 0.94, 0.95)",
"assert abs(r0[0] - 222.2) < 1e-6",
"assert abs(r0[1] - 11.12) < 1e-6",
"assert abs(r0[2] - 6.67) < 1e-6",
"r1 = erange(68, ... |
theo-eng-code-L2-code-002667 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([34, 15, 21, 40, 65, 35])",
"assert r0[0] == 35",
"assert abs(r0[1] - 17.447) < 1e-6",
"r1 = summarise([54, 16, 18, 91, 67, 33])",
"assert abs(r1[0] - 46.5) < 1e-6",... |
theo-eng-code-L2-code-004774 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([470, 80, 330], 2)",
"assert abs(r0 - 0.4889) < 1e-6",
"r1 = rect_energy([120, 80, 180, 310, 370], 10)",
"assert abs(r1 - 2.9444) < 1e-6",
"r2 = rect_energy([400,... |
theo-eng-code-L2-code-015149 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-012007 | 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(28, 1910, 120, 0.3, 2.3, 0.013, 0.4, 0.94, 0.85)",
"assert abs(r0[0] - 111.2) < 1e-6",
"assert abs(r0[1] - 21.41) < 1e-6",
"assert abs(r0[2] - 25.69) < 1e-6",
"r1 = erange(26,... |
theo-eng-code-L2-code-014586 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 0.5], [4.5, 5.0])",
"assert abs(r0 - 5.7009) < 1e-6",
"r1 = seg_len([5.0, 5.0], [1.0, 5.0])",
"assert abs(r1 - 4.0) < 1e-6",
"r2 = seg_len([1.5, 2.5], [3.0, 4.0])",... |
theo-eng-code-L3-code-003754 | 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(73, 1990, 60, 0.28, 2.9, 0.009, 0.5, 0.92, 0.95)",
"assert abs(r0[0] - 672.7) < 1e-6",
"assert abs(r0[1] - 10.31) < 1e-6",
"assert abs(r0[2] - 6.19) < 1e-6",
"r1 = erange(38, ... |
theo-eng-code-L2-code-011289 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.7, 10)",
"assert r0[0] == 54",
"assert r0[1] == 31",
"assert r0[2] == 1674",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 61.938) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-012276 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(25, 1770, 80, 0.28, 2.4, 0.008, 0.3, 0.9, 0.85)",
"assert abs(r0[0] - 194.3) < 1e-6",
"assert abs(r0[1] - 10.94) < 1e-6",
"assert abs(r0[2] - 8.75) < 1e-6",
"r1 = erange(39,... |
theo-eng-code-L2-code-015773 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(47, 2790, 60, 0.3, 2.5, 0.013, 0.5, 0.94, 0.95)",
"assert abs(r0[0] - 295.3) < 1e-6",
"assert abs(r0[1] - 15.12) < 1e-6",
"assert abs(r0[2] - 9.07) < 1e-6",
"r1 = erange(68,... |
theo-eng-code-L2-code-011743 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([77, 34, 71, 85, 15, 10])",
"assert abs(r0[0] - 48.667) < 1e-6",
"assert abs(r0[1] - 33.062) < 1e-6",
"r1 = summarise([30, 41, 16, 18, 96, 11])",
"assert abs(r1[0] -... |
theo-eng-code-L2-code-007137 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([370, 420, 440, 90, 310], 5)",
"assert abs(r0 - 2.2639) < 1e-6",
"r1 = rect_energy([320, 110, 450, 380], 1)",
"assert abs(r1 - 0.35) < 1e-6",
"r2 = rect_energy([2... |
theo-eng-code-L2-code-008749 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(20, 28, -0.06, 0.1, 0.9, 0.4, 0.5)",
"assert abs(r0[0] - 0.0333) < 1e-6",
"assert abs(r0[1] - 0.6083) < 1e-6",
"assert abs(r0[2] - 0.0023) < 1e-6",
"r1 = com_zmp(9, 10, 0.1, ... |
theo-eng-code-L3-code-007580 | 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(66, 2210, 100, 0.32, 2.4, 0.009, 1.4, 0.9, 0.9)",
"assert abs(r0[0] - 318.9) < 1e-6",
"assert abs(r0[1] - 18.62) < 1e-6",
"assert abs(r0[2] - 18.62) < 1e-6",
"r1 = erange(98, ... |
theo-eng-code-L2-code-000490 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-013536 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 5500, 180)",
"assert abs(r0[0] - 2.88) < 1e-6",
"assert abs(r0[1] - 1909.9) < 1e-6",
"r1 = gear_ratio(0.33, 11500, 100)",
"assert abs(r1[0] - 14.31) < 1e-6",
"a... |
theo-eng-code-L2-code-009175 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([89, 75, 49, 95, 16])",
"assert abs(r0[0] - 64.8) < 1e-6",
"assert abs(r0[1] - 32.53) < 1e-6",
"r1 = summarise([60, 35, 26, 79, 75, 87])",
"assert abs(r1[0] - 60.333... |
theo-eng-code-L2-code-008232 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 80, 3.7, 100)",
"assert r0[0] == 135",
"assert r0[1] == 2",
"assert r0[2] == 270",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 99.9) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-010544 | 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-L3-code-007936 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 19, 0.06, -0.04, 0.5, 0.4, 0.5)",
"assert abs(r0[0] - 0.0072) < 1e-6",
"assert abs(r0[1] - 0.4472) < 1e-6",
"assert abs(r0[2] - -0.0156) < 1e-6"
],
"subtask": "write... |
theo-eng-code-L2-code-005651 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 60, 440, 0.3)",
"assert abs(r0[0] - 326.0) < 1e-6",
"assert abs(r0[1] - 0.55) < 1e-6",
"assert abs(r0[2] - 33.1) < 1e-6",
"r1 = runtime(0.2, 210, 380, 0.3)",
"as... |
theo-eng-code-L2-code-012990 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "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-L3-code-002600 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(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-L2-code-004253 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 14500, 120)",
"assert abs(r0[0] - 15.94) < 1e-6",
"assert abs(r0[1] - 909.5) < 1e-6",
"r1 = gear_ratio(0.37, 7500, 180)",
"assert abs(r1[0] - 5.81) < 1e-6",
"as... |
theo-eng-code-L1-code-012954 | 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": "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-000032 | 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.5, 160, 300, 0.5)",
"assert abs(r0[0] - 230.0) < 1e-6",
"assert abs(r0[1] - 1.96) < 1e-6",
"assert abs(r0[2] - 117.4) < 1e-6",
"r1 = runtime(1.0, 130, 450, 0.3)",
"as... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.