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-004679 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 7000, 100)",
"assert abs(r0[0] - 6.86) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.28, 14500, 120)",
"assert abs(r1[0] - 12.75) < 1e-6",
"a... |
theo-eng-code-L3-code-013635 | 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(1.1, 0.27, 45, 2.5, 3.5)",
"assert abs(r0[0] - 5.71) < 1e-6",
"assert abs(r0[1] - 0.209) < 1e-6",
"assert abs(r0[2] - 6.44) < 1e-6",
"r1 = joint_torque(3.0, 0.51, 30, 8.... |
theo-eng-code-L2-code-009661 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(10, [0, 25, 50, 75, 100], [0.74, 0.85, 0.9, 0.86, 0.83])",
"assert abs(r0 - 0.784) < 1e-6",
"r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.7, 0.81, 0.86, 0.88, 0.85])",
"as... |
theo-eng-code-L2-code-003633 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 23, 0.02, 0.01, 0.7, 0.4, 1)",
"assert abs(r0[0] - 0.0139) < 1e-6",
"assert abs(r0[1] - 0.5184) < 1e-6",
"assert abs(r0[2] - -0.0389) < 1e-6",
"r1 = com_zmp(19, 26, 0.02,... |
theo-eng-code-L2-code-006176 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 110, 530, 0.3)",
"assert abs(r0[0] - 404.0) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - 26.7) < 1e-6",
"r1 = runtime(0.5, 180, 120, 0.7)",
"a... |
theo-eng-code-L3-code-014647 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 33",
"assert r0[2] == 5148",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 41.184) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-002353 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 160, 310, 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(0.5, 30, 550, 0.5)",
"as... |
theo-eng-code-L3-code-013309 | 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(11, 18, -0.05, 0.06, 0.4, 0.8, 2)",
"assert abs(r0[0] - 0.0183) < 1e-6",
"assert abs(r0[1] - 0.6483) < 1e-6",
"assert abs(r0[2] - -0.1139) < 1e-6",
"r1 = com_zmp(11, 15, -0.08,... |
theo-eng-code-L2-code-008874 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 11, 0.2, 0.8)",
"assert abs(r0[0] - 4.09) < 1e-6",
"assert abs(r0[1] - 245.5) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L1-clarify-010609 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-013123 | 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(45, 1250, 120, 0.35, 2.4, 0.011, 1.3, 0.92, 0.95)",
"assert abs(r0[0] - 190.7) < 1e-6",
"assert abs(r0[1] - 22.42) < 1e-6",
"assert abs(r0[2] - 26.9) < 1e-6",
"r1 = erange(53,... |
theo-eng-code-L2-code-007377 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.4, 13500, 100)",
"assert abs(r0[0] - 20.36) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6",
"r1 = gear_ratio(0.34, 5500, 120)",
"assert abs(r1[0] - 5.87) < 1e-6",
"ass... |
theo-eng-code-L3-code-001791 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(87, 2760, 100, 0.23, 1.9, 0.011, 0.8, 0.94, 0.9)",
"assert abs(r0[0] - 498.6) < 1e-6",
"assert abs(r0[1] - 15.7) < 1e-6",
"assert abs(r0[2] - 15.7) < 1e-6",
"r1 = erange(32, 1... |
theo-eng-code-L3-code-011724 | 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(54, 1780, 100, 0.36, 2.3, 0.011, 0.6, 0.92, 0.85)",
"assert abs(r0[0] - 252.0) < 1e-6",
"assert abs(r0[1] - 18.21) < 1e-6",
"assert abs(r0[2] - 18.21) < 1e-6",
"r1 = erange(99... |
theo-eng-code-L2-code-014924 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([29, 55, 14, 62, 33])",
"assert abs(r0[0] - 38.6) < 1e-6",
"assert abs(r0[1] - 19.655) < 1e-6",
"r1 = summarise([37, 50, 54, 84, 89])",
"assert abs(r1[0] - 62.8) < 1... |
theo-eng-code-L3-code-003600 | 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.38, 14500, 150)",
"assert abs(r0[0] - 13.85) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6",
"r1 = gear_ratio(0.3, 8500, 150)",
"assert abs(r1[0] - 6.41) < 1e-6",
"asse... |
theo-eng-code-L3-code-001352 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 120, 500, 0.3)",
"assert abs(r0[0] - 386.0) < 1e-6",
"assert abs(r0[1] - 1.17) < 1e-6",
"assert abs(r0[2] - 69.9) < 1e-6",
"r1 = runtime(0.2, 270, 550, 0.7)",
"ass... |
theo-eng-code-L2-code-012696 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 14",
"assert r0[2] == 1316",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 42.112) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-014651 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(71, 26, 0.5)",
"assert abs(r0 - 53.46) < 1e-6",
"r1 = rms_torque(77, 4, 0.5)",
"assert abs(r1 - 54.52) < 1e-6",
"r2 = rms_torque(48, 28, 0.5)",
"assert abs(r2 - 39.29)... |
theo-eng-code-L2-code-001641 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 22, 0.1, 1.0)",
"assert abs(r0[0] - 5.11) < 1e-6",
"assert abs(r0[1] - 306.8) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_t... |
theo-eng-code-L2-code-005682 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 0.14, 60, 2.0, 4.0)",
"assert abs(r0[0] - 3.69) < 1e-6",
"assert abs(r0[1] - 0.0536) < 1e-6",
"assert abs(r0[2] - 3.9) < 1e-6",
"r1 = joint_torque(2.0, 0.26, 60, ... |
theo-eng-code-L2-code-005810 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 290, 110, 0.7)",
"assert abs(r0[0] - 236.0) < 1e-6",
"assert abs(r0[1] - 0.38) < 1e-6",
"assert abs(r0[2] - 22.9) < 1e-6",
"r1 = runtime(0.5, 220, 180, 0.5)",
"a... |
theo-eng-code-L2-code-010408 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(98, 21, 0.75)",
"assert abs(r0 - 85.52) < 1e-6",
"r1 = rms_torque(42, 7, 0.5)",
"assert abs(r1 - 30.11) < 1e-6",
"r2 = rms_torque(19, 13, 0.5)",
"assert abs(r2 - 16.28... |
theo-eng-code-L2-code-000185 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 10000, 120)",
"assert abs(r0[0] - 11.31) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.42, 5500, 100)",
"assert abs(r1[0] - 8.71) < 1e-6",
"as... |
theo-eng-code-L1-code-002578 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_dictget",
"user_template": "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-004361 | 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_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 170, 580, 0.7)",
"assert abs(r0[0] - 293.0) < 1e-6",
"assert abs(r0[1] - 0.61) < 1e-6",
"assert abs(r0[2] - 36.9) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-001602 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 6",
"assert r0[2] == 648",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-010783 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 1.0)",
"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(8... |
theo-eng-code-L3-code-012736 | 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(100, 22, 0.1, 0.8)",
"assert abs(r0[0] - 3.98) < 1e-6",
"assert abs(r0[1] - 238.6) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-008696 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.1, 0.22, 45, 5.0, 1.5)",
"assert abs(r0[0] - 10.76) < 1e-6",
"assert abs(r0[1] - 0.3081) < 1e-6",
"assert abs(r0[2] - 11.22) < 1e-6",
"r1 = joint_torque(5.0, 0.55, 4... |
theo-eng-code-L2-code-013067 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(67, 1330, 100, 0.28, 2.2, 0.011, 1.0, 0.88, 0.85)",
"assert abs(r0[0] - 386.9) < 1e-6",
"assert abs(r0[1] - 14.72) < 1e-6",
"assert abs(r0[2] - 14.72) < 1e-6",
"r1 = erange(... |
theo-eng-code-L3-code-005584 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.2, 50)",
"assert r0[0] == 250",
"assert r0[1] == 1",
"assert r0[2] == 250",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-002447 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_maxloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-004915 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 260, 90, 0.5)",
"assert abs(r0[0] - 175.0) < 1e-6",
"assert abs(r0[1] - 0.51) < 1e-6",
"assert abs(r0[2] - 30.9) < 1e-6",
"r1 = runtime(0.5, 240, 420, 0.3)",
"as... |
theo-eng-code-L2-code-005236 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 27, 0.07, 0.14, 0.4, 0.6, 0)",
"assert abs(r0[0] - 0.1102) < 1e-6",
"assert abs(r0[1] - 0.5149) < 1e-6",
"assert abs(r0[2] - 0.1102) < 1e-6",
"r1 = com_zmp(14, 21, -0.08,... |
theo-eng-code-L2-code-000876 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 11, 0.2, 1.0)",
"assert abs(r0[0] - 9.09) < 1e-6",
"assert abs(r0[1] - 545.5) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L2-code-003609 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 4500, 100)",
"assert abs(r0[0] - 4.92) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.36, 12000, 150)",
"assert abs(r1[0] - 10.86) < 1e-6",
"as... |
theo-eng-code-L2-code-011799 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 10, 0.07, 0.09, 0.9, 0.8, 1)",
"assert abs(r0[0] - 0.0805) < 1e-6",
"assert abs(r0[1] - 0.8474) < 1e-6",
"assert abs(r0[2] - -0.0059) < 1e-6",
"r1 = com_zmp(18, 24, -0.09,... |
theo-eng-code-L3-code-005701 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.1, 0.18, 90, 7.0, 0.0)",
"assert abs(r0[0] - 17.75) < 1e-6",
"assert abs(r0[1] - 0.2927) < 1e-6",
"assert abs(r0[2] - 17.75) < 1e-6",
"r1 = joint_torque(5.0, 0.33, 60,... |
theo-eng-code-L3-code-005114 | 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(85, 2060, 100, 0.31, 1.9, 0.011, 0.5, 0.94, 0.9)",
"assert abs(r0[0] - 500.2) < 1e-6",
"assert abs(r0[1] - 15.29) < 1e-6",
"assert abs(r0[2] - 15.29) < 1e-6",
"r1 = erange(85,... |
theo-eng-code-L2-code-005167 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([460, 470, 260, 310, 80], 5)",
"assert abs(r0 - 2.1944) < 1e-6",
"r1 = rect_energy([420, 500, 200], 1)",
"assert abs(r1 - 0.3111) < 1e-6",
"r2 = rect_energy([80, ... |
theo-eng-code-L2-code-010145 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([380, 310, 60, 420, 290], 10)",
"assert abs(r0 - 4.0556) < 1e-6",
"r1 = rect_energy([240, 260, 400, 300, 470], 2)",
"assert abs(r1 - 0.9278) < 1e-6",
"r2 = rect_e... |
theo-eng-code-L2-code-007448 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008442 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 16, 0.06, 0.11, 0.5, 0.9, 2)",
"assert abs(r0[0] - 0.0867) < 1e-6",
"assert abs(r0[1] - 0.7133) < 1e-6",
"assert abs(r0[2] - -0.0588) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-013268 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 2020, 80, 0.38, 2.8, 0.011, 0.7, 0.88, 0.85)",
"assert abs(r0[0] - 370.1) < 1e-6",
"assert abs(r0[1] - 17.91) < 1e-6",
"assert abs(r0[2] - 14.33) < 1e-6",
"r1 = erange(2... |
theo-eng-code-L2-code-006774 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 11, 0.1, 0.8)",
"assert abs(r0[0] - 7.95) < 1e-6",
"assert abs(r0[1] - 477.3) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L3-code-003197 | 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(14, 14, -0.03, 0.06, 0.6, 0.3, 0.5)",
"assert abs(r0[0] - 0.015) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - -0.0079) < 1e-6",
"r1 = com_zmp(20, 17, 0.04, 0... |
theo-eng-code-L2-code-011524 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, 25, 0.25)",
"assert abs(r0 - 27.84) < 1e-6",
"r1 = rms_torque(7, 2, 0.25)",
"assert abs(r1 - 3.91) < 1e-6",
"r2 = rms_torque(74, 15, 0.5)",
"assert abs(r2 - 53.39)... |
theo-eng-code-L2-code-005730 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 60, \"max_kw\": 150}')",
"assert r0[0] == 60",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r1[0] == 40",
"... |
theo-eng-code-L2-code-011360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 22, 0.1, 0.9)",
"assert abs(r0[0] - 0.91) < 1e-6",
"assert abs(r0[1] - 54.5) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-006262 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.0, 0.24, 90, 6.0, 4.0)",
"assert abs(r0[0] - 16.48) < 1e-6",
"assert abs(r0[1] - 0.384) < 1e-6",
"assert abs(r0[2] - 18.02) < 1e-6",
"r1 = joint_torque(0.6, 0.32, 90... |
theo-eng-code-L2-code-004410 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 1950, 60, 0.33, 2.6, 0.012, 0.6, 0.9, 0.85)",
"assert abs(r0[0] - 330.8) < 1e-6",
"assert abs(r0[1] - 12.59) < 1e-6",
"assert abs(r0[2] - 7.55) < 1e-6",
"r1 = erange(73,... |
theo-eng-code-L1-code-001113 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_modulo",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-010752 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.4, 0.18, 90, 6.0, 3.0)",
"assert abs(r0[0] - 12.71) < 1e-6",
"assert abs(r0[1] - 0.2203) < 1e-6",
"assert abs(r0[2] - 13.37) < 1e-6",
"r1 = joint_torque(5.7, 0.13, 3... |
theo-eng-code-L1-clarify-011126 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-011102 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4000, 100)",
"assert abs(r0[0] - 4.22) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6",
"r1 = gear_ratio(0.36, 11000, 180)",
"assert abs(r1[0] - 8.29) < 1e-6",
"ass... |
theo-eng-code-L3-code-002983 | 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.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 15",
"assert r0[2] == 1875",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-006468 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([370, 240, 210, 130], 10)",
"assert abs(r0 - 2.6389) < 1e-6",
"r1 = rect_energy([170, 370, 70, 430], 2)",
"assert abs(r1 - 0.5778) < 1e-6",
"r2 = rect_energy([310... |
theo-eng-code-L2-code-003333 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.9, 0.3, 90, 5.0, 0.0)",
"assert abs(r0[0] - 20.45) < 1e-6",
"assert abs(r0[1] - 0.567) < 1e-6",
"assert abs(r0[2] - 20.45) < 1e-6",
"r1 = joint_torque(7.0, 0.47, 90,... |
theo-eng-code-L2-code-013811 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(48, 1840, 80, 0.32, 1.9, 0.012, 1.2, 0.88, 0.9)",
"assert abs(r0[0] - 305.5) < 1e-6",
"assert abs(r0[1] - 14.14) < 1e-6",
"assert abs(r0[2] - 11.31) < 1e-6",
"r1 = erange(71... |
theo-eng-code-L3-code-002912 | 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(80, 2440, 100, 0.34, 2.8, 0.007, 1.3, 0.88, 0.85)",
"assert abs(r0[0] - 327.1) < 1e-6",
"assert abs(r0[1] - 20.79) < 1e-6",
"assert abs(r0[2] - 20.79) < 1e-6",
"r1 = erange(20... |
theo-eng-code-L2-code-010144 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.7, 10)",
"assert r0[0] == 81",
"assert r0[1] == 4",
"assert r0[2] == 324",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-012786 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(94, 2250, 100, 0.36, 2.5, 0.009, 1.1, 0.88, 0.95)",
"assert abs(r0[0] - 429.4) < 1e-6",
"assert abs(r0[1] - 20.8) < 1e-6",
"assert abs(r0[2] - 20.8) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-012537 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(23, 1770, 60, 0.38, 2.6, 0.011, 1.2, 0.92, 0.9)",
"assert abs(r0[0] - 161.2) < 1e-6",
"assert abs(r0[1] - 12.84) < 1e-6",
"assert abs(r0[2] - 7.71) < 1e-6",
"r1 = erange(82,... |
theo-eng-code-L2-code-012697 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001701 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 7500, 180)",
"assert abs(r0[0] - 4.24) < 1e-6",
"assert abs(r0[1] - 1768.4) < 1e-6",
"r1 = gear_ratio(0.25, 4500, 150)",
"assert abs(r1[0] - 2.83) < 1e-6",
"ass... |
theo-eng-code-L2-code-001145 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 20, 3.7, 2.5)",
"assert r0[0] == 108",
"assert r0[1] == 21",
"assert r0[2] == 2268",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 20.979) < 1e-6",
"r... |
theo-eng-code-L2-code-013963 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 11, -0.01, 0.13, 0.3, 0.8, 2)",
"assert abs(r0[0] - 0.045) < 1e-6",
"assert abs(r0[1] - 0.4964) < 1e-6",
"assert abs(r0[2] - -0.0562) < 1e-6",
"r1 = com_zmp(8, 29, -0.07,... |
theo-eng-code-L2-code-000486 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 16, 0.1, 0.12, 0.6, 0.3, 1)",
"assert abs(r0[0] - 0.1152) < 1e-6",
"assert abs(r0[1] - 0.3714) < 1e-6",
"assert abs(r0[2] - 0.0774) < 1e-6",
"r1 = com_zmp(10, 24, 0.0, 0.1... |
theo-eng-code-L3-code-008043 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(37, 1640, 60, 0.22, 1.9, 0.011, 1.4, 0.92, 0.9)",
"assert abs(r0[0] - 339.0) < 1e-6",
"assert abs(r0[1] - 9.82) < 1e-6",
"assert abs(r0[2] - 5.89) < 1e-6"
],
"subtask":... |
theo-eng-code-L2-code-001674 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 60, \"max_kw\": 50}')",
"assert r0[0] == 60",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')",
"assert r1[0] == 20",
"a... |
theo-eng-code-L3-code-004894 | 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, 80, 3.6, 100)",
"assert r0[0] == 111",
"assert r0[1] == 3",
"assert r0[2] == 333",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 119.88) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-000171 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.1, 0.9)",
"assert abs(r0[0] - 0.4) < 1e-6",
"assert abs(r0[1] - 24.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-000143 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-005149 | 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, 10, 3.7, 50)",
"assert r0[0] == 108",
"assert r0[1] == 1",
"assert r0[2] == 108",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 19.98) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-015476 | 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, 70, 480, 0.3)",
"assert abs(r0[0] - 357.0) < 1e-6",
"assert abs(r0[1] - 1.26) < 1e-6",
"assert abs(r0[2] - 75.6) < 1e-6",
"r1 = runtime(0.1, 50, 430, 0.7)",
"asser... |
theo-eng-code-L2-code-011889 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 22, 0.1, 0.05, 0.5, 0.7, 0)",
"assert abs(r0[0] - 0.0686) < 1e-6",
"assert abs(r0[1] - 0.6257) < 1e-6",
"assert abs(r0[2] - 0.0686) < 1e-6",
"r1 = com_zmp(15, 16, 0.08, -... |
theo-eng-code-L2-code-015218 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 22, 0.2, 0.9)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-001703 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 20, 0.03, 0.13, 0.5, 0.3, 1)",
"assert abs(r0[0] - 0.0888) < 1e-6",
"assert abs(r0[1] - 0.3824) < 1e-6",
"assert abs(r0[2] - 0.0498) < 1e-6",
"r1 = com_zmp(15, 14, 0.08, ... |
theo-eng-code-L2-code-003261 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(72, 18, 0.5)",
"assert abs(r0 - 52.48) < 1e-6",
"r1 = rms_torque(48, 13, 0.75)",
"assert abs(r1 - 42.07) < 1e-6",
"r2 = rms_torque(24, 17, 0.75)",
"assert abs(r2 - 22.... |
theo-eng-code-L2-code-009021 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([100, 140, 440, 460, 60], 10)",
"assert abs(r0 - 3.3333) < 1e-6",
"r1 = rect_energy([390, 450, 190], 1)",
"assert abs(r1 - 0.2861) < 1e-6",
"r2 = rect_energy([440... |
theo-eng-code-L2-code-011878 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 30, 0.06, 0.06, 0.6, 0.6, 1)",
"assert abs(r0[0] - 0.06) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0012) < 1e-6",
"r1 = com_zmp(16, 29, 0.06, -0.04... |
theo-eng-code-L1-code-002027 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-012416 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_countdown",
"user_template": "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-000291 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 10, -0.09, 0.15, 0.4, 0.4, 0.5)",
"assert abs(r0[0] - -0.0043) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - -0.0247) < 1e-6",
"r1 = com_zmp(17, 12, 0.1,... |
theo-eng-code-L2-code-011694 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.3) < 1e-6",
"assert abs(r0[1] - 18.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_ti... |
theo-eng-code-L3-code-012638 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(97, 29, 0.25)",
"assert abs(r0 - 54.62) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-001581 | 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(14, 29, 0.02, 0.05, 0.7, 0.4, 2)",
"assert abs(r0[0] - 0.0402) < 1e-6",
"assert abs(r0[1] - 0.4977) < 1e-6",
"assert abs(r0[2] - -0.0612) < 1e-6",
"r1 = com_zmp(20, 20, 0.1, 0.... |
theo-eng-code-L3-code-006702 | 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_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 270, 480, 0.7)",
"assert abs(r0[0] - 333.0) < 1e-6",
"assert abs(r0[1] - 0.27) < 1e-6",
"assert abs(r0[2] - 16.2) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-013321 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 140, 90, 0.5)",
"assert abs(r0[0] - 115.0) < 1e-6",
"assert abs(r0[1] - 1.57) < 1e-6",
"assert abs(r0[2] - 93.9) < 1e-6",
"r1 = runtime(0.5, 250, 190, 0.3)",
"as... |
theo-eng-code-L3-code-015933 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(54, 36, 0.25)",
"assert abs(r0 - 41.24) < 1e-6",
"r1 = rms_torque(29, 4, 0.5)",
"assert abs(r1 - 20.7) < 1e-6",
"r2 = rms_torque(12, 2, 0.5)",
"assert abs(r2 - 8.6) < 1e... |
theo-eng-code-L3-code-012873 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(50, 18, 0.75)",
"assert abs(r0 - 44.23) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-001158 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 20, 3.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 1",
"assert r0[2] == 125",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 20.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L3-code-004814 | 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(53, 1800, 100, 0.26, 2.1, 0.009, 0.4, 0.88, 0.95)",
"assert abs(r0[0] - 371.3) < 1e-6",
"assert abs(r0[1] - 13.56) < 1e-6",
"assert abs(r0[2] - 13.56) < 1e-6"
],
"subta... |
theo-eng-code-L2-code-015036 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 11",
"assert r0[2] == 682",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 21.824) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-005050 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([47, 57, 61, 89, 62, 35])",
"assert abs(r0[0] - 58.5) < 1e-6",
"assert abs(r0[1] - 18.086) < 1e-6",
"r1 = summarise([90, 33, 13, 19, 41])",
"assert abs(r1[0] - 39.2)... |
theo-eng-code-L2-code-009038 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 50, 0.2, 1.0)",
"assert abs(r0[0] - 2.0) < 1e-6",
"assert abs(r0[1] - 120.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_ti... |
theo-eng-code-L3-code-014650 | 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_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 210, 450, 0.7)",
"assert abs(r0[0] - 282.0) < 1e-6",
"assert abs(r0[1] - 1.6) < 1e-6",
"assert abs(r0[2] - 95.7) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-008276 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "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-002779 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.