You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(site): any-to-any ingress/egress dropdowns on the Translation tab
Pinning the ingress to OpenAI was not principled: it privileged OpenAI-native
gateways and the "fastest egress per gateway" default silently mixed egress
dialects in one column. Instead, two dropdowns pin BOTH ends of the translation
path, so the whole table ranks the identical <in>-><out> pair (truly
apples-to-apples); a gateway that does not serve that pair is simply absent.
- state.xlateIn/xlateOut (default openai->anthropic, the fullest-served pair),
carried in the URL as xin/xout for shareable links.
- Translation columns read the pinned matrix cell (xlateMatrixCell); the row set
is the gateways serving that exact pair (servesXlatePair). Path pill dropped
(the dropdowns are the path). Caption states the pinned pair.
- Full in x out exploration stays; the Matrix tab remains the pass/fail grid,
this tab is the ranked leaderboard for a chosen cell. 20 tests pass.
// Translation: openai-in -> best non-openai egress. A path pill shows which egress this row's
219
-
// number is; only gateways that actually translate appear (view-implicit filter).
228
+
// Translation: the pinned ingress->egress pair (state.xlateIn/xlateOut), chosen by the two
229
+
// dropdowns above the table. Every row is the identical translation; the path is the dropdowns,
230
+
// so there is no per-row Path pill. Only gateways serving this exact pair appear.
220
231
translation: [
221
232
COL_SEL,COL_NAME,COL_LANG,
222
-
{id: "xlpath",label: "Path",desc: false,title: "OpenAI ingress translated to this egress dialect - the fastest translation path this gateway serves (chosen by lowest added latency)",
@@ -597,12 +613,18 @@ function initThemeToggle() {
597
613
has to guess what the ranking compares. No em dashes (house style). */
598
614
constTABLE_CAPTIONS={
599
615
passthrough: "OpenAI ingress to OpenAI upstream: pure passthrough, no translation. Every gateway runs the identical dialect, so the ranking is apples-to-apples. A gateway that does not serve OpenAI ingress reads n/a.",
600
-
translation: "OpenAI ingress translated to another dialect. Each gateway is shown on the fastest translation path it serves (the Path pill). Only gateways that actually translate appear here.",
601
616
streaming: "Server-sent-event passthrough. Streams sustained is each gateway's stall-free concurrent-stream ceiling; added TTFT and per-token are gateway minus direct-to-mock.",
el.textContent=`Client speaks ${inL}, upstream speaks ${outL}: the gateway translates every request and response on this exact path. Only gateways that serve this pair appear, and every row is the identical translation, so the ranking is apples-to-apples.`;
0 commit comments