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

Adding Task Manager #1

Open
aliireza opened this issue May 25, 2023 · 0 comments
Open

Adding Task Manager #1

aliireza opened this issue May 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aliireza
Copy link
Owner

I think a better design would be to define a task manager class that performs tasks instead of handling them in the main function (it can use a queue or a stack). By doing so, initially, the main application submits two tasks: (i) "If there is no main, add it and use this code. If there are compilation errors, fix all of them" and (ii) perform the input task. Optionally, there might be performance-related and correctness-related tasks. This will make it possible to handle all AI interactions from one location in the code. Currently, performance_checker uses both compile_checker and the AI model to generate a benchmarking code.

@aliireza aliireza added the enhancement New feature or request label May 25, 2023
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

1 participant