JoshThinh / JoshThinh2025

Apache License 2.0
0 stars 0 forks source link

Sprint 3 #6

Open JoshThinh opened 1 week ago

JoshThinh commented 1 week ago
Assignment Points Grade Evidence
Tri 1-3 Review Ticket 3 2.7 Screenshot 2024-11-08 120641
Sprint 3 Team Issue(s)/Plan 2 1.83 Screenshot 2024-11-08 121652 link to project plan Screenshot 2024-11-08 121900 link to feedback
Beginning-2-End Contribution 2 1.8 Screenshot 2024-11-08 115650 Screenshot 2024-11-08 115429
N@tM Team Presentation 2 1.81 IMG_1912
Live Review Indi Demo 1 .91 IMG_5023 IMG_5021 IMG_5020 IMG_5028 IMG_5024
Total 10
Skill Points Grade Evidence
Work Habits (Analytics) 1 0.9 Screenshot 2024-11-08 122949
Evidence of Role in Team 1 0.9 Screenshot 2024-11-08 120035 Screenshot 2024-11-08 115504
Function / Purpose Design 1 0.9 The overall function of the my project as a whole with my team is to provide basically a AI that will help the teacher grade code faster while not having to read the code. There are also sub categories within this project such as the popcorn ai generator which will provide not only the teacher but students faster ways to generate popcorn hacks that will be used for the students. I created a QNA where it basically provides students the ability to ask questions about anything related to computer science. Then other students and the teacher have the ability to respond to the student answering their question. The all the comments and questions are stored in the backend database so that everyone will have access to these questions and answers.
Live Review 2
Total 5
JoshThinh commented 2 days ago

Message Pojo Message Entity that stores the question from my website which can have many replies.

Comments(comment): Annotation: @OneToMany(fetch = EAGER) Description: This field defines a one-to-many relationship with the Comments entity. It uses eager fetching to load the roles immediately when a Message entity is loaded. Screenshot 2024-11-11 211045

Constructors Description: Message constructor for the Message class. These include a no-argument constructor and a constructor with all fields. Initializes an array for comments, and set the content. Screenshot 2024-11-11 211901

Id(id): Annotations: @Id, @GeneratedValue, Description: The @Id annotation specifies the entity's identifier (ID). Screenshot 2024-11-11 211836

Content(content) Description: This is the content attribute that stores the question. Screenshot 2024-11-11 212130

Custom Getter for Comments size (getNumberOfComments): Description: This method returns the number of comments in the message. Screenshot 2024-11-11 221001

Initialization Function (init): Description: This static method initializes an array list of Message objects with test data. It is useful for setting up initial data for testing and development purposes. Screenshot 2024-11-11 222917

implements Comparable Description: The Comparable interface and @Override of compareTo method allow objects of Message to use the content field as a key for comparison. Screenshot 2024-11-11 222340

Screenshot 2024-11-11 221947

Run Message.java directly To see that Message is truly a Plain Old Java Object you can run the file in isolation. This will output objects according to Lombok toString implementation. Screenshot 2024-11-11 222751

Comment Pojo Comment Entity stores the reply to the Message Entity. There can be many comments stored for a single Message Entity.

Id(id): Annotations: @Id, @GeneratedValue, Description: The @Id annotation specifies the entity's identifier (ID). Screenshot 2024-11-11 212704

Content(content) Description: This is the content attribute that stores the reply. Screenshot 2024-11-11 212800

Message(messsage) Description: This is a reference to the Message associated with the comments. ManyToOne defines many comments to one Message. The Message_id is stored in the comments DB to map with the message Entity. Screenshot 2024-11-11 212921