SShortSingh.
Back to feed

Developer finds 64 'active players' may have been inflated by review deploy traffic

0
·1 views

A solo developer building a web-based Codenames AI game noticed an unexpectedly high active player count of 64 just three weeks after launch, despite minimal organic traffic from Google Search and limited social promotion. The Product Health dashboard counted distinct users who started or restored a game, but could not distinguish which runtime environment those users came from. Vercel preview URLs used for pull-request reviews shared the same analytics project key yet operated on different hostnames, each generating a fresh anonymous identity in PostHog rather than merging with known production users. This meant review-session clicks could register as new unique players, potentially inflating the count beyond genuine user activity. The developer resolved the issue by tagging every analytics event with an explicit runtime label — production, preview, local, or e2e — derived from hostname and build-time environment variables.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Dev Tutorial Explains How to Sync YouTube Playlists to Spotify Using Python

A developer tutorial published on DEV Community walks readers through writing Python code to automatically sync a YouTube playlist to Spotify. The project uses three Python files — spotify.py, youtube.py, and script.py — alongside a .env file that stores private API credentials locally. The YouTube module handles paginated API responses, fetching up to 50 videos per request to retrieve full playlists exceeding that limit. A parsing function splits video titles on hyphens to identify possible artist and song combinations, since YouTube creators follow no standard naming format. A separate cleaning function strips common YouTube title clutter such as 'Official Music Video' and '[HD]' before sending search queries to Spotify.

0
ProgrammingDEV Community ·

Developer Builds Claude Code Hook to Auto-Log and Analyze AI Agent Usage

A developer has created a logging system for Claude Code that automatically records every AI agent invocation using the platform's Stop hook and transcript_path payload. When a session ends, a chain of shell scripts triggers a Python parser that reads the conversation transcript and appends structured records to a JSONL log file. The system has so far captured 553 agent invocations, revealing that 47 defined agents had never been called even once. Unused agent definitions are considered actively harmful because they add unnecessary context to every session. The tool uses a combination of session ID and tool-use ID as a uniqueness key to prevent duplicate entries across multiple Stop hook firings within the same session.

0
ProgrammingDEV Community ·

Browser Tool Tests LLM Security Using Deterministic Grading Without an AI Judge

A developer has released The AI Crash Test, a browser-based tool that evaluates large language models against adversarial prompts using deterministic, code-based grading rather than a secondary AI judge. Users supply their own API key, which is sent directly to the model provider and never passes through the tool's server — a claim the developer says anyone can verify via browser DevTools in about 30 seconds. The grading engine, called gradecore, produces byte-identical scores across repeated runs, eliminating variability from temperature or judge drift. The tool covers eight tasks across seven attack categories, including prompt injection, hallucination baiting, and refusal calibration, generating a severity-weighted vulnerability report. The developer acknowledges that more comprehensive red-teaming tools such as NVIDIA's garak and Microsoft's PyRIT exist, positioning this project not as a new category but as a narrower, auditable alternative focused on reproducibility.

0
ProgrammingDEV Community ·

Manticore Search 27.1.5 Adds Native Authentication and Authorization Controls

Manticore Search has introduced built-in authentication and authorization starting with the 27.x release line, officially available in version 27.1.5. The feature supports SQL and HTTP clients, with login via username/password, Basic auth, or Bearer tokens. A five-action permission model — read, write, schema, replication, and admin — can be scoped to specific tables or wildcards, letting operators grant each user only the access they need. Previously, teams relied on external tools like nginx to manage access control, but the new system brings user and permission management natively into Manticore via SQL commands. The update is aimed at teams running shared or customer-facing search infrastructure where different services, tenants, or roles require distinct trust levels.

Developer finds 64 'active players' may have been inflated by review deploy traffic · ShortSingh