Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit "code review" step + self healing code #682

Closed
AntonOsika opened this issue Sep 7, 2023 · 5 comments
Closed

Explicit "code review" step + self healing code #682

AntonOsika opened this issue Sep 7, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@AntonOsika
Copy link
Owner

The proposal is most easily explained with specific steps to carry out:

After the generation finishes, we would:

  1. Ask the LLM what a QA person would manually test based on the project specification ("does snake move", "does the snake change direction when key is pressed" etc)
  2. For each QA tsak, ask the LLM if the generated code is expected to pass the QA task just by inspecting the code, or if something seems to be broken
  3. Advanced: Let the LLM optionally output code blocks that overwrites files if it detects that something is broken in the QA, and it can fix it
@ATheorell
Copy link
Collaborator

I think point 3 should be left untouched in this issue for now, since such functionality is underway in #650 and #727 .

@yskolnick
Copy link

I am going to work on this on Monday or Tuesday.

@TheoMcCabe
Copy link
Collaborator

@yskolnick Hows this going are you still working on it? This would be useful for the hackathon

@yskolnick
Copy link

Hey! Apologies. I got distracted with other work. I will work on it in next few days.

@AntonOsika
Copy link
Owner Author

Great @yskolnick. Looking forward to see how this works over the weekend!

@viborc viborc moved this to In Progress in gpt-engineer roadmap Feb 8, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in gpt-engineer roadmap Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants