From 851c6bc9994dd2cc4f2b65880e33be75a4ddab93 Mon Sep 17 00:00:00 2001 From: Anton Osika Date: Mon, 19 Jun 2023 22:31:20 +0200 Subject: [PATCH] Run simple per default --- BENCHMARK.md => benchmark/RESULTS.md | 0 gpt_engineer/steps.py | 13 +++++++++++-- identity/spec | 1 - 3 files changed, 11 insertions(+), 3 deletions(-) rename BENCHMARK.md => benchmark/RESULTS.md (100%) diff --git a/BENCHMARK.md b/benchmark/RESULTS.md similarity index 100% rename from BENCHMARK.md rename to benchmark/RESULTS.md diff --git a/gpt_engineer/steps.py b/gpt_engineer/steps.py index 18f5edb..922acb7 100644 --- a/gpt_engineer/steps.py +++ b/gpt_engineer/steps.py @@ -203,9 +203,18 @@ def fix_code(ai: AI, dbs: DBs): # Different configs of what steps to run STEPS = { - "default": [gen_spec, gen_unit_tests, gen_code, gen_entrypoint, execute_entrypoint], - "benchmark": [gen_spec, gen_unit_tests, gen_code, fix_code, gen_entrypoint], + "default": [simple_gen, gen_entrypoint, execute_entrypoint], + "benchmark": [simple_gen, gen_entrypoint], "simple": [simple_gen, gen_entrypoint, execute_entrypoint], + "tdd": [gen_spec, gen_unit_tests, gen_code, gen_entrypoint, execute_entrypoint], + "tdd+": [ + gen_spec, + gen_unit_tests, + gen_code, + fix_code, + gen_entrypoint, + execute_entrypoint, + ], "clarify": [clarify, gen_clarified_code, gen_entrypoint, execute_entrypoint], "respec": [ gen_spec, diff --git a/identity/spec b/identity/spec index 540d13b..690eb53 100644 --- a/identity/spec +++ b/identity/spec @@ -6,6 +6,5 @@ and give details about anything that might be unclear. **Don't leave anything un Second, lay out the names of the core classes, functions, methods that will be necessary, as well as a quick comment on their purpose. -Finally list all non-standard dependencies you'll have to use. This specification will be used later as the basis for the implementation. \ No newline at end of file