Perbaiki RPS .docx unduhan (port dari OBE-Mapping 71858d9, 374bdb5)

- Sel template berisi tabel contoh bersarang kini dibersihkan saat ditimpa: dokumen sah OOXML,
  Word tidak lagi menganggapnya rusak lalu mengacak tata letak
- Blok naratif (Peta CPL-CPMK, Deskripsi, Bahan Kajian, Pustaka, Media, Pengampu, Prasyarat)
  ditulis ke baris template asli, bukan indeks yang bergeser setelah daftar CPL/CPMK/Sub digandakan
- Komponen penilaian tanpa bobot & Sub-CPMK tidak dicetak; template rps_untan.docx versi rapi
- Portofolio: kolom NIM
- tests/uji_unduh_rps.py: ke-10 RPS produksi sah & label sejajar (generator lama: 10/10 gagal)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Power BI Dev
2026-10-14 04:39:14 +07:00
co-authored by Claude Opus 5.5
parent 4a68df4592
commit 81082a52c0
5 changed files with 76 additions and 11 deletions
+1
View File
@@ -14,5 +14,6 @@ if [ -n "$1" ]; then
if PYTHONIOENCODING=utf-8 python tests/uji_migrasi_prod.py "$ROOT" "$1" > tests/uji_migrasi_prod.log 2>&1; then echo "OK uji_migrasi_prod"; else echo "GAGAL uji_migrasi_prod"; gagal=1; fi
# memakai tests/migrasi.db hasil gladi di atas
if PYTHONIOENCODING=utf-8 python tests/uji_rps_kustom.py "$ROOT" > tests/uji_rps_kustom.log 2>&1; then echo "OK uji_rps_kustom"; else echo "GAGAL uji_rps_kustom"; gagal=1; fi
if PYTHONIOENCODING=utf-8 python tests/uji_unduh_rps.py "$ROOT" > tests/uji_unduh_rps.log 2>&1; then echo "OK uji_unduh_rps"; else echo "GAGAL uji_unduh_rps"; gagal=1; fi
fi
exit $gagal