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-L2-code-013522 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-010587 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 29, 0.0, 0.03, 0.5, 0.3, 0)",
"assert abs(r0[0] - 0.0217) < 1e-6",
"assert abs(r0[1] - 0.355) < 1e-6",
"assert abs(r0[2] - 0.0217) < 1e-6",
"r1 = com_zmp(15, 21, -0.08, 0... |
theo-eng-code-L2-code-004028 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.2, 0.8)",
"assert abs(r0[0] - 4.29) < 1e-6",
"assert abs(r0[1] - 257.1) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-002123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 280, 0.7)",
"assert abs(r0[0] - 119.0) < 1e-6",
"assert abs(r0[1] - 7.56) < 1e-6",
"assert abs(r0[2] - 453.8) < 1e-6",
"r1 = runtime(1.0, 300, 460, 0.3)",
"a... |
theo-eng-code-L2-code-002909 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 15000, 100)",
"assert abs(r0[0] - 15.27) < 1e-6",
"assert abs(r0[1] - 982.4) < 1e-6",
"r1 = gear_ratio(0.42, 9000, 150)",
"assert abs(r1[0] - 9.5) < 1e-6",
"ass... |
theo-eng-code-L2-code-014183 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(83, 1580, 60, 0.24, 2.8, 0.01, 1.2, 0.92, 0.95)",
"assert abs(r0[0] - 778.2) < 1e-6",
"assert abs(r0[1] - 10.13) < 1e-6",
"assert abs(r0[2] - 6.08) < 1e-6",
"r1 = erange(32,... |
theo-eng-code-L2-code-004229 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(48, 2040, 100, 0.23, 1.9, 0.011, 0.6, 0.94, 0.95)",
"assert abs(r0[0] - 345.2) < 1e-6",
"assert abs(r0[1] - 13.21) < 1e-6",
"assert abs(r0[2] - 13.21) < 1e-6",
"r1 = erange(... |
theo-eng-code-L1-clarify-011864 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-011211 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 10, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 6",
"assert r0[2] == 372",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 11.904) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-003078 | 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(80, 1930, 60, 0.26, 2.4, 0.013, 0.6, 0.94, 0.9)",
"assert abs(r0[0] - 631.0) < 1e-6",
"assert abs(r0[1] - 11.41) < 1e-6",
"assert abs(r0[2] - 6.85) < 1e-6",
"r1 = erange(41, 2... |
theo-eng-code-L2-code-014270 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.1, 0.8)",
"assert abs(r0[0] - 0.29) < 1e-6",
"assert abs(r0[1] - 17.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"... |
theo-eng-code-L2-code-007056 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 8500, 150)",
"assert abs(r0[0] - 6.2) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6",
"r1 = gear_ratio(0.44, 9000, 120)",
"assert abs(r1[0] - 12.44) < 1e-6",
"ass... |
theo-eng-code-L3-code-007914 | 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(100, 7, 0.1, 0.8)",
"assert abs(r0[0] - 12.5) < 1e-6",
"assert abs(r0[1] - 750.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-014109 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.5, 2.0], [4.0, 4.5])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([4.0, 1.5], [2.5, 4.0])",
"assert abs(r1 - 2.9155) < 1e-6",
"r2 = seg_len([2.5, 1.0], [0.5, 4.0]... |
theo-eng-code-L3-code-000748 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.9, 0.25, 90, 8.0, 1.0)",
"assert abs(r0[0] - 29.31) < 1e-6",
"assert abs(r0[1] - 0.6646) < 1e-6",
"assert abs(r0[2] - 29.97) < 1e-6",
"r1 = joint_torque(2.1, 0.11, 45,... |
theo-eng-code-L2-code-008193 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.5], [3.0, 4.0])",
"assert abs(r0 - 2.9155) < 1e-6",
"r1 = seg_len([0.5, 0.0], [4.0, 5.0])",
"assert abs(r1 - 6.1033) < 1e-6",
"r2 = seg_len([5.0, 2.5], [3.5, 3.5]... |
theo-eng-code-L3-code-000959 | 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, 60, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 31",
"assert r0[2] == 3348",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 61.938) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-015424 | 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(9, 22, -0.03, 0.15, 0.5, 0.4, 1)",
"assert abs(r0[0] - 0.0977) < 1e-6",
"assert abs(r0[1] - 0.429) < 1e-6",
"assert abs(r0[2] - 0.054) < 1e-6",
"r1 = com_zmp(9, 14, 0.01, 0.11,... |
theo-eng-code-L3-code-006594 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 26, 0.01, 0.12, 0.9, 0.8, 0.5)",
"assert abs(r0[0] - 0.0736) < 1e-6",
"assert abs(r0[1] - 0.8422) < 1e-6",
"assert abs(r0[2] - 0.0306) < 1e-6",
"r1 = com_zmp(14, 18, 0.0, 0... |
theo-eng-code-L3-code-002516 | 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.39, 9000, 180)",
"assert abs(r0[0] - 7.35) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-006972 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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], [3.0, 0.0])",
"assert abs(r0 - 3.3541) < 1e-6",
"r1 = seg_len([3.0, 1.5], [3.5, 1.0])",
"assert abs(r1 - 0.7071) < 1e-6",
"r2 = seg_len([4.0, 1.5], [2.0, 0.0]... |
theo-eng-code-L2-code-006409 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 10, 3.6, 100)",
"assert r0[0] == 56",
"assert r0[1] == 1",
"assert r0[2] == 56",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 20.16) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-007067 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 22, 0.1, 0.9)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-005777 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.2, 1.0)",
"assert abs(r0[0] - 0.33) < 1e-6",
"assert abs(r0[1] - 20.0) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6"
... |
theo-eng-code-L3-code-008347 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(77, 2300, 100, 0.3, 2.6, 0.012, 0.4, 0.94, 0.95)",
"assert abs(r0[0] - 379.1) < 1e-6",
"assert abs(r0[1] - 19.29) < 1e-6",
"assert abs(r0[2] - 19.29) < 1e-6",
"r1 = erange(61,... |
theo-eng-code-L2-code-008321 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-013058 | 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(63, 1840, 80, 0.32, 2.8, 0.012, 1.5, 0.92, 0.9)",
"assert abs(r0[0] - 341.6) < 1e-6",
"assert abs(r0[1] - 16.6) < 1e-6",
"assert abs(r0[2] - 13.28) < 1e-6",
"r1 = erange(93, 1... |
theo-eng-code-L2-code-014118 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004458 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(91, 25, 0.25)",
"assert abs(r0 - 50.39) < 1e-6",
"r1 = rms_torque(60, 34, 0.5)",
"assert abs(r1 - 48.76) < 1e-6",
"r2 = rms_torque(12, 6, 0.25)",
"assert abs(r2 - 7.94... |
theo-eng-code-L2-code-005489 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(29, 13, 0.5)",
"assert abs(r0 - 22.47) < 1e-6",
"r1 = rms_torque(48, 16, 0.25)",
"assert abs(r1 - 27.71) < 1e-6",
"r2 = rms_torque(5, 2, 0.75)",
"assert abs(r2 - 4.44)... |
theo-eng-code-L2-code-011805 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([58, 21, 89, 49, 98, 88])",
"assert abs(r0[0] - 67.167) < 1e-6",
"assert abs(r0[1] - 29.688) < 1e-6",
"r1 = summarise([21, 31, 91, 74, 53])",
"assert r1[0] == 54",
... |
theo-eng-code-L2-code-001063 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 1530, 80, 0.38, 2.6, 0.007, 0.4, 0.92, 0.85)",
"assert abs(r0[0] - 147.3) < 1e-6",
"assert abs(r0[1] - 12.7) < 1e-6",
"assert abs(r0[2] - 10.16) < 1e-6",
"r1 = erange(34... |
theo-eng-code-L2-code-008765 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 70, 510, 0.5)",
"assert abs(r0[0] - 290.0) < 1e-6",
"assert abs(r0[1] - 0.62) < 1e-6",
"assert abs(r0[2] - 37.2) < 1e-6",
"r1 = runtime(0.5, 30, 500, 0.5)",
"ass... |
theo-eng-code-L1-refuse-002046 | 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-L2-code-004785 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 2.5], [0.5, 0.5])",
"assert abs(r0 - 2.0616) < 1e-6",
"r1 = seg_len([4.0, 1.0], [1.0, 4.0])",
"assert abs(r1 - 4.2426) < 1e-6",
"r2 = seg_len([3.5, 1.5], [4.5, 1.5]... |
theo-eng-code-L2-code-014963 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.5, 2.5], [0.0, 5.0])",
"assert abs(r0 - 4.3012) < 1e-6",
"r1 = seg_len([5.0, 0.0], [3.0, 1.0])",
"assert abs(r1 - 2.2361) < 1e-6",
"r2 = seg_len([0.5, 4.0], [0.0, 1.5]... |
theo-eng-code-L2-code-010142 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.6, 100)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-009088 | 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(91, 35, 0.75)",
"assert abs(r0 - 80.73) < 1e-6",
"r1 = rms_torque(51, 9, 0.75)",
"assert abs(r1 - 44.4) < 1e-6",
"r2 = rms_torque(5, 2, 0.75)",
"assert abs(r2 - 4.44) < ... |
theo-eng-code-L2-code-006493 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 20, 3.2, 5)",
"assert r0[0] == 94",
"assert r0[1] == 14",
"assert r0[2] == 1316",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 21.056) < 1e-6",
"r1 =... |
theo-eng-code-L1-refuse-014905 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-001926 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(96, 1340, 60, 0.25, 2.8, 0.01, 1.0, 0.88, 0.9)",
"assert abs(r0[0] - 902.3) < 1e-6",
"assert abs(r0[1] - 9.58) < 1e-6",
"assert abs(r0[2] - 5.75) < 1e-6",
"r1 = erange(60, 1... |
theo-eng-code-L3-code-009129 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 80, 220, 0.5)",
"assert abs(r0[0] - 150.0) < 1e-6",
"assert abs(r0[1] - 1.2) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"r1 = runtime(0.2, 140, 300, 0.3)",
"asser... |
theo-eng-code-L3-code-011395 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 15, 0.0, 0.11, 0.8, 0.4, 0)",
"assert abs(r0[0] - 0.0611) < 1e-6",
"assert abs(r0[1] - 0.5778) < 1e-6",
"assert abs(r0[2] - 0.0611) < 1e-6",
"r1 = com_zmp(19, 17, 0.05, 0.0... |
theo-eng-code-L2-code-002293 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-clarify-010279 | 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": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-002822 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 19, 0.03, 0.14, 0.9, 0.5, 0.5)",
"assert abs(r0[0] - 0.0974) < 1e-6",
"assert abs(r0[1] - 0.6548) < 1e-6",
"assert abs(r0[2] - 0.064) < 1e-6",
"r1 = com_zmp(13, 29, -0.07... |
theo-eng-code-L1-refuse-006564 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-001023 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 14000, 150)",
"assert abs(r0[0] - 10.91) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6",
"r1 = gear_ratio(0.3, 15000, 150)",
"assert abs(r1[0] - 11.31) < 1e-6",
"... |
theo-eng-code-L2-code-009686 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([450, 140, 190], 5)",
"assert abs(r0 - 1.0833) < 1e-6",
"r1 = rect_energy([160, 500, 210, 310, 380], 2)",
"assert abs(r1 - 0.8667) < 1e-6",
"r2 = rect_energy([380... |
theo-eng-code-L1-refuse-000344 | 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-L1-code-013650 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "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-011144 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([62, 73, 20, 33, 56, 18])",
"assert abs(r0[0] - 43.667) < 1e-6",
"assert abs(r0[1] - 23.157) < 1e-6",
"r1 = summarise([14, 47, 18, 64])",
"assert abs(r1[0] - 35.75) ... |
theo-eng-code-L2-code-005466 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(29, 7, 0.25)",
"assert abs(r0 - 15.72) < 1e-6",
"r1 = rms_torque(56, 14, 0.75)",
"assert abs(r1 - 49.0) < 1e-6",
"r2 = rms_torque(86, 22, 0.75)",
"assert abs(r2 - 75.2... |
theo-eng-code-L2-code-000294 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, 20, 0.25)",
"assert abs(r0 - 21.36) < 1e-6",
"r1 = rms_torque(30, 22, 0.75)",
"assert abs(r1 - 28.21) < 1e-6",
"r2 = rms_torque(58, 18, 0.75)",
"assert abs(r2 - 51... |
theo-eng-code-L2-code-001613 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 27, -0.06, -0.01, 0.5, 0.4, 2)",
"assert abs(r0[0] - -0.03) < 1e-6",
"assert abs(r0[1] - 0.44) < 1e-6",
"assert abs(r0[2] - -0.1197) < 1e-6",
"r1 = com_zmp(8, 13, 0.08, -... |
theo-eng-code-L2-code-003176 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 20, 0.5)",
"assert abs(r0 - 34.18) < 1e-6",
"r1 = rms_torque(49, 16, 0.75)",
"assert abs(r1 - 43.18) < 1e-6",
"r2 = rms_torque(7, 5, 0.75)",
"assert abs(r2 - 6.56)... |
theo-eng-code-L3-code-005705 | 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(25, 24, 0.5)",
"assert abs(r0 - 24.51) < 1e-6",
"r1 = rms_torque(54, 11, 0.5)",
"assert abs(r1 - 38.97) < 1e-6",
"r2 = rms_torque(32, 18, 0.5)",
"assert abs(r2 - 25.96) ... |
theo-eng-code-L2-code-004067 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.2, 0.9)",
"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",
"r1 = charge_time(... |
theo-eng-code-L1-refuse-001666 | 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-010768 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 30, 0.1, 0.04, 0.7, 0.9, 1)",
"assert abs(r0[0] - 0.0633) < 1e-6",
"assert abs(r0[1] - 0.8224) < 1e-6",
"assert abs(r0[2] - -0.0206) < 1e-6",
"r1 = com_zmp(18, 17, -0.09, 0... |
theo-eng-code-L1-clarify-008134 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-000769 | 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(19, 25, -0.1, 0.06, 0.5, 0.8, 0)",
"assert abs(r0[0] - -0.0091) < 1e-6",
"assert abs(r0[1] - 0.6705) < 1e-6",
"assert abs(r0[2] - -0.0091) < 1e-6",
"r1 = com_zmp(13, 30, -0.08,... |
theo-eng-code-L2-code-010863 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 13, -0.04, 0.12, 0.7, 0.3, 1)",
"assert abs(r0[0] - 0.037) < 1e-6",
"assert abs(r0[1] - 0.5074) < 1e-6",
"assert abs(r0[2] - -0.0147) < 1e-6",
"r1 = com_zmp(6, 18, 0.03, ... |
theo-eng-code-L2-code-000905 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.2, 50)",
"assert r0[0] == 250",
"assert r0[1] == 2",
"assert r0[2] == 500",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-009236 | 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.2, 280, 490, 0.5)",
"assert abs(r0[0] - 385.0) < 1e-6",
"assert abs(r0[1] - 0.47) < 1e-6",
"assert abs(r0[2] - 28.1) < 1e-6",
"r1 = runtime(0.1, 40, 50, 0.5)",
"asser... |
theo-eng-code-L2-code-008272 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-007233 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-011349 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_squares",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-004138 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 15, -0.03, -0.04, 0.6, 0.7, 1)",
"assert abs(r0[0] - -0.0344) < 1e-6",
"assert abs(r0[1] - 0.6441) < 1e-6",
"assert abs(r0[2] - -0.1001) < 1e-6",
"r1 = com_zmp(5, 24, -0.... |
theo-eng-code-L3-code-009626 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(26, 2440, 80, 0.23, 2.4, 0.013, 0.8, 0.92, 0.95)",
"assert abs(r0[0] - 160.0) < 1e-6",
"assert abs(r0[1] - 15.44) < 1e-6",
"assert abs(r0[2] - 12.35) < 1e-6",
"r1 = erange(64,... |
theo-eng-code-L3-code-002290 | 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(81, 2090, 120, 0.26, 2.4, 0.009, 0.8, 0.92, 0.85)",
"assert abs(r0[0] - 361.2) < 1e-6",
"assert abs(r0[1] - 19.06) < 1e-6",
"assert abs(r0[2] - 22.87) < 1e-6",
"r1 = erange(29... |
theo-eng-code-L3-code-013805 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(57, 1030, 120, 0.22, 2.6, 0.012, 1.1, 0.94, 0.85)",
"assert abs(r0[0] - 302.8) < 1e-6",
"assert abs(r0[1] - 16.0) < 1e-6",
"assert abs(r0[2] - 19.2) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-004567 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 1.5], [2.5, 1.5])",
"assert abs(r0 - 0.5) < 1e-6",
"r1 = seg_len([2.0, 1.0], [4.0, 5.0])",
"assert abs(r1 - 4.4721) < 1e-6",
"r2 = seg_len([4.0, 0.0], [0.0, 5.0])",... |
theo-eng-code-L2-code-013222 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 50, 0.2, 1.0)",
"assert abs(r0[0] - 0.4) < 1e-6",
"assert abs(r0[1] - 24.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-011415 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-010022 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L1-clarify-010819 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-011767 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 2",
"assert r0[2] == 250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6"
],
... |
theo-eng-code-L2-code-009637 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-006858 | 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.32, 7000, 100)",
"assert abs(r0[0] - 8.44) < 1e-6",
"assert abs(r0[1] - 828.9) < 1e-6",
"r1 = gear_ratio(0.32, 15000, 100)",
"assert abs(r1[0] - 18.1) < 1e-6",
"asser... |
theo-eng-code-L3-code-007958 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.9, 0.29, 45, 7.5, 3.0)",
"assert abs(r0[0] - 23.03) < 1e-6",
"assert abs(r0[1] - 0.8522) < 1e-6",
"assert abs(r0[2] - 25.59) < 1e-6",
"r1 = joint_torque(2.3, 0.1, 90, ... |
theo-eng-code-L2-code-011090 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
... |
theo-eng-code-L1-refuse-001841 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-refuse-003092 | 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": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-011305 | 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(5, 29, 0.1, 0.15, 0.4, 0.9, 0.5)",
"assert abs(r0[0] - 0.1426) < 1e-6",
"assert abs(r0[1] - 0.8265) < 1e-6",
"assert abs(r0[2] - 0.1005) < 1e-6",
"r1 = com_zmp(12, 25, 0.04, 0.... |
theo-eng-code-L3-code-005814 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 20, 3.7, 50)",
"assert r0[0] == 81",
"assert r0[1] == 2",
"assert r0[2] == 162",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6"
],
... |
theo-eng-code-L3-code-008263 | 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(51, 2640, 80, 0.36, 3.0, 0.011, 1.3, 0.94, 0.95)",
"assert abs(r0[0] - 246.0) < 1e-6",
"assert abs(r0[1] - 19.7) < 1e-6",
"assert abs(r0[2] - 15.76) < 1e-6",
"r1 = erange(82, ... |
theo-eng-code-L2-code-003761 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, 26, 0.5)",
"assert abs(r0 - 56.13) < 1e-6",
"r1 = rms_torque(15, 9, 0.5)",
"assert abs(r1 - 12.37) < 1e-6",
"r2 = rms_torque(60, 32, 0.75)",
"assert abs(r2 - 54.37... |
theo-eng-code-L2-code-004909 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')",
"assert r1[0] == 60",
... |
theo-eng-code-L2-code-002177 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 210, 420, 0.3)",
"assert abs(r0[0] - 357.0) < 1e-6",
"assert abs(r0[1] - 1.26) < 1e-6",
"assert abs(r0[2] - 75.6) < 1e-6",
"r1 = runtime(0.1, 170, 370, 0.3)",
"a... |
theo-eng-code-L3-code-015017 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 10500, 120)",
"assert abs(r0[0] - 13.85) < 1e-6",
"assert abs(r0[1] - 757.9) < 1e-6",
"r1 = gear_ratio(0.38, 4500, 100)",
"assert abs(r1[0] - 6.45) < 1e-6",
"asse... |
theo-eng-code-L3-code-000721 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.7, 5)",
"assert r0[0] == 135",
"assert r0[1] == 5",
"assert r0[2] == 675",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 12.488) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-008227 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.1, 0.8)",
"assert abs(r0[0] - 5.0) < 1e-6",
"assert abs(r0[1] - 300.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-010401 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 5500, 180)",
"assert abs(r0[0] - 2.99) < 1e-6",
"assert abs(r0[1] - 1836.4) < 1e-6",
"r1 = gear_ratio(0.43, 11500, 120)",
"assert abs(r1[0] - 15.54) < 1e-6",
"a... |
theo-eng-code-L3-code-011338 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 80, 3.2, 50)",
"assert r0[0] == 62",
"assert r0[1] == 9",
"assert r0[2] == 558",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 89.28) < 1e-6"
],
... |
theo-eng-code-L3-code-001177 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(61, 10, 0.75)",
"assert abs(r0 - 53.06) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-002745 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 14, -0.04, 0.0, 0.6, 0.9, 0)",
"assert abs(r0[0] - -0.0193) < 1e-6",
"assert abs(r0[1] - 0.7556) < 1e-6",
"assert abs(r0[2] - -0.0193) < 1e-6",
"r1 = com_zmp(9, 11, 0.06,... |
theo-eng-code-L2-code-005554 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.73, 0.84, 0.85, 0.85, 0.8])",
"assert abs(r0 - 0.842) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.71, 0.84, 0.87, 0.9, 0.8])",
"ass... |
theo-eng-code-L3-code-010059 | 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.34, 10500, 120)",
"assert abs(r0[0] - 11.22) < 1e-6",
"assert abs(r0[1] - 936.2) < 1e-6",
"r1 = gear_ratio(0.27, 5500, 100)",
"assert abs(r1[0] - 5.6) < 1e-6",
"asser... |
theo-eng-code-L2-code-003544 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 40, 30, 0.3)",
"assert abs(r0[0] - 33.0) < 1e-6",
"assert abs(r0[1] - 2.73) < 1e-6",
"assert abs(r0[2] - 163.6) < 1e-6",
"r1 = runtime(1.0, 60, 470, 0.7)",
"asse... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.