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-015228 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 15, 0.08, -0.02, 0.4, 0.6, 1)",
"assert abs(r0[0] - 0.0118) < 1e-6",
"assert abs(r0[1] - 0.5364) < 1e-6",
"assert abs(r0[2] - -0.0429) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-013783 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 230, 420, 0.3)",
"assert abs(r0[0] - 363.0) < 1e-6",
"assert abs(r0[1] - 2.48) < 1e-6",
"assert abs(r0[2] - 148.8) < 1e-6",
"r1 = runtime(0.1, 40, 370, 0.3)",
"a... |
theo-eng-code-L2-code-002461 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(45, [0, 25, 50, 75, 100], [0.74, 0.84, 0.9, 0.87, 0.82])",
"assert abs(r0 - 0.888) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.78, 0.81, 0.89, 0.9, 0.8])",
"ass... |
theo-eng-code-L2-code-000663 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 4.0], [3.5, 0.0])",
"assert abs(r0 - 5.3151) < 1e-6",
"r1 = seg_len([2.5, 2.5], [2.5, 1.5])",
"assert abs(r1 - 1.0) < 1e-6",
"r2 = seg_len([0.0, 4.0], [2.0, 2.0])",... |
theo-eng-code-L2-code-005842 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.2, 0.24, 30, 4.5, 0.5)",
"assert abs(r0[0] - 7.77) < 1e-6",
"assert abs(r0[1] - 0.3398) < 1e-6",
"assert abs(r0[2] - 7.94) < 1e-6",
"r1 = joint_torque(1.5, 0.57, 60,... |
theo-eng-code-L2-code-008298 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(92, 1260, 120, 0.29, 2.1, 0.009, 1.1, 0.92, 0.95)",
"assert abs(r0[0] - 520.6) < 1e-6",
"assert abs(r0[1] - 16.79) < 1e-6",
"assert abs(r0[2] - 20.15) < 1e-6",
"r1 = erange(... |
theo-eng-code-L1-clarify-003366 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-005438 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 19, 0.09, 0.02, 0.9, 0.4, 0.5)",
"assert abs(r0[0] - 0.055) < 1e-6",
"assert abs(r0[1] - 0.65) < 1e-6",
"assert abs(r0[2] - 0.0219) < 1e-6",
"r1 = com_zmp(5, 21, -0.08, 0... |
theo-eng-code-L2-code-011978 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([56, 15, 14, 55, 17])",
"assert abs(r0[0] - 31.4) < 1e-6",
"assert abs(r0[1] - 22.03) < 1e-6",
"r1 = summarise([96, 64, 13, 43])",
"assert r1[0] == 54",
"assert ... |
theo-eng-code-L1-code-001149 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-014646 | 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, 11, 0.1, 1.0)",
"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_time... |
theo-eng-code-L2-code-011479 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.3, 0.35, 60, 5.5, 0.0)",
"assert abs(r0[0] - 27.21) < 1e-6",
"assert abs(r0[1] - 0.9718) < 1e-6",
"assert abs(r0[2] - 27.21) < 1e-6",
"r1 = joint_torque(3.8, 0.29, 6... |
theo-eng-code-L2-code-001344 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 1.0], [5.0, 2.0])",
"assert abs(r0 - 2.2361) < 1e-6",
"r1 = seg_len([3.5, 2.5], [0.5, 4.0])",
"assert abs(r1 - 3.3541) < 1e-6",
"r2 = seg_len([3.5, 3.5], [1.5, 4.5]... |
theo-eng-code-L2-code-004803 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.1, 1.0)",
"assert abs(r0[0] - 6.43) < 1e-6",
"assert abs(r0[1] - 385.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-013410 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 1.5], [1.0, 0.0])",
"assert abs(r0 - 4.272) < 1e-6",
"r1 = seg_len([5.0, 4.0], [3.5, 5.0])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([4.5, 3.0], [4.0, 4.0])... |
theo-eng-code-L3-code-010161 | 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(1.0, 240, 430, 0.5)",
"assert abs(r0[0] - 335.0) < 1e-6",
"assert abs(r0[1] - 2.69) < 1e-6",
"assert abs(r0[2] - 161.2) < 1e-6",
"r1 = runtime(0.1, 300, 120, 0.7)",
"as... |
theo-eng-code-L2-code-007297 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([28, 36, 38, 14, 83])",
"assert abs(r0[0] - 39.8) < 1e-6",
"assert abs(r0[1] - 25.927) < 1e-6",
"r1 = summarise([39, 84, 30, 81, 87, 85])",
"assert abs(r1[0] - 67.66... |
theo-eng-code-L1-clarify-012480 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-012908 | 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(51, 27, 0.5)",
"assert abs(r0 - 40.8) < 1e-6",
"r1 = rms_torque(9, 7, 0.25)",
"assert abs(r1 - 7.55) < 1e-6",
"r2 = rms_torque(31, 12, 0.5)",
"assert abs(r2 - 23.51) < 1... |
theo-eng-code-L1-code-012619 | 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": "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-007663 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, [0, 25, 50, 75, 100], [0.79, 0.85, 0.88, 0.85, 0.82])",
"assert abs(r0 - 0.874) < 1e-6",
"r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.8, 0.82, 0.85, 0.9, 0.84])",
"as... |
theo-eng-code-L2-code-002409 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 15, -0.09, 0.14, 0.6, 0.4, 1)",
"assert abs(r0[0] - 0.0743) < 1e-6",
"assert abs(r0[1] - 0.4571) < 1e-6",
"assert abs(r0[2] - 0.0277) < 1e-6",
"r1 = com_zmp(17, 19, -0.07,... |
theo-eng-code-L2-code-012373 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r0[0] == 80",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')",
"assert r1[0] == 60",
... |
theo-eng-code-L3-code-011914 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(48, 33, 0.5)",
"assert abs(r0 - 41.19) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-003511 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.37, 8500, 100)",
"assert abs(r0[0] - 11.86) < 1e-6",
"assert abs(r0[1] - 716.9) < 1e-6",
"r1 = gear_ratio(0.34, 4000, 180)",
"assert abs(r1[0] - 2.85) < 1e-6",
"ass... |
theo-eng-code-L1-refuse-015969 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-005197 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 4.0], [3.5, 4.0])",
"assert abs(r0 - 1.5) < 1e-6",
"r1 = seg_len([4.5, 3.0], [2.5, 3.0])",
"assert abs(r1 - 2.0) < 1e-6",
"r2 = seg_len([2.0, 3.5], [0.0, 5.0])",
... |
theo-eng-code-L2-code-013539 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 7000, 180)",
"assert abs(r0[0] - 6.6) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.25, 11000, 120)",
"assert abs(r1[0] - 8.64) < 1e-6",
"ass... |
theo-eng-code-L1-code-002599 | 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-015550 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-012596 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 10, 3.2, 2.5)",
"assert r0[0] == 62",
"assert r0[1] == 21",
"assert r0[2] == 1302",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 10.416) < 1e-6",
"r1... |
theo-eng-code-L2-code-013105 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([230, 170, 260], 10)",
"assert abs(r0 - 1.8333) < 1e-6",
"r1 = rect_energy([310, 220, 180, 70, 340], 2)",
"assert abs(r1 - 0.6222) < 1e-6",
"r2 = rect_energy([320... |
theo-eng-code-L2-code-011308 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 21, -0.05, -0.03, 0.4, 0.8, 0)",
"assert abs(r0[0] - -0.0383) < 1e-6",
"assert abs(r0[1] - 0.6333) < 1e-6",
"assert abs(r0[2] - -0.0383) < 1e-6",
"r1 = com_zmp(15, 17, -0... |
theo-eng-code-L1-code-005982 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "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-004460 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.37, 4500, 120)",
"assert abs(r0[0] - 5.23) < 1e-6",
"assert abs(r0[1] - 860.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-007741 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.6, 0.6, 30, 2.0, 2.0)",
"assert abs(r0[0] - 15.6) < 1e-6",
"assert abs(r0[1] - 1.512) < 1e-6",
"assert abs(r0[2] - 18.62) < 1e-6",
"r1 = joint_torque(6.4, 0.41, 30, ... |
theo-eng-code-L2-code-015822 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 12500, 150)",
"assert abs(r0[0] - 8.8) < 1e-6",
"assert abs(r0[1] - 1421.0) < 1e-6",
"r1 = gear_ratio(0.42, 6500, 100)",
"assert abs(r1[0] - 10.29) < 1e-6",
"as... |
theo-eng-code-L2-code-014689 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(59, 20, 0.75)",
"assert abs(r0 - 52.06) < 1e-6",
"r1 = rms_torque(28, 22, 0.25)",
"assert abs(r1 - 23.64) < 1e-6",
"r2 = rms_torque(98, 10, 0.5)",
"assert abs(r2 - 69.... |
theo-eng-code-L2-code-014907 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 12, 0.02, 0.03, 0.6, 0.8, 0.5)",
"assert abs(r0[0] - 0.0239) < 1e-6",
"assert abs(r0[1] - 0.6774) < 1e-6",
"assert abs(r0[2] - -0.0107) < 1e-6",
"r1 = com_zmp(9, 19, -0.0... |
theo-eng-code-L2-code-004307 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 80, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 81",
"assert r0[2] == 8991",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6",
"r... |
theo-eng-code-L2-code-004062 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.6, 2.5)",
"assert r0[0] == 222",
"assert r0[1] == 41",
"assert r0[2] == 9102",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 81.918) < 1e-6",
"r... |
theo-eng-code-L2-code-009142 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001952 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001034 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r0[0] == 80",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r1[0] == 60",
... |
theo-eng-code-L3-code-000045 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 10500, 100)",
"assert abs(r0[0] - 16.63) < 1e-6",
"assert abs(r0[1] - 631.6) < 1e-6",
"r1 = gear_ratio(0.32, 9000, 120)",
"assert abs(r1[0] - 9.05) < 1e-6",
"asse... |
theo-eng-code-L3-code-011228 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 24, -0.04, 0.02, 0.9, 0.6, 2)",
"assert abs(r0[0] - -0.0057) < 1e-6",
"assert abs(r0[1] - 0.7286) < 1e-6",
"assert abs(r0[2] - -0.1543) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L1-clarify-001958 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-003953 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([42, 72, 51, 74, 96])",
"assert r0[0] == 67",
"assert abs(r0[1] - 21.19) < 1e-6",
"r1 = summarise([39, 12, 39, 17, 44, 77])",
"assert r1[0] == 38",
"assert abs(r... |
theo-eng-code-L2-code-013851 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.52, 60, 2.5, 1.5)",
"assert abs(r0[0] - 19.66) < 1e-6",
"assert abs(r0[1] - 1.0275) < 1e-6",
"assert abs(r0[2] - 21.2) < 1e-6",
"r1 = joint_torque(0.8, 0.14, 30... |
theo-eng-code-L2-code-010061 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 7000, 180)",
"assert abs(r0[0] - 3.96) < 1e-6",
"assert abs(r0[1] - 1768.4) < 1e-6",
"r1 = gear_ratio(0.35, 14500, 100)",
"assert abs(r1[0] - 19.13) < 1e-6",
"a... |
theo-eng-code-L2-code-008846 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 160, 570, 0.5)",
"assert abs(r0[0] - 365.0) < 1e-6",
"assert abs(r0[1] - 2.47) < 1e-6",
"assert abs(r0[2] - 147.9) < 1e-6",
"r1 = runtime(1.0, 270, 520, 0.7)",
"... |
theo-eng-code-L2-code-008167 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 22, 0.1, 0.9)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-003873 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 26, 0.1, 0.15, 0.8, 0.8, 1)",
"assert abs(r0[0] - 0.1317) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - 0.0502) < 1e-6",
"r1 = com_zmp(18, 24, -0.06, -0.... |
theo-eng-code-L2-code-014218 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.6, 100)",
"assert r0[0] == 222",
"assert r0[1] == 2",
"assert r0[2] == 444",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 159.84) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-005989 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-002436 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 100, 200, 0.3)",
"assert abs(r0[0] - 170.0) < 1e-6",
"assert abs(r0[1] - 1.06) < 1e-6",
"assert abs(r0[2] - 63.5) < 1e-6",
"r1 = runtime(1.0, 130, 270, 0.7)",
"a... |
theo-eng-code-L2-code-007808 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 60, 3.7, 5)",
"assert r0[0] == 216",
"assert r0[1] == 16",
"assert r0[2] == 3456",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-008230 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 11, 0.01, -0.05, 0.5, 0.9, 2)",
"assert abs(r0[0] - -0.0267) < 1e-6",
"assert abs(r0[1] - 0.7444) < 1e-6",
"assert abs(r0[2] - -0.1784) < 1e-6",
"r1 = com_zmp(15, 28, 0.03... |
theo-eng-code-L3-code-000249 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(94, 1730, 100, 0.26, 2.0, 0.009, 1.3, 0.9, 0.85)",
"assert abs(r0[0] - 587.5) < 1e-6",
"assert abs(r0[1] - 13.6) < 1e-6",
"assert abs(r0[2] - 13.6) < 1e-6",
"r1 = erange(43, 1... |
theo-eng-code-L2-code-004113 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.78, 0.81, 0.88, 0.87, 0.8])",
"assert abs(r0 - 0.88) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.8, 0.84, 0.9, 0.85, 0.84])",
"asse... |
theo-eng-code-L2-code-005425 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.4, 0.3, 60, 6.5, 3.5)",
"assert abs(r0[0] - 22.17) < 1e-6",
"assert abs(r0[1] - 0.717) < 1e-6",
"assert abs(r0[2] - 24.68) < 1e-6",
"r1 = joint_torque(5.9, 0.11, 30,... |
theo-eng-code-L3-code-013716 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 4000, 180)",
"assert abs(r0[0] - 2.09) < 1e-6",
"assert abs(r0[1] - 1909.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-003474 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.09, 0.15, 0.4, 0.6, 0)",
"assert abs(r0[0] - 0.0609) < 1e-6",
"assert abs(r0[1] - 0.5257) < 1e-6",
"assert abs(r0[2] - 0.0609) < 1e-6",
"r1 = com_zmp(5, 11, 0.05, ... |
theo-eng-code-L1-code-005222 | 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-007847 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.8, 0.6, 90, 1.0, 4.0)",
"assert abs(r0[0] - 11.18) < 1e-6",
"assert abs(r0[1] - 0.576) < 1e-6",
"assert abs(r0[2] - 13.49) < 1e-6",
"r1 = joint_torque(1.0, 0.26, 90,... |
theo-eng-code-L3-code-004786 | 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(54, 1280, 60, 0.37, 2.1, 0.012, 1.2, 0.88, 0.9)",
"assert abs(r0[0] - 444.7) < 1e-6",
"assert abs(r0[1] - 10.93) < 1e-6",
"assert abs(r0[2] - 6.56) < 1e-6"
],
"subtask"... |
theo-eng-code-L3-code-003167 | 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, 4500, 100)",
"assert abs(r0[0] - 6.11) < 1e-6",
"assert abs(r0[1] - 736.8) < 1e-6",
"r1 = gear_ratio(0.34, 13000, 180)",
"assert abs(r1[0] - 9.26) < 1e-6",
"asser... |
theo-eng-code-L2-code-009203 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_sumloop",
"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-002345 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 22, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-010797 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')",
"assert r1[0] == 20",
... |
theo-eng-code-L3-code-006037 | 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(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_tim... |
theo-eng-code-L2-code-009195 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 130, 360, 0.5)",
"assert abs(r0[0] - 245.0) < 1e-6",
"assert abs(r0[1] - 3.67) < 1e-6",
"assert abs(r0[2] - 220.4) < 1e-6",
"r1 = runtime(0.5, 230, 400, 0.5)",
"... |
theo-eng-code-L3-code-013809 | 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(45, 2760, 60, 0.37, 3.1, 0.012, 0.4, 0.94, 0.95)",
"assert abs(r0[0] - 266.6) < 1e-6",
"assert abs(r0[1] - 16.03) < 1e-6",
"assert abs(r0[2] - 9.62) < 1e-6",
"r1 = erange(88, ... |
theo-eng-code-L2-code-003118 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([260, 490, 440, 250], 10)",
"assert abs(r0 - 4.0) < 1e-6",
"r1 = rect_energy([170, 310, 330, 170], 2)",
"assert abs(r1 - 0.5444) < 1e-6",
"r2 = rect_energy([120, ... |
theo-eng-code-L2-code-011665 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 21, 0.02, -0.02, 0.8, 0.4, 1)",
"assert abs(r0[0] - -0.0015) < 1e-6",
"assert abs(r0[1] - 0.5846) < 1e-6",
"assert abs(r0[2] - -0.0611) < 1e-6",
"r1 = com_zmp(10, 20, 0.0... |
theo-eng-code-L2-code-015485 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.5, 0.0], [0.0, 3.5])",
"assert abs(r0 - 3.8079) < 1e-6",
"r1 = seg_len([3.0, 1.0], [4.0, 3.0])",
"assert abs(r1 - 2.2361) < 1e-6",
"r2 = seg_len([1.0, 5.0], [5.0, 3.5]... |
theo-eng-code-L2-code-008666 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.6, 5)",
"assert r0[0] == 222",
"assert r0[1] == 21",
"assert r0[2] == 4662",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 83.916) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-011622 | 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(8, 27, 0.1, 0.03, 0.9, 0.8, 2)",
"assert abs(r0[0] - 0.046) < 1e-6",
"assert abs(r0[1] - 0.8229) < 1e-6",
"assert abs(r0[2] - -0.1218) < 1e-6",
"r1 = com_zmp(13, 28, -0.1, 0.04... |
theo-eng-code-L3-code-013812 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 210, 390, 0.7)",
"assert abs(r0[0] - 264.0) < 1e-6",
"assert abs(r0[1] - 3.41) < 1e-6",
"assert abs(r0[2] - 204.5) < 1e-6",
"r1 = runtime(0.2, 140, 100, 0.3)",
"as... |
theo-eng-code-L2-code-011131 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 23, -0.07, 0.02, 0.3, 0.5, 0)",
"assert abs(r0[0] - 0.0039) < 1e-6",
"assert abs(r0[1] - 0.4643) < 1e-6",
"assert abs(r0[2] - 0.0039) < 1e-6",
"r1 = com_zmp(11, 10, -0.1, ... |
theo-eng-code-L2-code-002901 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 15, 0.03, -0.02, 0.9, 0.6, 0)",
"assert abs(r0[0] - -0.0026) < 1e-6",
"assert abs(r0[1] - 0.7043) < 1e-6",
"assert abs(r0[2] - -0.0026) < 1e-6",
"r1 = com_zmp(17, 15, -0.0... |
theo-eng-code-L2-code-003405 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 300, 500, 0.7)",
"assert abs(r0[0] - 360.0) < 1e-6",
"assert abs(r0[1] - 2.5) < 1e-6",
"assert abs(r0[2] - 150.0) < 1e-6",
"r1 = runtime(1.0, 120, 490, 0.3)",
"a... |
theo-eng-code-L2-code-009118 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 2",
"assert r0[2] == 250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-012603 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 140, 390, 0.5)",
"assert abs(r0[0] - 265.0) < 1e-6",
"assert abs(r0[1] - 0.34) < 1e-6",
"assert abs(r0[2] - 20.4) < 1e-6",
"r1 = runtime(1.0, 70, 430, 0.7)",
"as... |
theo-eng-code-L3-code-010153 | 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(85, 2090, 100, 0.36, 2.7, 0.011, 1.1, 0.9, 0.9)",
"assert abs(r0[0] - 344.0) < 1e-6",
"assert abs(r0[1] - 22.24) < 1e-6",
"assert abs(r0[2] - 22.24) < 1e-6",
"r1 = erange(78, ... |
theo-eng-code-L1-code-004620 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-001552 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 7, 0.75)",
"assert abs(r0 - 15.98) < 1e-6",
"r1 = rms_torque(37, 3, 0.25)",
"assert abs(r1 - 18.68) < 1e-6",
"r2 = rms_torque(100, 33, 0.75)",
"assert abs(r2 - 88.... |
theo-eng-code-L2-code-015554 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.9, 0.1, 90, 3.5, 3.0)",
"assert abs(r0[0] - 5.35) < 1e-6",
"assert abs(r0[1] - 0.048) < 1e-6",
"assert abs(r0[2] - 5.49) < 1e-6",
"r1 = joint_torque(4.2, 0.53, 60, 2... |
theo-eng-code-L2-code-001014 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 230, 510, 0.3)",
"assert abs(r0[0] - 426.0) < 1e-6",
"assert abs(r0[1] - 0.42) < 1e-6",
"assert abs(r0[2] - 25.4) < 1e-6",
"r1 = runtime(0.1, 210, 130, 0.5)",
"a... |
theo-eng-code-L2-code-002625 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([70, 330, 240], 10)",
"assert abs(r0 - 1.7778) < 1e-6",
"r1 = rect_energy([340, 380, 350], 2)",
"assert abs(r1 - 0.5944) < 1e-6",
"r2 = rect_energy([310, 230, 450... |
theo-eng-code-L2-code-004566 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(82, 29, 0.5)",
"assert abs(r0 - 61.5) < 1e-6",
"r1 = rms_torque(23, 17, 0.5)",
"assert abs(r1 - 20.22) < 1e-6",
"r2 = rms_torque(81, 28, 0.25)",
"assert abs(r2 - 47.2)... |
theo-eng-code-L2-code-000678 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(96, 17, 0.25)",
"assert abs(r0 - 50.21) < 1e-6",
"r1 = rms_torque(81, 35, 0.75)",
"assert abs(r1 - 72.3) < 1e-6",
"r2 = rms_torque(84, 24, 0.5)",
"assert abs(r2 - 61.7... |
theo-eng-code-L3-code-009927 | 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(500, 80, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 65",
"assert r0[2] == 10140",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 81.12) < 1e-6",
"r1 ... |
theo-eng-code-L1-code-003101 | 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_minmax",
"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-L1-refuse-003773 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-code-015286 | 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_chain",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-015307 | 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.29, 10500, 150)",
"assert abs(r0[0] - 7.65) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6",
"r1 = gear_ratio(0.29, 9000, 120)",
"assert abs(r1[0] - 8.2) < 1e-6",
"asser... |
theo-eng-code-L3-code-006089 | 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(200, 20, 3.7, 50)",
"assert r0[0] == 54",
"assert r0[1] == 3",
"assert r0[2] == 162",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6",
"r1 = pac... |
theo-eng-code-L3-code-014792 | 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.5, 0.13, 90, 3.0, 1.0)",
"assert abs(r0[0] - 5.42) < 1e-6",
"assert abs(r0[1] - 0.0648) < 1e-6",
"assert abs(r0[2] - 5.48) < 1e-6",
"r1 = joint_torque(7.1, 0.22, 60, 2... |
theo-eng-code-L3-code-001565 | 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(7, 5, 0.5)",
"assert abs(r0 - 6.08) < 1e-6",
"r1 = rms_torque(34, 9, 0.25)",
"assert abs(r1 - 18.7) < 1e-6",
"r2 = rms_torque(8, 8, 0.75)",
"assert abs(r2 - 8.0) < 1e-6"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.