Ephyra is a Rust library written from scratch by Datadog Systems Research for "agentic property testing": after specifying the properties to be satisfied, it first writes a simple valid test case generator, measures code coverage, and then rewrites the generator to cover untested code. Properties are annotated with #[ephyra::test] and run via cargo test; upon failure, it prints the minimized counterexample and a reproducible seed. The ephyra command-line tool can run the entire test suite and launch a local page to view results. The authors claim to have found 70 bugs in SQLite, 20 in PostgreSQL, and 25 in Lean; the case-studies directory contains test code for each project and reports submitted upstream.
Why it matters Fuzzing modifies inputs, whereas this approach rewrites the generator itself; the authors have reported numerous upstream bugs in projects such as SQLite, PostgreSQL, and Lean using it.
Stars 93 (+20 / 24h)
Reasons
- Ranked #5 on Trendshift for the day, with 20 new stars in 24 hours and a total of 93 stars (indicating attention only); released by the Datadog Labs organization.
- The README provides a prompt that can be directly given to an agent, instructing it to autonomously write tests, review them, and triage issues starting from STARTUP.md.
Usage
- Add ephyra = "0.0.1" to the dev-dependencies of your Rust project, write a property function that returns a bool, and run cargo test; or install ephyra-cli via cargo install, then run ephyra guide and ephyra test. You can also give the prompt from the README to a coding agent.
Risks
- The authors state that most of the code is still experimental, the version number remains 0.0.1, and interfaces may change.
- GitHub does not recognize a license, though the README states MIT; the bug counts are the authors' own statistics, and test code for some cases has not yet been released.