Skip to content

Add Doctests #11

@Ritunjai-Sharma

Description

@Ritunjai-Sharma

What
Add doctests to main code, i.e., interpreter.py

Why:
Provide clear examples of how functions are expected to behave, making the code easier to understand for developers, while validating the correctness of the code by running the examples as tests. This is better than having example notebooks which aren't necessarily run/tested regularly and can become outdated.

How:
Use the notebooks in the example folder as reference and add doctests to functions in interpreter.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions