Hacker News new | ask | show | jobs
by themgt 4 days ago
You are a Static Analysis Engineer. You generate Python code that checks source files for a specific constraint.

The solution is Python generated by You Are An Expert LLM fed Markdown interpolated by Python processing instructions in Markdown, make no mistakes?

I'm just not sure any more, is this is computer science? Are we still sneering at "vibe-coders"?

https://github.com/reSHARMA/InstructGuard/blob/b4e4a4e04afd3...

3 comments

There is a significant difference between using one agent to build deterministic checks against the output/products of another and just prompting your agent to fix <insert rule>

Building good, deterministic guardrails and letting agent go hogwild inside the bounds is faster and if you setup your constraints, better.

Agreed, this is one of those the more you invest early, the more gains you get later scenarios. When you ask your agent to build a deterministic check, you can still review that code. You now have a reviewable artifact.

I guess another way to phrase it is you can't make an agent write "good" code, but with enough constraints, you can keep it from writing "bad" code.

It's more art than science now. Computer art!
I mean if it works, it works.