feat: update app.db and BACKLOG.md with new decisions and adjustments
All checks were successful
Deploy / deploy (push) Successful in 7m45s

- Updated the app.db file to reflect recent changes in the application state.
- Modified BACKLOG.md to include new entries regarding the removal of certain wizard steps, adjustments to priority chips, and the introduction of special quota conditions for candidates.
- Added details on the decision to link priority chips to data sources and clarified the implications for user experience and data handling.
This commit is contained in:
bilalgursen
2026-10-06 17:17:49 +03:00
parent c0696e2cbc
commit a3cb058a3b
74 changed files with 10334 additions and 445 deletions

View File

@@ -33,7 +33,7 @@ import { JEV_EVAL_MODEL, JEV_SORU_GRUPLARI, type JevGerekceState } from "./jev-s
import { PROFILLER, type EvalProfil } from "./profiller";
import { getDb, havuzAdaylari } from "@/lib/db";
import { kategoriEslesir } from "@/lib/kategoriler";
import { dilimHedefiHesapla, havuzOlustur, havuzuKompaktJson, ozelKontenjanSatiriMi, turLabel, type AdayProgram, type DilimHedef } from "@/lib/rapor-havuzu";
import { dilimHedefiHesapla, havuzOlustur, havuzuKompaktJson, idealHedef, ozelKontenjanSatiriMi, turLabel, type AdayProgram, type DilimHedef } from "@/lib/rapor-havuzu";
import type { RaporParams, RaporSonuc } from "@/features/rapor/types/rapor";
import type { RaporTani } from "@/lib/ai/rapor";
@@ -78,7 +78,7 @@ type Bulgu = { ad: string; durum: "ihlal" | "bilinen" | "duzeldi"; neden: string
function degismezler(p: EvalProfil) {
const params = paramsYap(p);
const { havuz, gevsetildi } = havuzOlustur(params, p.danismanProfili);
const hedef = dilimHedefiHesapla(havuz);
const hedef = dilimHedefiHesapla(havuz, idealHedef(params.oncelikler));
const toplam = hedef.hayal + hedef.dengeli + hedef.garanti;
const oz = ozellikler(havuz.map((x) => x.id));
const s = p.sihirbaz.secimler;
@@ -281,6 +281,8 @@ async function modelleKos(p: EvalProfil, d: ReturnType<typeof degismezler>, rapo
taban_sirasi: prog?.efektifSira ?? null,
kontenjan: prog?.kontenjanSon ?? null,
dilim: t.dilim === "garanti" ? "güvenli" : t.dilim,
// Koddan hesaplanan "öne çıkan" veriler (uyum-puani.ts): gerekçedeki TÜİK %, URAP sırası vb. dayanaklıdır
one_cikan: t.oneCikan?.length ? t.oneCikan.join(" · ") : null,
},
aday: { sira: d.params.sira, puan_turu: turLabel(d.params.tur) },
};