anaghaa1206 / anagha12

A year long blog page which contains my projects and lessons and learnings from the AP CSP class.
MIT License
0 stars 0 forks source link

Write Up | CompSci Blogs #8

Open utterances-bot opened 2 months ago

utterances-bot commented 2 months ago

Write Up | CompSci Blogs

Collections

https://anaghaa1206.github.io/anagha12/2024/04/17/writeup.html

DrishyaMody commented 2 months ago

Collections: Score: 1/1 Provides picture of database and all of the stored information. Showed database and database initilization

Lists and Dictionaries: score: 0.8/1 I know you had issues with your debugger due to your vscode and your computer not being updated but I recommend that that is next on your list for a fix as debugging is an essential part of code

API and JSON: score: 0.92/1 Has all correct screenshots of work in postman and meets all of the requirements. Maybe some more descriptions to further show your understanding of your code which I know you have

Frontend: score: 0.95/1 Shows the code in the browser and is concise and organized, meeting the requirements. Find a way to incorporate the PUT api method maybe a feature to edit the logs in the table?

DrishyaMody commented 2 months ago

Collections - Total 2.9 / 3, Grade 0.97/1

✔Blog Python Model code and SQLite Database. ✔ Show your unique collection/table in database, display rows and columns in the table of the SQLite database from VSCode using SQLite3 Editor. ✔ Show your unique code that was created to initialize table and create test data from VSCode model. ✔Comments: Maybe add some personal comments to ensure that you can describe the the model too.

Lists and Dictionaries - Total 2.75/3, Grade 0.92/1 ✔Blog Python API code and use of List and Dictionaries. ✔Show a list as extracted from database as Python objects in VSCode using Debugger. ✔ Show two distinct examples of dictionaries, show Keys/Values using debugger in VSCode. ✔Comments: List is clear and demonstrates collection of data from database. Didn't see very many comments in your code again so add some to show you truly understand your code. Showed and described Keys/Values.

APIs and JSON - Total 6.5/7, Grade 0.93/1 ✔Blog Python API code and use of Postman to request and respond with JSON. ✔Show Python API code definition for request and response using GET, POST, UPDATE methods in VSCode. Discuss algorithmic condition used to direct request to appropriate Python method based on request method. ✔Show algorithmic conditions used to validate data on a POST condition in VSCode. Show URL request and Body requirements for GET, POST, and UPDATE methods in Postman. ✔Show the JSON response data for 200 success conditions on GET, POST, and UPDATE methods in Postman. ✔Show the JSON response for error for 400 when missing body on a POST request in Postman. Show the JSON response for error for 404 when providing an unknown user ID to a UPDATE request in Postman. Comments: Python API code is clear, shows Post and Get definitions. Didn't have a put method. You could potentially add this and have a feature where the user can change and edit their log.

Frontend - Total 7.7/8, Grade 0.96/1

✔Blog JavaScript API fetch code and formatting code to display JSON. Show response of JSON objects from fetch of GET, POST, and UPDATE methods in Chrome inspect. ✔ Show a demo (GET) of obtaining an Array of JSON objects that are formatted into the browsers screen in the Chrome browser. ✔Describe fetch and method that obtained the Array of JSON objects in JavaScript code. ✔Show code that performs iteration and formatting of data into HTML in JavaScript code. Show a demo (POST or UPDATE) gathering and sending input and receiving a response that show update. Repeat this demo showing both success and failure in the Chrome browser. ✔Show and describe code that handles success. Describe how code shows success to the user in the Chrome Browser screen in JavaScript code. ✔Show and describe code that handles failure. Describe how the code shows failure to the user in the Chrome Browser screen in JavaScript code. Comments: Frontend screenshots are clear with what they are showing, all types of requests are shown. Success and failure is of same request, code is explained in detail in text. Javascript code could use some comments in some sections to improve clarity, tables are clear on frontend in code and screenshots.

Optional/Extra, ML Algorithm Analysis - Total 4.5/5, Grade 0.9/1 Machine Learning Algorithm Analysis

Show algorithms and preparation of data for analysis. This includes cleaning, encoding, and one-hot encoding. Show algorithms and preparation for predictions. Discuss concepts and understanding of Linear Regression algorithms. Discuss concepts and understanding of Decision Tree analysis algorithms. Comments: Add more detailed comments rather than one lined comments so it shows that you truly understand your code and ML concepts. Not really clear where your algorithms are