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-002977 | 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.31, 13500, 120)",
"assert abs(r0[0] - 13.15) < 1e-6",
"assert abs(r0[1] - 1026.8) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L2-code-013446 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 2020, 80, 0.37, 2.7, 0.013, 0.3, 0.92, 0.85)",
"assert abs(r0[0] - 241.1) < 1e-6",
"assert abs(r0[1] - 17.28) < 1e-6",
"assert abs(r0[2] - 13.82) < 1e-6",
"r1 = erange(6... |
theo-eng-code-L3-code-010429 | 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.45, 10500, 180)",
"assert abs(r0[0] - 9.9) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.3, 11000, 120)",
"assert abs(r1[0] - 10.37) < 1e-6",
"asse... |
theo-eng-code-L3-code-006031 | 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, 280, 310, 0.3)",
"assert abs(r0[0] - 301.0) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 35.9) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-015048 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 50, 0.2, 0.9)",
"assert abs(r0[0] - 1.05) < 1e-6",
"assert abs(r0[1] - 63.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L1-code-015208 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-007450 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([36, 49, 76, 73, 68, 65])",
"assert abs(r0[0] - 61.167) < 1e-6",
"assert abs(r0[1] - 15.51) < 1e-6",
"r1 = summarise([39, 23, 31, 75, 75])",
"assert abs(r1[0] - 48.6... |
theo-eng-code-L2-code-011362 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 8000, 180)",
"assert abs(r0[0] - 7.54) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.32, 7000, 180)",
"assert abs(r1[0] - 4.69) < 1e-6",
"ass... |
theo-eng-code-L2-code-008206 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([10, 36, 54, 97, 37, 81])",
"assert abs(r0[0] - 52.5) < 1e-6",
"assert abs(r0[1] - 31.98) < 1e-6",
"r1 = summarise([80, 68, 61, 22, 34])",
"assert r1[0] == 53",
... |
theo-eng-code-L2-code-002761 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 11, 0.2, 1.0)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-008883 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([160, 130, 80, 360], 10)",
"assert abs(r0 - 2.0278) < 1e-6",
"r1 = rect_energy([420, 460, 340, 230], 2)",
"assert abs(r1 - 0.8056) < 1e-6",
"r2 = rect_energy([420... |
theo-eng-code-L2-code-007051 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.7, 0.83, 0.87, 0.9, 0.85])",
"assert abs(r0 - 0.89) < 1e-6",
"r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.73, 0.82, 0.87, 0.85, 0.84])",
"ass... |
theo-eng-code-L2-code-014724 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([96, 79, 25, 50, 12])",
"assert abs(r0[0] - 52.4) < 1e-6",
"assert abs(r0[1] - 35.345) < 1e-6",
"r1 = summarise([50, 49, 18, 89, 67])",
"assert abs(r1[0] - 54.6) < 1... |
theo-eng-code-L2-code-013327 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-015903 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 13, 0.04, -0.05, 0.7, 0.6, 2)",
"assert abs(r0[0] - -0.0216) < 1e-6",
"assert abs(r0[1] - 0.6316) < 1e-6",
"assert abs(r0[2] - -0.1503) < 1e-6",
"r1 = com_zmp(11, 27, 0.07... |
theo-eng-code-L2-code-010739 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 13000, 120)",
"assert abs(r0[0] - 12.25) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6",
"r1 = gear_ratio(0.25, 12500, 120)",
"assert abs(r1[0] - 9.82) < 1e-6",
"a... |
theo-eng-code-L2-code-002251 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(55, [0, 25, 50, 75, 100], [0.75, 0.82, 0.89, 0.9, 0.84])",
"assert abs(r0 - 0.892) < 1e-6",
"r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.72, 0.85, 0.9, 0.88, 0.83])",
"as... |
theo-eng-code-L3-code-003083 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.2, 0.8)",
"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"
],
"subtask":... |
theo-eng-code-L2-code-003047 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([490, 290, 300, 230, 490], 5)",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = rect_energy([340, 290, 80], 1)",
"assert abs(r1 - 0.1972) < 1e-6",
"r2 = rect_energy([210, 24... |
theo-eng-code-L2-code-012987 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 19, 0.1, 0.11, 0.7, 0.9, 2)",
"assert abs(r0[0] - 0.1053) < 1e-6",
"assert abs(r0[1] - 0.8056) < 1e-6",
"assert abs(r0[2] - -0.059) < 1e-6",
"r1 = com_zmp(5, 11, -0.06, 0... |
theo-eng-code-L1-code-005901 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-000436 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 1010, 60, 0.23, 1.9, 0.01, 1.0, 0.94, 0.85)",
"assert abs(r0[0] - 1214.0) < 1e-6",
"assert abs(r0[1] - 6.79) < 1e-6",
"assert abs(r0[2] - 4.08) < 1e-6",
"r1 = erange(81,... |
theo-eng-code-L2-code-000866 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.72, 0.81, 0.86, 0.85, 0.81])",
"assert abs(r0 - 0.85) < 1e-6",
"r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.78, 0.82, 0.85, 0.88, 0.82])",
"a... |
theo-eng-code-L3-code-014761 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.6, 10)",
"assert r0[0] == 222",
"assert r0[1] == 3",
"assert r0[2] == 666",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 23.976) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-005035 | 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, 7, 0.2, 1.0)",
"assert abs(r0[0] - 14.29) < 1e-6",
"assert abs(r0[1] - 857.1) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L3-code-006926 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 7000, 120)",
"assert abs(r0[0] - 7.48) < 1e-6",
"assert abs(r0[1] - 936.2) < 1e-6",
"r1 = gear_ratio(0.33, 15000, 100)",
"assert abs(r1[0] - 18.66) < 1e-6",
"asse... |
theo-eng-code-L2-code-005189 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([170, 450, 490], 10)",
"assert abs(r0 - 3.0833) < 1e-6",
"r1 = rect_energy([120, 330, 390], 10)",
"assert abs(r1 - 2.3333) < 1e-6",
"r2 = rect_energy([430, 120, 1... |
theo-eng-code-L1-clarify-011381 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-014098 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(96, 950, 80, 0.22, 2.0, 0.013, 0.6, 0.9, 0.9)",
"assert abs(r0[0] - 1005.0) < 1e-6",
"assert abs(r0[1] - 8.6) < 1e-6",
"assert abs(r0[2] - 6.88) < 1e-6",
"r1 = erange(60, 2450... |
theo-eng-code-L3-code-005140 | 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.2, 240, 310, 0.3)",
"assert abs(r0[0] - 289.0) < 1e-6",
"assert abs(r0[1] - 0.62) < 1e-6",
"assert abs(r0[2] - 37.4) < 1e-6",
"r1 = runtime(0.2, 220, 350, 0.5)",
"ass... |
theo-eng-code-L2-code-009542 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([63, 22, 22, 59, 26])",
"assert abs(r0[0] - 38.4) < 1e-6",
"assert abs(r0[1] - 20.744) < 1e-6",
"r1 = summarise([32, 36, 84, 51, 79])",
"assert abs(r1[0] - 56.4) < 1... |
theo-eng-code-L2-code-002757 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 140, 250, 0.3)",
"assert abs(r0[0] - 217.0) < 1e-6",
"assert abs(r0[1] - 0.41) < 1e-6",
"assert abs(r0[2] - 24.9) < 1e-6",
"r1 = runtime(0.1, 290, 200, 0.3)",
"a... |
theo-eng-code-L2-code-011939 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 50, 0.2, 0.9)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-009584 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(52, 1280, 60, 0.32, 2.5, 0.011, 0.5, 0.94, 0.9)",
"assert abs(r0[0] - 523.7) < 1e-6",
"assert abs(r0[1] - 8.94) < 1e-6",
"assert abs(r0[2] - 5.36) < 1e-6",
"r1 = erange(81, ... |
theo-eng-code-L2-code-002452 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(48, 17, 0.75)",
"assert abs(r0 - 42.43) < 1e-6",
"r1 = rms_torque(65, 6, 0.5)",
"assert abs(r1 - 46.16) < 1e-6",
"r2 = rms_torque(39, 9, 0.25)",
"assert abs(r2 - 21.0)... |
theo-eng-code-L2-code-015118 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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 = p... |
theo-eng-code-L2-code-015290 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 5, 0.25)",
"assert abs(r0 - 33.28) < 1e-6",
"r1 = rms_torque(37, 28, 0.75)",
"assert abs(r1 - 34.97) < 1e-6",
"r2 = rms_torque(33, 2, 0.25)",
"assert abs(r2 - 16.5... |
theo-eng-code-L2-code-010599 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.1, 0.8)",
"assert abs(r0[0] - 12.5) < 1e-6",
"assert abs(r0[1] - 750.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_tim... |
theo-eng-code-L2-code-000033 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 240, 100, 0.7)",
"assert abs(r0[0] - 198.0) < 1e-6",
"assert abs(r0[1] - 0.45) < 1e-6",
"assert abs(r0[2] - 27.3) < 1e-6",
"r1 = runtime(0.5, 80, 300, 0.3)",
"as... |
theo-eng-code-L1-refuse-001459 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-clarify-013934 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-010420 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 13, -0.02, 0.15, 0.5, 0.5, 2)",
"assert abs(r0[0] - 0.0905) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.0114) < 1e-6",
"r1 = com_zmp(5, 13, 0.08, 0.09,... |
theo-eng-code-L3-code-009764 | 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(12, 29, 0.06, 0.11, 0.9, 0.7, 0)",
"assert abs(r0[0] - 0.0954) < 1e-6",
"assert abs(r0[1] - 0.7585) < 1e-6",
"assert abs(r0[2] - 0.0954) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L1-code-012388 | 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": "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-002573 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(8.0, 0.27, 90, 4.5, 0.0)",
"assert abs(r0[0] - 22.51) < 1e-6",
"assert abs(r0[1] - 0.5225) < 1e-6",
"assert abs(r0[2] - 22.51) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L3-code-006963 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 6500, 180)",
"assert abs(r0[0] - 3.95) < 1e-6",
"assert abs(r0[1] - 1646.4) < 1e-6",
"r1 = gear_ratio(0.26, 14000, 100)",
"assert abs(r1[0] - 13.72) < 1e-6",
"ass... |
theo-eng-code-L2-code-012855 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005657 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 60, \"max_kw\": 50}')",
"assert r0[0] == 60",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r1[0] == 40",
"as... |
theo-eng-code-L2-code-015518 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 0.14, 90, 5.5, 0.0)",
"assert abs(r0[0] - 10.51) < 1e-6",
"assert abs(r0[1] - 0.1359) < 1e-6",
"assert abs(r0[2] - 10.51) < 1e-6",
"r1 = joint_torque(1.2, 0.31, 6... |
theo-eng-code-L1-code-005107 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-000976 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 3, 0.25)",
"assert abs(r0 - 40.58) < 1e-6",
"r1 = rms_torque(26, 20, 0.5)",
"assert abs(r1 - 23.19) < 1e-6",
"r2 = rms_torque(71, 23, 0.75)",
"assert abs(r2 - 62.5... |
theo-eng-code-L3-code-011722 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 140, 600, 0.5)",
"assert abs(r0[0] - 370.0) < 1e-6",
"assert abs(r0[1] - 2.43) < 1e-6",
"assert abs(r0[2] - 145.9) < 1e-6",
"r1 = runtime(0.2, 230, 260, 0.3)",
"as... |
theo-eng-code-L3-code-001635 | 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(0.7, 0.42, 90, 8.0, 3.0)",
"assert abs(r0[0] - 34.4) < 1e-6",
"assert abs(r0[1] - 1.4524) < 1e-6",
"assert abs(r0[2] - 38.76) < 1e-6",
"r1 = joint_torque(3.2, 0.27, 30, ... |
theo-eng-code-L2-code-005083 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(62, 13, 0.75)",
"assert abs(r0 - 54.09) < 1e-6",
"r1 = rms_torque(95, 2, 0.25)",
"assert abs(r1 - 47.53) < 1e-6",
"r2 = rms_torque(28, 24, 0.25)",
"assert abs(r2 - 25.... |
theo-eng-code-L2-code-003822 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 12, -0.03, -0.05, 0.4, 0.8, 0.5)",
"assert abs(r0[0] - -0.0396) < 1e-6",
"assert abs(r0[1] - 0.592) < 1e-6",
"assert abs(r0[2] - -0.0698) < 1e-6",
"r1 = com_zmp(6, 18, -0... |
theo-eng-code-L2-code-005913 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(93, 2140, 60, 0.38, 2.6, 0.01, 0.8, 0.9, 0.95)",
"assert abs(r0[0] - 679.6) < 1e-6",
"assert abs(r0[1] - 13.0) < 1e-6",
"assert abs(r0[2] - 7.8) < 1e-6",
"r1 = erange(92, 21... |
theo-eng-code-L1-refuse-013069 | 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_unlock_speed",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-012484 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.6, 50)",
"assert r0[0] == 56",
"assert r0[1] == 6",
"assert r0[2] == 336",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-013789 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([67, 10, 42, 87, 67, 38])",
"assert abs(r0[0] - 51.833) < 1e-6",
"assert abs(r0[1] - 27.331) < 1e-6",
"r1 = summarise([44, 79, 21, 96, 50])",
"assert r1[0] == 58",
... |
theo-eng-code-L3-code-003019 | 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(61, 1010, 80, 0.35, 1.9, 0.013, 1.0, 0.9, 0.95)",
"assert abs(r0[0] - 506.8) < 1e-6",
"assert abs(r0[1] - 11.43) < 1e-6",
"assert abs(r0[2] - 9.15) < 1e-6"
],
"subtask"... |
theo-eng-code-L2-code-011471 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.71, 0.83, 0.89, 0.85, 0.85])",
"assert abs(r0 - 0.882) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.71, 0.82, 0.86, 0.85, 0.82])",
"... |
theo-eng-code-L3-code-010114 | 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(20, 17, 0.02, 0.05, 0.5, 0.8, 2)",
"assert abs(r0[0] - 0.0338) < 1e-6",
"assert abs(r0[1] - 0.6378) < 1e-6",
"assert abs(r0[2] - -0.0963) < 1e-6",
"r1 = com_zmp(7, 16, -0.04, 0... |
theo-eng-code-L2-code-001636 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 64, 60, 39])",
"assert abs(r0[0] - 53.25) < 1e-6",
"assert abs(r0[1] - 11.177) < 1e-6",
"r1 = summarise([91, 16, 87, 90])",
"assert r1[0] == 71",
"assert ab... |
theo-eng-code-L3-code-003062 | 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(38, 1600, 120, 0.35, 2.7, 0.011, 0.4, 0.88, 0.9)",
"assert abs(r0[0] - 131.1) < 1e-6",
"assert abs(r0[1] - 26.08) < 1e-6",
"assert abs(r0[2] - 31.3) < 1e-6",
"r1 = erange(39, ... |
theo-eng-code-L1-refuse-015655 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-014666 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-010368 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 3, 0.25)",
"assert abs(r0 - 8.89) < 1e-6",
"r1 = rms_torque(29, 24, 0.75)",
"assert abs(r1 - 27.83) < 1e-6",
"r2 = rms_torque(100, 13, 0.25)",
"assert abs(r2 - 51.... |
theo-eng-code-L3-code-013935 | 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(4.6, 0.22, 60, 6.5, 2.5)",
"assert abs(r0[0] - 16.45) < 1e-6",
"assert abs(r0[1] - 0.3888) < 1e-6",
"assert abs(r0[2] - 17.42) < 1e-6",
"r1 = joint_torque(3.2, 0.53, 90,... |
theo-eng-code-L1-refuse-015034 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-010243 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.5, 0.5], [5.0, 1.0])",
"assert abs(r0 - 3.5355) < 1e-6",
"r1 = seg_len([0.0, 1.0], [1.5, 3.5])",
"assert abs(r1 - 2.9155) < 1e-6",
"r2 = seg_len([0.5, 4.5], [0.0, 2.0]... |
theo-eng-code-L2-code-014640 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 0.9)",
"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_t... |
theo-eng-code-L2-code-000912 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(71, 2680, 120, 0.31, 2.2, 0.01, 0.3, 0.94, 0.9)",
"assert abs(r0[0] - 294.0) < 1e-6",
"assert abs(r0[1] - 21.73) < 1e-6",
"assert abs(r0[2] - 26.08) < 1e-6",
"r1 = erange(47... |
theo-eng-code-L2-code-000808 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(41, 2720, 80, 0.37, 2.3, 0.008, 0.7, 0.92, 0.85)",
"assert abs(r0[0] - 230.9) < 1e-6",
"assert abs(r0[1] - 15.09) < 1e-6",
"assert abs(r0[2] - 12.07) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L2-code-005745 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 15, 0.02, 0.14, 0.9, 0.3, 2)",
"assert abs(r0[0] - 0.0843) < 1e-6",
"assert abs(r0[1] - 0.5786) < 1e-6",
"assert abs(r0[2] - -0.0337) < 1e-6",
"r1 = com_zmp(13, 29, 0.01,... |
theo-eng-code-L2-code-009871 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 270, 280, 0.3)",
"assert abs(r0[0] - 277.0) < 1e-6",
"assert abs(r0[1] - 3.25) < 1e-6",
"assert abs(r0[2] - 194.9) < 1e-6",
"r1 = runtime(1.0, 40, 350, 0.3)",
"a... |
theo-eng-code-L2-code-002710 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, [0, 25, 50, 75, 100], [0.72, 0.83, 0.86, 0.88, 0.8])",
"assert abs(r0 - 0.83) < 1e-6",
"r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.71, 0.82, 0.86, 0.85, 0.8])",
"ass... |
theo-eng-code-L2-code-012637 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-009558 | 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(53, 2660, 80, 0.34, 2.2, 0.011, 0.6, 0.9, 0.9)",
"assert abs(r0[0] - 287.5) < 1e-6",
"assert abs(r0[1] - 16.59) < 1e-6",
"assert abs(r0[2] - 13.27) < 1e-6",
"r1 = erange(22, 1... |
theo-eng-code-L1-clarify-012627 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-002224 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014448 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 13, 0.1, 0.1, 0.5, 0.8, 1)",
"assert abs(r0[0] - 0.1) < 1e-6",
"assert abs(r0[1] - 0.6773) < 1e-6",
"assert abs(r0[2] - 0.031) < 1e-6",
"r1 = com_zmp(7, 27, -0.03, -0.01, ... |
theo-eng-code-L3-code-007732 | 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(94, 5, 0.5)",
"assert abs(r0 - 66.56) < 1e-6",
"r1 = rms_torque(45, 23, 0.5)",
"assert abs(r1 - 35.74) < 1e-6",
"r2 = rms_torque(67, 18, 0.5)",
"assert abs(r2 - 49.06) <... |
theo-eng-code-L2-code-014559 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 13, 0.04, 0.01, 0.6, 0.3, 0.5)",
"assert abs(r0[0] - 0.0282) < 1e-6",
"assert abs(r0[1] - 0.4818) < 1e-6",
"assert abs(r0[2] - 0.0036) < 1e-6",
"r1 = com_zmp(19, 30, -0.0... |
theo-eng-code-L3-code-006127 | 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, 260, 70, 0.3)",
"assert abs(r0[0] - 127.0) < 1e-6",
"assert abs(r0[1] - 7.09) < 1e-6",
"assert abs(r0[2] - 425.2) < 1e-6",
"r1 = runtime(0.1, 180, 530, 0.7)",
"ass... |
theo-eng-code-L2-code-007804 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.3, 0.29, 60, 6.5, 1.5)",
"assert abs(r0[0] - 21.31) < 1e-6",
"assert abs(r0[1] - 0.6672) < 1e-6",
"assert abs(r0[2] - 22.31) < 1e-6",
"r1 = joint_torque(6.5, 0.35, 6... |
theo-eng-code-L3-code-010097 | 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, 120, 590, 0.7)",
"assert abs(r0[0] - 261.0) < 1e-6",
"assert abs(r0[1] - 3.45) < 1e-6",
"assert abs(r0[2] - 206.9) < 1e-6",
"r1 = runtime(0.5, 50, 220, 0.7)",
"ass... |
theo-eng-code-L2-code-014268 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 10, 0.04, 0.09, 0.6, 0.9, 1)",
"assert abs(r0[0] - 0.0608) < 1e-6",
"assert abs(r0[1] - 0.725) < 1e-6",
"assert abs(r0[2] - -0.0131) < 1e-6",
"r1 = com_zmp(17, 14, -0.02,... |
theo-eng-code-L1-code-011098 | 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_squares",
"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-000694 | 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(2.7, 0.14, 60, 3.0, 2.0)",
"assert abs(r0[0] - 5.17) < 1e-6",
"assert abs(r0[1] - 0.0764) < 1e-6",
"assert abs(r0[2] - 5.33) < 1e-6",
"r1 = joint_torque(7.6, 0.32, 45, 6... |
theo-eng-code-L2-code-005979 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.0, 0.32, 60, 5.5, 3.0)",
"assert abs(r0[0] - 24.47) < 1e-6",
"assert abs(r0[1] - 0.8021) < 1e-6",
"assert abs(r0[2] - 26.87) < 1e-6",
"r1 = joint_torque(5.3, 0.2, 60... |
theo-eng-code-L3-code-012198 | 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, 7, 0.2, 0.9)",
"assert abs(r0[0] - 12.5) < 1e-6",
"assert abs(r0[1] - 750.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-006572 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([320, 120, 240, 210, 200], 1)",
"assert abs(r0 - 0.3028) < 1e-6",
"r1 = rect_energy([130, 220, 120, 500], 10)",
"assert abs(r1 - 2.6944) < 1e-6",
"r2 = rect_energ... |
theo-eng-code-L3-code-006024 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(95, 35, 0.25)",
"assert abs(r0 - 56.35) < 1e-6",
"r1 = rms_torque(86, 12, 0.5)",
"assert abs(r1 - 61.4) < 1e-6",
"r2 = rms_torque(7, 3, 0.5)",
"assert abs(r2 - 5.39) < 1... |
theo-eng-code-L3-code-006339 | 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(15, 23, 0.01, 0.11, 0.8, 0.8, 1)",
"assert abs(r0[0] - 0.0705) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.011) < 1e-6",
"r1 = com_zmp(15, 11, 0.08, 0.06,... |
theo-eng-code-L2-code-007264 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 24, 0.0, 0.1, 0.8, 0.3, 2)",
"assert abs(r0[0] - 0.0558) < 1e-6",
"assert abs(r0[1] - 0.5209) < 1e-6",
"assert abs(r0[2] - -0.0504) < 1e-6",
"r1 = com_zmp(6, 29, -0.01, 0... |
theo-eng-code-L2-code-007768 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 8000, 100)",
"assert abs(r0[0] - 9.05) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.34, 10500, 120)",
"assert abs(r1[0] - 11.22) < 1e-6",
"ass... |
theo-eng-code-L2-code-008653 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 120, 0.3)",
"assert abs(r0[0] - 96.0) < 1e-6",
"assert abs(r0[1] - 1.88) < 1e-6",
"assert abs(r0[2] - 112.5) < 1e-6",
"r1 = runtime(1.0, 160, 390, 0.7)",
"as... |
theo-eng-code-L3-code-001204 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 10000, 150)",
"assert abs(r0[0] - 8.04) < 1e-6",
"assert abs(r0[1] - 1243.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L1-code-010503 | 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_cond",
"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-003087 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 5000, 150)",
"assert abs(r0[0] - 4.9) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.37, 15000, 180)",
"assert abs(r1[0] - 11.62) < 1e-6",
"asse... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.