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-007261 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.41, 11000, 100)",
"assert abs(r0[0] - 17.0) < 1e-6",
"assert abs(r0[1] - 647.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-009702 | 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(2.7, 0.51, 30, 2.5, 1.0)",
"assert abs(r0[0] - 9.63) < 1e-6",
"assert abs(r0[1] - 0.8843) < 1e-6",
"assert abs(r0[2] - 10.52) < 1e-6",
"r1 = joint_torque(6.6, 0.43, 90, ... |
theo-eng-code-L2-code-006299 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 3, 0.75)",
"assert abs(r0 - 9.64) < 1e-6",
"r1 = rms_torque(46, 23, 0.75)",
"assert abs(r1 - 41.46) < 1e-6",
"r2 = rms_torque(75, 38, 0.75)",
"assert abs(r2 - 67.6... |
theo-eng-code-L2-code-006064 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 210, 260, 0.5)",
"assert abs(r0[0] - 235.0) < 1e-6",
"assert abs(r0[1] - 0.77) < 1e-6",
"assert abs(r0[2] - 46.0) < 1e-6",
"r1 = runtime(1.0, 200, 280, 0.7)",
"a... |
theo-eng-code-L2-code-012865 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([24, 92, 16, 67])",
"assert abs(r0[0] - 49.75) < 1e-6",
"assert abs(r0[1] - 35.985) < 1e-6",
"r1 = summarise([80, 21, 89, 55])",
"assert abs(r1[0] - 61.25) < 1e-6",
... |
theo-eng-code-L2-code-015089 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([57, 56, 69, 58, 99, 18])",
"assert abs(r0[0] - 59.5) < 1e-6",
"assert abs(r0[1] - 26.052) < 1e-6",
"r1 = summarise([36, 92, 13, 61, 10])",
"assert abs(r1[0] - 42.4)... |
theo-eng-code-L3-code-010269 | 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(50, 2770, 100, 0.22, 2.0, 0.012, 0.5, 0.88, 0.9)",
"assert abs(r0[0] - 259.3) < 1e-6",
"assert abs(r0[1] - 17.36) < 1e-6",
"assert abs(r0[2] - 17.36) < 1e-6"
],
"subtas... |
theo-eng-code-L3-code-006787 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 28, 0.05, 0.02, 0.4, 0.9, 0)",
"assert abs(r0[0] - 0.026) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - 0.026) < 1e-6",
"r1 = com_zmp(14, 23, -0.06, 0.0, 0.... |
theo-eng-code-L2-code-002298 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 290, 450, 0.3)",
"assert abs(r0[0] - 402.0) < 1e-6",
"assert abs(r0[1] - 0.22) < 1e-6",
"assert abs(r0[2] - 13.4) < 1e-6",
"r1 = runtime(0.5, 290, 310, 0.7)",
"a... |
theo-eng-code-L1-clarify-011161 | 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-004315 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([390, 70, 310, 330, 380], 2)",
"assert abs(r0 - 0.8222) < 1e-6",
"r1 = rect_energy([60, 330, 50], 5)",
"assert abs(r1 - 0.6111) < 1e-6",
"r2 = rect_energy([500, 4... |
theo-eng-code-L2-code-011032 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([410, 250, 320, 160], 2)",
"assert abs(r0 - 0.6333) < 1e-6",
"r1 = rect_energy([350, 240, 260, 350, 100], 5)",
"assert abs(r1 - 1.8056) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L2-code-007515 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([210, 360, 150], 10)",
"assert abs(r0 - 2.0) < 1e-6",
"r1 = rect_energy([440, 50, 270, 400], 1)",
"assert abs(r1 - 0.3222) < 1e-6",
"r2 = rect_energy([290, 400, 4... |
theo-eng-code-L3-code-000763 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.2, 0.9)",
"assert abs(r0[0] - 7.5) < 1e-6",
"assert abs(r0[1] - 450.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 7"
],
"subtask": ... |
theo-eng-code-L2-code-003961 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 0.0], [0.5, 2.0])",
"assert abs(r0 - 3.6056) < 1e-6",
"r1 = seg_len([3.0, 2.0], [5.0, 2.0])",
"assert abs(r1 - 2.0) < 1e-6",
"r2 = seg_len([0.0, 3.5], [5.0, 3.0])",... |
theo-eng-code-L3-code-009293 | 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.31, 7000, 100)",
"assert abs(r0[0] - 8.18) < 1e-6",
"assert abs(r0[1] - 855.7) < 1e-6",
"r1 = gear_ratio(0.38, 15000, 150)",
"assert abs(r1[0] - 14.33) < 1e-6",
"asse... |
theo-eng-code-L1-code-007595 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_loop_sum",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-010117 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.6, 0.47, 45, 4.0, 3.5)",
"assert abs(r0[0] - 23.8) < 1e-6",
"assert abs(r0[1] - 1.3696) < 1e-6",
"assert abs(r0[2] - 28.59) < 1e-6",
"r1 = joint_torque(1.5, 0.33, 60... |
theo-eng-code-L2-code-012592 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([480, 50, 440, 80, 120], 10)",
"assert abs(r0 - 3.25) < 1e-6",
"r1 = rect_energy([430, 160, 120, 280, 220], 1)",
"assert abs(r1 - 0.3361) < 1e-6",
"r2 = rect_ener... |
theo-eng-code-L1-code-015087 | 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-002990 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([45, 25, 13, 76])",
"assert abs(r0[0] - 39.75) < 1e-6",
"assert abs(r0[1] - 27.536) < 1e-6",
"r1 = summarise([83, 48, 19, 83])",
"assert abs(r1[0] - 58.25) < 1e-6",
... |
theo-eng-code-L2-code-006172 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 40, 3.6, 100)",
"assert r0[0] == 83",
"assert r0[1] == 2",
"assert r0[2] == 166",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 59.76) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-011005 | 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(73, 2160, 80, 0.24, 2.6, 0.008, 1.2, 0.88, 0.9)",
"assert abs(r0[0] - 512.9) < 1e-6",
"assert abs(r0[1] - 12.81) < 1e-6",
"assert abs(r0[2] - 10.25) < 1e-6",
"r1 = erange(32, ... |
theo-eng-code-L2-code-009734 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 30, 470, 0.5)",
"assert abs(r0[0] - 250.0) < 1e-6",
"assert abs(r0[1] - 3.6) < 1e-6",
"assert abs(r0[2] - 216.0) < 1e-6",
"r1 = runtime(0.5, 240, 540, 0.7)",
"as... |
theo-eng-code-L3-code-007249 | 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(74, 1130, 60, 0.33, 2.0, 0.012, 1.1, 0.92, 0.9)",
"assert abs(r0[0] - 720.8) < 1e-6",
"assert abs(r0[1] - 9.24) < 1e-6",
"assert abs(r0[2] - 5.54) < 1e-6"
],
"subtask":... |
theo-eng-code-L2-code-006605 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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-014888 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(48, 23, 0.75)",
"assert abs(r0 - 43.13) < 1e-6",
"r1 = rms_torque(16, 5, 0.25)",
"assert abs(r1 - 9.1) < 1e-6",
"r2 = rms_torque(70, 17, 0.5)",
"assert abs(r2 - 50.94) <... |
theo-eng-code-L2-code-010434 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 10, -0.04, 0.14, 0.9, 0.9, 1)",
"assert abs(r0[0] - 0.0418) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - -0.0499) < 1e-6",
"r1 = com_zmp(17, 26, 0.02, 0... |
theo-eng-code-L2-code-015132 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 240, 130, 0.7)",
"assert abs(r0[0] - 207.0) < 1e-6",
"assert abs(r0[1] - 0.87) < 1e-6",
"assert abs(r0[2] - 52.2) < 1e-6",
"r1 = runtime(0.2, 250, 520, 0.7)",
"a... |
theo-eng-code-L2-code-000195 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 24, 0.05, -0.04, 0.3, 0.5, 2)",
"assert abs(r0[0] - -0.0175) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - -0.1092) < 1e-6",
"r1 = com_zmp(16, 22, -0.06,... |
theo-eng-code-L3-code-015196 | 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.6, 0.26, 60, 2.0, 0.5)",
"assert abs(r0[0] - 10.6) < 1e-6",
"assert abs(r0[1] - 0.2614) < 1e-6",
"assert abs(r0[2] - 10.73) < 1e-6",
"r1 = joint_torque(0.9, 0.28, 45, ... |
theo-eng-code-L1-code-012622 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_average",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-007322 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(33, 28, 0.25)",
"assert abs(r0 - 29.33) < 1e-6",
"r1 = rms_torque(72, 32, 0.25)",
"assert abs(r1 - 45.43) < 1e-6",
"r2 = rms_torque(49, 34, 0.25)",
"assert abs(r2 - 38... |
theo-eng-code-L1-code-014272 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_average",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-013549 | 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, 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(4... |
theo-eng-code-L2-code-015605 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 1010, 100, 0.3, 2.8, 0.008, 0.4, 0.92, 0.85)",
"assert abs(r0[0] - 115.0) < 1e-6",
"assert abs(r0[1] - 14.78) < 1e-6",
"assert abs(r0[2] - 14.78) < 1e-6",
"r1 = erange(4... |
theo-eng-code-L2-code-005758 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 18, 0.08, 0.03, 0.9, 0.7, 0)",
"assert abs(r0[0] - 0.0563) < 1e-6",
"assert abs(r0[1] - 0.8053) < 1e-6",
"assert abs(r0[2] - 0.0563) < 1e-6",
"r1 = com_zmp(19, 26, -0.1, ... |
theo-eng-code-L2-code-010499 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([82, 96, 38, 79])",
"assert abs(r0[0] - 73.75) < 1e-6",
"assert abs(r0[1] - 24.958) < 1e-6",
"r1 = summarise([35, 72, 65, 44])",
"assert r1[0] == 54",
"assert ab... |
theo-eng-code-L2-code-000948 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.4, 0.37, 30, 1.0, 1.5)",
"assert abs(r0[0] - 3.99) < 1e-6",
"assert abs(r0[1] - 0.2464) < 1e-6",
"assert abs(r0[2] - 4.36) < 1e-6",
"r1 = joint_torque(7.6, 0.28, 45,... |
theo-eng-code-L2-code-001426 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 17, 0.08, 0.03, 0.6, 0.4, 0.5)",
"assert abs(r0[0] - 0.0526) < 1e-6",
"assert abs(r0[1] - 0.4903) < 1e-6",
"assert abs(r0[2] - 0.0276) < 1e-6",
"r1 = com_zmp(18, 23, 0.04... |
theo-eng-code-L2-code-008349 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 23, 0.05, 0.08, 0.7, 0.9, 0.5)",
"assert abs(r0[0] - 0.0682) < 1e-6",
"assert abs(r0[1] - 0.8211) < 1e-6",
"assert abs(r0[2] - 0.0263) < 1e-6",
"r1 = com_zmp(16, 15, 0.05... |
theo-eng-code-L2-code-015138 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.1, 0.9)",
"assert abs(r0[0] - 2.86) < 1e-6",
"assert abs(r0[1] - 171.4) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-004373 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 220, 210, 0.3)",
"assert abs(r0[0] - 213.0) < 1e-6",
"assert abs(r0[1] - 2.11) < 1e-6",
"assert abs(r0[2] - 126.8) < 1e-6",
"r1 = runtime(1.0, 140, 510, 0.5)",
"... |
theo-eng-code-L2-code-007622 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 25, 0.1, 0.15, 0.4, 0.8, 2)",
"assert abs(r0[0] - 0.1368) < 1e-6",
"assert abs(r0[1] - 0.6941) < 1e-6",
"assert abs(r0[2] - -0.0047) < 1e-6",
"r1 = com_zmp(8, 15, -0.02, 0... |
theo-eng-code-L3-code-000963 | 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(82, 1380, 60, 0.26, 2.1, 0.009, 0.5, 0.88, 0.85)",
"assert abs(r0[0] - 915.7) < 1e-6",
"assert abs(r0[1] - 7.61) < 1e-6",
"assert abs(r0[2] - 4.57) < 1e-6",
"r1 = erange(72, 2... |
theo-eng-code-L2-code-007564 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.6, 0.6, 30, 3.5, 3.5)",
"assert abs(r0[0] - 21.48) < 1e-6",
"assert abs(r0[1] - 2.172) < 1e-6",
"assert abs(r0[2] - 29.09) < 1e-6",
"r1 = joint_torque(5.5, 0.46, 90,... |
theo-eng-code-L2-code-013315 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.3, 0.53, 30, 5.0, 0.0)",
"assert abs(r0[0] - 22.49) < 1e-6",
"assert abs(r0[1] - 2.088) < 1e-6",
"assert abs(r0[2] - 22.49) < 1e-6",
"r1 = joint_torque(3.3, 0.43, 90... |
theo-eng-code-L2-code-002416 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 25, 0.02, 0.05, 0.3, 0.6, 0)",
"assert abs(r0[0] - 0.0414) < 1e-6",
"assert abs(r0[1] - 0.5143) < 1e-6",
"assert abs(r0[2] - 0.0414) < 1e-6",
"r1 = com_zmp(20, 27, 0.0, 0... |
theo-eng-code-L3-code-011887 | 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(12, 10, 0.0, 0.1, 0.8, 0.7, 0.5)",
"assert abs(r0[0] - 0.0455) < 1e-6",
"assert abs(r0[1] - 0.7545) < 1e-6",
"assert abs(r0[2] - 0.007) < 1e-6",
"r1 = com_zmp(19, 20, 0.06, 0.0... |
theo-eng-code-L2-code-014961 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 16, 0.03, 0.06, 0.9, 0.5, 0)",
"assert abs(r0[0] - 0.0471) < 1e-6",
"assert abs(r0[1] - 0.6714) < 1e-6",
"assert abs(r0[2] - 0.0471) < 1e-6",
"r1 = com_zmp(6, 21, 0.02, 0... |
theo-eng-code-L3-code-011891 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 8000, 120)",
"assert abs(r0[0] - 9.05) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.45, 14500, 120)",
"assert abs(r1[0] - 20.5) < 1e-6",
"asser... |
theo-eng-code-L3-code-007772 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 61",
"assert r0[2] == 6771",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 60.939) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-010875 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([29, 34, 38, 57, 53])",
"assert abs(r0[0] - 42.2) < 1e-6",
"assert abs(r0[1] - 12.194) < 1e-6",
"r1 = summarise([24, 42, 59, 95])",
"assert r1[0] == 55",
"assert... |
theo-eng-code-L2-code-011528 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-006432 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([340, 420, 50, 230], 10)",
"assert abs(r0 - 2.8889) < 1e-6",
"r1 = rect_energy([370, 230, 80, 160], 10)",
"assert abs(r1 - 2.3333) < 1e-6",
"r2 = rect_energy([220... |
theo-eng-code-L2-code-001427 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 10500, 150)",
"assert abs(r0[0] - 7.39) < 1e-6",
"assert abs(r0[1] - 1421.0) < 1e-6",
"r1 = gear_ratio(0.31, 11500, 120)",
"assert abs(r1[0] - 11.2) < 1e-6",
"a... |
theo-eng-code-L2-code-008554 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 14500, 120)",
"assert abs(r0[0] - 15.03) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.3, 13000, 150)",
"assert abs(r1[0] - 9.8) < 1e-6",
"ass... |
theo-eng-code-L3-code-005877 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.41, 5000, 180)",
"assert abs(r0[0] - 4.29) < 1e-6",
"assert abs(r0[1] - 1164.5) < 1e-6",
"r1 = gear_ratio(0.26, 6000, 100)",
"assert abs(r1[0] - 5.88) < 1e-6",
"asser... |
theo-eng-code-L2-code-008752 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 100}')",
"assert r1[0] == 80",
... |
theo-eng-code-L2-code-008470 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([55, 19, 65, 41, 49, 43])",
"assert abs(r0[0] - 45.333) < 1e-6",
"assert abs(r0[1] - 15.565) < 1e-6",
"r1 = summarise([64, 25, 13, 64, 53])",
"assert abs(r1[0] - 43.... |
theo-eng-code-L3-code-015953 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(6, 2, 0.25)",
"assert abs(r0 - 3.46) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L3-code-013329 | 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(32, 1000, 120, 0.26, 2.6, 0.008, 1.3, 0.9, 0.95)",
"assert abs(r0[0] - 171.7) < 1e-6",
"assert abs(r0[1] - 17.7) < 1e-6",
"assert abs(r0[2] - 21.25) < 1e-6",
"r1 = erange(20, ... |
theo-eng-code-L2-code-010162 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005755 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 220, 290, 0.3)",
"assert abs(r0[0] - 269.0) < 1e-6",
"assert abs(r0[1] - 0.33) < 1e-6",
"assert abs(r0[2] - 20.1) < 1e-6",
"r1 = runtime(1.0, 300, 140, 0.7)",
"ass... |
theo-eng-code-L1-refuse-009268 | 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-L1-code-010816 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-012614 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-014281 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(43, 1670, 120, 0.22, 3.1, 0.009, 0.5, 0.94, 0.9)",
"assert abs(r0[0] - 209.3) < 1e-6",
"assert abs(r0[1] - 18.49) < 1e-6",
"assert abs(r0[2] - 22.19) < 1e-6",
"r1 = erange(81,... |
theo-eng-code-L2-code-002118 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.4, 0.31, 30, 1.5, 0.0)",
"assert abs(r0[0] - 3.35) < 1e-6",
"assert abs(r0[1] - 0.189) < 1e-6",
"assert abs(r0[2] - 3.35) < 1e-6",
"r1 = joint_torque(2.3, 0.42, 30, ... |
theo-eng-code-L3-code-012993 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.38) < 1e-6",
"assert abs(r0[1] - 22.5) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"r1... |
theo-eng-code-L2-code-003732 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 14500, 100)",
"assert abs(r0[0] - 13.67) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.35, 7500, 180)",
"assert abs(r1[0] - 5.5) < 1e-6",
"as... |
theo-eng-code-L1-clarify-005874 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-008806 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 23, 0.06, 0.02, 0.7, 0.9, 2)",
"assert abs(r0[0] - 0.0381) < 1e-6",
"assert abs(r0[1] - 0.8095) < 1e-6",
"assert abs(r0[2] - -0.1269) < 1e-6",
"r1 = com_zmp(16, 15, -0.08... |
theo-eng-code-L2-code-009037 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-000814 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(57, 1890, 60, 0.22, 2.3, 0.011, 1.0, 0.94, 0.95)",
"assert abs(r0[0] - 528.9) < 1e-6",
"assert abs(r0[1] - 10.24) < 1e-6",
"assert abs(r0[2] - 6.14) < 1e-6",
"r1 = erange(49, ... |
theo-eng-code-L3-code-012119 | 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(18, 15, -0.06, -0.04, 0.7, 0.4, 0.5)",
"assert abs(r0[0] - -0.0509) < 1e-6",
"assert abs(r0[1] - 0.5636) < 1e-6",
"assert abs(r0[2] - -0.0796) < 1e-6",
"r1 = com_zmp(13, 21, -0... |
theo-eng-code-L2-code-001787 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([140, 280, 470], 10)",
"assert abs(r0 - 2.4722) < 1e-6",
"r1 = rect_energy([120, 200, 160, 240, 230], 2)",
"assert abs(r1 - 0.5278) < 1e-6",
"r2 = rect_energy([70... |
theo-eng-code-L2-code-012589 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(21, 1970, 80, 0.27, 3.1, 0.01, 1.3, 0.92, 0.85)",
"assert abs(r0[0] - 118.2) < 1e-6",
"assert abs(r0[1] - 15.1) < 1e-6",
"assert abs(r0[2] - 12.08) < 1e-6",
"r1 = erange(37,... |
theo-eng-code-L3-code-015382 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.2, 0.3, 30, 6.0, 0.0)",
"assert abs(r0[0] - 11.92) < 1e-6",
"assert abs(r0[1] - 0.666) < 1e-6",
"assert abs(r0[2] - 11.92) < 1e-6",
"r1 = joint_torque(8.0, 0.44, 60, 3... |
theo-eng-code-L1-clarify-006574 | 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-003746 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 20, 3.7, 10)",
"assert r0[0] == 81",
"assert r0[1] == 7",
"assert r0[2] == 567",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 20.979) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-003448 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(46, 5, 0.5)",
"assert abs(r0 - 32.72) < 1e-6",
"r1 = rms_torque(13, 9, 0.75)",
"assert abs(r1 - 12.12) < 1e-6",
"r2 = rms_torque(50, 33, 0.75)",
"assert abs(r2 - 46.34... |
theo-eng-code-L2-code-011380 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(87, 23, 0.5)",
"assert abs(r0 - 63.63) < 1e-6",
"r1 = rms_torque(56, 39, 0.5)",
"assert abs(r1 - 48.25) < 1e-6",
"r2 = rms_torque(99, 27, 0.75)",
"assert abs(r2 - 86.7... |
theo-eng-code-L3-code-005699 | 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(15, 23, 0.0, 0.04, 0.7, 0.7, 0.5)",
"assert abs(r0[0] - 0.0242) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - -0.0115) < 1e-6",
"r1 = com_zmp(6, 30, -0.09, 0.0... |
theo-eng-code-L2-code-015385 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 250, 30, 0.5)",
"assert abs(r0[0] - 140.0) < 1e-6",
"assert abs(r0[1] - 1.29) < 1e-6",
"assert abs(r0[2] - 77.1) < 1e-6",
"r1 = runtime(0.5, 300, 330, 0.3)",
"as... |
theo-eng-code-L2-code-009100 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 17, 0.04, -0.04, 0.4, 0.9, 0)",
"assert abs(r0[0] - -0.0104) < 1e-6",
"assert abs(r0[1] - 0.7148) < 1e-6",
"assert abs(r0[2] - -0.0104) < 1e-6",
"r1 = com_zmp(16, 29, 0.0... |
theo-eng-code-L2-code-006589 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 600, 0.7)",
"assert abs(r0[0] - 299.0) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 36.1) < 1e-6",
"r1 = runtime(0.1, 50, 150, 0.7)",
"ass... |
theo-eng-code-L3-code-005275 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 260, 140, 0.3)",
"assert abs(r0[0] - 176.0) < 1e-6",
"assert abs(r0[1] - 2.56) < 1e-6",
"assert abs(r0[2] - 153.4) < 1e-6",
"r1 = runtime(1.0, 220, 450, 0.5)",
"as... |
theo-eng-code-L3-code-015398 | 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, 20, 3.7, 50)",
"assert r0[0] == 108",
"assert r0[1] == 2",
"assert r0[2] == 216",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-008610 | 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(68, 2220, 80, 0.26, 3.1, 0.007, 0.8, 0.92, 0.95)",
"assert abs(r0[0] - 498.3) < 1e-6",
"assert abs(r0[1] - 12.96) < 1e-6",
"assert abs(r0[2] - 10.37) < 1e-6",
"r1 = erange(74,... |
theo-eng-code-L2-code-012574 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 19, 0.01, 0.03, 0.8, 0.9, 0.5)",
"assert abs(r0[0] - 0.0209) < 1e-6",
"assert abs(r0[1] - 0.8543) < 1e-6",
"assert abs(r0[2] - -0.0227) < 1e-6",
"r1 = com_zmp(18, 23, 0.0... |
theo-eng-code-L2-code-000631 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 4.0], [2.5, 4.5])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([0.5, 5.0], [4.0, 2.5])",
"assert abs(r1 - 4.3012) < 1e-6",
"r2 = seg_len([2.5, 3.0], [4.5, 5.0]... |
theo-eng-code-L2-code-003420 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 3.0], [4.5, 5.0])",
"assert abs(r0 - 4.0311) < 1e-6",
"r1 = seg_len([0.0, 1.5], [1.5, 2.0])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([5.0, 2.0], [3.5, 1.5]... |
theo-eng-code-L2-code-007576 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.6, 100)",
"assert r0[0] == 56",
"assert r0[1] == 2",
"assert r0[2] == 112",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 40.32) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-013897 | 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(6.1, 0.41, 45, 6.0, 0.0)",
"assert abs(r0[0] - 25.74) < 1e-6",
"assert abs(r0[1] - 1.3504) < 1e-6",
"assert abs(r0[2] - 25.74) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-005714 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 6500, 150)",
"assert abs(r0[0] - 6.21) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6",
"r1 = gear_ratio(0.3, 6500, 180)",
"assert abs(r1[0] - 4.08) < 1e-6",
"asse... |
theo-eng-code-L2-code-005157 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(68, 10, 0.75)",
"assert abs(r0 - 59.1) < 1e-6",
"r1 = rms_torque(34, 31, 0.5)",
"assert abs(r1 - 32.53) < 1e-6",
"r2 = rms_torque(60, 4, 0.5)",
"assert abs(r2 - 42.52)... |
theo-eng-code-L2-code-003256 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(96, 23, 0.75)",
"assert abs(r0 - 83.93) < 1e-6",
"r1 = rms_torque(36, 17, 0.75)",
"assert abs(r1 - 32.31) < 1e-6",
"r2 = rms_torque(16, 2, 0.75)",
"assert abs(r2 - 13.... |
theo-eng-code-L2-code-000244 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([60, 90, 26, 65, 68, 75])",
"assert r0[0] == 64",
"assert abs(r0[1] - 21.326) < 1e-6",
"r1 = summarise([21, 48, 28, 36])",
"assert abs(r1[0] - 33.25) < 1e-6",
"a... |
theo-eng-code-L1-clarify-004906 | 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"
]
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.