vehicle-lang / vehicle

A toolkit for enforcing logical specifications on neural networks
https://vehicle-lang.readthedocs.io/
Other
81 stars 7 forks source link

Refactor warning handling and add warnings for #714 and #718 #719

Closed MatthewDaggitt closed 1 year ago

MatthewDaggitt commented 1 year ago

Warnings are now stored separately by the logger, and there's a hashing-based mechanism for avoiding repeatedly printing the same warning over and over again (e.g. if it's thrown once many times per query in the compilation of a single property).

Fixes #718 by adding a warning for it, and also adds a warning for #714 (but the underlying bug still needs to be fixed).