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-L3-code-003956 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(69, 39, 0.5)",
"assert abs(r0 - 56.04) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L3-code-006470 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 170, 180, 0.3)",
"assert abs(r0[0] - 177.0) < 1e-6",
"assert abs(r0[1] - 5.08) < 1e-6",
"assert abs(r0[2] - 305.1) < 1e-6",
"r1 = runtime(1.0, 250, 520, 0.7)",
"as... |
theo-eng-code-L1-clarify-015761 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-004178 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.7, 2.5)",
"assert r0[0] == 135",
"assert r0[1] == 33",
"assert r0[2] == 4455",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 41.209) < 1e-6",
"r... |
theo-eng-code-L2-code-009772 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004997 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')",
"assert r0[0] == 80",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r1[0] == 20",
"... |
theo-eng-code-L3-code-000924 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.6, 5)",
"assert r0[0] == 111",
"assert r0[1] == 6",
"assert r0[2] == 666",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-013364 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-clarify-008833 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-014933 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 270, 280, 0.5)",
"assert abs(r0[0] - 275.0) < 1e-6",
"assert abs(r0[1] - 1.64) < 1e-6",
"assert abs(r0[2] - 98.2) < 1e-6",
"r1 = runtime(1.0, 240, 480, 0.5)",
"a... |
theo-eng-code-L2-code-005563 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 100, 440, 0.7)",
"assert abs(r0[0] - 202.0) < 1e-6",
"assert abs(r0[1] - 0.89) < 1e-6",
"assert abs(r0[2] - 53.5) < 1e-6",
"r1 = runtime(0.1, 40, 420, 0.5)",
"as... |
theo-eng-code-L2-code-012356 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 27, 0.5)",
"assert abs(r0 - 36.5) < 1e-6",
"r1 = rms_torque(55, 36, 0.5)",
"assert abs(r1 - 46.48) < 1e-6",
"r2 = rms_torque(63, 10, 0.25)",
"assert abs(r2 - 32.67... |
theo-eng-code-L2-code-015224 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 27, -0.04, 0.15, 0.9, 0.3, 2)",
"assert abs(r0[0] - 0.0851) < 1e-6",
"assert abs(r0[1] - 0.5049) < 1e-6",
"assert abs(r0[2] - -0.0178) < 1e-6",
"r1 = com_zmp(18, 24, 0.07... |
theo-eng-code-L2-code-007539 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 13, -0.05, -0.05, 0.6, 0.7, 0)",
"assert abs(r0[0] - -0.05) < 1e-6",
"assert abs(r0[1] - 0.6481) < 1e-6",
"assert abs(r0[2] - -0.05) < 1e-6",
"r1 = com_zmp(18, 15, 0.02, ... |
theo-eng-code-L1-clarify-004949 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-015144 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([180, 320, 190, 500], 2)",
"assert abs(r0 - 0.6611) < 1e-6",
"r1 = rect_energy([60, 390, 120], 5)",
"assert abs(r1 - 0.7917) < 1e-6",
"r2 = rect_energy([90, 360, ... |
theo-eng-code-L3-code-010234 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 17, 0.02, 0.15, 0.7, 0.8, 0.5)",
"assert abs(r0[0] - 0.0989) < 1e-6",
"assert abs(r0[1] - 0.7607) < 1e-6",
"assert abs(r0[2] - 0.0602) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L3-code-006790 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 0.9)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time(... |
theo-eng-code-L2-code-011965 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-000700 | 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(5.7, 0.26, 45, 0.5, 3.5)",
"assert abs(r0[0] - 6.04) < 1e-6",
"assert abs(r0[1] - 0.1622) < 1e-6",
"assert abs(r0[2] - 6.61) < 1e-6",
"r1 = joint_torque(6.3, 0.56, 60, 5... |
theo-eng-code-L1-code-011503 | 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-001529 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.5, 0.46, 45, 0.0, 4.0)",
"assert abs(r0[0] - 8.77) < 1e-6",
"assert abs(r0[1] - 0.3879) < 1e-6",
"assert abs(r0[2] - 10.33) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-002698 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.2, 50)",
"assert r0[0] == 62",
"assert r0[1] == 3",
"assert r0[2] == 186",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 29.76) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-015193 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 230, 310, 0.5)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 0.67) < 1e-6",
"assert abs(r0[2] - 40.0) < 1e-6",
"r1 = runtime(1.0, 260, 270, 0.3)",
"a... |
theo-eng-code-L2-code-010476 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.2, 0.9)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L3-code-003785 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 22, 0.1, 0.9)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L2-code-008622 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 2580, 60, 0.28, 3.1, 0.012, 1.0, 0.88, 0.9)",
"assert abs(r0[0] - 243.2) < 1e-6",
"assert abs(r0[1] - 15.92) < 1e-6",
"assert abs(r0[2] - 9.55) < 1e-6",
"r1 = erange(72,... |
theo-eng-code-L3-code-014991 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.8, 0.3, 60, 3.0, 2.5)",
"assert abs(r0[0] - 17.59) < 1e-6",
"assert abs(r0[1] - 0.504) < 1e-6",
"assert abs(r0[2] - 18.85) < 1e-6",
"r1 = joint_torque(7.2, 0.5, 60, 4.... |
theo-eng-code-L2-code-001839 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 2.5], [3.5, 1.5])",
"assert abs(r0 - 1.8028) < 1e-6",
"r1 = seg_len([4.5, 1.0], [5.0, 1.5])",
"assert abs(r1 - 0.7071) < 1e-6",
"r2 = seg_len([2.0, 2.0], [1.5, 1.5]... |
theo-eng-code-L2-code-010293 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 22, 0.2, 0.9)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L3-code-010563 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.7, 2.5)",
"assert r0[0] == 108",
"assert r0[1] == 41",
"assert r0[2] == 4428",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6"
... |
theo-eng-code-L2-code-012044 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(58, 9, 0.5)",
"assert abs(r0 - 41.5) < 1e-6",
"r1 = rms_torque(99, 12, 0.75)",
"assert abs(r1 - 85.95) < 1e-6",
"r2 = rms_torque(39, 10, 0.5)",
"assert abs(r2 - 28.47)... |
theo-eng-code-L2-code-009569 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 21",
"assert r0[2] == 2268",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 41.958) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-007894 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 19, -0.05, 0.15, 0.4, 0.5, 1)",
"assert abs(r0[0] - 0.05) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - 0.0041) < 1e-6",
"r1 = com_zmp(10, 16, -0.08, -0.0... |
theo-eng-code-L3-code-005669 | 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(67, 25, 0.75)",
"assert abs(r0 - 59.35) < 1e-6",
"r1 = rms_torque(74, 24, 0.5)",
"assert abs(r1 - 55.01) < 1e-6",
"r2 = rms_torque(73, 36, 0.5)",
"assert abs(r2 - 57.55)... |
theo-eng-code-L2-code-008331 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12000, 120)",
"assert abs(r0[0] - 13.57) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.36, 15000, 150)",
"assert abs(r1[0] - 13.57) < 1e-6",
"... |
theo-eng-code-L2-code-003885 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 100}')",
"assert r0[0] == 40",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')",
"assert r1[0] == 80",
... |
theo-eng-code-L2-code-005492 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(41, 11, 0.5)",
"assert abs(r0 - 30.02) < 1e-6",
"r1 = rms_torque(36, 16, 0.75)",
"assert abs(r1 - 32.19) < 1e-6",
"r2 = rms_torque(42, 16, 0.75)",
"assert abs(r2 - 37.... |
theo-eng-code-L2-code-000495 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(79, 1000, 80, 0.22, 2.7, 0.011, 0.7, 0.92, 0.85)",
"assert abs(r0[0] - 702.6) < 1e-6",
"assert abs(r0[1] - 9.56) < 1e-6",
"assert abs(r0[2] - 7.65) < 1e-6",
"r1 = erange(72,... |
theo-eng-code-L3-code-014376 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.1, 0.8)",
"assert abs(r0[0] - 3.98) < 1e-6",
"assert abs(r0[1] - 238.6) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 22"
],
"subtas... |
theo-eng-code-L2-code-000623 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-015995 | 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(13, 18, -0.02, 0.13, 0.8, 0.6, 1)",
"assert abs(r0[0] - 0.0671) < 1e-6",
"assert abs(r0[1] - 0.6839) < 1e-6",
"assert abs(r0[2] - -0.0026) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-008071 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.1, 1.0)",
"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... |
theo-eng-code-L2-code-001091 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(89, 39, 0.75)",
"assert abs(r0 - 79.5) < 1e-6",
"r1 = rms_torque(95, 39, 0.75)",
"assert abs(r1 - 84.55) < 1e-6",
"r2 = rms_torque(14, 2, 0.25)",
"assert abs(r2 - 7.21... |
theo-eng-code-L3-code-015142 | 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(80, 1910, 120, 0.27, 3.1, 0.013, 0.9, 0.9, 0.95)",
"assert abs(r0[0] - 294.0) < 1e-6",
"assert abs(r0[1] - 25.85) < 1e-6",
"assert abs(r0[2] - 31.02) < 1e-6",
"r1 = erange(39,... |
theo-eng-code-L2-code-002927 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([350, 460, 410, 460, 300], 2)",
"assert abs(r0 - 1.1) < 1e-6",
"r1 = rect_energy([80, 350, 330, 490, 50], 2)",
"assert abs(r1 - 0.7222) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L2-code-009640 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-000016 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 12000, 120)",
"assert abs(r0[0] - 11.69) < 1e-6",
"assert abs(r0[1] - 1026.8) < 1e-6",
"r1 = gear_ratio(0.4, 8500, 100)",
"assert abs(r1[0] - 12.82) < 1e-6",
"a... |
theo-eng-code-L2-code-002879 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 4.5], [3.5, 4.0])",
"assert abs(r0 - 3.5355) < 1e-6",
"r1 = seg_len([3.0, 0.5], [2.0, 4.5])",
"assert abs(r1 - 4.1231) < 1e-6",
"r2 = seg_len([2.5, 0.0], [2.5, 3.5]... |
theo-eng-code-L3-code-011828 | 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(8, 23, 0.0, 0.01, 0.4, 0.4, 1)",
"assert abs(r0[0] - 0.0074) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - -0.0334) < 1e-6",
"r1 = com_zmp(13, 13, 0.0, -0.01, ... |
theo-eng-code-L2-code-001890 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 24, 0.08, 0.15, 0.7, 0.3, 1)",
"assert abs(r0[0] - 0.1242) < 1e-6",
"assert abs(r0[1] - 0.4474) < 1e-6",
"assert abs(r0[2] - 0.0786) < 1e-6",
"r1 = com_zmp(11, 29, 0.0, 0... |
theo-eng-code-L2-code-007693 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 290, 350, 0.5)",
"assert abs(r0[0] - 320.0) < 1e-6",
"assert abs(r0[1] - 0.56) < 1e-6",
"assert abs(r0[2] - 33.8) < 1e-6",
"r1 = runtime(0.1, 150, 150, 0.5)",
"a... |
theo-eng-code-L1-clarify-002589 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-004094 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 2, 0.25)",
"assert abs(r0 - 24.56) < 1e-6",
"r1 = rms_torque(20, 9, 0.25)",
"assert abs(r1 - 12.68) < 1e-6",
"r2 = rms_torque(46, 36, 0.75)",
"assert abs(r2 - 43.7... |
theo-eng-code-L1-code-009960 | 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": "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-011673 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-009819 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.2, 0.11, 45, 3.5, 4.0)",
"assert abs(r0[0] - 4.65) < 1e-6",
"assert abs(r0[1] - 0.0633) < 1e-6",
"assert abs(r0[2] - 4.91) < 1e-6",
"r1 = joint_torque(4.3, 0.58, 30,... |
theo-eng-code-L2-code-002534 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 8500, 180)",
"assert abs(r0[0] - 6.59) < 1e-6",
"assert abs(r0[1] - 1290.4) < 1e-6",
"r1 = gear_ratio(0.38, 14000, 120)",
"assert abs(r1[0] - 16.71) < 1e-6",
"a... |
theo-eng-code-L2-code-014265 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 27, 0.04, 0.07, 0.5, 0.4, 2)",
"assert abs(r0[0] - 0.0631) < 1e-6",
"assert abs(r0[1] - 0.4229) < 1e-6",
"assert abs(r0[2] - -0.0231) < 1e-6",
"r1 = com_zmp(14, 24, -0.1, ... |
theo-eng-code-L2-code-006619 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([230, 160, 270, 390, 300], 10)",
"assert abs(r0 - 3.75) < 1e-6",
"r1 = rect_energy([380, 190, 250], 10)",
"assert abs(r1 - 2.2778) < 1e-6",
"r2 = rect_energy([470... |
theo-eng-code-L2-code-014122 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 70, 310, 0.5)",
"assert abs(r0[0] - 190.0) < 1e-6",
"assert abs(r0[1] - 0.95) < 1e-6",
"assert abs(r0[2] - 56.8) < 1e-6",
"r1 = runtime(1.0, 110, 220, 0.3)",
"as... |
theo-eng-code-L2-code-012764 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 160, 70, 0.7)",
"assert abs(r0[0] - 133.0) < 1e-6",
"assert abs(r0[1] - 6.77) < 1e-6",
"assert abs(r0[2] - 406.0) < 1e-6",
"r1 = runtime(0.5, 80, 170, 0.3)",
"as... |
theo-eng-code-L3-code-008033 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 14, 0.09, 0.11, 0.4, 0.6, 0.5)",
"assert abs(r0[0] - 0.1017) < 1e-6",
"assert abs(r0[1] - 0.5167) < 1e-6",
"assert abs(r0[2] - 0.0753) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-014752 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 15, 0.02, -0.02, 0.5, 0.7, 0)",
"assert abs(r0[0] - 0.0) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 0.0) < 1e-6",
"r1 = com_zmp(8, 21, -0.06, 0.11, 0.... |
theo-eng-code-L2-code-015004 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 2540, 100, 0.31, 2.9, 0.007, 0.6, 0.88, 0.9)",
"assert abs(r0[0] - 258.2) < 1e-6",
"assert abs(r0[1] - 19.52) < 1e-6",
"assert abs(r0[2] - 19.52) < 1e-6",
"r1 = erange(6... |
theo-eng-code-L1-clarify-012470 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-007585 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-012220 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-000985 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.2, 0.9)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-013274 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.3, 0.52, 90, 8.0, 2.0)",
"assert abs(r0[0] - 51.78) < 1e-6",
"assert abs(r0[1] - 2.5508) < 1e-6",
"assert abs(r0[2] - 56.88) < 1e-6",
"r1 = joint_torque(3.9, 0.59, 4... |
theo-eng-code-L2-code-012746 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 3.5], [2.0, 2.5])",
"assert abs(r0 - 1.4142) < 1e-6",
"r1 = seg_len([0.5, 2.0], [3.5, 5.0])",
"assert abs(r1 - 4.2426) < 1e-6",
"r2 = seg_len([1.5, 3.5], [1.0, 1.5]... |
theo-eng-code-L3-code-003766 | 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.32, 5500, 120)",
"assert abs(r0[0] - 5.53) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-012020 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.2, 1.0)",
"assert abs(r0[0] - 5.71) < 1e-6",
"assert abs(r0[1] - 342.9) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-004917 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 20, 3.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 6",
"assert r0[2] == 666",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 23.976) < 1e-6",
"r1 =... |
theo-eng-code-L1-clarify-011125 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-refuse-003026 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-008838 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 7000, 100)",
"assert abs(r0[0] - 9.5) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.38, 12000, 150)",
"assert abs(r1[0] - 11.46) < 1e-6",
"ass... |
theo-eng-code-L2-code-015297 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 27, -0.06, 0.03, 0.6, 0.3, 0.5)",
"assert abs(r0[0] - -0.0021) < 1e-6",
"assert abs(r0[1] - 0.4071) < 1e-6",
"assert abs(r0[2] - -0.0229) < 1e-6",
"r1 = com_zmp(5, 22, 0.... |
theo-eng-code-L2-code-001586 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([50, 460, 180, 410, 420], 10)",
"assert abs(r0 - 4.2222) < 1e-6",
"r1 = rect_energy([140, 450, 110, 120, 480], 1)",
"assert abs(r1 - 0.3611) < 1e-6",
"r2 = rect_e... |
theo-eng-code-L2-code-000337 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 4, 0.75)",
"assert abs(r0 - 4.77) < 1e-6",
"r1 = rms_torque(32, 27, 0.75)",
"assert abs(r1 - 30.83) < 1e-6",
"r2 = rms_torque(71, 40, 0.25)",
"assert abs(r2 - 49.6)... |
theo-eng-code-L1-clarify-012834 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-000404 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 10, -0.07, 0.09, 0.6, 0.8, 0)",
"assert abs(r0[0] - -0.0085) < 1e-6",
"assert abs(r0[1] - 0.6769) < 1e-6",
"assert abs(r0[2] - -0.0085) < 1e-6",
"r1 = com_zmp(16, 11, -0.02... |
theo-eng-code-L1-code-004198 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-014150 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(35, [0, 25, 50, 75, 100], [0.75, 0.83, 0.86, 0.88, 0.84])",
"assert abs(r0 - 0.842) < 1e-6",
"r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.72, 0.85, 0.85, 0.9, 0.85])",
"a... |
theo-eng-code-L2-code-004721 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 60, 380, 0.3)",
"assert abs(r0[0] - 284.0) < 1e-6",
"assert abs(r0[1] - 3.17) < 1e-6",
"assert abs(r0[2] - 190.1) < 1e-6",
"r1 = runtime(0.1, 150, 410, 0.5)",
"a... |
theo-eng-code-L2-code-003565 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 4.5], [1.0, 5.0])",
"assert abs(r0 - 0.5) < 1e-6",
"r1 = seg_len([4.0, 0.0], [4.0, 2.5])",
"assert abs(r1 - 2.5) < 1e-6",
"r2 = seg_len([5.0, 5.0], [2.5, 0.0])",
... |
theo-eng-code-L2-code-007526 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([160, 100, 350, 200, 380], 2)",
"assert abs(r0 - 0.6611) < 1e-6",
"r1 = rect_energy([380, 230, 70, 280, 250], 10)",
"assert abs(r1 - 3.3611) < 1e-6",
"r2 = rect_e... |
theo-eng-code-L2-code-014253 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 13000, 180)",
"assert abs(r0[0] - 9.53) < 1e-6",
"assert abs(r0[1] - 1364.2) < 1e-6",
"r1 = gear_ratio(0.32, 13500, 180)",
"assert abs(r1[0] - 9.05) < 1e-6",
"a... |
theo-eng-code-L3-code-004639 | 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(200, 60, 3.6, 10)",
"assert r0[0] == 56",
"assert r0[1] == 30",
"assert r0[2] == 1680",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1 = p... |
theo-eng-code-L1-refuse-000613 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-code-011986 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "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-003072 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 12500, 180)",
"assert abs(r0[0] - 8.38) < 1e-6",
"assert abs(r0[1] - 1492.1) < 1e-6",
"r1 = gear_ratio(0.31, 6500, 180)",
"assert abs(r1[0] - 4.22) < 1e-6",
"as... |
theo-eng-code-L2-code-015459 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 140, 560, 0.5)",
"assert abs(r0[0] - 350.0) < 1e-6",
"assert abs(r0[1] - 0.51) < 1e-6",
"assert abs(r0[2] - 30.9) < 1e-6",
"r1 = runtime(1.0, 50, 50, 0.7)",
"ass... |
theo-eng-code-L2-code-008112 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.2, 0.9)",
"assert abs(r0[0] - 0.7) < 1e-6",
"assert abs(r0[1] - 42.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L3-code-005560 | 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(80, 11, 0.1, 1.0)",
"assert abs(r0[0] - 8.18) < 1e-6",
"assert abs(r0[1] - 490.9) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L3-code-001953 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 40, 270, 0.7)",
"assert abs(r0[0] - 109.0) < 1e-6",
"assert abs(r0[1] - 8.26) < 1e-6",
"assert abs(r0[2] - 495.4) < 1e-6",
"r1 = runtime(0.1, 160, 40, 0.7)",
"asse... |
theo-eng-code-L2-code-002375 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 6",
"assert r0[2] == 648",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-007351 | 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": "3",
"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"
],
... |
theo-eng-code-L1-refuse-011890 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-003665 | 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.38, 4500, 150)",
"assert abs(r0[0] - 4.3) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.