Skip to content

Context mapping #61

@jasminetay-moe

Description

@jasminetay-moe

For the system to detect permitted trigger criterias, it needs to have a reference layer.

Allowlist logic? for MVP scope
eg.
GATE 1: PAGE CONTEXT
IF current_page IN [student_profile, ]
→ CONTINUE

GATE 2: AUTHORITY
IF teacher_id has confirmed relationship
(form teacher OR lead teacher OR SDT user)
for student_id in MIMS
→ CONTINUE

GATE 3: STUDENT NEEDS SUPPORT
IF student has active, confirmed SwAN tag
→ CONTINUE

GATE 4: CONTENT MATCH
IF SwAN_type in student record matches
at least one content_tag in candidate content item
→ CONTINUE

All pass → permitted_to_surface = true. Any gate fails → no_surface, log reason, exit early.

TODO

  • confirm with SDT business team on trigger criteras
  • confirm with GB on trigger criteras for Wellbeing domain

Metadata

Metadata

Labels

pmPM story

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions