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-000602 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 80, 3.6, 100)",
"assert r0[0] == 56",
"assert r0[1] == 4",
"assert r0[2] == 224",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 80.64) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-006255 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 26, 0.0, 0.09, 0.9, 0.3, 0)",
"assert abs(r0[0] - 0.0755) < 1e-6",
"assert abs(r0[1] - 0.3968) < 1e-6",
"assert abs(r0[2] - 0.0755) < 1e-6",
"r1 = com_zmp(8, 21, 0.08, 0.1... |
theo-eng-code-L3-code-005237 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 260, 80, 0.3)",
"assert abs(r0[0] - 134.0) < 1e-6",
"assert abs(r0[1] - 0.67) < 1e-6",
"assert abs(r0[2] - 40.3) < 1e-6",
"r1 = runtime(0.1, 290, 590, 0.3)",
"asse... |
theo-eng-code-L3-code-002945 | 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(14, 20, -0.05, 0.1, 0.8, 0.7, 1)",
"assert abs(r0[0] - 0.0382) < 1e-6",
"assert abs(r0[1] - 0.7412) < 1e-6",
"assert abs(r0[2] - -0.0373) < 1e-6",
"r1 = com_zmp(7, 16, 0.1, -0.... |
theo-eng-code-L2-code-013807 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 10000, 120)",
"assert abs(r0[0] - 13.51) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.28, 11500, 100)",
"assert abs(r1[0] - 12.14) < 1e-6",
"... |
theo-eng-code-L3-code-002646 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 10500, 100)",
"assert abs(r0[0] - 11.48) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-010333 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(46, 11, 0.5)",
"assert abs(r0 - 33.44) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-005258 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.2, 5)",
"assert r0[0] == 156",
"assert r0[1] == 33",
"assert r0[2] == 5148",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 82.368) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-011568 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(28, 19, 0.5)",
"assert abs(r0 - 23.93) < 1e-6",
"r1 = rms_torque(50, 25, 0.5)",
"assert abs(r1 - 39.53) < 1e-6",
"r2 = rms_torque(68, 39, 0.5)",
"assert abs(r2 - 55.43... |
theo-eng-code-L2-code-003018 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.5, 4.0], [4.5, 4.5])",
"assert abs(r0 - 1.118) < 1e-6",
"r1 = seg_len([4.5, 2.0], [1.0, 3.5])",
"assert abs(r1 - 3.8079) < 1e-6",
"r2 = seg_len([0.5, 4.0], [2.0, 4.0])... |
theo-eng-code-L2-code-006453 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([380, 410, 200, 350, 150], 10)",
"assert abs(r0 - 4.1389) < 1e-6",
"r1 = rect_energy([170, 160, 80, 160, 440], 2)",
"assert abs(r1 - 0.5611) < 1e-6",
"r2 = rect_e... |
theo-eng-code-L1-refuse-006316 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-001139 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 210, 550, 0.3)",
"assert abs(r0[0] - 448.0) < 1e-6",
"assert abs(r0[1] - 2.01) < 1e-6",
"assert abs(r0[2] - 120.5) < 1e-6",
"r1 = runtime(0.1, 40, 500, 0.5)",
"a... |
theo-eng-code-L2-code-005918 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 4500, 180)",
"assert abs(r0[0] - 2.36) < 1e-6",
"assert abs(r0[1] - 1909.9) < 1e-6",
"r1 = gear_ratio(0.28, 9500, 150)",
"assert abs(r1[0] - 6.69) < 1e-6",
"ass... |
theo-eng-code-L3-code-014365 | 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(4.3, 0.12, 90, 0.5, 3.0)",
"assert abs(r0[0] - 3.12) < 1e-6",
"assert abs(r0[1] - 0.0278) < 1e-6",
"assert abs(r0[2] - 3.2) < 1e-6",
"r1 = joint_torque(7.6, 0.26, 30, 7.... |
theo-eng-code-L3-code-007356 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 30, -0.05, 0.04, 0.7, 0.4, 0.5)",
"assert abs(r0[0] - 0.0128) < 1e-6",
"assert abs(r0[1] - 0.4907) < 1e-6",
"assert abs(r0[2] - -0.0122) < 1e-6",
"r1 = com_zmp(6, 19, -0.02... |
theo-eng-code-L1-code-008886 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_loop_sum",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-refuse-006755 | 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": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-012353 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.2, 0.9)",
"assert abs(r0[0] - 3.18) < 1e-6",
"assert abs(r0[1] - 190.9) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-009681 | 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(41, 1580, 100, 0.23, 1.9, 0.013, 1.2, 0.94, 0.85)",
"assert abs(r0[0] - 262.9) < 1e-6",
"assert abs(r0[1] - 13.26) < 1e-6",
"assert abs(r0[2] - 13.26) < 1e-6",
"r1 = erange(33... |
theo-eng-code-L3-code-003673 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 11500, 100)",
"assert abs(r0[0] - 14.31) < 1e-6",
"assert abs(r0[1] - 803.8) < 1e-6",
"r1 = gear_ratio(0.34, 7500, 180)",
"assert abs(r1[0] - 5.34) < 1e-6",
"asse... |
theo-eng-code-L3-code-015828 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 9000, 100)",
"assert abs(r0[0] - 8.82) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.4, 6000, 180)",
"assert abs(r1[0] - 5.03) < 1e-6",
"assert... |
theo-eng-code-L3-code-010927 | 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(33, 2550, 60, 0.24, 2.2, 0.011, 0.8, 0.9, 0.85)",
"assert abs(r0[0] - 222.6) < 1e-6",
"assert abs(r0[1] - 12.6) < 1e-6",
"assert abs(r0[2] - 7.56) < 1e-6",
"r1 = erange(85, 17... |
theo-eng-code-L2-code-015786 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 240, 360, 0.3)",
"assert abs(r0[0] - 324.0) < 1e-6",
"assert abs(r0[1] - 1.39) < 1e-6",
"assert abs(r0[2] - 83.3) < 1e-6",
"r1 = runtime(0.1, 200, 300, 0.7)",
"a... |
theo-eng-code-L3-code-009342 | 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.2, 270, 550, 0.5)",
"assert abs(r0[0] - 410.0) < 1e-6",
"assert abs(r0[1] - 0.44) < 1e-6",
"assert abs(r0[2] - 26.3) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-006693 | 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(64, 2460, 120, 0.29, 2.0, 0.007, 1.3, 0.88, 0.95)",
"assert abs(r0[0] - 322.1) < 1e-6",
"assert abs(r0[1] - 18.88) < 1e-6",
"assert abs(r0[2] - 22.65) < 1e-6",
"r1 = erange(29... |
theo-eng-code-L2-code-005646 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 1340, 100, 0.36, 2.6, 0.007, 0.6, 0.92, 0.95)",
"assert abs(r0[0] - 550.7) < 1e-6",
"assert abs(r0[1] - 16.73) < 1e-6",
"assert abs(r0[2] - 16.73) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-010738 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(10, [0, 25, 50, 75, 100], [0.77, 0.8, 0.87, 0.88, 0.85])",
"assert abs(r0 - 0.782) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.73, 0.83, 0.85, 0.85, 0.85])",
"a... |
theo-eng-code-L2-code-005191 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(54, 33, 0.5)",
"assert abs(r0 - 44.75) < 1e-6",
"r1 = rms_torque(32, 7, 0.5)",
"assert abs(r1 - 23.16) < 1e-6",
"r2 = rms_torque(46, 3, 0.25)",
"assert abs(r2 - 23.15)... |
theo-eng-code-L2-code-012081 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 22, 0.1, 1.0)",
"assert abs(r0[0] - 4.09) < 1e-6",
"assert abs(r0[1] - 245.5) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-013661 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(88, 1760, 120, 0.26, 2.2, 0.013, 0.8, 0.88, 0.9)",
"assert abs(r0[0] - 395.2) < 1e-6",
"assert abs(r0[1] - 20.04) < 1e-6",
"assert abs(r0[2] - 24.05) < 1e-6"
],
"subtas... |
theo-eng-code-L3-code-003608 | 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(100, 11, 0.1, 0.8)",
"assert abs(r0[0] - 7.95) < 1e-6",
"assert abs(r0[1] - 477.3) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L2-code-002408 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-009567 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 3.5], [2.0, 1.0])",
"assert abs(r0 - 3.9051) < 1e-6",
"r1 = seg_len([2.5, 2.5], [2.5, 0.5])",
"assert abs(r1 - 2.0) < 1e-6",
"r2 = seg_len([5.0, 3.5], [4.5, 5.0])",... |
theo-eng-code-L3-code-002970 | 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.3, 13000, 180)",
"assert abs(r0[0] - 8.17) < 1e-6",
"assert abs(r0[1] - 1591.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L1-refuse-011860 | 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": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-001600 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 22, 0.04, -0.05, 0.8, 0.4, 0)",
"assert abs(r0[0] - -0.0333) < 1e-6",
"assert abs(r0[1] - 0.4741) < 1e-6",
"assert abs(r0[2] - -0.0333) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L3-code-014063 | 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(800, 10, 3.6, 2.5)",
"assert r0[0] == 222",
"assert r0[1] == 6",
"assert r0[2] == 1332",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-007192 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.5)",
"assert r0[0] == 94",
"assert r0[1] == 107",
"assert r0[2] == 10058",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 80.464) < 1e-6",
"... |
theo-eng-code-L2-code-004348 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 80, 390, 0.5)",
"assert abs(r0[0] - 235.0) < 1e-6",
"assert abs(r0[1] - 0.77) < 1e-6",
"assert abs(r0[2] - 46.0) < 1e-6",
"r1 = runtime(0.5, 80, 30, 0.5)",
"asse... |
theo-eng-code-L3-code-002944 | 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-L3-code-003388 | 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(1.0, 70, 330, 0.5)",
"assert abs(r0[0] - 200.0) < 1e-6",
"assert abs(r0[1] - 4.5) < 1e-6",
"assert abs(r0[2] - 270.0) < 1e-6",
"r1 = runtime(0.2, 240, 450, 0.3)",
"asse... |
theo-eng-code-L3-code-007444 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 180, 400, 0.7)",
"assert abs(r0[0] - 246.0) < 1e-6",
"assert abs(r0[1] - 3.66) < 1e-6",
"assert abs(r0[2] - 219.5) < 1e-6",
"r1 = runtime(0.1, 140, 500, 0.7)",
"as... |
theo-eng-code-L2-code-001265 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([190, 420, 420], 2)",
"assert abs(r0 - 0.5722) < 1e-6",
"r1 = rect_energy([70, 180, 500, 370, 180], 1)",
"assert abs(r1 - 0.3611) < 1e-6",
"r2 = rect_energy([330,... |
theo-eng-code-L2-code-004191 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 27, 0.5)",
"assert abs(r0 - 28.54) < 1e-6",
"r1 = rms_torque(44, 15, 0.5)",
"assert abs(r1 - 32.87) < 1e-6",
"r2 = rms_torque(44, 21, 0.75)",
"assert abs(r2 - 39.5... |
theo-eng-code-L2-code-003391 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 4000, 180)",
"assert abs(r0[0] - 2.6) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6",
"r1 = gear_ratio(0.39, 10000, 150)",
"assert abs(r1[0] - 9.8) < 1e-6",
"asse... |
theo-eng-code-L3-code-007534 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.37, 6500, 180)",
"assert abs(r0[0] - 5.04) < 1e-6",
"assert abs(r0[1] - 1290.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-000345 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.8, 0.3, 90, 5.0, 0.5)",
"assert abs(r0[0] - 15.89) < 1e-6",
"assert abs(r0[1] - 0.474) < 1e-6",
"assert abs(r0[2] - 16.13) < 1e-6",
"r1 = joint_torque(3.6, 0.37, 60,... |
theo-eng-code-L2-code-003463 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(61, 24, 0.5)",
"assert abs(r0 - 46.35) < 1e-6",
"r1 = rms_torque(36, 3, 0.5)",
"assert abs(r1 - 25.54) < 1e-6",
"r2 = rms_torque(17, 5, 0.75)",
"assert abs(r2 - 14.93)... |
theo-eng-code-L2-code-001437 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 80, 3.7, 50)",
"assert r0[0] == 108",
"assert r0[1] == 5",
"assert r0[2] == 540",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 99.9) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-004356 | 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(4.4, 0.32, 60, 0.0, 1.0)",
"assert abs(r0[0] - 5.98) < 1e-6",
"assert abs(r0[1] - 0.1502) < 1e-6",
"assert abs(r0[2] - 6.13) < 1e-6",
"r1 = joint_torque(1.0, 0.59, 90, 2... |
theo-eng-code-L3-code-015220 | 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(46, 1760, 80, 0.26, 1.9, 0.007, 0.3, 0.92, 0.95)",
"assert abs(r0[0] - 512.0) < 1e-6",
"assert abs(r0[1] - 8.54) < 1e-6",
"assert abs(r0[2] - 6.83) < 1e-6",
"r1 = erange(40, 1... |
theo-eng-code-L3-code-008606 | 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(400, 80, 3.2, 5)",
"assert r0[0] == 125",
"assert r0[1] == 40",
"assert r0[2] == 5000",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-012820 | 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(81, 1900, 80, 0.23, 2.4, 0.012, 0.6, 0.9, 0.95)",
"assert abs(r0[0] - 600.9) < 1e-6",
"assert abs(r0[1] - 12.81) < 1e-6",
"assert abs(r0[2] - 10.25) < 1e-6",
"r1 = erange(45, ... |
theo-eng-code-L1-code-011542 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-002744 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 21, -0.06, -0.03, 0.9, 0.5, 2)",
"assert abs(r0[0] - -0.042) < 1e-6",
"assert abs(r0[1] - 0.66) < 1e-6",
"assert abs(r0[2] - -0.1766) < 1e-6",
"r1 = com_zmp(17, 18, 0.1, ... |
theo-eng-code-L2-code-011028 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.7, 10)",
"assert r0[0] == 108",
"assert r0[1] == 11",
"assert r0[2] == 1188",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 43.956) < 1e-6",
"r1... |
theo-eng-code-L2-code-011223 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, [0, 25, 50, 75, 100], [0.73, 0.81, 0.87, 0.86, 0.8])",
"assert abs(r0 - 0.86) < 1e-6",
"r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.78, 0.83, 0.9, 0.9, 0.85])",
"asse... |
theo-eng-code-L3-code-008898 | 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(1.0, 120, 470, 0.3)",
"assert abs(r0[0] - 365.0) < 1e-6",
"assert abs(r0[1] - 2.47) < 1e-6",
"assert abs(r0[2] - 147.9) < 1e-6",
"r1 = runtime(0.2, 130, 240, 0.5)",
"as... |
theo-eng-code-L2-code-000744 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 130, 250, 0.7)",
"assert abs(r0[0] - 166.0) < 1e-6",
"assert abs(r0[1] - 1.08) < 1e-6",
"assert abs(r0[2] - 65.1) < 1e-6",
"r1 = runtime(0.5, 300, 290, 0.7)",
"a... |
theo-eng-code-L2-code-013884 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 90, 460, 0.3)",
"assert abs(r0[0] - 349.0) < 1e-6",
"assert abs(r0[1] - 1.29) < 1e-6",
"assert abs(r0[2] - 77.4) < 1e-6",
"r1 = runtime(0.5, 150, 350, 0.7)",
"as... |
theo-eng-code-L3-code-013193 | 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(9, 30, 0.04, 0.12, 0.3, 0.9, 1)",
"assert abs(r0[0] - 0.1015) < 1e-6",
"assert abs(r0[1] - 0.7615) < 1e-6",
"assert abs(r0[2] - 0.0239) < 1e-6",
"r1 = com_zmp(10, 19, 0.01, 0.0... |
theo-eng-code-L2-code-003338 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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",
"r1 = charge_time(... |
theo-eng-code-L3-code-008714 | 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.25, 5000, 100)",
"assert abs(r0[0] - 4.71) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.39, 5500, 150)",
"assert abs(r1[0] - 5.39) < 1e-6",
"asser... |
theo-eng-code-L1-clarify-011994 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-000268 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, 36, 0.5)",
"assert abs(r0 - 55.66) < 1e-6",
"r1 = rms_torque(91, 29, 0.25)",
"assert abs(r1 - 51.97) < 1e-6",
"r2 = rms_torque(95, 27, 0.75)",
"assert abs(r2 - 83.... |
theo-eng-code-L2-code-005446 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 450, 430, 230, 400], 1)",
"assert abs(r0 - 0.4333) < 1e-6",
"r1 = rect_energy([470, 210, 120], 10)",
"assert abs(r1 - 2.2222) < 1e-6",
"r2 = rect_energy([360... |
theo-eng-code-L1-code-012212 | 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": "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-012760 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([44, 36, 26, 42, 29, 91])",
"assert abs(r0[0] - 44.667) < 1e-6",
"assert abs(r0[1] - 23.763) < 1e-6",
"r1 = summarise([51, 95, 68, 47])",
"assert abs(r1[0] - 65.25) ... |
theo-eng-code-L1-clarify-012430 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-010704 | 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(94, 2640, 100, 0.23, 2.9, 0.01, 1.4, 0.92, 0.9)",
"assert abs(r0[0] - 451.5) < 1e-6",
"assert abs(r0[1] - 18.74) < 1e-6",
"assert abs(r0[2] - 18.74) < 1e-6",
"r1 = erange(20, ... |
theo-eng-code-L3-code-003804 | 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.5, 80, 360, 0.3)",
"assert abs(r0[0] - 276.0) < 1e-6",
"assert abs(r0[1] - 1.63) < 1e-6",
"assert abs(r0[2] - 97.8) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L1-clarify-008710 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-001869 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.7, 0.58, 60, 2.0, 1.0)",
"assert abs(r0[0] - 28.83) < 1e-6",
"assert abs(r0[1] - 1.5362) < 1e-6",
"assert abs(r0[2] - 30.36) < 1e-6",
"r1 = joint_torque(7.4, 0.26, 60,... |
theo-eng-code-L2-code-004682 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.5, 0.11, 90, 2.0, 4.0)",
"assert abs(r0[0] - 2.43) < 1e-6",
"assert abs(r0[1] - 0.0262) < 1e-6",
"assert abs(r0[2] - 2.53) < 1e-6",
"r1 = joint_torque(4.5, 0.22, 60,... |
theo-eng-code-L2-code-002739 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 60, 3.7, 10)",
"assert r0[0] == 216",
"assert r0[1] == 8",
"assert r0[2] == 1728",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6",
"r1 ... |
theo-eng-code-L1-clarify-002172 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-001950 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(76, 1130, 60, 0.23, 2.1, 0.008, 0.8, 0.88, 0.95)",
"assert abs(r0[0] - 1073.3) < 1e-6",
"assert abs(r0[1] - 6.73) < 1e-6",
"assert abs(r0[2] - 4.04) < 1e-6",
"r1 = erange(70... |
theo-eng-code-L2-code-012457 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.8, 0.6, 45, 7.0, 1.5)",
"assert abs(r0[0] - 32.88) < 1e-6",
"assert abs(r0[1] - 2.736) < 1e-6",
"assert abs(r0[2] - 36.98) < 1e-6",
"r1 = joint_torque(5.6, 0.51, 60,... |
theo-eng-code-L2-code-014363 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.5], [1.5, 1.5])",
"assert abs(r0 - 1.4142) < 1e-6",
"r1 = seg_len([5.0, 2.0], [4.0, 4.0])",
"assert abs(r1 - 2.2361) < 1e-6",
"r2 = seg_len([1.5, 4.0], [0.5, 2.5]... |
theo-eng-code-L2-code-004333 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 2.5], [4.0, 0.0])",
"assert abs(r0 - 3.5355) < 1e-6",
"r1 = seg_len([1.0, 2.5], [1.5, 5.0])",
"assert abs(r1 - 2.5495) < 1e-6",
"r2 = seg_len([5.0, 2.5], [1.5, 2.5]... |
theo-eng-code-L2-code-004532 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-012366 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.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-005169 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 14500, 120)",
"assert abs(r0[0] - 13.21) < 1e-6",
"assert abs(r0[1] - 1097.6) < 1e-6",
"r1 = gear_ratio(0.28, 11500, 100)",
"assert abs(r1[0] - 12.14) < 1e-6",
... |
theo-eng-code-L2-code-004920 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.7, 10)",
"assert r0[0] == 108",
"assert r0[1] == 3",
"assert r0[2] == 324",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-006566 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 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_tim... |
theo-eng-code-L2-code-010363 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 26, 0.09, 0.05, 0.7, 0.4, 2)",
"assert abs(r0[0] - 0.0603) < 1e-6",
"assert abs(r0[1] - 0.4771) < 1e-6",
"assert abs(r0[2] - -0.037) < 1e-6",
"r1 = com_zmp(10, 25, 0.04, 0... |
theo-eng-code-L1-clarify-008582 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-015715 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.2, 0.9)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-004017 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 50}')",
"assert r0[0] == 20",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')",
"assert r1[0] == 60",
"as... |
theo-eng-code-L2-code-011378 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(61, 2350, 100, 0.36, 1.9, 0.01, 0.4, 0.94, 0.9)",
"assert abs(r0[0] - 327.5) < 1e-6",
"assert abs(r0[1] - 16.77) < 1e-6",
"assert abs(r0[2] - 16.77) < 1e-6",
"r1 = erange(72... |
theo-eng-code-L3-code-008290 | 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(11, 27, -0.01, -0.02, 0.5, 0.6, 0.5)",
"assert abs(r0[0] - -0.0171) < 1e-6",
"assert abs(r0[1] - 0.5711) < 1e-6",
"assert abs(r0[2] - -0.0462) < 1e-6",
"r1 = com_zmp(19, 21, 0.... |
theo-eng-code-L3-code-009354 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 260, 120, 0.7)",
"assert abs(r0[0] - 218.0) < 1e-6",
"assert abs(r0[1] - 4.13) < 1e-6",
"assert abs(r0[2] - 247.7) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-004661 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 150, 320, 0.3)",
"assert abs(r0[0] - 269.0) < 1e-6",
"assert abs(r0[1] - 3.35) < 1e-6",
"assert abs(r0[2] - 200.7) < 1e-6",
"r1 = runtime(0.2, 80, 160, 0.5)",
"a... |
theo-eng-code-L2-code-012377 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.6, 100)",
"assert r0[0] == 83",
"assert r0[1] == 3",
"assert r0[2] == 249",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 89.64) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-004049 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 19, 0.03, 0.05, 0.8, 0.9, 0.5)",
"assert abs(r0[0] - 0.0446) < 1e-6",
"assert abs(r0[1] - 0.8731) < 1e-6",
"assert abs(r0[2] - 0.0001) < 1e-6",
"r1 = com_zmp(5, 19, -0.05, 0... |
theo-eng-code-L3-code-006836 | 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(0.7, 0.37, 45, 6.0, 3.0)",
"assert abs(r0[0] - 16.3) < 1e-6",
"assert abs(r0[1] - 0.8533) < 1e-6",
"assert abs(r0[2] - 18.86) < 1e-6",
"r1 = joint_torque(2.9, 0.38, 30, ... |
theo-eng-code-L2-code-004870 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([73, 58, 91, 31])",
"assert abs(r0[0] - 63.25) < 1e-6",
"assert abs(r0[1] - 25.382) < 1e-6",
"r1 = summarise([27, 88, 79, 65, 75])",
"assert abs(r1[0] - 66.8) < 1e-6... |
theo-eng-code-L3-code-001137 | 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(0.5, 0.2, 60, 3.5, 0.5)",
"assert abs(r0[0] - 6.37) < 1e-6",
"assert abs(r0[1] - 0.1467) < 1e-6",
"assert abs(r0[2] - 6.45) < 1e-6",
"r1 = joint_torque(1.6, 0.12, 45, 4.... |
theo-eng-code-L2-code-014558 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 5000, 150)",
"assert abs(r0[0] - 5.28) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6",
"r1 = gear_ratio(0.27, 6500, 180)",
"assert abs(r1[0] - 3.68) < 1e-6",
"asse... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.