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 Number) values, which are not compliant with the JSON standard. JavaScript's `JSON.parse` function then fails to parse these reports, leading to an infinite loading state for users. The issue stemmed from an interviewer style that frequently omitted technical questions, resulting in all `NaN` values for the technical depth scoring category, which `numpy.nanmean` then returned as `NaN`. AI
IMPACT Highlights the critical need for robust data serialization and parsing in LLM-powered applications, especially when integrating with standard web technologies.
RANK_REASON A bug in a specific software product (Preterview) caused a functional issue.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →