News for hackers. Stuff that matters.
Re:Gemini 2.5 Flash by jdthedisciple on Thursday April 17, 2025 @06:37PM (#43722979)
> thousands of points of nasty unstructured client data

What I always wonder in these kinds of cases is: What makes you confident the AI actually did a good job since presumably you haven't looked at the thousands of client data yourself?

For all you know it made up 50% of the result.

Re:Gemini 2.5 Flash by tominous on Thursday April 17, 2025 @07:12PM (#43723215)
In my case I had hundreds of invoices in a not-very-consistent PDF format which I had contemporaneously tracked in spreadsheets. After data extraction (pdftotext + OpenAI API), I cross-checked against the spreadsheets, and for any discrepancies I reviewed the original PDFs and old bank statements.

The main issue I had was it was surprisingly hard to get the model to consistently strip commas from dollar values, which broke the csv output I asked for. I gave up on prompt engineering it to perfection, and just looped around it with a regex check.

Otherwise, accuracy was extremely good and it surfaced a few errors in my spreadsheets over the years.

Re:Gemini 2.5 Flash by jofzar on Thursday April 17, 2025 @09:04PM (#43723912)
I hope there is a future where csv comma's don't screw up data. I know it will never happen but it's a nightmare.

Everyone has a story of a csv formatting nightmare

Re:Gemini 2.5 Flash by summerlight on Thursday April 17, 2025 @07:16PM (#43723246)
Though the same logic can be applied to everywhere, right? Even if it's done by human interns, you need to audit everything to be 100% confident or just have some trust on them.
Re:Gemini 2.5 Flash by andrei_says_ on Friday April 18, 2025 @02:34PM (#43730698)
Not the same logic because interns can make meaning out of the data - that’s built-in error correction.

They also remember what they did - if you spot one misunderstanding, there’s a chance they’ll be able to check all similar scenarios.

Comparing the mechanics of an LLM to human intelligence shows deep misunderstanding of one, the other, or both - if done in good faith of course.

Re:Gemini 2.5 Flash by summerlight on Friday April 18, 2025 @06:14PM (#43732297)
Not sure why you're trying to conflate intellectual capability problems into this and complicate the argument? The problem layout is the same. You delegate the works to someone so you cannot understand all the details. This makes a fundamental tension between trust and confidence. Their parameters might be different due to intellectual capability, but whoever you're going to delegate, you cannot evade this trade-off.

BTW, not sure if you have experiences of delegating some works to human interns or new grads and being rewarded by disastrous results? I've done that multiple times and don't trust anyone too much. This is why we typically develop review processes, guardrails etc etc.

Re:Gemini 2.5 Flash by andrei_says_ on Monday April 21, 2025 @10:47PM (#43758652)
> not sure if you have experiences of delegating some works to human interns or new grads and being rewarded by disastrous results?

Oh yes I have ;)

Which is why I always explain the why behind the task.

Re:Gemini 2.5 Flash by pamplemoose on Thursday April 17, 2025 @07:11PM (#43723204)
You take a sample and check
Re:Gemini 2.5 Flash by golergka on Thursday April 17, 2025 @07:08PM (#43723195)
Many types of data have very easily checkable aggregates. Think accounting books.
Re:Gemini 2.5 Flash by Nihilartikel on Thursday April 17, 2025 @08:33PM (#43723728)
For what it's worth, I did check over many hundreds of them. Formatted things for side by side comparison and ordered by some heuristics of data nastiness.

It wasn't a one shot deal at all. I found the ambiguous modalities in the data and hand corrected examples to include in the prompt. After about 10 corrections and some exposition about the cases it seemed to misundestand, it got really good. Edit: not too different from a feedback loop with an intern ;)

Re:Gemini 2.5 Flash by jofzar on Thursday April 17, 2025 @09:02PM (#43723898)
It also depends on what you are using the data for, if it's for non (precise) data based decisions then it's fine. Specially if you looking for "vibe" based decisions before then dedicating time to "actually" process the data for confirmation.

30$ to get an view into data that would take at least x many hours of someone's time is actually super cheap, specially if the decision of that result is then to invest or not invest the x many hours to confirm it.

Re:Gemini 2.5 Flash by mediaman on Thursday April 17, 2025 @11:20PM (#43724685)
This was solved a hundred years ago.

It's the same problem factories have: they produce a lot of parts, and it's very expensive to put a full operator or more on a machine to do 100% part inspection. And the machines aren't perfect, so we can't just trust that they work.

So starting in the 1920s Walter Shewhart and Edward Deming came up with Statistical Process Control. We accept the quality of the product produced based on the variance we see of samples, and how they measure against upper and lower control limits.

Based on that, we can estimate a "good parts rate" (which later got used in ideas like Six Sigma to describe the probability of bad parts being passed).

The software industry was built on determinism, but now software engineers will need to learn the statistical methods created by engineers who have forever lived in the stochastic world of making physical products.

Re:Gemini 2.5 Flash by thawawaycold on Friday April 18, 2025 @02:43AM (#43725614)
I hope you're being sarcastic. SPC is necessary because mechanical parts have physical tolerances and manufacturing processes are affected by unavoidable statistical variations; it is beyond idiotic to be provided with a machine that can execute deterministic, repeatable processes and then throw that all into the gutter for mere convenience, justifying that simply because "the time is ripe for SWE to learn statistics"
Re:Gemini 2.5 Flash by int_19h on Friday April 18, 2025 @03:22AM (#43725804)
We don't know how to implement a "deterministic, repeatable process" that can look at a bug in a repo and implement a fix end-to-end.
Re:Gemini 2.5 Flash by thawawaycold on Friday April 18, 2025 @03:35AM (#43725883)
that is not what OP was talking about though.
Re:Gemini 2.5 Flash by rorytbyrne on Friday April 18, 2025 @05:23AM (#43726381)
LLMs are literally stochastic, so the point is the same no matter what the example application is.
Re:Gemini 2.5 Flash by warkdarrior on Friday April 18, 2025 @02:26PM (#43730632)
Humans are literally stochastic, so the point is the same no matter what the example application is.
Re:Gemini 2.5 Flash by perching_aix on Friday April 18, 2025 @02:09PM (#43730489)
The deterministic, repeatable process of human (and now machine) judgement and semantic processing?
Re:Gemini 2.5 Flash by visarga on Friday April 18, 2025 @12:50AM (#43725123)
In my professional opinion they can extract data at 85-95% accuracy.
Re:Gemini 2.5 Flash by FooBarWidget on Friday April 18, 2025 @01:05AM (#43725193)
You can use AI to verify its own work. Last time I split a C++ header file into header + implementation file. I noticed some code got rewritten in a wrong manner, so I asked it to compare the new implementation file against the original header file, but to do so one method at a time. For each method, say whether the code is exactly the same and has the same behavior, ignoring superficial syntax changes and renames. Took me a few times to get the prompt right, though.