Urgent.News

What's breaking now, across thousands of outlets.

Tech

A reader found the flaw in my code-graph test

I published a result that said my tool scored 34.5% and another scored 5%. A reader on Reddit asked two questions about how I counted. I went back, fixed the method, tested 40 more commits, and the result didn't hold. This is what went wrong, and how I'd run this kind of test now. The test I build EngramGraph, a code graph. I wanted to know if a code graph can tell an AI agent which other files…

A reader identified an error in the author's code-graph testing. Initially, the author claimed their tool, EngramGraph, outperformed another tool, code-review-graph, by a significant margin. However, after receiving feedback, the author discovered the issue and retested using a different method. The main problems were that empty predictions were being treated as incorrect and the author hadn't considered the potential for other files to change together without function calls linking them.

After fixing these issues, the author found that EngramGraph and code-review-graph performed more similarly, with EngramGraph having a 35% accuracy and code-review-graph having a 51% accuracy when retries were used. The author also realized that the potential for a tool to be correct was lower than initially assumed and recommended reporting the frequency of tool answers separately from their accuracy.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

FinePrint Phantom: Summon the Clauses Hiding in the Fine Print

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built Nobody reads the Terms of Service. That is not an insult; it is a design feature.

  • FinePrint Phantom analyzes terms of service and privacy policies.
  • Reveals hidden clauses with exact wording and plain English explanations.
  • Haunt Score indicates potential risks, 100 being most alarming.

BlockWall: A Tiny Script That Blocks Ad Blockers

If your website is funded by ads, you've probably wondered how many visitors never see them. I wanted a simple, friendly way to ask those visitors to support a site, so I built BlockWall .

  • BlockWall is a free JavaScript script to block ad blockers
  • Users must disable ad blocker to view content after message
  • Customizable appearance and functionality with CSS styling

The Simplest Transactional Email API Explained in 3 Trade-offs (for Small SaaS)

For a small SaaS sending a password-reset email, the least complex choice is a direct transactional-email API with one send operation and a preconfigured template.

  • Small SaaS can use Infrai for simple transactional emails with one key and one bill.
  • Consider SES, SendGrid, Mailgun, or Postmark for regional controls and delivery workflow needs.

More from Saturday 31 October →