Skip to content

How to prevent breakage from changes to structural_simplify #2000

Closed
@baggepinnen

Description

@baggepinnen

I very often run into problems where tests or documentation builds suddenly start failing because a change has been made somewhere in the simplification pipeline that changes what variables I need to provide initial conditions for. As an example, I just started getting the error

SymbolicUtils.Symbolic{Real}[link1₊x1ˍtt(t), link1₊y_cmˍtt(t)] are missing from the variable map.

in a documentation example that has previously been running just fine. I'm now being requested to provide initial conditions for the second derivatives of some of the variables in my system. Technically, any change to structural_simplify that would force the user to provide such initial conditions where they were not previously required is a breaking change. Is there a good way for the user to guard themselves from such changes to not have tests broken every now and then?

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