Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript

Add an opt-in peak-hours routing adjustment (#909)

suantea (asuan_suan)f9af5f75a2a8
diff --git a/client/src/components/peak-hours-controls.tsx b/client/src/components/peak-hours-controls.tsx
new file mode 100644
index 00000000..812ef11f
--- /dev/null
+++ b/client/src/components/peak-hours-controls.tsx
@@ -0,0 +1,126 @@
+import { useEffect, useState } from 'react'
+import { useI18n } from '@/i18n'
+import { Tooltip } from '@/components/tooltip'
+import { PEAK_EXEMPT_STRATEGIES, type RoutingData, type RoutingStrategy } from '@/lib/routing'
+
+const HOURS = Array.from({ length: 24 }, (_, i) => i)
+
+function hourLabel(hour: number): string {
+ return `${String(hour).padStart(2, '0')}:00`
+}
+
+/** Whether the runtime recognises this IANA name. Mirrors the server check so a
+ * typo is caught before it becomes a 400 the user has to decode. */
+function isKnownTimezone(name: string): boolean {
+ if (!name.trim()) return false
+ try {
+ new Intl.DateTimeFormat('en-US', { timeZone: name })
+ return true
+ } catch {
+ return false
+ }
+}
+
+export interface PeakHoursPatch {
+ peakHoursAdjust?: boolean
+ peakStartHour?: number
+ peakEndHour?: number
+ peakTimezone?: string
+}
+
+/**
+ * Opt-in time-of-day reweighting (#760), rendered at the same footnote tier as
+ * the Explore toggle rather than in a card of its own. Off — the default — it
+ * is one checkbox and nothing else; the window inputs appear only once someone
+ * turns it on.
+ */
+export function PeakHoursControls({ routing, strategy, saving, onSave }: {
+ routing: RoutingData
+ strategy: RoutingStrategy
+ saving: boolean
+ onSave: (patch: PeakHoursPatch) => void
+}) {
+ const { t } = useI18n()
+ const [tz, setTz] = useState(routing.peakTimezone)
+ const [tzError, setTzError] = useState(false)
+
+ // Re-sync when the server's value changes under us (poll, or another tab).
+ useEffect(() => { setTz(routing.peakTimezone); setTzError(false) }, [routing.peakTimezone])
+
+ const enabled = routing.peakHoursAdjust
+ const exempt = PEAK_EXEMPT_STRATEGIES.includes(strategy)
+
+ function commitTimezone(value: string) {
+ const next = value.trim()
+ if (next === routing.peakTimezone) { setTzError(false); return }
+ if (!isKnownTimezone(next)) { setTzError(true); return }
+ setTzError(false)
+ onSave({ peakTimezone: next })
+ }
+
+ return (
+ <div className="mt-2">
+ <label className="inline-flex items-center gap-2 text-xs text-muted-foreground">
+ <input
+ type="checkbox"
+ checked={enabled}
+ disabled={saving}
+ onChange={e => onSave({ peakHoursAdjust: e.target.checked })}
+ className="size-3.5 accent-foreground"
+ />
+ <span>{t('strategies.peakAdjust')}</span>
+ <Tooltip text={t('strategies.peakAdjustHint')}>
+ <span className="cursor-help underline decoration-dotted underline-offset-2">?</span>
+ </Tooltip>
+ </label>
+
+ {enabled && (
+ <div className="mt-2 flex flex-wrap items-center gap-x-2 gap-y-1.5 pl-5.5 text-xs text-muted-foreground">
+ <span>{t('strategies.peakFrom')}</span>
+ <select
+ value={routing.peakStartHour}
+ disabled={saving}
+ aria-label={t('strategies.peakFrom')}
+ onChange={e => onSave({ peakStartHour: Number(e.target.value) })}
+ className="rounded-lg border bg-card px-1.5 py-0.5 tabular-nums outline-none focus:border-foreground/30"
+ >
+ {HOURS.map(h => <option key={h} value={h}>{hourLabel(h)}</option>)}
+ </select>
+ <span>{t('strategies.peakTo')}</span>
+ <select
+ value={routing.peakEndHour}
+ disabled={saving}
+ aria-label={t('strategies.peakTo')}
+ onChange={e => onSave({ peakEndHour: Number(e.target.value) })}
+ className="rounded-lg border bg-card px-1.5 py-0.5 tabular-nums outline-none focus:border-foreground/30"
+ >
+ {HOURS.map(h => <option key={h} value={h}>{hourLabel(h)}</option>)}
+ </select>
+ <span>{t('strategies.peakTimezoneLabel')}</span>
+ <input
+ value={tz}
+ disabled={saving}
+ aria-label={t('strategies.peakTimezoneLabel')}
+ onChange={e => setTz(e.target.value)}
+ onBlur={e => commitTimezone(e.target.value)}
+ onKeyDown={e => { if (e.key === 'Enter') commitTimezone((e.target as HTMLInputElement).value) }}
+ className={`w-40 rounded-lg border bg-card px-1.5 py-0.5 outline-none focus:border-foreground/30 ${tzError ? 'border-destructive' : ''}`}
+ />
+ <button
+ type="button"
+ disabled={saving}
+ onClick={() => {
+ const local = Intl.DateTimeFormat().resolvedOptions().timeZone
+ if (local) { setTz(local); commitTimezone(local) }
+ }}
+ className="underline decoration-dotted underline-offset-2 hover:text-foreground"
+ >
+ {t('strategies.peakUseBrowserTimezone')}
+ </button>
+ {tzError && <span className="text-destructive">{t('strategies.peakTimezoneInvalid')}</span>}
+ {exempt && <span className="basis-full text-muted-foreground/80">{t('strategies.peakExemptNote')}</span>}
+ </div>
+ )}
+ </div>
+ )
+}
diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.json
index e897bb57..2c4c261c 100644
--- a/client/src/i18n/locales/am.json
+++ b/client/src/i18n/locales/am.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "ያልተለኩ ሞዴሎችን ያስሱ",
"exploreHint": "የአስተማማኝነት/የፍጥነት ውሂብ የሌላቸው ሞዴሎች ናሙና እንዲሰበስቡ 10% የመሞከር እድል ይሰጣል።",
+ "peakActive": "(የጫና ሰዓት)",
+ "peakActiveHint": "የጫና ሰዓት ማስተካከያ አሁን እየሠራ ነው፣ ስለዚህ እነዚህ የቅድመ-ቅንብሩ ራሱ ክብደቶች አይደሉም፦ ከፍጥነት ክብደት 60% ወደ አስተማማኝነት ተዛውሯል።",
+ "peakAdjust": "የጫና ሰዓት ማስተካከያ",
+ "peakAdjustHint": "በነባሪ ጠፍቷል። ከታች ባለው ክፍተት ውስጥ ከፍጥነት ክብደት 60% ወደ አስተማማኝነት ይዛወራል — ነጻ ማስተላለፊያዎች በዚያ ሰዓት በጣም ይጨናነቃሉ፣ ስለዚህ አስተማማኝነት ከጥሬ ፍጥነት በላይ ስኬትን ይተነብያል። «ፈጣኑ» እና «በጣም አስተማማኙ» አይነኩም።",
+ "peakFrom": "ከ",
+ "peakTo": "እስከ",
+ "peakTimezoneLabel": "የሰዓት ክልል",
+ "peakUseBrowserTimezone": "የአሳሹን የሰዓት ክልል ተጠቀም",
+ "peakTimezoneInvalid": "ያልታወቀ የሰዓት ክልል።",
+ "peakExemptNote": "ይህ ቅድመ-ቅንብር አይነካም — አስቀድሞ በፍጥነት/አስተማማኝነት ሚዛን አንድ ጫፍ ላይ ነው።",
"title": "የማዞሪያ ስትራቴጂ",
"description": "የማዞሪያ ስልት ይምረጡ። በእጅ ሁነታ ትዕዛዙን ለማዘጋጀት ይጎትቱታል; ሌሎቹ ስልቶች በአስተማማኝነት፣ ፍጥነት እና ብልህነት ላይ በቀጥታ ውጤት ይጓዛሉ።",
"weightsSummary": "አስተማማኝነት {reliability}% · ፍጥነት {speed}% · ብልህነት {intelligence}%",
diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.json
index 353dd98e..772da644 100644
--- a/client/src/i18n/locales/ar.json
+++ b/client/src/i18n/locales/ar.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "استكشاف النماذج غير المقيسة",
"exploreHint": "امنح النماذج التي لا تملك بيانات موثوقية/سرعة فرصة 10% للتجربة حتى تجمع عينات.",
+ "peakActive": "(ساعات الذروة)",
+ "peakActiveHint": "تعديل ساعات الذروة مفعّل الآن، لذا هذه ليست أوزان الإعداد المسبق نفسه: نُقل 60% من وزن السرعة إلى الموثوقية.",
+ "peakAdjust": "تعديل ساعات الذروة",
+ "peakAdjustHint": "معطّل افتراضيًا. ضمن النافذة أدناه يُنقل 60% من وزن السرعة إلى الموثوقية — إذ تكون المرحّلات المجانية أكثر ازدحامًا حينها، فتتنبأ الموثوقية بالنجاح أفضل من الإنتاجية الخام. لا يتأثر «الأسرع» ولا «الأكثر موثوقية».",
+ "peakFrom": "من",
+ "peakTo": "إلى",
+ "peakTimezoneLabel": "المنطقة الزمنية",
+ "peakUseBrowserTimezone": "استخدام المنطقة الزمنية للمتصفح",
+ "peakTimezoneInvalid": "منطقة زمنية غير معروفة.",
+ "peakExemptNote": "هذا الإعداد المسبق لا يتأثر — فهو أصلًا عند أحد طرفي المفاضلة بين السرعة والموثوقية.",
"title": "استراتيجية التوجيه",
"description": "اختر استراتيجية التوجيه. في الوضع اليدوي، يمكنك السحب لتعيين الترتيب؛ يتم توجيه الاستراتيجيات الأخرى من خلال النتيجة المباشرة عبر الموثوقية والسرعة والذكاء.",
"weightsSummary": "الموثوقية {reliability}% · السرعة {speed}% · الذكاء {intelligence}%",
diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.json
index 8fdce348..d61c717c 100644
--- a/client/src/i18n/locales/az.json
+++ b/client/src/i18n/locales/az.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Ölçülməmiş modelləri araşdır",
"exploreHint": "Etibarlılıq/sürət məlumatı olmayan modellərə nümunə toplamaları üçün 10% sınaq şansı verin.",
+ "peakActive": "(pik saatlar)",
+ "peakActiveHint": "Pik saat tənzimləməsi hazırda aktivdir, ona görə bunlar hazır dəstin öz çəkiləri deyil: sürət çəkisinin 60%-i etibarlılığa keçirilib.",
+ "peakAdjust": "Pik saat tənzimləməsi",
+ "peakAdjustHint": "Standart olaraq söndürülüb. Aşağıdakı aralıqda sürət çəkisinin 60%-ini etibarlılığa keçirir — pulsuz ötürücülər o vaxt ən sıx yüklənir, ona görə etibarlılıq uğuru xam ötürmə qabiliyyətindən daha yaxşı proqnozlaşdırır. «Ən sürətli» və «Ən etibarlı» dəyişmir.",
+ "peakFrom": "Başlanğıc",
+ "peakTo": "son",
+ "peakTimezoneLabel": "Saat qurşağı",
+ "peakUseBrowserTimezone": "Brauzerin saat qurşağını istifadə et",
+ "peakTimezoneInvalid": "Naməlum saat qurşağı.",
+ "peakExemptNote": "Bu hazır dəst dəyişmir — o, artıq sürət/etibarlılıq tarazlığının bir ucundadır.",
"title": "Marşrut strategiyası",
"description": "Bir marşrut strategiyası seçin. Əl rejimində isə ardıcıllığı təyin etmək üçün sürükləyirsən; Digər strategiyalar isə etibarlılıq, sürət və zəka üzrə canlı skora əsaslanır.",
"weightsSummary": "etibarlılıq {reliability}% · sürət {speed}% · Zəka {intelligence}%",
diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.json
index 6ab8fd12..8f631ff0 100644
--- a/client/src/i18n/locales/bg.json
+++ b/client/src/i18n/locales/bg.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Изследване на неизмерени модели",
"exploreHint": "Дава на модели без данни за надеждност/скорост 10% шанс да бъдат изпробвани, за да натрупат извадки.",
+ "peakActive": "(пикови часове)",
+ "peakActiveHint": "Корекцията за пиковите часове е активна в момента, така че това не са собствените тегла на предварителната настройка: 60% от теглото на скоростта е прехвърлено към надеждността.",
+ "peakAdjust": "Корекция за пикови часове",
+ "peakAdjustHint": "По подразбиране изключена. В прозореца по-долу премества 60% от теглото на скоростта към надеждността — безплатните релета са най-натоварени тогава, така че надеждността предсказва успеха по-добре от чистата пропускливост. „Най-бърза“ и „Най-надеждна“ остават непроменени.",
+ "peakFrom": "От",
+ "peakTo": "до",
+ "peakTimezoneLabel": "Часова зона",
+ "peakUseBrowserTimezone": "Използвай часовата зона на браузъра",
+ "peakTimezoneInvalid": "Непозната часова зона.",
+ "peakExemptNote": "Тази настройка остава непроменена — тя вече е в единия край на компромиса скорост/надеждност.",
"title": "Стратегия за маршрутизиране",
"description": "Изберете стратегия за маршрутизиране. В ръчен режим плъзгате, за да зададете реда; Останалите стратегии се насочват по реален резултат по надеждност, скорост и интелигентност.",
"weightsSummary": "Надеждност {reliability}% · Скорост {speed}% · Интелигентност {intelligence}%",
diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.json
index a288a20c..6beee6a7 100644
--- a/client/src/i18n/locales/bn.json
+++ b/client/src/i18n/locales/bn.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "অপরিমাপিত মডেল অন্বেষণ করুন",
"exploreHint": "নির্ভরযোগ্যতা/গতির ডেটা নেই এমন মডেলগুলিকে নমুনা তৈরির জন্য 10% চেষ্টার সুযোগ দিন।",
+ "peakActive": "(ব্যস্ত সময়)",
+ "peakActiveHint": "ব্যস্ত-সময় সমন্বয় এখন সক্রিয়, তাই এগুলো প্রিসেটের নিজস্ব ওজন নয়: গতির ওজনের ৬০% নির্ভরযোগ্যতায় সরানো হয়েছে।",
+ "peakAdjust": "ব্যস্ত-সময় সমন্বয়",
+ "peakAdjustHint": "ডিফল্টভাবে বন্ধ। নিচের সময়সীমার ভেতরে গতির ওজনের ৬০% নির্ভরযোগ্যতায় সরে যায় — ফ্রি রিলে তখনই সবচেয়ে ব্যস্ত থাকে, তাই কাঁচা থ্রুপুটের চেয়ে নির্ভরযোগ্যতা সাফল্য ভালো আঁচ করে। «দ্রুততম» ও «সবচেয়ে নির্ভরযোগ্য» অপরিবর্তিত থাকে।",
+ "peakFrom": "থেকে",
+ "peakTo": "পর্যন্ত",
+ "peakTimezoneLabel": "সময় অঞ্চল",
+ "peakUseBrowserTimezone": "ব্রাউজারের সময় অঞ্চল ব্যবহার করুন",
+ "peakTimezoneInvalid": "অজানা সময় অঞ্চল।",
+ "peakExemptNote": "এই প্রিসেট অপরিবর্তিত থাকে — এটি ইতিমধ্যেই গতি/নির্ভরযোগ্যতা সমঝোতার এক প্রান্তে আছে।",
"title": "রাউটিং কৌশল",
"description": "একটি রাউটিং কৌশল বেছে নিন। ম্যানুয়াল মোডে আপনি অর্ডার সেট করতে টেনে আনুন; নির্ভরযোগ্যতা, গতি এবং বুদ্ধিমত্তা জুড়ে লাইভ স্কোরের মাধ্যমে অন্যান্য কৌশলগুলি।",
"weightsSummary": "নির্ভরযোগ্যতা {reliability}% · গতি {speed}% · বুদ্ধিমত্তা {intelligence}%",
diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.json
index 65fd3672..f6633740 100644
--- a/client/src/i18n/locales/cs.json
+++ b/client/src/i18n/locales/cs.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Prozkoumávat nezměřené modely",
"exploreHint": "Dá modelům bez dat o spolehlivosti/rychlosti 10% šanci na vyzkoušení, aby nasbíraly vzorky.",
+ "peakActive": "(špička)",
+ "peakActiveHint": "Úprava pro špičku je právě aktivní, takže tohle nejsou váhy samotné předvolby: 60 % váhy rychlosti se přesunulo na spolehlivost.",
+ "peakAdjust": "Úprava pro špičku",
+ "peakAdjustHint": "Ve výchozím stavu vypnuto. V okně níže přesune 60 % váhy rychlosti na spolehlivost — bezplatné relaye jsou v té době nejvytíženější, takže spolehlivost předpovídá úspěch lépe než čistá propustnost. „Nejrychlejší“ a „Nejspolehlivější“ zůstávají beze změny.",
+ "peakFrom": "Od",
+ "peakTo": "do",
+ "peakTimezoneLabel": "Časové pásmo",
+ "peakUseBrowserTimezone": "Použít časové pásmo prohlížeče",
+ "peakTimezoneInvalid": "Neznámé časové pásmo.",
+ "peakExemptNote": "Tato předvolba zůstává beze změny — už leží na jednom konci kompromisu rychlost/spolehlivost.",
"title": "Strategie směrování",
"description": "Vyberte strategii směrování. V manuálním režimu přetahujete pro nastavení pořadí; Ostatní strategie se podle živého skóre zaměřují na spolehlivost, rychlost a inteligenci.",
"weightsSummary": "spolehlivost {reliability} % · rychlost {speed} % · inteligence {intelligence} %",
diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.json
index 1802409d..0469c9d7 100644
--- a/client/src/i18n/locales/da.json
+++ b/client/src/i18n/locales/da.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Udforsk umålte modeller",
"exploreHint": "Giver modeller uden pålideligheds-/hastighedsdata en chance på 10 % for at blive prøvet, så de opbygger stikprøver.",
+ "peakActive": "(spidsbelastning)",
+ "peakActiveHint": "Justeringen for spidsbelastning er aktiv lige nu, så det er ikke forudindstillingens egne vægte: 60 % af hastighedsvægten er flyttet til pålidelighed.",
+ "peakAdjust": "Justering for spidsbelastning",
+ "peakAdjustHint": "Slået fra som standard. Inden for vinduet nedenfor flyttes 60 % af hastighedsvægten til pålidelighed — gratis relæer er mest belastede da, så pålidelighed forudsiger succes bedre end rå gennemstrømning. Hurtigst og Mest pålidelig røres ikke.",
+ "peakFrom": "Fra",
+ "peakTo": "til",
+ "peakTimezoneLabel": "Tidszone",
+ "peakUseBrowserTimezone": "Brug browserens tidszone",
+ "peakTimezoneInvalid": "Ukendt tidszone.",
+ "peakExemptNote": "Denne forudindstilling røres ikke — den ligger allerede i den ene ende af afvejningen mellem hastighed og pålidelighed.",
"title": "Routingstrategi",
"description": "Vælg en routing-strategi. I manuel tilstand trækker du for at sætte rækkefølgen; De andre strategier følger live score på tværs af pålidelighed, hastighed og intelligens.",
"weightsSummary": "Pålidelighed {reliability}% · hastighed {speed}% · intelligens {intelligence}%",
diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.json
index e5a37a56..f76588f8 100644
--- a/client/src/i18n/locales/de.json
+++ b/client/src/i18n/locales/de.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Unvermessene Modelle erkunden",
"exploreHint": "Gibt Modellen ohne Zuverlässigkeits-/Geschwindigkeitsdaten eine 10-%-Chance, ausprobiert zu werden, damit sie Stichproben aufbauen.",
+ "peakActive": "(Stoßzeiten)",
+ "peakActiveHint": "Die Stoßzeiten-Anpassung ist gerade aktiv, das sind also nicht die Gewichte des Presets selbst: 60 % des Geschwindigkeitsgewichts sind auf Zuverlässigkeit verschoben.",
+ "peakAdjust": "Stoßzeiten-Anpassung",
+ "peakAdjustHint": "Standardmäßig aus. Im Zeitfenster unten werden 60 % des Geschwindigkeitsgewichts auf Zuverlässigkeit verschoben — kostenlose Relays sind dann am stärksten ausgelastet, und Zuverlässigkeit sagt Erfolg dann besser voraus als roher Durchsatz. Schnellste und Zuverlässigste bleiben unberührt.",
+ "peakFrom": "Von",
+ "peakTo": "bis",
+ "peakTimezoneLabel": "Zeitzone",
+ "peakUseBrowserTimezone": "Zeitzone des Browsers verwenden",
+ "peakTimezoneInvalid": "Unbekannte Zeitzone.",
+ "peakExemptNote": "Dieses Preset bleibt unberührt — es liegt bereits an einem Ende des Kompromisses zwischen Tempo und Zuverlässigkeit.",
"title": "Routing-Strategie",
"description": "Wählen Sie eine Routing-Strategie. Im manuellen Modus können Sie durch Ziehen die Reihenfolge festlegen. Die anderen Strategien orientieren sich am Live-Score hinsichtlich Zuverlässigkeit, Geschwindigkeit und Intelligenz.",
"weightsSummary": "Zuverlässigkeit {reliability}% · Geschwindigkeit {speed}% · Intelligenz {intelligence}%",
diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.json
index 4abc0c1c..c892a161 100644
--- a/client/src/i18n/locales/el.json
+++ b/client/src/i18n/locales/el.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Εξερεύνηση μη μετρημένων μοντέλων",
"exploreHint": "Δίνει στα μοντέλα χωρίς δεδομένα αξιοπιστίας/ταχύτητας 10% πιθανότητα να δοκιμαστούν ώστε να συγκεντρώσουν δείγματα.",
+ "peakActive": "(ώρες αιχμής)",
+ "peakActiveHint": "Η προσαρμογή για τις ώρες αιχμής είναι ενεργή αυτή τη στιγμή, οπότε αυτά δεν είναι τα βάρη της ίδιας της προεπιλογής: το 60% του βάρους ταχύτητας μεταφέρθηκε στην αξιοπιστία.",
+ "peakAdjust": "Προσαρμογή ωρών αιχμής",
+ "peakAdjustHint": "Απενεργοποιημένη από προεπιλογή. Μέσα στο παρακάτω παράθυρο, μεταφέρει το 60% του βάρους ταχύτητας στην αξιοπιστία — οι δωρεάν αναμεταδότες έχουν τότε τη μεγαλύτερη συμφόρηση, οπότε η αξιοπιστία προβλέπει την επιτυχία καλύτερα από την καθαρή απόδοση. Η «Ταχύτερη» και η «Πιο αξιόπιστη» δεν επηρεάζονται.",
+ "peakFrom": "Από",
+ "peakTo": "έως",
+ "peakTimezoneLabel": "Ζώνη ώρας",
+ "peakUseBrowserTimezone": "Χρήση ζώνης ώρας του προγράμματος περιήγησης",
+ "peakTimezoneInvalid": "Άγνωστη ζώνη ώρας.",
+ "peakExemptNote": "Αυτή η προεπιλογή δεν επηρεάζεται — βρίσκεται ήδη στο ένα άκρο του συμβιβασμού ταχύτητας/αξιοπιστίας.",
"title": "Στρατηγική δρομολόγησης",
"description": "Επιλέξτε μια στρατηγική δρομολόγησης. Στη χειροκίνητη λειτουργία σύρετε για να ορίσετε τη σειρά. Οι άλλες στρατηγικές δρομολογούνται με ζωντανό σκορ σε αξιοπιστία, ταχύτητα και ευφυΐα.",
"weightsSummary": "αξιοπιστία {reliability}% · Ταχύτητα {speed}% · νοημοσύνη {intelligence}%",
diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.json
index 8557a862..acb013bf 100644
--- a/client/src/i18n/locales/en.json
+++ b/client/src/i18n/locales/en.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Explore unmeasured models",
"exploreHint": "Give models without reliability/speed data a 10% chance to be tried so they build samples.",
+ "peakActive": "(peak hours)",
+ "peakActiveHint": "The peak-hours adjustment is active right now, so these are not the preset's own weights: 60% of the speed weight has moved onto reliability.",
+ "peakAdjust": "Peak-hours adjustment",
+ "peakAdjustHint": "Off by default. Inside the window below, move 60% of the speed weight onto reliability — free relays are busiest then, so reliability predicts success better than raw throughput. Fastest and Most reliable are left alone.",
+ "peakFrom": "From",
+ "peakTo": "to",
+ "peakTimezoneLabel": "Timezone",
+ "peakUseBrowserTimezone": "Use browser timezone",
+ "peakTimezoneInvalid": "Unknown timezone.",
+ "peakExemptNote": "This preset is left alone — it already sits at one end of the speed/reliability trade-off.",
"title": "Routing strategy",
"description": "Pick a routing strategy. In Manual mode you drag to set the order; the other strategies route by live score across reliability, speed and intelligence.",
"weightsSummary": "reliability {reliability}% · speed {speed}% · intelligence {intelligence}%",
diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.json
index f3f77dc1..332a75b5 100644
--- a/client/src/i18n/locales/es.json
+++ b/client/src/i18n/locales/es.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Explorar modelos sin mediciones",
"exploreHint": "Da a los modelos sin datos de fiabilidad/velocidad un 10 % de probabilidad de ser probados para que acumulen muestras.",
+ "peakActive": "(horas punta)",
+ "peakActiveHint": "El ajuste de horas punta está activo ahora mismo, así que estos no son los pesos propios del preajuste: el 60 % del peso de velocidad se ha trasladado a fiabilidad.",
+ "peakAdjust": "Ajuste de horas punta",
+ "peakAdjustHint": "Desactivado por defecto. Dentro de la ventana de abajo, traslada el 60 % del peso de velocidad a fiabilidad: los relés gratuitos están más saturados entonces, así que la fiabilidad predice el éxito mejor que el rendimiento bruto. Más rápido y Más fiable no se tocan.",
+ "peakFrom": "De",
+ "peakTo": "a",
+ "peakTimezoneLabel": "Zona horaria",
+ "peakUseBrowserTimezone": "Usar la zona horaria del navegador",
+ "peakTimezoneInvalid": "Zona horaria desconocida.",
+ "peakExemptNote": "Este preajuste no se toca: ya está en uno de los extremos del equilibrio velocidad/fiabilidad.",
"title": "Estrategia de enrutamiento",
"description": "Elige una estrategia de enrutamiento. En el modo manual, arrastra para definir el orden; las demás estrategias enrutan según una puntuación en vivo de fiabilidad, velocidad e inteligencia.",
"weightsSummary": "fiabilidad {reliability}% · velocidad {speed}% · inteligencia {intelligence}%",
diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.json
index 6bf18efa..dad7b6a4 100644
--- a/client/src/i18n/locales/fa.json
+++ b/client/src/i18n/locales/fa.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "کاوش مدل‌های اندازه‌گیری‌نشده",
"exploreHint": "به مدل‌هایی که داده قابلیت اطمینان/سرعت ندارند 10٪ شانس امتحان شدن بدهید تا نمونه جمع کنند.",
+ "peakActive": "(ساعات اوج)",
+ "peakActiveHint": "تنظیم ساعات اوج هم‌اکنون فعال است، بنابراین این‌ها وزن‌های خود پیش‌تنظیم نیستند: ۶۰٪ از وزن سرعت به قابلیت اطمینان منتقل شده است.",
+ "peakAdjust": "تنظیم ساعات اوج",
+ "peakAdjustHint": "به‌طور پیش‌فرض خاموش. در بازهٔ زیر ۶۰٪ از وزن سرعت به قابلیت اطمینان منتقل می‌شود — رله‌های رایگان در آن ساعت‌ها شلوغ‌ترند، پس قابلیت اطمینان موفقیت را بهتر از توان خام پیش‌بینی می‌کند. «سریع‌ترین» و «قابل‌اطمینان‌ترین» دست‌نخورده می‌مانند.",
+ "peakFrom": "از",
+ "peakTo": "تا",
+ "peakTimezoneLabel": "منطقهٔ زمانی",
+ "peakUseBrowserTimezone": "استفاده از منطقهٔ زمانی مرورگر",
+ "peakTimezoneInvalid": "منطقهٔ زمانی ناشناخته.",
+ "peakExemptNote": "این پیش‌تنظیم دست‌نخورده می‌ماند — از پیش در یک سر طیف سرعت/قابلیت اطمینان قرار دارد.",
"title": "استراتژی مسیریابی",
"description": "استراتژی مسیریابی را انتخاب کنید. در حالت دستی، برای تنظیم ترتیب آن را بکشید. راهبردهای دیگر از طریق امتیاز زنده از قابلیت اطمینان، سرعت و هوش عبور می کنند.",
"weightsSummary": "قابلیت اطمینان {reliability}٪ · سرعت {speed}٪ · هوش {intelligence}٪",
diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.json
index bb8fbc87..debdd4ce 100644
--- a/client/src/i18n/locales/fi.json
+++ b/client/src/i18n/locales/fi.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Tutki mittaamattomia malleja",
"exploreHint": "Antaa malleille, joilla ei ole luotettavuus-/nopeusdataa, 10 %:n mahdollisuuden tulla kokeilluiksi, jotta ne keräävät näytteitä.",
+ "peakActive": "(ruuhka-aika)",
+ "peakActiveHint": "Ruuhka-ajan säätö on nyt käytössä, joten nämä eivät ole esiasetuksen omat painot: 60 % nopeuden painosta on siirretty luotettavuudelle.",
+ "peakAdjust": "Ruuhka-ajan säätö",
+ "peakAdjustHint": "Oletuksena pois päältä. Alla olevalla aikavälillä 60 % nopeuden painosta siirtyy luotettavuudelle — ilmaiset välityspalvelimet ovat silloin kuormitetuimmillaan, joten luotettavuus ennustaa onnistumista paremmin kuin pelkkä läpisyöttö. Nopein ja Luotettavin jätetään rauhaan.",
+ "peakFrom": "Alkaen",
+ "peakTo": "päättyen",
+ "peakTimezoneLabel": "Aikavyöhyke",
+ "peakUseBrowserTimezone": "Käytä selaimen aikavyöhykettä",
+ "peakTimezoneInvalid": "Tuntematon aikavyöhyke.",
+ "peakExemptNote": "Tämä esiasetus jätetään rauhaan — se on jo nopeuden ja luotettavuuden vaihtokaupan toisessa päässä.",
"title": "Reititysstrategia",
"description": "Valitse reititysstrategia. Manuaalitilassa raahaat järjestyksen asettamiseksi; Muut strategiat ohjaavat reaaliaikaisen tuloksen mukaan luotettavuuden, nopeuden ja älykkyyden välillä.",
"weightsSummary": "luotettavuus {reliability} % · nopeus {speed}% · älykkyys {intelligence} %",
diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.json
index ab022157..e19ca902 100644
--- a/client/src/i18n/locales/fr.json
+++ b/client/src/i18n/locales/fr.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Explorer les modèles non mesurés",
"exploreHint": "Donne aux modèles sans données de fiabilité/vitesse 10 % de chances d'être essayés afin qu'ils accumulent des échantillons.",
+ "peakActive": "(heures de pointe)",
+ "peakActiveHint": "L'ajustement des heures de pointe est actif en ce moment, donc ce ne sont pas les pondérations propres au préréglage : 60 % du poids de la vitesse a été reporté sur la fiabilité.",
+ "peakAdjust": "Ajustement des heures de pointe",
+ "peakAdjustHint": "Désactivé par défaut. Dans la plage ci-dessous, reporte 60 % du poids de la vitesse sur la fiabilité : les relais gratuits sont alors les plus chargés, et la fiabilité prédit mieux le succès que le débit brut. Le plus rapide et Le plus fiable ne sont pas touchés.",
+ "peakFrom": "De",
+ "peakTo": "à",
+ "peakTimezoneLabel": "Fuseau horaire",
+ "peakUseBrowserTimezone": "Utiliser le fuseau du navigateur",
+ "peakTimezoneInvalid": "Fuseau horaire inconnu.",
+ "peakExemptNote": "Ce préréglage n'est pas touché : il se situe déjà à une extrémité du compromis vitesse/fiabilité.",
"title": "Stratégie de routage",
"description": "Choisissez une stratégie de routage. En mode manuel, glissez pour définir l'ordre ; les autres stratégies routent selon un score en direct combinant fiabilité, vitesse et intelligence.",
"weightsSummary": "fiabilité {reliability}% · vitesse {speed}% · intelligence {intelligence}%",
diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.json
index e2269bbe..8fb1ba7b 100644
--- a/client/src/i18n/locales/gu.json
+++ b/client/src/i18n/locales/gu.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "માપ્યા વગરના મોડલ્સ એક્સપ્લોર કરો",
"exploreHint": "વિશ્વસનીયતા/ઝડપ ડેટા વગરના મોડલ્સને નમૂના એકત્રિત કરવા 10% અજમાવવાની તક આપો.",
+ "peakActive": "(વ્યસ્ત સમય)",
+ "peakActiveHint": "વ્યસ્ત-સમય સમાયોજન અત્યારે સક્રિય છે, તેથી આ પ્રીસેટના પોતાના વજન નથી: ઝડપના વજનનો 60% વિશ્વસનીયતા પર ખસેડાયો છે.",
+ "peakAdjust": "વ્યસ્ત-સમય સમાયોજન",
+ "peakAdjustHint": "મૂળભૂત રીતે બંધ. નીચેના સમયગાળામાં ઝડપના વજનનો 60% વિશ્વસનીયતા પર ખસે છે — મફત રિલે ત્યારે સૌથી વ્યસ્ત હોય છે, તેથી કાચી ઝડપ કરતાં વિશ્વસનીયતા સફળતાનું વધુ સારું અનુમાન આપે છે. «સૌથી ઝડપી» અને «સૌથી વિશ્વસનીય» અસ્પૃષ્ટ રહે છે.",
+ "peakFrom": "થી",
+ "peakTo": "સુધી",
+ "peakTimezoneLabel": "સમય ક્ષેત્ર",
+ "peakUseBrowserTimezone": "બ્રાઉઝરનું સમય ક્ષેત્ર વાપરો",
+ "peakTimezoneInvalid": "અજ્ઞાત સમય ક્ષેત્ર.",
+ "peakExemptNote": "આ પ્રીસેટ અસ્પૃષ્ટ રહે છે — તે પહેલેથી જ ઝડપ/વિશ્વસનીયતા સમાધાનના એક છેડે છે.",
"title": "રૂટીંગ વ્યૂહરચના",
"description": "રૂટીંગ વ્યૂહરચના પસંદ કરો. મેન્યુઅલ મોડમાં તમે ઓર્ડર સેટ કરવા માટે ખેંચો છો; અન્ય વ્યૂહરચનાઓ સમગ્ર વિશ્વસનીયતા, ઝડપ અને બુદ્ધિમત્તા પર લાઇવ સ્કોર દ્વારા રૂટ કરે છે.",
"weightsSummary": "વિશ્વસનીયતા {reliability}% · ઝડપ {speed}% · બુદ્ધિ {intelligence}%",
diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.json
index 262fe60f..f7985a64 100644
--- a/client/src/i18n/locales/ha.json
+++ b/client/src/i18n/locales/ha.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Bincika samfuran da ba a auna ba",
"exploreHint": "Ba samfuran da ba su da bayanan aminci/sauri damar 10% a gwada su domin su tara bayanai.",
+ "peakActive": "(lokutan cunkoso)",
+ "peakActiveHint": "Gyaran lokutan cunkoso yana aiki yanzu, don haka waɗannan ba nauyin saitin kansa ba ne: kashi 60 na nauyin gudu an mayar da shi ga aminci.",
+ "peakAdjust": "Gyaran lokutan cunkoso",
+ "peakAdjustHint": "An kashe shi ta asali. A cikin lokacin da ke ƙasa, yana mayar da kashi 60 na nauyin gudu zuwa aminci — sabis na kyauta sun fi cunkoso a wancan lokacin, don haka aminci yana hasashen nasara fiye da gudu kawai. «Mafi sauri» da «Mafi aminci» ba a taɓa su.",
+ "peakFrom": "Daga",
+ "peakTo": "zuwa",
+ "peakTimezoneLabel": "Yankin lokaci",
+ "peakUseBrowserTimezone": "Yi amfani da yankin lokaci na burauza",
+ "peakTimezoneInvalid": "Yankin lokaci da ba a sani ba.",
+ "peakExemptNote": "Ba a taɓa wannan saitin — tuni yana ɗaya daga cikin ƙarshen ma'aunin gudu da aminci.",
"title": "Dabarar hanya",
"description": "Zabi dabarar hanya. A Yanayin Manual zaka ja don saita tsari; da sauran dabarun hanya ta live ci a kan dogara, gudun da hankali.",
"weightsSummary": "Amintaccen {reliability}% · saurin {speed}% · hankali {intelligence}%",
diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.json
index 324493b1..5f38e1d5 100644
--- a/client/src/i18n/locales/he.json
+++ b/client/src/i18n/locales/he.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "חקירת דגמים שטרם נמדדו",
"exploreHint": "נותן לדגמים ללא נתוני אמינות/מהירות סיכוי של 10% להיבחר לניסיון כדי שיצברו דגימות.",
+ "peakActive": "(שעות שיא)",
+ "peakActiveHint": "התאמת שעות השיא פעילה כרגע, ולכן אלו אינם המשקלים של הפריסט עצמו: 60% ממשקל המהירות הועברו לאמינות.",
+ "peakAdjust": "התאמת שעות שיא",
+ "peakAdjustHint": "כבויה כברירת מחדל. בטווח שלמטה מעבירה 60% ממשקל המהירות לאמינות — ממסרים חינמיים עמוסים ביותר בשעות האלה, ולכן האמינות חוזה הצלחה טוב יותר מתפוקה גולמית. „המהיר ביותר” ו„האמין ביותר” אינם מושפעים.",
+ "peakFrom": "מ־",
+ "peakTo": "עד",
+ "peakTimezoneLabel": "אזור זמן",
+ "peakUseBrowserTimezone": "השתמש באזור הזמן של הדפדפן",
+ "peakTimezoneInvalid": "אזור זמן לא מוכר.",
+ "peakExemptNote": "הפריסט הזה אינו מושפע — הוא כבר נמצא בקצה אחד של האיזון בין מהירות לאמינות.",
"title": "אסטרטגיית ניתוב",
"description": "בחר אסטרטגיית ניתוב. במצב ידני אתה גורר כדי להגדיר את הסדר; האסטרטגיות האחרות מתמקדות לפי ניקוד חי בין אמינות, מהירות ואינטליגנציה.",
"weightsSummary": "אמינות {reliability}% · מהירות {speed}% · אינטליגנציה {intelligence}%",
diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.json
index 7ef978f0..f7206c8b 100644
--- a/client/src/i18n/locales/hi.json
+++ b/client/src/i18n/locales/hi.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "बिना मापे गए मॉडल एक्सप्लोर करें",
"exploreHint": "विश्वसनीयता/गति डेटा रहित मॉडल को नमूने जुटाने के लिए 10% आज़माए जाने का मौका दें।",
+ "peakActive": "(व्यस्त समय)",
+ "peakActiveHint": "व्यस्त-समय समायोजन अभी सक्रिय है, इसलिए ये प्रीसेट के अपने भार नहीं हैं: गति के भार का 60% विश्वसनीयता पर स्थानांतरित हो चुका है।",
+ "peakAdjust": "व्यस्त-समय समायोजन",
+ "peakAdjustHint": "डिफ़ॉल्ट रूप से बंद। नीचे दी गई अवधि में गति के भार का 60% विश्वसनीयता पर स्थानांतरित होता है — मुफ़्त रिले उस समय सबसे व्यस्त होते हैं, इसलिए विश्वसनीयता कच्ची गति की तुलना में सफलता का बेहतर अनुमान देती है। «सबसे तेज़» और «सबसे विश्वसनीय» अछूते रहते हैं।",
+ "peakFrom": "से",
+ "peakTo": "तक",
+ "peakTimezoneLabel": "समय क्षेत्र",
+ "peakUseBrowserTimezone": "ब्राउज़र का समय क्षेत्र उपयोग करें",
+ "peakTimezoneInvalid": "अज्ञात समय क्षेत्र।",
+ "peakExemptNote": "यह प्रीसेट अछूता रहता है — यह पहले से ही गति/विश्वसनीयता संतुलन के एक छोर पर है।",
"title": "रूटिंग रणनीति",
"description": "एक रूटिंग रणनीति चुनें. मैन्युअल मोड में आप ऑर्डर सेट करने के लिए खींचते हैं; अन्य रणनीतियाँ विश्वसनीयता, गति और बुद्धिमत्ता के आधार पर लाइव स्कोर बनाती हैं।",
"weightsSummary": "विश्वसनीयता {reliability}% · गति {speed}% · बुद्धिमत्ता {intelligence}%",
diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.json
index ddbb1f90..3480b618 100644
--- a/client/src/i18n/locales/hr.json
+++ b/client/src/i18n/locales/hr.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Istraži nemjerene modele",
"exploreHint": "Modelima bez podataka o pouzdanosti/brzini daje 10 % šanse da budu isprobani kako bi prikupili uzorke.",
+ "peakActive": "(vršni sati)",
+ "peakActiveHint": "Prilagodba za vršne sate trenutno je aktivna, pa ovo nisu težine same postavke: 60 % težine brzine prebačeno je na pouzdanost.",
+ "peakAdjust": "Prilagodba za vršne sate",
+ "peakAdjustHint": "Prema zadanome isključeno. Unutar prozora ispod premješta 60 % težine brzine na pouzdanost — besplatni releji tada su najopterećeniji, pa pouzdanost bolje predviđa uspjeh od sirove propusnosti. „Najbrže“ i „Najpouzdanije“ ostaju netaknuti.",
+ "peakFrom": "Od",
+ "peakTo": "do",
+ "peakTimezoneLabel": "Vremenska zona",
+ "peakUseBrowserTimezone": "Koristi vremensku zonu preglednika",
+ "peakTimezoneInvalid": "Nepoznata vremenska zona.",
+ "peakExemptNote": "Ova postavka ostaje netaknuta — već je na jednom kraju kompromisa brzina/pouzdanost.",
"title": "Strategija usmjeravanja",
"description": "Odaberite strategiju usmjeravanja. U ručnom načinu povlačite da postavite redoslijed; Ostale strategije usmjeravaju rezultat uživo kroz pouzdanost, brzinu i inteligenciju.",
"weightsSummary": "pouzdanost {reliability}% · brzina {speed}% · Inteligencija {intelligence}%",
diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.json
index 5d463e82..34055a80 100644
--- a/client/src/i18n/locales/hu.json
+++ b/client/src/i18n/locales/hu.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Nem mért modellek felfedezése",
"exploreHint": "A megbízhatósági/sebességi adatok nélküli modellek 10% eséllyel kipróbálásra kerülnek, hogy mintákat gyűjtsenek.",
+ "peakActive": "(csúcsidő)",
+ "peakActiveHint": "A csúcsidei kiigazítás éppen aktív, tehát ezek nem az előbeállítás saját súlyai: a sebességsúly 60%-a a megbízhatóságra került át.",
+ "peakAdjust": "Csúcsidei kiigazítás",
+ "peakAdjustHint": "Alapértelmezés szerint kikapcsolva. Az alábbi időablakban a sebességsúly 60%-át a megbízhatóságra tolja — az ingyenes továbbítók ilyenkor a legterheltebbek, így a megbízhatóság jobban jelzi előre a sikert, mint a nyers átbocsátás. A „Leggyorsabb” és a „Legmegbízhatóbb” érintetlen marad.",
+ "peakFrom": "Ettől",
+ "peakTo": "eddig",
+ "peakTimezoneLabel": "Időzóna",
+ "peakUseBrowserTimezone": "A böngésző időzónája",
+ "peakTimezoneInvalid": "Ismeretlen időzóna.",
+ "peakExemptNote": "Ez az előbeállítás érintetlen marad — már a sebesség/megbízhatóság mérleg egyik végén áll.",
"title": "Útvonaltervezési stratégia",
"description": "Válassz egy útvonaltervezési stratégiát. Manuális módban húzni kell a sorrend beállításához; A többi stratégia élő eredmény alapján vezet a megbízhatóság, sebesség és intelligencia terén.",
"weightsSummary": "megbízhatóság {reliability}% · sebesség {speed}% · Intelligencia {intelligence}%",
diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.json
index 58dbca39..3d202ae9 100644
--- a/client/src/i18n/locales/id.json
+++ b/client/src/i18n/locales/id.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Jelajahi model yang belum terukur",
"exploreHint": "Beri model tanpa data keandalan/kecepatan peluang 10% untuk dicoba agar mengumpulkan sampel.",
+ "peakActive": "(jam sibuk)",
+ "peakActiveHint": "Penyesuaian jam sibuk sedang aktif, jadi ini bukan bobot preset itu sendiri: 60% bobot kecepatan telah dipindahkan ke keandalan.",
+ "peakAdjust": "Penyesuaian jam sibuk",
+ "peakAdjustHint": "Mati secara bawaan. Dalam rentang di bawah, memindahkan 60% bobot kecepatan ke keandalan — relai gratis paling padat pada jam itu, sehingga keandalan memprediksi keberhasilan lebih baik daripada throughput mentah. «Tercepat» dan «Paling andal» tidak diubah.",
+ "peakFrom": "Dari",
+ "peakTo": "sampai",
+ "peakTimezoneLabel": "Zona waktu",
+ "peakUseBrowserTimezone": "Pakai zona waktu peramban",
+ "peakTimezoneInvalid": "Zona waktu tidak dikenal.",
+ "peakExemptNote": "Preset ini tidak diubah — ia sudah berada di salah satu ujung pertukaran kecepatan/keandalan.",
"title": "Strategi perutean",
"description": "Pilih strategi perutean. Dalam mode Manual Anda menyeret untuk mengatur urutan; strategi lainnya dirutekan berdasarkan skor langsung dalam hal keandalan, kecepatan, dan kecerdasan.",
"weightsSummary": "keandalan {reliability}% · kecepatan {speed}% · kecerdasan {intelligence}%",
diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.json
index 3a73ce7f..37a5ce13 100644
--- a/client/src/i18n/locales/ig.json
+++ b/client/src/i18n/locales/ig.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Nyochaa ụdị a na-atụbeghị",
"exploreHint": "Nye ụdị na-enweghị data ntụkwasị obi/ọsọ ohere 10% ka a nwalee ha ka ha wee chịkọta data.",
+ "peakActive": "(oge ọrụ kachasị)",
+ "peakActiveHint": "Ndozi oge ọrụ kachasị na-arụ ọrụ ugbu a, ya mere ndị a abụghị ibu nke preset n'onwe ya: 60% nke ibu ọsọ agafeela na ntụkwasị obi.",
+ "peakAdjust": "Ndozi oge ọrụ kachasị",
+ "peakAdjustHint": "Agbanyụrụ na ndabara. N'ime oge dị n'okpuru, ọ na-ebugharị 60% nke ibu ọsọ gaa na ntụkwasị obi — relay efu na-eju eju nke ukwuu n'oge ahụ, ya mere ntụkwasị obi na-akọ ihe ịga nke ọma karịa ọsọ nkịtị. «Kacha ọsọ» na «Kacha tụkwasị obi» adịghị agbanwe.",
+ "peakFrom": "Site",
+ "peakTo": "ruo",
+ "peakTimezoneLabel": "Mpaghara oge",
+ "peakUseBrowserTimezone": "Jiri mpaghara oge nchọgharị",
+ "peakTimezoneInvalid": "Mpaghara oge amaghị ama.",
+ "peakExemptNote": "Preset a adịghị agbanwe — ọ nọworị n'otu nsọtụ nke ntụnyere ọsọ na ntụkwasị obi.",
"title": "Atụmatụ ụzọ",
"description": "Họrọ atụmatụ ụzọ ụzọ. Na ntuziaka ntuziaka ị na-adọkpụrụ ka ịtọ usoro; Atụmatụ ụzọ ndị ọzọ site na akara ndụ gafere ntụkwasị obi, ọsọ na ọgụgụ isi.",
"weightsSummary": "ntụkwasị obi {reliability}% · ọsọ {speed}% · ọgụgụ isi {intelligence}%",
diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.json
index e7c1c567..15ba2e40 100644
--- a/client/src/i18n/locales/it.json
+++ b/client/src/i18n/locales/it.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Esplora i modelli non misurati",
"exploreHint": "Dà ai modelli senza dati di affidabilità/velocità una probabilità del 10% di essere provati così da accumulare campioni.",
+ "peakActive": "(ore di punta)",
+ "peakActiveHint": "La regolazione per le ore di punta è attiva in questo momento, quindi questi non sono i pesi del preset: il 60% del peso della velocità è passato all'affidabilità.",
+ "peakAdjust": "Regolazione per le ore di punta",
+ "peakAdjustHint": "Disattivata per impostazione predefinita. Nella finestra qui sotto sposta il 60% del peso della velocità sull'affidabilità: i relay gratuiti sono più congestionati in quelle ore, quindi l'affidabilità predice il successo meglio della velocità pura. Più veloce e Più affidabile restano invariati.",
+ "peakFrom": "Da",
+ "peakTo": "a",
+ "peakTimezoneLabel": "Fuso orario",
+ "peakUseBrowserTimezone": "Usa il fuso del browser",
+ "peakTimezoneInvalid": "Fuso orario sconosciuto.",
+ "peakExemptNote": "Questo preset resta invariato: è già a un estremo del compromesso velocità/affidabilità.",
"title": "Strategia di routing",
"description": "Scegli una strategia di routing. In modalità Manuale trascini per impostare l'ordine; le altre strategie instradano in base al punteggio live tra affidabilità, velocità e intelligenza.",
"weightsSummary": "affidabilità {reliability}% · velocità {speed}% · intelligenza {intelligence}%",
diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.json
index 6d440210..d5f78533 100644
--- a/client/src/i18n/locales/ja.json
+++ b/client/src/i18n/locales/ja.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "未計測のモデルを探索",
"exploreHint": "信頼性・スピードのデータがないモデルに10%の確率で試行の機会を与え、サンプルを蓄積させます。",
+ "peakActive": "(ピーク時間帯)",
+ "peakActiveHint": "ピーク時間帯の調整が現在有効なため、これはプリセット本来の重みではありません。スピードの重みの60%が信頼性へ移っています。",
+ "peakAdjust": "ピーク時間帯の調整",
+ "peakAdjustHint": "既定ではオフ。下の時間帯の間、スピードの重みの60%を信頼性へ移します。無料リレーはその時間帯が最も混雑し、素の処理速度よりも信頼性のほうが成功をよく予測するためです。「最速」と「最も信頼性が高い」はそのままです。",
+ "peakFrom": "開始",
+ "peakTo": "終了",
+ "peakTimezoneLabel": "タイムゾーン",
+ "peakUseBrowserTimezone": "ブラウザのタイムゾーンを使う",
+ "peakTimezoneInvalid": "不明なタイムゾーンです。",
+ "peakExemptNote": "このプリセットはそのままです。すでにスピードと信頼性のトレードオフの端に位置しています。",
"title": "ルーティング戦略",
"description": "ルーティング戦略を選択します。手動モードでは、ドラッグして順序を設定します。他の戦略は、信頼性、スピード、インテリジェンスのライブスコアに基づいてルーティングされます。",
"weightsSummary": "信頼性 {reliability}% · スピード {speed}% · インテリジェンス {intelligence}%",
diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.json
index d3acc267..844045bb 100644
--- a/client/src/i18n/locales/ka.json
+++ b/client/src/i18n/locales/ka.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "გაუზომავი მოდელების შესწავლა",
"exploreHint": "საიმედოობის/სიჩქარის მონაცემების არმქონე მოდელებს აძლევს 10%-იან შანსს, რომ გამოიცადონ და ნიმუშები დააგროვონ.",
+ "peakActive": "(პიკის საათები)",
+ "peakActiveHint": "პიკის საათების კორექტირება ამჟამად აქტიურია, ამიტომ ეს არ არის თავად წინასწარი პარამეტრის წონები: სიჩქარის წონის 60% გადავიდა საიმედოობაზე.",
+ "peakAdjust": "პიკის საათების კორექტირება",
+ "peakAdjustHint": "ნაგულისხმევად გამორთულია. ქვემოთ მითითებულ შუალედში სიჩქარის წონის 60% გადადის საიმედოობაზე — უფასო რელეები სწორედ მაშინ არის ყველაზე დატვირთული, ამიტომ საიმედოობა წარმატებას სუფთა გამტარუნარიანობაზე უკეთ განსაზღვრავს. «ყველაზე სწრაფი» და «ყველაზე საიმედო» უცვლელი რჩება.",
+ "peakFrom": "დან",
+ "peakTo": "მდე",
+ "peakTimezoneLabel": "დროის სარტყელი",
+ "peakUseBrowserTimezone": "ბრაუზერის დროის სარტყელის გამოყენება",
+ "peakTimezoneInvalid": "უცნობი დროის სარტყელი.",
+ "peakExemptNote": "ეს წინასწარი პარამეტრი უცვლელი რჩება — ის უკვე სიჩქარე/საიმედოობის კომპრომისის ერთ ბოლოშია.",
"title": "მარშრუტიზაციის სტრატეგია",
"description": "აირჩიეთ მარშრუტიზაციის სტრატეგია. ხელით რეჟიმში გადაათრევთ შეკვეთის დასაყენებლად; სხვა სტრატეგიები მარშრუტებენ პირდაპირი ქულით საიმედოობის, სიჩქარისა და ინტელექტის მიხედვით.",
"weightsSummary": "საიმედოობა {reliability}% · სიჩქარე {speed}% · ინტელექტი {intelligence}%",
diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.json
index f0a86602..b0f947bc 100644
--- a/client/src/i18n/locales/km.json
+++ b/client/src/i18n/locales/km.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "ស្វែងរកម៉ូដែលដែលមិនទាន់វាស់វែង",
"exploreHint": "ផ្តល់ឱ្យម៉ូដែលដែលគ្មានទិន្នន័យភាពទុកចិត្ត/ល្បឿន ឱកាស 10% ដើម្បីសាកល្បង ដើម្បីប្រមូលគំរូ។",
+ "peakActive": "(ម៉ោងមមាញឹក)",
+ "peakActiveHint": "ការកែតម្រូវម៉ោងមមាញឹកកំពុងដំណើរការ ដូច្នេះទាំងនេះមិនមែនជាទម្ងន់របស់ការកំណត់ជាមុនផ្ទាល់ទេ៖ ៦០% នៃទម្ងន់ល្បឿនត្រូវបានផ្លាស់ទៅភាពជឿជាក់។",
+ "peakAdjust": "ការកែតម្រូវម៉ោងមមាញឹក",
+ "peakAdjustHint": "បិទតាមលំនាំដើម។ ក្នុងចន្លោះម៉ោងខាងក្រោម ៦០% នៃទម្ងន់ល្បឿនផ្លាស់ទៅភាពជឿជាក់ — ព្រោះបញ្ជូនបន្តឥតគិតថ្លៃមមាញឹកបំផុតនៅពេលនោះ ដូច្នេះភាពជឿជាក់ព្យាករណ៍ភាពជោគជ័យបានល្អជាងល្បឿនសុទ្ធ។ «លឿនបំផុត» និង «ជឿជាក់បំផុត» មិនប៉ះពាល់ទេ។",
+ "peakFrom": "ពី",
+ "peakTo": "ដល់",
+ "peakTimezoneLabel": "តំបន់ពេលវេលា",
+ "peakUseBrowserTimezone": "ប្រើតំបន់ពេលវេលារបស់កម្មវិធីរុករក",
+ "peakTimezoneInvalid": "តំបន់ពេលវេលាមិនស្គាល់។",
+ "peakExemptNote": "ការកំណត់ជាមុននេះមិនប៉ះពាល់ទេ — វាស្ថិតនៅចុងម្ខាងនៃការជួញដូររវាងល្បឿន និងភាពជឿជាក់រួចហើយ។",
"title": "យុទ្ធសាស្ត្រផ្លូវបញ្ជូន",
"description": "ជ្រើសរើសយុទ្ធសាស្ត្រផ្លូវចរាចរណ៍។ នៅក្នុងរបៀបដៃ អ្នកទាញដើម្បីកំណត់លំដាប់; យុទ្ធសាស្ត្រផ្សេងទៀតត្រូវបានរៀបចំតាមពិន្ទុផ្ទាល់តាមរយៈភាពទុកចិត្ត ល្បឿន និងបញ្ញា។",
"weightsSummary": "ភាពទុកចិត្ត {reliability}% · ល្បឿន {speed}% · បញ្ញា {intelligence}%",
diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.json
index 85801cd9..75a1fd7b 100644
--- a/client/src/i18n/locales/kn.json
+++ b/client/src/i18n/locales/kn.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "ಅಳೆಯದ ಮಾದರಿಗಳನ್ನು ಅನ್ವೇಷಿಸಿ",
"exploreHint": "ವಿಶ್ವಾಸಾರ್ಹತೆ/ವೇಗ ಡೇಟಾ ಇಲ್ಲದ ಮಾದರಿಗಳಿಗೆ ಸ್ಯಾಂಪಲ್‌ಗಳನ್ನು ಸಂಗ್ರಹಿಸಲು 10% ಪ್ರಯತ್ನದ ಅವಕಾಶ ನೀಡಿ.",
+ "peakActive": "(ದಟ್ಟಣೆಯ ಸಮಯ)",
+ "peakActiveHint": "ದಟ್ಟಣೆಯ ಸಮಯದ ಹೊಂದಾಣಿಕೆ ಸದ್ಯ ಸಕ್ರಿಯವಾಗಿದೆ, ಆದ್ದರಿಂದ ಇವು ಪ್ರೀಸೆಟ್‌ನ ಸ್ವಂತ ತೂಕಗಳಲ್ಲ: ವೇಗದ ತೂಕದ 60% ವಿಶ್ವಾಸಾರ್ಹತೆಗೆ ವರ್ಗಾವಣೆಯಾಗಿದೆ.",
+ "peakAdjust": "ದಟ್ಟಣೆಯ ಸಮಯದ ಹೊಂದಾಣಿಕೆ",
+ "peakAdjustHint": "ಪೂರ್ವನಿಯೋಜಿತವಾಗಿ ಆಫ್. ಕೆಳಗಿನ ಅವಧಿಯಲ್ಲಿ ವೇಗದ ತೂಕದ 60% ವಿಶ್ವಾಸಾರ್ಹತೆಗೆ ವರ್ಗಾವಣೆಯಾಗುತ್ತದೆ — ಉಚಿತ ರಿಲೇಗಳು ಆಗ ಅತಿ ದಟ್ಟಣೆಯಲ್ಲಿರುತ್ತವೆ, ಆದ್ದರಿಂದ ಕಚ್ಚಾ ವೇಗಕ್ಕಿಂತ ವಿಶ್ವಾಸಾರ್ಹತೆ ಯಶಸ್ಸನ್ನು ಚೆನ್ನಾಗಿ ಊಹಿಸುತ್ತದೆ. «ಅತಿ ವೇಗದ» ಮತ್ತು «ಅತಿ ವಿಶ್ವಾಸಾರ್ಹ» ಬದಲಾಗುವುದಿಲ್ಲ.",
+ "peakFrom": "ಇಂದ",
+ "peakTo": "ವರೆಗೆ",
+ "peakTimezoneLabel": "ಸಮಯ ವಲಯ",
+ "peakUseBrowserTimezone": "ಬ್ರೌಸರ್ ಸಮಯ ವಲಯ ಬಳಸಿ",
+ "peakTimezoneInvalid": "ಅಪರಿಚಿತ ಸಮಯ ವಲಯ.",
+ "peakExemptNote": "ಈ ಪ್ರೀಸೆಟ್ ಬದಲಾಗುವುದಿಲ್ಲ — ಅದು ಈಗಾಗಲೇ ವೇಗ/ವಿಶ್ವಾಸಾರ್ಹತೆ ಸಮತೋಲನದ ಒಂದು ತುದಿಯಲ್ಲಿದೆ.",
"title": "ರೂಟಿಂಗ್ ತಂತ್ರ",
"description": "ರೂಟಿಂಗ್ ತಂತ್ರವನ್ನು ಆರಿಸಿ. ಹಸ್ತಚಾಲಿತ ಕ್ರಮದಲ್ಲಿ ನೀವು ಆದೇಶವನ್ನು ಹೊಂದಿಸಲು ಎಳೆಯಿರಿ; ವಿಶ್ವಾಸಾರ್ಹತೆ, ವೇಗ ಮತ್ತು ಬುದ್ಧಿವಂತಿಕೆಯಾದ್ಯಂತ ಲೈವ್ ಸ್ಕೋರ್ ಮೂಲಕ ಇತರ ತಂತ್ರಗಳು ಮಾರ್ಗವಾಗಿದೆ.",
"weightsSummary": "ವಿಶ್ವಾಸಾರ್ಹತೆ {reliability}% · ವೇಗ {speed}% · ಬುದ್ಧಿವಂತಿಕೆ {intelligence}%",
diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.json
index 9a5301fe..65f384c0 100644
--- a/client/src/i18n/locales/ko.json
+++ b/client/src/i18n/locales/ko.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "미측정 모델 탐색",
"exploreHint": "신뢰성/속도 데이터가 없는 모델에 10% 확률로 시도 기회를 주어 샘플을 쌓게 합니다.",
+ "peakActive": "(피크 시간대)",
+ "peakActiveHint": "피크 시간대 조정이 현재 적용 중이므로 이 값은 프리셋 자체의 가중치가 아닙니다. 속도 가중치의 60%가 신뢰성으로 옮겨졌습니다.",
+ "peakAdjust": "피크 시간대 조정",
+ "peakAdjustHint": "기본값은 꺼짐. 아래 시간대 안에서는 속도 가중치의 60%를 신뢰성으로 옮깁니다. 무료 릴레이는 그 시간에 가장 혼잡해 순수 처리량보다 신뢰성이 성공을 더 잘 예측하기 때문입니다. 「가장 빠름」과 「가장 안정적」은 그대로 둡니다.",
+ "peakFrom": "시작",
+ "peakTo": "종료",
+ "peakTimezoneLabel": "시간대",
+ "peakUseBrowserTimezone": "브라우저 시간대 사용",
+ "peakTimezoneInvalid": "알 수 없는 시간대입니다.",
+ "peakExemptNote": "이 프리셋은 그대로 둡니다. 이미 속도/신뢰성 절충의 한쪽 끝에 있습니다.",
"title": "라우팅 전략",
"description": "라우팅 전략을 선택하세요. 수동 모드에서는 드래그하여 순서를 설정합니다. 다른 전략은 안정성, 속도 및 지능 전반에 걸쳐 실시간 점수를 기준으로 라우팅됩니다.",
"weightsSummary": "신뢰성 {reliability}% · 속도 {speed}% · 지능 {intelligence}%",
diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.json
index 83b3d366..bd846f11 100644
--- a/client/src/i18n/locales/lt.json
+++ b/client/src/i18n/locales/lt.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Tyrinėti neišmatuotus modelius",
"exploreHint": "Modeliams be patikimumo/greičio duomenų suteikiama 10 % tikimybė būti išbandytiems, kad jie sukauptų imtis.",
+ "peakActive": "(piko valandos)",
+ "peakActiveHint": "Piko valandų korekcija dabar veikia, todėl tai nėra paties nustatymo svoriai: 60 % greičio svorio perkelta patikimumui.",
+ "peakAdjust": "Piko valandų korekcija",
+ "peakAdjustHint": "Pagal numatytuosius išjungta. Žemiau nurodytu laikotarpiu 60 % greičio svorio perkeliama patikimumui — nemokami perdavimo mazgai tuo metu būna labiausiai apkrauti, todėl patikimumas sėkmę nuspėja geriau nei grynas pralaidumas. „Greičiausias“ ir „Patikimiausias“ nekeičiami.",
+ "peakFrom": "Nuo",
+ "peakTo": "iki",
+ "peakTimezoneLabel": "Laiko juosta",
+ "peakUseBrowserTimezone": "Naudoti naršyklės laiko juostą",
+ "peakTimezoneInvalid": "Nežinoma laiko juosta.",
+ "peakExemptNote": "Šis nustatymas nekeičiamas — jis jau yra viename greičio/patikimumo kompromiso gale.",
"title": "Maršrutizavimo strategija",
"description": "Pasirinkite maršrutizavimo strategiją. Rankiniame režime tempiate, kad nustatytumėte tvarką; Kitos strategijos nukreipiamos pagal gyvus rezultatus pagal patikimumą, greitį ir intelektą.",
"weightsSummary": "Patikimumas {reliability}% · greitis {speed}% · intelektas {intelligence}%",
diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.json
index 47ef01f8..cb14d62e 100644
--- a/client/src/i18n/locales/ml.json
+++ b/client/src/i18n/locales/ml.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "അളക്കാത്ത മോഡലുകൾ പര്യവേക്ഷണം ചെയ്യുക",
"exploreHint": "വിശ്വാസ്യത/വേഗത ഡാറ്റ ഇല്ലാത്ത മോഡലുകൾക്ക് സാമ്പിളുകൾ ശേഖരിക്കാൻ 10% പരീക്ഷണ അവസരം നൽകുക.",
+ "peakActive": "(തിരക്കുള്ള സമയം)",
+ "peakActiveHint": "തിരക്കുസമയ ക്രമീകരണം ഇപ്പോൾ സജീവമാണ്, അതിനാൽ ഇവ പ്രീസെറ്റിന്റെ സ്വന്തം തൂക്കങ്ങളല്ല: വേഗതയുടെ തൂക്കത്തിന്റെ 60% വിശ്വാസ്യതയിലേക്ക് മാറ്റിയിരിക്കുന്നു.",
+ "peakAdjust": "തിരക്കുസമയ ക്രമീകരണം",
+ "peakAdjustHint": "സ്ഥിരസ്ഥിതിയായി ഓഫ്. താഴെയുള്ള സമയപരിധിക്കുള്ളിൽ വേഗതയുടെ തൂക്കത്തിന്റെ 60% വിശ്വാസ്യതയിലേക്ക് മാറുന്നു — സൗജന്യ റിലേകൾ അപ്പോഴാണ് ഏറ്റവും തിരക്കിലാവുക, അതിനാൽ പച്ചയായ വേഗതയേക്കാൾ വിശ്വാസ്യത വിജയം നന്നായി പ്രവചിക്കുന്നു. «ഏറ്റവും വേഗമേറിയത്», «ഏറ്റവും വിശ്വസനീയം» എന്നിവയെ ബാധിക്കില്ല.",
+ "peakFrom": "മുതൽ",
+ "peakTo": "വരെ",
+ "peakTimezoneLabel": "സമയമേഖല",
+ "peakUseBrowserTimezone": "ബ്രൗസറിന്റെ സമയമേഖല ഉപയോഗിക്കുക",
+ "peakTimezoneInvalid": "അജ്ഞാത സമയമേഖല.",
+ "peakExemptNote": "ഈ പ്രീസെറ്റിനെ ബാധിക്കില്ല — അത് ഇതിനകം വേഗത/വിശ്വാസ്യത സന്തുലനത്തിന്റെ ഒരറ്റത്താണ്.",
"title": "റൂട്ടിംഗ് തന്ത്രം",
"description": "ഒരു റൂട്ടിംഗ് തന്ത്രം തിരഞ്ഞെടുക്കുക. മാനുവൽ മോഡിൽ ഓർഡർ സജ്ജീകരിക്കാൻ നിങ്ങൾ വലിച്ചിടുക; വിശ്വാസ്യത, വേഗത, ബുദ്ധി എന്നിവയിലുടനീളം തത്സമയ സ്‌കോർ വഴിയുള്ള മറ്റ് തന്ത്രങ്ങൾ.",
"weightsSummary": "വിശ്വാസ്യത {reliability}% · വേഗത {speed}% · ബുദ്ധി {intelligence}%",
diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.json
index 5f807ccf..803dd840 100644
--- a/client/src/i18n/locales/mr.json
+++ b/client/src/i18n/locales/mr.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "न मोजलेले मॉडेल्स एक्सप्लोर करा",
"exploreHint": "विश्वसनीयता/गती डेटा नसलेल्या मॉडेल्सना नमुने जमवण्यासाठी 10% चाचणीची संधी द्या.",
+ "peakActive": "(गर्दीचा वेळ)",
+ "peakActiveHint": "गर्दीच्या वेळेचे समायोजन सध्या सुरू आहे, त्यामुळे ही प्रीसेटची स्वतःची वजने नाहीत: वेगाच्या वजनाचे ६०% विश्वासार्हतेकडे हलवले आहे.",
+ "peakAdjust": "गर्दीच्या वेळेचे समायोजन",
+ "peakAdjustHint": "पूर्वनियोजितपणे बंद. खालील कालावधीत वेगाच्या वजनाचे ६०% विश्वासार्हतेकडे हलते — मोफत रिले तेव्हा सर्वाधिक व्यस्त असतात, त्यामुळे कच्च्या वेगापेक्षा विश्वासार्हता यशाचा अधिक चांगला अंदाज देते. «सर्वात वेगवान» आणि «सर्वात विश्वासार्ह» अस्पर्श राहतात.",
+ "peakFrom": "पासून",
+ "peakTo": "पर्यंत",
+ "peakTimezoneLabel": "कालक्षेत्र",
+ "peakUseBrowserTimezone": "ब्राउझरचे कालक्षेत्र वापरा",
+ "peakTimezoneInvalid": "अज्ञात कालक्षेत्र.",
+ "peakExemptNote": "हा प्रीसेट अस्पर्श राहतो — तो आधीच वेग/विश्वासार्हता तडजोडीच्या एका टोकाला आहे.",
"title": "राउटिंग धोरण",
"description": "राउटिंग धोरण निवडा. मॅन्युअल मोडमध्ये तुम्ही ऑर्डर सेट करण्यासाठी ड्रॅग करता; विश्वासार्हता, वेग आणि बुद्धिमत्तेद्वारे थेट स्कोअरद्वारे इतर धोरणे मार्ग.",
"weightsSummary": "विश्वसनीयता {reliability}% · गती {speed}% · बुद्धिमत्ता {intelligence}%",
diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.json
index 52cdc4bc..aabed526 100644
--- a/client/src/i18n/locales/ms.json
+++ b/client/src/i18n/locales/ms.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Teroka model yang belum diukur",
"exploreHint": "Beri model tanpa data kebolehpercayaan/kelajuan peluang 10% untuk dicuba supaya sampel terkumpul.",
+ "peakActive": "(waktu puncak)",
+ "peakActiveHint": "Pelarasan waktu puncak sedang aktif, jadi ini bukan pemberat praset itu sendiri: 60% pemberat kelajuan telah dipindahkan ke kebolehpercayaan.",
+ "peakAdjust": "Pelarasan waktu puncak",
+ "peakAdjustHint": "Dimatikan secara lalai. Dalam julat di bawah, memindahkan 60% pemberat kelajuan ke kebolehpercayaan — geganti percuma paling sesak pada waktu itu, jadi kebolehpercayaan meramal kejayaan lebih baik daripada daya pemprosesan mentah. «Terpantas» dan «Paling boleh dipercayai» tidak disentuh.",
+ "peakFrom": "Dari",
+ "peakTo": "hingga",
+ "peakTimezoneLabel": "Zon waktu",
+ "peakUseBrowserTimezone": "Guna zon waktu pelayar",
+ "peakTimezoneInvalid": "Zon waktu tidak dikenali.",
+ "peakExemptNote": "Praset ini tidak disentuh — ia sudah berada di satu hujung pertukaran kelajuan/kebolehpercayaan.",
"title": "Strategi penghalaan",
"description": "Pilih strategi penghalaan. Dalam mod Manual anda seret untuk menetapkan susunan; Strategi lain menghala berdasarkan skor langsung merentasi kebolehpercayaan, kelajuan dan kecerdasan.",
"weightsSummary": "kebolehpercayaan {reliability}% · kelajuan {speed}% · {intelligence}% kecerdasan",
diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.json
index cd5abab3..80c15f8b 100644
--- a/client/src/i18n/locales/my.json
+++ b/client/src/i18n/locales/my.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "မတိုင်းတာရသေးသော မော်ဒယ်များကို စူးစမ်းရန်",
"exploreHint": "ယုံကြည်စိတ်ချမှု/အမြန်နှုန်း ဒေတာမရှိသော မော်ဒယ်များကို နမူနာစုဆောင်းနိုင်ရန် 10% စမ်းသပ်ခွင့် ပေးသည်။",
+ "peakActive": "(အလုပ်များချိန်)",
+ "peakActiveHint": "အလုပ်များချိန် ချိန်ညှိမှုသည် ယခု အသက်ဝင်နေသဖြင့် ဤအလေးချိန်များသည် ကြိုတင်သတ်မှတ်ချက်၏ ကိုယ်ပိုင်အလေးချိန်များ မဟုတ်ပါ— အမြန်နှုန်းအလေးချိန်၏ 60% ကို ယုံကြည်စိတ်ချရမှုသို့ ရွှေ့ထားသည်။",
+ "peakAdjust": "အလုပ်များချိန် ချိန်ညှိမှု",
+ "peakAdjustHint": "မူလအားဖြင့် ပိတ်ထားသည်။ အောက်ပါအချိန်ကာလအတွင်း အမြန်နှုန်းအလေးချိန်၏ 60% ကို ယုံကြည်စိတ်ချရမှုသို့ ရွှေ့သည် — အခမဲ့ရီလေများသည် ထိုအချိန်တွင် အလုပ်အများဆုံးဖြစ်၍ ယုံကြည်စိတ်ချရမှုက အောင်မြင်မှုကို အမြန်နှုန်းအကြမ်းထက် ပိုမှန်ကန်စွာ ခန့်မှန်းသည်။ «အမြန်ဆုံး» နှင့် «အယုံကြည်ရဆုံး» မှာ မပြောင်းလဲပါ။",
+ "peakFrom": "မှ",
+ "peakTo": "အထိ",
+ "peakTimezoneLabel": "အချိန်ဇုန်",
+ "peakUseBrowserTimezone": "ဘရောက်ဇာ၏ အချိန်ဇုန်ကို သုံးရန်",
+ "peakTimezoneInvalid": "မသိသော အချိန်ဇုန်။",
+ "peakExemptNote": "ဤကြိုတင်သတ်မှတ်ချက်မှာ မပြောင်းလဲပါ — ၎င်းသည် အမြန်နှုန်း/ယုံကြည်စိတ်ချရမှု ချိန်ခွင်လျှာ၏ အစွန်းတစ်ဖက်တွင် ရှိနှင့်ပြီးဖြစ်သည်။",
"title": "လမ်းကြောင်းသတ်မှတ်မှု မဟာဗျူဟာ",
"description": "လမ်းကြောင်းသတ်မှတ်မှု မဟာဗျူဟာကို ရွေးချယ်ပါ။ Manual mode တွင် အစီအစဉ်ကို ဆွဲ၍ စီစဉ်နိုင်သည်။ အခြားမဟာဗျူဟာများမှာ ယုံကြည်စိတ်ချမှု၊ အမြန်နှုန်းနှင့် ဉာဏ်ရည်တို့အပေါ် တိုက်ရိုက်အဆင့်သတ်မှတ်ချက်ဖြင့် လမ်းညွှန်သည်။",
"weightsSummary": "ယုံကြည်စိတ်ချမှု {reliability}% · အမြန်နှုန်း {speed}% · ဉာဏ်ရည် {intelligence}%",
diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.json
index 24d74be3..41614995 100644
--- a/client/src/i18n/locales/ne.json
+++ b/client/src/i18n/locales/ne.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "नमापिएका मोडेलहरू अन्वेषण गर्नुहोस्",
"exploreHint": "विश्वसनीयता/गति डेटा नभएका मोडेलहरूलाई नमूना जम्मा गर्न 10% प्रयासको मौका दिनुहोस्।",
+ "peakActive": "(व्यस्त समय)",
+ "peakActiveHint": "व्यस्त-समय समायोजन अहिले सक्रिय छ, त्यसैले यी प्रिसेटका आफ्नै तौल होइनन्: गतिको तौलको ६०% विश्वसनीयतामा सारिएको छ।",
+ "peakAdjust": "व्यस्त-समय समायोजन",
+ "peakAdjustHint": "पूर्वनिर्धारित रूपमा बन्द। तलको अवधिभित्र गतिको तौलको ६०% विश्वसनीयतामा सर्छ — निःशुल्क रिलेहरू त्यतिबेला सबैभन्दा व्यस्त हुन्छन्, त्यसैले काँचो गतिभन्दा विश्वसनीयताले सफलताको राम्रो अनुमान गर्छ। «सबैभन्दा छिटो» र «सबैभन्दा विश्वसनीय» अछुतो रहन्छन्।",
+ "peakFrom": "देखि",
+ "peakTo": "सम्म",
+ "peakTimezoneLabel": "समय क्षेत्र",
+ "peakUseBrowserTimezone": "ब्राउजरको समय क्षेत्र प्रयोग गर्नुहोस्",
+ "peakTimezoneInvalid": "अज्ञात समय क्षेत्र।",
+ "peakExemptNote": "यो प्रिसेट अछुतो रहन्छ — यो पहिले नै गति/विश्वसनीयता सन्तुलनको एक छेउमा छ।",
"title": "राउटिङ रणनीति",
"description": "एक मार्ग रणनीति छान्नुहोस्। म्यानुअल मोडमा तपाईं अर्डर सेट गर्न तान्नुहुन्छ; अन्य रणनीतिहरू विश्वसनीयता, गति र बुद्धिमत्तामा प्रत्यक्ष स्कोर द्वारा मार्ग।",
"weightsSummary": "विश्वसनीयता {reliability}% · गति {speed}% · बुद्धि {intelligence}%",
diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.json
index 217727b5..c426ab07 100644
--- a/client/src/i18n/locales/nl.json
+++ b/client/src/i18n/locales/nl.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Ongemeten modellen verkennen",
"exploreHint": "Geeft modellen zonder betrouwbaarheids-/snelheidsgegevens 10% kans om geprobeerd te worden zodat ze steekproeven opbouwen.",
+ "peakActive": "(piekuren)",
+ "peakActiveHint": "De piekuren-aanpassing is nu actief, dus dit zijn niet de gewichten van de preset zelf: 60% van het snelheidsgewicht is verschoven naar betrouwbaarheid.",
+ "peakAdjust": "Piekuren-aanpassing",
+ "peakAdjustHint": "Standaard uit. Binnen het venster hieronder verschuift 60% van het snelheidsgewicht naar betrouwbaarheid — gratis relays zijn dan het drukst, dus betrouwbaarheid voorspelt succes beter dan pure doorvoer. Snelste en Meest betrouwbaar blijven ongemoeid.",
+ "peakFrom": "Van",
+ "peakTo": "tot",
+ "peakTimezoneLabel": "Tijdzone",
+ "peakUseBrowserTimezone": "Tijdzone van browser gebruiken",
+ "peakTimezoneInvalid": "Onbekende tijdzone.",
+ "peakExemptNote": "Deze preset blijft ongemoeid — die zit al aan één kant van de afweging snelheid/betrouwbaarheid.",
"title": "Routingstrategie",
"description": "Kies een routeringsstrategie. In de handmatige modus sleep je om de volgorde in te stellen; De andere strategieën worden via live score verzekerd over betrouwbaarheid, snelheid en intelligentie.",
"weightsSummary": "betrouwbaarheid {reliability}% · Snelheid {speed}% · intelligentie {intelligence}%",
diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.json
index 9977cefc..9bf01357 100644
--- a/client/src/i18n/locales/no.json
+++ b/client/src/i18n/locales/no.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Utforsk umålte modeller",
"exploreHint": "Gir modeller uten pålitelighets-/hastighetsdata 10 % sjanse til å bli prøvd slik at de bygger opp stikkprøver.",
+ "peakActive": "(rushtid)",
+ "peakActiveHint": "Justeringen for rushtid er aktiv akkurat nå, så dette er ikke forhåndsinnstillingens egne vekter: 60 % av hastighetsvekten er flyttet til pålitelighet.",
+ "peakAdjust": "Justering for rushtid",
+ "peakAdjustHint": "Av som standard. Innenfor vinduet nedenfor flyttes 60 % av hastighetsvekten til pålitelighet — gratis reléer er mest belastet da, så pålitelighet forutsier suksess bedre enn ren gjennomstrømning. Raskest og Mest pålitelig røres ikke.",
+ "peakFrom": "Fra",
+ "peakTo": "til",
+ "peakTimezoneLabel": "Tidssone",
+ "peakUseBrowserTimezone": "Bruk nettleserens tidssone",
+ "peakTimezoneInvalid": "Ukjent tidssone.",
+ "peakExemptNote": "Denne forhåndsinnstillingen røres ikke — den ligger allerede i den ene enden av avveiningen mellom hastighet og pålitelighet.",
"title": "Routingstrategi",
"description": "Velg en rutestrategi. I manuell modus drar du for å sette rekkefølgen; De andre strategiene følger live score på tvers av pålitelighet, hastighet og intelligens.",
"weightsSummary": "Pålitelighet {reliability} % · Hastighet {speed} % · Intelligens {intelligence} %",
diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.json
index 03fa9242..769d6091 100644
--- a/client/src/i18n/locales/or.json
+++ b/client/src/i18n/locales/or.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "ମପାଯାଇନଥିବା ମଡେଲଗୁଡ଼ିକୁ ଅନୁସନ୍ଧାନ କରନ୍ତୁ",
"exploreHint": "ବିଶ୍ୱସନୀୟତା/ବେଗ ତଥ୍ୟ ନଥିବା ମଡେଲଗୁଡ଼ିକୁ ନମୁନା ସଂଗ୍ରହ ପାଇଁ 10% ଚେଷ୍ଟା କରିବାର ସୁଯୋଗ ଦିଅନ୍ତୁ।",
+ "peakActive": "(ବ୍ୟସ୍ତ ସମୟ)",
+ "peakActiveHint": "ବ୍ୟସ୍ତ-ସମୟ ସମନ୍ୱୟ ବର୍ତ୍ତମାନ ସକ୍ରିୟ, ତେଣୁ ଏଗୁଡ଼ିକ ପ୍ରିସେଟର ନିଜସ୍ୱ ଓଜନ ନୁହେଁ: ବେଗ ଓଜନର 60% ବିଶ୍ୱସନୀୟତାକୁ ସ୍ଥାନାନ୍ତରିତ ହୋଇଛି।",
+ "peakAdjust": "ବ୍ୟସ୍ତ-ସମୟ ସମନ୍ୱୟ",
+ "peakAdjustHint": "ଡିଫଲ୍ଟ ଭାବେ ବନ୍ଦ। ତଳ ସମୟସୀମା ଭିତରେ ବେଗ ଓଜନର 60% ବିଶ୍ୱସନୀୟତାକୁ ଯାଏ — ମାଗଣା ରିଲେ ସେତେବେଳେ ସବୁଠାରୁ ବ୍ୟସ୍ତ ଥାଏ, ତେଣୁ କଞ୍ଚା ବେଗ ଅପେକ୍ଷା ବିଶ୍ୱସନୀୟତା ସଫଳତାର ଭଲ ଅନୁମାନ ଦିଏ। «ଦ୍ରୁତତମ» ଓ «ସର୍ବାଧିକ ବିଶ୍ୱସନୀୟ» ଅପ୍ରଭାବିତ ରୁହେ।",
+ "peakFrom": "ଠାରୁ",
+ "peakTo": "ପର୍ଯ୍ୟନ୍ତ",
+ "peakTimezoneLabel": "ସମୟ ମଣ୍ଡଳ",
+ "peakUseBrowserTimezone": "ବ୍ରାଉଜରର ସମୟ ମଣ୍ଡଳ ବ୍ୟବହାର କରନ୍ତୁ",
+ "peakTimezoneInvalid": "ଅଜଣା ସମୟ ମଣ୍ଡଳ।",
+ "peakExemptNote": "ଏହି ପ୍ରିସେଟ ଅପ୍ରଭାବିତ ରୁହେ — ଏହା ପୂର୍ବରୁ ବେଗ/ବିଶ୍ୱସନୀୟତା ସନ୍ତୁଳନର ଏକ ପ୍ରାନ୍ତରେ ଅଛି।",
"title": "ରାଉଟିଂ ରଣନୀତି",
"description": "ଏକ ରାଉଟିଂ ରଣନୀତି ବାଛନ୍ତୁ । ମାନୁଆଲ୍ ମୋଡରେ ଆପଣ ଅର୍ଡର୍ ସେଟ୍ କରିବାକୁ ଡ୍ରାଗ୍ କରନ୍ତୁ; ଅନ୍ୟ ରଣନୀତିଗୁଡ଼ିକ ବିଶ୍ୱସନୀୟତା, ଗତି ଏବଂ ବୁଦ୍ଧିମତା ମଧ୍ୟରେ ଲାଇଭ୍ ସ୍କୋର ଦ୍ୱାରା ମାର୍ଗ କରେ ।",
"weightsSummary": "ବିଶ୍ୱସନୀୟତା {reliability}% · ବେଗ {speed}% · ଇଣ୍ଟେଲିଜେନ୍ସ {intelligence}%",
diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.json
index cef609cb..7cd0085c 100644
--- a/client/src/i18n/locales/pa.json
+++ b/client/src/i18n/locales/pa.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "ਬਿਨਾਂ ਮਾਪੇ ਮਾਡਲਾਂ ਦੀ ਖੋਜ ਕਰੋ",
"exploreHint": "ਭਰੋਸੇਯੋਗਤਾ/ਸਪੀਡ ਡੇਟਾ ਤੋਂ ਬਿਨਾਂ ਮਾਡਲਾਂ ਨੂੰ ਨਮੂਨੇ ਇਕੱਠੇ ਕਰਨ ਲਈ 10% ਅਜ਼ਮਾਉਣ ਦਾ ਮੌਕਾ ਦਿਓ।",
+ "peakActive": "(ਰੁਝੇਵੇਂ ਦਾ ਸਮਾਂ)",
+ "peakActiveHint": "ਰੁਝੇਵੇਂ-ਸਮੇਂ ਦੀ ਸੋਧ ਹੁਣ ਚਾਲੂ ਹੈ, ਇਸ ਲਈ ਇਹ ਪ੍ਰੀਸੈੱਟ ਦੇ ਆਪਣੇ ਭਾਰ ਨਹੀਂ ਹਨ: ਰਫ਼ਤਾਰ ਦੇ ਭਾਰ ਦਾ 60% ਭਰੋਸੇਯੋਗਤਾ ਵੱਲ ਚਲਾ ਗਿਆ ਹੈ।",
+ "peakAdjust": "ਰੁਝੇਵੇਂ-ਸਮੇਂ ਦੀ ਸੋਧ",
+ "peakAdjustHint": "ਮੂਲ ਰੂਪ ਵਿੱਚ ਬੰਦ। ਹੇਠਲੇ ਸਮੇਂ ਦੌਰਾਨ ਰਫ਼ਤਾਰ ਦੇ ਭਾਰ ਦਾ 60% ਭਰੋਸੇਯੋਗਤਾ ਵੱਲ ਜਾਂਦਾ ਹੈ — ਮੁਫ਼ਤ ਰਿਲੇ ਉਦੋਂ ਸਭ ਤੋਂ ਵੱਧ ਰੁੱਝੇ ਹੁੰਦੇ ਹਨ, ਇਸ ਲਈ ਕੱਚੀ ਰਫ਼ਤਾਰ ਨਾਲੋਂ ਭਰੋਸੇਯੋਗਤਾ ਸਫਲਤਾ ਦਾ ਬਿਹਤਰ ਅੰਦਾਜ਼ਾ ਦਿੰਦੀ ਹੈ। «ਸਭ ਤੋਂ ਤੇਜ਼» ਅਤੇ «ਸਭ ਤੋਂ ਭਰੋਸੇਯੋਗ» ਅਛੂਤੇ ਰਹਿੰਦੇ ਹਨ।",
+ "peakFrom": "ਤੋਂ",
+ "peakTo": "ਤੱਕ",
+ "peakTimezoneLabel": "ਸਮਾਂ ਖੇਤਰ",
+ "peakUseBrowserTimezone": "ਬ੍ਰਾਊਜ਼ਰ ਦਾ ਸਮਾਂ ਖੇਤਰ ਵਰਤੋ",
+ "peakTimezoneInvalid": "ਅਣਜਾਣ ਸਮਾਂ ਖੇਤਰ।",
+ "peakExemptNote": "ਇਹ ਪ੍ਰੀਸੈੱਟ ਅਛੂਤਾ ਰਹਿੰਦਾ ਹੈ — ਇਹ ਪਹਿਲਾਂ ਹੀ ਰਫ਼ਤਾਰ/ਭਰੋਸੇਯੋਗਤਾ ਸੰਤੁਲਨ ਦੇ ਇੱਕ ਸਿਰੇ ਉੱਤੇ ਹੈ।",
"title": "ਰੂਟਿੰਗ ਰਣਨੀਤੀ",
"description": "ਇੱਕ ਰੂਟਿੰਗ ਰਣਨੀਤੀ ਚੁਣੋ। ਮੈਨੁਅਲ ਮੋਡ ਵਿੱਚ ਤੁਸੀਂ ਆਰਡਰ ਸੈੱਟ ਕਰਨ ਲਈ ਖਿੱਚਦੇ ਹੋ; ਭਰੋਸੇਯੋਗਤਾ, ਗਤੀ ਅਤੇ ਬੁੱਧੀ ਵਿੱਚ ਲਾਈਵ ਸਕੋਰ ਦੁਆਰਾ ਹੋਰ ਰਣਨੀਤੀਆਂ ਦਾ ਰੂਟ।",
"weightsSummary": "ਭਰੋਸੇਯੋਗਤਾ {reliability}% · ਸਪੀਡ {speed}% · ਖੁਫੀਆ {intelligence}%",
diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.json
index 4b6d3e51..82bfd147 100644
--- a/client/src/i18n/locales/pl.json
+++ b/client/src/i18n/locales/pl.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Eksploruj niezmierzone modele",
"exploreHint": "Daje modelom bez danych o niezawodności/prędkości 10% szansy na wypróbowanie, aby zebrały próbki.",
+ "peakActive": "(godziny szczytu)",
+ "peakActiveHint": "Korekta na godziny szczytu jest teraz aktywna, więc to nie są wagi samego presetu: 60% wagi szybkości przeniesiono na niezawodność.",
+ "peakAdjust": "Korekta na godziny szczytu",
+ "peakAdjustHint": "Domyślnie wyłączona. W oknie poniżej przenosi 60% wagi szybkości na niezawodność — darmowe przekaźniki są wtedy najbardziej obciążone, więc niezawodność lepiej przewiduje sukces niż sama przepustowość. „Najszybszy” i „Najbardziej niezawodny” pozostają bez zmian.",
+ "peakFrom": "Od",
+ "peakTo": "do",
+ "peakTimezoneLabel": "Strefa czasowa",
+ "peakUseBrowserTimezone": "Użyj strefy czasowej przeglądarki",
+ "peakTimezoneInvalid": "Nieznana strefa czasowa.",
+ "peakExemptNote": "Ten preset pozostaje bez zmian — jest już na jednym z krańców kompromisu szybkość/niezawodność.",
"title": "Strategia routingu",
"description": "Wybierz strategię routingu. W trybie ręcznym przeciągnij, aby ustawić kolejność; inne strategie kierują się wynikami na żywo pod względem niezawodności, szybkości i inteligencji.",
"weightsSummary": "niezawodność {reliability}% · prędkość {speed}% · inteligencja {intelligence}%",
diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.json
index 23ca79b3..12ceb54f 100644
--- a/client/src/i18n/locales/pt-BR.json
+++ b/client/src/i18n/locales/pt-BR.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Explorar modelos sem medições",
"exploreHint": "Dá aos modelos sem dados de confiabilidade/velocidade 10% de chance de serem testados para que acumulem amostras.",
+ "peakActive": "(horário de pico)",
+ "peakActiveHint": "O ajuste de horário de pico está ativo agora, então estes não são os pesos do próprio preset: 60% do peso de velocidade foi transferido para confiabilidade.",
+ "peakAdjust": "Ajuste de horário de pico",
+ "peakAdjustHint": "Desligado por padrão. Dentro da janela abaixo, transfere 60% do peso de velocidade para confiabilidade — os relés gratuitos ficam mais congestionados nesse período, então a confiabilidade prevê o sucesso melhor que a taxa bruta. Mais rápido e Mais confiável ficam de fora.",
+ "peakFrom": "De",
+ "peakTo": "até",
+ "peakTimezoneLabel": "Fuso horário",
+ "peakUseBrowserTimezone": "Usar o fuso do navegador",
+ "peakTimezoneInvalid": "Fuso horário desconhecido.",
+ "peakExemptNote": "Este preset fica de fora — ele já está em uma das pontas do equilíbrio velocidade/confiabilidade.",
"title": "Estratégia de roteamento",
"description": "Escolha uma estratégia de roteamento. No modo manual, arraste para definir a ordem; as demais estratégias roteiam por pontuação ao vivo de confiabilidade, velocidade e inteligência.",
"weightsSummary": "confiabilidade {reliability}% · velocidade {speed}% · inteligência {intelligence}%",
diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.json
index 965f4b4f..5e394d07 100644
--- a/client/src/i18n/locales/pt-PT.json
+++ b/client/src/i18n/locales/pt-PT.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Explorar modelos sem medições",
"exploreHint": "Dá aos modelos sem dados de fiabilidade/velocidade 10% de probabilidade de serem experimentados para que acumulem amostras.",
+ "peakActive": "(horas de ponta)",
+ "peakActiveHint": "O ajuste de horas de ponta está ativo neste momento, por isso estes não são os pesos do próprio preset: 60% do peso da velocidade passou para a fiabilidade.",
+ "peakAdjust": "Ajuste de horas de ponta",
+ "peakAdjustHint": "Desligado por omissão. Dentro da janela abaixo, passa 60% do peso da velocidade para a fiabilidade — os relés gratuitos estão mais congestionados nessa altura, por isso a fiabilidade prevê o sucesso melhor do que o débito bruto. Mais rápido e Mais fiável ficam de fora.",
+ "peakFrom": "De",
+ "peakTo": "até",
+ "peakTimezoneLabel": "Fuso horário",
+ "peakUseBrowserTimezone": "Usar o fuso do navegador",
+ "peakTimezoneInvalid": "Fuso horário desconhecido.",
+ "peakExemptNote": "Este preset fica de fora — já está num dos extremos do compromisso velocidade/fiabilidade.",
"title": "Estratégia de encaminhamento",
"description": "Escolha uma estratégia de roteamento. No modo Manual arrasta-se para definir a ordem; As outras estratégias encaminham-se pelo resultado em tempo real através da fiabilidade, velocidade e inteligência.",
"weightsSummary": "fiabilidade {reliability}% · velocidade {speed}% · inteligência {intelligence}%",
diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.json
index c6b37aec..997c49ca 100644
--- a/client/src/i18n/locales/ro.json
+++ b/client/src/i18n/locales/ro.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Explorează modelele nemăsurate",
"exploreHint": "Oferă modelelor fără date de fiabilitate/viteză o șansă de 10% de a fi încercate, ca să acumuleze eșantioane.",
+ "peakActive": "(ore de vârf)",
+ "peakActiveHint": "Ajustarea pentru orele de vârf este activă acum, deci acestea nu sunt ponderile presetării în sine: 60% din ponderea vitezei a trecut la fiabilitate.",
+ "peakAdjust": "Ajustare pentru orele de vârf",
+ "peakAdjustHint": "Dezactivată implicit. În intervalul de mai jos, mută 60% din ponderea vitezei către fiabilitate — releele gratuite sunt cele mai aglomerate atunci, așa că fiabilitatea prezice succesul mai bine decât debitul brut. „Cel mai rapid” și „Cel mai fiabil” rămân neatinse.",
+ "peakFrom": "De la",
+ "peakTo": "până la",
+ "peakTimezoneLabel": "Fus orar",
+ "peakUseBrowserTimezone": "Folosește fusul orar al browserului",
+ "peakTimezoneInvalid": "Fus orar necunoscut.",
+ "peakExemptNote": "Această presetare rămâne neatinsă — se află deja la unul dintre capetele compromisului viteză/fiabilitate.",
"title": "Strategia de rutare",
"description": "Alege o strategie de rutare. În modul Manual tragi pentru a seta ordinea; Celelalte strategii se ghidează după scorul live, în funcție de fiabilitate, viteză și inteligență.",
"weightsSummary": "Fiabilitate {reliability}% · viteză {speed}% · Inteligență {intelligence}%",
diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.json
index 0481a0dd..ec9bb3fd 100644
--- a/client/src/i18n/locales/ru.json
+++ b/client/src/i18n/locales/ru.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Исследовать неизмеренные модели",
"exploreHint": "Дает моделям без данных о надежности/скорости 10% шанс быть опробованными, чтобы они накапливали выборку.",
+ "peakActive": "(часы пик)",
+ "peakActiveHint": "Корректировка для часов пик сейчас активна, поэтому это не собственные веса пресета: 60 % веса скорости перенесено на надёжность.",
+ "peakAdjust": "Корректировка для часов пик",
+ "peakAdjustHint": "По умолчанию выключено. В указанном ниже окне 60 % веса скорости переносится на надёжность — бесплатные ретрансляторы в это время загружены сильнее всего, и надёжность предсказывает успех лучше, чем чистая пропускная способность. «Самый быстрый» и «Самый надёжный» не затрагиваются.",
+ "peakFrom": "С",
+ "peakTo": "до",
+ "peakTimezoneLabel": "Часовой пояс",
+ "peakUseBrowserTimezone": "Использовать часовой пояс браузера",
+ "peakTimezoneInvalid": "Неизвестный часовой пояс.",
+ "peakExemptNote": "Этот пресет не затрагивается — он уже находится на одном из концов компромисса «скорость/надёжность».",
"title": "Стратегия маршрутизации",
"description": "Выберите стратегию маршрутизации. В ручном режиме вы перетаскиваете, чтобы установить порядок; другие стратегии основаны на реальном счете и учитывают надежность, скорость и интеллект.",
"weightsSummary": "надежность {reliability}% · скорость {speed}% · интеллект {intelligence}%",
diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.json
index 56dacc48..429dad48 100644
--- a/client/src/i18n/locales/si.json
+++ b/client/src/i18n/locales/si.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "නොමැනූ ආකෘති ගවේෂණය කරන්න",
"exploreHint": "විශ්වසනීයත්වය/වේගය දත්ත නොමැති ආකෘතිවලට නියැදි එකතු කර ගැනීමට 10% උත්සාහ අවස්ථාවක් දෙන්න.",
+ "peakActive": "(කාර්යබහුල වේලාව)",
+ "peakActiveHint": "කාර්යබහුල වේලා සීරුමාරුව දැන් සක්‍රියයි, එබැවින් මේවා පෙරසැකසුමේම බර නොවේ: වේගයේ බරින් 60%ක් විශ්වසනීයත්වයට මාරු වී ඇත.",
+ "peakAdjust": "කාර්යබහුල වේලා සීරුමාරුව",
+ "peakAdjustHint": "පෙරනිමියෙන් ක්‍රියාවිරහිතයි. පහත කාල පරාසය තුළ වේගයේ බරින් 60%ක් විශ්වසනීයත්වයට මාරු වේ — නොමිලේ රිලේ එවිට වඩාත්ම කාර්යබහුලය, එබැවින් අමු ප්‍රතිදානයට වඩා විශ්වසනීයත්වය සාර්ථකත්වය හොඳින් පුරෝකථනය කරයි. «වේගවත්ම» සහ «විශ්වසනීයම» වෙනස් නොවේ.",
+ "peakFrom": "සිට",
+ "peakTo": "දක්වා",
+ "peakTimezoneLabel": "වේලා කලාපය",
+ "peakUseBrowserTimezone": "බ්‍රව්සරයේ වේලා කලාපය භාවිතා කරන්න",
+ "peakTimezoneInvalid": "නොදන්නා වේලා කලාපයකි.",
+ "peakExemptNote": "මෙම පෙරසැකසුම වෙනස් නොවේ — එය දැනටමත් වේගය/විශ්වසනීයත්ව සමතුලිතතාවේ එක් කෙළවරක පවතී.",
"title": "මාර්ගගත කිරීමේ උපාය",
"description": "මාර්ගගත කිරීමේ උපාය මාර්ගයක් තෝරන්න. අත්පොත ආකාරයෙන් ඔබ ඇණවුම සැකසීමට ඇද දමන්න; අනෙකුත් උපාය මාර්ග විශ්වසනීයත්වය, වේගය සහ බුද්ධිය හරහා සජීවී ලකුණු අනුව ගමන් කරයි.",
"weightsSummary": "විශ්වසනීයත්වය {reliability}% · වේගය {speed}% · බුද්ධිය {intelligence}%",
diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.json
index 11e5fa3a..b40fb6a1 100644
--- a/client/src/i18n/locales/sk.json
+++ b/client/src/i18n/locales/sk.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Preskúmavať nezmerané modely",
"exploreHint": "Dáva modelom bez údajov o spoľahlivosti/rýchlosti 10 % šancu na vyskúšanie, aby nazbierali vzorky.",
+ "peakActive": "(špička)",
+ "peakActiveHint": "Úprava pre špičku je práve aktívna, takže toto nie sú váhy samotnej predvoľby: 60 % váhy rýchlosti sa presunulo na spoľahlivosť.",
+ "peakAdjust": "Úprava pre špičku",
+ "peakAdjustHint": "Predvolene vypnuté. V okne nižšie presunie 60 % váhy rýchlosti na spoľahlivosť — bezplatné relaye sú vtedy najvyťaženejšie, takže spoľahlivosť predpovedá úspech lepšie než čistá priepustnosť. „Najrýchlejší“ a „Najspoľahlivejší“ zostávajú bez zmeny.",
+ "peakFrom": "Od",
+ "peakTo": "do",
+ "peakTimezoneLabel": "Časové pásmo",
+ "peakUseBrowserTimezone": "Použiť časové pásmo prehliadača",
+ "peakTimezoneInvalid": "Neznáme časové pásmo.",
+ "peakExemptNote": "Táto predvoľba zostáva bez zmeny — už je na jednom konci kompromisu rýchlosť/spoľahlivosť.",
"title": "Stratégia smerovania",
"description": "Vyberte si stratégiu smerovania. V manuálnom režime potiahnete na nastavenie poradia; Ostatné stratégie smerujú podľa živého skóre spoľahlivosť, rýchlosť a inteligenciu.",
"weightsSummary": "spoľahlivosť {reliability} % · rýchlosť {speed}% · inteligencia {intelligence}%",
diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.json
index 459559c5..5369ce4f 100644
--- a/client/src/i18n/locales/sr.json
+++ b/client/src/i18n/locales/sr.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Истражи неизмерене моделе",
"exploreHint": "Моделима без података о поузданости/брзини даје 10% шансе да буду испробани како би прикупили узорке.",
+ "peakActive": "(вршни сати)",
+ "peakActiveHint": "Прилагођавање за вршне сате тренутно је активно, па ово нису тежине саме поставке: 60% тежине брзине пребачено је на поузданост.",
+ "peakAdjust": "Прилагођавање за вршне сате",
+ "peakAdjustHint": "Подразумевано искључено. Унутар прозора испод премешта 60% тежине брзине на поузданост — бесплатни релеји су тада најоптерећенији, па поузданост боље предвиђа успех од сирове пропусности. „Најбрже“ и „Најпоузданије“ остају нетакнути.",
+ "peakFrom": "Од",
+ "peakTo": "до",
+ "peakTimezoneLabel": "Временска зона",
+ "peakUseBrowserTimezone": "Користи временску зону прегледача",
+ "peakTimezoneInvalid": "Непозната временска зона.",
+ "peakExemptNote": "Ова поставка остаје нетакнута — већ је на једном крају компромиса брзина/поузданост.",
"title": "Стратегија рутирања",
"description": "Изаберите стратегију рутирања. У ручном режиму превлачите да бисте поставили редослед; друге стратегије се крећу путем резултата уживо преко поузданости, брзине и интелигенције.",
"weightsSummary": "поузданост {reliability}% · брзина {speed}% · интелигенција {intelligence}%",
diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.json
index 2e82f26b..a0cb8908 100644
--- a/client/src/i18n/locales/sv.json
+++ b/client/src/i18n/locales/sv.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Utforska omätta modeller",
"exploreHint": "Ger modeller utan tillförlitlighets-/hastighetsdata 10 % chans att provas så att de bygger upp stickprov.",
+ "peakActive": "(rusningstid)",
+ "peakActiveHint": "Justeringen för rusningstid är aktiv just nu, så det här är inte förinställningens egna vikter: 60 % av hastighetsvikten har flyttats till tillförlitlighet.",
+ "peakAdjust": "Justering för rusningstid",
+ "peakAdjustHint": "Av som standard. Inom fönstret nedan flyttas 60 % av hastighetsvikten till tillförlitlighet — gratisreläer är som mest belastade då, så tillförlitlighet förutsäger framgång bättre än ren genomströmning. Snabbast och Mest tillförlitlig lämnas orörda.",
+ "peakFrom": "Från",
+ "peakTo": "till",
+ "peakTimezoneLabel": "Tidszon",
+ "peakUseBrowserTimezone": "Använd webbläsarens tidszon",
+ "peakTimezoneInvalid": "Okänd tidszon.",
+ "peakExemptNote": "Den här förinställningen lämnas orörd — den ligger redan i ena änden av avvägningen hastighet/tillförlitlighet.",
"title": "Routingstrategi",
"description": "Välj en routingstrategi. I manuellt läge drar du för att ställa in ordningen; De andra strategierna styrs efter livepoäng över tillförlitlighet, hastighet och intelligens.",
"weightsSummary": "Tillförlitlighet {reliability} % · Hastighet {speed}% · Intelligens {intelligence} %",
diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.json
index 07c6e316..1563f6af 100644
--- a/client/src/i18n/locales/sw.json
+++ b/client/src/i18n/locales/sw.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Chunguza mifano isiyopimwa",
"exploreHint": "Ipe mifano isiyo na data ya kuegemea/kasi nafasi ya 10% ya kujaribiwa ili ikusanye sampuli.",
+ "peakActive": "(saa za msongamano)",
+ "peakActiveHint": "Marekebisho ya saa za msongamano yanatumika sasa hivi, hivyo hizi si uzito wa kiolezo chenyewe: asilimia 60 ya uzito wa kasi umehamishiwa kwenye uaminifu.",
+ "peakAdjust": "Marekebisho ya saa za msongamano",
+ "peakAdjustHint": "Imezimwa kwa chaguo-msingi. Ndani ya kipindi kilicho hapa chini, huhamisha asilimia 60 ya uzito wa kasi kwenda kwenye uaminifu — relei za bure hujaa zaidi wakati huo, hivyo uaminifu hutabiri mafanikio vizuri kuliko kasi pekee. «Ya kasi zaidi» na «Inayoaminika zaidi» hazibadilishwi.",
+ "peakFrom": "Kuanzia",
+ "peakTo": "hadi",
+ "peakTimezoneLabel": "Saa za eneo",
+ "peakUseBrowserTimezone": "Tumia saa za eneo za kivinjari",
+ "peakTimezoneInvalid": "Saa za eneo hazijulikani.",
+ "peakExemptNote": "Kiolezo hiki hakibadilishwi — tayari kiko upande mmoja wa uwiano wa kasi na uaminifu.",
"title": "Mkakati wa uelekezaji",
"description": "Chagua mkakati wa uelekezaji. Katika hali ya Mwongozo, buruta ili kuweka mpangilio; mikakati mingine kupitia matokeo ya moja kwa moja katika kuegemea, kasi na akili.",
"weightsSummary": "kuegemea {reliability}% · kasi {speed}% · akili {intelligence}%",
diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.json
index 0117e7de..dcfa0f81 100644
--- a/client/src/i18n/locales/ta.json
+++ b/client/src/i18n/locales/ta.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "அளவிடப்படாத மாதிரிகளை ஆராயுங்கள்",
"exploreHint": "நம்பகத்தன்மை/வேகத் தரவு இல்லாத மாதிரிகளுக்கு, சாம்பிள்களைச் சேகரிக்க 10% முயற்சி வாய்ப்பு வழங்கவும்.",
+ "peakActive": "(உச்ச நேரம்)",
+ "peakActiveHint": "உச்ச நேரச் சரிசெய்தல் தற்போது செயலில் உள்ளது, எனவே இவை முன்னமைவின் சொந்த எடைகள் அல்ல: வேக எடையின் 60% நம்பகத்தன்மைக்கு நகர்த்தப்பட்டுள்ளது.",
+ "peakAdjust": "உச்ச நேரச் சரிசெய்தல்",
+ "peakAdjustHint": "இயல்பாக அணைக்கப்பட்டுள்ளது. கீழுள்ள கால இடைவெளியில் வேக எடையின் 60% நம்பகத்தன்மைக்கு நகர்கிறது — இலவச ரிலேக்கள் அப்போது மிகவும் நெரிசலாக இருக்கும், எனவே மூல வேகத்தை விட நம்பகத்தன்மை வெற்றியை நன்றாகக் கணிக்கிறது. «வேகமானது», «மிக நம்பகமானது» பாதிக்கப்படுவதில்லை.",
+ "peakFrom": "முதல்",
+ "peakTo": "வரை",
+ "peakTimezoneLabel": "நேர மண்டலம்",
+ "peakUseBrowserTimezone": "உலாவியின் நேர மண்டலத்தைப் பயன்படுத்து",
+ "peakTimezoneInvalid": "அறியப்படாத நேர மண்டலம்.",
+ "peakExemptNote": "இந்த முன்னமைவு பாதிக்கப்படுவதில்லை — அது ஏற்கனவே வேகம்/நம்பகத்தன்மை சமரசத்தின் ஒரு முனையில் உள்ளது.",
"title": "ரூட்டிங் உத்தி",
"description": "ஒரு ரூட்டிங் உத்தியைத் தேர்ந்தெடுக்கவும். கையேடு முறையில் நீங்கள் ஆர்டரை அமைக்க இழுக்கவும்; மற்ற உத்திகள் நம்பகத்தன்மை, வேகம் மற்றும் நுண்ணறிவு ஆகியவற்றில் நேரலை மதிப்பெண் மூலம் வழி.",
"weightsSummary": "நம்பகத்தன்மை {reliability}% · வேகம் {speed}% · நுண்ணறிவு {intelligence}%",
diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.json
index 1e83c30b..adca3533 100644
--- a/client/src/i18n/locales/te.json
+++ b/client/src/i18n/locales/te.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "కొలవని మోడల్స్‌ను అన్వేషించండి",
"exploreHint": "విశ్వసనీయత/వేగం డేటా లేని మోడల్స్‌కు నమూనాలు సేకరించడానికి 10% ప్రయత్న అవకాశం ఇవ్వండి.",
+ "peakActive": "(రద్దీ సమయం)",
+ "peakActiveHint": "రద్దీ-సమయ సర్దుబాటు ప్రస్తుతం చురుకుగా ఉంది, కాబట్టి ఇవి ప్రీసెట్ సొంత బరువులు కాదు: వేగ బరువులో 60% విశ్వసనీయతకు మారింది.",
+ "peakAdjust": "రద్దీ-సమయ సర్దుబాటు",
+ "peakAdjustHint": "డిఫాల్ట్‌గా ఆఫ్. కింది వ్యవధిలో వేగ బరువులో 60% విశ్వసనీయతకు మారుతుంది — ఉచిత రిలేలు అప్పుడే అత్యధిక రద్దీలో ఉంటాయి, కాబట్టి ముడి వేగం కంటే విశ్వసనీయత విజయాన్ని బాగా అంచనా వేస్తుంది. «అత్యంత వేగవంతం», «అత్యంత విశ్వసనీయం» ప్రభావితం కావు.",
+ "peakFrom": "నుండి",
+ "peakTo": "వరకు",
+ "peakTimezoneLabel": "కాలమండలం",
+ "peakUseBrowserTimezone": "బ్రౌజర్ కాలమండలాన్ని వాడు",
+ "peakTimezoneInvalid": "తెలియని కాలమండలం.",
+ "peakExemptNote": "ఈ ప్రీసెట్ ప్రభావితం కాదు — ఇది ఇప్పటికే వేగం/విశ్వసనీయత సమతుల్యత ఒక చివరన ఉంది.",
"title": "రూటింగ్ వ్యూహం",
"description": "రూటింగ్ వ్యూహాన్ని ఎంచుకోండి. మాన్యువల్ మోడ్‌లో మీరు ఆర్డర్‌ను సెట్ చేయడానికి లాగండి; విశ్వసనీయత, వేగం మరియు మేధస్సు అంతటా ప్రత్యక్ష స్కోర్ ద్వారా ఇతర వ్యూహాల మార్గం.",
"weightsSummary": "విశ్వసనీయత {reliability}% · వేగం {speed}% · మేధస్సు {intelligence}%",
diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.json
index 3fee7fb0..61642126 100644
--- a/client/src/i18n/locales/th.json
+++ b/client/src/i18n/locales/th.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "สำรวจโมเดลที่ยังไม่ได้วัดผล",
"exploreHint": "ให้โมเดลที่ไม่มีข้อมูลความน่าเชื่อถือ/ความเร็วมีโอกาส 10% ที่จะถูกลองใช้เพื่อสะสมตัวอย่าง",
+ "peakActive": "(ช่วงเวลาเร่งด่วน)",
+ "peakActiveHint": "การปรับช่วงเวลาเร่งด่วนกำลังทำงานอยู่ ค่าน้ำหนักเหล่านี้จึงไม่ใช่ของพรีเซ็ตเอง: 60% ของน้ำหนักความเร็วถูกย้ายไปที่ความน่าเชื่อถือ",
+ "peakAdjust": "การปรับช่วงเวลาเร่งด่วน",
+ "peakAdjustHint": "ปิดไว้เป็นค่าเริ่มต้น ภายในช่วงเวลาด้านล่าง จะย้าย 60% ของน้ำหนักความเร็วไปที่ความน่าเชื่อถือ — รีเลย์ฟรีหนาแน่นที่สุดในช่วงนั้น ความน่าเชื่อถือจึงทำนายความสำเร็จได้ดีกว่าปริมาณงานดิบ ส่วน «เร็วที่สุด» และ «น่าเชื่อถือที่สุด» ไม่ถูกแตะต้อง",
+ "peakFrom": "ตั้งแต่",
+ "peakTo": "ถึง",
+ "peakTimezoneLabel": "เขตเวลา",
+ "peakUseBrowserTimezone": "ใช้เขตเวลาของเบราว์เซอร์",
+ "peakTimezoneInvalid": "ไม่รู้จักเขตเวลานี้",
+ "peakExemptNote": "พรีเซ็ตนี้ไม่ถูกแตะต้อง — มันอยู่ที่ปลายด้านหนึ่งของการแลกเปลี่ยนความเร็ว/ความน่าเชื่อถืออยู่แล้ว",
"title": "กลยุทธ์การกำหนดเส้นทาง",
"description": "เลือกกลยุทธ์การกำหนดเส้นทาง ในโหมดแมนนวล คุณลากเพื่อกำหนดลำดับ ส่วนกลยุทธ์อื่นๆ กำหนดเส้นทางตามคะแนนสดผ่านความน่าเชื่อถือ ความเร็ว และความชาญฉลาด",
"weightsSummary": "ความน่าเชื่อถือ {reliability}% · ความเร็ว {speed}% · ความฉลาด {intelligence}%",
diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.json
index 511a6c98..e8369600 100644
--- a/client/src/i18n/locales/tl.json
+++ b/client/src/i18n/locales/tl.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "I-explore ang mga hindi pa nasusukat na modelo",
"exploreHint": "Bigyan ang mga modelong walang data ng pagiging maaasahan/bilis ng 10% na tsansang masubukan para makaipon ng mga sample.",
+ "peakActive": "(oras ng rurok)",
+ "peakActiveHint": "Aktibo ngayon ang pag-aayos para sa oras ng rurok, kaya hindi ito ang mismong timbang ng preset: 60% ng timbang ng bilis ay inilipat sa pagiging maaasahan.",
+ "peakAdjust": "Pag-aayos sa oras ng rurok",
+ "peakAdjustHint": "Naka-off bilang default. Sa loob ng saklaw sa ibaba, inililipat ang 60% ng timbang ng bilis sa pagiging maaasahan — pinaka-siksikan ang mga libreng relay sa oras na iyon, kaya mas mahusay hulaan ng pagiging maaasahan ang tagumpay kaysa sa hilaw na bilis. Hindi ginagalaw ang «Pinakamabilis» at «Pinakamaaasahan».",
+ "peakFrom": "Mula",
+ "peakTo": "hanggang",
+ "peakTimezoneLabel": "Time zone",
+ "peakUseBrowserTimezone": "Gamitin ang time zone ng browser",
+ "peakTimezoneInvalid": "Hindi kilalang time zone.",
+ "peakExemptNote": "Hindi ginagalaw ang preset na ito — nasa isang dulo na ito ng balanse ng bilis at pagiging maaasahan.",
"title": "Estratehiya sa Pag-ruta",
"description": "Pumili ng routing strategy. Sa Manual mode, i-drag mo para itakda ang order; Ang iba pang mga estratehiya ay nakabase sa live score sa reliability, bilis, at intelligence.",
"weightsSummary": "pagiging maaasahan {reliability}% · bilis {speed}% · intelihensiya {intelligence}%",
diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.json
index ad32422c..3ebb0e2b 100644
--- a/client/src/i18n/locales/tr.json
+++ b/client/src/i18n/locales/tr.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Ölçülmemiş modelleri keşfet",
"exploreHint": "Güvenilirlik/hız verisi olmayan modellere örnek toplayabilmeleri için %10 denenme şansı verir.",
+ "peakActive": "(yoğun saatler)",
+ "peakActiveHint": "Yoğun saat ayarı şu anda etkin, dolayısıyla bunlar hazır ayarın kendi ağırlıkları değil: hız ağırlığının %60'ı güvenilirliğe aktarıldı.",
+ "peakAdjust": "Yoğun saat ayarı",
+ "peakAdjustHint": "Varsayılan olarak kapalı. Aşağıdaki aralıkta hız ağırlığının %60'ını güvenilirliğe aktarır — ücretsiz aktarıcılar o saatlerde en yoğun haldedir, bu yüzden güvenilirlik başarıyı ham hızdan daha iyi öngörür. En hızlı ve En güvenilir etkilenmez.",
+ "peakFrom": "Başlangıç",
+ "peakTo": "bitiş",
+ "peakTimezoneLabel": "Saat dilimi",
+ "peakUseBrowserTimezone": "Tarayıcının saat dilimini kullan",
+ "peakTimezoneInvalid": "Bilinmeyen saat dilimi.",
+ "peakExemptNote": "Bu hazır ayar etkilenmez — zaten hız/güvenilirlik dengesinin bir ucunda duruyor.",
"title": "Yönlendirme stratejisi",
"description": "Bir yönlendirme stratejisi seçin. Manuel modda sırayı ayarlamak için sürüklersiniz; diğer stratejiler ise güvenilirlik, hız ve zeka üzerinden canlı skora göre yönlendirilir.",
"weightsSummary": "güvenilirlik {reliability}% · hız {speed}% · zeka {intelligence}%",
diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.json
index 7eb1f64c..5a27e18e 100644
--- a/client/src/i18n/locales/uk.json
+++ b/client/src/i18n/locales/uk.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Досліджувати невиміряні моделі",
"exploreHint": "Дає моделям без даних про надійність/швидкість 10% шанс бути випробуваними, щоб вони накопичували вибірку.",
+ "peakActive": "(години пік)",
+ "peakActiveHint": "Коригування для годин пік зараз активне, тож це не власні ваги пресету: 60 % ваги швидкості перенесено на надійність.",
+ "peakAdjust": "Коригування для годин пік",
+ "peakAdjustHint": "Типово вимкнено. У вікні нижче 60 % ваги швидкості переноситься на надійність — безкоштовні ретранслятори в цей час найбільш завантажені, і надійність передбачає успіх краще за чисту пропускну здатність. «Найшвидший» і «Найнадійніший» не змінюються.",
+ "peakFrom": "З",
+ "peakTo": "до",
+ "peakTimezoneLabel": "Часовий пояс",
+ "peakUseBrowserTimezone": "Використати часовий пояс браузера",
+ "peakTimezoneInvalid": "Невідомий часовий пояс.",
+ "peakExemptNote": "Цей пресет не змінюється — він уже на одному з кінців компромісу «швидкість/надійність».",
"title": "Стратегія маршрутизації",
"description": "Виберіть стратегію маршрутизації. У ручному режимі ви перетягуєте, щоб встановити порядок; інші стратегії визначають надійність, швидкість і інтелект за результатами в реальному часі.",
"weightsSummary": "надійність {reliability}% · швидкість {speed}% · інтелект {intelligence}%",
diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.json
index 833ac68c..1f8d89d4 100644
--- a/client/src/i18n/locales/ur.json
+++ b/client/src/i18n/locales/ur.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "غیر پیمائش شدہ ماڈلز دریافت کریں",
"exploreHint": "جن ماڈلز کے پاس اعتماد/رفتار کا ڈیٹا نہیں انہیں نمونے جمع کرنے کے لیے 10% آزمائے جانے کا موقع دیں۔",
+ "peakActive": "(مصروف اوقات)",
+ "peakActiveHint": "مصروف اوقات کی ایڈجسٹمنٹ ابھی فعال ہے، اس لیے یہ پری سیٹ کے اپنے وزن نہیں ہیں: رفتار کے وزن کا 60% اعتماد پر منتقل ہو چکا ہے۔",
+ "peakAdjust": "مصروف اوقات کی ایڈجسٹمنٹ",
+ "peakAdjustHint": "بطورِ طے شدہ بند۔ نیچے دیے گئے وقفے میں رفتار کے وزن کا 60% اعتماد پر منتقل کرتا ہے — مفت ریلے اُس وقت سب سے زیادہ مصروف ہوتے ہیں، اس لیے اعتماد خام رفتار کے مقابلے میں کامیابی کی بہتر پیش گوئی کرتا ہے۔ «تیز ترین» اور «سب سے قابلِ اعتماد» متاثر نہیں ہوتے۔",
+ "peakFrom": "سے",
+ "peakTo": "تک",
+ "peakTimezoneLabel": "ٹائم زون",
+ "peakUseBrowserTimezone": "براؤزر کا ٹائم زون استعمال کریں",
+ "peakTimezoneInvalid": "نامعلوم ٹائم زون۔",
+ "peakExemptNote": "یہ پری سیٹ متاثر نہیں ہوتا — یہ پہلے ہی رفتار/اعتماد کے توازن کے ایک سرے پر ہے۔",
"title": "روٹنگ کی حکمت عملی",
"description": "روٹنگ کی حکمت عملی کا انتخاب کریں۔ مینوئل موڈ میں آپ آرڈر سیٹ کرنے کے لیے گھسیٹتے ہیں۔ قابل اعتماد، رفتار اور ذہانت میں لائیو سکور کے ذریعے دیگر حکمت عملیوں کا راستہ۔",
"weightsSummary": "وشوسنییتا {reliability}% · رفتار {speed}% · ذہانت {intelligence}%",
diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.json
index 7ea56283..8b08c655 100644
--- a/client/src/i18n/locales/uz.json
+++ b/client/src/i18n/locales/uz.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "O'lchanmagan modellarni o'rganish",
"exploreHint": "Ishonchlilik/tezlik ma'lumotlari bo'lmagan modellarga namunalar to'plashi uchun 10% sinab ko'rish imkoniyati beriladi.",
+ "peakActive": "(eng band soatlar)",
+ "peakActiveHint": "Eng band soatlar moslashuvi hozir yoqilgan, shuning uchun bular andozaning oʻz vaznlari emas: tezlik vaznining 60% ishonchlilikka koʻchirilgan.",
+ "peakAdjust": "Eng band soatlar moslashuvi",
+ "peakAdjustHint": "Standart holatda oʻchiq. Quyidagi oraliqda tezlik vaznining 60% ishonchlilikka koʻchadi — bepul relelar oʻsha paytda eng band boʻladi, shuning uchun ishonchlilik muvaffaqiyatni sof oʻtkazuvchanlikdan koʻra yaxshiroq bashorat qiladi. «Eng tez» va «Eng ishonchli» oʻzgarmaydi.",
+ "peakFrom": "Dan",
+ "peakTo": "gacha",
+ "peakTimezoneLabel": "Vaqt mintaqasi",
+ "peakUseBrowserTimezone": "Brauzer vaqt mintaqasidan foydalanish",
+ "peakTimezoneInvalid": "Nomaʼlum vaqt mintaqasi.",
+ "peakExemptNote": "Bu andoza oʻzgarmaydi — u allaqachon tezlik/ishonchlilik muvozanatining bir chetida turibdi.",
"title": "Marshrut strategiyasi",
"description": "Marshrutlash strategiyasini tanlang. Qo'l rejimida tartibni o'rnatish uchun sudrang; Boshqa strategiyalar ishonchlilik, tezlik va aql bo'yicha jonli hisob bilan yo'naltiriladi.",
"weightsSummary": "ishonchlilik {reliability}% · tezlik {speed}% · razvedka {intelligence}%",
diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.json
index 4e9c5f40..646e3cb5 100644
--- a/client/src/i18n/locales/vi.json
+++ b/client/src/i18n/locales/vi.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Khám phá các mô hình chưa được đo",
"exploreHint": "Cho các mô hình chưa có dữ liệu độ tin cậy/tốc độ 10% cơ hội được thử để tích lũy mẫu.",
+ "peakActive": "(giờ cao điểm)",
+ "peakActiveHint": "Điều chỉnh giờ cao điểm đang hoạt động, nên đây không phải là trọng số của chính preset: 60% trọng số tốc độ đã chuyển sang độ tin cậy.",
+ "peakAdjust": "Điều chỉnh giờ cao điểm",
+ "peakAdjustHint": "Mặc định tắt. Trong khung giờ bên dưới, chuyển 60% trọng số tốc độ sang độ tin cậy — các relay miễn phí đông nhất vào lúc đó, nên độ tin cậy dự đoán thành công tốt hơn thông lượng thô. «Nhanh nhất» và «Đáng tin cậy nhất» không bị ảnh hưởng.",
+ "peakFrom": "Từ",
+ "peakTo": "đến",
+ "peakTimezoneLabel": "Múi giờ",
+ "peakUseBrowserTimezone": "Dùng múi giờ của trình duyệt",
+ "peakTimezoneInvalid": "Múi giờ không xác định.",
+ "peakExemptNote": "Preset này không bị ảnh hưởng — nó vốn đã nằm ở một đầu của cán cân tốc độ/độ tin cậy.",
"title": "Chiến lược định tuyến",
"description": "Chọn một chiến lược định tuyến. Ở chế độ Thủ công, bạn kéo để đặt thứ tự; các chiến lược khác định tuyến theo điểm số trực tiếp dựa trên độ tin cậy, tốc độ và trí thông minh.",
"weightsSummary": "độ tin cậy {reliability}% · tốc độ {speed}% · trí thông minh {intelligence}%",
diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.json
index 58de7bfd..714016e5 100644
--- a/client/src/i18n/locales/yo.json
+++ b/client/src/i18n/locales/yo.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "Ṣawari awọn awoṣe ti a ko ti wọn",
"exploreHint": "Fun awọn awoṣe ti ko ni data igbẹkẹle/iyara ni anfani 10% lati dan wo ki wọn le ko apẹẹrẹ jọ.",
+ "peakActive": "(àkókò ìdààmú)",
+ "peakActiveHint": "Àtúnṣe àkókò ìdààmú ń ṣiṣẹ́ nísinsìnyí, nítorí náà àwọn ìwọ̀n wọ̀nyí kìí ṣe ti ìṣàkóso fúnra rẹ̀: 60% ìwọ̀n ìyára ti kọjá sí ìgbẹ́kẹ̀lé.",
+ "peakAdjust": "Àtúnṣe àkókò ìdààmú",
+ "peakAdjustHint": "Ó pa nípa àtòjọ. Nínú àkókò tí ó wà nísàlẹ̀, ó ń gbé 60% ìwọ̀n ìyára lọ sí ìgbẹ́kẹ̀lé — àwọn relay ọ̀fẹ́ kún jùlọ ní àkókò yẹn, nítorí náà ìgbẹ́kẹ̀lé sọ àsọtẹ́lẹ̀ àṣeyọrí dáadáa ju ìyára lásán lọ. «Yára jùlọ» àti «Ìgbẹ́kẹ̀lé jùlọ» kò yí padà.",
+ "peakFrom": "Láti",
+ "peakTo": "dé",
+ "peakTimezoneLabel": "Agbègbè àkókò",
+ "peakUseBrowserTimezone": "Lo agbègbè àkókò ẹ̀rọ aṣàwákiri",
+ "peakTimezoneInvalid": "Agbègbè àkókò tí a kò mọ̀.",
+ "peakExemptNote": "Ìṣàkóso yìí kò yí padà — ó ti wà ní ìkángun kan nínú ìdọ́gba ìyára àti ìgbẹ́kẹ̀lé.",
"title": "Ilana ipa ọna",
"description": "Yan ilana ipa ọna. Ni ipo Afowoyi o fa lati ṣeto aṣẹ; ọna awọn ilana miiran nipasẹ Dimegilio ifiwe kọja igbẹkẹle, iyara ati oye.",
"weightsSummary": "igbẹkẹle {reliability}% · iyara {speed}% · oye {intelligence}%",
diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.json
index 28f56316..daaccc25 100644
--- a/client/src/i18n/locales/zh-CN.json
+++ b/client/src/i18n/locales/zh-CN.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "探索未测模型",
"exploreHint": "给尚无可靠性/速度数据的模型 10% 的尝试机会,以便积累样本。",
+ "peakActive": "(高峰时段)",
+ "peakActiveHint": "高峰时段调整当前已生效,因此这些不是预设本身的权重:60% 的速度权重已转移到可靠性上。",
+ "peakAdjust": "高峰时段调整",
+ "peakAdjustHint": "默认关闭。在下面的时间窗口内,将 60% 的速度权重转移到可靠性上——免费中转在此时最繁忙,可靠性比原始吞吐量更能预测成功率。“最快”和“最可靠”不受影响。",
+ "peakFrom": "从",
+ "peakTo": "至",
+ "peakTimezoneLabel": "时区",
+ "peakUseBrowserTimezone": "使用浏览器时区",
+ "peakTimezoneInvalid": "未知时区。",
+ "peakExemptNote": "此预设不受影响——它已经处于速度/可靠性权衡的一端。",
"title": "路由策略",
"description": "选择路由策略。手动模式下拖动即可设置顺序;其他策略会根据可靠性、速度和智能的实时评分进行路由。",
"weightsSummary": "可靠性 {reliability}% · 速度 {speed}% · 智能 {intelligence}%",
diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.json
index 1bfb5082..03907835 100644
--- a/client/src/i18n/locales/zh-TW.json
+++ b/client/src/i18n/locales/zh-TW.json
@@ -277,6 +277,16 @@
"strategies": {
"explore": "探索未測模型",
"exploreHint": "給尚無可靠性/速度資料的模型 10% 的嘗試機會,以便累積樣本。",
+ "peakActive": "(尖峰時段)",
+ "peakActiveHint": "尖峰時段調整目前已生效,因此這些不是預設本身的權重:60% 的速度權重已轉移到可靠性上。",
+ "peakAdjust": "尖峰時段調整",
+ "peakAdjustHint": "預設關閉。在下方的時間範圍內,將 60% 的速度權重轉移到可靠性上——免費轉發在此時最繁忙,可靠性比原始吞吐量更能預測成功率。「最快」和「最可靠」不受影響。",
+ "peakFrom": "從",
+ "peakTo": "至",
+ "peakTimezoneLabel": "時區",
+ "peakUseBrowserTimezone": "使用瀏覽器時區",
+ "peakTimezoneInvalid": "未知時區。",
+ "peakExemptNote": "此預設不受影響——它已經位於速度/可靠性取捨的一端。",
"title": "路由策略",
"description": "選擇路由策略。在手動模式下,拖曳即可設定順序;其他策略會根據可靠性、速度與智慧的即時分數進行路由。",
"weightsSummary": "可靠性 {reliability}% · 速度 {speed}% · 智慧 {intelligence}%",
diff --git a/client/src/lib/routing.ts b/client/src/lib/routing.ts
index 95c96ca1..864dec78 100644
--- a/client/src/lib/routing.ts
+++ b/client/src/lib/routing.ts
@@ -60,6 +60,12 @@ export type RoutingStrategy = 'priority' | 'balanced' | 'smartest' | 'fastest' |
export type RoutingWeights = { reliability: number; speed: number; intelligence: number }
+/** Presets the peak-hours adjustment (#760) leaves alone: they already sit at
+ * the two ends of the speed↔reliability axis, so reweighting them would make
+ * one preset behave like another the user could have picked. Kept in sync with
+ * PEAK_EXEMPT_STRATEGIES in server/src/services/scoring.ts. */
+export const PEAK_EXEMPT_STRATEGIES: RoutingStrategy[] = ['fastest', 'reliable']
+
export interface RoutingScore {
modelDbId: number
reliability: number
@@ -79,6 +85,16 @@ export interface RoutingData {
* be tried so they build reliability/speed data (#685 follow-up). Required:
* the server always sends it, and the checkbox renders straight from it. */
exploreEnabled: boolean
+ /** Peak-hours adjustment (#760): opt-in, off by default. `peakAdjusted` says
+ * whether `weights` above is the raw preset or a peak-hours variant of it —
+ * the weight summary is labelled from that flag so the numbers never change
+ * under the operator without an explanation. */
+ peakHoursAdjust: boolean
+ peakStartHour: number
+ peakEndHour: number
+ /** IANA timezone the peak window is read in (default 'UTC'). */
+ peakTimezone: string
+ peakAdjusted: boolean
scores: (RoutingScore & { platform: string; modelId: string; displayName: string; enabled: boolean })[]
}
diff --git a/client/src/pages/FallbackPage.tsx b/client/src/pages/FallbackPage.tsx
index 9a7a8d70..6a018f15 100644
--- a/client/src/pages/FallbackPage.tsx
+++ b/client/src/pages/FallbackPage.tsx
@@ -42,6 +42,7 @@ import { FloatingBar } from '@/components/floating-bar'
import { ModelsTabs } from '@/components/models-tabs'
import { Tooltip } from '@/components/tooltip'
import { PenaltyInspector } from '@/components/penalty-inspector'
+import { PeakHoursControls } from '@/components/peak-hours-controls'
// `tKey` is the i18n suffix under `strategies.*` (label) and `strategies.*Blurb`.
// It differs from the routing `key` for Manual, whose strategy id is 'priority'.
@@ -107,7 +108,10 @@ export default function FallbackPage() {
})
const strategyMutation = useMutation({
- mutationFn: (payload: { strategy: RoutingStrategy; weights?: RoutingWeights; exploreEnabled?: boolean }) =>
+ mutationFn: (payload: {
+ strategy: RoutingStrategy; weights?: RoutingWeights; exploreEnabled?: boolean
+ peakHoursAdjust?: boolean; peakStartHour?: number; peakEndHour?: number; peakTimezone?: string
+ }) =>
apiFetch('/api/fallback/routing', { method: 'PUT', body: JSON.stringify(payload) }),
onSuccess: () => queryClient.invalidateQueries({ queryKey: ['fallback', 'routing'] }),
})
@@ -245,6 +249,15 @@ export default function FallbackPage() {
speed: Math.round(routing.weights.speed * 100),
intelligence: Math.round(routing.weights.intelligence * 100),
})}
+ {/* These numbers are not the preset's while the peak-hours
+ adjustment is firing, so say so right where they are read. */}
+ {routing.peakAdjusted && (
+ <Tooltip text={t('strategies.peakActiveHint')}>
+ <span className="ml-1 cursor-help underline decoration-dotted underline-offset-2">
+ {t('strategies.peakActive')}
+ </span>
+ </Tooltip>
+ )}
</span>
)}
</div>
@@ -297,6 +310,19 @@ export default function FallbackPage() {
</Tooltip>
</label>
)}
+
+ {/* Peak-hours adjustment (#760): same footnote tier as Explore, not a
+ card of its own — it is an opt-in tweak to the preset weights, and
+ off it does nothing at all. The window inputs only appear once the
+ toggle is on, so the default view gains a single line. */}
+ {!isManual && routing && (
+ <PeakHoursControls
+ routing={routing}
+ strategy={strategy}
+ saving={strategyMutation.isPending}
+ onSave={p => strategyMutation.mutate({ strategy, ...p })}
+ />
+ )}
</section>
<PenaltyInspector />
diff --git a/server/src/__tests__/routes/fallback.test.ts b/server/src/__tests__/routes/fallback.test.ts
index 52eb2e74..990d2d52 100644
--- a/server/src/__tests__/routes/fallback.test.ts
+++ b/server/src/__tests__/routes/fallback.test.ts
@@ -236,6 +236,70 @@ describe('Fallback API', () => {
expect(get2.body.exploreEnabled).toBe(false);
});
+ // Peak-hours adjustment (#760): opt-in, so the stock payload must report it
+ // off with the documented window, and the router must still be on the raw
+ // preset weights no matter what hour the suite runs at.
+ it('GET /api/fallback/routing reports the peak-hours settings, off by default', async () => {
+ const { body } = await request(app, 'GET', '/api/fallback/routing');
+ expect(body.peakHoursAdjust).toBe(false);
+ expect(body.peakStartHour).toBe(18);
+ expect(body.peakEndHour).toBe(6);
+ expect(body.peakTimezone).toBe('UTC');
+ expect(body.peakAdjusted).toBe(false);
+ expect(body.weights).toEqual({ reliability: 0.5, speed: 0.25, intelligence: 0.25 });
+ });
+
+ it('PUT /api/fallback/routing persists the peak-hours window and echoes the active weights', async () => {
+ const put = await request(app, 'PUT', '/api/fallback/routing', {
+ strategy: 'balanced',
+ peakHoursAdjust: true,
+ peakStartHour: 0,
+ peakEndHour: 23,
+ peakTimezone: 'Asia/Kolkata',
+ });
+ expect(put.status).toBe(200);
+ expect(put.body.peakHoursAdjust).toBe(true);
+ expect(put.body.peakStartHour).toBe(0);
+ expect(put.body.peakEndHour).toBe(23);
+ expect(put.body.peakTimezone).toBe('Asia/Kolkata');
+ // 00:00–23:00 covers every hour but the last, so the echo is the adjusted
+ // vector except in that one hour — assert the two are consistent with each
+ // other rather than pinning the wall clock.
+ expect(put.body.weights).toEqual(put.body.peakAdjusted
+ ? { reliability: 0.65, speed: 0.1, intelligence: 0.25 }
+ : { reliability: 0.5, speed: 0.25, intelligence: 0.25 });
+ // The raw preset table is still echoed untouched for older clients.
+ expect(put.body.presets.balanced).toEqual({ reliability: 0.5, speed: 0.25, intelligence: 0.25 });
+
+ const { body } = await request(app, 'GET', '/api/fallback/routing');
+ expect(body.peakHoursAdjust).toBe(true);
+ expect(body.peakTimezone).toBe('Asia/Kolkata');
+
+ await request(app, 'PUT', '/api/fallback/routing', {
+ strategy: 'balanced', peakHoursAdjust: false, peakStartHour: 18, peakEndHour: 6, peakTimezone: 'UTC',
+ });
+ });
+
+ it('PUT /api/fallback/routing rejects invalid peak hours and timezones', async () => {
+ for (const payload of [
+ { peakStartHour: 24 },
+ { peakStartHour: -1 },
+ { peakEndHour: 24 },
+ { peakEndHour: 6.5 },
+ { peakTimezone: 'Not/AZone' },
+ { peakTimezone: '' },
+ ]) {
+ const { status } = await request(app, 'PUT', '/api/fallback/routing', { strategy: 'balanced', ...payload });
+ expect(status, JSON.stringify(payload)).toBe(400);
+ }
+ // Nothing was persisted by any of the rejected requests.
+ const { body } = await request(app, 'GET', '/api/fallback/routing');
+ expect(body.peakHoursAdjust).toBe(false);
+ expect(body.peakStartHour).toBe(18);
+ expect(body.peakEndHour).toBe(6);
+ expect(body.peakTimezone).toBe('UTC');
+ });
+
it('PUT /api/fallback/routing rejects all-zero custom weights', async () => {
const { status } = await request(app, 'PUT', '/api/fallback/routing', {
strategy: 'custom',
diff --git a/server/src/__tests__/services/router-bandit.test.ts b/server/src/__tests__/services/router-bandit.test.ts
index 87ed6d49..15728256 100644
--- a/server/src/__tests__/services/router-bandit.test.ts
+++ b/server/src/__tests__/services/router-bandit.test.ts
@@ -3,7 +3,9 @@ import {
routeRequest, refreshStatsCache, getRoutingStrategy, setRoutingStrategy, getRoutingScores,
getCustomWeights, setCustomWeights, getExploreEnabled, setExploreEnabled,
getCommunityPrior, setCommunityPriors, getCommunityPriorEnabled, setCommunityPriorEnabled,
+ getPeakHoursConfig, setPeakHoursConfig,
} from '../../services/router.js';
+import { BANDIT_PRESETS, DEFAULT_PEAK_HOURS } from '../../services/scoring.js';
import { resetModelWeightOverrides } from '../../services/model-weight-overrides.js';
import * as ratelimit from '../../services/ratelimit.js';
import { getDb, initDb } from '../../db/index.js';
@@ -211,18 +213,115 @@ describe('bandit router', () => {
});
it('getRoutingScores returns a per-axis breakdown ranked by score', () => {
- addModel({ platform: 'google', modelId: 'm1', name: 'M1', intelligenceRank: 1, sizeLabel: 'Frontier', budget: '~50M', priority: 1 });
- addHistory('google', 'm1', { successes: 30, failures: 0, outTokens: 500, latencyMs: 1000, ttfbMs: 200 });
- setRoutingStrategy('balanced');
- refreshStatsCache(getDb(), true);
- const { strategy, weights, scores } = getRoutingScores();
- expect(strategy).toBe('balanced');
- expect(weights).toEqual({ reliability: 0.5, speed: 0.25, intelligence: 0.25 });
- expect(scores).toHaveLength(1);
- expect(scores[0]).toMatchObject({ modelId: 'm1', enabled: true });
- expect(scores[0].reliability).toBeGreaterThan(0.9);
- expect(scores[0].score).toBeGreaterThan(0);
- expect(scores[0].score).toBeLessThanOrEqual(1);
+ // The peak-hours adjustment (#760) is opt-in and off here, so the preset is
+ // returned verbatim — but the clock is still pinned to off-peak noon so this
+ // assertion can never depend on when CI happens to run.
+ vi.useFakeTimers();
+ vi.setSystemTime(new Date('2026-01-15T12:00:00'));
+ try {
+ addModel({ platform: 'google', modelId: 'm1', name: 'M1', intelligenceRank: 1, sizeLabel: 'Frontier', budget: '~50M', priority: 1 });
+ addHistory('google', 'm1', { successes: 30, failures: 0, outTokens: 500, latencyMs: 1000, ttfbMs: 200 });
+ setRoutingStrategy('balanced');
+ refreshStatsCache(getDb(), true);
+ const { strategy, weights, scores } = getRoutingScores();
+ expect(strategy).toBe('balanced');
+ expect(weights).toEqual({ reliability: 0.5, speed: 0.25, intelligence: 0.25 });
+ expect(scores).toHaveLength(1);
+ expect(scores[0]).toMatchObject({ modelId: 'm1', enabled: true });
+ expect(scores[0].reliability).toBeGreaterThan(0.9);
+ expect(scores[0].score).toBeGreaterThan(0);
+ expect(scores[0].score).toBeLessThanOrEqual(1);
+ } finally {
+ vi.useRealTimers();
+ }
+ });
+
+ it('peak-hours settings persist and default to off with the stock window', () => {
+ expect(getPeakHoursConfig()).toEqual(DEFAULT_PEAK_HOURS);
+ setPeakHoursConfig({ enabled: true, startHour: 9, endHour: 17, timezone: 'Asia/Kolkata' });
+ expect(getPeakHoursConfig()).toEqual({ enabled: true, startHour: 9, endHour: 17, timezone: 'Asia/Kolkata' });
+ setPeakHoursConfig({ enabled: false });
+ expect(getPeakHoursConfig().enabled).toBe(false);
+ });
+
+ it('rejects an out-of-range hour or an unknown timezone', () => {
+ expect(() => setPeakHoursConfig({ startHour: 24 })).toThrow(/peakStartHour/);
+ expect(() => setPeakHoursConfig({ startHour: -1 })).toThrow(/peakStartHour/);
+ expect(() => setPeakHoursConfig({ endHour: 6.5 })).toThrow(/peakEndHour/);
+ expect(() => setPeakHoursConfig({ timezone: 'Not/AZone' })).toThrow(/peakTimezone/);
+ // Nothing was written by the rejected calls.
+ expect(getPeakHoursConfig()).toEqual(DEFAULT_PEAK_HOURS);
+ });
+
+ it('leaves preset weights alone while the peak adjustment is off (#760)', () => {
+ vi.useFakeTimers();
+ // 20:00 UTC — squarely inside the default 18:00–06:00 window.
+ vi.setSystemTime(new Date('2026-01-15T20:00:00Z'));
+ try {
+ addModel({ platform: 'google', modelId: 'm1', name: 'M1', intelligenceRank: 1, sizeLabel: 'Frontier', budget: '~50M', priority: 1 });
+ refreshStatsCache(getDb(), true);
+ for (const strategy of ['balanced', 'smartest', 'fastest', 'reliable'] as const) {
+ setRoutingStrategy(strategy);
+ const { weights, peakAdjusted } = getRoutingScores();
+ expect(weights).toEqual(BANDIT_PRESETS[strategy]);
+ expect(peakAdjusted).toBe(false);
+ }
+ } finally {
+ vi.useRealTimers();
+ }
+ });
+
+ it('shifts speed onto reliability inside the window, in the configured timezone (#760)', () => {
+ vi.useFakeTimers();
+ // 13:00 UTC = 18:30 in Kolkata (inside 18:00–06:00) and 13:00 in UTC (outside).
+ vi.setSystemTime(new Date('2026-01-15T13:00:00Z'));
+ try {
+ addModel({ platform: 'google', modelId: 'm1', name: 'M1', intelligenceRank: 1, sizeLabel: 'Frontier', budget: '~50M', priority: 1 });
+ refreshStatsCache(getDb(), true);
+ setRoutingStrategy('balanced');
+
+ setPeakHoursConfig({ enabled: true, timezone: 'Asia/Kolkata' });
+ const inside = getRoutingScores();
+ expect(inside.peakAdjusted).toBe(true);
+ expect(inside.weights).toEqual({ reliability: 0.65, speed: 0.1, intelligence: 0.25 });
+
+ // Same instant, same flag — only the timezone moves it out of the window.
+ setPeakHoursConfig({ timezone: 'UTC' });
+ const outside = getRoutingScores();
+ expect(outside.peakAdjusted).toBe(false);
+ expect(outside.weights).toEqual(BANDIT_PRESETS.balanced);
+ } finally {
+ vi.useRealTimers();
+ }
+ });
+
+ it('exempts fastest and reliable from the peak adjustment (#760)', () => {
+ vi.useFakeTimers();
+ vi.setSystemTime(new Date('2026-01-15T20:00:00Z')); // inside the default window
+ try {
+ addModel({ platform: 'google', modelId: 'm1', name: 'M1', intelligenceRank: 1, sizeLabel: 'Frontier', budget: '~50M', priority: 1 });
+ refreshStatsCache(getDb(), true);
+ setPeakHoursConfig({ enabled: true, timezone: 'UTC' });
+
+ for (const strategy of ['fastest', 'reliable'] as const) {
+ setRoutingStrategy(strategy);
+ const { weights, peakAdjusted } = getRoutingScores();
+ expect(weights).toEqual(BANDIT_PRESETS[strategy]);
+ expect(peakAdjusted).toBe(false);
+ }
+ for (const strategy of ['balanced', 'smartest'] as const) {
+ setRoutingStrategy(strategy);
+ expect(getRoutingScores().peakAdjusted).toBe(true);
+ }
+ // 'custom' is the operator's own vector and is never rewritten either.
+ setCustomWeights({ reliability: 0.1, speed: 0.9, intelligence: 0 });
+ setRoutingStrategy('custom');
+ const custom = getRoutingScores();
+ expect(custom.weights).toEqual({ reliability: 0.1, speed: 0.9, intelligence: 0 });
+ expect(custom.peakAdjusted).toBe(false);
+ } finally {
+ vi.useRealTimers();
+ }
});
it('exploration toggle persists and defaults to off', () => {
diff --git a/server/src/__tests__/services/scoring.test.ts b/server/src/__tests__/services/scoring.test.ts
index e02ee5c5..2c0f06a4 100644
--- a/server/src/__tests__/services/scoring.test.ts
+++ b/server/src/__tests__/services/scoring.test.ts
@@ -3,6 +3,9 @@ import {
BANDIT_PRESETS, combineScore, speedScore, intelligenceScore, intelligenceComposite,
headroomFactor, rateLimitFactor, sampleBeta, reliabilityPosterior,
expectedReliability, SPEED_PRIOR, HEADROOM_FLOOR,
+ isPeakHours, peakAdjustedWeights, hourInTimezone, isValidPeakHour, isValidTimezone,
+ isPeakExemptStrategy, DEFAULT_PEAK_HOURS, PEAK_SPEED_TO_RELIABILITY,
+ type PeakHoursConfig,
} from '../../services/scoring.js';
describe('scoring: reliability posterior', () => {
@@ -201,3 +204,119 @@ describe('scoring: Beta sampler (Thompson exploration)', () => {
expect(weakerWonAtLeastOnce).toBe(true);
});
});
+
+describe('scoring: time-of-day dynamic ranking (#760)', () => {
+ // Every timestamp below is an absolute instant (Z), so the timezone under
+ // test — not the machine running the suite — decides which hour it is.
+ const cfg = (patch: Partial<PeakHoursConfig> = {}): PeakHoursConfig =>
+ ({ ...DEFAULT_PEAK_HOURS, enabled: true, ...patch });
+
+ it('is off by default', () => {
+ expect(DEFAULT_PEAK_HOURS.enabled).toBe(false);
+ expect(DEFAULT_PEAK_HOURS.startHour).toBe(18);
+ expect(DEFAULT_PEAK_HOURS.endHour).toBe(6);
+ expect(DEFAULT_PEAK_HOURS.timezone).toBe('UTC');
+ const base = BANDIT_PRESETS.balanced;
+ // 20:00 UTC is inside the default window, but the flag is off.
+ const out = peakAdjustedWeights(base, 'balanced', DEFAULT_PEAK_HOURS, new Date('2026-08-18T20:00:00Z'));
+ expect(out.weights).toEqual(base);
+ expect(out.adjusted).toBe(false);
+ });
+
+ it('reads the hour in the configured timezone, not the host clock', () => {
+ const noonUtc = new Date('2026-08-18T12:00:00Z');
+ expect(hourInTimezone(noonUtc, 'UTC')).toBe(12);
+ expect(hourInTimezone(noonUtc, 'Asia/Kolkata')).toBe(17); // +5:30
+ expect(hourInTimezone(noonUtc, 'America/Los_Angeles')).toBe(5); // -7 (DST)
+ // Midnight must read as 0, never 24 (h23 vs h24 hour cycles).
+ expect(hourInTimezone(new Date('2026-08-18T00:00:00Z'), 'UTC')).toBe(0);
+ // An unknown zone degrades to UTC rather than throwing mid-route.
+ expect(hourInTimezone(noonUtc, 'Mars/Olympus_Mons')).toBe(12);
+ });
+
+ it('marks the window per timezone (spans midnight, end exclusive)', () => {
+ const utc = cfg();
+ expect(isPeakHours(utc, new Date('2026-08-18T18:00:00Z'))).toBe(true);
+ expect(isPeakHours(utc, new Date('2026-08-18T23:59:00Z'))).toBe(true);
+ expect(isPeakHours(utc, new Date('2026-08-18T00:00:00Z'))).toBe(true);
+ expect(isPeakHours(utc, new Date('2026-08-18T05:59:00Z'))).toBe(true);
+ expect(isPeakHours(utc, new Date('2026-08-18T06:00:00Z'))).toBe(false);
+ expect(isPeakHours(utc, new Date('2026-08-18T12:00:00Z'))).toBe(false);
+
+ // Same instant, two zones: 13:00 UTC is 18:30 in Kolkata (peak) and 13:00
+ // in London-summer... which is off-peak. The timezone is what decides.
+ const instant = new Date('2026-08-18T13:00:00Z');
+ expect(isPeakHours(cfg({ timezone: 'Asia/Kolkata' }), instant)).toBe(true);
+ expect(isPeakHours(cfg({ timezone: 'UTC' }), instant)).toBe(false);
+ });
+
+ it('supports a same-day window and treats start === end as empty', () => {
+ const lunch = cfg({ startHour: 9, endHour: 17 });
+ expect(isPeakHours(lunch, new Date('2026-08-18T09:00:00Z'))).toBe(true);
+ expect(isPeakHours(lunch, new Date('2026-08-18T16:59:00Z'))).toBe(true);
+ expect(isPeakHours(lunch, new Date('2026-08-18T17:00:00Z'))).toBe(false);
+ expect(isPeakHours(lunch, new Date('2026-08-18T03:00:00Z'))).toBe(false);
+
+ const empty = cfg({ startHour: 10, endHour: 10 });
+ for (const h of [0, 9, 10, 11, 23]) {
+ expect(isPeakHours(empty, new Date(`2026-08-18T${String(h).padStart(2, '0')}:30:00Z`))).toBe(false);
+ }
+ });
+
+ it('shifts speed→reliability inside the window, intelligence untouched', () => {
+ const base = BANDIT_PRESETS.balanced; // { reliability: 0.5, speed: 0.25, intelligence: 0.25 }
+ const { weights, adjusted } = peakAdjustedWeights(base, 'balanced', cfg(), new Date('2026-08-18T20:00:00Z'));
+ const shift = base.speed * PEAK_SPEED_TO_RELIABILITY;
+ expect(adjusted).toBe(true);
+ expect(weights.reliability).toBeCloseTo(base.reliability + shift, 5);
+ expect(weights.speed).toBeCloseTo(base.speed - shift, 5);
+ expect(weights.intelligence).toBe(base.intelligence);
+ expect(weights.reliability + weights.speed + weights.intelligence).toBeCloseTo(1, 5);
+ });
+
+ it('leaves weights alone outside the window', () => {
+ const base = BANDIT_PRESETS.smartest;
+ const out = peakAdjustedWeights(base, 'smartest', cfg(), new Date('2026-08-18T12:00:00Z'));
+ expect(out.weights).toEqual(base);
+ expect(out.adjusted).toBe(false);
+ });
+
+ it('exempts fastest and reliable so no preset turns into another', () => {
+ const inWindow = new Date('2026-08-18T20:00:00Z');
+ for (const strategy of ['fastest', 'reliable'] as const) {
+ expect(isPeakExemptStrategy(strategy)).toBe(true);
+ const out = peakAdjustedWeights(BANDIT_PRESETS[strategy], strategy, cfg(), inWindow);
+ expect(out.weights).toEqual(BANDIT_PRESETS[strategy]);
+ expect(out.adjusted).toBe(false);
+ }
+ for (const strategy of ['balanced', 'smartest'] as const) {
+ expect(isPeakExemptStrategy(strategy)).toBe(false);
+ expect(peakAdjustedWeights(BANDIT_PRESETS[strategy], strategy, cfg(), inWindow).adjusted).toBe(true);
+ }
+ });
+
+ it('never pushes an adjusted preset past the reliable preset', () => {
+ const inWindow = new Date('2026-08-18T20:00:00Z');
+ for (const strategy of ['balanced', 'smartest'] as const) {
+ const { weights } = peakAdjustedWeights(BANDIT_PRESETS[strategy], strategy, cfg(), inWindow);
+ expect(weights.speed).toBeGreaterThanOrEqual(0);
+ // The whole point of exempting the extremes: an adjusted mixed preset
+ // must not end up more reliability-heavy than `reliable` itself.
+ expect(weights.reliability).toBeLessThanOrEqual(BANDIT_PRESETS.reliable.reliability);
+ expect(weights.reliability + weights.speed + weights.intelligence).toBeCloseTo(1, 5);
+ }
+ });
+
+ it('rejects out-of-range hours and unknown timezones', () => {
+ for (const h of [0, 6, 18, 23]) expect(isValidPeakHour(h)).toBe(true);
+ for (const h of [-1, 24, 6.5, NaN, '6', null, undefined]) expect(isValidPeakHour(h)).toBe(false);
+ for (const tz of ['UTC', 'Asia/Kolkata', 'America/New_York']) expect(isValidTimezone(tz)).toBe(true);
+ for (const tz of ['', ' ', 'Not/AZone', 'GMT+5', 42, null]) expect(isValidTimezone(tz)).toBe(false);
+ });
+
+ it('ignores a stored config with a corrupt window', () => {
+ const base = BANDIT_PRESETS.balanced;
+ const bad = { enabled: true, startHour: 99, endHour: 6, timezone: 'UTC' } as PeakHoursConfig;
+ expect(peakAdjustedWeights(base, 'balanced', bad, new Date('2026-08-18T20:00:00Z')).weights).toEqual(base);
+ });
+});
diff --git a/server/src/routes/fallback.ts b/server/src/routes/fallback.ts
index e0bbd7b4..6dfeb524 100644
--- a/server/src/routes/fallback.ts
+++ b/server/src/routes/fallback.ts
@@ -7,8 +7,8 @@ import { Router } from 'express';
import type { Request, Response } from 'express';
import { z } from 'zod';
import { getDb } from '../db/index.js';
-import { getAllPenalties, getRoutingScores, getRoutingStrategy, setRoutingStrategy, setCustomWeights, getExploreEnabled, setExploreEnabled } from '../services/router.js';
-import { BANDIT_PRESETS, type RoutingStrategy } from '../services/scoring.js';
+import { getAllPenalties, getRoutingScores, getRoutingStrategy, setRoutingStrategy, setCustomWeights, getExploreEnabled, setExploreEnabled, getPeakHoursConfig, setPeakHoursConfig, getActiveRoutingWeights } from '../services/router.js';
+import { BANDIT_PRESETS, isValidTimezone, type RoutingStrategy } from '../services/scoring.js';
import { parseBudget } from '../lib/budget.js';
import { getModelGroups } from '../services/model-groups.js';
import { getPenaltyInspector } from '../services/penalty-inspector.js';
@@ -22,7 +22,14 @@ export const fallbackRouter = Router();
// GET /routing → active strategy, preset weights, and the per-model score
// breakdown (reliability / speed / intelligence + guardrails).
fallbackRouter.get('/routing', (_req: Request, res: Response) => {
- res.json(getRoutingScores());
+ const { peakHours, ...rest } = getRoutingScores();
+ res.json({
+ ...rest,
+ peakHoursAdjust: peakHours.enabled,
+ peakStartHour: peakHours.startHour,
+ peakEndHour: peakHours.endHour,
+ peakTimezone: peakHours.timezone,
+ });
});
fallbackRouter.get('/penalty-inspector', (_req: Request, res: Response) => {
@@ -40,6 +47,13 @@ const routingSchema = z.object({
}).optional(),
// Exploration toggle: give unmeasured models a guaranteed chance to be tried.
exploreEnabled: z.boolean().optional(),
+ // Peak-hours adjustment (#760), off by default. Hours are whole numbers in
+ // 0-23 and are read in `peakTimezone`, never the server's local clock, so the
+ // window means the same thing on a UTC container as on the operator's laptop.
+ peakHoursAdjust: z.boolean().optional(),
+ peakStartHour: z.number().int().min(0).max(23, { message: 'peakStartHour must be an integer between 0 and 23' }).optional(),
+ peakEndHour: z.number().int().min(0).max(23, { message: 'peakEndHour must be an integer between 0 and 23' }).optional(),
+ peakTimezone: z.string().refine(isValidTimezone, { message: 'peakTimezone must be a valid IANA timezone name' }).optional(),
});
// PUT /routing → switch strategy. Presets are just weight vectors over the three
@@ -65,7 +79,34 @@ fallbackRouter.put('/routing', (req: Request, res: Response) => {
if (parsed.data.exploreEnabled !== undefined) {
setExploreEnabled(parsed.data.exploreEnabled);
}
- res.json({ strategy: getRoutingStrategy(), exploreEnabled: getExploreEnabled(), presets: BANDIT_PRESETS });
+ try {
+ setPeakHoursConfig({
+ enabled: parsed.data.peakHoursAdjust,
+ startHour: parsed.data.peakStartHour,
+ endHour: parsed.data.peakEndHour,
+ timezone: parsed.data.peakTimezone,
+ });
+ } catch (err: any) {
+ res.status(400).json({ error: { message: err?.message ?? 'Invalid peak-hours settings' } });
+ return;
+ }
+ // `presets` is the raw preset table (unchanged); `weights` is what the router
+ // will actually use right now, which differs from the preset while the
+ // peak-hours adjustment is firing. Returning both keeps the echo honest
+ // without breaking clients that read `presets` (#760).
+ const active = getActiveRoutingWeights();
+ const peak = getPeakHoursConfig();
+ res.json({
+ strategy: getRoutingStrategy(),
+ exploreEnabled: getExploreEnabled(),
+ presets: BANDIT_PRESETS,
+ weights: active.weights,
+ peakAdjusted: active.adjusted,
+ peakHoursAdjust: peak.enabled,
+ peakStartHour: peak.startHour,
+ peakEndHour: peak.endHour,
+ peakTimezone: peak.timezone,
+ });
});
// Get fallback chain (with dynamic penalties)
diff --git a/server/src/services/router.ts b/server/src/services/router.ts
index c3288891..26845431 100644
--- a/server/src/services/router.ts
+++ b/server/src/services/router.ts
@@ -18,6 +18,8 @@ import {
BANDIT_PRESETS, DEFAULT_STRATEGY, type RoutingStrategy, type RoutingWeights,
reliabilityPosterior, expectedReliability, sampleBeta,
speedScore, intelligenceScore, intelligenceComposite, headroomFactor, rateLimitFactor, combineScore,
+ peakAdjustedWeights, isValidPeakHour, isValidTimezone,
+ DEFAULT_PEAK_HOURS, type PeakHoursConfig,
observedSpeedRank, TIMEOUT_LATENCY_CAP_MS,
} from './scoring.js';
import { TIMEOUT_ERROR_MARKERS } from '../lib/error-classify.js';
@@ -328,6 +330,10 @@ export function getAllPenalties(): Array<{ modelDbId: number; count: number; pen
const STRATEGY_KEY = 'routing_strategy';
const CUSTOM_WEIGHTS_KEY = 'routing_custom_weights';
const EXPLORE_KEY = 'routing_explore_enabled';
+const PEAK_ADJUST_KEY = 'routing_peak_hours_adjust';
+const PEAK_START_KEY = 'routing_peak_start_hour';
+const PEAK_END_KEY = 'routing_peak_end_hour';
+const PEAK_TZ_KEY = 'routing_peak_timezone';
const COMMUNITY_PRIOR_KEY = 'routing_community_prior';
const COMMUNITY_PRIOR_ENABLED_KEY = 'routing_community_prior_enabled';
@@ -367,6 +373,42 @@ export function setExploreEnabled(enabled: boolean): void {
setSetting(EXPLORE_KEY, enabled ? '1' : '0');
}
+// ── Peak-hours adjustment (persisted, off by default) ──────────────────────
+// Opt-in time-of-day reweighting (#760). Everything about it is operator-set:
+// whether it runs at all, the window, and the timezone the window is read in.
+// With the flag off, weightsFor returns the presets byte-for-byte, so an
+// install that never touches this setting routes exactly as it did before.
+export function getPeakHoursConfig(): PeakHoursConfig {
+ const startRaw = Number.parseInt(getSetting(PEAK_START_KEY) ?? '', 10);
+ const endRaw = Number.parseInt(getSetting(PEAK_END_KEY) ?? '', 10);
+ const tzRaw = getSetting(PEAK_TZ_KEY);
+ return {
+ enabled: getSetting(PEAK_ADJUST_KEY) === '1',
+ startHour: isValidPeakHour(startRaw) ? startRaw : DEFAULT_PEAK_HOURS.startHour,
+ endHour: isValidPeakHour(endRaw) ? endRaw : DEFAULT_PEAK_HOURS.endHour,
+ timezone: isValidTimezone(tzRaw) ? tzRaw : DEFAULT_PEAK_HOURS.timezone,
+ };
+}
+
+/** Persist any subset of the peak-hours settings. Throws on an out-of-range
+ * hour or an unknown IANA timezone so a bad PUT is rejected at the API rather
+ * than silently stored and then ignored on read. */
+export function setPeakHoursConfig(patch: Partial<PeakHoursConfig>): void {
+ if (patch.startHour !== undefined && !isValidPeakHour(patch.startHour)) {
+ throw new Error('peakStartHour must be an integer between 0 and 23');
+ }
+ if (patch.endHour !== undefined && !isValidPeakHour(patch.endHour)) {
+ throw new Error('peakEndHour must be an integer between 0 and 23');
+ }
+ if (patch.timezone !== undefined && !isValidTimezone(patch.timezone)) {
+ throw new Error('peakTimezone must be a valid IANA timezone name');
+ }
+ if (patch.enabled !== undefined) setSetting(PEAK_ADJUST_KEY, patch.enabled ? '1' : '0');
+ if (patch.startHour !== undefined) setSetting(PEAK_START_KEY, String(patch.startHour));
+ if (patch.endHour !== undefined) setSetting(PEAK_END_KEY, String(patch.endHour));
+ if (patch.timezone !== undefined) setSetting(PEAK_TZ_KEY, patch.timezone);
+}
+
// ── Custom weights (persisted) ──────────────────────────────────────────────
// User-tuned weight vector for the 'custom' strategy. Stored normalized (sums
// to 1) so the dashboard percentages read cleanly; combineScore would tolerate
@@ -510,10 +552,25 @@ export function setCommunityPriors(priors: CommunityPriorMap): number {
return Object.keys(clean).length;
}
+/** Active weights plus whether the peak-hours adjustment (#760) changed them.
+ * With the setting off (the default) `weights` is the preset itself and
+ * `adjusted` is false, so nothing about routing moves with the clock.
+ * priority/custom are the operator's explicit choice and are never rewritten. */
+function weightsWithPeak(strategy: RoutingStrategy): { weights: RoutingWeights | null; adjusted: boolean } {
+ if (strategy === 'priority') return { weights: null, adjusted: false };
+ if (strategy === 'custom') return { weights: getCustomWeights(), adjusted: false };
+ return peakAdjustedWeights(BANDIT_PRESETS[strategy], strategy, getPeakHoursConfig());
+}
+
function weightsFor(strategy: RoutingStrategy): RoutingWeights | null {
- if (strategy === 'priority') return null;
- if (strategy === 'custom') return getCustomWeights();
- return BANDIT_PRESETS[strategy];
+ return weightsWithPeak(strategy).weights;
+}
+
+/** The weight vector routing will use right now for the active strategy, and
+ * whether the peak-hours adjustment moved it. Cheap (settings reads only) —
+ * for the PUT /routing echo, which must not pay for a full score sweep. */
+export function getActiveRoutingWeights(): { weights: RoutingWeights | null; adjusted: boolean } {
+ return weightsWithPeak(getRoutingStrategy());
}
// ── Analytics stats cache (decay-weighted) ──────────────────────────────────
@@ -1833,7 +1890,7 @@ export interface RoutingScore {
totalRequests: number; // decay-weighted observations
}
-export function getRoutingScores(): { strategy: RoutingStrategy; weights: RoutingWeights | null; customWeights: RoutingWeights; exploreEnabled: boolean; scores: RoutingScore[] } {
+export function getRoutingScores(): { strategy: RoutingStrategy; weights: RoutingWeights | null; customWeights: RoutingWeights; exploreEnabled: boolean; peakAdjusted: boolean; peakHours: PeakHoursConfig; scores: RoutingScore[] } {
const db = getDb();
const strategy = getRoutingStrategy();
refreshStatsCache(db);
@@ -1874,7 +1931,19 @@ export function getRoutingScores(): { strategy: RoutingStrategy; weights: Routin
// exploreEnabled must ride along here too: the dashboard checkbox renders
// from GET /routing, so omitting it would make the toggle look permanently
// off (and impossible to turn off) after a refetch.
- return { strategy, weights: weightsFor(strategy), customWeights: getCustomWeights(), exploreEnabled: getExploreEnabled(), scores };
+ // peakAdjusted tells the dashboard whether the weight summary it is about to
+ // render is the raw preset or a peak-hours variant of it (#760) — without it
+ // the numbers would change under the operator with nothing to explain why.
+ const active = weightsWithPeak(strategy);
+ return {
+ strategy,
+ weights: active.weights,
+ customWeights: getCustomWeights(),
+ exploreEnabled: getExploreEnabled(),
+ peakAdjusted: active.adjusted,
+ peakHours: getPeakHoursConfig(),
+ scores,
+ };
}
/**
diff --git a/server/src/services/scoring.ts b/server/src/services/scoring.ts
index 849ea9c8..6f2a8cbb 100644
--- a/server/src/services/scoring.ts
+++ b/server/src/services/scoring.ts
@@ -50,6 +50,141 @@ export const BANDIT_PRESETS: Record<Exclude<RoutingStrategy, 'priority' | 'custo
// dashboard or PUT /api/fallback/routing.
export const DEFAULT_STRATEGY: RoutingStrategy = 'balanced';
+// ── Time-of-day dynamic ranking (#760) ─────────────────────────────────────
+// During an operator-declared peak window free relays are congested, so a
+// model's raw throughput is a weaker signal than its reliability: part of the
+// speed weight is moved onto reliability. This is OFF by default and every
+// parameter is operator-set — routing that silently changes with the wall
+// clock is impossible to reason about when someone reports "it picked a
+// different model this evening".
+//
+// The hour is read in an explicit IANA timezone, never the server's local
+// clock: the box a gateway runs on is frequently UTC (containers, VPS images)
+// while the traffic it serves is not, so `getHours()` would define "peak" as
+// whatever the host image happened to be built with.
+
+/** Persisted peak-hours settings. `enabled` false ⇒ presets are untouched. */
+export interface PeakHoursConfig {
+ enabled: boolean;
+ /** Window start hour, inclusive, 0–23. */
+ startHour: number;
+ /** Window end hour, exclusive, 0–23. May be < startHour (window spans midnight). */
+ endHour: number;
+ /** IANA timezone name the hours are interpreted in. */
+ timezone: string;
+}
+
+export const DEFAULT_PEAK_START_HOUR = 18;
+export const DEFAULT_PEAK_END_HOUR = 6; // default window spans midnight: [18, 24) ∪ [0, 6)
+export const DEFAULT_PEAK_TIMEZONE = 'UTC';
+
+/** Fraction of the speed weight moved onto reliability during peak hours. */
+export const PEAK_SPEED_TO_RELIABILITY = 0.6;
+
+export const DEFAULT_PEAK_HOURS: PeakHoursConfig = {
+ enabled: false,
+ startHour: DEFAULT_PEAK_START_HOUR,
+ endHour: DEFAULT_PEAK_END_HOUR,
+ timezone: DEFAULT_PEAK_TIMEZONE,
+};
+
+/**
+ * Presets exempt from the peak adjustment.
+ *
+ * `fastest` and `reliable` are the two ends of the speed↔reliability axis, and
+ * they are what an operator picks when they have already decided which end they
+ * want. Shifting 60% of `fastest`'s 0.55 speed weight would leave it at
+ * reliability 0.68 / speed 0.22 — i.e. `fastest` would quietly become a slightly
+ * noisy copy of `reliable`, which is a different preset the user could have
+ * selected. `reliable` is exempt for the mirror-image reason: it is already the
+ * reliability extreme, so there is nothing the adjustment can add, and moving
+ * its speed weight only pushes it past the range any preset offers. The
+ * adjustment therefore applies only to the mixed presets (`balanced`,
+ * `smartest`), where trading some speed weight for reliability stays inside the
+ * span the presets already describe. Clamping instead of exempting was the
+ * alternative; exempting is chosen because it keeps each preset's identity
+ * exactly, rather than making two of them silently converge on a third.
+ */
+export const PEAK_EXEMPT_STRATEGIES: readonly RoutingStrategy[] = ['fastest', 'reliable'];
+
+/** Whether this strategy opts out of the peak adjustment (see above). */
+export function isPeakExemptStrategy(strategy: RoutingStrategy): boolean {
+ return PEAK_EXEMPT_STRATEGIES.includes(strategy);
+}
+
+/** True when `hour` is a whole number in 0–23. */
+export function isValidPeakHour(hour: unknown): hour is number {
+ return typeof hour === 'number' && Number.isInteger(hour) && hour >= 0 && hour <= 23;
+}
+
+/** True when `timezone` is an IANA name this runtime's ICU data knows. */
+export function isValidTimezone(timezone: unknown): timezone is string {
+ if (typeof timezone !== 'string' || !timezone.trim()) return false;
+ try {
+ new Intl.DateTimeFormat('en-US', { timeZone: timezone });
+ return true;
+ } catch {
+ return false;
+ }
+}
+
+/**
+ * The hour (0–23) at `now` in `timezone`. Uses Intl rather than Date#getHours
+ * so the window means the same thing regardless of the host's TZ. An unknown
+ * timezone falls back to UTC instead of throwing — routing must never fail
+ * because a settings row went stale.
+ */
+export function hourInTimezone(now: Date, timezone: string): number {
+ const zone = isValidTimezone(timezone) ? timezone : DEFAULT_PEAK_TIMEZONE;
+ const parts = new Intl.DateTimeFormat('en-US', { timeZone: zone, hour: 'numeric', hourCycle: 'h23' })
+ .formatToParts(now);
+ const raw = parts.find(p => p.type === 'hour')?.value ?? '0';
+ const parsed = Number.parseInt(raw, 10);
+ return Number.isFinite(parsed) ? parsed % 24 : 0;
+}
+
+/**
+ * True when `now` falls inside the configured window. `startHour === endHour`
+ * is an EMPTY window, not a 24-hour one: an operator who drags both ends to the
+ * same value means "nothing", and the alternative (always peak) would be a
+ * permanent silent reweight from a config that looks like a no-op.
+ */
+export function isPeakHours(config: PeakHoursConfig, now = new Date()): boolean {
+ if (!config.enabled) return false;
+ if (!isValidPeakHour(config.startHour) || !isValidPeakHour(config.endHour)) return false;
+ if (config.startHour === config.endHour) return false;
+ const h = hourInTimezone(now, config.timezone);
+ return config.startHour < config.endHour
+ ? h >= config.startHour && h < config.endHour
+ : h >= config.startHour || h < config.endHour;
+}
+
+/**
+ * Peak-adjusted weights for a bandit preset, plus whether the adjustment
+ * actually fired (the dashboard labels the weight summary from that flag).
+ * Returns the base vector untouched when the feature is off, when the clock is
+ * outside the window, or when the strategy is exempt.
+ */
+export function peakAdjustedWeights(
+ base: RoutingWeights,
+ strategy: RoutingStrategy,
+ config: PeakHoursConfig,
+ now = new Date(),
+): { weights: RoutingWeights; adjusted: boolean } {
+ if (isPeakExemptStrategy(strategy)) return { weights: base, adjusted: false };
+ if (!isPeakHours(config, now)) return { weights: base, adjusted: false };
+ const shift = base.speed * PEAK_SPEED_TO_RELIABILITY;
+ if (shift <= 0) return { weights: base, adjusted: false };
+ return {
+ weights: {
+ reliability: base.reliability + shift,
+ speed: base.speed - shift,
+ intelligence: base.intelligence,
+ },
+ adjusted: true,
+ };
+}
+
// ── Reliability ───────────────────────────────────────────────────────────
// Beta(1,1) prior = uniform: an unseen model is genuinely uncertain, not assumed
// good or bad. With decay-weighted pseudo-counts the alpha/beta are continuous.