← All projects
Project record1 mention
Originally shared on Hacker News

AI "assume" function library

A library that lets developers "assume" a function exists and have AI generate its implementation on demand, using aggressive memoization to keep it from being too expensive. It is being refined to be more modular, flexible, and deterministic; example uses include assuming a symbolic differentiator that takes a string and differentiates with respect to x, and a function that turns a polynomial string into a regular function.

Last shared
01 / The problem

What it addresses

Frustration with people committing AI-generated code.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. AI "assume" function library

    A library that lets developers "assume" a function exists and have AI generate its implementation on demand, using aggressive memoization to keep it from being too expensive. It is being refined to be more modular, flexible, and deterministic; example uses include assuming a symbolic differentiator that takes a string and differentiates with respect to x, and a function that turns a polynomial string into a regular function.

    Problem: Frustration with people committing AI-generated code.

    Posted by @tombert · Original source ↗

    Source text · @tombert · · Source ↗

    I have grown tired of people committing AI generated code, so I've been working on a library (written by my own fingers) that allows you to "assume" certain functions exist and have AI generate it for you, and use aggressive memoization to avoid it being too expensive.