Hacker News new | ask | show | jobs
by jkwang 19 days ago
The screenshot-to-docx scoring loop is a clever way to verify layout fidelity. Very useful for anyone generating reports from HTML.
1 comments

Thanks, and just to mention, I’ve had awesome results using Autoresearch loops on other things like SQL performance.

Prompt example:

You are a SQL performance researcher. Run the following SQL query to establish a baseline, then come up with hypotheses to improve performance. Score each result and run 5 iterations. Avoid any regressions, each result must contain the exact same rows and columns.

See https://github.com/karpathy/autoresearch

Also works wonderful for generating AI scripts, goal being increasing the elo rating after a tournament run. Also having deep and shallow tests save a lot of time. Deep tests are run sparingly while shallow tests are run after each change.