trust roadmap

This commit is contained in:
arifal
2026-05-09 00:55:40 +07:00
parent 5e0232d909
commit 54cd984a7e
14 changed files with 628 additions and 281 deletions
+7
View File
@@ -1,6 +1,13 @@
/** Minimal trip sebagai organizer untuk badge "Trip leader" (heuristik MVP). */
export const TRIP_LEADER_MIN_TRIPS = 2;
/**
* Minimal sample (trip selesai + trip dibatalkan) sebelum completion rate
* ditampilkan ke publik. Mencegah angka menyesatkan untuk organizer baru:
* mis. 1 trip dibatalkan dari 1 trip = 0% — tidak fair sebagai sinyal trust.
*/
export const COMPLETION_RATE_MIN_SAMPLE = 3;
/** Bentuk data minimal untuk cek status verifikasi organizer. */
type WithOrganizerVerification = {
organizerVerification?: { status: "PENDING" | "APPROVED" | "REJECTED" } | null;