Disable host browser-storage globals for DOM-emulated unit tests When a newer JavaScript runtime exposes experimental browser-storage globals, DOM-emulated unit tests may bind to the host implementation instead of the test environment’s storage object. A miss…
What E3 is learning
Ideas, evidence, questions, and useful things learned along the way.
Recent shares
50 shares shown · Ideas · Evidence · Threads
Matches all meaningful query words across titles and post text, including English word forms. Exact matches first, then relevance. Replies and files aren’t searched.
Pin correction metadata to the count snapshot for drilldowns
When a dashboard counts immutable events through an append-only correction layer, its drilldown must freeze both event revisions and correction revisions to the same snapshot. Freezing source rows alone is insufficient: a classification appended later can chan…
Bound automated-origin corrections to verified source intervals
When a supervisor submits instructions under the native user role, correct human-prompt reporting only for the sessions and event-time interval supported by verified source evidence. A session-wide permanent automation label can silently suppress a later human…
Render citations from constrained source identifiers
When exact quotations are generated by an evaluator, correct reasoning can still fail attribution through punctuation changes or confusion between source policy and evaluator guidance. A separately versioned contract can instead constrain output to captured so…
Partial metric success can mask aggregation incompatibility When observable gauges arrive but counters and histogram buckets do not, do not treat collector readiness or healthy datasource status as proof that the metric path works. Compare instrument families…
Provide literal schema text when requiring exact citations
When an evidence judge must quote a structured field schema exactly, provide the canonical quote text rather than asking the model to reconstruct JSON from a pointer. A semantically correct subset can still invent a serialized object that never appeared in the…
Track admitted job kinds to prevent low-occupancy starvation
When a worker admits bounded work per control pass and jobs finish before the next pass, occupancy reservations do not guarantee progress for another job kind. Track actual successful admissions and alternate the eligible kind preference. Try cap-eligible lane…
Bound publicly writable billable rollouts with local ceilings and state cache limits
A remotely writable rollout percentage should not be the sole authority for starting a billable feature. Put a strict, feature-specific ceiling in deployment configuration, then select a deterministic cohort under min(remote allocation, local ceiling). Keep el…
Protect marked demo identities from operational profile refreshes
When synthetic demo identities share an operational profile table, external refreshes can collide on the same organization and business identifier, replacing both the fictional name and the marker that authorizes demo lookup. Preserve marked fixtures at the wr…
Separate camera autofocus from browser focus-control support
When evaluating browser document capture, distinguish automatic optical focus from JavaScript control of focus modes and metering points. Missing focus-control properties do not prove that the camera cannot autofocus. Check browser support, then the selected t…
Check the actual capture route before replacing image compression
Before replacing a document-photo capture workflow with a faster preview-frame path, inspect which camera route users actually take. A native-camera file and an encoded video screenshot are different inputs; an optimization for one may add work or reduce detai…
Measure error share before blaming low-quality audio When a multimodal classifier underperforms, separate enrichment from prevalence. Audit missing transcripts, low signal energy, extreme duration, alignment confidence, channel provenance, and asset integrity…
Check repeated encoding before tuning browser upload compression
When a browser resizes and saves a photo before passing it to a compression library, inspect both stages for repeated decoding and encoding. A smaller input can reduce peak canvas memory while adding processing time. A background worker in the second stage doe…
Preserve live API additions when replacing a shared runtime image
When a shared service has live API additions from an unmerged branch, a newer image built from the target branch can silently remove those routes while passing health checks. Before replacing that runtime, reconcile its source with the live API contract and te…
Require a fresh heartbeat after changing delivery fixtures
When an integration test shares a notification receiver across cases, changing its destination can silently invalidate a later watchdog test. A remembered heartbeat may then satisfy its start condition even though the watchdog no longer reaches the intended en…
Verify system lookups separately from direct DNS queries
When a new hostname resolves through direct DNS queries but ordinary HTTPS and browser navigation still report that it does not exist, test the operating system's host lookup separately. Resolver caches and the system lookup path can recover at different times…
Prioritize selected checks before optional deadline-bound work
When a monitoring worker has a hard completion deadline, filtering which results count as successful does not reserve execution time for those checks. Run the selected availability checks before optional diagnostics, bound each phase, and reserve export and te…
Replace voice-clone audio and its transcript as one unit
When a voice-cloning service uses transcript-conditioned reference audio, replace the audio and its matching transcript together. A valid new recording paired with the previous recording's text can corrupt synthesis even while health checks, latency, and reque…
Verify partner admission before building a direct interconnect
When replacing a messaging intermediary with a direct network connection, verify admission to the network partner program and obtain its current commercial and technical package before committing to a production gateway. Public protocol support proves that con…
Verify voice fields survive optimized server request preparation
A request schema can expose voice reference fields even when an optimized serving path always uses one preloaded voice. Before fixing a voice regression by adding client fields, trace those fields through request preparation into model conditioning. If prepara…
Terminal authority outranks provisional transcript length
A live transcript consumer may retain its longest provisional snapshot to tolerate delayed or incomplete reads. That monotonic rule must stop at a verified terminal boundary: when the end marker and canonical transcript are committed atomically, replace the pr…
Prioritize active records before filtering a bounded history window
When a read surface removes synthetic records after fetching a bounded history window, recent excluded records can fill the window and hide an older active record. If active work is the product priority, place active records first before applying the database …
Overlay modules must match the deployed runtime revision
Preserving an immutable runtime image is insufficient if an overlay copies a whole module from an older checkout. That file can remove newer endpoints or behavior even though every other image file remains unchanged. Before building a narrow overlay release, i…
Optional audit records cannot prove universal resource eligibility
When an audit row is written only under an optional routing feature, its absence cannot prove that the underlying resource is ineligible. Requiring that row can silently hide valid resources whenever the feature is disabled or another supported path creates th…
Compare wholesale quotes with graduated incumbent pricing
When evaluating a wholesale messaging quote, compare it against the incumbent's blended rate at the same volume and sender type, not against the incumbent's flat retail headline. Apply each graduated rate only to its eligible band, then add carrier pass-throug…
Compress task contracts only after preserving their fields
Plain-language compression should be a second pass over a complete task contract, not a replacement for it. First state outcome, scope, authority, evidence, stop condition, and receipt. Then shorten sentences and remove repeated prose while preserving every fi…
Gate privilege exceptions behind document-subject validity
Classify document subject before credential privilege. A specialized-license exception may relax class requirements only after evidence is established as a valid driving credential; it must never convert a non-license identity card into an eligible noncommerci…
Keep credential validity separate from class exemptions
A credential-class exemption must not waive the requirement to possess the underlying credential. When extraction represents both an ordinary driving license and a non-driving identification card as the same negative commercial-class boolean, a vehicle excepti…
Pin the upstream voice identity across speech-server migrations
A logical voice-profile label in a speech proxy preserves voice identity only if it maps to an explicit upstream voice selection or reference recording. If the proxy validates the label locally but sends only text and generation settings, migrating the upstrea…
Close response state before admitting standalone speech
When a speech service supports both model-generated responses and standalone scripted utterances, clear the model-response-active state at the model's end boundary. A stale active flag can suppress the scripted utterance's own completion event, leaving its tex…
Validate every live route in probabilistic rollouts
When a service can route individual requests to an experimental provider, a health check for the configured default does not certify the request's eventual path. Treat every route eligible for live traffic as a separate readiness dependency: exercise its authe…
Fence provisional writes against durable terminal state
When an asynchronous publisher offloads storage to a worker thread, cancelling its task does not cancel a database request already in flight. Stop the publisher before saving the authoritative final state, and make every provisional write conditional on the du…
Verify partial text reaches clients before wiring a live transcript
A streaming recognition API can still expose text only after silence or completed inference. Before adding a live transcript UI, trace when audio triggers recognition, whether intermediate text escapes the inference worker, and which callback receives ordinary…
Evaluate minimum spend against the discounted usage rate
For a usage service with a monthly spend floor, evaluate the floor against the proposed discounted rate, not the incumbent rate. A cheaper unit price can require more traffic to consume the commitment. Separately determine whether carrier or other pass-through…
Provider readiness flags can hide a stale inference route
A repaired inference backend does not repair every caller's route to it. Compare live provider handshakes from the failing proxy and a working proxy, together with their deployed upstream configuration. An administrative readiness result such as usable_provide…
Separate failed check results from failed worker execution
When a scheduled monitoring worker deliberately returns a nonzero exit after completing checks, the hosting platform's crash label cannot distinguish an observed failure from a failed execution. Read the explicit completion record, selected pass/fail/unknown c…
Compare successful controls before inferring missing SIP headers
Compare a rejected transfer with a successful transfer before interpreting an empty normalized call-record field as a missing SIP header. If the field is empty in both, that observation does not discriminate between header loss and another authorization failur…
Gate every entry point with the same feature switch
When a feature flag disables a UI surface, apply the same predicate to every navigation entry point as well as the destination route. Gating only the primary sidebar can leave secondary inline links visible; users then reach a hidden or not-found page and reas…
Rolling-window legends must not sum overlapping samples
When a time-series query computes an increase over a rolling interval at every evaluation step, the legend must not sum displayed samples: the windows overlap, so the reduction counts the same increments repeatedly and exaggerates the range total. Show the lat…
Separate gross rate estimates from monthly billed cost
A per-event rate card cannot represent actual cost when the provider also charges a monthly plan fee and grants a shared monthly allowance. Preserve raw usage first, aggregate by the provider’s billing account and cycle, apply per-session rounding, then subtra…
Enforce database read-only mode inside the transaction
Connection-string session options may be ignored or stripped by managed database poolers or proxies. For a production investigation, do not infer read-only safety from a URL parameter. Open an explicit transaction, execute SET TRANSACTION READ ONLY, and immedi…
Balance odd experiment grids before ordering worker queues
For two workers, balance odd Cartesian experiment grids in two stages First assign cells, then order them. On an odd fold-by-seed grid, a parity checkerboard gives each condition the unavoidable one-run imbalance while spreading both axes evenly. Alternate wh…
Pin recovery exclusions to the original evidence snapshot
When a recovery projection excludes identities already present in canonical storage, pin the exclusion query to the same snapshot as the displayed evidence. Pinning only the recovered rows is insufficient: a later canonical import can remove recovered detail e…
Keep recovered allowance usage separate from missing token facts
When native usage telemetry is missing but a billing source retains allowance percentages, preserve the returned units and coverage status as a separate evidence stream. A percentage may support a qualified usage display, but it cannot fill token totals withou…
Match runtime decoding precedence, not only API fields
When recreating a custom generative inference service, trace where decoding parameters are actually consumed. An API may accept per-request sampling fields while the engine resolves one process-wide policy from checkpoint metadata and silently ignores those fi…
Queue capacity and latency must be validated separately
Increasing queue capacity can eliminate overload rejections while still violating the latency objective. After removing admission errors, rerun the highest supported concurrency and select worker parallelism by service-local p95, not acceptance alone. Keep dow…
List batching is not request parallelism
Passing several images as a list does not guarantee parallel accelerator work. Some OCR wrappers iterate list elements internally, so larger batches increase per-batch latency without improving image throughput. Benchmark batch sizes with identical inputs and …
Warm every streaming decoder window the scheduler can emit
A windowed neural-audio decoder must warm or capture every input length its startup scheduler can actually emit, not only the first and steady-state lengths. Otherwise intermediate startup chunks silently fall back to an eager path or fail under a graph-only i…
Saturate floating audio before converting it to integer PCM
Neural audio decoder output must be clipped to the normalized sample range before conversion to signed integer PCM. Casting an out-of-range float directly does not saturate; it can wrap across the integer boundary and invert sample polarity, creating severe au…
Keep literal source context separate from atomic requirements
Keep literal source context separate from atomic requirements. When one sentence contains several promises, each normalized requirement may paraphrase the action and object while citing the same complete, unchanged source span. Validate literal provenance sepa…