Skip to content
Kamoorjdocs
Documentation

Bulletin expressions

Library, blueprints, constants, approval and rounding.

On this page

Purpose and navigation

Assessment & Grading → Bulletin expressions (/bulletin-expressions) is a library of grade calculation structures. An expression can be a tree: for example, a final bulletin combines continuous assessment and an exam, and a separate branch defines a retake. Expressions define calculations, not individual student marks. They are used when configuring bulletin body templates.

The page contains Bulletin expressions and Bulletin Constants tabs. Bulletin settings (/bulletins/settings) is a separate page; the expression and constants library is here. Each tab requires its own permissions.

Expression library

The list displays root records with pagination, name search and a mode selector.

Mode Contents
Bulletin expressions Regular operational trees
Individual Operational trees for individual bulletins
Templates Reusable blueprints, not operational formulas themselves

To create a tree, select the appropriate mode and click Add. The expression editor opens (/bulletins/settings/expressions/new?mode=...). Opening a row opens its root editor. The row menu also opens conditions for the root.

In the regular mode, create a working copy from a template if a common structure is used in several grading methods. This copies the tree, names, formulas and node settings; internal formula references are remapped. Conditions are a separate record set and the current tree cloning operation does not copy them. Review and create required conditions separately.

Deletion through the row menu requires confirmation. Trees or nodes with existing references or use may be protected against deletion. Check dependencies before removing anything used by operational bulletin templates. With required permissions, soft-deleted records can be viewed in the trash and restored.

Approval and availability

Operational roots, including individual expressions, participate in approval management under bulletin-expression-root. With a nonempty flow, saving a new operational root starts an approval process, and the catalog for body templates exposes approved roots. Child nodes and conditions belong to root approval. Blueprints do not require approval and are not operational roots.

Without a configured sequence, selection is not restricted by approval. The server also supports manually starting approval for a root, but the current screen has no independent publish button. When locked, use the supported approval and change actions instead of copying operational records to avoid the lock.

Bulletin constants

A constant is a named numeric value referenced as {const:ID}. Unlike a subject factor coefficient, which depends on the program–subject pair, a constant is institution-wide.

  1. Open Bulletin Constants.
  2. Click Add and enter the name (required string up to 255 characters) and value (required number).
  3. Save, then choose the constant from the expression editor's catalog.
  4. Edit a list record to change it. Changing the existing value affects subsequent calculations referring to the same ID.

For example, add Continuous assessment weight = 0.4 and Exam weight = 0.6 and select them in the final expression. If weights vary by subject, use factor coefficients instead of a single shared constant.

Constants support deletion and restoration. The server prevents editing/deleting constants locked by approved content and deletion of those referenced by expression formulas or conditions. Before changing one, also check journal transfer rules, which use the same catalog; the deletion check is not a complete dependency audit.

Calculation rounding

The module tree includes bulletin-calculation-rounding. The current frontend has no separate rounding page or tab; the server resource is /bulletins/calculation-rounding. It is not a control in the expression editor.

The server setting specifies one or more educational degrees, a start year, optional end year strictly later than the start year, round and decimals. Periods must not overlap for shared degrees. The current request accepts omitted precision when round=true and requires a numeric value up to 3 when round=false; updating with round=true clears decimals. This is an implementation limitation, not a universal rounding configuration.

The journal transfer calculator uses that setting: when round is enabled it rounds to decimals or whole numbers, otherwise to the working scale precision when present. Ordinary expression evaluation allows an explicit round function; do not assume that the setting rounds every bulletin expression automatically. The grade scale defines marks and performance levels separately.

Permissions and scopes

Action Permission
Expressions bulletin-expressions.index, bulletin-expressions.show
Create and edit bulletin-expressions.store, bulletin-expressions.update
Trash and restore bulletin-expressions.deleted-items, bulletin-expressions.restore
Delete bulletin-expressions.destroy
Constants bulletin-constants.index, store, update, destroy, deleted-items, restore for that module
Conditions Separate bulletin-expression-conditions module
Rounding Separate bulletin-calculation-rounding module

Configuration is global, without organizational scopes. Permissions for calculation and modification of actual bulletins and their students are separate. Root approval controls availability in the selection catalog.

Implementation references

Updated Nov 27, 2026