fret icon indicating copy to clipboard operation
fret copied to clipboard

JavaScript error running realizability analysis

Open smithdtyler opened this issue 1 year ago • 5 comments

FRET Version: ~~27.3.7~~ 2.9.0 OS: Ubuntu 22 Project: https://github.com/NASA-SW-VnV/fret/tree/master/caseStudies/LiftPlusCruise Backend: Kind2

I imported the LPC example, navigated to Realizability, clicked Check Realizability (with all requirements selected) and got this pop up:

Screenshot 2024-12-11 at 2 32 44 PM

smithdtyler avatar Dec 11 '24 20:12 smithdtyler

Hi @smithdtyler ,

Thanks for reporting this. Could you provide me with additional information? Specifically:

  1. There are two projects under the LiftPlusCruise case study: LPC_full_reqts_and_vars.json and LPC_mini_reqts_and_vars.json . Which one were you using when you encountered this issue?
  2. What versions of Kind 2 and Z3 do you have installed?

Best Regards,

Andreas

andreaskatis avatar Dec 11 '24 21:12 andreaskatis

  1. I'm pretty sure I selected the LPC_full_reqts_and_vars.json. FRET shows 57 total requirements in the project and 13 variables, if that helps.

  2. Kind2 v2.2.0, Z3 version 4.8.12

Thanks! -Tyler

smithdtyler avatar Dec 11 '24 21:12 smithdtyler

Hi Tyler,

The error is at the level of Kind 2, which seems to be failing to parse the generated Lustre file. I downgraded to Kind 2.1.1 and that version seems to have no issues with it. I will forward the issue to the Kind 2 developers.

Thanks again for letting us know!

Andreas

andreaskatis avatar Dec 11 '24 21:12 andreaskatis

Thanks @andreaskatis I will downgrade Kind2 as a workaround for now as well.

smithdtyler avatar Dec 12 '24 12:12 smithdtyler

Hi @smithdtyler ,

The issue has been fixed in Kind 2's develop branch (https://github.com/kind2-mc/kind2) but is not yet part of an official release. We are closing this issue as no action is needed on our end.

Best Regards,

Andreas

andreaskatis avatar Jan 09 '25 22:01 andreaskatis