Skip to content

Kernel hooks to check output robustly #26

Open
@takluyver

Description

@takluyver

This is an ambitious idea, and I'm not yet entirely sure of the details.

Checking output data is often tricky: small changes can be meaningful, while large changes can easily be unimportant (e.g. in a PNG plot). It would be nice to have some hooks to communicate with kernels for more intelligent checks (e.g. using plotchecker on matplotlib plots).

How might this work? Could we define a special output mimetype which kernels would produce (e.g. application/x-nbval-output-data), and a way for the test framework to call a check function in the kernel like check_output('saved output data', 'computed output data')?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions