elemes/services/tests
a2nr c911908316 feat(progress): sinkronisasi evaluasi & recompute progress saat publish
- Publish konten langsung menyinkronkan lesson registry dan merekomputasi
  composite/state siswa bila jenis evaluasi (latihan/kuis) berubah, tanpa
  menunggu restart server.
- TTL cache (`LESSON_LIST_CACHE_TTL`, default 30 detik) untuk daftar lesson
  agar worker gunicorn lain ikut segar tanpa invalidasi lintas proses.
- Endpoint POST /content/sync-registry (teacher-only) + tombol Sinkronisasi di
  /teacher/progress untuk menangkap perubahan konten di luar webapp.
- Notifikasi editor saat progress siswa dihitung ulang pasca-publish.
- `recompute_lesson_progress()`: skor historis tetap disimpan; state legacy
  completed/scored tidak disentuh.
- Test unit (TTL cache + signature evaluasi) dan integrasi (publish recompute,
  sync registry, endpoint auth) + dokumentasi.

Tanpa perubahan schema DB.
2026-10-27 00:50:02 +07:00
..
fixtures feat(teacher): manajemen akun guru canonical + first-run otomatis; cabut backend CSV (PG only) 2026-08-09 11:21:08 +07:00
__init__.py
…
conftest.py feat(assets): optimasi serving gambar (WebP on-the-fly + cache disk) 2026-10-25 19:19:07 +07:00
test_asset_cache.py feat(assets): optimasi serving gambar (WebP on-the-fly + cache disk) 2026-10-25 19:19:07 +07:00
test_auth_routes.py refactor(test): unified test runner, markers, elemes.sh cleanup 2026-08-17 11:29:29 +07:00
test_compile_sessions.py refactor(test): unified test runner, markers, elemes.sh cleanup 2026-08-17 11:29:29 +07:00
test_composite_flow.py feat(quiz): taksonomi key quiz per jenis + MCQ berbobot (partial credit) 2026-10-25 20:16:56 +07:00
test_composite_score.py feat: unified lesson progress — composite score & /api/lesson-progress 2026-08-29 00:22:10 +07:00
test_content_editor_routes.py feat(progress): sinkronisasi evaluasi & recompute progress saat publish 2026-10-27 00:50:02 +07:00
test_lesson_list_cache.py feat(progress): sinkronisasi evaluasi & recompute progress saat publish 2026-10-27 00:50:02 +07:00
test_lesson_progress_routes.py fix(quiz): enforce 75% passing threshold, sync server progress, and persist attempt review 2026-09-09 07:33:52 +07:00
test_lesson_registry.py fix(review): address code review findings for dev to master merge 2026-09-06 18:08:58 +07:00
test_lesson_service_embed.py refactor(test): unified test runner, markers, elemes.sh cleanup 2026-08-17 11:29:29 +07:00
test_lesson_service_quiz.py feat(quiz): taksonomi key quiz per jenis + MCQ berbobot (partial credit) 2026-10-25 20:16:56 +07:00
test_lesson_service_velxio.py test(velxio): add comprehensive unit test suites for velxio-manager, hooks redirect, and backend markdown parsing 2026-09-05 18:06:19 +07:00
test_models.py refactor(test): unified test runner, markers, elemes.sh cleanup 2026-08-17 11:29:29 +07:00
test_prerequisite_logic.py feat: unified lesson progress — composite score & /api/lesson-progress 2026-08-29 00:22:10 +07:00
test_progress_routes.py feat(teacher): refactor progress into tree view and separate classroom management 2026-09-15 04:51:35 +07:00
test_quiz_hash_in_code_fence.py fix(quiz): jangan belah soal saat '#' muncul di dalam code fence 2026-08-30 10:55:06 +07:00
test_repositories.py feat(student-management): sync imported progress with composite model and add inline expected format to CSV headers 2026-09-08 19:01:33 +07:00
test_resume_quiz.py feat(quiz): izinkan guru melanjutkan attempt terminated dari jawaban tersimpan 2026-10-20 19:24:40 +07:00
test_student_management_routes.py feat(student-management): sync imported progress with composite model and add inline expected format to CSV headers 2026-09-08 19:01:33 +07:00
test_student_roundtrip.py feat(student-management): sync imported progress with composite model and add inline expected format to CSV headers 2026-09-08 19:01:33 +07:00
test_sub_home.py refactor(test): unified test runner, markers, elemes.sh cleanup 2026-08-17 11:29:29 +07:00
test_sub_home_api.py fix(quiz): enforce 75% passing threshold, sync server progress, and persist attempt review 2026-09-09 07:33:52 +07:00
test_teacher_bootstrap.py fix(docs/api): hilangkan sync berulang di api_reference + UI API Reference di /docs 2026-08-17 16:37:30 +07:00
test_token_hashing.py refactor(test): unified test runner, markers, elemes.sh cleanup 2026-08-17 11:29:29 +07:00
test_token_service_contract.py feat: unified lesson progress — composite score & /api/lesson-progress 2026-08-29 00:22:10 +07:00