Skip to content

Commit 348bda0

Browse files
authored
Merge pull request #805 from zihanKuang/fix-pass-percentage
Fix: pass_percentage Always Defaults to 70
2 parents 8e88996 + 9304174 commit 348bda0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • content/en/cloud/academy/creating-content/integrating-assessments-in-the-academy

content/en/cloud/academy/creating-content/integrating-assessments-in-the-academy/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Each assessment file must contain the following YAML frontmatter:
109109
---
110110
title: "Assessment Example"
111111
id: "assessment-id"
112-
passing_percentage: 70
112+
pass_percentage: 70
113113
type: "test"
114114
layout: "test"
115115
is_optional: true
@@ -136,7 +136,7 @@ questions:
136136
| :--- | :--- | :--- | :--- |
137137
| **Assessment** | `title` | - | A short, descriptive name for the assessment (e.g., "Final Exam" or "Module 3 Quiz"). |
138138
| | `id` | - | Unique identifier for the assessment. If omitted, a UUID will be auto-generated. |
139-
| | `passing_percentage` || Minimum score required to pass the assessment (e.g., `70`). |
139+
| | `pass_percentage` || Minimum score required to pass the assessment (e.g., `70`). |
140140
| | `type` || Metadata type for the assessment. The value must be `test`. |
141141
| | `layout` | - | Metadata type for the assessment. The value must be `test`. |
142142
| | `is_optional` | - | A boolean value. If `true`, the assessment can be skipped without affecting completion. |
@@ -332,13 +332,13 @@ Instructions can be override in frontmatter by defining a custom intruction for
332332

333333
## Scoring
334334

335-
The scoring process is handled automatically by the backend system. As a content creator, your main responsibility is to define the `marks` for each question and the overall `passing_percentage` for the assessment. Here is how the system processes the scores:
335+
The scoring process is handled automatically by the backend system. As a content creator, your main responsibility is to define the `marks` for each question and the overall `pass_percentage` for the assessment. Here is how the system processes the scores:
336336

337337
### How Scores Are Calculated
338338

339339
1. **Total Possible Marks**: The total score for a assessment is automatically calculated by summing the `marks` value of every question within that assessment. You do not need to define this total manually.
340340
2. **Learner's Score**: A learner's final score is the sum of the `marks` from all the questions they answered correctly.
341-
3. **Pass/Fail Status**: The system calculates the final percentage using the formula `(Learner's Score / Total Possible Marks) * 100`. If this percentage is greater than or equal to the `passing_percentage` you set, the assessment is marked as "Passed".
341+
3. **Pass/Fail Status**: The system calculates the final percentage using the formula `(Learner's Score / Total Possible Marks) * 100`. If this percentage is greater than or equal to the `pass_percentage` you set, the assessment is marked as "Passed".
342342

343343
### Scoring Rules for Question Types
344344

0 commit comments

Comments
 (0)