Open a-gardner1 opened 1 year ago
This may be sufficiently covered by a new feature of cache extraction that will attempt to trigger option inference upon matching certain Coq error messages. See https://github.com/a-gardner1/coq-pearls/blob/f7ae3d74373bfa859dcc295b8b7f2705995d43dc/prism/data/extract_cache.py#L1455
Sometimes even if the directory structure does not change, the IQR flags do. We do not currently have a means to detect this situation as a health-check pre-build to trigger inference of SerAPI options.
The recommended approach is to
grep
Require
statements from files in the project (preferably limited to those obtained viaProject.get_file_list
) and determine if the current IQR flags are reflected in theRequire
statements.Completion of this should wait for #36 to be merged to reuse its function for obtaining
Require
statements per file.