Repository navigation
Lane admission planner + Proctored Exam Session (B/C/A1/A2) + Ludicrous serving - #1976
Merged
Merged
Conversation
…ls the VRAM-scan thrash loop) After #214 un-froze grow-back, serving THRASHED on a churned box: window flapped 44800↔7680 while the board's `available` swung 12.9↔41GB in 30s. Root: serving is scan-accounted (the board's `available = capacity − max(granted, physical_used)`, and serving holds no lease so granted=0), so `available` tracks the raw GPU scan. During serving's OWN relaunch (kill→respawn) the scan drops as the old lane exits and rises as the new one loads — a phantom free-VRAM spike/dip. `host_budget()` reads it, the plan flaps the window, and the flapped plan triggers ANOTHER relaunch: a feedback loop where serving's own churn re-plans its own lane off a transient budget. Fix: `recompute()` early-returns while a relaunch is in flight (`reconciling` true) — serving's own in-flight churn must not feed back into its own plan. Composes with #214: the RAII gate clears the instant the relaunch finishes OR fails, so re-planning resumes promptly against the STABLE post-relaunch budget — no thrash, no stall. The deeper fix (serving holds an explicit board lease so `granted` pins its residency and the scan transient never reaches `available`) is the #56 consumers-LEASE residual; this breaks the loop cleanly now. 22/22 serving_daemon tests green. Live thrash-gone validation on deploy. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…of faulting the turn A local single-resident lane gets relaunched out from under an in-flight POST — grow-back (#214), a genome page-in, or memory pressure all bounce the llama-server process, and the published serving snapshot lags at ready=true for the seconds the socket is actually refused (a watch channel is inherently behind the process; the pre-flight ready-guard trusts the snapshot, the socket disagrees). The POST then faulted the whole turn on 'Connection refused (os error 61)'. A connect error to a resident lane means 'mid-relaunch', not 'gone': the connection never opened so nothing streamed, and re-sending the SAME lane/model is idempotent — resilience, NOT a fallback. Retry the connect with bounded linear backoff (1s..6s, ~21s total), scoped to single_resident_model (remote endpoints don't relaunch under us), then fail loud if it never returns. Live-glass-boxed 2026-07-20: a legitimate grow-back relaunch connection-refused every in-flight generation to :58057 mid-eval; 48 retry probes fired correctly on redeploy, recovering transient bounces. Live turns benefit identically — any turn coinciding with a relaunch previously died. Does NOT fully rescue a SUSTAINED relaunch loop (eval-on-shared-lane contention → #175 decode-failure self-heal thrash); that needs eval lane isolation (next). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…fit, and how?' decision The governor's reconcile_for_demand is the RECLAIM half (frees bytes under pressure). This adds the missing ADMISSION half: plan_placement(capacity, resident, demand) — a PURE function returning what the daemon should DO with one new lane demand: - ShareLane — the base is ALREADY resident → co-tenant slots, NO duplicate weights - SpawnLane — a fresh base that fits (optionally after tiering lower tiers down) - CpuSpill — won't fit even after preempting everything preemptible (loud reason) The gotcha it kills (glass-boxed 2026-07-20): the eval path grabbed a GPU lease LOCALLY, against an under-reported footprint, and stood up a SECOND full copy of a base already resident. Two 24B copies don't fit one accelerator → Metal 500 → poison took the live lane down too. The first rule is the one that incident violated: same base resident ⇒ SHARE its weights (cost = added KV only), never a duplicate copy. Priority tiers (Live > Eval > Background): a demand may tier DOWN strictly-lower-priority, non-pinned lanes to fit; it never preempts equal-or-higher. So an Eval never bounces a Live lane — it spills to CPU instead. footprint() is concurrent-worst-case (KV for EVERY slot), the invariant a LiveKit huddle needs and the empty-slot sizing that OOM'd the shared lane. Scenario table IS the oracle — 5 unit tests on the REAL incident geometry (Devstral-24B Q4, ~38 GiB Comfort-fractioned): same-base-shares, fresh-fits-coresident, different-base-preempts- background-not-live, eval-never-preempts-live-spills-cpu, huddle-counts-kv-per-slot. All green. Pure + unwired this slice; next slices report honest footprints and route the eval + serving demands through it. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ss nodes that come and go plan_grid_placement(nodes, demand) runs the single-node plan_placement kernel on every REACHABLE node and picks the best by affinity/least-disruption: ShareLane (weights already WARM — no cold-load, no transfer) > clean SpawnLane > preempt > CpuSpill, then local before remote, then most-free. A joined node just appears in the snapshot and becomes eligible; a departed node has reachable=false and is ignored, so re-planning a stranded demand fails it over to a live node — all derived from the live snapshot, never held. This is the CONVERGENCE, not a 3rd allocator: capacity::grid (#176) owns the grid substrate (gossiped GridSnapshot, the deterministic sim, the reachable/stranded/per-node-OOM resilience invariants) but its LocalFirstFitPolicy places lanes MODEL-BLIND — by free bytes — so it would spill a lane to the emptiest peer even when another peer has that base WARM, paying a needless cold-load + weight transfer (the grid's version of the 2nd-copy incident, the MoE-affinity gap #180). plan_grid_placement makes affinity the first rule. capacity::grid's GridPlacementPolicy becomes a thin adapter over this once its GridSnapshot carries each node's resident models (the integration slice). 4 grid scenario tests (join / peer-loss-failover / partition / affinity-beats-free-bytes) + the 5 single-node scenarios, all green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…e grow-back relaunch Wires placement::Placement::ShareLane's 'pin the lane for the demand's duration' clause. A living-persona benchmark (benchmark/run with no gene/base) runs as a CO-TENANT decode slot on her real serving lane — same base already resident, so NO second weight copy (the reverted 2026-07-20 isolation attempt was the wrong 2nd-copy approach that OOM'd the GPU). The one thing that bounced it was the grow-back RE-HOME: when the plan wants a bigger window it relaunches the lane, and the relaunch connection-refuses every in-flight generation (hard-rs 0/8, zero output tokens). New: a reference-counted RAII ServingSteadyHold; while any eval holds it, reconcile_to_plan SKIPS the starved grow-back re-home for an already-correctly- served lane. It deliberately does NOT suppress a model/genome change or a pressure-driven shrink — a real resource emergency still preempts (rare, correct). Live turns benefit too: any turn coinciding with a grow-back relaunch previously died. The eval acquires the hold for its whole run (dropped when run() returns → grow-back resumes). Unit test: the hold is refcounted + RAII (nested acquire, inner drop keeps the outer hold). NOT the whole story for hard-rs: a cold lane right after reboot (not-ready guard) and concurrent-worst-case KV windowing (the decode-failure self-heal axis) are separate — the steady-hold fixes the grow-back-bounce axis only. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… process The attack plan for making living-persona benchmarks trustworthy: a substrate-owned lifecycle (acquire a decode-VERIFIED serving context via plan_placement → hold stable → run with infra-fault != score-0 → release), NOT a timeout-hacked script. Documents the problem (fake passRate 0.0 on a not-ready shared lane), the foundation already built (retry + admission planner + steady-hold), and the build order B (trustworthy result) → C (concurrent-worst-case window) → A (preempt for a guaranteed-stable context, grid-general). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…trustworthy or InfraUnavailable, never a fake 0 The dependability bug (glass-boxed this arc): a living-persona benchmark runs on the shared serving lane. When that lane flips not-ready under load (grow-back relaunch, #175 decode-overflow self-heal, pressure/cold-after-reboot), every task's generation is refused and the run reported `passRate: 0.0` — a fake zero INDISTINGUISHABLE from "she got them all wrong". Across every hard-rs run: 0 output tokens, always an infra cause, never her coding. Untrustworthy by construction; no timeout tuning fixes it. Slice B makes the number honest at the data path: - `PassOutcome` replaces the bare `(pass, results)` tuple: it also carries `infra_faults` + `infra_reason`. An `inference_error` (lane not-ready / connect-refused / "not the active served model" / compute-error / deadline-wedge) is an INFRA fault, never a wrong answer — a wrong answer settles with spoken text and no inference_error. - Bounded recovery in run_pass: on an infra fault, re-verify the lane (await_ready_serving) and retry the SAME task (the retried generation IS the decode proof), up to INFRA_FAULT_RETRIES=3. A transient bounce recovers and grades normally; an unrecoverable fault (lane never returns to ready) records the row for forensics, marks the run void, and ABORTS — every remaining task would only accrue more phantom zeros on a dead lane. - `infra_verdict(&PassOutcome) -> Option<InfraUnavailable>` (pure, one place decides void-ness) drives a new `CognitionEvalResult.infra_unavailable` field. When set, score/pass_rate are VOID: the ledger row carries `infraUnavailable`, benchmark/run surfaces it, and LEARN mode refuses to teach from a dead-lane run. A fake `passRate: 0.0` on an unverified lane is now impossible. - The old grading-match `inference_error` arm is gone — an infra fault can no longer masquerade as a graded miss. Team mode classifies + aborts identically (its full re-verify+retry is a scoped follow-up, as is the A/B EphemeralServingLane path which decode-verifies at spawn). Tests (fault-injection, in the existing eval test mod): an infra-faulted run resolves to InfraUnavailable naming the task + cause, never a scored 0; genuinely-wrong answers on a working lane stay Scored with the 0 counted (infra never masks a real capability miss). Foundation: builds on the retry (edd71bf), admission planner (aed37a3/765b1993d), steady-hold (25fc1dc). Plan: docs/planning/PROCTORED-EXAM-SESSION.md. Slices C (concurrent-worst-case windowing) and A (ExamServingContext preempt) follow. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…orces concurrent-worst-case (audit) The Slice-C premise was stale: plan_serving:362-379 already solves the full fixpoint (l·(kv·C + compute) ≤ after_weights), #213/#214 fixed the floor/grow-back bugs, and served_window_footprint_fits_effective_budget_including_window_scaled_compute pins it. reconcile_window_to_served handles per-slot budgeting. The exam quiesces the fleet, so concurrent demand is low. No code change needed; next is live re-measure + Slice A. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…1/2 on the deployed binary Deployed B, ran live hard-rs on Asha (Devstral-24B). Ledger contrast: pre-B runId bf7bb829 = passRate 0.0 / 0-of-8 / 0 output tokens (the fake zero); B runId 97719703 = passRate 0.5 / 1-of-2 / 855 output tokens / infraUnavailable:null (a REAL number). Same benchmark, honest result. Lane held (quiesced exam) → Scored, not InfraUnavailable, so Slice A (preempt) is the heavy-load/grid answer, not needed for single-GPU exams — exactly as B→C→A predicted. InfraUnavailable path is unit-proven. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…, the strategic ACQUIRE at the exam seam The living-persona benchmark used to grab a bare ServingSteadyHold and ASSUME it was measuring a co-tenant slot — the comment said "= Placement::ShareLane" but nothing computed it. The strategic decision was implicit. This installs it explicitly: - cognition/exam_serving.rs: ExamServingContext::acquire(capacity, resident, demand) runs the model-aware plan_placement kernel and acts on the verdict — ShareLane holds the live lane steady (RAII grow-back suppressor, reusing ServingSteadyHold), Spawn/CpuSpill hold nothing (the ephemeral/peer lane owns them) but the strategic verdict is still computed + probe-logged. ExamAcquire carries it for the ledger/curriculum. steady_fallback() preserves the historical hold when live inputs are unresolvable (never regresses). - eval.rs (None,None) branch: build the real inputs from the live serving snapshot (current_serving) + governed_host_budget + footprint_for, then acquire the strategic context instead of the blind steady-hold. Her same base ⇒ ShareLane (co-tenant slot, no second 24B copy — the incident this arc started from), held steady for the run. This is the seam the strategic layer plugs into: a DIFFERENT-base exam or a grid placement computes Spawn/preempt here (the ephemeral-lane / grid path drives the actual spawn). The decision is never silent again — Joel's "an algorithm, not a haphazard chaotic mess." 3 unit tests over the placement oracle (share+hold+RAII-release / different-base-spawn / cant-fit-cpu-spill). Behavior-preserving on single-GPU (the live re-measure showed ShareLane holds), so no regression; the value is the explicit, observable, capturable decision. Slice A2 (grid AffinityFitPolicy over plan_grid_placement) follows. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…y scoped + deliberately deferred A1 (9b511f5) installs the strategic plan_placement decision at the exam seam. A2 audit: capacity/grid policies are sim-only (no prod consumer), the two placement models differ in shape (1-node-per-lane vs N-lanes-spread), and it needs a 40-construction-site schema thread — so it is design/gym work with no live payoff, best built alongside the live grid-serving consumer (#180) rather than rushed. The plan_grid_placement kernel it will use is already green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…are grid placement (video + benchmarks concurrently) The grid's LocalFirstFitPolicy places lanes by FREE BYTES — model-blind. It would cold-load a base onto the emptiest node even when a peer already holds it WARM, paying a needless weight load + cross-node transfer, and it eats the local GPU. AffinityFitPolicy converges the resources::placement kernel's affinity rule onto the grid policy shape: rank nodes AFFINITY-FIRST (a node already serving the demand's base beats one with more free RAM), then local (no hop), then most-free — with NO local floor, so a fully-warm peer can take the whole demand and leave the local accelerator free for live work. This is the concrete answer to "video chat AND a benchmark at once": the exam rides the warm peer while the local GPU stays free for the live huddle. Proven by the outlier test — a warm peer with LESS free RAM beats an emptier COLD local node (byte-fill routes local+cold-load; affinity routes to the warm peer, local_lanes=0), plus a no-signal fallback test showing it degrades cleanly to locality-then-free (a strict superset of byte-fill, resilience invariants intact). Minimal-churn by design: the warm-base map is carried on the policy (constructed per-scenario) rather than threaded onto the widely-built GridSnapshot/LeaseRequest — that ~48-site schema change buys nothing while these policies are simulator-only. It lands WITH the live grid-serving consumer (#180). The affinity IDEA is validated in the gym now; LocalFirstFit stays as the model-blind baseline/negative control it beats. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
AffinityFitPolicy ranks grid nodes affinity-first (warm > free) with no local floor, so a warm peer takes the whole demand and the local GPU stays free for the live huddle — the video+benchmark-at-once answer, proven by the outlier test. Snapshot-threading deferred to the live grid-serving consumer (#180). Slices B, C, A1, A2 all landed. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… biggest window the machine can give (never a starved boot-window) Joel: "extreme mode for benchmarks or ludicrous lol ... as big as the model needs for bench software, whatever this machine can handle." The live incident: a 64GB M5 Pro with ~49GB free and pressure 0.0 served a 2048 window, because at boot only ~19GB was free (model loading) so the drive mode picked eco → tiny fraction → floored window, and then the exam's own steady-hold PINNED it there while its 2240-token prompt overflowed → deadlock. The fix is to grow the window, never clamp the prompt. Mechanism (mirrors ServingSteadyHold): - ServingLudicrousHold (refcounted RAII) + serving_ludicrous_active(). While held, host_budget() forces PowerMode::Performance (fraction 1.0 — "floors the whole GPU"), OVERRIDING serving_mode_for_pressure's timid read (which on UMA under-reports free memory). The drive mode follows the ACTIVITY (a declared benchmark intent → serve maximal), not just the pressure. - ExamServingContext now holds Ludicrous instead of the steady-hold: this resolves the deadlock (steady-hold suppressed the very grow the exam needed). Ludicrous keeps the plan STABLE at max (nothing bigger to grow-back to, pressure-shrink overridden), so it SUBSUMES the steady-hold's mid-exam-relaunch protection WITHOUT pinning a too-small window. One grow-relaunch on acquire, one shrink on drop — bookends, not a flap (no thrashing). Tests: serving_ludicrous_hold_is_refcounted_and_raii + exam_serving 3/3 + steady-hold test still green. Live deploy validation (exam serves a big Performance window + scores real on the starved- boot case) is the careful next step. First concrete step toward the Ludicrous↔Dream activity- driven serving spectrum. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…e thrashed (relaunch bounce), needs grow→settle→pin Live validation of the Ludicrous exam wiring (020bb65) caught exactly the thrashing Joel warned about. The fresh boot already served a 22016 window (plenty), but forcing PowerMode::Performance on acquire triggered an UNNECESSARY relaunch — and because Ludicrous had REPLACED the steady-hold, nothing held the lane stable through it, so the exam bounced: infraUnavailable{infra_faults:1}, 0 output tokens, on a huge window that easily fit the prompt. My "Ludicrous keeps the plan stable, subsumes the steady-hold" reasoning was wrong: ACQUIRING Ludicrous is itself a re-plan → relaunch, and B's retries got bounced too. The correct design is BOTH, sequenced: acquire Ludicrous → wait for the grow-relaunch to SETTLE (decode-ready + stable) → THEN steady-hold to pin it for the tasks. That async settle-detection is a careful piece for a deliberate build. So revert the exam to the validated steady-hold (healthy boots already give 22016, so the exam works — B live-proven), and KEEP the Ludicrous mechanism (ServingLudicrousHold + host_budget Performance override, unit-tested) as a ready primitive to wire correctly next. Ship-broken isn't careful. exam_serving 3/3 + serving_ludicrous_hold test green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…), SETTLES the relaunch, THEN pins (no thrash) The correct wiring for "benchmarks get the biggest window the machine can give" — the thing the naive 020bb65 got wrong (it forced Performance then ran, and the grow-relaunch bounced the exam). The fix is the sequence Joel's "without thrashing" pointed at: GROW — ExamServingContext declares Ludicrous (ServingLudicrousHold → PowerMode::Performance); the daemon re-plans the shared lane to the biggest window the machine fits. SETTLE — wait_for_serving_window_settle (new, watch-driven, in llama_server): within an 8s grace (> the 5s plan TICK) watch for the lane to go not-ready = a relaunch started; if it does, wait (bounded 180s) for it to come back decode-ready; if it doesn't, no grow was needed (already at target) → return immediately. No polling, no time-based stability guessing. PIN — take the steady-hold so no FURTHER relaunch bounces the running exam. ExamServingContext::acquire is now async (settling is a wait — the whole reason the sync version thrashed); holds BOTH Ludicrous + steady via an ExamHold, released together on drop (RAII). A pure `decide()` keeps the placement verdict unit-testable; acquire_exam_serving_context + the (None,None) eval branch are async now. Tests: 3 pure-decide verdict tests + 1 async grow→settle→pin holds test (both gauges set then released; settle is a fast no-op with no live daemon). This is the benchmark end of the Ludicrous↔Dream activity-driven serving spectrum, wired correctly. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 25, 2026
… code (CI red, card 0e62aca2) (#1981) * fix(test): tool-surface test pins the amputation-cliff ABSENCE — align canary's test with its own code (#206 fix) The #1976 squash brought the code that removed the tight-window tool-surface amputation (the discovery-pair cliff that stranded native-tool models in a commands/help loop, glass-boxed #206) but NOT the test update — so canary's test still asserts the cliff and fails deterministically (the CI red that confounded PR #1980, proven pre-existing on parent d15e46a). Test-only: window fixture 4096→8192 (tight-but-servable) and the assert now requires the UN-amputated surface (list_commands/help/edit_file/bash/grep all present). Both cognition tests green on this base. Card 0e62aca2. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(test): inflight-gauge baseline drains cross-module guards — the CI-only flake (canary red, second half) TEST_SERIAL only serializes THIS module's tests, but the gauge is process-global: any test elsewhere walking the admission path holds an InflightModelCall guard for a moment, and CI's scheduling overlaps it with the baseline read (deterministic-local, flaky-CI — failed twice in CI, passed on two dev machines). Bounded drain-wait before the baseline: transient guards drop in microseconds; a real leak still fails loudly with the count named. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependable benchmark serving + strategic memory/compute allocation.
What lands
resources/placement.rs): model-awareplan_placement(single) +plan_grid_placement(grid) — same-base shares (no 2nd weight copy), tier-lower-first, spill-to-CPU. The strategic ADMISSION half the governor lacked.docs/planning/PROCTORED-EXAM-SESSION.md):Scored | InfraUnavailable, never a fakepassRate: 0.0; infra faults re-verified + retried. Live-proven both ways on hard-rs.plan_servingfixpoint (audit).ExamServingContext: the strategic ACQUIRE at the exam seam.AffinityFitPolicy: model-aware grid placement (warm-node affinity beats byte-fill); sim-validated.PowerMode::Performance(the whole GPU, biggest window) via grow→settle→pin (absorb the one grow-relaunch before tasks, then steady-hold — no thrash). Live-proven: real 1/2 on an 18688 window, no bounce.Validation
Every commit unit-tested; B and Ludicrous live-validated on hard-rs (Asha, Devstral-24B). Merged tree compiles clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo