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

Add an option to start over #40

Open
kate-holdener opened this issue Oct 3, 2022 · 6 comments
Open

Add an option to start over #40

kate-holdener opened this issue Oct 3, 2022 · 6 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kate-holdener
Copy link
Collaborator

Currently, when the application starts, the user is prompted to upload the data. The application then proceeds to develop ML code based on user's selections from the UI. If the user wants to start over, they can upload new data, but the generated code continues to grow: it includes the previous data and user's selections and the new ones. It would be nicer to have a clean "start over" option, such that if the user messed up and wants a redo, they can do that. The start over option would clear out all previously generated code and start from scratch.

@kate-holdener kate-holdener added the good first issue Good for newcomers label Oct 3, 2022
@RishiTambe
Copy link

Hi Dr. Holdener, I would Like to work on this issue.

@kate-holdener
Copy link
Collaborator Author

Thanks, @RishiTambe
It's all yours.

@RishiTambe
Copy link

Hi @kate-holdener, I have resolved all the conflicts in the code. I have completed the changes as below:

  1. Removed code for issue Allow user to optionally specify the train/test split percentage. #17 which was added in previous commit.
  2. Now the code is complete and clean for issue Add an option to start over #40 for adding Start Over option to clear the previous block of code while performing Show Code option.
  3. Added Start Over option in base.html file of flask_app.
  4. Added @ app.route() def start_over for Start Over in flask_main.py of flask_app.
  5. Added function call to resetone() in class CodeGenerator.py in @ app.route() def upload_file in flask_main.py of flask_app.
  6. Added function call to resetAll() function in class AllBblocks of code_blocks.py in code_genetrator of application.
  7. Added defined resetAll() function in class AllBblocks of code_blocks.py in code_blocks of model.
    Please let me know for any other conflicts and over to you for review.
    Thank you.

@RishiTambe
Copy link

Hi @kate-holdener, I have resolved the conflicts that I got in issue #40 in the flask_main.py (extra tab).
Thank you.

@kate-holdener kate-holdener added the help wanted Extra attention is needed label May 6, 2023
@vivekanandareddy-ponugoti

Hello, Professor @kate-holdener, I did my background on this project. I would like to work on this, as it is labeled as a good first issue. Can you please add me as a contributor and assign me this issue?

@felipealencar
Copy link
Collaborator

Hello, Professor @kate-holdener, I did my background on this project. I would like to work on this, as it is labeled as a good first issue. Can you please add me as a contributor and assign me this issue?

Hi, @vivekanandareddy-ponugoti! I'm helping @kate-holdener in managing this repo. For sure, I'll assign it to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants