Skip to content

Configure Grade Templates

Configure Grade Templates

Set up grading templates with weightage rules for assignments, attendance, and academic terms.

Time required: 15-20 minutes

Prerequisites

  • Grading Manager role
  • Academic years and terms configured
  • Assignment types defined

Concepts

Grade Template Purpose

Templates define how final grades are calculated by specifying:

  • Which academic periods to include
  • How to weight different assignment types
  • Whether attendance affects grades
  • Sub-term weightage distribution

Weightage Types

TypeDescription
Sub TermWeight quarters/semesters differently
Assignment TypeWeight homework, quizzes, exams differently
AttendanceInclude attendance in grade calculation

Create a Grade Template

Step 1: Navigate to Templates

  1. Go to GradingConfigurationGrade Templates
  2. Click Create

Step 2: Enter Template Details

FieldRequiredDescription
NameYesTemplate name
CompanyNoMulti-company assignment

Step 3: Add Template Lines

In the Template Lines section, click Add a line:

FieldRequiredDescription
Academic YearYesTarget year
Academic TermNoSpecific term (optional)
Weightage TypeYessub_term, assignment_type, or attendance

Step 4: Configure Weightage Details

Based on weightage type:

Sub-Term Weightage

Add sub-term weight lines:

Sub-TermWeightage %
Q125
Q225
Q325
Q425

Assignment Type Weightage

Add assignment type weight lines:

Assignment TypeWeightage %
Homework20
Quizzes20
Midterm25
Final Exam35

Attendance Weightage

Add attendance weight lines:

Attendance TypeWeightage %
Present100
Late80
Absent Excused50
Absent0

Step 5: Activate Template

  1. Click Activate button
  2. State changes from “Draft” to “Active”

Template Examples

Standard Academic Year Template

Template: "Standard Year Grading"
└── Line 1: Academic Year 2024-25
├── Weightage: Assignment Type
└── Weights:
├── Homework: 15%
├── Quizzes: 15%
├── Projects: 20%
├── Midterm: 20%
└── Final: 30%

Semester-Weighted Template

Template: "Semester Weighted"
└── Line 1: Academic Year 2024-25
├── Weightage: Sub Term
└── Weights:
├── Semester 1: 40%
└── Semester 2: 60%

Attendance-Inclusive Template

Template: "With Attendance"
├── Line 1: Assignment Type
│ └── Weights: Standard assignments
└── Line 2: Attendance Type
└── Weights: Present=100, Late=80, Absent=0

Assign Template to Course/Subject

Course-Level Assignment

  1. Go to Courses → select course
  2. Add template to Grade Templates field
  3. All subjects inherit course template

Subject-Level Assignment

  1. Go to CoursesSubjects → select subject
  2. Uncheck Use Default Template
  3. Add specific templates to Grade Templates field

Template Validation

Term Validation Rules

  • Academic term must belong to selected academic year
  • Term cannot be a parent term (use child terms)

Error Messages

ErrorCauseSolution
”Term not in year”Term doesn’t match yearSelect matching term
”Cannot use parent term”Selected parent instead of childChoose specific sub-term

Template Workflow

┌───────┐ ┌────────┐
│ Draft │───▶│ Active │
└───────┘ └────────┘
▲ │
└────────────┘

Grade Calculation Logic

When grades are calculated:

  1. System finds applicable template for course/subject
  2. Retrieves all gradebook lines for student
  3. Groups by academic year, term, subject
  4. Applies weightage rules from template
  5. Computes weighted averages
  6. Determines final grade from grade scale

Calculation Formula

Subject Grade = Σ(Assignment Score × Type Weight) / Σ(Type Weights)
Term Grade = Σ(Subject Grade × Subject Credits) / Σ(Credits)
Year Grade = Σ(Term Grade × Term Weight) / Σ(Term Weights)

Field Reference

Grade Template (op.grade.template)

Technical FieldUI LabelTypeNotes
nameNameCharRequired, unique
template_line_idsTemplate LinesOne2manyRequired
stateStatusSelectiondraft/active
company_idCompanyMany2oneMulti-company

Grade Template Line (op.grade.template.line)

Technical FieldUI LabelTypeNotes
academic_years_idAcademic YearMany2oneRequired
academic_term_idTermMany2oneOptional filter
weightageWeightage TypeSelectionsub_term/assignment_type/attendance
subterm_weight_idsSub-term WeightsOne2manyFor sub_term type
assignment_type_weight_idsAssignment WeightsOne2manyFor assignment_type
attendance_type_weight_idsAttendance WeightsOne2manyFor attendance type

Weight Line Models

ModelFields
subterm.weight.lineacademic_sub_term_id, weightage
assignment.type.weight.lineassignment_type_id, weightage
attendance.weight.lineattendance_type (selection), weightage

Troubleshooting

Template not available for course

Check:

  • Template state is “Active”
  • Template added to course’s Grade Templates field
  • Company matches course company

Grades not calculating correctly

Verify:

  • All weightages sum to 100%
  • Assignment types match gradebook entries
  • No missing template lines for terms

Cannot modify active template

Templates in “Active” state are locked:

  1. Click Set to Draft
  2. Make changes
  3. Re-activate

Related: Configure Grade Scales | Enter Grades