Idea: offline monitoring #586
ivanperez-keera
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, Copilot is capable of doing offline monitoring, but we never really made it ergnomic.
I thought of a possible starting point:
If you have a data type to hold concrete samples from externs in a given spec:
a function to read that data from a file:
and a function to inject the data into an existing
Spec
:then we could compose that easily and use the interpreter to check a property.
I imagine there may be a way to make that struct heterogeneous so that values of different types could be read from a file. The
overwriteStreams
function in that case might report additional information, such as an extern in theStructData
not matching the type of the same extern in theSpec
, or anextern
not having as much data as others.I thought I'd put it here in case someone wants to play with this idea.
Beta Was this translation helpful? Give feedback.
All reactions