Writing
- Filtering kwargs with inspect.signature: a function that takes **kwargs looks like it accepts nothing, and a retry lost its model_path
- Generator Exceptions Surface on the First next(): try Around create_chat_completion(stream=True) Never Sees the Context Window Error
- LLM Request Observability: Logs Count Messages, and the Native Tools Schema Shows Up Nowhere
- Breaking Out of an Async Generator Triggers aclose(): Code After the Last Yield Never Runs
- The Message You Edited Is Still in Memory
- Four Seconds on a First Visit
- The Synthetic Set Picked C. Forty-Four Real Questions Picked B.
- Where the Prefix-Cache Hits Went
- Sample Age, Catch-up Sampling, and Measurement Validity
- A Failed Batch Stays Failed
Notes
- A Clean Ping Doesn’t Mean Big Packets Get Through
- Answer the Ping on the Socket That Received It
- Non-ASCII text and parentheses in Windows batch files: commands cut into fragments after chcp 65001, and a ) inside echo closes the if block early
- time.strftime uses the system time zone: write with the configured zone, read with the system one, green locally and a day off on UTC CI
- json.dump iterates while it writes: save outside the lock and you get “dictionary changed size during iteration”, save inside and every writer waits
Topics
LLMPythonDebuggingMeasurementAutarkiaObservabilityTestingEngineeringEvaluationForensicsAll tags →