kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Recurring review comment: Fix root causes, not symptoms or magic numbers

Open rtibblesbot opened this issue 1 month ago • 1 comments

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Reviewers raised this on 4 PRs by 2 authors in the last 90 days: Fix root causes, not symptoms or magic numbers.

Proposal

AGENTS.md: "Fix the cause at the layer that owns the data; if a constant makes the bug vanish, explain why it works or keep investigating. Shared concerns go in the shared parent, not in a page or one consumer."

Comments

  • https://github.com/learningequality/kolibri/pull/15324#discussion_r4079264338 (#15324, kolibri/core/lessons/single_user_assignment_utils.py)
  • https://github.com/learningequality/kolibri/pull/15105#discussion_r3684021095 (#15105, packages/kolibri-zip/src/AdaptiveHttpReader.js)
  • https://github.com/learningequality/kolibri/pull/15487#discussion_r4198982320 (#15487, kolibri/utils/file_transfer.py)
  • https://github.com/learningequality/kolibri/pull/15055#discussion_r3639126594 (#15055, kolibri/plugins/qti_viewer/frontend/components/QTISandboxPage.vue)
  • https://github.com/learningequality/kolibri/pull/15055#discussion_r3790884534 (#15055, kolibri/plugins/qti_viewer/frontend/components/interactions/PerseusCustomInteraction.vue)
  • https://github.com/learningequality/kolibri/pull/15055#discussion_r3639116537 (#15055, kolibri/plugins/qti_viewer/frontend/components/AssessmentItem.vue)
  • https://github.com/learningequality/kolibri/pull/15055#discussion_r3639109232 (#15055, kolibri/plugins/qti_viewer/frontend/components/AssessmentItem.vue)

rtibblesbot avatar Oct 18 '26 00:10 rtibblesbot

Consolidated into #15608.

rtibbles avatar Oct 18 '26 01:10 rtibbles