id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L1-refuse-000821 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-009935 | 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(90, 13, 0.5)",
"assert abs(r0 - 64.3) < 1e-6",
"r1 = rms_torque(16, 4, 0.25)",
"assert abs(r1 - 8.72) < 1e-6",
"r2 = rms_torque(56, 31, 0.25)",
"assert abs(r2 - 38.79) <... |
theo-eng-code-L1-clarify-004110 | 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-L3-code-004396 | 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, 80, 3.6, 5)",
"assert r0[0] == 222",
"assert r0[1] == 21",
"assert r0[2] == 4662",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 83.916) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-008991 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 26, 0.0, 0.01, 0.3, 0.6, 1)",
"assert abs(r0[0] - 0.0062) < 1e-6",
"assert abs(r0[1] - 0.4857) < 1e-6",
"assert abs(r0[2] - -0.0433) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L2-code-005528 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(40, [0, 25, 50, 75, 100], [0.75, 0.81, 0.89, 0.87, 0.8])",
"assert abs(r0 - 0.858) < 1e-6",
"r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.73, 0.85, 0.88, 0.85, 0.85])",
"a... |
theo-eng-code-L2-code-012208 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.34, 10500, 100)",
"assert abs(r0[0] - 13.46) < 1e-6",
"assert abs(r0[1] - 780.2) < 1e-6",
"r1 = gear_ratio(0.26, 12500, 120)",
"assert abs(r1[0] - 10.21) < 1e-6",
"... |
theo-eng-code-L2-code-000468 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(83, 23, 0.75)",
"assert abs(r0 - 72.79) < 1e-6",
"r1 = rms_torque(31, 23, 0.75)",
"assert abs(r1 - 29.21) < 1e-6",
"r2 = rms_torque(6, 4, 0.5)",
"assert abs(r2 - 5.1) ... |
theo-eng-code-L2-code-000909 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 7500, 180)",
"assert abs(r0[0] - 5.97) < 1e-6",
"assert abs(r0[1] - 1256.5) < 1e-6",
"r1 = gear_ratio(0.43, 10500, 180)",
"assert abs(r1[0] - 9.46) < 1e-6",
"as... |
theo-eng-code-L3-code-010976 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.35, 14000, 120)",
"assert abs(r0[0] - 15.39) < 1e-6",
"assert abs(r0[1] - 909.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L1-code-001457 | 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_fstring",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-010956 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 60, 340, 0.3)",
"assert abs(r0[0] - 256.0) < 1e-6",
"assert abs(r0[1] - 0.35) < 1e-6",
"assert abs(r0[2] - 21.1) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-015834 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 200, 260, 0.5)",
"assert abs(r0[0] - 230.0) < 1e-6",
"assert abs(r0[1] - 3.91) < 1e-6",
"assert abs(r0[2] - 234.8) < 1e-6",
"r1 = runtime(0.1, 40, 40, 0.3)",
"as... |
theo-eng-code-L2-code-015823 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.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 = p... |
theo-eng-code-L3-code-007400 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.38) < 1e-6",
"assert abs(r0[1] - 22.5) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"r1... |
theo-eng-code-L2-code-012507 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.5, 2.0], [4.0, 3.0])",
"assert abs(r0 - 1.118) < 1e-6",
"r1 = seg_len([1.5, 2.0], [2.5, 3.5])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([0.5, 1.5], [5.0, 5.0])... |
theo-eng-code-L2-code-004908 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.9, 0.58, 90, 6.0, 4.0)",
"assert abs(r0[0] - 53.77) < 1e-6",
"assert abs(r0[1] - 2.7921) < 1e-6",
"assert abs(r0[2] - 64.94) < 1e-6",
"r1 = joint_torque(2.1, 0.31, 9... |
theo-eng-code-L3-code-011116 | 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(19, 13, 0.01, -0.03, 0.9, 0.3, 2)",
"assert abs(r0[0] - -0.0063) < 1e-6",
"assert abs(r0[1] - 0.6562) < 1e-6",
"assert abs(r0[2] - -0.14) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L3-code-008285 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.0, 0.41, 60, 6.5, 1.5)",
"assert abs(r0[0] - 31.35) < 1e-6",
"assert abs(r0[1] - 1.3728) < 1e-6",
"assert abs(r0[2] - 33.41) < 1e-6",
"r1 = joint_torque(4.4, 0.45, 30,... |
theo-eng-code-L1-code-012925 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-clarify-001304 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-010555 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 11, 0.1, 0.9)",
"assert abs(r0[0] - 9.09) < 1e-6",
"assert abs(r0[1] - 545.5) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L2-code-005652 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([56, 14, 76, 67, 23, 39])",
"assert abs(r0[0] - 45.833) < 1e-6",
"assert abs(r0[1] - 24.669) < 1e-6",
"r1 = summarise([12, 11, 98, 84, 67, 16])",
"assert r1[0] == 48... |
theo-eng-code-L1-code-011534 | 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_strmul",
"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-012775 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-006921 | 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, 11, 0.2, 0.9)",
"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"
],
"subtask"... |
theo-eng-code-L2-code-009600 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 9, 0.75)",
"assert abs(r0 - 17.9) < 1e-6",
"r1 = rms_torque(53, 39, 0.25)",
"assert abs(r1 - 42.93) < 1e-6",
"r2 = rms_torque(66, 6, 0.5)",
"assert abs(r2 - 46.86)... |
theo-eng-code-L2-code-007053 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 3.0], [1.0, 4.5])",
"assert abs(r0 - 1.5811) < 1e-6",
"r1 = seg_len([0.0, 4.5], [3.0, 0.0])",
"assert abs(r1 - 5.4083) < 1e-6",
"r2 = seg_len([3.5, 3.0], [0.5, 1.5]... |
theo-eng-code-L2-code-014795 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-010466 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-014627 | 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_chain",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-009090 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(32, 4, 0.75)",
"assert abs(r0 - 27.78) < 1e-6",
"r1 = rms_torque(64, 29, 0.25)",
"assert abs(r1 - 40.68) < 1e-6",
"r2 = rms_torque(68, 26, 0.25)",
"assert abs(r2 - 40.... |
theo-eng-code-L2-code-011296 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-012678 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.5, 0.57, 60, 7.5, 2.0)",
"assert abs(r0[0] - 54.48) < 1e-6",
"assert abs(r0[1] - 3.249) < 1e-6",
"assert abs(r0[2] - 60.98) < 1e-6",
"r1 = joint_torque(6.6, 0.12, 30... |
theo-eng-code-L1-code-003230 | 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_power",
"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-004701 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-001068 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 18, 0.01, -0.02, 0.9, 0.4, 1)",
"assert abs(r0[0] - -0.0064) < 1e-6",
"assert abs(r0[1] - 0.6273) < 1e-6",
"assert abs(r0[2] - -0.0703) < 1e-6",
"r1 = com_zmp(6, 14, 0.01... |
theo-eng-code-L2-code-007495 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 13500, 100)",
"assert abs(r0[0] - 21.38) < 1e-6",
"assert abs(r0[1] - 631.6) < 1e-6",
"r1 = gear_ratio(0.28, 9500, 150)",
"assert abs(r1[0] - 6.69) < 1e-6",
"as... |
theo-eng-code-L2-code-004504 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-008887 | 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(95, 20, 0.25)",
"assert abs(r0 - 50.56) < 1e-6",
"r1 = rms_torque(90, 12, 0.5)",
"assert abs(r1 - 64.2) < 1e-6",
"r2 = rms_torque(17, 15, 0.25)",
"assert abs(r2 - 15.52)... |
theo-eng-code-L2-code-004635 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 28, -0.01, -0.05, 0.4, 0.4, 2)",
"assert abs(r0[0] - -0.0349) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - -0.1164) < 1e-6",
"r1 = com_zmp(13, 29, -0.03... |
theo-eng-code-L3-code-005084 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.6, 0.29, 90, 2.0, 4.0)",
"assert abs(r0[0] - 15.08) < 1e-6",
"assert abs(r0[1] - 0.3532) < 1e-6",
"assert abs(r0[2] - 16.49) < 1e-6",
"r1 = joint_torque(3.5, 0.44, 60,... |
theo-eng-code-L2-code-015422 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L1-code-009495 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_join",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-010694 | 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(41, 1110, 80, 0.31, 2.9, 0.011, 1.5, 0.92, 0.95)",
"assert abs(r0[0] - 284.3) < 1e-6",
"assert abs(r0[1] - 13.7) < 1e-6",
"assert abs(r0[2] - 10.96) < 1e-6"
],
"subtask... |
theo-eng-code-L3-code-003132 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(45, 1360, 120, 0.23, 2.3, 0.009, 0.6, 0.9, 0.85)",
"assert abs(r0[0] - 249.7) < 1e-6",
"assert abs(r0[1] - 15.32) < 1e-6",
"assert abs(r0[2] - 18.38) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-010006 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(29, 19, 0.5)",
"assert abs(r0 - 24.52) < 1e-6",
"r1 = rms_torque(65, 26, 0.75)",
"assert abs(r1 - 57.77) < 1e-6",
"r2 = rms_torque(6, 3, 0.5)",
"assert abs(r2 - 4.74) ... |
theo-eng-code-L2-code-000169 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 22, 0.2, 0.9)",
"assert abs(r0[0] - 2.39) < 1e-6",
"assert abs(r0[1] - 143.2) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-006105 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(69, 1310, 100, 0.23, 2.8, 0.009, 1.3, 0.92, 0.95)",
"assert abs(r0[0] - 468.8) < 1e-6",
"assert abs(r0[1] - 13.98) < 1e-6",
"assert abs(r0[2] - 13.98) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-001334 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 5)",
"assert r0[0] == 139",
"assert r0[1] == 4",
"assert r0[2] == 556",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 10.008) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-005671 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(83, 6, 0.5)",
"assert abs(r0 - 58.84) < 1e-6",
"r1 = rms_torque(63, 28, 0.25)",
"assert abs(r1 - 39.75) < 1e-6",
"r2 = rms_torque(57, 31, 0.75)",
"assert abs(r2 - 51.7... |
theo-eng-code-L2-code-007965 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 16, -0.03, 0.09, 0.9, 0.5, 2)",
"assert abs(r0[0] - 0.0319) < 1e-6",
"assert abs(r0[1] - 0.6935) < 1e-6",
"assert abs(r0[2] - -0.1095) < 1e-6",
"r1 = com_zmp(14, 17, 0.01... |
theo-eng-code-L2-code-015621 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 5500, 120)",
"assert abs(r0[0] - 4.67) < 1e-6",
"assert abs(r0[1] - 1178.9) < 1e-6",
"r1 = gear_ratio(0.28, 7500, 120)",
"assert abs(r1[0] - 6.6) < 1e-6",
"asse... |
theo-eng-code-L3-code-007705 | 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(60, 7, 0.1, 0.8)",
"assert abs(r0[0] - 7.5) < 1e-6",
"assert abs(r0[1] - 450.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 7"
],
"subtask": ... |
theo-eng-code-L2-code-007655 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.1, 0.25, 60, 8.0, 2.0)",
"assert abs(r0[0] - 20.28) < 1e-6",
"assert abs(r0[1] - 0.5646) < 1e-6",
"assert abs(r0[2] - 21.41) < 1e-6",
"r1 = joint_torque(1.5, 0.55, 9... |
theo-eng-code-L3-code-010296 | 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(7.7, 0.17, 60, 7.5, 0.0)",
"assert abs(r0[0] - 16.39) < 1e-6",
"assert abs(r0[1] - 0.2909) < 1e-6",
"assert abs(r0[2] - 16.39) < 1e-6",
"r1 = joint_torque(4.0, 0.59, 60,... |
theo-eng-code-L3-code-014455 | 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(22, 1630, 80, 0.34, 2.4, 0.009, 0.3, 0.94, 0.9)",
"assert abs(r0[0] - 166.1) < 1e-6",
"assert abs(r0[1] - 11.92) < 1e-6",
"assert abs(r0[2] - 9.54) < 1e-6",
"r1 = erange(66, 1... |
theo-eng-code-L1-code-009188 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_cond",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-010126 | 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.2, 30, 210, 0.5)",
"assert abs(r0[0] - 120.0) < 1e-6",
"assert abs(r0[1] - 1.5) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"r1 = runtime(0.5, 40, 40, 0.7)",
"assert ... |
theo-eng-code-L2-code-005168 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 60, 490, 0.3)",
"assert abs(r0[0] - 361.0) < 1e-6",
"assert abs(r0[1] - 0.25) < 1e-6",
"assert abs(r0[2] - 15.0) < 1e-6",
"r1 = runtime(1.0, 230, 140, 0.5)",
"as... |
theo-eng-code-L2-code-007464 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-000001 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 20, 0.08, 0.05, 0.7, 0.8, 0)",
"assert abs(r0[0] - 0.0633) < 1e-6",
"assert abs(r0[1] - 0.7556) < 1e-6",
"assert abs(r0[2] - 0.0633) < 1e-6",
"r1 = com_zmp(11, 27, -0.08,... |
theo-eng-code-L3-code-003836 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 180, 600, 0.5)",
"assert abs(r0[0] - 390.0) < 1e-6",
"assert abs(r0[1] - 1.15) < 1e-6",
"assert abs(r0[2] - 69.2) < 1e-6",
"r1 = runtime(1.0, 200, 480, 0.7)",
"ass... |
theo-eng-code-L1-code-003549 | 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": "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-010703 | 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(18, 11, 0.07, 0.09, 0.4, 0.7, 2)",
"assert abs(r0[0] - 0.0776) < 1e-6",
"assert abs(r0[1] - 0.5138) < 1e-6",
"assert abs(r0[2] - -0.0272) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L3-code-009306 | 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(6.5, 0.35, 60, 0.5, 1.5)",
"assert abs(r0[0] - 11.15) < 1e-6",
"assert abs(r0[1] - 0.3267) < 1e-6",
"assert abs(r0[2] - 11.64) < 1e-6",
"r1 = joint_torque(6.3, 0.55, 30,... |
theo-eng-code-L3-code-015680 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 150, 370, 0.5)",
"assert abs(r0[0] - 260.0) < 1e-6",
"assert abs(r0[1] - 0.35) < 1e-6",
"assert abs(r0[2] - 20.8) < 1e-6",
"r1 = runtime(1.0, 130, 170, 0.5)",
"ass... |
theo-eng-code-L3-code-000280 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(32, 1070, 120, 0.31, 2.8, 0.011, 0.5, 0.88, 0.9)",
"assert abs(r0[0] - 126.8) < 1e-6",
"assert abs(r0[1] - 22.71) < 1e-6",
"assert abs(r0[2] - 27.25) < 1e-6",
"r1 = erange(36,... |
theo-eng-code-L2-code-004867 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.4, 0.46, 90, 7.5, 3.0)",
"assert abs(r0[0] - 41.52) < 1e-6",
"assert abs(r0[1] - 1.8268) < 1e-6",
"assert abs(r0[2] - 47.0) < 1e-6",
"r1 = joint_torque(0.8, 0.4, 60,... |
theo-eng-code-L3-code-013380 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.2, 5)",
"assert r0[0] == 62",
"assert r0[1] == 61",
"assert r0[2] == 3782",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 60.512) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-002540 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005529 | 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.1, 50, 110, 0.5)",
"assert abs(r0[0] - 80.0) < 1e-6",
"assert abs(r0[1] - 1.13) < 1e-6",
"assert abs(r0[2] - 67.5) < 1e-6"
],
"subtask": "writetests",
"verified_... |
theo-eng-code-L2-code-005180 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 3.0], [5.0, 5.0])",
"assert abs(r0 - 4.0311) < 1e-6",
"r1 = seg_len([3.0, 3.0], [1.5, 5.0])",
"assert abs(r1 - 2.5) < 1e-6",
"r2 = seg_len([5.0, 1.5], [2.5, 0.0])",... |
theo-eng-code-L2-code-003963 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 0.27, 30, 4.0, 3.0)",
"assert abs(r0[0] - 8.28) < 1e-6",
"assert abs(r0[1] - 0.401) < 1e-6",
"assert abs(r0[2] - 9.48) < 1e-6",
"r1 = joint_torque(4.0, 0.27, 45, ... |
theo-eng-code-L2-code-003392 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 13000, 100)",
"assert abs(r0[0] - 15.19) < 1e-6",
"assert abs(r0[1] - 855.7) < 1e-6",
"r1 = gear_ratio(0.42, 14000, 180)",
"assert abs(r1[0] - 12.32) < 1e-6",
"... |
theo-eng-code-L2-code-000867 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 11000, 150)",
"assert abs(r0[0] - 7.46) < 1e-6",
"assert abs(r0[1] - 1473.7) < 1e-6",
"r1 = gear_ratio(0.39, 4000, 100)",
"assert abs(r1[0] - 5.88) < 1e-6",
"as... |
theo-eng-code-L1-code-008388 | 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-001948 | 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.1, 160, 430, 0.5)",
"assert abs(r0[0] - 295.0) < 1e-6",
"assert abs(r0[1] - 0.31) < 1e-6",
"assert abs(r0[2] - 18.3) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-007286 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(20, 19, 0.25)",
"assert abs(r0 - 19.25) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-014620 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.8, 0.59, 60, 7.0, 3.5)",
"assert abs(r0[0] - 49.62) < 1e-6",
"assert abs(r0[1] - 3.1097) < 1e-6",
"assert abs(r0[2] - 60.51) < 1e-6",
"r1 = joint_torque(7.6, 0.41, 60,... |
theo-eng-code-L2-code-005223 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 280, 210, 0.7)",
"assert abs(r0[0] - 259.0) < 1e-6",
"assert abs(r0[1] - 1.74) < 1e-6",
"assert abs(r0[2] - 104.2) < 1e-6",
"r1 = runtime(0.1, 200, 280, 0.7)",
"... |
theo-eng-code-L3-code-014274 | 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(87, 2740, 80, 0.36, 3.0, 0.011, 0.7, 0.9, 0.95)",
"assert abs(r0[0] - 411.5) < 1e-6",
"assert abs(r0[1] - 20.08) < 1e-6",
"assert abs(r0[2] - 16.07) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-006706 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.9, 0.29, 30, 2.0, 0.5)",
"assert abs(r0[0] - 3.49) < 1e-6",
"assert abs(r0[1] - 0.1934) < 1e-6",
"assert abs(r0[2] - 3.58) < 1e-6",
"r1 = joint_torque(3.6, 0.29, 30,... |
theo-eng-code-L2-code-008900 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 15, 0.07, 0.09, 0.6, 0.5, 0)",
"assert abs(r0[0] - 0.082) < 1e-6",
"assert abs(r0[1] - 0.54) < 1e-6",
"assert abs(r0[2] - 0.082) < 1e-6",
"r1 = com_zmp(18, 24, 0.01, 0.08... |
theo-eng-code-L2-code-005376 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(37, 1390, 80, 0.29, 3.0, 0.012, 1.4, 0.9, 0.85)",
"assert abs(r0[0] - 210.8) < 1e-6",
"assert abs(r0[1] - 14.92) < 1e-6",
"assert abs(r0[2] - 11.94) < 1e-6",
"r1 = erange(95... |
theo-eng-code-L2-code-007969 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 20, 3.7, 100)",
"assert r0[0] == 135",
"assert r0[1] == 1",
"assert r0[2] == 135",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 49.95) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-008005 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 15000, 120)",
"assert abs(r0[0] - 15.55) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.43, 10500, 100)",
"assert abs(r1[0] - 17.02) < 1e-6",
"... |
theo-eng-code-L3-code-006882 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.1, 1.0)",
"assert abs(r0[0] - 6.43) < 1e-6",
"assert abs(r0[1] - 385.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(4... |
theo-eng-code-L1-code-004761 | 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": "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-011486 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.1, 0.31, 90, 5.5, 2.0)",
"assert abs(r0[0] - 27.52) < 1e-6",
"assert abs(r0[1] - 0.756) < 1e-6",
"assert abs(r0[2] - 29.03) < 1e-6",
"r1 = joint_torque(0.8, 0.35, 30... |
theo-eng-code-L3-code-001554 | 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(10, 21, -0.07, -0.04, 0.4, 0.7, 1)",
"assert abs(r0[0] - -0.0497) < 1e-6",
"assert abs(r0[1] - 0.6032) < 1e-6",
"assert abs(r0[2] - -0.1112) < 1e-6",
"r1 = com_zmp(6, 29, -0.02... |
theo-eng-code-L2-code-000042 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(31, 940, 80, 0.32, 1.9, 0.008, 0.9, 0.88, 0.85)",
"assert abs(r0[0] - 284.6) < 1e-6",
"assert abs(r0[1] - 9.26) < 1e-6",
"assert abs(r0[2] - 7.41) < 1e-6",
"r1 = erange(72, ... |
theo-eng-code-L1-refuse-001218 | 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-L3-code-010424 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 15, -0.09, 0.04, 0.3, 0.4, 2)",
"assert abs(r0[0] - -0.0087) < 1e-6",
"assert abs(r0[1] - 0.3625) < 1e-6",
"assert abs(r0[2] - -0.0827) < 1e-6",
"r1 = com_zmp(18, 13, -0.06,... |
theo-eng-code-L2-code-015206 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([410, 360, 320, 280, 180], 2)",
"assert abs(r0 - 0.8611) < 1e-6",
"r1 = rect_energy([90, 490, 200], 2)",
"assert abs(r1 - 0.4333) < 1e-6",
"r2 = rect_energy([290,... |
theo-eng-code-L2-code-000921 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([27, 34, 62, 77, 37])",
"assert abs(r0[0] - 47.4) < 1e-6",
"assert abs(r0[1] - 21.173) < 1e-6",
"r1 = summarise([85, 51, 31, 10])",
"assert abs(r1[0] - 44.25) < 1e-6... |
theo-eng-code-L2-code-015978 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-013681 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-008292 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-014172 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 29, -0.05, -0.01, 0.7, 0.4, 2)",
"assert abs(r0[0] - -0.0159) < 1e-6",
"assert abs(r0[1] - 0.4441) < 1e-6",
"assert abs(r0[2] - -0.1064) < 1e-6",
"r1 = com_zmp(9, 22, 0.1,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.