An unofficial, read-only Hacker News reader.

Show HN: An agent skill that optimizes code with falsifiable hypotheses (opens external site)

136 points by 0x23 6 days ago | chszlab.github.io | 15 comments on HN

Comments (15)

  1. Looking forward to passing this to my little fleet of specialists. Anything that helps to articulate the process of optimization through rigor is alright with me.
  2. cool stuff, can try it with GPU porting to tinygrad
    Replies (2)
    1. If you could contribute that to the knowledge-base, would be greatly appreciated!
    2. Looked up tinygrad. Very cool. I'd get a box, except I'm saving for a slate pickup. Roughly the same price, but I can drive the slate places. :-)

      I'm guessing that they remembered that the people who made money in gold rushes were the ones selling shovels and pickaxes.

  3. Replies (1)
    1. Thanks!
  4. the author is optimizing himself away a great man
  5. I've been doing a lowbrow version of this for a while, where during the reviewing of AI generated changes, I'd ask for a justifications / "concern-addressed" based tabulation of the changes proposed.

    This allows me to steamroll overengineered parts, or identify assumptions that are not actually practical or rooted in reality. To an extent, this can indeed be automated by just putting the agents in a loop as described, especially if the reviewer agent is from a different provider. Nice to see someone do a proper version of this.

  6. Most of these "falsifiable hypotheses" implicitly mean "for all inputs" -- or they would, if stated formally. This is a $\Pi_1$ condition, which is not in fact falsifiable by executing the code -- you'd need to execute it for infinitely many inputs!

    Presumably you're stochastically approximating the real goal hypothesis. You should be more forthright about this; your AI-generated page really sweeps it under the rug.

    Replies (1)
    1. Love to see people running into the Godel machine problem irl!
  7. optimizing yourself away heck yeeee
  8. I need more controls. Does this work better than just telling fable to improve the run time? Is there still juice to be squeezed out of the runtime.

    Does the system limit the type of experiments it does? Have you assessed the experiments with a random sampling of independent llm reviewers for quality, appropriate power and methodology? I've found independent review is necessary for dependable experiments.

  9. This very similiar (but also in some things different) to my skill I made 4 months ago for debugging using falsifiable hypotheses: https://github.com/ioma8/hypothesis-debugging I write more about this on my blog: https://www.slowchronicle.com/posts/llm-assisted-reverse-eng...
  10. cool stuff ill try it
  11. My idea from the investment field: writing the falsifier is not the difficult part; what is tricky is not move the hurdle after you see the result. You seem to have frozen the falsifiers before the test, and keep traces of any relaxation. Question: do the acceptance criteria get frozen before the experiment, so that the agent can't falsify them post-factum?