Skip to content

Gradebook: Add customizable grading modes and forum participation scoring#8583

Open
AngelFQC wants to merge 4 commits into
chamilo:masterfrom
AngelFQC:BT23462
Open

Gradebook: Add customizable grading modes and forum participation scoring#8583
AngelFQC wants to merge 4 commits into
chamilo:masterfrom
AngelFQC:BT23462

Conversation

@AngelFQC

Copy link
Copy Markdown
Member

refs BT#23462

AngelFQC and others added 4 commits June 12, 2026 17:37
…and test - refs BT#23462

Model the forum participation item by its maximum points so the gradebook
display stays within 0-100% and, in POINTS_SUM mode, the item contributes the
earned points:
- ForumParticipationLink::calc_score now returns [score, pointsMany] (max =
  pointsMany) instead of [score, 1].
- The link weight is set to pointsMany in the add/edit pages, the migration
  command and the Vue service; the manual weight field is hidden for this type.

Also:
- Add ImportCustomGradingRubricsCommand to import the client rubrics seed as
  native POINTS_SUM categories (course resolved by code, refs validated).
- Register the new strings in messages.pot / messages.en_US.po and the Vue
  master locale (en_US.json).
- Add GradebookCalculationModeTest covering the calculation_mode default and
  the pointsOne/pointsMany round-trip.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AngelFQC AngelFQC marked this pull request as ready for review June 15, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant