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-002720 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 29, 0.06, 0.03, 0.8, 0.9, 2)",
"assert abs(r0[0] - 0.0358) < 1e-6",
"assert abs(r0[1] - 0.8806) < 1e-6",
"assert abs(r0[2] - -0.1437) < 1e-6",
"r1 = com_zmp(17, 22, -0.05,... |
theo-eng-code-L3-code-011806 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 4000, 150)",
"assert abs(r0[0] - 3.12) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-005900 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 200, 350, 0.3)",
"assert abs(r0[0] - 305.0) < 1e-6",
"assert abs(r0[1] - 0.59) < 1e-6",
"assert abs(r0[2] - 35.4) < 1e-6",
"r1 = runtime(0.5, 40, 490, 0.7)",
"asse... |
theo-eng-code-L2-code-009731 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008739 | 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.34, 14500, 120)",
"assert abs(r0[0] - 15.49) < 1e-6",
"assert abs(r0[1] - 936.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-002433 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(21, 10, 0.25)",
"assert abs(r0 - 13.61) < 1e-6",
"r1 = rms_torque(44, 17, 0.5)",
"assert abs(r1 - 33.35) < 1e-6",
"r2 = rms_torque(66, 39, 0.75)",
"assert abs(r2 - 60.... |
theo-eng-code-L2-code-014471 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([41, 71, 49, 95])",
"assert r0[0] == 64",
"assert abs(r0[1] - 24.249) < 1e-6",
"r1 = summarise([24, 11, 60, 78])",
"assert abs(r1[0] - 43.25) < 1e-6",
"assert ab... |
theo-eng-code-L2-code-000367 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 5, 0.75)",
"assert abs(r0 - 14.93) < 1e-6",
"r1 = rms_torque(97, 38, 0.5)",
"assert abs(r1 - 73.66) < 1e-6",
"r2 = rms_torque(13, 8, 0.25)",
"assert abs(r2 - 9.5) ... |
theo-eng-code-L2-code-008612 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.8, 0.1, 60, 5.5, 3.0)",
"assert abs(r0[0] - 7.56) < 1e-6",
"assert abs(r0[1] - 0.0777) < 1e-6",
"assert abs(r0[2] - 7.79) < 1e-6",
"r1 = joint_torque(0.6, 0.45, 45, ... |
theo-eng-code-L2-code-004750 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([470, 80, 210], 5)",
"assert abs(r0 - 1.0556) < 1e-6",
"r1 = rect_energy([200, 250, 120, 380, 470], 1)",
"assert abs(r1 - 0.3944) < 1e-6",
"r2 = rect_energy([50, ... |
theo-eng-code-L2-code-005797 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 3.2, 50)",
"assert r0[0] == 156",
"assert r0[1] == 3",
"assert r0[2] == 468",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 74.88) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-001468 | 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(4.2, 0.17, 90, 8.0, 4.0)",
"assert abs(r0[0] - 16.84) < 1e-6",
"assert abs(r0[1] - 0.2717) < 1e-6",
"assert abs(r0[2] - 17.93) < 1e-6",
"r1 = joint_torque(2.6, 0.1, 90, ... |
theo-eng-code-L2-code-010449 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 2580, 120, 0.31, 1.9, 0.01, 1.5, 0.94, 0.9)",
"assert abs(r0[0] - 437.4) < 1e-6",
"assert abs(r0[1] - 20.57) < 1e-6",
"assert abs(r0[2] - 24.69) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L3-code-008568 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 8",
"assert r0[2] == 1112",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 10.008) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-008367 | 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, 1830, 100, 0.29, 1.9, 0.011, 1.5, 0.94, 0.85)",
"assert abs(r0[0] - 186.6) < 1e-6",
"assert abs(r0[1] - 15.03) < 1e-6",
"assert abs(r0[2] - 15.03) < 1e-6",
"r1 = erange(65... |
theo-eng-code-L2-code-011808 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-000558 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(73, 27, 0.75)",
"assert abs(r0 - 64.65) < 1e-6",
"r1 = rms_torque(93, 33, 0.5)",
"assert abs(r1 - 69.78) < 1e-6",
"r2 = rms_torque(96, 26, 0.25)",
"assert abs(r2 - 53.... |
theo-eng-code-L2-code-015713 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 13500, 150)",
"assert abs(r0[0] - 13.57) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6",
"r1 = gear_ratio(0.35, 14000, 150)",
"assert abs(r1[0] - 12.32) < 1e-6",
"a... |
theo-eng-code-L2-code-003334 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(52, 2410, 100, 0.26, 2.6, 0.01, 1.4, 0.94, 0.85)",
"assert abs(r0[0] - 247.9) < 1e-6",
"assert abs(r0[1] - 17.83) < 1e-6",
"assert abs(r0[2] - 17.83) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L2-code-010978 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 12500, 180)",
"assert abs(r0[0] - 7.33) < 1e-6",
"assert abs(r0[1] - 1705.2) < 1e-6",
"r1 = gear_ratio(0.33, 8500, 120)",
"assert abs(r1[0] - 8.81) < 1e-6",
"as... |
theo-eng-code-L2-code-010328 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(31, 2170, 80, 0.26, 2.4, 0.013, 0.7, 0.9, 0.9)",
"assert abs(r0[0] - 183.1) < 1e-6",
"assert abs(r0[1] - 15.24) < 1e-6",
"assert abs(r0[2] - 12.19) < 1e-6",
"r1 = erange(29,... |
theo-eng-code-L2-code-013589 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 29, 0.06, 0.04, 0.5, 0.9, 0)",
"assert abs(r0[0] - 0.0471) < 1e-6",
"assert abs(r0[1] - 0.7578) < 1e-6",
"assert abs(r0[2] - 0.0471) < 1e-6",
"r1 = com_zmp(11, 25, -0.09,... |
theo-eng-code-L1-clarify-009256 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-008519 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 250, 210, 0.3)",
"assert abs(r0[0] - 222.0) < 1e-6",
"assert abs(r0[1] - 0.41) < 1e-6",
"assert abs(r0[2] - 24.3) < 1e-6",
"r1 = runtime(1.0, 110, 520, 0.7)",
"a... |
theo-eng-code-L2-code-003726 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(62, 32, 0.25)",
"assert abs(r0 - 41.58) < 1e-6",
"r1 = rms_torque(27, 17, 0.25)",
"assert abs(r1 - 19.97) < 1e-6",
"r2 = rms_torque(87, 10, 0.25)",
"assert abs(r2 - 44... |
theo-eng-code-L3-code-009692 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(94, 2780, 60, 0.28, 2.0, 0.011, 0.3, 0.92, 0.95)",
"assert abs(r0[0] - 718.2) < 1e-6",
"assert abs(r0[1] - 12.43) < 1e-6",
"assert abs(r0[2] - 7.46) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-015782 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 100}')",
"assert r0[0] == 40",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r1[0] == 60",
... |
theo-eng-code-L2-code-009894 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 16, 0.75)",
"assert abs(r0 - 57.71) < 1e-6",
"r1 = rms_torque(38, 23, 0.75)",
"assert abs(r1 - 34.86) < 1e-6",
"r2 = rms_torque(62, 29, 0.75)",
"assert abs(r2 - 55... |
theo-eng-code-L2-code-001475 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([32, 72, 18, 45, 78, 29])",
"assert abs(r0[0] - 45.667) < 1e-6",
"assert abs(r0[1] - 24.369) < 1e-6",
"r1 = summarise([20, 23, 94, 16, 37, 16])",
"assert abs(r1[0] -... |
theo-eng-code-L3-code-000831 | 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, 100)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-004249 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.1, 0.8)",
"assert abs(r0[0] - 2.5) < 1e-6",
"assert abs(r0[1] - 150.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(60... |
theo-eng-code-L2-code-000272 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 0.9)",
"assert abs(r0[0] - 2.5) < 1e-6",
"assert abs(r0[1] - 150.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L1-code-007819 | 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-000024 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001999 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-003525 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 13, -0.09, 0.09, 0.5, 0.7, 2)",
"assert abs(r0[0] - -0.0169) < 1e-6",
"assert abs(r0[1] - 0.5813) < 1e-6",
"assert abs(r0[2] - -0.1354) < 1e-6",
"r1 = com_zmp(12, 24, -0.... |
theo-eng-code-L2-code-013457 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 2, 0.25)",
"assert abs(r0 - 6.73) < 1e-6",
"r1 = rms_torque(65, 7, 0.25)",
"assert abs(r1 - 33.06) < 1e-6",
"r2 = rms_torque(63, 9, 0.5)",
"assert abs(r2 - 45.0) <... |
theo-eng-code-L3-code-009400 | 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.25, 9500, 150)",
"assert abs(r0[0] - 5.97) < 1e-6",
"assert abs(r0[1] - 1591.5) < 1e-6",
"r1 = gear_ratio(0.3, 9000, 180)",
"assert abs(r1[0] - 5.65) < 1e-6",
"assert... |
theo-eng-code-L2-code-003598 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.2, 10)",
"assert r0[0] == 250",
"assert r0[1] == 10",
"assert r0[2] == 2500",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-012878 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(55, 2110, 80, 0.35, 2.5, 0.011, 0.6, 0.9, 0.95)",
"assert abs(r0[0] - 327.7) < 1e-6",
"assert abs(r0[1] - 15.95) < 1e-6",
"assert abs(r0[2] - 12.76) < 1e-6",
"r1 = erange(37... |
theo-eng-code-L2-code-003453 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 300, 290, 180, 140], 10)",
"assert abs(r0 - 2.6667) < 1e-6",
"r1 = rect_energy([340, 470, 220, 290], 5)",
"assert abs(r1 - 1.8333) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L2-code-008844 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.1, 0.42, 30, 6.5, 0.5)",
"assert abs(r0[0] - 14.52) < 1e-6",
"assert abs(r0[1] - 1.2113) < 1e-6",
"assert abs(r0[2] - 15.13) < 1e-6",
"r1 = joint_torque(7.5, 0.53, 9... |
theo-eng-code-L2-code-012676 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 2430, 60, 0.24, 2.1, 0.012, 0.5, 0.94, 0.9)",
"assert abs(r0[0] - 426.4) < 1e-6",
"assert abs(r0[1] - 11.82) < 1e-6",
"assert abs(r0[2] - 7.09) < 1e-6",
"r1 = erange(41,... |
theo-eng-code-L1-refuse-011392 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-refuse-010728 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-clarify-003456 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-013941 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.25) < 1e-6",
"assert abs(r0[1] - 15.0) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r... |
theo-eng-code-L3-code-005047 | 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.25, 9000, 180)",
"assert abs(r0[0] - 4.71) < 1e-6",
"assert abs(r0[1] - 1909.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-005040 | 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(17, 14, 0.05, -0.04, 0.4, 0.5, 0.5)",
"assert abs(r0[0] - 0.0094) < 1e-6",
"assert abs(r0[1] - 0.4452) < 1e-6",
"assert abs(r0[2] - -0.0133) < 1e-6",
"r1 = com_zmp(6, 17, 0.1, ... |
theo-eng-code-L2-code-011048 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 110, 310, 0.5)",
"assert abs(r0[0] - 210.0) < 1e-6",
"assert abs(r0[1] - 0.43) < 1e-6",
"assert abs(r0[2] - 25.7) < 1e-6",
"r1 = runtime(1.0, 170, 150, 0.7)",
"a... |
theo-eng-code-L2-code-002114 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 430, 310, 110, 500], 1)",
"assert abs(r0 - 0.3944) < 1e-6",
"r1 = rect_energy([170, 200, 80, 210], 10)",
"assert abs(r1 - 1.8333) < 1e-6",
"r2 = rect_energy(... |
theo-eng-code-L2-code-004309 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 13, 0.01, 0.01, 0.5, 0.7, 0.5)",
"assert abs(r0[0] - 0.01) < 1e-6",
"assert abs(r0[1] - 0.63) < 1e-6",
"assert abs(r0[2] - -0.0221) < 1e-6",
"r1 = com_zmp(14, 29, -0.07, -... |
theo-eng-code-L2-code-000140 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.0, 4.0], [4.0, 4.0])",
"assert abs(r0 - 0.0) < 1e-6",
"r1 = seg_len([3.0, 1.0], [1.5, 2.5])",
"assert abs(r1 - 2.1213) < 1e-6",
"r2 = seg_len([2.5, 3.0], [1.5, 3.5])",... |
theo-eng-code-L3-code-011200 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 4500, 180)",
"assert abs(r0[0] - 3.39) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.43, 7500, 120)",
"assert abs(r1[0] - 10.13) < 1e-6",
"asse... |
theo-eng-code-L2-code-005955 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(77, 11, 0.5)",
"assert abs(r0 - 55.0) < 1e-6",
"r1 = rms_torque(44, 32, 0.75)",
"assert abs(r1 - 41.33) < 1e-6",
"r2 = rms_torque(10, 9, 0.75)",
"assert abs(r2 - 9.76)... |
theo-eng-code-L3-code-015764 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 50, 0.1, 1.0)",
"assert abs(r0[0] - 0.45) < 1e-6",
"assert abs(r0[1] - 27.0) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(... |
theo-eng-code-L2-code-010378 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([15, 14, 14, 38])",
"assert abs(r0[0] - 20.25) < 1e-6",
"assert abs(r0[1] - 11.843) < 1e-6",
"r1 = summarise([22, 84, 86, 98, 69])",
"assert abs(r1[0] - 71.8) < 1e-6... |
theo-eng-code-L2-code-014534 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([64, 20, 31, 66])",
"assert abs(r0[0] - 45.25) < 1e-6",
"assert abs(r0[1] - 23.258) < 1e-6",
"r1 = summarise([76, 75, 40, 56, 14])",
"assert abs(r1[0] - 52.2) < 1e-6... |
theo-eng-code-L2-code-003459 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([22, 62, 57, 33, 75])",
"assert abs(r0[0] - 49.8) < 1e-6",
"assert abs(r0[1] - 21.742) < 1e-6",
"r1 = summarise([11, 44, 64, 11])",
"assert abs(r1[0] - 32.5) < 1e-6"... |
theo-eng-code-L3-code-009150 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.6, 100)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6"
],
... |
theo-eng-code-L2-code-015238 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.9)",
"assert abs(r0[0] - 3.18) < 1e-6",
"assert abs(r0[1] - 190.9) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-014833 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.9, 0.35, 90, 0.5, 0.5)",
"assert abs(r0[0] - 6.7) < 1e-6",
"assert abs(r0[1] - 0.1797) < 1e-6",
"assert abs(r0[2] - 6.79) < 1e-6",
"r1 = joint_torque(5.6, 0.49, 90, ... |
theo-eng-code-L2-code-009635 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 25, 0.02, 0.05, 0.5, 0.9, 0.5)",
"assert abs(r0[0] - 0.0408) < 1e-6",
"assert abs(r0[1] - 0.7778) < 1e-6",
"assert abs(r0[2] - 0.0012) < 1e-6",
"r1 = com_zmp(13, 29, 0.05... |
theo-eng-code-L3-code-008541 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 16, 0.01, -0.04, 0.7, 0.8, 1)",
"assert abs(r0[0] - -0.0129) < 1e-6",
"assert abs(r0[1] - 0.7457) < 1e-6",
"assert abs(r0[2] - -0.0889) < 1e-6",
"r1 = com_zmp(10, 16, -0.03... |
theo-eng-code-L2-code-009886 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 30, 0.1, 0.05, 0.6, 0.8, 0)",
"assert abs(r0[0] - 0.0694) < 1e-6",
"assert abs(r0[1] - 0.7224) < 1e-6",
"assert abs(r0[2] - 0.0694) < 1e-6",
"r1 = com_zmp(20, 17, -0.04, ... |
theo-eng-code-L2-code-013143 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8.0, 0.41, 30, 7.0, 1.0)",
"assert abs(r0[0] - 22.12) < 1e-6",
"assert abs(r0[1] - 1.625) < 1e-6",
"assert abs(r0[2] - 23.75) < 1e-6",
"r1 = joint_torque(1.8, 0.49, 60... |
theo-eng-code-L1-code-003536 | 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": "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-011946 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.1, 0.8)",
"assert abs(r0[0] - 2.39) < 1e-6",
"assert abs(r0[1] - 143.2) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-011854 | 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(20, 7, 0.2, 1.0)",
"assert abs(r0[0] - 2.86) < 1e-6",
"assert abs(r0[1] - 171.4) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(2... |
theo-eng-code-L1-clarify-003484 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-001387 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 28, -0.09, 0.15, 0.8, 0.9, 2)",
"assert abs(r0[0] - 0.078) < 1e-6",
"assert abs(r0[1] - 0.87) < 1e-6",
"assert abs(r0[2] - -0.0994) < 1e-6",
"r1 = com_zmp(19, 15, 0.09, 0... |
theo-eng-code-L2-code-005544 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.2, 5)",
"assert r0[0] == 94",
"assert r0[1] == 54",
"assert r0[2] == 5076",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 81.216) < 1e-6",
"r1 =... |
theo-eng-code-L1-code-012958 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-000473 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-006152 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 13, 0.25)",
"assert abs(r0 - 15.06) < 1e-6",
"r1 = rms_torque(29, 10, 0.5)",
"assert abs(r1 - 21.69) < 1e-6",
"r2 = rms_torque(98, 32, 0.75)",
"assert abs(r2 - 86.... |
theo-eng-code-L2-code-012551 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.8, 0.43, 45, 7.5, 2.0)",
"assert abs(r0[0] - 34.0) < 1e-6",
"assert abs(r0[1] - 1.8675) < 1e-6",
"assert abs(r0[2] - 37.74) < 1e-6",
"r1 = joint_torque(5.0, 0.34, 60... |
theo-eng-code-L2-code-000340 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 8500, 100)",
"assert abs(r0[0] - 11.54) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.31, 6500, 180)",
"assert abs(r1[0] - 4.22) < 1e-6",
"ass... |
theo-eng-code-L2-code-000584 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 20, 3.7, 100)",
"assert r0[0] == 108",
"assert r0[1] == 1",
"assert r0[2] == 108",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-000864 | 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(28, 1620, 60, 0.23, 2.1, 0.011, 0.4, 0.94, 0.85)",
"assert abs(r0[0] - 288.1) < 1e-6",
"assert abs(r0[1] - 8.26) < 1e-6",
"assert abs(r0[2] - 4.96) < 1e-6",
"r1 = erange(38, 2... |
theo-eng-code-L3-code-005291 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(16, 2, 0.5)",
"assert abs(r0 - 11.4) < 1e-6",
"r1 = rms_torque(47, 7, 0.5)",
"assert abs(r1 - 33.6) < 1e-6",
"r2 = rms_torque(37, 20, 0.75)",
"assert abs(r2 - 33.57) < 1... |
theo-eng-code-L2-code-014107 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 8500, 120)",
"assert abs(r0[0] - 10.41) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6",
"r1 = gear_ratio(0.35, 12500, 120)",
"assert abs(r1[0] - 13.74) < 1e-6",
"a... |
theo-eng-code-L2-code-007418 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-005828 | 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(6, 4, 0.75)",
"assert abs(r0 - 5.57) < 1e-6",
"r1 = rms_torque(27, 8, 0.5)",
"assert abs(r1 - 19.91) < 1e-6",
"r2 = rms_torque(68, 30, 0.5)",
"assert abs(r2 - 52.55) < 1... |
theo-eng-code-L3-code-012011 | 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(6, 17, -0.02, -0.02, 0.9, 0.5, 0.5)",
"assert abs(r0[0] - -0.02) < 1e-6",
"assert abs(r0[1] - 0.6043) < 1e-6",
"assert abs(r0[2] - -0.0508) < 1e-6",
"r1 = com_zmp(19, 24, 0.08,... |
theo-eng-code-L2-code-000988 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.38) < 1e-6",
"assert abs(r0[1] - 22.5) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"... |
theo-eng-code-L2-code-000311 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 2.5], [1.5, 2.0])",
"assert abs(r0 - 3.0414) < 1e-6",
"r1 = seg_len([0.0, 3.0], [0.0, 1.5])",
"assert abs(r1 - 1.5) < 1e-6",
"r2 = seg_len([2.5, 4.5], [4.0, 3.0])",... |
theo-eng-code-L2-code-007398 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.2, 0.8)",
"assert abs(r0[0] - 5.45) < 1e-6",
"assert abs(r0[1] - 327.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-012870 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')",
"assert r1[0] == 20",
... |
theo-eng-code-L2-code-009469 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 80, 90, 0.5)",
"assert abs(r0[0] - 85.0) < 1e-6",
"assert abs(r0[1] - 2.12) < 1e-6",
"assert abs(r0[2] - 127.1) < 1e-6",
"r1 = runtime(0.1, 80, 190, 0.3)",
"asse... |
theo-eng-code-L3-code-008381 | 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(23, 1460, 80, 0.27, 2.2, 0.01, 1.1, 0.92, 0.95)",
"assert abs(r0[0] - 196.4) < 1e-6",
"assert abs(r0[1] - 11.12) < 1e-6",
"assert abs(r0[2] - 8.9) < 1e-6"
],
"subtask":... |
theo-eng-code-L2-code-007933 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 90, 350, 0.3)",
"assert abs(r0[0] - 272.0) < 1e-6",
"assert abs(r0[1] - 1.65) < 1e-6",
"assert abs(r0[2] - 99.3) < 1e-6",
"r1 = runtime(0.2, 280, 330, 0.3)",
"as... |
theo-eng-code-L3-code-002152 | 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(20, 11, 0.1, 0.8)",
"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",
"r1 = charge_time(... |
theo-eng-code-L3-code-015721 | 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(300, 60, 3.7, 5)",
"assert r0[0] == 81",
"assert r0[1] == 41",
"assert r0[2] == 3321",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 61.438) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-005371 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([230, 350, 300, 50, 470], 5)",
"assert abs(r0 - 1.9444) < 1e-6",
"r1 = rect_energy([110, 100, 290], 10)",
"assert abs(r1 - 1.3889) < 1e-6",
"r2 = rect_energy([430... |
theo-eng-code-L1-code-011662 | 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": "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-002025 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "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-L3-code-012173 | 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, 10, 0.1, 0.09, 0.8, 0.5, 0)",
"assert abs(r0[0] - 0.0962) < 1e-6",
"assert abs(r0[1] - 0.6846) < 1e-6",
"assert abs(r0[2] - 0.0962) < 1e-6",
"r1 = com_zmp(16, 13, 0.05, 0.1... |
theo-eng-code-L2-code-013152 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([63, 75, 70, 65])",
"assert abs(r0[0] - 68.25) < 1e-6",
"assert abs(r0[1] - 5.377) < 1e-6",
"r1 = summarise([86, 73, 71, 29])",
"assert abs(r1[0] - 64.75) < 1e-6",
... |
theo-eng-code-L3-code-015141 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.6, 50)",
"assert r0[0] == 222",
"assert r0[1] == 1",
"assert r0[2] == 222",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6"
],
... |
theo-eng-code-L2-code-013022 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.7, 0.33, 45, 4.0, 3.0)",
"assert abs(r0[0] - 17.97) < 1e-6",
"assert abs(r0[1] - 0.7151) < 1e-6",
"assert abs(r0[2] - 20.11) < 1e-6",
"r1 = joint_torque(6.7, 0.48, 9... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.