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-013160 | 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(61, 1320, 120, 0.23, 2.9, 0.013, 1.0, 0.92, 0.9)",
"assert abs(r0[0] - 279.8) < 1e-6",
"assert abs(r0[1] - 19.62) < 1e-6",
"assert abs(r0[2] - 23.55) < 1e-6",
"r1 = erange(38,... |
theo-eng-code-L2-code-015169 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 3, 0.5)",
"assert abs(r0 - 10.12) < 1e-6",
"r1 = rms_torque(18, 17, 0.5)",
"assert abs(r1 - 17.51) < 1e-6",
"r2 = rms_torque(9, 3, 0.25)",
"assert abs(r2 - 5.2) < ... |
theo-eng-code-L3-code-005582 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L1-clarify-002631 | 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-003999 | 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(8, 20, 0.1, -0.05, 0.6, 0.7, 0.5)",
"assert abs(r0[0] - -0.0071) < 1e-6",
"assert abs(r0[1] - 0.6714) < 1e-6",
"assert abs(r0[2] - -0.0414) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L2-code-014496 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(68, 6, 0.25)",
"assert abs(r0 - 34.39) < 1e-6",
"r1 = rms_torque(16, 13, 0.5)",
"assert abs(r1 - 14.58) < 1e-6",
"r2 = rms_torque(67, 19, 0.5)",
"assert abs(r2 - 49.24... |
theo-eng-code-L1-code-004245 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "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-015200 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 8000, 180)",
"assert abs(r0[0] - 7.04) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.44, 4000, 100)",
"assert abs(r1[0] - 6.64) < 1e-6",
"ass... |
theo-eng-code-L2-code-008990 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, 1670, 120, 0.27, 1.9, 0.01, 1.0, 0.92, 0.9)",
"assert abs(r0[0] - 386.0) < 1e-6",
"assert abs(r0[1] - 16.32) < 1e-6",
"assert abs(r0[2] - 19.59) < 1e-6",
"r1 = erange(67... |
theo-eng-code-L2-code-015244 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 14000, 100)",
"assert abs(r0[0] - 19.53) < 1e-6",
"assert abs(r0[1] - 716.9) < 1e-6",
"r1 = gear_ratio(0.43, 6000, 180)",
"assert abs(r1[0] - 5.4) < 1e-6",
"ass... |
theo-eng-code-L2-code-006652 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 20, 3.2, 50)",
"assert r0[0] == 250",
"assert r0[1] == 1",
"assert r0[2] == 250",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-001824 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, [0, 25, 50, 75, 100], [0.72, 0.85, 0.86, 0.9, 0.85])",
"assert abs(r0 - 0.85) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.7, 0.82, 0.87, 0.9, 0.8])",
"asser... |
theo-eng-code-L3-code-013191 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(73, 1830, 100, 0.38, 2.5, 0.013, 1.5, 0.92, 0.9)",
"assert abs(r0[0] - 297.3) < 1e-6",
"assert abs(r0[1] - 22.1) < 1e-6",
"assert abs(r0[2] - 22.1) < 1e-6",
"r1 = erange(40, 2... |
theo-eng-code-L2-code-013271 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.2, 0.32, 60, 4.5, 3.5)",
"assert abs(r0[0] - 13.86) < 1e-6",
"assert abs(r0[1] - 0.5018) < 1e-6",
"assert abs(r0[2] - 15.62) < 1e-6",
"r1 = joint_torque(3.1, 0.32, 4... |
theo-eng-code-L2-code-015631 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 190, 140, 0.3)",
"assert abs(r0[0] - 155.0) < 1e-6",
"assert abs(r0[1] - 1.16) < 1e-6",
"assert abs(r0[2] - 69.7) < 1e-6",
"r1 = runtime(0.5, 210, 410, 0.3)",
"a... |
theo-eng-code-L3-code-014690 | 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(28, 910, 60, 0.27, 3.0, 0.007, 0.4, 0.94, 0.85)",
"assert abs(r0[0] - 361.4) < 1e-6",
"assert abs(r0[1] - 6.59) < 1e-6",
"assert abs(r0[2] - 3.95) < 1e-6",
"r1 = erange(68, 21... |
theo-eng-code-L2-code-006549 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 80, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 65",
"assert r0[2] == 10140",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 81.12) < 1e-6",
"r... |
theo-eng-code-L3-code-011580 | 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": "2",
"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-L1-code-000113 | 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_minmax",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-008149 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.2, 0.8)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-002893 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')",
"assert r0[0] == 60",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')",
"assert r1[0] == 20",
... |
theo-eng-code-L2-code-012913 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 22, 0.1, 0.8)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 47.7) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L3-code-008165 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 17, 0.08, 0.05, 0.6, 0.8, 2)",
"assert abs(r0[0] - 0.0596) < 1e-6",
"assert abs(r0[1] - 0.736) < 1e-6",
"assert abs(r0[2] - -0.0905) < 1e-6"
],
"subtask": "writetests... |
theo-eng-code-L2-code-006173 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 180, 420, 0.5)",
"assert abs(r0[0] - 300.0) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"r1 = runtime(0.1, 130, 130, 0.3)",
"as... |
theo-eng-code-L2-code-003803 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 15000, 180)",
"assert abs(r0[0] - 10.05) < 1e-6",
"assert abs(r0[1] - 1492.1) < 1e-6",
"r1 = gear_ratio(0.33, 12500, 120)",
"assert abs(r1[0] - 12.96) < 1e-6",
... |
theo-eng-code-L3-code-005808 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 9",
"assert r0[2] == 1215",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 44.955) < 1e-6",
"r1 = ... |
theo-eng-code-L1-refuse-008839 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-001170 | 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(400, 20, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 11",
"assert r0[2] == 1188",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 21.978) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-007062 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 2.5], [0.0, 2.0])",
"assert abs(r0 - 1.118) < 1e-6",
"r1 = seg_len([2.5, 5.0], [3.5, 4.0])",
"assert abs(r1 - 1.4142) < 1e-6",
"r2 = seg_len([4.5, 2.5], [4.0, 4.0])... |
theo-eng-code-L2-code-010672 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.1, 170, 350, 0.7)",
"assert abs(r0[0] - 224.0) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - 24.1) < 1e-6",
"r1 = runtime(0.2, 50, 480, 0.3)",
"ass... |
theo-eng-code-L2-code-012078 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([0.5, 1.0], [3.5, 4.5])",
"assert abs(r0 - 4.6098) < 1e-6",
"r1 = seg_len([0.0, 0.5], [3.5, 3.5])",
"assert abs(r1 - 4.6098) < 1e-6",
"r2 = seg_len([0.5, 5.0], [4.5, 3.0]... |
theo-eng-code-L2-code-012601 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.8, 0.27, 30, 3.0, 0.0)",
"assert abs(r0[0] - 7.81) < 1e-6",
"assert abs(r0[1] - 0.3596) < 1e-6",
"assert abs(r0[2] - 7.81) < 1e-6",
"r1 = joint_torque(4.9, 0.11, 90,... |
theo-eng-code-L2-code-005317 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-013128 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 28, 0.09, 0.13, 0.5, 0.4, 1)",
"assert abs(r0[0] - 0.1138) < 1e-6",
"assert abs(r0[1] - 0.4404) < 1e-6",
"assert abs(r0[2] - 0.0689) < 1e-6",
"r1 = com_zmp(16, 14, -0.05,... |
theo-eng-code-L3-code-001316 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.6, 5)",
"assert r0[0] == 56",
"assert r0[1] == 20",
"assert r0[2] == 1120",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 20.16) < 1e-6"
],
... |
theo-eng-code-L3-code-014938 | 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(91, 21, 0.75)",
"assert abs(r0 - 79.5) < 1e-6",
"r1 = rms_torque(55, 20, 0.25)",
"assert abs(r1 - 32.5) < 1e-6",
"r2 = rms_torque(70, 16, 0.25)",
"assert abs(r2 - 37.64)... |
theo-eng-code-L3-code-005185 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(83, 1520, 100, 0.27, 2.7, 0.01, 0.9, 0.9, 0.9)",
"assert abs(r0[0] - 462.9) < 1e-6",
"assert abs(r0[1] - 16.14) < 1e-6",
"assert abs(r0[2] - 16.14) < 1e-6"
],
"subtask"... |
theo-eng-code-L2-code-000267 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.8, 0.47, 60, 0.5, 2.5)",
"assert abs(r0[0] - 5.59) < 1e-6",
"assert abs(r0[1] - 0.243) < 1e-6",
"assert abs(r0[2] - 6.2) < 1e-6",
"r1 = joint_torque(5.8, 0.24, 30, 3... |
theo-eng-code-L2-code-014347 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_minloop",
"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-004612 | 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(31, 8, 0.5)",
"assert abs(r0 - 22.64) < 1e-6",
"r1 = rms_torque(93, 18, 0.25)",
"assert abs(r1 - 49.04) < 1e-6",
"r2 = rms_torque(35, 31, 0.5)",
"assert abs(r2 - 33.06) ... |
theo-eng-code-L3-code-001282 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.4) < 1e-6",
"assert abs(r0[1] - 24.0) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_time... |
theo-eng-code-L1-code-003739 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-000861 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 60, 3.6, 100)",
"assert r0[0] == 222",
"assert r0[1] == 1",
"assert r0[2] == 222",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-005362 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-003590 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 13000, 100)",
"assert abs(r0[0] - 18.62) < 1e-6",
"assert abs(r0[1] - 698.0) < 1e-6",
"r1 = gear_ratio(0.27, 11000, 100)",
"assert abs(r1[0] - 11.2) < 1e-6",
"a... |
theo-eng-code-L2-code-009377 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([27, 98, 42, 33])",
"assert r0[0] == 50",
"assert abs(r0[1] - 32.588) < 1e-6",
"r1 = summarise([53, 54, 23, 40])",
"assert abs(r1[0] - 42.5) < 1e-6",
"assert abs... |
theo-eng-code-L3-code-009972 | 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, 22, 0.2, 1.0)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask... |
theo-eng-code-L1-clarify-005933 | 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-015742 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, [0, 25, 50, 75, 100], [0.7, 0.84, 0.9, 0.88, 0.85])",
"assert abs(r0 - 0.896) < 1e-6",
"r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.79, 0.8, 0.85, 0.88, 0.85])",
"ass... |
theo-eng-code-L1-code-011079 | 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-L3-code-013490 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 27, 0.05, -0.04, 0.5, 0.4, 1)",
"assert abs(r0[0] - -0.0093) < 1e-6",
"assert abs(r0[1] - 0.4341) < 1e-6",
"assert abs(r0[2] - -0.0535) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L3-code-001025 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 60, 260, 0.7)",
"assert abs(r0[0] - 120.0) < 1e-6",
"assert abs(r0[1] - 3.75) < 1e-6",
"assert abs(r0[2] - 225.0) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-010861 | 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(7, 27, 0.06, -0.04, 0.7, 0.5, 0.5)",
"assert abs(r0[0] - -0.0194) < 1e-6",
"assert abs(r0[1] - 0.5412) < 1e-6",
"assert abs(r0[2] - -0.047) < 1e-6",
"r1 = com_zmp(14, 23, -0.09... |
theo-eng-code-L3-code-005581 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 140, 120, 0.3)",
"assert abs(r0[0] - 126.0) < 1e-6",
"assert abs(r0[1] - 1.43) < 1e-6",
"assert abs(r0[2] - 85.7) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-009708 | 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(71, 17, 0.25)",
"assert abs(r0 - 38.43) < 1e-6",
"r1 = rms_torque(60, 29, 0.25)",
"assert abs(r1 - 39.12) < 1e-6",
"r2 = rms_torque(43, 11, 0.5)",
"assert abs(r2 - 31.38... |
theo-eng-code-L2-code-012134 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([69, 99, 73, 85, 42, 54])",
"assert abs(r0[0] - 70.333) < 1e-6",
"assert abs(r0[1] - 20.569) < 1e-6",
"r1 = summarise([43, 18, 34, 28, 90, 73])",
"assert abs(r1[0] -... |
theo-eng-code-L2-code-009828 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 190, 570, 0.5)",
"assert abs(r0[0] - 380.0) < 1e-6",
"assert abs(r0[1] - 1.18) < 1e-6",
"assert abs(r0[2] - 71.1) < 1e-6",
"r1 = runtime(0.1, 100, 550, 0.5)",
"a... |
theo-eng-code-L2-code-008537 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 18, -0.01, 0.11, 0.9, 0.8, 0)",
"assert abs(r0[0] - 0.0575) < 1e-6",
"assert abs(r0[1] - 0.8438) < 1e-6",
"assert abs(r0[2] - 0.0575) < 1e-6",
"r1 = com_zmp(10, 22, -0.01... |
theo-eng-code-L2-code-009866 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-000111 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([71, 64, 50, 58, 43, 55])",
"assert abs(r0[0] - 56.833) < 1e-6",
"assert abs(r0[1] - 9.948) < 1e-6",
"r1 = summarise([26, 34, 56, 81])",
"assert abs(r1[0] - 49.25) <... |
theo-eng-code-L2-code-015378 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 29, 0.05, 0.02, 0.4, 0.9, 0.5)",
"assert abs(r0[0] - 0.0298) < 1e-6",
"assert abs(r0[1] - 0.7372) < 1e-6",
"assert abs(r0[2] - -0.0078) < 1e-6",
"r1 = com_zmp(18, 30, -0.... |
theo-eng-code-L3-code-009844 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 6500, 150)",
"assert abs(r0[0] - 7.35) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.41, 15000, 120)",
"assert abs(r1[0] - 19.32) < 1e-6",
"asse... |
theo-eng-code-L2-code-010782 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([440, 430, 140, 260], 1)",
"assert abs(r0 - 0.3528) < 1e-6",
"r1 = rect_energy([440, 470, 450], 1)",
"assert abs(r1 - 0.3778) < 1e-6",
"r2 = rect_energy([210, 220... |
theo-eng-code-L2-code-004095 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 3.5], [2.0, 3.5])",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = seg_len([3.0, 3.0], [5.0, 0.5])",
"assert abs(r1 - 3.2016) < 1e-6",
"r2 = seg_len([0.5, 2.5], [1.0, 1.0])",... |
theo-eng-code-L2-code-001883 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-010248 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 80, 3.2, 2.5)",
"assert r0[0] == 250",
"assert r0[1] == 40",
"assert r0[2] == 10000",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1... |
theo-eng-code-L3-code-001375 | 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.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 6",
"assert r0[2] == 666",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 23.976) < 1e-6",
"r1 = p... |
theo-eng-code-L1-refuse-009455 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-clarify-015756 | 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-L2-code-009017 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.0, 0.38, 60, 8.0, 1.0)",
"assert abs(r0[0] - 29.06) < 1e-6",
"assert abs(r0[1] - 1.2515) < 1e-6",
"assert abs(r0[2] - 30.31) < 1e-6",
"r1 = joint_torque(4.8, 0.28, 6... |
theo-eng-code-L2-code-003353 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([0.5, 5.0], [1.0, 0.0])",
"assert abs(r0 - 5.0249) < 1e-6",
"r1 = seg_len([2.5, 5.0], [0.0, 1.5])",
"assert abs(r1 - 4.3012) < 1e-6",
"r2 = seg_len([5.0, 4.0], [2.0, 2.5]... |
theo-eng-code-L2-code-010890 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 15, -0.09, -0.01, 0.8, 0.5, 2)",
"assert abs(r0[0] - -0.0536) < 1e-6",
"assert abs(r0[1] - 0.6636) < 1e-6",
"assert abs(r0[2] - -0.1889) < 1e-6",
"r1 = com_zmp(14, 21, -0... |
theo-eng-code-L2-code-010192 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 5500, 150)",
"assert abs(r0[0] - 6.22) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.41, 7500, 100)",
"assert abs(r1[0] - 11.59) < 1e-6",
"ass... |
theo-eng-code-L3-code-005173 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(27, 2270, 100, 0.38, 2.7, 0.012, 0.3, 0.94, 0.95)",
"assert abs(r0[0] - 113.9) < 1e-6",
"assert abs(r0[1] - 22.53) < 1e-6",
"assert abs(r0[2] - 22.53) < 1e-6",
"r1 = erange(82... |
theo-eng-code-L1-clarify-012585 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-006264 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 13, -0.03, 0.05, 0.9, 0.8, 0)",
"assert abs(r0[0] - 0.01) < 1e-6",
"assert abs(r0[1] - 0.85) < 1e-6",
"assert abs(r0[2] - 0.01) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-001438 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 10000, 150)",
"assert abs(r0[0] - 9.55) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6",
"r1 = gear_ratio(0.25, 6500, 120)",
"assert abs(r1[0] - 5.11) < 1e-6",
"as... |
theo-eng-code-L1-code-015171 | 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": "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-000494 | 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(19, 4, 0.75)",
"assert abs(r0 - 16.58) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L3-code-008359 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.2, 0.3, 30, 0.0, 0.0)",
"assert abs(r0[0] - 5.3) < 1e-6",
"assert abs(r0[1] - 0.216) < 1e-6",
"assert abs(r0[2] - 5.3) < 1e-6",
"r1 = joint_torque(3.8, 0.33, 45, 4.0, ... |
theo-eng-code-L1-refuse-004219 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-014094 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(89, 1790, 60, 0.22, 2.4, 0.007, 1.3, 0.94, 0.95)",
"assert abs(r0[0] - 1000.2) < 1e-6",
"assert abs(r0[1] - 8.45) < 1e-6",
"assert abs(r0[2] - 5.07) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-004161 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([250, 400, 160, 390, 250], 1)",
"assert abs(r0 - 0.4028) < 1e-6",
"r1 = rect_energy([290, 390, 200], 2)",
"assert abs(r1 - 0.4889) < 1e-6",
"r2 = rect_energy([170... |
theo-eng-code-L2-code-001541 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 14, 0.01, -0.02, 0.6, 0.7, 0.5)",
"assert abs(r0[0] - -0.0024) < 1e-6",
"assert abs(r0[1] - 0.6412) < 1e-6",
"assert abs(r0[2] - -0.035) < 1e-6",
"r1 = com_zmp(10, 14, 0.... |
theo-eng-code-L2-code-009391 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.6, 0.49, 90, 0.5, 3.0)",
"assert abs(r0[0] - 3.85) < 1e-6",
"assert abs(r0[1] - 0.1681) < 1e-6",
"assert abs(r0[2] - 4.35) < 1e-6",
"r1 = joint_torque(4.3, 0.27, 60,... |
theo-eng-code-L3-code-003498 | 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(7, 25, 0.04, -0.03, 0.6, 0.4, 0.5)",
"assert abs(r0[0] - -0.0147) < 1e-6",
"assert abs(r0[1] - 0.4437) < 1e-6",
"assert abs(r0[2] - -0.0373) < 1e-6",
"r1 = com_zmp(5, 18, -0.03... |
theo-eng-code-L3-code-010495 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 28, 0.03, -0.03, 0.3, 0.7, 0.5)",
"assert abs(r0[0] - -0.0065) < 1e-6",
"assert abs(r0[1] - 0.5435) < 1e-6",
"assert abs(r0[2] - -0.0342) < 1e-6",
"r1 = com_zmp(16, 15, 0.0... |
theo-eng-code-L1-clarify-004457 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-014853 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.3, 0.11, 60, 3.0, 1.0)",
"assert abs(r0[0] - 4.81) < 1e-6",
"assert abs(r0[1] - 0.0536) < 1e-6",
"assert abs(r0[2] - 4.87) < 1e-6",
"r1 = joint_torque(0.7, 0.37, 45,... |
theo-eng-code-L3-code-013032 | 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(28, 7, 0.25)",
"assert abs(r0 - 15.26) < 1e-6",
"r1 = rms_torque(43, 16, 0.5)",
"assert abs(r1 - 32.44) < 1e-6",
"r2 = rms_torque(81, 32, 0.75)",
"assert abs(r2 - 71.95)... |
theo-eng-code-L1-clarify-013047 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-002558 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 220, 200], 1)",
"assert abs(r0 - 0.1361) < 1e-6",
"r1 = rect_energy([280, 280, 110, 210], 5)",
"assert abs(r1 - 1.2222) < 1e-6",
"r2 = rect_energy([90, 430, ... |
theo-eng-code-L3-code-014248 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.7, 0.55, 30, 8.0, 3.0)",
"assert abs(r0[0] - 26.57) < 1e-6",
"assert abs(r0[1] - 2.7931) < 1e-6",
"assert abs(r0[2] - 34.95) < 1e-6",
"r1 = joint_torque(3.6, 0.23, 30,... |
theo-eng-code-L2-code-001320 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 11, 0.1, 0.9)",
"assert abs(r0[0] - 7.27) < 1e-6",
"assert abs(r0[1] - 436.4) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-005245 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(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-L2-code-008866 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 13500, 100)",
"assert abs(r0[0] - 14.76) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.27, 8500, 100)",
"assert abs(r1[0] - 8.65) < 1e-6",
"as... |
theo-eng-code-L2-code-000392 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 7000, 180)",
"assert abs(r0[0] - 4.54) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6",
"r1 = gear_ratio(0.43, 4500, 180)",
"assert abs(r1[0] - 4.05) < 1e-6",
"ass... |
theo-eng-code-L3-code-010607 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 16, 0.1, 0.11, 0.7, 0.5, 2)",
"assert abs(r0[0] - 0.107) < 1e-6",
"assert abs(r0[1] - 0.5609) < 1e-6",
"assert abs(r0[2] - -0.0074) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L2-code-001439 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-005014 | 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(1.6, 0.47, 60, 4.5, 0.0)",
"assert abs(r0[0] - 21.16) < 1e-6",
"assert abs(r0[1] - 1.1119) < 1e-6",
"assert abs(r0[2] - 21.16) < 1e-6",
"r1 = joint_torque(7.6, 0.11, 45,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.