Record Three.js agent A/B and add isolated profile controller
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
# Three.js agent task: native Strata versus KAR PLE, 2026-10-03
|
||||
|
||||
## Scope and fixed setup
|
||||
|
||||
One Codex agent per arm received the identical prompt (SHA-256
|
||||
`e10a433962e47b191b8269348cf26f9756d070ca800f2fe77213aa13f78023b1`):
|
||||
build a single-file Three.js/WebGL tic-tac-toe game, verify it, and complete
|
||||
the dedicated LeaseVibe test-project workflow. The agents ran sequentially in
|
||||
separate empty workspaces. No operator changed either game's files or helped
|
||||
either agent while it worked. The original Strata launcher profile was left
|
||||
untouched. Test project tasks were `TEST-2` (baseline) and `TEST-3` (KAR PLE),
|
||||
both reported Done by their agents.
|
||||
|
||||
Both arms used the Linux RTX 5090 host, driver 595.91.07, CUDA 13.2, the same
|
||||
Qwen3.8-Flash-Next IQ3_S shards, source commit and engine configuration listed
|
||||
in [the paired inference report](2026-10-03-kar-ple-ab.md). Each had one 256K
|
||||
slot, INT8 **K+V** cache with 32,768 resident cells, MTP speculation depth 4,
|
||||
and Strata's ordinary expert cache. The candidate used level-2 KAR only for
|
||||
the PLE table, read and decoded on CPU. The model shards and KAR artifact were
|
||||
on NTFS. This was neither the proposed compressed expert cache in VRAM nor
|
||||
the experimental V-only KV path. The two agents followed different tool and
|
||||
generation trajectories; this is one agent run per arm, not a paired
|
||||
statistical benchmark.
|
||||
|
||||
## End-to-end observations
|
||||
|
||||
| Metric | Native baseline | KAR PLE candidate |
|
||||
| --- | ---: | ---: |
|
||||
| Full agent wall time | 2,162.44 s (36m02s) | 1,810.22 s (30m10s) |
|
||||
| Codex CLI input tokens | 3,297,339 | 3,226,901 |
|
||||
| Codex CLI cached input tokens | 1,100,546 | 741,408 |
|
||||
| Codex CLI output tokens | 52,878 | 37,439 |
|
||||
| Output tokens / full wall second | 24.45 | 20.68 |
|
||||
| Completed bridge requests | 97 | 95 |
|
||||
| Median request decode rate | 62.0 tok/s | 118.9 tok/s |
|
||||
| Decode tokens / sum of decode time | 52.35 tok/s | 44.06 tok/s |
|
||||
| Prompt tokens / sum of prompt time | 3,804 tok/s | 5,312 tok/s |
|
||||
| Median first-token latency | 7.49 s | 8.50 s |
|
||||
| Final HTML size | 13,930 bytes | 15,771 bytes |
|
||||
| Shared browser checks | 6/6 | 6/6 |
|
||||
|
||||
The candidate's full task was 16.3% shorter, but its output-token count was
|
||||
29.2% lower. Its output tokens per full wall second were 15.4% lower. The
|
||||
per-request median decode rate is strongly affected by request length:
|
||||
candidate had 30 requests below 100 generated tokens versus five in the
|
||||
baseline. Weighting by all measured decode time reverses the median's apparent
|
||||
gain. Neither ratio isolates an engine effect in these divergent agent traces.
|
||||
MCP schema rejections and later corrected calls are ordinary parts of the
|
||||
workflow; they are included in wall time and were not scored as quality defects.
|
||||
|
||||
The operator's same browser test ran after both agents finished, without
|
||||
editing their files: each loaded without a page error, rendered a visible
|
||||
WebGL canvas, completed a row win through real clicks, blocked moves after
|
||||
the win, restarted to an empty board, and reached a draw through real clicks.
|
||||
Both scored 6/6. Their own agent tests reported 37 Chrome assertions and
|
||||
29 Chromium assertions respectively; these are different suites and their
|
||||
counts are not comparable quality scores. This task did not measure model
|
||||
perplexity, long-context retrieval, tool-call fidelity over a dataset, or
|
||||
V-only KV quality.
|
||||
|
||||
Private prompt, final HTML files, raw event streams, bridge logs, and the
|
||||
common browser test remain outside Git under
|
||||
`/Users/para/.cache/strata-next/agent-ab-threejs-20261003/` and
|
||||
`/Users/para/.codex-qwen-interactive/bridge-logs/`. The final HTML digests
|
||||
are `c4bc939d7fabd51f2a95d95c430c04fdaf64c9e27d2fd0300baebc3b59e0bfe4`
|
||||
(baseline) and `9a944c1e1d23042f362eb6078fb49aa07b45eb677ad631edd77308fff005dbc5`
|
||||
(KAR PLE).
|
||||
|
||||
## Decision
|
||||
|
||||
This agent task provides a successful functional comparison, not evidence of
|
||||
a KAR performance improvement. The earlier paired inference suite found
|
||||
matched short outputs but no CPU PLE speedup. The current runtime should not
|
||||
be replaced on the basis of these runs. The next performance experiment must
|
||||
integrate a bounded GPU-resident compressed weight cache and CUDA decoding
|
||||
into the actual inference path, then compare identical requests and agent
|
||||
tasks with a quality gate. V-only KV is a separate lossy mode and needs its
|
||||
own long-context and tool-call quality gate before any default use.
|
||||
Reference in New Issue
Block a user