Closed noahzamarripa closed 7 months ago
Working on this now
Ran into local issues regarding not having some packages installed and the react app was not compiling,, I have installed everything but there is some issue still.
nearly fixed all of the issues,, there is an exporting issue now
solved the exporting issue and can finally work on the issue as intended. There were many installations others did on their machines that were not done on mine as we have all worked on different issues
New error appeared after fixing what was originally the problem,, however this is more unclear on what is happening as it could be a multitude of things.
Created .js file for report page and imported starter imports like chakra and react router stuff,, making the skeleton page now
added function to navigate back to account page and made a box to organize the information modals about comparison information
Added theme toggle button and imported HStack to line up the modals horizontally. Using text import to put a small title above the modals as in "Comparison Information'
Added the 3 modals next to each other with placeholder explanations,, each has their respective button to open with corresponding title
Update: Am still working on setting up the database so the metrics can be stored for the signed in user (and they will be able to generate their history of reports)
Update: File-File metric comparison works and is stored in firebase, though each report is saved, I need to make it for individual users by adding an extra level (which should be easy in theory).
Update: I just realized that this does not matter since I proactively saved the user id in the report as well, I can just order by user id and time to only get the reports from the current user.
Made a basic report page that works, i need to make it match the rest of the app. I also realized that when generating a report, the user needs to also enter an assignment name (or the file name needs to also be saved to the report object).
Current Update: New aesthetically pleasing and cleaned up report page, also has navigation to other relevant pages like prompt, account home, and sign out.
@noahzamarripa I am going to push these changes so that you can incorporate your modal code to the table headers (for the metric explanations).
Update: I hooked up the machine learning model, and I tested it out with one of my papers. I think now it would be fairly simple to add the self training buttons.
Update: Now there is a not complete implementation for self labeling (with the chakra thumbs up or down buttons (they are really icons)). This is hooked up to the api, but it does not do anything to the model yet. The idea is that the user labels the data and the model is training again with this new data.
I think I am going to bed now
Closing this issue as I am incorporating the modals in the up-to-date code in a new issue,, this issue is referenced in the description in the new issue
The user(professor accounts) will be able to see a report page that is a table of their past submissions, percentage, and a button to see each comparison functions' accuracy. As well as the ability to say whether or not the comparison was useful (with a yes or no button) to include it in the custom AI model. Issue #62 will be included on this page in the form of modals for each of the comparison functions(see issue #62 for more information on what this will look like).