Urgent.News

What's breaking now, across thousands of outlets.

Tech

Six tests that passed for the wrong reason

My backup script told me the restore was verified. It restored ten tables with zero rows in every one, checked the schema, and printed VERIFIED. The schema check passed because an empty database has every table. The row counts were printed but never compared to anything. A dump that lost every row would have looked exactly like a dump that worked — and I’d have found out during the incident it…

Six tests passed despite not meeting their intended criteria. The backup script indicated successful restoration of ten tables with no rows. The schema check didn't compare row counts, so an empty database appeared verified. A stability gate was flawed, a "recent-quiet" rule was mislabeled, and a health-check scenario maintained a low volume that never existed.

A false-positive corpus falsely reported zero false positives, including one known case. A "cloud scale-out" scenario didn't exercise its intended condition. A bucketing test had identical constant assertion and input. Lastly, a test passed after the tested feature was removed, demonstrating intuition's inability to detect these issues.

The common thread is that a check measuring an adjacent factor looked identical to one measuring the actual claim, appearing green despite failing the necessary condition.

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

What a Linux container really is (it's not a VM)

Right now, on your machine, a process is being lied to . It thinks it's alone on the computer. It thinks it owns the whole filesystem. It thinks its process ID is 1 . None of that is true.

  • Linux container is not a virtual machine, but a process on the same kernel
  • Namespaces and control groups manage process view and resource utilization
  • Docker creates containers by unpacking image, applying namespaces, cgroups, and executing process

Why your RAG returns garbage (and it's not the model)

Your RAG bot just gave a confident, detailed answer. And it's completely wrong . Here's the part that'll annoy you: the model did nothing wrong. It answered perfectly — using the text you handed it.

  • Chunking: Incorrect fixed-length cuts split sentences or questions from their answers
  • Embedding: Retrieval model may not produce similar vectors for related information
  • Ranking: Re-ranker can prioritize most relevant chunks for accurate answers

More from Monday 31 August →