Skip to Content
Services (brain)Practice PYQ

Practice PYQ services

practice-pyq-learner.service.ts

Orchestrates student practice sessions: fetch next question, record answer, attach card state.

practice-pyq-srs-scheduler.ts / practice-pyq-ce-asrs-scheduler.ts

SRS = when to show the question again based on grade (again/hard/good/easy).

Updates practice-pyq-user-question-card documents.

practice-pyq-taxonomy.service.ts

Read/write catalog tree for admin + public browsing.

practice-pyq-questions.service.ts

Query questions with filters (exam category, subtopic, …).

practice-pyq-grade.ts

Compare user answer to correct option; produce grade enum for scheduler.

practice-pyq-week-review.service.ts / practice-review-summary.service.ts

Aggregate progress for UI (“week in review”, session summary).

Tests: src/__tests__/practice-pyq-*.test.ts — good examples of expected behavior.

Last updated on