json.dumps
PulseAugur coverage of json.dumps — every cluster mentioning json.dumps across labs, papers, and developer communities, ranked by signal.
4 day(s) with sentiment data
-
Small LLM Qwen2.5 3B Instruct repeats itself when generating large JSON datasets
A small language model, Qwen2.5 3B Instruct, running on an Apple M1 chip, exhibits repetitive behavior when asked to generate large JSON datasets. When prompted to create around 40 rows or more, the model begins to copy…
-
Python JSON serialization bug renders 1.6% of LLM interview reports unreadable
A bug in the Preterview interview practice platform caused approximately 1.6% of user reports to become unreadable due to the handling of NaN values. Python's `json.dumps` function, by default, serializes `NaN` (Not a N…
-
LLM tokenization costs: Python's float and timestamp formatting is inefficient
An analysis of tokenization costs for LLMs reveals that numerical data, particularly floating-point numbers and timestamps, can consume a disproportionate number of tokens. The author demonstrates that Python's default …
-
Python's json.dumps default increases LLM prompt tokens by 24%
A Python developer discovered that the default `ensure_ascii=True` setting in Python's `json.dumps` function significantly increased token usage and reduced accuracy when used in LLM prompts. Unlike JavaScript's `JSON.s…
-
Prompt caching misconfiguration leads to unexpected LLM cost increases
A developer encountered an unexpected increase in LLM costs due to a misconfiguration of prompt caching. The issue stemmed from placing dynamic content, such as timestamps or user-specific data, before cache control bre…
-
JSON output costs 2.6x more than CSV for LLM data, study finds
Using JSON for data output from large language models can be significantly more expensive than using CSV due to token costs associated with formatting. Pretty-printed JSON, for instance, can cost 2.6 times more than CSV…
-
Developer finds critical bug in MCP server's hardcoded relative paths
A developer discovered a critical bug in their MCP server where relative paths were hardcoded, leading to unpredictable log file locations. This issue, similar to a previously fixed .env loading bug, meant that the `upd…