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-005857 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014934 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 170, 280, 0.7)",
"assert abs(r0[0] - 203.0) < 1e-6",
"assert abs(r0[1] - 0.89) < 1e-6",
"assert abs(r0[2] - 53.2) < 1e-6",
"r1 = runtime(1.0, 150, 250, 0.5)",
"a... |
theo-eng-code-L3-code-006128 | 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(200, 80, 3.6, 50)",
"assert r0[0] == 56",
"assert r0[1] == 8",
"assert r0[2] == 448",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 80.64) < 1e-6"
],
... |
theo-eng-code-L1-code-002826 | 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": "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-016006 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 22, 0.1, 1.0)",
"assert abs(r0[0] - 4.09) < 1e-6",
"assert abs(r0[1] - 245.5) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-005460 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(42, 5, 0.25)",
"assert abs(r0 - 21.44) < 1e-6",
"r1 = rms_torque(67, 39, 0.25)",
"assert abs(r1 - 47.57) < 1e-6",
"r2 = rms_torque(36, 14, 0.75)",
"assert abs(r2 - 31.... |
theo-eng-code-L1-refuse-002101 | 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-013076 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(92, 36, 0.75)",
"assert abs(r0 - 81.68) < 1e-6",
"r1 = rms_torque(41, 28, 0.25)",
"assert abs(r1 - 31.75) < 1e-6",
"r2 = rms_torque(43, 31, 0.5)",
"assert abs(r2 - 37.... |
theo-eng-code-L2-code-014020 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 2.5], [1.0, 2.5])",
"assert abs(r0 - 1.0) < 1e-6",
"r1 = seg_len([1.5, 0.0], [5.0, 0.0])",
"assert abs(r1 - 3.5) < 1e-6",
"r2 = seg_len([5.0, 4.5], [4.5, 4.5])",
... |
theo-eng-code-L3-code-015510 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(72, 1100, 60, 0.25, 2.8, 0.009, 1.1, 0.94, 0.85)",
"assert abs(r0[0] - 744.3) < 1e-6",
"assert abs(r0[1] - 8.22) < 1e-6",
"assert abs(r0[2] - 4.93) < 1e-6",
"r1 = erange(72, 2... |
theo-eng-code-L2-code-011006 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 30, 0.04, 0.09, 0.5, 0.6, 0)",
"assert abs(r0[0] - 0.0795) < 1e-6",
"assert abs(r0[1] - 0.5789) < 1e-6",
"assert abs(r0[2] - 0.0795) < 1e-6",
"r1 = com_zmp(8, 17, 0.02, 0.... |
theo-eng-code-L3-code-007263 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.0, 0.21, 45, 2.0, 0.5)",
"assert abs(r0[0] - 6.56) < 1e-6",
"assert abs(r0[1] - 0.1617) < 1e-6",
"assert abs(r0[2] - 6.64) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-009604 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 3.5], [1.0, 2.5])",
"assert abs(r0 - 1.0) < 1e-6",
"r1 = seg_len([4.0, 1.5], [0.5, 1.0])",
"assert abs(r1 - 3.5355) < 1e-6",
"r2 = seg_len([4.0, 4.0], [2.5, 4.5])",... |
theo-eng-code-L2-code-011751 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.33) < 1e-6",
"assert abs(r0[1] - 20.0) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"... |
theo-eng-code-L2-code-014516 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 60, 1.0, 1.5)",
"assert abs(r0[0] - 11.95) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - 12.4) < 1e-6",
"r1 = joint_torque(3.1, 0.16, 30, 0... |
theo-eng-code-L2-code-015356 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014685 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 26, -0.05, 0.08, 0.5, 0.8, 1)",
"assert abs(r0[0] - 0.0439) < 1e-6",
"assert abs(r0[1] - 0.7167) < 1e-6",
"assert abs(r0[2] - -0.0292) < 1e-6",
"r1 = com_zmp(14, 22, 0.05... |
theo-eng-code-L3-code-014467 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(63, 2720, 100, 0.3, 2.0, 0.009, 0.7, 0.9, 0.85)",
"assert abs(r0[0] - 317.5) < 1e-6",
"assert abs(r0[1] - 16.86) < 1e-6",
"assert abs(r0[2] - 16.86) < 1e-6",
"r1 = erange(22, ... |
theo-eng-code-L2-code-001099 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 90, 90, 0.5)",
"assert abs(r0[0] - 90.0) < 1e-6",
"assert abs(r0[1] - 2.0) < 1e-6",
"assert abs(r0[2] - 120.0) < 1e-6",
"r1 = runtime(0.5, 270, 460, 0.7)",
"asse... |
theo-eng-code-L2-code-004931 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 340, 240, 370, 360], 5)",
"assert abs(r0 - 2.4028) < 1e-6",
"r1 = rect_energy([200, 230, 400], 1)",
"assert abs(r1 - 0.2306) < 1e-6",
"r2 = rect_energy([490... |
theo-eng-code-L3-code-002050 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 22, 0.09, 0.05, 0.8, 0.8, 0)",
"assert abs(r0[0] - 0.0607) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - 0.0607) < 1e-6",
"r1 = com_zmp(14, 19, 0.07, 0.07, ... |
theo-eng-code-L3-code-013781 | 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.34, 11000, 120)",
"assert abs(r0[0] - 11.75) < 1e-6",
"assert abs(r0[1] - 936.2) < 1e-6",
"r1 = gear_ratio(0.28, 4000, 120)",
"assert abs(r1[0] - 3.52) < 1e-6",
"asse... |
theo-eng-code-L2-code-007198 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 18, 0.25)",
"assert abs(r0 - 19.08) < 1e-6",
"r1 = rms_torque(68, 31, 0.75)",
"assert abs(r1 - 60.9) < 1e-6",
"r2 = rms_torque(55, 39, 0.75)",
"assert abs(r2 - 51.... |
theo-eng-code-L1-refuse-008494 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-010848 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.0, 4.5], [2.0, 0.5])",
"assert abs(r0 - 4.4721) < 1e-6",
"r1 = seg_len([4.5, 3.5], [3.0, 3.0])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([5.0, 0.0], [1.5, 3.0]... |
theo-eng-code-L2-code-004923 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(42, 1830, 120, 0.32, 2.9, 0.009, 0.3, 0.94, 0.9)",
"assert abs(r0[0] - 159.6) < 1e-6",
"assert abs(r0[1] - 23.69) < 1e-6",
"assert abs(r0[2] - 28.43) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L3-code-000644 | 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(9, 18, -0.09, -0.02, 0.8, 0.6, 1)",
"assert abs(r0[0] - -0.0433) < 1e-6",
"assert abs(r0[1] - 0.6667) < 1e-6",
"assert abs(r0[2] - -0.1113) < 1e-6",
"r1 = com_zmp(19, 15, 0.1, ... |
theo-eng-code-L2-code-010837 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 27, -0.09, 0.07, 0.6, 0.9, 0)",
"assert abs(r0[0] - 0.0268) < 1e-6",
"assert abs(r0[1] - 0.8189) < 1e-6",
"assert abs(r0[2] - 0.0268) < 1e-6",
"r1 = com_zmp(14, 20, -0.01... |
theo-eng-code-L2-code-005109 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.9, 0.4, 60, 4.5, 2.0)",
"assert abs(r0[0] - 16.82) < 1e-6",
"assert abs(r0[1] - 0.768) < 1e-6",
"assert abs(r0[2] - 18.36) < 1e-6",
"r1 = joint_torque(2.4, 0.32, 45,... |
theo-eng-code-L1-code-008302 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-000359 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(96, 2630, 80, 0.33, 2.8, 0.01, 1.2, 0.9, 0.85)",
"assert abs(r0[0] - 451.1) < 1e-6",
"assert abs(r0[1] - 18.09) < 1e-6",
"assert abs(r0[2] - 14.47) < 1e-6"
],
"subtask"... |
theo-eng-code-L3-code-002998 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 24, 0.02, -0.02, 0.5, 0.6, 0)",
"assert abs(r0[0] - -0.012) < 1e-6",
"assert abs(r0[1] - 0.58) < 1e-6",
"assert abs(r0[2] - -0.012) < 1e-6",
"r1 = com_zmp(20, 13, 0.01, 0.13... |
theo-eng-code-L2-code-010481 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.0, 2.0], [0.0, 2.0])",
"assert abs(r0 - 2.0) < 1e-6",
"r1 = seg_len([1.0, 3.0], [5.0, 4.0])",
"assert abs(r1 - 4.1231) < 1e-6",
"r2 = seg_len([2.5, 2.0], [4.5, 1.5])",... |
theo-eng-code-L2-code-014528 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([97, 39, 15, 43])",
"assert abs(r0[0] - 48.5) < 1e-6",
"assert abs(r0[1] - 34.617) < 1e-6",
"r1 = summarise([45, 89, 27, 56])",
"assert abs(r1[0] - 54.25) < 1e-6",
... |
theo-eng-code-L2-code-006266 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.1, 0.9)",
"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",
"r1 = charge_ti... |
theo-eng-code-L3-code-000467 | 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(400, 60, 3.2, 2.5)",
"assert r0[0] == 125",
"assert r0[1] == 60",
"assert r0[2] == 7500",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-014984 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 22, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-015520 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 130, 360, 0.7)",
"assert abs(r0[0] - 199.0) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - 27.1) < 1e-6",
"r1 = runtime(0.1, 170, 280, 0.5)",
"a... |
theo-eng-code-L2-code-012672 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 50, 0.2, 0.8)",
"assert abs(r0[0] - 1.2) < 1e-6",
"assert abs(r0[1] - 72.0) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L3-code-004016 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.6, 100)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-001588 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')",
"assert r0[0] == 20",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-008530 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.67) < 1e-6",
"assert abs(r0[1] - 40.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_... |
theo-eng-code-L3-code-007122 | 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, 10, 0.75)",
"assert abs(r0 - 58.24) < 1e-6",
"r1 = rms_torque(9, 8, 0.5)",
"assert abs(r1 - 8.51) < 1e-6",
"r2 = rms_torque(37, 9, 0.25)",
"assert abs(r2 - 20.07) < ... |
theo-eng-code-L1-code-003934 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-001668 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([61, 37, 21, 11])",
"assert abs(r0[0] - 32.5) < 1e-6",
"assert abs(r0[1] - 21.81) < 1e-6",
"r1 = summarise([55, 33, 39, 42, 90, 43])",
"assert abs(r1[0] - 50.333) < ... |
theo-eng-code-L3-code-001536 | 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.29, 12000, 100)",
"assert abs(r0[0] - 13.12) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.45, 13500, 120)",
"assert abs(r1[0] - 19.09) < 1e-6",
"as... |
theo-eng-code-L2-code-015006 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-008464 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([140, 160, 180, 390], 5)",
"assert abs(r0 - 1.2083) < 1e-6",
"r1 = rect_energy([220, 170, 160, 420, 450], 2)",
"assert abs(r1 - 0.7889) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L3-code-011516 | 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(0.2, 180, 250, 0.7)",
"assert abs(r0[0] - 201.0) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - 53.7) < 1e-6",
"r1 = runtime(0.2, 290, 210, 0.7)",
"asse... |
theo-eng-code-L2-code-015784 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-003122 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-006740 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 10000, 120)",
"assert abs(r0[0] - 8.17) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-012358 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 14500, 100)",
"assert abs(r0[0] - 21.32) < 1e-6",
"assert abs(r0[1] - 680.1) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-008795 | 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(68, 7, 0.5)",
"assert abs(r0 - 48.34) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-013367 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 7, 0.2, 0.8)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-014038 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([91, 16, 46, 66])",
"assert abs(r0[0] - 54.75) < 1e-6",
"assert abs(r0[1] - 31.721) < 1e-6",
"r1 = summarise([65, 50, 77, 55, 91])",
"assert abs(r1[0] - 67.6) < 1e-6... |
theo-eng-code-L2-code-009294 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.78, 0.81, 0.89, 0.88, 0.81])",
"assert abs(r0 - 0.826) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.79, 0.84, 0.9, 0.86, 0.83])",
"a... |
theo-eng-code-L2-code-007237 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 30, 140, 0.3)",
"assert abs(r0[0] - 107.0) < 1e-6",
"assert abs(r0[1] - 4.21) < 1e-6",
"assert abs(r0[2] - 252.3) < 1e-6",
"r1 = runtime(0.5, 80, 300, 0.5)",
"as... |
theo-eng-code-L2-code-015499 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 9500, 150)",
"assert abs(r0[0] - 10.03) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6",
"r1 = gear_ratio(0.4, 12000, 120)",
"assert abs(r1[0] - 15.08) < 1e-6",
"as... |
theo-eng-code-L2-code-002520 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8.0, 0.16, 45, 4.5, 4.0)",
"assert abs(r0[0] - 9.43) < 1e-6",
"assert abs(r0[1] - 0.1835) < 1e-6",
"assert abs(r0[2] - 10.17) < 1e-6",
"r1 = joint_torque(7.5, 0.24, 45... |
theo-eng-code-L2-code-011216 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 2.5], [3.5, 1.5])",
"assert abs(r0 - 1.8028) < 1e-6",
"r1 = seg_len([5.0, 1.0], [0.0, 2.5])",
"assert abs(r1 - 5.2202) < 1e-6",
"r2 = seg_len([0.5, 3.0], [5.0, 4.0]... |
theo-eng-code-L2-code-000718 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 260, 570, 0.5)",
"assert abs(r0[0] - 415.0) < 1e-6",
"assert abs(r0[1] - 0.43) < 1e-6",
"assert abs(r0[2] - 26.0) < 1e-6",
"r1 = runtime(0.1, 240, 590, 0.5)",
"a... |
theo-eng-code-L1-refuse-005526 | 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_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-001270 | 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(15, 20, 0.01, -0.03, 0.5, 0.4, 2)",
"assert abs(r0[0] - -0.0129) < 1e-6",
"assert abs(r0[1] - 0.4429) < 1e-6",
"assert abs(r0[2] - -0.1031) < 1e-6",
"r1 = com_zmp(9, 13, 0.0, 0... |
theo-eng-code-L1-code-011830 | 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": "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-007927 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(37, 2640, 80, 0.25, 2.1, 0.013, 1.5, 0.88, 0.9)",
"assert abs(r0[0] - 190.1) < 1e-6",
"assert abs(r0[1] - 17.52) < 1e-6",
"assert abs(r0[2] - 14.01) < 1e-6",
"r1 = erange(29... |
theo-eng-code-L3-code-014421 | 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(800, 10, 3.6, 5)",
"assert r0[0] == 222",
"assert r0[1] == 3",
"assert r0[2] == 666",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-010755 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 10500, 180)",
"assert abs(r0[0] - 7.92) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L1-clarify-011103 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-014227 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 10, 0.5)",
"assert abs(r0 - 57.71) < 1e-6",
"r1 = rms_torque(38, 25, 0.5)",
"assert abs(r1 - 32.16) < 1e-6",
"r2 = rms_torque(30, 2, 0.5)",
"assert abs(r2 - 21.26)... |
theo-eng-code-L2-code-007224 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 13, 0.75)",
"assert abs(r0 - 67.86) < 1e-6",
"r1 = rms_torque(37, 36, 0.25)",
"assert abs(r1 - 36.25) < 1e-6",
"r2 = rms_torque(46, 18, 0.25)",
"assert abs(r2 - 27... |
theo-eng-code-L3-code-015241 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(24, 1510, 60, 0.31, 2.2, 0.007, 1.0, 0.88, 0.85)",
"assert abs(r0[0] - 237.1) < 1e-6",
"assert abs(r0[1] - 8.6) < 1e-6",
"assert abs(r0[2] - 5.16) < 1e-6"
],
"subtask":... |
theo-eng-code-L3-code-013432 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 7500, 150)",
"assert abs(r0[0] - 5.84) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6",
"r1 = gear_ratio(0.31, 6000, 150)",
"assert abs(r1[0] - 4.67) < 1e-6",
"asser... |
theo-eng-code-L2-code-004401 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005564 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.9, 0.43, 90, 5.0, 0.5)",
"assert abs(r0[0] - 25.1) < 1e-6",
"assert abs(r0[1] - 1.0416) < 1e-6",
"assert abs(r0[2] - 25.62) < 1e-6",
"r1 = joint_torque(5.7, 0.2, 90, 6... |
theo-eng-code-L2-code-003133 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(72, 37, 0.5)",
"assert abs(r0 - 57.24) < 1e-6",
"r1 = rms_torque(56, 19, 0.75)",
"assert abs(r1 - 49.42) < 1e-6",
"r2 = rms_torque(91, 35, 0.5)",
"assert abs(r2 - 68.9... |
theo-eng-code-L2-code-008629 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([450, 60, 180, 360, 320], 1)",
"assert abs(r0 - 0.3806) < 1e-6",
"r1 = rect_energy([220, 70, 210, 320, 390], 5)",
"assert abs(r1 - 1.6806) < 1e-6",
"r2 = rect_ene... |
theo-eng-code-L2-code-004052 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 50, 0.2, 1.0)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 96.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L3-code-002427 | 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(52, 1010, 60, 0.37, 2.4, 0.008, 0.5, 0.92, 0.85)",
"assert abs(r0[0] - 567.5) < 1e-6",
"assert abs(r0[1] - 7.79) < 1e-6",
"assert abs(r0[2] - 4.67) < 1e-6"
],
"subtask"... |
theo-eng-code-L3-code-010991 | 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(100, 50, 0.2, 0.9)",
"assert abs(r0[0] - 1.75) < 1e-6",
"assert abs(r0[1] - 105.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L3-code-008870 | 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(20, 13, -0.03, 0.07, 0.3, 0.9, 0.5)",
"assert abs(r0[0] - 0.0094) < 1e-6",
"assert abs(r0[1] - 0.5364) < 1e-6",
"assert abs(r0[2] - -0.0179) < 1e-6",
"r1 = com_zmp(17, 28, -0.0... |
theo-eng-code-L3-code-015330 | 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(1.0, 200, 90, 0.3)",
"assert abs(r0[0] - 123.0) < 1e-6",
"assert abs(r0[1] - 7.32) < 1e-6",
"assert abs(r0[2] - 439.0) < 1e-6",
"r1 = runtime(1.0, 100, 100, 0.5)",
"ass... |
theo-eng-code-L2-code-013198 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 160, 500, 0.7)",
"assert abs(r0[0] - 262.0) < 1e-6",
"assert abs(r0[1] - 3.44) < 1e-6",
"assert abs(r0[2] - 206.1) < 1e-6",
"r1 = runtime(0.5, 80, 490, 0.5)",
"a... |
theo-eng-code-L3-code-003331 | 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, 15000, 180)",
"assert abs(r0[0] - 10.37) < 1e-6",
"assert abs(r0[1] - 1446.9) < 1e-6",
"r1 = gear_ratio(0.43, 13000, 120)",
"assert abs(r1[0] - 17.56) < 1e-6",
"a... |
theo-eng-code-L2-code-000306 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 60, 3.7, 50)",
"assert r0[0] == 135",
"assert r0[1] == 3",
"assert r0[2] == 405",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 74.925) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-002704 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.7, 0.59, 45, 8.0, 2.5)",
"assert abs(r0[0] - 40.31) < 1e-6",
"assert abs(r0[1] - 3.2141) < 1e-6",
"assert abs(r0[2] - 48.35) < 1e-6",
"r1 = joint_torque(3.6, 0.16, 9... |
theo-eng-code-L2-code-015324 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, [0, 25, 50, 75, 100], [0.73, 0.85, 0.87, 0.9, 0.8])",
"assert abs(r0 - 0.802) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.77, 0.84, 0.89, 0.89, 0.81])",
"as... |
theo-eng-code-L1-code-015035 | 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": "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-006734 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.9, 0.25, 90, 4.5, 0.0)",
"assert abs(r0[0] - 20.72) < 1e-6",
"assert abs(r0[1] - 0.4458) < 1e-6",
"assert abs(r0[2] - 20.72) < 1e-6",
"r1 = joint_torque(0.6, 0.45, 90,... |
theo-eng-code-L3-code-006570 | 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(13, 18, 0.04, 0.12, 0.7, 0.7, 1)",
"assert abs(r0[0] - 0.0865) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - 0.0151) < 1e-6",
"r1 = com_zmp(10, 24, -0.02, 0.03... |
theo-eng-code-L2-code-000388 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 10500, 120)",
"assert abs(r0[0] - 9.24) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.31, 4500, 120)",
"assert abs(r1[0] - 4.38) < 1e-6",
"as... |
theo-eng-code-L2-code-013829 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 12500, 150)",
"assert abs(r0[0] - 8.8) < 1e-6",
"assert abs(r0[1] - 1421.0) < 1e-6",
"r1 = gear_ratio(0.4, 13500, 150)",
"assert abs(r1[0] - 13.57) < 1e-6",
"as... |
theo-eng-code-L3-code-001015 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(73, 1400, 100, 0.37, 3.0, 0.007, 0.5, 0.94, 0.95)",
"assert abs(r0[0] - 368.0) < 1e-6",
"assert abs(r0[1] - 18.84) < 1e-6",
"assert abs(r0[2] - 18.84) < 1e-6",
"r1 = erange(87... |
theo-eng-code-L1-clarify-002003 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-008483 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([69, 95, 15, 80, 64])",
"assert abs(r0[0] - 64.6) < 1e-6",
"assert abs(r0[1] - 30.171) < 1e-6",
"r1 = summarise([68, 62, 55, 75])",
"assert r1[0] == 65",
"assert... |
theo-eng-code-L3-code-004059 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.8, 0.15, 90, 6.5, 3.5)",
"assert abs(r0[0] - 10.89) < 1e-6",
"assert abs(r0[1] - 0.1598) < 1e-6",
"assert abs(r0[2] - 11.45) < 1e-6",
"r1 = joint_torque(3.3, 0.6, 60, ... |
theo-eng-code-L2-code-011253 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 14, -0.03, 0.13, 0.6, 0.4, 2)",
"assert abs(r0[0] - 0.04) < 1e-6",
"assert abs(r0[1] - 0.5125) < 1e-6",
"assert abs(r0[2] - -0.0645) < 1e-6",
"r1 = com_zmp(20, 17, -0.1, ... |
theo-eng-code-L2-code-006096 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, [0, 25, 50, 75, 100], [0.76, 0.82, 0.86, 0.9, 0.82])",
"assert abs(r0 - 0.9) < 1e-6",
"r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.75, 0.81, 0.87, 0.85, 0.82])",
"ass... |
theo-eng-code-L3-code-013525 | 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(10, 12, 0.06, 0.04, 0.4, 0.9, 0.5)",
"assert abs(r0[0] - 0.0491) < 1e-6",
"assert abs(r0[1] - 0.6727) < 1e-6",
"assert abs(r0[2] - 0.0148) < 1e-6",
"r1 = com_zmp(10, 26, -0.05,... |
theo-eng-code-L2-code-011367 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 200, 420], 10)",
"assert abs(r0 - 2.8889) < 1e-6",
"r1 = rect_energy([200, 470, 180], 2)",
"assert abs(r1 - 0.4722) < 1e-6",
"r2 = rect_energy([200, 270, 34... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.