Skip to content

Support and exploit doctests in higher-order Template specifications #433

@eb8680

Description

@eb8680

Python's doctest library allows classes, functions or modules to include runnable test code in their docstrings that can be accessed and evaluated programmatically. We should allow synthesis agents to exploit that as an additional source of feedback - they should be able to write docstrings that include doctests for the code they generate, and to run the doctests to see if their code works in the same way they might run the typechecker (#361).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions