SShortSingh.
Back to feed

Why Comparing AI Agent Pass Rates Without Token Budgets Is Misleading

0
·1 views

A software engineering analysis argues that pass rates alone are an unreliable benchmark for evaluating AI coding agents when the token and tool-call budgets differ between runs. An agent that retries repeatedly until hitting a cap may outperform one given a single attempt, yet both results get averaged as if conditions were equal. The proposed protocol requires declaring a fixed budget before any model call, logging every attempt in a JSONL ledger, and publishing three metrics together: pass rate, truncation rate, and tokens-per-success. Task files must be hashed with SHA-256 so any fixture change invalidates the run ID, ensuring reproducibility. The author frames this as a methodological standard rather than a vendor comparison, noting that omitting budget data turns an engineering review into what they call 'a vibe with a percentage sign.'

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 ·

Developer Verifies GitHub Stars for 12 Popular Claude AI Skills, Finds Catalog Data Misleading

A developer named Nokka published an analysis on DEV Community on September 19, 2026, examining 12 popular Claude AI skills by pulling star counts directly from the GitHub API. The investigation was prompted by significant discrepancies found between figures cited on various skill catalog websites and actual GitHub data — for example, the ui-ux-pro-max skill was variously listed at 88,743 to 119,920 stars, while the API returned 128,854. The top-ranked skill by stars was Superpowers (obra/superpowers) with 288,565 stars, followed by Matt Pocock Skills at 265,304 and UI/UX Pro Max at 128,854. Nokka also flagged the Caveman repo's unverified claim of 65% token reduction and noted its license could not be identified as a standard type by the GitHub API. All figures in the article reflect a single-day snapshot and are expected to change daily.

0
ProgrammingDEV Community ·

Step-by-Step Guide: AWS IoT Fleet Provisioning with CSR on ESP32-S3

Fleet provisioning is a secure IoT onboarding method where a device generates its own private key locally and submits a Certificate Signing Request (CSR) to AWS IoT Core to receive a unique X.509 certificate on first connection. The private key never leaves the device, making it suitable for hardware with secure elements and custom PKI setups. A developer has published a detailed walkthrough using an ESP32-S3-WROOM-1 module running on Ubuntu with ESP-IDF v5.5.5 and the esp-aws-iot SDK. The guide covers setting up a provisioning policy in AWS IoT, generating claim certificates, building the firmware, and configuring a provisioning template to register and activate devices. The approach supports both AWS-managed and self-managed certificate authorities, offering flexibility in certificate validity and signing algorithms.

0
ProgrammingDEV Community ·

MongoDB Indexes Explained: B-Trees, ESR Rule, and Query Optimization Tips

A technical guide published on DEV Community revisits how MongoDB uses B-Tree data structures to power collection indexes, enabling logarithmic O(log N) query lookups instead of full document scans. Every MongoDB collection automatically receives a unique index on the _id field, while additional indexes must be designed carefully using the Equality-Sort-Range (ESR) rule to avoid inefficient in-memory sorting. Developers are advised to run explain('executionStats') to detect slow COLLSCAN operations and monitor the ratio of documents examined versus documents returned. The guide also covers compound, multikey, text, and TTL index types, mapping each to specific query patterns. A key trade-off highlighted is that indexes consume memory and slow down write operations, so write-heavy workloads such as IoT telemetry should use as few indexes as possible.

0
ProgrammingDEV Community ·

Fix macOS Stage Manager Full-Screen Gap Caused by External Keyboard Fn Key Limits

Mac users running Stage Manager often find that window-maximizing tools like Rectangle leave a 15–20% strip on the left side of the screen reserved for app thumbnails. The built-in macOS 'Fill' command solves this by stretching a window edge-to-edge while keeping Stage Manager active, but its default shortcut Fn+Control+F fails on third-party keyboards because those devices process the Fn key internally and never pass it to macOS. Users can work around this by creating a custom keyboard shortcut — such as Control+Option+F — mapped to the menu item 'Fill' under System Settings > Keyboard > App Shortcuts. Logitech keyboard users should also switch their device to Mac mode by holding Fn+O for three seconds, ensuring modifier keys map correctly to Apple's layout. Together, these two steps restore full-screen functionality without requiring an Apple Magic Keyboard.