From 1725c4d9d266198672fee91ed62aac4a922a4776 Mon Sep 17 00:00:00 2001
From: joshrandall8478 <joshrandall8478@gmail.com>
Date: Tue, 17 Sep 2024 21:34:05 -0400
Subject: [PATCH] start with new grading script

---
 .gitignore |  1 +
 main.py    | 58 ++++++++++++++++++++++++++++++++++++++++--------------
 2 files changed, 44 insertions(+), 15 deletions(-)
 create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b694934
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.venv
\ No newline at end of file
diff --git a/main.py b/main.py
index 859753f..c0642a9 100644
--- a/main.py
+++ b/main.py
@@ -7,34 +7,62 @@ import os
 """
 These are global variables, some can be changed.
 """
-# Student Variables
-global scoreDefault # Default score, this is the max score you can achieve without extra credit
-scoreDefault = 100
 
+"""
+GLOBALS
+"""
+global scoreDefault # Default score, this is the max score you can achieve without extra credit
 global score
-score = scoreDefault # actual score, copies score default to first start off
-
 global name
-name = "" # Name of student
-
 global late
-late = False # was the assignment turned in late? Default is false.
-
 global latePenalty
-latePenalty = scoreDefault * 0.1 # 10% of score default
-
-# ! DO NOT MODIFY POINTS FOR RUN, points for each run are stored here
 global pointsForRun
-pointsForRun = []
+global title
+global defaults
+
+"""
+ * CHANGEABLE
+"""
+# Student Variables
+
+scoreDefault = 100 # What the score is out of
 
 # Title of lab rubric
-global title
+
 title = "Name of Assignment"
 
 # Default points stored, 0 default for extra credit.
-global defaults
+
 defaults = [10,15,20,0]
 
+# Late penalty if submission is late
+
+latePenalty = scoreDefault * 0.1 # 10% of score default
+
+"""
+! NON CHANGEABLE
+"""
+
+# DO NOT MODIFY SCORE
+
+score = scoreDefault # actual score, copies score default to first start off
+
+# DO NOT MODIFY NAME
+
+name = "" # Name of student
+
+# DO NOT MODIFY LATE
+
+late = False # was the assignment turned in late? Default is false.
+
+
+
+pointsForRun = []
+
+"""
+End of Variable Statements
+"""
+
 
 def clear():
  
-- 
GitLab