burtenshaw
commited on
Commit
·
e4143a6
1
Parent(s):
0063041
add min pass rate
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ client = InferenceClient(
|
|
| 13 |
|
| 14 |
# Load questions from Hugging Face dataset
|
| 15 |
EXAM_MAX_QUESTIONS = os.getenv("EXAM_MAX_QUESTIONS") or 5 # We have 5 questions total
|
| 16 |
-
EXAM_PASSING_SCORE = os.getenv("EXAM_PASSING_SCORE") or 0.
|
| 17 |
EXAM_DATASET_ID = "burtenshaw/dummy-code-quiz"
|
| 18 |
|
| 19 |
# prep the dataset for the quiz
|
|
|
|
| 13 |
|
| 14 |
# Load questions from Hugging Face dataset
|
| 15 |
EXAM_MAX_QUESTIONS = os.getenv("EXAM_MAX_QUESTIONS") or 5 # We have 5 questions total
|
| 16 |
+
EXAM_PASSING_SCORE = os.getenv("EXAM_PASSING_SCORE") or 0.7
|
| 17 |
EXAM_DATASET_ID = "burtenshaw/dummy-code-quiz"
|
| 18 |
|
| 19 |
# prep the dataset for the quiz
|