id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L1-refuse-004039 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-011842 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.4, 0.2, 45, 2.0, 0.0)",
"assert abs(r0[0] - 7.21) < 1e-6",
"assert abs(r0[1] - 0.1653) < 1e-6",
"assert abs(r0[2] - 7.21) < 1e-6",
"r1 = joint_torque(6.8, 0.32, 90, ... |
theo-eng-code-L2-code-001813 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008174 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5], [2.0, 5.0])",
"assert abs(r0 - 1.5811) < 1e-6",
"r1 = seg_len([3.5, 4.5], [4.0, 3.5])",
"assert abs(r1 - 1.118) < 1e-6",
"r2 = seg_len([0.5, 4.5], [1.0, 1.0])... |
theo-eng-code-L3-code-012369 | 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(24, 2100, 100, 0.29, 2.2, 0.007, 0.4, 0.94, 0.95)",
"assert abs(r0[0] - 168.0) < 1e-6",
"assert abs(r0[1] - 13.57) < 1e-6",
"assert abs(r0[2] - 13.57) < 1e-6",
"r1 = erange(67... |
theo-eng-code-L3-code-007057 | 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.4, 5500, 180)",
"assert abs(r0[0] - 4.61) < 1e-6",
"assert abs(r0[1] - 1193.7) < 1e-6",
"r1 = gear_ratio(0.31, 10000, 180)",
"assert abs(r1[0] - 6.49) < 1e-6",
"asser... |
theo-eng-code-L2-code-013203 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([25, 13, 50, 31, 53, 32])",
"assert r0[0] == 34",
"assert abs(r0[1] - 15.179) < 1e-6",
"r1 = summarise([45, 34, 42, 37, 11])",
"assert abs(r1[0] - 33.8) < 1e-6",
... |
theo-eng-code-L2-code-009324 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 22, 0.2, 1.0)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-010227 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-001910 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.78, 0.81, 0.9, 0.86, 0.82])",
"assert abs(r0 - 0.9) < 1e-6",
"r1 = interp_eff(75, [0, 25, 50, 75, 100], [0.77, 0.84, 0.85, 0.85, 0.85])",
"ass... |
theo-eng-code-L2-code-002579 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.5, 0.59, 90, 0.0, 1.0)",
"assert abs(r0[0] - 18.81) < 1e-6",
"assert abs(r0[1] - 0.7542) < 1e-6",
"assert abs(r0[2] - 19.56) < 1e-6",
"r1 = joint_torque(3.3, 0.47, 3... |
theo-eng-code-L2-code-001731 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(50, 23, 0.25)",
"assert abs(r0 - 31.96) < 1e-6",
"r1 = rms_torque(17, 7, 0.5)",
"assert abs(r1 - 13.0) < 1e-6",
"r2 = rms_torque(88, 30, 0.75)",
"assert abs(r2 - 77.67... |
theo-eng-code-L2-code-005125 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([90, 13, 84, 42, 29])",
"assert abs(r0[0] - 51.6) < 1e-6",
"assert abs(r0[1] - 33.975) < 1e-6",
"r1 = summarise([16, 81, 63, 43])",
"assert abs(r1[0] - 50.75) < 1e-6... |
theo-eng-code-L3-code-008686 | 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(80, 50, 0.1, 1.0)",
"assert abs(r0[0] - 1.8) < 1e-6",
"assert abs(r0[1] - 108.0) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(... |
theo-eng-code-L3-code-007116 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.2, 0.53, 60, 4.0, 2.5)",
"assert abs(r0[0] - 25.22) < 1e-6",
"assert abs(r0[1] - 1.4232) < 1e-6",
"assert abs(r0[2] - 28.77) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L3-code-011655 | 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.35, 6500, 180)",
"assert abs(r0[0] - 4.76) < 1e-6",
"assert abs(r0[1] - 1364.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-005135 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 17",
"assert r0[2] == 2652",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 21.216) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-010392 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.76, 0.81, 0.85, 0.86, 0.8])",
"assert abs(r0 - 0.848) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.79, 0.83, 0.88, 0.86, 0.8])",
"as... |
theo-eng-code-L3-code-005002 | 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.42, 14000, 100)",
"assert abs(r0[0] - 22.17) < 1e-6",
"assert abs(r0[1] - 631.6) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-001116 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-008480 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 4.5], [1.5, 3.5])",
"assert abs(r0 - 1.8028) < 1e-6",
"r1 = seg_len([2.5, 0.5], [2.0, 4.5])",
"assert abs(r1 - 4.0311) < 1e-6",
"r2 = seg_len([1.0, 3.5], [2.0, 5.0]... |
theo-eng-code-L3-code-014648 | 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(800, 80, 3.7, 100)",
"assert r0[0] == 216",
"assert r0[1] == 2",
"assert r0[2] == 432",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 159.84) < 1e-6",
"r1 = ... |
theo-eng-code-L1-code-004618 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-005343 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.6, 5)",
"assert r0[0] == 83",
"assert r0[1] == 54",
"assert r0[2] == 4482",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 80.676) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-010557 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.6, 5)",
"assert r0[0] == 139",
"assert r0[1] == 16",
"assert r0[2] == 2224",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 40.032) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-005520 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 66, 75, 88])",
"assert abs(r0[0] - 74.75) < 1e-6",
"assert abs(r0[1] - 9.57) < 1e-6",
"r1 = summarise([51, 87, 55, 40, 85, 89])",
"assert abs(r1[0] - 67.833) < ... |
theo-eng-code-L3-code-013469 | 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.44, 6000, 100)",
"assert abs(r0[0] - 9.95) < 1e-6",
"assert abs(r0[1] - 602.9) < 1e-6",
"r1 = gear_ratio(0.41, 15000, 150)",
"assert abs(r1[0] - 15.46) < 1e-6",
"asse... |
theo-eng-code-L2-code-003901 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, -0.07, 0.1, 0.9, 0.5, 2)",
"assert abs(r0[0] - 0.0472) < 1e-6",
"assert abs(r0[1] - 0.6241) < 1e-6",
"assert abs(r0[2] - -0.08) < 1e-6",
"r1 = com_zmp(18, 28, -0.04, 0... |
theo-eng-code-L2-code-005798 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 60, 3.2, 100)",
"assert r0[0] == 156",
"assert r0[1] == 2",
"assert r0[2] == 312",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 99.84) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-003509 | 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, 140, 190, 0.5)",
"assert abs(r0[0] - 165.0) < 1e-6",
"assert abs(r0[1] - 1.09) < 1e-6",
"assert abs(r0[2] - 65.5) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-005422 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 19, 0.01, 0.02, 0.3, 0.4, 0.5)",
"assert abs(r0[0] - 0.0163) < 1e-6",
"assert abs(r0[1] - 0.3633) < 1e-6",
"assert abs(r0[2] - -0.0022) < 1e-6",
"r1 = com_zmp(16, 25, -0.07... |
theo-eng-code-L3-code-005023 | 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(31, 4, 0.5)",
"assert abs(r0 - 22.1) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L2-code-006247 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-003137 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-002765 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-002419 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 110, 330, 0.7)",
"assert abs(r0[0] - 176.0) < 1e-6",
"assert abs(r0[1] - 1.02) < 1e-6",
"assert abs(r0[2] - 61.4) < 1e-6",
"r1 = runtime(0.2, 220, 410, 0.7)",
"a... |
theo-eng-code-L2-code-004192 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 13, -0.07, 0.12, 0.8, 0.5, 0)",
"assert abs(r0[0] - 0.0123) < 1e-6",
"assert abs(r0[1] - 0.67) < 1e-6",
"assert abs(r0[2] - 0.0123) < 1e-6",
"r1 = com_zmp(16, 16, -0.05, ... |
theo-eng-code-L2-code-008561 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([65, 23, 66, 30])",
"assert r0[0] == 46",
"assert abs(r0[1] - 22.701) < 1e-6",
"r1 = summarise([59, 29, 90, 36])",
"assert abs(r1[0] - 53.5) < 1e-6",
"assert abs... |
theo-eng-code-L3-code-003728 | 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(93, 1140, 120, 0.35, 2.6, 0.013, 0.4, 0.9, 0.85)",
"assert abs(r0[0] - 330.3) < 1e-6",
"assert abs(r0[1] - 23.93) < 1e-6",
"assert abs(r0[2] - 28.72) < 1e-6",
"r1 = erange(70,... |
theo-eng-code-L2-code-009186 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-006137 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(62, 16, 0.75)",
"assert abs(r0 - 54.29) < 1e-6",
"r1 = rms_torque(90, 18, 0.5)",
"assert abs(r1 - 64.9) < 1e-6",
"r2 = rms_torque(36, 4, 0.5)",
"assert abs(r2 - 25.61)... |
theo-eng-code-L2-code-004357 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([180, 70, 130, 350, 450], 5)",
"assert abs(r0 - 1.6389) < 1e-6",
"r1 = rect_energy([460, 110, 220, 80], 5)",
"assert abs(r1 - 1.2083) < 1e-6",
"r2 = rect_energy([... |
theo-eng-code-L2-code-009435 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-010850 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 26, 0.08, 0.12, 0.5, 0.9, 2)",
"assert abs(r0[0] - 0.1089) < 1e-6",
"assert abs(r0[1] - 0.7889) < 1e-6",
"assert abs(r0[2] - -0.0519) < 1e-6",
"r1 = com_zmp(6, 21, -0.03,... |
theo-eng-code-L3-code-011029 | 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, 21, -0.02, 0.06, 0.6, 0.7, 2)",
"assert abs(r0[0] - 0.036) < 1e-6",
"assert abs(r0[1] - 0.67) < 1e-6",
"assert abs(r0[2] - -0.1006) < 1e-6",
"r1 = com_zmp(8, 18, -0.1, 0.05,... |
theo-eng-code-L2-code-004427 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 28, 0.05, 0.15, 0.8, 0.6, 0.5)",
"assert abs(r0[0] - 0.1083) < 1e-6",
"assert abs(r0[1] - 0.6833) < 1e-6",
"assert abs(r0[2] - 0.0735) < 1e-6",
"r1 = com_zmp(7, 11, -0.03... |
theo-eng-code-L2-code-014738 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 16, 0.04, -0.01, 0.7, 0.9, 1)",
"assert abs(r0[0] - 0.0114) < 1e-6",
"assert abs(r0[1] - 0.8143) < 1e-6",
"assert abs(r0[2] - -0.0716) < 1e-6",
"r1 = com_zmp(16, 22, -0.0... |
theo-eng-code-L3-code-006503 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(43, 34, 0.25)",
"assert abs(r0 - 36.46) < 1e-6",
"r1 = rms_torque(61, 15, 0.5)",
"assert abs(r1 - 44.42) < 1e-6",
"r2 = rms_torque(22, 22, 0.5)",
"assert abs(r2 - 22.0) ... |
theo-eng-code-L2-code-006366 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 290, 110, 0.3)",
"assert abs(r0[0] - 164.0) < 1e-6",
"assert abs(r0[1] - 2.74) < 1e-6",
"assert abs(r0[2] - 164.6) < 1e-6",
"r1 = runtime(0.1, 150, 440, 0.5)",
"... |
theo-eng-code-L2-code-011659 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(36, 7, 0.25)",
"assert abs(r0 - 18.99) < 1e-6",
"r1 = rms_torque(21, 21, 0.75)",
"assert abs(r1 - 21.0) < 1e-6",
"r2 = rms_torque(97, 31, 0.5)",
"assert abs(r2 - 72.01... |
theo-eng-code-L2-code-012727 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.5)",
"assert abs(r0 - 18.36) < 1e-6",
"r1 = rms_torque(74, 38, 0.5)",
"assert abs(r1 - 58.82) < 1e-6",
"r2 = rms_torque(72, 18, 0.75)",
"assert abs(r2 - 63.0)... |
theo-eng-code-L2-code-007565 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-000841 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 160, 340, 0.7)",
"assert abs(r0[0] - 214.0) < 1e-6",
"assert abs(r0[1] - 0.42) < 1e-6",
"assert abs(r0[2] - 25.2) < 1e-6",
"r1 = runtime(1.0, 180, 320, 0.7)",
"a... |
theo-eng-code-L3-code-002583 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(82, 37, 0.75)",
"assert abs(r0 - 73.38) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-003061 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 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(1... |
theo-eng-code-L3-code-014316 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 14, 0.06, 0.04, 0.9, 0.8, 0.5)",
"assert abs(r0[0] - 0.0488) < 1e-6",
"assert abs(r0[1] - 0.844) < 1e-6",
"assert abs(r0[2] - 0.0058) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-006739 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.3, 0.18, 45, 1.5, 3.5)",
"assert abs(r0[0] - 3.31) < 1e-6",
"assert abs(r0[1] - 0.0734) < 1e-6",
"assert abs(r0[2] - 3.57) < 1e-6",
"r1 = joint_torque(1.0, 0.22, 45,... |
theo-eng-code-L2-code-001528 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 26, -0.1, 0.15, 0.9, 0.6, 1)",
"assert abs(r0[0] - 0.0625) < 1e-6",
"assert abs(r0[1] - 0.705) < 1e-6",
"assert abs(r0[2] - -0.0094) < 1e-6",
"r1 = com_zmp(8, 16, 0.07, 0... |
theo-eng-code-L3-code-014469 | 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(6.4, 0.36, 30, 3.0, 2.0)",
"assert abs(r0[0] - 10.95) < 1e-6",
"assert abs(r0[1] - 0.6653) < 1e-6",
"assert abs(r0[2] - 12.28) < 1e-6",
"r1 = joint_torque(7.2, 0.13, 60,... |
theo-eng-code-L2-code-014087 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 50, 0.1, 0.8)",
"assert abs(r0[0] - 1.05) < 1e-6",
"assert abs(r0[1] - 63.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L1-code-005681 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-clarify-004283 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-003603 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.5, 0.28, 60, 6.0, 3.0)",
"assert abs(r0[0] - 22.0) < 1e-6",
"assert abs(r0[1] - 0.6403) < 1e-6",
"assert abs(r0[2] - 23.92) < 1e-6",
"r1 = joint_torque(1.4, 0.57, 90... |
theo-eng-code-L2-code-009386 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(92, 33, 0.75)",
"assert abs(r0 - 81.36) < 1e-6",
"r1 = rms_torque(75, 17, 0.5)",
"assert abs(r1 - 54.38) < 1e-6",
"r2 = rms_torque(42, 7, 0.5)",
"assert abs(r2 - 30.11... |
theo-eng-code-L1-code-006733 | 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-003666 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 13000, 100)",
"assert abs(r0[0] - 17.64) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.32, 13000, 180)",
"assert abs(r1[0] - 8.71) < 1e-6",
"a... |
theo-eng-code-L2-code-005649 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 180, 380, 0.7)",
"assert abs(r0[0] - 240.0) < 1e-6",
"assert abs(r0[1] - 3.75) < 1e-6",
"assert abs(r0[2] - 225.0) < 1e-6",
"r1 = runtime(0.5, 260, 180, 0.3)",
"... |
theo-eng-code-L3-code-004505 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 29, -0.1, 0.06, 0.4, 0.7, 1)",
"assert abs(r0[0] - 0.0326) < 1e-6",
"assert abs(r0[1] - 0.6486) < 1e-6",
"assert abs(r0[2] - -0.0335) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L2-code-007206 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([300, 290, 180, 140], 1)",
"assert abs(r0 - 0.2528) < 1e-6",
"r1 = rect_energy([90, 140, 200, 220, 300], 1)",
"assert abs(r1 - 0.2639) < 1e-6",
"r2 = rect_energy(... |
theo-eng-code-L2-code-015549 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.0], [2.0, 2.5])",
"assert abs(r0 - 3.2016) < 1e-6",
"r1 = seg_len([0.0, 3.5], [1.0, 0.0])",
"assert abs(r1 - 3.6401) < 1e-6",
"r2 = seg_len([1.5, 2.0], [2.0, 1.5]... |
theo-eng-code-L2-code-009089 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-001349 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 11, 0.0, 0.15, 0.5, 0.6, 2)",
"assert abs(r0[0] - 0.066) < 1e-6",
"assert abs(r0[1] - 0.544) < 1e-6",
"assert abs(r0[2] - -0.0449) < 1e-6",
"r1 = com_zmp(19, 23, 0.02, -0... |
theo-eng-code-L1-code-004074 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-008238 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([92, 79, 78, 28, 75, 95])",
"assert abs(r0[0] - 74.5) < 1e-6",
"assert abs(r0[1] - 24.172) < 1e-6",
"r1 = summarise([61, 29, 93, 46, 34])",
"assert abs(r1[0] - 52.6)... |
theo-eng-code-L2-code-000208 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 2.5], [5.0, 3.5])",
"assert abs(r0 - 1.0) < 1e-6",
"r1 = seg_len([5.0, 0.0], [2.5, 2.5])",
"assert abs(r1 - 3.5355) < 1e-6",
"r2 = seg_len([0.5, 1.5], [2.5, 1.5])",... |
theo-eng-code-L1-refuse-011647 | 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-L2-code-011332 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-014731 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.5, 0.5], [4.5, 2.0])",
"assert abs(r0 - 3.3541) < 1e-6",
"r1 = seg_len([1.5, 3.0], [3.5, 1.0])",
"assert abs(r1 - 2.8284) < 1e-6",
"r2 = seg_len([3.0, 1.5], [4.5, 5.0]... |
theo-eng-code-L2-code-002872 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 14, -0.09, -0.03, 0.3, 0.7, 2)",
"assert abs(r0[0] - -0.0653) < 1e-6",
"assert abs(r0[1] - 0.4647) < 1e-6",
"assert abs(r0[2] - -0.16) < 1e-6",
"r1 = com_zmp(17, 16, -0.0... |
theo-eng-code-L1-clarify-010872 | 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-L1-clarify-008690 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-014904 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(67, 2040, 80, 0.37, 2.6, 0.012, 1.4, 0.9, 0.85)",
"assert abs(r0[0] - 313.9) < 1e-6",
"assert abs(r0[1] - 18.14) < 1e-6",
"assert abs(r0[2] - 14.51) < 1e-6",
"r1 = erange(23... |
theo-eng-code-L2-code-002607 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-010658 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 7, 0.2, 0.9)",
"assert abs(r0[0] - 10.0) < 1e-6",
"assert abs(r0[1] - 600.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 7"
],
"subtask":... |
theo-eng-code-L2-code-010040 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 5.0], [2.5, 4.0])",
"assert abs(r0 - 1.4142) < 1e-6",
"r1 = seg_len([4.5, 0.0], [2.0, 4.5])",
"assert abs(r1 - 5.1478) < 1e-6",
"r2 = seg_len([3.0, 0.0], [0.0, 3.0]... |
theo-eng-code-L2-code-011097 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(52, 36, 0.25)",
"assert abs(r0 - 40.6) < 1e-6",
"r1 = rms_torque(98, 36, 0.25)",
"assert abs(r1 - 58.08) < 1e-6",
"r2 = rms_torque(63, 30, 0.75)",
"assert abs(r2 - 56.... |
theo-eng-code-L3-code-003174 | 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(16, 30, -0.03, 0.13, 0.8, 0.5, 0)",
"assert abs(r0[0] - 0.0743) < 1e-6",
"assert abs(r0[1] - 0.6043) < 1e-6",
"assert abs(r0[2] - 0.0743) < 1e-6",
"r1 = com_zmp(14, 29, 0.09, 0... |
theo-eng-code-L2-code-004115 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 2020, 120, 0.24, 2.5, 0.013, 0.6, 0.88, 0.9)",
"assert abs(r0[0] - 179.8) < 1e-6",
"assert abs(r0[1] - 21.52) < 1e-6",
"assert abs(r0[2] - 25.83) < 1e-6",
"r1 = erange(9... |
theo-eng-code-L2-code-007540 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 10, -0.1, 0.09, 0.4, 0.8, 1)",
"assert abs(r0[0] - -0.0095) < 1e-6",
"assert abs(r0[1] - 0.5905) < 1e-6",
"assert abs(r0[2] - -0.0697) < 1e-6",
"r1 = com_zmp(19, 14, 0.0,... |
theo-eng-code-L2-code-012929 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 1.5], [4.5, 4.0])",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = seg_len([3.0, 4.0], [2.0, 2.5])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([2.0, 1.0], [3.5, 5.0])",... |
theo-eng-code-L2-code-002225 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([29, 53, 93, 61, 73])",
"assert abs(r0[0] - 61.8) < 1e-6",
"assert abs(r0[1] - 23.732) < 1e-6",
"r1 = summarise([82, 18, 66, 11, 43])",
"assert r1[0] == 44",
"as... |
theo-eng-code-L3-code-003475 | 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(64, 1800, 100, 0.35, 2.5, 0.007, 0.8, 0.88, 0.9)",
"assert abs(r0[0] - 324.4) < 1e-6",
"assert abs(r0[1] - 17.76) < 1e-6",
"assert abs(r0[2] - 17.76) < 1e-6",
"r1 = erange(63,... |
theo-eng-code-L1-code-000735 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-007984 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.9, 0.53, 30, 7.5, 3.0)",
"assert abs(r0[0] - 24.57) < 1e-6",
"assert abs(r0[1] - 2.4719) < 1e-6",
"assert abs(r0[2] - 31.98) < 1e-6",
"r1 = joint_torque(1.5, 0.42, 3... |
theo-eng-code-L2-code-001148 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11500, 120)",
"assert abs(r0[0] - 9.39) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6",
"r1 = gear_ratio(0.41, 9000, 150)",
"assert abs(r1[0] - 9.27) < 1e-6",
"as... |
theo-eng-code-L2-code-005706 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, 1350, 60, 0.36, 2.5, 0.01, 0.6, 0.92, 0.9)",
"assert abs(r0[0] - 420.9) < 1e-6",
"assert abs(r0[1] - 9.62) < 1e-6",
"assert abs(r0[2] - 5.77) < 1e-6",
"r1 = erange(91, 2... |
theo-eng-code-L2-code-008512 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 24, -0.02, -0.04, 0.8, 0.4, 0.5)",
"assert abs(r0[0] - -0.0309) < 1e-6",
"assert abs(r0[1] - 0.5818) < 1e-6",
"assert abs(r0[2] - -0.0606) < 1e-6",
"r1 = com_zmp(12, 30, ... |
theo-eng-code-L3-code-010065 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 210, 540, 0.7)",
"assert abs(r0[0] - 309.0) < 1e-6",
"assert abs(r0[1] - 0.29) < 1e-6",
"assert abs(r0[2] - 17.5) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-013099 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 230, 380, 0.5)",
"assert abs(r0[0] - 305.0) < 1e-6",
"assert abs(r0[1] - 1.48) < 1e-6",
"assert abs(r0[2] - 88.5) < 1e-6",
"r1 = runtime(1.0, 140, 90, 0.5)",
"as... |
theo-eng-code-L1-refuse-005686 | 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": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.