<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/index.php?action=history&amp;feed=atom&amp;title=CSC%2FIndependent_Study_Automatic_Evaluation_of_Peer_Reviews</id>
	<title>CSC/Independent Study Automatic Evaluation of Peer Reviews - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/index.php?action=history&amp;feed=atom&amp;title=CSC%2FIndependent_Study_Automatic_Evaluation_of_Peer_Reviews"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/Independent_Study_Automatic_Evaluation_of_Peer_Reviews&amp;action=history"/>
	<updated>2026-05-02T16:51:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/Independent_Study_Automatic_Evaluation_of_Peer_Reviews&amp;diff=165294&amp;oldid=prev</id>
		<title>Jjshah: Created page with &quot;= Evaluate Using LLMs Integration =  == Team Information ==  '''Mentor:''' * Ed Gehringer  '''Team Members:'''  * Jay Shah (jjshah)  * Rushabh Shah (rsshah7)  * Uchswas Paul (upaul)  '''Relevant Links:'''  [https://github.com/expertiza/expertiza Link to Expertiza Repository]  [https://github.com/jayjshah2000/expertiza Link to Forked Repository]  [https://github.com/expertiza/expertiza/pull/2958 Link to Pull Request]  == Expertiza Background ==  Expertiza is an open-sourc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/Independent_Study_Automatic_Evaluation_of_Peer_Reviews&amp;diff=165294&amp;oldid=prev"/>
		<updated>2025-04-28T19:18:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Evaluate Using LLMs Integration =  == Team Information ==  &amp;#039;&amp;#039;&amp;#039;Mentor:&amp;#039;&amp;#039;&amp;#039; * Ed Gehringer  &amp;#039;&amp;#039;&amp;#039;Team Members:&amp;#039;&amp;#039;&amp;#039;  * Jay Shah (jjshah)  * Rushabh Shah (rsshah7)  * Uchswas Paul (upaul)  &amp;#039;&amp;#039;&amp;#039;Relevant Links:&amp;#039;&amp;#039;&amp;#039;  [https://github.com/expertiza/expertiza Link to Expertiza Repository]  [https://github.com/jayjshah2000/expertiza Link to Forked Repository]  [https://github.com/expertiza/expertiza/pull/2958 Link to Pull Request]  == Expertiza Background ==  Expertiza is an open-sourc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Evaluate Using LLMs Integration =&lt;br /&gt;
&lt;br /&gt;
== Team Information ==&lt;br /&gt;
&lt;br /&gt;
'''Mentor:'''&lt;br /&gt;
* Ed Gehringer&lt;br /&gt;
&lt;br /&gt;
'''Team Members:''' &lt;br /&gt;
* Jay Shah (jjshah) &lt;br /&gt;
* Rushabh Shah (rsshah7) &lt;br /&gt;
* Uchswas Paul (upaul)&lt;br /&gt;
&lt;br /&gt;
'''Relevant Links:'''&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Link to Expertiza Repository]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/jayjshah2000/expertiza Link to Forked Repository]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/2958 Link to Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Expertiza Background ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project built with the Ruby on Rails MVC framework.&lt;br /&gt;
It facilitates peer reviews and collaborative learning activities in educational environments.&lt;br /&gt;
&lt;br /&gt;
== About &amp;quot;Evaluate Using LLMs&amp;quot; Feature ==&lt;br /&gt;
&lt;br /&gt;
* This project adds a new &amp;quot;Evaluate using LLM&amp;quot; feature to Expertiza.&lt;br /&gt;
* It enables instructors and TAs to automate the evaluation of peer reviews using an external LLM (Language Model) API.&lt;br /&gt;
* The evaluated scores and comments are editable, similar to the manual review report.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement == &lt;br /&gt;
&lt;br /&gt;
'''Prior to this work:'''&lt;br /&gt;
&lt;br /&gt;
*Review quality was graded manually by instructors/TAs.&lt;br /&gt;
&lt;br /&gt;
*No automation or AI-assistance existed to assess reviews.&lt;br /&gt;
&lt;br /&gt;
'''The goal:'''&lt;br /&gt;
&lt;br /&gt;
* Send all review data to an external LLM.&lt;br /&gt;
&lt;br /&gt;
* Retrieve scores and comments.&lt;br /&gt;
&lt;br /&gt;
* Populate the review report dynamically.&lt;br /&gt;
&lt;br /&gt;
* Allow instructor/TAs to edit or overwrite the LLM evaluation.&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
* Add &amp;quot;Evaluate using LLM&amp;quot; option in report dropdown.&lt;br /&gt;
&lt;br /&gt;
* Create service object ('''LlmEvaluationService''') for API communication.&lt;br /&gt;
&lt;br /&gt;
* Build new partial view ('''_llm_evaluation_report.html.erb''').&lt;br /&gt;
&lt;br /&gt;
* Allow editing of scores and comments returned by LLM.&lt;br /&gt;
&lt;br /&gt;
* Integrate LLM report with the existing report framework.&lt;br /&gt;
&lt;br /&gt;
* Use a stubbed (fake) API response for now.&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
* Study how Review Report (ReviewResponseMap) is generated.&lt;br /&gt;
* Create service to send review data to API and receive evaluation.&lt;br /&gt;
* Develop view partial for LLM Evaluation Report.&lt;br /&gt;
* Modify report dropdown to include &amp;quot;Evaluate using LLM&amp;quot; option.&lt;br /&gt;
* Update ReportsController to support LLM Evaluation.&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Service Object ===&lt;br /&gt;
&lt;br /&gt;
'''File:''' app/services/llm_evaluation_service.rb&lt;br /&gt;
&lt;br /&gt;
Collects review data, calls dummy API, returns structured evaluation.&lt;br /&gt;
&lt;br /&gt;
=== New View ===&lt;br /&gt;
&lt;br /&gt;
'''File:''' app/views/reports/_llm_evaluation_report.html.erb&lt;br /&gt;
&lt;br /&gt;
Displays LLM-evaluated results.&lt;br /&gt;
&lt;br /&gt;
Editable fields (Score, Comment).&lt;br /&gt;
&lt;br /&gt;
Exportable to CSV.&lt;br /&gt;
&lt;br /&gt;
=== Controller Modification ===&lt;br /&gt;
&lt;br /&gt;
'''File:''' app/controllers/reports_controller.rb&lt;br /&gt;
&lt;br /&gt;
'''Method Added:''' llm_evaluation_report&lt;br /&gt;
&lt;br /&gt;
=== Dropdown Modification ===&lt;br /&gt;
&lt;br /&gt;
'''File:''' app/views/reports/_searchbox.html.erb&lt;br /&gt;
&lt;br /&gt;
Added &amp;quot;Evaluate using LLM&amp;quot; to the report selection.&lt;br /&gt;
&lt;br /&gt;
=== API Stub ===&lt;br /&gt;
&lt;br /&gt;
Fake JSON response mimicking future LLM output.&lt;br /&gt;
&lt;br /&gt;
== Fake API Response ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; [ { &amp;quot;reviewer_name&amp;quot;: &amp;quot;John Doe&amp;quot;, &amp;quot;reviewer_id&amp;quot;: 101, &amp;quot;team_reviewed&amp;quot;: &amp;quot;Team Alpha&amp;quot;, &amp;quot;reviews_done&amp;quot;: 3, &amp;quot;score_awarded&amp;quot;: 90, &amp;quot;avg_score&amp;quot;: 88, &amp;quot;metrics&amp;quot;: &amp;quot;Volume: 45 words&amp;quot;, &amp;quot;grade_for_reviewer&amp;quot;: 95, &amp;quot;comment_for_reviewer&amp;quot;: &amp;quot;Great feedback with actionable suggestions.&amp;quot; } ] &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
&lt;br /&gt;
* Verified dropdown functionality.&lt;br /&gt;
&lt;br /&gt;
* Verified table rendering and editable fields.&lt;br /&gt;
&lt;br /&gt;
* Confirmed dummy API data is properly injected.&lt;br /&gt;
&lt;br /&gt;
* Ensured no effect on existing reports (review, feedback, calibration, etc.)&lt;br /&gt;
&lt;br /&gt;
== Future Work ==&lt;br /&gt;
&lt;br /&gt;
* Replace dummy API with real LLM API integration.&lt;br /&gt;
&lt;br /&gt;
* Allow asynchronous API calls for large assignments.&lt;br /&gt;
&lt;br /&gt;
* Save updated instructor edits after LLM evaluation.&lt;/div&gt;</summary>
		<author><name>Jjshah</name></author>
	</entry>
</feed>