@@ -248,6 +248,7 @@ defmodule CadetWeb.AdminGradingControllerTest do
248248 conn = get ( conn , build_url ( course . id , submission . id ) )
249249
250250 expected = % {
251+ "enable_llm_grading" => false ,
251252 "assessment" => % {
252253 "id" => assessment . id ,
253254 "title" => assessment . title ,
@@ -365,8 +366,8 @@ defmodule CadetWeb.AdminGradingControllerTest do
365366 end ,
366367 "autogradingStatus" => Atom . to_string ( & 1 . autograding_status ) ,
367368 "autogradingResults" => & 1 . autograding_results ,
368- "ai_comments" => nil
369369 } ,
370+ "ai_comments" => nil ,
370371 "solution" => "" ,
371372 "grade" => % {
372373 "xp" => & 1 . xp ,
@@ -413,6 +414,7 @@ defmodule CadetWeb.AdminGradingControllerTest do
413414 "scoreLeaderboard" => [ ] ,
414415 "popularVoteLeaderboard" => [ ]
415416 } ,
417+ "ai_comments" => nil ,
416418 "grade" => % {
417419 "xp" => & 1 . xp ,
418420 "xpAdjustment" => & 1 . xp_adjustment ,
@@ -430,7 +432,6 @@ defmodule CadetWeb.AdminGradingControllerTest do
430432 } ,
431433 "team" => % { } ,
432434 "solution" => "" ,
433- "ai_comments" => nil
434435 }
435436 end
436437 )
@@ -1274,6 +1275,7 @@ defmodule CadetWeb.AdminGradingControllerTest do
12741275 conn = get ( conn , build_url ( course . id , submission . id ) )
12751276
12761277 expected = % {
1278+ "enable_llm_grading" => false ,
12771279 "assessment" => % {
12781280 "id" => assessment . id ,
12791281 "title" => assessment . title ,
@@ -1391,8 +1393,8 @@ defmodule CadetWeb.AdminGradingControllerTest do
13911393 end ,
13921394 "autogradingStatus" => Atom . to_string ( & 1 . autograding_status ) ,
13931395 "autogradingResults" => & 1 . autograding_results ,
1394- "ai_comments" => nil
13951396 } ,
1397+ "ai_comments" => nil ,
13961398 "solution" => "" ,
13971399 "grade" => % {
13981400 "xp" => & 1 . xp ,
@@ -1438,8 +1440,8 @@ defmodule CadetWeb.AdminGradingControllerTest do
14381440 "contestEntries" => [ ] ,
14391441 "scoreLeaderboard" => [ ] ,
14401442 "popularVoteLeaderboard" => [ ] ,
1441- "ai_comments" => nil
14421443 } ,
1444+ "ai_comments" => nil ,
14431445 "grade" => % {
14441446 "xp" => & 1 . xp ,
14451447 "xpAdjustment" => & 1 . xp_adjustment ,
0 commit comments