Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
cfb359d
create fill-in-the-blank questions with llm service
graceQUE03 Apr 4, 2026
1d19f7a
add question type column on question bank page
graceQUE03 Apr 4, 2026
5005403
Display question and correct answer when click on 'View/Edit Question…
graceQUE03 Apr 4, 2026
d9420a9
display question and correct answer in generation question stage of q…
graceQUE03 Apr 4, 2026
93a0dfb
create fill-in-the-blank question with a declarative sentence with ex…
graceQUE03 Apr 4, 2026
919877b
Allow student to answer and grade fill-in-the-blank questions
graceQUE03 Apr 4, 2026
66ab71b
separate question title and question content for FIB questions
graceQUE03 Apr 8, 2026
193dd0f
add calculation question type
graceQUE03 Apr 9, 2026
36a62d4
Add open-ended questions (not auto-gradable)
graceQUE03 Apr 9, 2026
7c06557
fix displaying problem for calculation on student side
graceQUE03 May 12, 2026
2290a8a
improve accuracy in calculation type
graceQUE03 May 26, 2026
c259a76
add settings for configuring bloom level preferred question type
graceQUE03 May 26, 2026
d66ac47
add tolerance
graceQUE03 May 26, 2026
6e9c8cf
revise question prompt
May 26, 2026
bdb1ffc
refine calculation prompt
May 26, 2026
f178892
add tmp lines to summarize raw llm responses and rejection reasons fo…
May 26, 2026
d1982b6
remove out-dated prompts and structures
May 26, 2026
d05d9fd
add a /api/app-constants route that exposes default bloom type prefer…
May 26, 2026
7fbea03
replace question type name with constants
May 26, 2026
d4a4fc7
add subtopic prompt
graceQUE03 May 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"cheerio": "^1.1.2",
"cors": "^2.8.6",
"dotenv": "^17.0.1",
"expr-eval": "^2.0.2",
"express": "^5.1.0",
"express-session": "^1.18.2",
"fastembed": "^2.0.0",
Expand Down
5 changes: 5 additions & 0 deletions public/question-bank.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@
Bloom's Level
<i class="fas fa-sort" data-sort-icon></i>
</th>
<th class="sortable-header" data-sort="questionType">
Question Type
<i class="fas fa-sort" data-sort-icon></i>
</th>
<th class="sortable-header" data-sort="status">
Status
<i class="fas fa-sort" data-sort-icon></i>
Expand Down Expand Up @@ -242,6 +246,7 @@ <h3>Export Summary</h3>
</div>

<script src="scripts/navigation.js"></script>
<script src="scripts/app-constants.js"></script>
<script src="scripts/onboarding-check.js"></script>
<script src="scripts/question-bank.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion public/question-generation.html
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,9 @@ <h3>Questions Saved Successfully!</h3>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"></script>
<script src="scripts/navigation.js"></script>
<script src="scripts/app-constants.js"></script>
<script src="scripts/client-rag.js"></script>
<script src="scripts/generating-content.js"></script>
<script src="scripts/direct-ollama-service.js"></script>
<script src="scripts/generation-questions.js"></script>
<script src="scripts/onboarding-check.js"></script>
<script src="scripts/question-generation.js"></script>
Expand Down
1 change: 1 addition & 0 deletions public/quiz.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ <h2 id="completionTitle">Quiz Complete!</h2>
</div>

<script src="scripts/navigation.js"></script>
<script src="scripts/app-constants.js"></script>
<script src="scripts/quiz.js"></script>
</body>
</html>
20 changes: 20 additions & 0 deletions public/scripts/app-constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Browser-side mirror of src/constants/app-constants.js
// Keep in sync with QUESTION_TYPES and DEFAULT_BLOOM_TYPE_PREFERENCES in that file.

const QUESTION_TYPES = {
MULTIPLE_CHOICE: "multiple-choice",
FILL_IN_THE_BLANK: "fill-in-the-blank",
CALCULATION: "calculation",
OPEN_ENDED: "open-ended",
};

window.QUESTION_TYPES = QUESTION_TYPES;

window.DEFAULT_BLOOM_TYPE_PREFERENCES = {
Remember: [QUESTION_TYPES.FILL_IN_THE_BLANK, QUESTION_TYPES.MULTIPLE_CHOICE],
Understand: [QUESTION_TYPES.MULTIPLE_CHOICE, QUESTION_TYPES.FILL_IN_THE_BLANK],
Apply: [QUESTION_TYPES.MULTIPLE_CHOICE, QUESTION_TYPES.FILL_IN_THE_BLANK],
Analyze: [QUESTION_TYPES.MULTIPLE_CHOICE, QUESTION_TYPES.FILL_IN_THE_BLANK],
Evaluate: [QUESTION_TYPES.CALCULATION, QUESTION_TYPES.MULTIPLE_CHOICE],
Create: [QUESTION_TYPES.OPEN_ENDED, QUESTION_TYPES.MULTIPLE_CHOICE],
};
120 changes: 0 additions & 120 deletions public/scripts/direct-ollama-service.js

This file was deleted.

Loading