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-014194 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L3-code-015720 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.2, 0.22, 60, 3.5, 0.5)",
"assert abs(r0[0] - 7.66) < 1e-6",
"assert abs(r0[1] - 0.1888) < 1e-6",
"assert abs(r0[2] - 7.76) < 1e-6",
"r1 = joint_torque(6.8, 0.17, 60, 6... |
theo-eng-code-L2-code-002750 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(61, 28, 0.25)",
"assert abs(r0 - 38.96) < 1e-6",
"r1 = rms_torque(15, 12, 0.25)",
"assert abs(r1 - 12.82) < 1e-6",
"r2 = rms_torque(5, 2, 0.25)",
"assert abs(r2 - 3.04... |
theo-eng-code-L2-code-006143 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 17, 0.06, -0.04, 0.4, 0.3, 2)",
"assert abs(r0[0] - 0.0033) < 1e-6",
"assert abs(r0[1] - 0.3433) < 1e-6",
"assert abs(r0[2] - -0.0667) < 1e-6",
"r1 = com_zmp(20, 27, 0.07... |
theo-eng-code-L2-code-008387 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([10, 79, 34, 32, 32])",
"assert abs(r0[0] - 37.4) < 1e-6",
"assert abs(r0[1] - 25.255) < 1e-6",
"r1 = summarise([28, 93, 99, 45])",
"assert abs(r1[0] - 66.25) < 1e-6... |
theo-eng-code-L2-code-013610 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.2, 0.38, 45, 1.0, 1.5)",
"assert abs(r0[0] - 10.81) < 1e-6",
"assert abs(r0[1] - 0.4428) < 1e-6",
"assert abs(r0[2] - 11.47) < 1e-6",
"r1 = joint_torque(3.7, 0.34, 4... |
theo-eng-code-L3-code-015189 | 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(60, 7, 0.2, 0.8)",
"assert abs(r0[0] - 6.43) < 1e-6",
"assert abs(r0[1] - 385.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(6... |
theo-eng-code-L3-code-006585 | 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": "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"
],
"subtask"... |
theo-eng-code-L2-code-000671 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 11, 0.5)",
"assert abs(r0 - 13.15) < 1e-6",
"r1 = rms_torque(89, 13, 0.75)",
"assert abs(r1 - 77.35) < 1e-6",
"r2 = rms_torque(15, 11, 0.75)",
"assert abs(r2 - 14.... |
theo-eng-code-L2-code-004058 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.9, 0.37, 60, 2.0, 3.5)",
"assert abs(r0[0] - 7.7) < 1e-6",
"assert abs(r0[1] - 0.3149) < 1e-6",
"assert abs(r0[2] - 8.8) < 1e-6",
"r1 = joint_torque(5.8, 0.13, 45, 7... |
theo-eng-code-L2-code-001979 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 14, -0.03, 0.14, 0.4, 0.7, 1)",
"assert abs(r0[0] - 0.0782) < 1e-6",
"assert abs(r0[1] - 0.5909) < 1e-6",
"assert abs(r0[2] - 0.0179) < 1e-6",
"r1 = com_zmp(15, 12, -0.07,... |
theo-eng-code-L3-code-015277 | 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, 40, 510, 0.7)",
"assert abs(r0[0] - 181.0) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 29.8) < 1e-6",
"r1 = runtime(0.5, 210, 480, 0.5)",
"asser... |
theo-eng-code-L1-code-009482 | 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_dictget",
"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-001360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.8, 0.38, 90, 0.5, 3.5)",
"assert abs(r0[0] - 5.22) < 1e-6",
"assert abs(r0[1] - 0.1588) < 1e-6",
"assert abs(r0[2] - 5.77) < 1e-6",
"r1 = joint_torque(4.4, 0.17, 30,... |
theo-eng-code-L3-code-003291 | 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(85, 2760, 60, 0.35, 2.0, 0.007, 0.3, 0.92, 0.95)",
"assert abs(r0[0] - 822.4) < 1e-6",
"assert abs(r0[1] - 9.82) < 1e-6",
"assert abs(r0[2] - 5.89) < 1e-6",
"r1 = erange(85, 2... |
theo-eng-code-L2-code-014015 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(32, 2, 0.75)",
"assert abs(r0 - 27.73) < 1e-6",
"r1 = rms_torque(38, 36, 0.75)",
"assert abs(r1 - 37.51) < 1e-6",
"r2 = rms_torque(100, 25, 0.75)",
"assert abs(r2 - 87... |
theo-eng-code-L1-code-000714 | 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_average",
"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-004175 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 120, 210, 0.3)",
"assert abs(r0[0] - 183.0) < 1e-6",
"assert abs(r0[1] - 0.49) < 1e-6",
"assert abs(r0[2] - 29.5) < 1e-6",
"r1 = runtime(0.5, 40, 240, 0.5)",
"as... |
theo-eng-code-L2-code-015361 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.5, 0.2, 90, 2.5, 1.0)",
"assert abs(r0[0] - 10.3) < 1e-6",
"assert abs(r0[1] - 0.1733) < 1e-6",
"assert abs(r0[2] - 10.47) < 1e-6",
"r1 = joint_torque(1.9, 0.33, 90,... |
theo-eng-code-L2-code-002924 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 90, 170, 0.3)",
"assert abs(r0[0] - 146.0) < 1e-6",
"assert abs(r0[1] - 3.08) < 1e-6",
"assert abs(r0[2] - 184.9) < 1e-6",
"r1 = runtime(0.5, 100, 550, 0.3)",
"a... |
theo-eng-code-L3-code-006628 | 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.1, 110, 290, 0.7)",
"assert abs(r0[0] - 164.0) < 1e-6",
"assert abs(r0[1] - 0.55) < 1e-6",
"assert abs(r0[2] - 32.9) < 1e-6",
"r1 = runtime(1.0, 280, 230, 0.7)",
"ass... |
theo-eng-code-L2-code-014930 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 150}')",
"assert r0[0] == 80",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')",
"assert r1[0] == 40",
... |
theo-eng-code-L1-code-005006 | 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": "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-008524 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 60, 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 = ... |
theo-eng-code-L2-code-008681 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.5, 0.51, 30, 0.0, 2.5)",
"assert abs(r0[0] - 3.13) < 1e-6",
"assert abs(r0[1] - 0.2167) < 1e-6",
"assert abs(r0[2] - 3.67) < 1e-6",
"r1 = joint_torque(2.8, 0.4, 45, ... |
theo-eng-code-L2-code-001597 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 15000, 150)",
"assert abs(r0[0] - 16.21) < 1e-6",
"assert abs(r0[1] - 925.3) < 1e-6",
"r1 = gear_ratio(0.35, 14500, 150)",
"assert abs(r1[0] - 12.75) < 1e-6",
"... |
theo-eng-code-L2-code-001129 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 2360, 60, 0.32, 2.5, 0.009, 1.2, 0.94, 0.85)",
"assert abs(r0[0] - 544.4) < 1e-6",
"assert abs(r0[1] - 12.18) < 1e-6",
"assert abs(r0[2] - 7.31) < 1e-6",
"r1 = erange(26... |
theo-eng-code-L3-code-012803 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.7, 5)",
"assert r0[0] == 135",
"assert r0[1] == 9",
"assert r0[2] == 1215",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 22.477) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-013986 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 32",
"assert r0[2] == 4448",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 40.032) < 1e-6",
"r... |
theo-eng-code-L3-code-010372 | 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.37, 8000, 150)",
"assert abs(r0[0] - 7.44) < 1e-6",
"assert abs(r0[1] - 1075.4) < 1e-6",
"r1 = gear_ratio(0.35, 8500, 180)",
"assert abs(r1[0] - 6.23) < 1e-6",
"asser... |
theo-eng-code-L2-code-012420 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 13, -0.02, 0.07, 0.4, 0.8, 2)",
"assert abs(r0[0] - 0.0268) < 1e-6",
"assert abs(r0[1] - 0.608) < 1e-6",
"assert abs(r0[2] - -0.0972) < 1e-6",
"r1 = com_zmp(7, 27, 0.08, ... |
theo-eng-code-L2-code-001035 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(28, 20, 0.75)",
"assert abs(r0 - 26.23) < 1e-6",
"r1 = rms_torque(55, 4, 0.75)",
"assert abs(r1 - 47.67) < 1e-6",
"r2 = rms_torque(28, 5, 0.25)",
"assert abs(r2 - 14.6... |
theo-eng-code-L2-code-014099 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 4500, 150)",
"assert abs(r0[0] - 4.41) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.25, 13500, 180)",
"assert abs(r1[0] - 7.07) < 1e-6",
"as... |
theo-eng-code-L3-code-007288 | 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(53, 1020, 80, 0.31, 2.6, 0.008, 0.8, 0.92, 0.95)",
"assert abs(r0[0] - 467.2) < 1e-6",
"assert abs(r0[1] - 10.78) < 1e-6",
"assert abs(r0[2] - 8.62) < 1e-6",
"r1 = erange(32, ... |
theo-eng-code-L2-code-006517 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 16, 0.01, 0.02, 0.9, 0.6, 1)",
"assert abs(r0[0] - 0.0162) < 1e-6",
"assert abs(r0[1] - 0.7154) < 1e-6",
"assert abs(r0[2] - -0.0568) < 1e-6",
"r1 = com_zmp(15, 17, 0.09,... |
theo-eng-code-L1-refuse-013837 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-002809 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(55, 32, 0.5)",
"assert abs(r0 - 44.99) < 1e-6",
"r1 = rms_torque(86, 8, 0.25)",
"assert abs(r1 - 43.55) < 1e-6",
"r2 = rms_torque(57, 20, 0.25)",
"assert abs(r2 - 33.3... |
theo-eng-code-L2-code-004363 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.5, 0.0], [2.5, 3.0])",
"assert abs(r0 - 3.0) < 1e-6",
"r1 = seg_len([0.0, 5.0], [3.5, 1.5])",
"assert abs(r1 - 4.9497) < 1e-6",
"r2 = seg_len([3.0, 1.0], [1.5, 3.0])",... |
theo-eng-code-L1-clarify-009805 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-000968 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 16, 0.04, 0.14, 0.9, 0.6, 1)",
"assert abs(r0[0] - 0.09) < 1e-6",
"assert abs(r0[1] - 0.75) < 1e-6",
"assert abs(r0[2] - 0.0135) < 1e-6",
"r1 = com_zmp(10, 22, 0.01, 0.01... |
theo-eng-code-L2-code-009410 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 220, 110, 0.3)",
"assert abs(r0[0] - 143.0) < 1e-6",
"assert abs(r0[1] - 0.63) < 1e-6",
"assert abs(r0[2] - 37.8) < 1e-6",
"r1 = runtime(1.0, 40, 520, 0.7)",
"as... |
theo-eng-code-L2-code-012907 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 25, 92, 88, 10])",
"assert abs(r0[0] - 55.8) < 1e-6",
"assert abs(r0[1] - 36.949) < 1e-6",
"r1 = summarise([23, 58, 41, 86, 20, 36])",
"assert r1[0] == 44",
... |
theo-eng-code-L2-code-000530 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 50)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 25.02) < 1e-6",
"r1 = ... |
theo-eng-code-L1-code-013422 | 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-L3-code-014433 | 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(60, 7, 0.1, 0.8)",
"assert abs(r0[0] - 7.5) < 1e-6",
"assert abs(r0[1] - 450.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(20... |
theo-eng-code-L2-code-012014 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 20, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 11",
"assert r0[2] == 1188",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 21.978) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-008572 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 6500, 100)",
"assert abs(r0[0] - 8.33) < 1e-6",
"assert abs(r0[1] - 780.2) < 1e-6",
"r1 = gear_ratio(0.27, 4000, 180)",
"assert abs(r1[0] - 2.26) < 1e-6",
"asse... |
theo-eng-code-L3-code-014658 | 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.39, 7000, 180)",
"assert abs(r0[0] - 5.72) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-008358 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(38, 2520, 60, 0.34, 2.1, 0.012, 0.5, 0.94, 0.95)",
"assert abs(r0[0] - 273.7) < 1e-6",
"assert abs(r0[1] - 13.19) < 1e-6",
"assert abs(r0[2] - 7.91) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-012305 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.1, 0.21, 60, 1.5, 3.5)",
"assert abs(r0[0] - 6.33) < 1e-6",
"assert abs(r0[1] - 0.1264) < 1e-6",
"assert abs(r0[2] - 6.78) < 1e-6",
"r1 = joint_torque(7.8, 0.45, 60,... |
theo-eng-code-L3-code-015706 | 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(60, 1080, 80, 0.36, 2.8, 0.011, 1.0, 0.94, 0.9)",
"assert abs(r0[0] - 394.1) < 1e-6",
"assert abs(r0[1] - 13.7) < 1e-6",
"assert abs(r0[2] - 10.96) < 1e-6",
"r1 = erange(50, 1... |
theo-eng-code-L2-code-005587 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.9, 0.2, 60, 0.5, 3.0)",
"assert abs(r0[0] - 2.46) < 1e-6",
"assert abs(r0[1] - 0.0453) < 1e-6",
"assert abs(r0[2] - 2.6) < 1e-6",
"r1 = joint_torque(6.3, 0.19, 90, 7... |
theo-eng-code-L2-code-006153 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-005458 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(77, 28, 0.75)",
"assert abs(r0 - 68.14) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-001466 | 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(20, 11, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask... |
theo-eng-code-L1-code-015534 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-011812 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.7, 0.14, 60, 7.0, 3.5)",
"assert abs(r0[0] - 12.31) < 1e-6",
"assert abs(r0[1] - 0.181) < 1e-6",
"assert abs(r0[2] - 12.94) < 1e-6",
"r1 = joint_torque(4.6, 0.3, 90, 7... |
theo-eng-code-L2-code-000296 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-003540 | 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(14, 18, -0.1, -0.04, 0.8, 0.7, 0)",
"assert abs(r0[0] - -0.0663) < 1e-6",
"assert abs(r0[1] - 0.7438) < 1e-6",
"assert abs(r0[2] - -0.0663) < 1e-6",
"r1 = com_zmp(9, 22, 0.09, ... |
theo-eng-code-L3-code-004441 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(16, 14, 0.5)",
"assert abs(r0 - 15.03) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L3-code-009696 | 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.2, 200, 480, 0.3)",
"assert abs(r0[0] - 396.0) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - 27.3) < 1e-6",
"r1 = runtime(0.1, 200, 350, 0.3)",
"ass... |
theo-eng-code-L2-code-015504 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 97, 44, 80])",
"assert abs(r0[0] - 71.25) < 1e-6",
"assert abs(r0[1] - 22.618) < 1e-6",
"r1 = summarise([10, 36, 65, 43, 16])",
"assert r1[0] == 34",
"asser... |
theo-eng-code-L3-code-000531 | 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.33, 10000, 120)",
"assert abs(r0[0] - 10.37) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.39, 14000, 150)",
"assert abs(r1[0] - 13.72) < 1e-6",
"as... |
theo-eng-code-L3-code-013760 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 5000, 150)",
"assert abs(r0[0] - 5.28) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L1-clarify-001088 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-012083 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 17, -0.04, 0.15, 0.3, 0.7, 0.5)",
"assert abs(r0[0] - 0.0842) < 1e-6",
"assert abs(r0[1] - 0.5615) < 1e-6",
"assert abs(r0[2] - 0.0556) < 1e-6",
"r1 = com_zmp(15, 11, 0.03... |
theo-eng-code-L3-code-006148 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 26, 0.01, -0.01, 0.9, 0.7, 0.5)",
"assert abs(r0[0] - -0.0049) < 1e-6",
"assert abs(r0[1] - 0.7514) < 1e-6",
"assert abs(r0[2] - -0.0432) < 1e-6"
],
"subtask": "write... |
theo-eng-code-L2-code-006611 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(67, 3, 0.5)",
"assert abs(r0 - 47.42) < 1e-6",
"r1 = rms_torque(32, 13, 0.75)",
"assert abs(r1 - 28.46) < 1e-6",
"r2 = rms_torque(75, 23, 0.75)",
"assert abs(r2 - 65.9... |
theo-eng-code-L3-code-005960 | 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, 13500, 150)",
"assert abs(r0[0] - 10.18) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.42, 5000, 180)",
"assert abs(r1[0] - 4.4) < 1e-6",
"asser... |
theo-eng-code-L1-code-014491 | 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-007778 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 60, 6.0, 0.5)",
"assert abs(r0[0] - 23.43) < 1e-6",
"assert abs(r0[1] - 0.6716) < 1e-6",
"assert abs(r0[2] - 23.77) < 1e-6",
"r1 = joint_torque(0.5, 0.37, 9... |
theo-eng-code-L3-code-002397 | 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.27, 10500, 120)",
"assert abs(r0[0] - 8.91) < 1e-6",
"assert abs(r0[1] - 1178.9) < 1e-6",
"r1 = gear_ratio(0.39, 7000, 100)",
"assert abs(r1[0] - 10.29) < 1e-6",
"ass... |
theo-eng-code-L2-code-007590 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.1, 0.58, 60, 4.5, 4.0)",
"assert abs(r0[0] - 37.2) < 1e-6",
"assert abs(r0[1] - 2.1978) < 1e-6",
"assert abs(r0[2] - 45.99) < 1e-6",
"r1 = joint_torque(1.9, 0.39, 45... |
theo-eng-code-L2-code-003869 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 12000, 120)",
"assert abs(r0[0] - 14.7) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6",
"r1 = gear_ratio(0.34, 12500, 180)",
"assert abs(r1[0] - 8.9) < 1e-6",
"ass... |
theo-eng-code-L2-code-014851 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 6000, 100)",
"assert abs(r0[0] - 6.11) < 1e-6",
"assert abs(r0[1] - 982.4) < 1e-6",
"r1 = gear_ratio(0.35, 8000, 120)",
"assert abs(r1[0] - 8.8) < 1e-6",
"asser... |
theo-eng-code-L2-code-001326 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 9500, 180)",
"assert abs(r0[0] - 4.97) < 1e-6",
"assert abs(r0[1] - 1909.9) < 1e-6",
"r1 = gear_ratio(0.27, 8000, 100)",
"assert abs(r1[0] - 8.14) < 1e-6",
"ass... |
theo-eng-code-L2-code-002965 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 80, 3.6, 10)",
"assert r0[0] == 83",
"assert r0[1] == 27",
"assert r0[2] == 2241",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 80.676) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-010866 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 270, 340, 0.5)",
"assert abs(r0[0] - 305.0) < 1e-6",
"assert abs(r0[1] - 2.95) < 1e-6",
"assert abs(r0[2] - 177.0) < 1e-6",
"r1 = runtime(0.2, 50, 160, 0.5)",
"a... |
theo-eng-code-L2-code-012131 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([490, 400, 400, 260, 100], 1)",
"assert abs(r0 - 0.4583) < 1e-6",
"r1 = rect_energy([210, 490, 110], 10)",
"assert abs(r1 - 2.25) < 1e-6",
"r2 = rect_energy([380,... |
theo-eng-code-L3-code-005525 | 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(16, 10, 0.08, 0.13, 0.5, 0.4, 0.5)",
"assert abs(r0[0] - 0.0992) < 1e-6",
"assert abs(r0[1] - 0.4615) < 1e-6",
"assert abs(r0[2] - 0.0757) < 1e-6",
"r1 = com_zmp(12, 20, -0.07,... |
theo-eng-code-L2-code-007136 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(29, 6, 0.75)",
"assert abs(r0 - 25.29) < 1e-6",
"r1 = rms_torque(84, 24, 0.75)",
"assert abs(r1 - 73.73) < 1e-6",
"r2 = rms_torque(64, 23, 0.5)",
"assert abs(r2 - 48.0... |
theo-eng-code-L2-code-014134 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 110, 430, 310, 70], 10)",
"assert abs(r0 - 3.25) < 1e-6",
"r1 = rect_energy([190, 300, 380], 2)",
"assert abs(r1 - 0.4833) < 1e-6",
"r2 = rect_energy([440, ... |
theo-eng-code-L2-code-008571 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.0, 0.54, 90, 2.0, 1.5)",
"assert abs(r0[0] - 18.54) < 1e-6",
"assert abs(r0[1] - 0.8748) < 1e-6",
"assert abs(r0[2] - 19.85) < 1e-6",
"r1 = joint_torque(6.1, 0.4, 45... |
theo-eng-code-L3-code-013931 | 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, 130, 360, 0.3)",
"assert abs(r0[0] - 291.0) < 1e-6",
"assert abs(r0[1] - 0.31) < 1e-6",
"assert abs(r0[2] - 18.6) < 1e-6",
"r1 = runtime(1.0, 220, 260, 0.7)",
"ass... |
theo-eng-code-L2-code-005257 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 24, 0.25)",
"assert abs(r0 - 25.63) < 1e-6",
"r1 = rms_torque(67, 12, 0.25)",
"assert abs(r1 - 35.07) < 1e-6",
"r2 = rms_torque(9, 2, 0.5)",
"assert abs(r2 - 6.52)... |
theo-eng-code-L2-code-011535 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-015918 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 29, -0.05, 0.1, 0.3, 0.5, 1)",
"assert abs(r0[0] - 0.0489) < 1e-6",
"assert abs(r0[1] - 0.4318) < 1e-6",
"assert abs(r0[2] - 0.0048) < 1e-6",
"r1 = com_zmp(8, 11, 0.07, 0... |
theo-eng-code-L3-code-003166 | 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.37, 9500, 100)",
"assert abs(r0[0] - 13.25) < 1e-6",
"assert abs(r0[1] - 716.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-009086 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.7, 0.48, 60, 0.5, 3.0)",
"assert abs(r0[0] - 5.51) < 1e-6",
"assert abs(r0[1] - 0.2458) < 1e-6",
"assert abs(r0[2] - 6.24) < 1e-6",
"r1 = joint_torque(7.7, 0.26, 60,... |
theo-eng-code-L2-code-002943 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 50, 570, 0.5)",
"assert abs(r0[0] - 310.0) < 1e-6",
"assert abs(r0[1] - 2.9) < 1e-6",
"assert abs(r0[2] - 174.2) < 1e-6",
"r1 = runtime(0.5, 220, 110, 0.7)",
"as... |
theo-eng-code-L2-code-013529 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 28, -0.03, 0.01, 0.5, 0.3, 0.5)",
"assert abs(r0[0] - -0.0057) < 1e-6",
"assert abs(r0[1] - 0.3783) < 1e-6",
"assert abs(r0[2] - -0.0249) < 1e-6",
"r1 = com_zmp(19, 14, -... |
theo-eng-code-L3-code-008138 | 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(800, 80, 3.7, 10)",
"assert r0[0] == 216",
"assert r0[1] == 11",
"assert r0[2] == 2376",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 87.912) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-002771 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 0.0], [1.5, 2.0])",
"assert abs(r0 - 4.0311) < 1e-6",
"r1 = seg_len([3.5, 2.5], [3.5, 3.5])",
"assert abs(r1 - 1.0) < 1e-6",
"r2 = seg_len([5.0, 2.0], [2.0, 1.0])",... |
theo-eng-code-L3-code-015143 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(28, 18, 0.5)",
"assert abs(r0 - 23.54) < 1e-6",
"r1 = rms_torque(15, 11, 0.5)",
"assert abs(r1 - 13.15) < 1e-6",
"r2 = rms_torque(89, 22, 0.25)",
"assert abs(r2 - 48.41)... |
theo-eng-code-L1-code-006178 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-012793 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 11, -0.01, 0.02, 0.7, 0.5, 0)",
"assert abs(r0[0] - 0.0074) < 1e-6",
"assert abs(r0[1] - 0.5842) < 1e-6",
"assert abs(r0[2] - 0.0074) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L2-code-003159 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 1500, 80, 0.26, 2.0, 0.009, 0.6, 0.94, 0.9)",
"assert abs(r0[0] - 425.3) < 1e-6",
"assert abs(r0[1] - 9.31) < 1e-6",
"assert abs(r0[2] - 7.45) < 1e-6",
"r1 = erange(45, ... |
theo-eng-code-L2-code-002619 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(70, [0, 25, 50, 75, 100], [0.74, 0.83, 0.86, 0.9, 0.82])",
"assert abs(r0 - 0.892) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.79, 0.85, 0.89, 0.87, 0.81])",
"a... |
theo-eng-code-L3-code-011558 | 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(19, 14, -0.04, -0.05, 0.8, 0.8, 1)",
"assert abs(r0[0] - -0.0442) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.1258) < 1e-6",
"r1 = com_zmp(9, 30, 0.05, 0.... |
theo-eng-code-L3-code-006691 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 40, 110, 0.7)",
"assert abs(r0[0] - 61.0) < 1e-6",
"assert abs(r0[1] - 2.95) < 1e-6",
"assert abs(r0[2] - 177.0) < 1e-6",
"r1 = runtime(0.5, 40, 140, 0.7)",
"asser... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.