SShortSingh.
Back to feed

AI Code Review Tool Catches Cross-Repo API Break That Local Tests Missed

0
·60 views

A developer built two connected services to test whether AI code review tool Qodo could detect a breaking change that appeared safe within a single repository. A PR on an orders API changed the 'status' field from a plain string to a nested object, while the PR description explicitly stated no downstream consumers were affected. In reality, a separate client service still compared order.status against the string 'paid', meaning paid orders would silently stop being fulfilled with no errors or logs. When Qodo had access to the connected client repository, it flagged the incompatibility within 90 seconds, even quoting the PR description's claim back as evidence it was wrong. A controlled retest with the client repo disconnected returned a clean pass, confirming that cross-repository visibility — not just text analysis — drove the correct finding.

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 ·

LLMOps: Why Shipping AI to Production Is an Operations Problem

A chatbot on Air Canada's website wrongly told a customer he could claim a bereavement discount after travel, contradicting the airline's own policy page. When the airline refused the refund, British Columbia's Civil Resolution Tribunal ruled in February 2024 that the company was responsible for its chatbot's statements and ordered it to pay C$812.02. The article argues that a deployed model is effectively a vendor dependency whose outputs carry the company's liability, so production readiness requires operating it, not just building it. It identifies four metrics to track: p95 latency, error rate, cost per 1,000 requests, and eval pass rate. It presents these as the concrete measures that distinguish a live product from a demo, and frames the piece as the final part of an AI engineering series.

0
ProgrammingDEV Community ·

Developer Builds C++ Monte Carlo Stock Price Simulator Using CMake

A developer has built a stock price simulator written in C++ with CMake as its build system. The project's main purpose is to help the creator gain hands-on experience with both C++ and CMake. The tool forecasts possible future stock prices by starting from the current price and applying random shocks drawn from a normal distribution. The developer is currently adding support for historical stock market data and has shared the code on GitHub, requesting feedback from readers.

0
ProgrammingDEV Community ·

Guide Shows How to Export Instagram Post Comments to CSV Using an API

A developer who builds the SocialHolmes social data API explains why collecting comments from public Instagram posts is difficult, citing login walls, rate limits, frequently changing internal queries, and paginated loading. The article reviews three approaches: the official Instagram Graph API, which only covers accounts connected to the developer's app, do-it-yourself scraping, and paid scraping services. It then walks through a curl workflow that starts a scraping run, polls its status, and reads results in pages of up to 100 comments. A Python script is provided that automates the process and saves the output to a CSV file.

0
ProgrammingDEV Community ·

Developer Shares Free, Local AI Setup Using Ollama as Alternative to Cloud APIs

A DEV Community post argues that cloud AI services charge per token and send user data to remote servers. The author presents Ollama as a way to run language models such as llama3.2 locally on a laptop at no cost. The piece includes setup commands and a short Python example that queries the local model through a simple HTTP request. It also lists several models suited to different tasks, including code, lightweight work, and complex reasoning. The author says they built 45 open-source tools with this approach.