Portofolio Loop 1 format APTIKOM: evaluasi per CPMK & tindak lanjut dari CQI

- Dua ambang Panduan Kurikulum APTIKOM 2024 hal. 117: Ambang Batas Kelulusan
  Mahasiswa (bawaan 50,01) & Ambang Batas Kelulusan MK (75 %). Status tercapai satu
  aturan (cqi.tercapai) untuk portofolio, CQI, dan Laporan CPL: % mahasiswa >= ambang
  >= target; data agregat memakai skor >= ambang.
- % tuntas CPMK dihitung per mahasiswa (hitung.sebaran_cpmk: di atas/sesuai/di bawah
  ambang), bukan rata-rata % lulus Sub-CPMK; sebaran CPL dalam MK (sebaran_cpl_mk).
- Portofolio: G.1 ketercapaian CPMK, G.2 CPL dengan % tuntas, catatan metode dibetulkan;
  H.1 hasil CQI periode lalu (skor awal -> sekarang), H.2 rencana CQI periode ini,
  H.3 kendala, H.4 statistik. Form menampilkan G & H + saran "Jadikan temuan CQI".
- RPS menampilkan kedua ambang (form bagian G & lampiran kisi-kisi .docx).
- Uji: contoh APTIKOM 30/5/15 dari 50 -> 70 % FAILED; konsistensi status
  portofolio = CQI; bagian G.1–H.3 tercetak.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Power BI Dev
2026-10-17 22:04:54 +07:00
co-authored by Claude Opus 5.5
parent 5653122407
commit 7ece0d8b15
14 changed files with 390 additions and 108 deletions
+8 -8
View File
@@ -79,7 +79,9 @@ def build_laporan_cpl(d: dict) -> bytes:
# ── B. metode ──
bagian("B. METODE PENGUKURAN")
para(f"Ambang ketercapaian {ambang:g}; target mahasiswa tuntas {target:g} %.", size=10, before=0)
para(f"Ambang Batas Kelulusan Mahasiswa {ambang:g}; Ambang Batas Kelulusan (target % mahasiswa "
f"≥ ambang) {target:g} % — Panduan Kurikulum APTIKOM 2024. Status CPL 'Tercapai' bila % "
"mahasiswa tuntas ≥ target; tanpa data per mahasiswa dipakai skor ≥ ambang.", size=10, before=0)
para("Loop 1 (prodi, per MK): skor Sub-CPMK → CPMK → CPL dengan rata-rata sederhana "
f"{'tertimbang SKS' if d['metode'] == 'sks' else 'bagi rata'} antar-MK.", size=10, before=0)
para("Loop 2 (per mahasiswa): proporsi tertimbang bobot asesmen — Σ (bobot × skor Sub-CPMK) "
@@ -90,8 +92,7 @@ def build_laporan_cpl(d: dict) -> bytes:
bagian("C. KETERCAPAIAN CPL TINGKAT PRODI (LOOP 1 TERAGREGASI)")
baris = []
for c in d["cpl"]:
status = ("Belum terukur" if c["skor"] is None else
"Tercapai" if c["skor"] >= ambang else "Di bawah ambang")
status = {None: "Belum terukur", True: "Tercapai", False: "Belum tercapai"}[c["tercapai"]]
baris.append([c["kode"] + " — " + c["desk"][:110] + ("…" if len(c["desk"]) > 110 else ""),
_f(c["skor"]), f"{c['n_mk_setor']}/{c['n_mk_pemikul']}",
_f(c["pct_tuntas"], 0) + (" %" if c["pct_tuntas"] is not None else ""),
@@ -99,8 +100,8 @@ def build_laporan_cpl(d: dict) -> bytes:
t = tabel(["CPL", "Skor", "Bukti (titik ukur)", "% Mhs Tuntas", "Status"], baris,
[13.5, 2.2, 3.2, 3, 3.6])
for r, c in enumerate(d["cpl"], 1):
if c["skor"] is not None:
_shd(t.cell(r, 4), HIJAU if c["skor"] >= ambang else MERAH)
if c["tercapai"] is not None:
_shd(t.cell(r, 4), HIJAU if c["tercapai"] else MERAH)
# ── D. per angkatan ──
bagian("D. CAPAIAN CPL PER ANGKATAN (LOOP 2)")
@@ -119,9 +120,8 @@ def build_laporan_cpl(d: dict) -> bytes:
size=9, italic=True, before=2)
# ── E. CPL perlu perhatian ──
bagian("E. CPL DI BAWAH AMBANG / TARGET")
rendah = [c for c in d["cpl"] if c["skor"] is not None and
(c["skor"] < ambang or (c["pct_tuntas"] is not None and c["pct_tuntas"] < target))]
bagian("E. CPL BELUM TERCAPAI")
rendah = [c for c in d["cpl"] if c["tercapai"] is False]
tabel(["CPL", "Skor", "% Tuntas", "CPMK terlemah", "MK penyumbang terlemah"],
[[c["kode"], _f(c["skor"]), _f(c["pct_tuntas"], 0),
c.get("cpmk_terlemah") or "—", c.get("mk_terlemah_nama") or "—"] for c in rendah],