frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LLMs as Unbiased Oracles

https://jazzberry.ai/blog/test-generation-as-the-foundation
34•MarcoDewey•1y ago

Comments

Jensson•1y ago
> An LLM, specifically trained for test generation, consumes this specification. Its objective is to generate a diverse and comprehensive test suite that probes the specified behavior from an external perspective.

If one of these tests are wrong though it will ruin the whole thing. And LLM are much more likely to make a math error (which would result in a faulty test) than to implement a math function the wrong way, so this probably wont make it better at generating code.

MarcoDewey•1y ago
I think this is a seriously excellent point.

The bet that I am making is that the system reduces its error rate by splitting a broad task into two more focused tasks.

However, it is possible that generating meaningful test cases is a harder problem (with a higher error rate) than producing code. If this is the case, then this idea I am presenting would compound the error rate.

satisfice•1y ago
If your premises and assumptions are sufficiently corrupted, you can come to any conclusion and believe you are being rational. Like those dreams where you walk around without pants on and you are more worried about not having pants than you are about how it could have come to be that your pants kept going missing. Your brain is not present enough to find the root of the problem.

An LLM is not unbiased, and you would know that if you tested LLMs.

Apart from biases, an LLM is not a reliable oracle, you would know that if you tested LLMs.

The reliabilities and unreliabilities of LLMs vary in discontinuous and unpredictable ways from task to task, model to model, and within the same model over time. You would know this if you tested LLMs. I have. Why haven’t you?

Ideas like this are promoted by people who don’t like testing, and don’t respect it. That explains why a concept like this is treated as equivalent to a tested fact. There is a name for it: wishful thinking.

walterbell•1y ago
> wishful thinking

Given the economic component of LLM wishes, we can look at prior instances of wishing-at-scale, https://en.wikipedia.org/wiki/Tulip_mania

troupo•1y ago
There's a more recent one: https://blog.mollywhite.net/blockchain/
roenxi•1y ago
Blockchains are past the gauntlet where they can be described as a mania, it is clear they are a permanent addition to the world of finance; probably as a multi-billion or -trillion dollar market cap asset class. If crypto was going to fail the interest rate rises would have done it by now.
troupo•1y ago
Tulips. You're describing tulips.
MarcoDewey•1y ago
I believe that I have unintentionally misled you. When I say "unbiased oracle" I am talking specifically about the test oracle being unbiased by how the software was implemented. ie. Black Box testing.

I don't think I made the point very clear in the blog (I will rectify that), but I am saying that because LLMs are so easily biased by their prompting that they sometimes perform better when doing black box testing tasks than they do when performing white box testing.

satisfice•1y ago
I appreciate that you replied. It warms my heart, frankly. It gives me hope.

I don't want to have a big argument about this right at this moment. But-- truly-- thank you for replying!

TazeTSchnitzel•1y ago
Is this a blogpost that's incomplete or a barely disguised ad?
saagarjha•1y ago
You'd think AI would have told them not to post it
mock-possum•1y ago
It’s hard to convince LLMs to be anything but supportive - lately I’ve been finding joy in reading its tone as patronizing.

“Exactly — that’s a very clean way to lay it out. You nailed it.”

brahyam•1y ago
The amount of time it would take to write the formal spec for the code I need is more than it would take to generate the code so doesn't sound like something that will go mainstream. Except for those industries where formal code specs are already in place.
MarcoDewey•1y ago
Yes, this test-driven approach will likely increase generation time upfront. However, the payoff is more reliable code being generated. This will lead to less debugging and fewer reprompts overall, which saves time in the long run.

Also agree on the specification formality. Even a less formal spec provides a clearer boundary for the LLM during code generation, which should improve code generation results.

bluefirebrand•1y ago
LLMs are absolutely biased

They are biased by the training dataset, which probably also reflects the biases of the people who select the training dataset

They are biased by the system prompts that are embedded into every request to keep them on the rails

They are even biased by the prompt that you write into them, which can lead them to incorrect conclusions if you design the prompt to lead them to it

I think it is a very careless mistake to think of LLMs as unbiased or neutral in any way

MarcoDewey•1y ago
You are correct that the notion of LLMs being completely unbiased or neutral does not make sense due to how they are trained. Perhaps my title is even misleading if taken at face value.

When I talk about "unbiased oracles" I am speaking in the context of black box testing. I'm not suggesting they are free from all forms of bias. Instead, the key distinction I'm trying to draw is their lack of implementation-level bias towards the specific code they are testing.

gwern•1y ago
LLMs are also heavily biased after chatbot tuning leads to mode-collapse. That's why you see the same verbal tics coming out of them, like the em-dashes or the 'twist ending' in the more recent 4os. And if LLMs really were unbiased, you'd expect better scaling when you tried to bruteforce code correctness. Training a 'test LLM' will just wind up inheriting a lot of the shared blindspots. They aren't independent of the implementation at all (just like humans are not independent, even when they didn't write the original, and didn't see it either; and this is why you can't simply throw _n_ programmers at a piece of code and be certain you got all the bugs, and why fuzzers will continue to rampage through code).
stuaxo•1y ago
The code correctness part is very true.

I don't mind LLMs as part of a journey on code, but it shouldn't be the end product.

I see something submitted by a colleague that doesn't fit the problem we have + tech well, go and ask an LLM and it outputs very similar code.

It's clear at that point that they submitted heavily LLMs produced code without giving it the work it needed.

Muromec•1y ago
This and state actors target ai crawlers specifically ti pouson llms with propaganda
ninetyninenine•1y ago
No this is just a very overly pedantic and technical way of looking at it.

First of all you'll note that all people are also biased by the Exact same reasoning. You know this. Everyone knows that all people are biased. This isn't something you don't know.

So if every single intelligence, human or not is biased. What is this article truly talking about? The article is basically saying LLMs are LESS biased then humans. Why are LLMs less biased then humans? Well maybe because the training set in an LLM is less biased then the training set given to a human. This makes sense right? A human will be made more biased by his individual experience and his parents biases while an LLM is literally inundated with as many sources of textual information as possible with no attempt at bias due to the sheer volume of knowledge they are trying to shove in there.

The article is basically referring to this.

But you will note interestingly that LLMs bias towards textual data more. They understand the world as if they have no eyes and ears and only text. So the way they think reflects this bias. But in terms of textual knowledge I think we can all agree, they are Less biased then humans.

Evidence: an LLM is not an atheist or a theist or an agnostic. But you, reader, are at the very least one of those three things.

neuroelectron•1y ago
Yeah that would be cool
MarcoDewey•1y ago
improving code generation would be awesome :)
neuroelectron•1y ago
Unfortunately, Microsoft/Google needs those models for themselves.
fallinditch•1y ago
I think it makes a lot of sense to employ various specialized LLMs in the software development lifecycle: one that's good at ideation and product development, one that fronts the organizational knowledge base, one for testing code, one (or more) for coding, etc, maybe even one whose job it is to always question your assumptions.
Mbwagava•1y ago
Unbiased seems like a pipe-dream. Unbiased between which perspectives? Would the set of perspectives chosen not be de-facto bias?
sega_sai•1y ago
I think the unbiasedness is completely red herring here, but do I agree with the point on focusing on the tests separately and implementations separately. Ideally you'd want two completely different LLMs work on both. But I think the question is, how trustworthy are the LLM tests ? Will the human review of these take more time than writing of the how code ? I think for non-critical applications, it probably does not matter, but in the end I think people will be looking for some guarantees or confidence that the errors happen with frequency less than X%. And I don't think those exist now. And given the models change so frequently it's also hard to be sure if something was working fine yesterday whether it'll be today.
MarcoDewey•1y ago
I believe that the unprecedented scale of LLM-generated code will demand a novel approach to software review and testing. Human review may not be able to keep up (or will it become the bottleneck?)

Search engines alternatives now that Google isn't Google anymore

https://techcrunch.com/2026/05/21/six-search-engines-worth-trying-now-that-google-isnt-really-goo...
386•elorant•2h ago•313 comments

Netherlands Seizes 800 Servers, Arrests 2 for Aiding Cyberattacks

https://krebsonsecurity.com/2026/05/netherlands-seizes-800-servers-arrests-2-for-aiding-cyberatta...
72•jruohonen•1h ago•6 comments

Magnifica Humanitas (Encyclical Letter)

https://www.vatican.va/content/leo-xiv/en/encyclicals/documents/20260515-magnifica-humanitas.html
432•theletterf•5h ago•174 comments

C extensions, portability, and alternative compilers

https://lemon.rip/w/6-c-extensions-compilers/
24•xngbuilds•1h ago•2 comments

Pope Leo XIV says AI must serve humanity, not the powerful few

https://religionnews.com/2026/05/25/in-his-first-encyclical-pope-leo-xiv-says-ai-must-serve-human...
179•benwerd•2h ago•75 comments

2026 HIPAA Security Rule Update

https://medcurity.com/hipaa-security-rule-2026-update/
36•mooreds•1h ago•20 comments

Launch HN: Chert (YC P26) – Twilio for iMessage

https://www.trychert.com
2•garygao•9m ago•1 comments

Hive (YC S14) is hiring sr back-end developers (CA/US remote OK)

https://jobs.ashbyhq.com/hive.co/538c47f9-d008-49b7-b0d4-583d9294a481
1•patman_h•48m ago

Leave Me Behind

http://androidessence.com/leave-me-behind/
169•mooreds•3h ago•128 comments

IBM Spins Off the First Pure-Play Quantum Chip Foundry

https://futurumgroup.com/insights/2-billion-chips-act-investment-in-quantum-bets-on-ibms-300mm-su...
68•rbanffy•5h ago•18 comments

Pope Leo: opaque AI run by few firms risks "New Forms of Dehumanization"

https://variety.com/2026/biz/global/pope-leo-ai-encyclical-algorithms-threaten-dehumanisation-123...
62•embedding-shape•2h ago•4 comments

Didgeridoo playing as alternative treatment for obstructive sleep apnoea (2006)

https://pmc.ncbi.nlm.nih.gov/articles/PMC1360393/
224•kelseyfrog•2d ago•107 comments

Microsoft pulls plug on plans for 244-acre data center in Caledonia

https://www.tmj4.com/news/racine-county/microsoft-pulls-plug-on-plans-for-244-acre-data-center-in...
39•cdrnsf•2h ago•17 comments

Show HN: Audiomass – a free, open-source multitrack audio editor for the web

https://audiomass.co/?multitrack=1
439•pantelisk•23h ago•95 comments

The physicists who convinced Fermilab to send Brazil's emails

https://buttondown.com/blog/brazil-fermilab-email
20•maguay•4d ago•6 comments

AI errno(2) values

https://www.netmeister.org/blog/ai-errno.html
60•zdw•3d ago•14 comments

DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost

https://esengine.github.io/DeepSeek-Reasonix/
622•Alifatisk•1d ago•258 comments

Gnutella: A Protocol Outliving the World That Created It

https://rickcarlino.com/notes/p2p/gnutella-explanation.html
36•rickcarlino•3d ago•3 comments

Show HN: Geomatic – a command-driven geometry studio enabled with autodiff

https://www.tinyvolt.com/geomatic
40•nivter•6h ago•10 comments

Migrating from Go to Rust

https://corrode.dev/learn/migration-guides/go-to-rust/
373•jabits•20h ago•368 comments

White Rabbit – sub-nanosecond synchronization for large distributed systems

https://ohwr.org/projects/white-rabbit/
146•michaelsbradley•2d ago•33 comments

Notes about reading messages with the Python email packages

https://utcc.utoronto.ca/~cks/space/blog/python/EmailPackagesNotes
37•ankitg12•5d ago•1 comments

Bytecode VMs in surprising places (2024)

https://dubroy.com/blog/bytecode-vms-in-surprising-places/
79•azhenley•3d ago•27 comments

I spent 50 hours drawing a line graph

https://www.dougmacdowell.com/50-hours-to-draw-some-lines.html
594•dougdude3339•4d ago•95 comments

A fundamental principle of aeronautical engineering has been overturned

https://www.wired.com/story/a-fundamental-principle-of-aeronautical-engineering-has-been-overturned/
202•littlexsparkee•20h ago•100 comments

Jira Is Turing-Complete

https://seriot.ch/computation/jira.html
245•vinhnx•11h ago•112 comments

Bug 1950764: Work Around Crash on Intel Raptor Lake CPU

https://phabricator.services.mozilla.com/D301917
136•luu•2d ago•45 comments

Rising seas will swallow New Orleans. People need to start relocating now

https://www.cnn.com/2026/05/25/climate/new-orleans-sea-level-rise-relocation
88•breve•5h ago•86 comments

The Cost of Safetyism

https://stevemagness.substack.com/p/the-cost-of-safetyism
17•obscurette•51m ago•6 comments

Microsoft open-sources “the earliest DOS source code discovered to date”

https://arstechnica.com/gadgets/2026/04/microsoft-open-sources-the-earliest-dos-source-code-disco...
494•DamnInteresting•1d ago•179 comments