Skip to content

Add functionality to compare parsers to the reference implementation #121

@grahamgower

Description

@grahamgower

Parser implementations wish to check that their output matches the reference implementation (e.g. in demes-c https://github.com/grahamgower/demes-c/blob/main/tests/compare-reference-implementation.py). To avoid duplicating that functionality into demes-python (popsim-consortium/demes-python#430), we should probably include this in the spec repo.

Note that this is distinct from the graph equality checks that we have in demes-python, which ignores various fields such as the metadata, description, and the current time units (it converts to generations).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions