-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
78 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
examples/FM24/edu.toronto.cs.se.mmint.examples.fm24/FM24/model/examples.mid
This file was deleted.
Oops, something went wrong.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...oronto.cs.se.mmint.examples.fm24/.project → ...ronto.cs.se.mmint.examples.ifm24/.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...o.cs.se.mmint.examples.fm24/FM24/.project → ...cs.se.mmint.examples.ifm24/IFM24/.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
....cs.se.mmint.examples.fm24/FM24/README.md → ...s.se.mmint.examples.ifm24/IFM24/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
## Formal Methods 2024 paper | ||
## Integrated Formal Methods 2024 paper | ||
|
||
Formal Foundations of Lifted Assurance Cases for Product Lines | ||
PLACIDUS: Engineering Product Lines of Rigorous Assurance Cases | ||
|
||
### Instructions to reproduce the examples | ||
|
||
1. MMINT | ||
1. Install Java and Eclipse following the [requirements](/README.md#requirements) and add `https://adisandro.github.io/mmint/develop` to the list of software sites (`Help > Install New Software > Available Software Sites`). | ||
2. From the top menu select `Help > Install New Software` and install `Examples > MMINT - FM24 paper`. | ||
3. From the top menu select `File > New > Example > MMINT Examples > FM24`. | ||
4. Open `/FM24/model/examples.middiag`. | ||
2. From the top menu select `Help > Install New Software` and install `Examples > MMINT - IFM24 paper`. | ||
3. From the top menu select `File > New > Example > MMINT Examples > IFM24`. | ||
4. Open `/IFM24/model/examples.middiag`. | ||
5. Double-click on the yellow box named `ac : ProductLine` to open the PL AC. During any of the following steps, right-click in the diagram background and select `Layout > All` to automatically arrange all nodes. | ||
|
||
2. Querying AC template (Sec. 5.2) | ||
1. Right-click in the diagram background, select `MMINT > Import Template`, select the template `/FM24/templates/QueryAnalysis.gsn`, select the analysis class `/FM24/src/fm24/VQLQueryAnalysis.java`. | ||
1. Right-click in the diagram background, select `MMINT > Import Template`, select the template `/IFM24/templates/QueryAnalysis.gsn`, select the analysis class `/IFM24/src/ifm24/VQLQueryAnalysis.java`. | ||
2. Right-click on any of the imported nodes, select `MMINT > Instantiate Template`. | ||
3. Insert the safety goal text `the system does not administer a dose`, select the PL model `/FM24/model/R1.productline`, select the query `/FM24/src/fm24/queries.vql`, select `Viatra for Product Lines`. The PL AC is populated with the results of the query analysis. | ||
3. Insert the safety goal text `the system does not administer a dose`, select the PL model `/IFM24/model/R1.productline`, select the query `/IFM24/src/ifm24/queries.vql`, select `Viatra for Product Lines`. The PL AC is populated with the results of the query analysis. | ||
|
||
3. Model Checking AC template (Sec. 5.2) | ||
1. Right-click in the diagram background, select `MMINT > Import Template`, select the template `/FM24/templates/ModelCheckingAnalysis.gsn`, select the analysis class `/FM24/src/fm24/FTS4VMCAnalysis.java`. | ||
1. Right-click in the diagram background, select `MMINT > Import Template`, select the template `/IFM24/templates/ModelCheckingAnalysis.gsn`, select the analysis class `/IFM24/src/ifm24/FTS4VMCAnalysis.java`. | ||
2. (Ids refer to nodes from this template.) Click on the arrow between goal `G0` and strategy `S0`, press delete on your keyboard to delete it, click on the goal `G0`, press delete on your keyboard to delete it, from the palette on the right select `Create supported-by Link`, click on the goal with query result `Alrm_DoseRateHardLimitsViolationS`, click on the strategy `S0` to connect them. | ||
3. Right-click on any of the imported nodes from this template, select `MMINT > Instantiate Template`. | ||
4. (This step works only in Linux, requires Python installed, an internet connection, and takes a while to complete. It downloads and uses the FTS4VMC tool at https://github.com/fts4vmc/FTS4VMC.) Insert the property `AG(Alrm_DoseRateHardLimitsViolationS => A[not(Infusion_NormalOperationS) U (E_ClearAlarmS)])`. The check succeeds and the PL AC is populated with the results of the model checking analysis. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions
19
examples/IFM24/edu.toronto.cs.se.mmint.examples.ifm24/IFM24/model/examples.mid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<mid:MID xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:editor="http://se.cs.toronto.edu/mmint/MID/Editor" xmlns:file="http://se.cs.toronto.edu/mmint/File" xmlns:mid="http://se.cs.toronto.edu/mmint/MID"> | ||
<models uri="/IFM24/model/ac.productline" name="ac" metatypeUri="model://edu.toronto.cs.se.mmint.productline" dynamic="true" fileExtension="productline" editors="//@editors.0"/> | ||
<models xsi:type="file:FileModel" uri="/IFM24/model/R1.txt" name="R1.txt" metatypeUri="http://se.cs.toronto.edu/mmint/File" dynamic="true" fileExtension="txt"/> | ||
<models uri="/IFM24/model/R1.productline" name="R1" metatypeUri="model://edu.toronto.cs.se.mmint.productline" dynamic="true" origin="CREATED" fileExtension="productline" editors="//@editors.1"/> | ||
<editors xsi:type="editor:Diagram" uri="/IFM24/representations.aird#_9lehsPeVEe67baVPhpR8qQ" name="ProductLine Sirius Diagram for model /IFM24/model/ac.productline" metatypeUri="edu.toronto.cs.se.mmint.productline.design" dynamic="true" modelUri="/IFM24/model/ac.productline" id="edu.toronto.cs.se.mmint.productline.design" wizardId="edu.toronto.cs.se.mmint.productline.presentation.ProductLineModelWizardID"> | ||
<fileExtensions>aird</fileExtensions> | ||
</editors> | ||
<editors uri="/IFM24/model/R1.productline" name="ProductLine EMF Editor for model /IFM24/model/R1.productline" metatypeUri="edu.toronto.cs.se.mmint.productline.editor" dynamic="true" modelUri="/IFM24/model/R1.productline" id="edu.toronto.cs.se.mmint.productline.presentation.PLEditorID" wizardId="edu.toronto.cs.se.mmint.productline.presentation.PLModelWizardID"> | ||
<fileExtensions>productline</fileExtensions> | ||
</editors> | ||
<operators uri="" name="ToProductLine" metatypeUri="edu.toronto.cs.se.mmint.examples.ifm24.operators.TextFileToSMProductLine" dynamic="true" workingPath="/IFM24/model" executionTime="179087478"> | ||
<inputs uri="" name="product" metatypeUri="edu.toronto.cs.se.mmint.examples.ifm24.operators.TextFileToSMProductLine/product" dynamic="true" lowerBound="1" upperBound="1" target="//@models.1"/> | ||
<outputs uri="" name="productLine" metatypeUri="edu.toronto.cs.se.mmint.examples.ifm24.operators.TextFileToSMProductLine/productLine" dynamic="true" lowerBound="1" upperBound="1" target="//@models.2"/> | ||
</operators> | ||
<extendibleTable key="/IFM24/model/ac.productline" value="//@models.0"/> | ||
<extendibleTable key="/IFM24/model/R1.txt" value="//@models.1"/> | ||
<extendibleTable key="/IFM24/model/R1.productline" value="//@models.2"/> | ||
</mid:MID> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
....mmint.examples.fm24/META-INF/MANIFEST.MF → ...mmint.examples.ifm24/META-INF/MANIFEST.MF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,6 @@ output.. = target/classes/ | |
bin.includes = META-INF/,\ | ||
.,\ | ||
plugin.xml,\ | ||
FM24/,\ | ||
IFM24/,\ | ||
plugin.properties | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s.se.mmint.examples.fm24.feature/.project → ....se.mmint.examples.ifm24.feature/.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.