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-001121 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 7000, 100)",
"assert abs(r0[0] - 7.92) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.38, 15000, 120)",
"assert abs(r1[0] - 17.91) < 1e-6",
"ass... |
theo-eng-code-L2-code-008953 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 10000, 180)",
"assert abs(r0[0] - 7.54) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.41, 10500, 150)",
"assert abs(r1[0] - 10.82) < 1e-6",
"... |
theo-eng-code-L2-code-015551 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.2, 50)",
"assert r0[0] == 62",
"assert r0[1] == 5",
"assert r0[2] == 310",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 49.6) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-010423 | 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.39, 5000, 180)",
"assert abs(r0[0] - 4.08) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-000987 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 480, 0.7)",
"assert abs(r0[0] - 347.0) < 1e-6",
"assert abs(r0[1] - 1.3) < 1e-6",
"assert abs(r0[2] - 77.8) < 1e-6",
"r1 = runtime(0.2, 30, 290, 0.3)",
"ass... |
theo-eng-code-L2-code-004211 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 1.0)",
"assert abs(r0[0] - 1.2) < 1e-6",
"assert abs(r0[1] - 72.0) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L3-code-002552 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 300, 600, 0.7)",
"assert abs(r0[0] - 390.0) < 1e-6",
"assert abs(r0[1] - 0.23) < 1e-6",
"assert abs(r0[2] - 13.8) < 1e-6",
"r1 = runtime(0.2, 200, 570, 0.3)",
"ass... |
theo-eng-code-L2-code-004383 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 15, -0.07, 0.08, 0.4, 0.3, 0)",
"assert abs(r0[0] - 0.0003) < 1e-6",
"assert abs(r0[1] - 0.3531) < 1e-6",
"assert abs(r0[2] - 0.0003) < 1e-6",
"r1 = com_zmp(17, 16, 0.0, ... |
theo-eng-code-L3-code-012170 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 14, 0.06, 0.13, 0.7, 0.9, 0.5)",
"assert abs(r0[0] - 0.0992) < 1e-6",
"assert abs(r0[1] - 0.812) < 1e-6",
"assert abs(r0[2] - 0.0578) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-012148 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([400, 110, 50, 200, 140], 5)",
"assert abs(r0 - 1.25) < 1e-6",
"r1 = rect_energy([480, 370, 140], 5)",
"assert abs(r1 - 1.375) < 1e-6",
"r2 = rect_energy([130, 42... |
theo-eng-code-L2-code-003735 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.8, 0.51, 45, 3.0, 2.5)",
"assert abs(r0[0] - 19.1) < 1e-6",
"assert abs(r0[1] - 1.1965) < 1e-6",
"assert abs(r0[2] - 22.09) < 1e-6",
"r1 = joint_torque(6.4, 0.6, 90,... |
theo-eng-code-L2-code-011217 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001050 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-005878 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(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",
"r... |
theo-eng-code-L3-code-007989 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.1, 1.0)",
"assert abs(r0[0] - 0.9) < 1e-6",
"assert abs(r0[1] - 54.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(2... |
theo-eng-code-L1-code-006356 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_cond",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-001095 | 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(13, 30, -0.03, -0.04, 0.4, 0.8, 1)",
"assert abs(r0[0] - -0.037) < 1e-6",
"assert abs(r0[1] - 0.6791) < 1e-6",
"assert abs(r0[2] - -0.1062) < 1e-6",
"r1 = com_zmp(14, 21, -0.04... |
theo-eng-code-L2-code-014123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([250, 290, 290, 450, 340], 5)",
"assert abs(r0 - 2.25) < 1e-6",
"r1 = rect_energy([180, 310, 360, 90, 360], 1)",
"assert abs(r1 - 0.3611) < 1e-6",
"r2 = rect_ener... |
theo-eng-code-L2-code-011069 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, [0, 25, 50, 75, 100], [0.76, 0.83, 0.87, 0.88, 0.83])",
"assert abs(r0 - 0.788) < 1e-6",
"r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.76, 0.81, 0.89, 0.86, 0.82])",
"... |
theo-eng-code-L2-code-012428 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 11500, 180)",
"assert abs(r0[0] - 10.84) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.43, 13000, 180)",
"assert abs(r1[0] - 11.71) < 1e-6",
... |
theo-eng-code-L3-code-002087 | 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(7, 15, 0.09, -0.04, 0.9, 0.4, 1)",
"assert abs(r0[0] - 0.0014) < 1e-6",
"assert abs(r0[1] - 0.5591) < 1e-6",
"assert abs(r0[2] - -0.0556) < 1e-6",
"r1 = com_zmp(5, 21, 0.02, 0.... |
theo-eng-code-L3-code-010422 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.2, 100)",
"assert r0[0] == 250",
"assert r0[1] == 1",
"assert r0[2] == 250",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-008637 | 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(400, 60, 3.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 3",
"assert r0[2] == 375",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-000100 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 7, 0.1, 0.8)",
"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",
"r1 = charge_time... |
theo-eng-code-L2-code-003063 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(95, 14, 0.75)",
"assert abs(r0 - 82.57) < 1e-6",
"r1 = rms_torque(29, 11, 0.5)",
"assert abs(r1 - 21.93) < 1e-6",
"r2 = rms_torque(66, 7, 0.75)",
"assert abs(r2 - 57.2... |
theo-eng-code-L2-code-004705 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 2430, 120, 0.31, 3.0, 0.007, 1.0, 0.92, 0.95)",
"assert abs(r0[0] - 163.5) < 1e-6",
"assert abs(r0[1] - 24.98) < 1e-6",
"assert abs(r0[2] - 29.98) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-003052 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 17, 0.1, 0.02, 0.6, 0.3, 1)",
"assert abs(r0[0] - 0.0575) < 1e-6",
"assert abs(r0[1] - 0.4406) < 1e-6",
"assert abs(r0[2] - 0.0126) < 1e-6",
"r1 = com_zmp(16, 27, 0.01, -... |
theo-eng-code-L2-code-010576 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-009076 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 11",
"assert r0[2] == 1221",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 43.956) < 1e-6"
]... |
theo-eng-code-L2-code-005698 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 11, 0.1, 0.8)",
"assert abs(r0[0] - 7.95) < 1e-6",
"assert abs(r0[1] - 477.3) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L3-code-012902 | 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(42, 1770, 100, 0.28, 1.9, 0.012, 1.3, 0.94, 0.95)",
"assert abs(r0[0] - 268.0) < 1e-6",
"assert abs(r0[1] - 14.89) < 1e-6",
"assert abs(r0[2] - 14.89) < 1e-6",
"r1 = erange(54... |
theo-eng-code-L2-code-000637 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 25, -0.01, 0.11, 0.9, 0.3, 0.5)",
"assert abs(r0[0] - 0.0567) < 1e-6",
"assert abs(r0[1] - 0.5667) < 1e-6",
"assert abs(r0[2] - 0.0278) < 1e-6",
"r1 = com_zmp(16, 15, 0.0... |
theo-eng-code-L2-code-006058 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([98, 19, 70, 16])",
"assert abs(r0[0] - 50.75) < 1e-6",
"assert abs(r0[1] - 40.078) < 1e-6",
"r1 = summarise([33, 56, 32, 87])",
"assert r1[0] == 52",
"assert ab... |
theo-eng-code-L2-code-003789 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 2720, 120, 0.29, 2.8, 0.007, 1.3, 0.9, 0.95)",
"assert abs(r0[0] - 159.0) < 1e-6",
"assert abs(r0[1] - 23.9) < 1e-6",
"assert abs(r0[2] - 28.68) < 1e-6",
"r1 = erange(10... |
theo-eng-code-L3-code-014771 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.38, 5500, 100)",
"assert abs(r0[0] - 7.88) < 1e-6",
"assert abs(r0[1] - 698.0) < 1e-6",
"r1 = gear_ratio(0.41, 14500, 120)",
"assert abs(r1[0] - 18.68) < 1e-6",
"asse... |
theo-eng-code-L1-clarify-002729 | 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-L1-code-009371 | 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_minmax",
"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-L3-code-004239 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(79, 1170, 80, 0.31, 1.9, 0.008, 0.3, 0.88, 0.9)",
"assert abs(r0[0] - 799.1) < 1e-6",
"assert abs(r0[1] - 8.9) < 1e-6",
"assert abs(r0[2] - 7.12) < 1e-6"
],
"subtask": ... |
theo-eng-code-L3-code-001178 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 10, 0.03, 0.02, 0.5, 0.3, 1)",
"assert abs(r0[0] - 0.0252) < 1e-6",
"assert abs(r0[1] - 0.4048) < 1e-6",
"assert abs(r0[2] - -0.016) < 1e-6",
"r1 = com_zmp(12, 29, 0.06, -0... |
theo-eng-code-L2-code-011314 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([37, 36, 10, 52])",
"assert abs(r0[0] - 33.75) < 1e-6",
"assert abs(r0[1] - 17.443) < 1e-6",
"r1 = summarise([39, 43, 36, 64, 41, 56])",
"assert abs(r1[0] - 46.5) < ... |
theo-eng-code-L1-code-002368 | 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_modulo",
"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-015163 | 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-L1-code-012172 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_chain",
"user_template": "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-006313 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(61, 1340, 80, 0.34, 2.3, 0.012, 1.0, 0.9, 0.85)",
"assert abs(r0[0] - 386.4) < 1e-6",
"assert abs(r0[1] - 13.42) < 1e-6",
"assert abs(r0[2] - 10.74) < 1e-6",
"r1 = erange(43... |
theo-eng-code-L2-code-007360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(23, 5, 0.75)",
"assert abs(r0 - 20.07) < 1e-6",
"r1 = rms_torque(56, 2, 0.5)",
"assert abs(r1 - 39.62) < 1e-6",
"r2 = rms_torque(78, 8, 0.25)",
"assert abs(r2 - 39.61)... |
theo-eng-code-L3-code-003712 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 150, 0.2, 1.0)",
"assert abs(r0[0] - 0.53) < 1e-6",
"assert abs(r0[1] - 32.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 150"
],
"subtas... |
theo-eng-code-L2-code-000998 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 0.4, 45, 5.5, 0.0)",
"assert abs(r0[0] - 25.11) < 1e-6",
"assert abs(r0[1] - 1.2587) < 1e-6",
"assert abs(r0[2] - 25.11) < 1e-6",
"r1 = joint_torque(7.1, 0.16, 30... |
theo-eng-code-L2-code-011185 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 5, 0.75)",
"assert abs(r0 - 49.43) < 1e-6",
"r1 = rms_torque(21, 6, 0.5)",
"assert abs(r1 - 15.44) < 1e-6",
"r2 = rms_torque(87, 28, 0.75)",
"assert abs(r2 - 76.63... |
theo-eng-code-L2-code-006648 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-007799 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 26, 0.06, 0.07, 0.4, 0.7, 0)",
"assert abs(r0[0] - 0.0674) < 1e-6",
"assert abs(r0[1] - 0.6229) < 1e-6",
"assert abs(r0[2] - 0.0674) < 1e-6",
"r1 = com_zmp(20, 13, 0.04, -... |
theo-eng-code-L2-code-000951 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.1, 0.14, 0.3, 0.5, 0.5)",
"assert abs(r0[0] - 0.121) < 1e-6",
"assert abs(r0[1] - 0.4048) < 1e-6",
"assert abs(r0[2] - 0.1003) < 1e-6",
"r1 = com_zmp(8, 26, -0.1, 0... |
theo-eng-code-L3-code-008146 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 13000, 150)",
"assert abs(r0[0] - 14.7) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.42, 12500, 180)",
"assert abs(r1[0] - 11.0) < 1e-6",
"asse... |
theo-eng-code-L3-code-009773 | 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(61, 1920, 60, 0.29, 2.3, 0.007, 1.4, 0.92, 0.9)",
"assert abs(r0[0] - 563.6) < 1e-6",
"assert abs(r0[1] - 9.74) < 1e-6",
"assert abs(r0[2] - 5.84) < 1e-6",
"r1 = erange(85, 14... |
theo-eng-code-L2-code-000496 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.2, 5)",
"assert r0[0] == 94",
"assert r0[1] == 7",
"assert r0[2] == 658",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 10.528) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-004587 | 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(60, 11, 0.1, 1.0)",
"assert abs(r0[0] - 6.14) < 1e-6",
"assert abs(r0[1] - 368.2) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L2-code-013362 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.2, 50)",
"assert r0[0] == 62",
"assert r0[1] == 5",
"assert r0[2] == 310",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 49.6) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-005940 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 250, 290, 0.5)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 0.33) < 1e-6",
"assert abs(r0[2] - 20.0) < 1e-6",
"r1 = runtime(0.2, 300, 290, 0.3)",
"ass... |
theo-eng-code-L2-code-011133 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.9, 0.2, 45, 6.5, 0.5)",
"assert abs(r0[0] - 14.5) < 1e-6",
"assert abs(r0[1] - 0.3653) < 1e-6",
"assert abs(r0[2] - 14.68) < 1e-6",
"r1 = joint_torque(6.1, 0.12, 45,... |
theo-eng-code-L3-code-001943 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 11000, 150)",
"assert abs(r0[0] - 8.02) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6",
"r1 = gear_ratio(0.35, 13000, 120)",
"assert abs(r1[0] - 14.29) < 1e-6",
"as... |
theo-eng-code-L2-code-009754 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(32, 1800, 60, 0.25, 2.8, 0.011, 1.5, 0.94, 0.9)",
"assert abs(r0[0] - 244.9) < 1e-6",
"assert abs(r0[1] - 11.76) < 1e-6",
"assert abs(r0[2] - 7.06) < 1e-6",
"r1 = erange(97,... |
theo-eng-code-L3-code-005804 | 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.33, 10500, 150)",
"assert abs(r0[0] - 8.71) < 1e-6",
"assert abs(r0[1] - 1205.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-000693 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 11, -0.07, -0.02, 0.5, 0.5, 2)",
"assert abs(r0[0] - -0.0504) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.1523) < 1e-6",
"r1 = com_zmp(14, 24, -0.08... |
theo-eng-code-L2-code-009803 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.4, 0.48, 45, 5.5, 3.0)",
"assert abs(r0[0] - 20.64) < 1e-6",
"assert abs(r0[1] - 1.3747) < 1e-6",
"assert abs(r0[2] - 24.77) < 1e-6",
"r1 = joint_torque(6.2, 0.43, 9... |
theo-eng-code-L2-code-014815 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 280, 440, 0.5)",
"assert abs(r0[0] - 360.0) < 1e-6",
"assert abs(r0[1] - 2.5) < 1e-6",
"assert abs(r0[2] - 150.0) < 1e-6",
"r1 = runtime(1.0, 120, 340, 0.5)",
"a... |
theo-eng-code-L2-code-009012 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.5, 4.5], [3.0, 0.5])",
"assert abs(r0 - 4.0311) < 1e-6",
"r1 = seg_len([2.0, 4.0], [4.5, 1.5])",
"assert abs(r1 - 3.5355) < 1e-6",
"r2 = seg_len([0.5, 2.0], [3.5, 2.5]... |
theo-eng-code-L2-code-010060 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 80, 3.6, 10)",
"assert r0[0] == 139",
"assert r0[1] == 16",
"assert r0[2] == 2224",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 80.064) < 1e-6",
"r1... |
theo-eng-code-L2-code-013090 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_t... |
theo-eng-code-L3-code-013973 | 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(800, 20, 3.2, 10)",
"assert r0[0] == 250",
"assert r0[1] == 3",
"assert r0[2] == 750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 24.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-005398 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 240, 460, 0.7)",
"assert abs(r0[0] - 306.0) < 1e-6",
"assert abs(r0[1] - 1.47) < 1e-6",
"assert abs(r0[2] - 88.2) < 1e-6",
"r1 = runtime(0.2, 220, 250, 0.7)",
"a... |
theo-eng-code-L2-code-015763 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 1700, 120, 0.29, 1.9, 0.007, 1.4, 0.94, 0.9)",
"assert abs(r0[0] - 114.7) < 1e-6",
"assert abs(r0[1] - 15.7) < 1e-6",
"assert abs(r0[2] - 18.84) < 1e-6",
"r1 = erange(43... |
theo-eng-code-L1-code-012352 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_join",
"user_template": "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-012777 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 80, 250, 0.7)",
"assert abs(r0[0] - 131.0) < 1e-6",
"assert abs(r0[1] - 6.87) < 1e-6",
"assert abs(r0[2] - 412.2) < 1e-6",
"r1 = runtime(0.2, 110, 600, 0.7)",
"a... |
theo-eng-code-L2-code-003125 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([40, 60, 51, 16])",
"assert abs(r0[0] - 41.75) < 1e-6",
"assert abs(r0[1] - 19.015) < 1e-6",
"r1 = summarise([37, 84, 32, 37])",
"assert abs(r1[0] - 47.5) < 1e-6",
... |
theo-eng-code-L2-code-014600 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 11, 0.1, 0.8)",
"assert abs(r0[0] - 7.95) < 1e-6",
"assert abs(r0[1] - 477.3) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L2-code-009840 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 37, 0.5)",
"assert abs(r0 - 75.4) < 1e-6",
"r1 = rms_torque(79, 4, 0.75)",
"assert abs(r1 - 68.45) < 1e-6",
"r2 = rms_torque(53, 13, 0.5)",
"assert abs(r2 - 38.59... |
theo-eng-code-L2-code-007688 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 0.2, 1.0)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 48.0) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-002201 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 170, 560, 0.5)",
"assert abs(r0[0] - 365.0) < 1e-6",
"assert abs(r0[1] - 2.47) < 1e-6",
"assert abs(r0[2] - 147.9) < 1e-6",
"r1 = runtime(0.2, 70, 500, 0.7)",
"a... |
theo-eng-code-L3-code-012597 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 5500, 120)",
"assert abs(r0[0] - 7.43) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.37, 10500, 120)",
"assert abs(r1[0] - 12.21) < 1e-6",
"asse... |
theo-eng-code-L2-code-003264 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 29, -0.05, 0.04, 0.3, 0.3, 2)",
"assert abs(r0[0] - 0.0169) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - -0.0442) < 1e-6",
"r1 = com_zmp(14, 22, -0.05, ... |
theo-eng-code-L2-code-010800 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r0[0] == 20",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
"a... |
theo-eng-code-L2-code-015125 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 42, 20, 90, 56])",
"assert abs(r0[0] - 55.6) < 1e-6",
"assert abs(r0[1] - 26.661) < 1e-6",
"r1 = summarise([94, 29, 34, 52, 64])",
"assert abs(r1[0] - 54.6) < 1... |
theo-eng-code-L2-code-010686 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 80, 3.6, 10)",
"assert r0[0] == 139",
"assert r0[1] == 16",
"assert r0[2] == 2224",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 80.064) < 1e-6",
"r1... |
theo-eng-code-L2-code-006845 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([87, 44, 99, 18])",
"assert r0[0] == 62",
"assert abs(r0[1] - 37.656) < 1e-6",
"r1 = summarise([93, 42, 93, 27, 60])",
"assert r1[0] == 63",
"assert abs(r1[1] - ... |
theo-eng-code-L2-code-000933 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 1560, 100, 0.27, 2.9, 0.008, 1.5, 0.92, 0.85)",
"assert abs(r0[0] - 420.6) < 1e-6",
"assert abs(r0[1] - 16.37) < 1e-6",
"assert abs(r0[2] - 16.37) < 1e-6",
"r1 = erange(... |
theo-eng-code-L3-code-007024 | 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(16, 29, 0.02, 0.04, 0.9, 0.7, 2)",
"assert abs(r0[0] - 0.0329) < 1e-6",
"assert abs(r0[1] - 0.7711) < 1e-6",
"assert abs(r0[2] - -0.1243) < 1e-6",
"r1 = com_zmp(19, 12, 0.09, 0... |
theo-eng-code-L2-code-001555 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 26, -0.04, 0.09, 0.3, 0.4, 0.5)",
"assert abs(r0[0] - 0.0368) < 1e-6",
"assert abs(r0[1] - 0.3591) < 1e-6",
"assert abs(r0[2] - 0.0185) < 1e-6",
"r1 = com_zmp(13, 15, 0.0... |
theo-eng-code-L3-code-000677 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.3, 9500, 100)",
"assert abs(r0[0] - 10.74) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.41, 9000, 180)",
"assert abs(r1[0] - 7.73) < 1e-6",
"assert... |
theo-eng-code-L2-code-000174 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 20, 3.2, 5)",
"assert r0[0] == 94",
"assert r0[1] == 14",
"assert r0[2] == 1316",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 21.056) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-015214 | 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(82, 14, 0.75)",
"assert abs(r0 - 71.36) < 1e-6",
"r1 = rms_torque(100, 11, 0.5)",
"assert abs(r1 - 71.14) < 1e-6",
"r2 = rms_torque(67, 25, 0.25)",
"assert abs(r2 - 39.8... |
theo-eng-code-L2-code-014405 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.38, 15000, 180)",
"assert abs(r0[0] - 11.94) < 1e-6",
"assert abs(r0[1] - 1256.5) < 1e-6",
"r1 = gear_ratio(0.44, 14000, 180)",
"assert abs(r1[0] - 12.9) < 1e-6",
"... |
theo-eng-code-L2-code-004780 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 11, -0.04, -0.03, 0.6, 0.4, 0)",
"assert abs(r0[0] - -0.0352) < 1e-6",
"assert abs(r0[1] - 0.5043) < 1e-6",
"assert abs(r0[2] - -0.0352) < 1e-6",
"r1 = com_zmp(12, 14, 0.... |
theo-eng-code-L1-code-014380 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-009323 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 6500, 150)",
"assert abs(r0[0] - 5.88) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.25, 11000, 120)",
"assert abs(r1[0] - 8.64) < 1e-6",
"as... |
theo-eng-code-L2-code-006863 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 16, 0.01, 0.12, 0.7, 0.8, 0.5)",
"assert abs(r0[0] - 0.065) < 1e-6",
"assert abs(r0[1] - 0.75) < 1e-6",
"assert abs(r0[2] - 0.0268) < 1e-6",
"r1 = com_zmp(17, 16, 0.08, 0... |
theo-eng-code-L2-code-014551 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 130, 100, 0.5)",
"assert abs(r0[0] - 115.0) < 1e-6",
"assert abs(r0[1] - 1.57) < 1e-6",
"assert abs(r0[2] - 93.9) < 1e-6",
"r1 = runtime(0.5, 220, 600, 0.3)",
"a... |
theo-eng-code-L2-code-000235 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-002535 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 80, 60, 0.7)",
"assert abs(r0[0] - 74.0) < 1e-6",
"assert abs(r0[1] - 2.43) < 1e-6",
"assert abs(r0[2] - 145.9) < 1e-6",
"r1 = runtime(0.2, 240, 410, 0.3)",
"ass... |
theo-eng-code-L3-code-003679 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 50, 0.1, 0.9)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 96.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask":... |
theo-eng-code-L1-code-015622 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-007373 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.73, 0.85, 0.87, 0.88, 0.8])",
"assert abs(r0 - 0.866) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.72, 0.83, 0.86, 0.88, 0.8])",
"as... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.