kbss-cvut / fta-fmea-ui Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
The quick-fix comments out the profile based solution.
Restore the profile based solution and make sure that the avic deployment works properly.
User should be able to load reliability data regarding component's functions.
The accepted format for the import is a csv with the following columns:
The solution should also accept import from an ontology file
Given a failure mode with name "fm". Currently the name pattern is "function fails as fm". Change the pattern to be just "fm".
When there are many required functions with longer names the submit button for the function form is rendered off screen.
Make sure that the button's position is rendered on screen.
A/C:
The link https://kbss.felk.cvut.cz/fta-fmea-demo/fta/instance-1287330450 does not work (I get 404 but instead it should redirect me to login page).
See how termit-ui works :).
In the Dashboard, when a System/FTA/FMEA artifact is just renamed. When the form is visited right after the first rename the form shows the old name (the name before the first rename).
Fix form to show the current name of the renamed artifact.
Calculation of probability of FTA events does not consider that some of the events in the FTA are the same event, i.e. there are events in the tree which are not independent.
To fix this use an existing library (https://github.com/mbarrere/mpmcs4fta) to calculate probability in a fault tree.
In the form for creating and editing functions in the System diagram add an editable list which contains failure modes that impair the function.
The form should allow to add and remove failure modes from a list.
Each failure mode in the list of failure modes should show in parenthesis the label of the component of the failure mode.
The algorithm generating FTA from a system description should not generate new failure modes.
For more details see GD
Reproduce:
Add an editable Note column in the FMEA table.
The form for editing the note should have one multiline text field.
In the data model the note is associated with a row of the FMEA.
Relax the restriction to specify labels with at least 3 characters.
This holds for all model elements
Visiting an FMEA (navigating from dashboard, refreshing a FMEA page) causes the its rows to grow in number. It seams that the number of rows doubles on each visit.
See it here, suggest changes:
#36
Acceptance criteria
Create a diagram component that can visualize the behavioral description of the edited system.
Nodes - the nodes in the diagram are behaviors, the label of the node is the name of the behavior. Complex behaviors should be rendered with a corresponding logic gate (AND or OR).
Edges - there are three types of edges
The diagram is read only.
Add a layout button to allow user to layout the diagram automatically (if supported by the library).
User should be able to manipulate the position of diagram nodes by dragging them.
User should be able to export an image from the diagram.
The diagram should be accessible trough a link in the system editor.
In the behavioral diagram user should be able to navigate back to the system editor.
Within the deployment https://kbss.felk.cvut.cz/fta-fmea-demo/, create examples of FTA/FMEA related to paper. Describe them in the README.
A/C;
A/C:
Inspiration:
In System editor when editing failure modes of component as well as when creating failure modes for components the user should be able to specify a Failure Mode Type with two possible options:
The user interface should look as shown in the screenshot below.
Fix the generation of FMEA table from a fault tree. The procedure processes each tree path, i.e. fault events from the leaf failure event (e.g. basic failure event) to root failure event in the FT. The procedure should first select the Function and then derive Component, Failure Mode and local, final and intermediate effects.
Finally make sure that the each generated row in the table is unique.
In the component form in the system editor, user should no be able to select or see failure mode causes in:
It seems that some commits in branch feature/function-parts are not merged in main.
Commits:
[Feature #17] Allow to add existing function to a component Matej Kulich 2/9/2022 4:25 PM d36b9de
[Feature #15 and #17] Add existing function to a component, fix bug with bad assign Matej Kulich 2/3/2022 1:31 PM 14d0f02
[Feature #11] Add required functions highlighting Matej Kulich 1/27/2022 7:01 PM df2b1ca
[ Feature #12 ] Add managing function parts Matej Kulich 1/25/2022 9:30 PM 4745802
Check if the changes in those commits are implemented in main.
If changes are not found in main, merge and resolve conflicts for the changes from those commits into main.
If changes are found in main: specify the commits in main where the changes are implemented.
The UI does not fetch data from the backend after the user clicks several times on and off a component in the system editor.
Update the algorithm from issue #5. Given a function the algorithm transforms the tree of its required functions (Function.requiredFunctions) into a fault tree. The algorithm should be updated to handle changes in the behavioral model introduced in ticket fta-fmea/Normalize the Behavior Model #8
Implementation Notes:
Compared to the previous version of the algorithm functions can fail because of their parts. Here is a summary of all sources of fault events:
Compared to the previous version the new version of the algorithm should process failure mode parts. Generate fault events as follows:
The diagram below shows an example of the transformation. Note that the fault event labels follow the label patterns defined above.
Refactor the 'hasComponent 'relationship between System and component from
http://onto.fel.cvut.cz/ontologies/fta-fmea-application/hasComponent
to
http://onto.fel.cvut.cz/ontologies/fta-fmea-application/hasPartComponent
Provide update query to do this refactoring.
Apply refactoring to fta-fmea-demo repository after issue #53 is merged into main.
Apply refactoring to fta-fmea-cape repository after issue #53 is merged into avic.
Make the Mitigation column in the FMEA table editable.
User should be able to create, edit and delete mitigations on each row.
One table row has at most one mitigation and one mitigation is associated with at most one row.
The mitigation form should include the following fields:
Currently only new functions and failure modes can be added to a component. Existing failure modes and components are not cannot be added to a component.
Acceptance Criteria:
In some cases data of an organization cannot be public and thus we should disable registration of users in such case.
A/C:
To reproduce the issue:
Issue description:
The created system label moves the controls of the system widget. The user cannot access system widget actoins available under the three dots, i.e. delete and rename
Acceptance criteria
Generate Fault Tree Model based on the functional dependencies (FD) network defined trough the field Function.requiredFunctions.
Acceptance criteria:
As a user, I would like to use autocomplete tree component to select required function. The tree itself should be composed of partonomy of components where leaf nodes are functions to select.
Additional notes:
Use inteligent tree component for than. See termit how inteligent tree component is used.
Reproduction:
Extend the form ComponentFunctionEdit (system-editor/component-form/function-form) to allow the user to specify whether the function is atomic or has parts (ATOMIC, or AND or OR) and if the function has parts to select function parts from a list of functions.
Some functions cannot be added as required function in the system editor. The server cannot parse the JsonLd sent by the client.
ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is cz.cvut.kbss.jsonld.exception.JsonLdDeserializationException: Encountered multiple values of property http://onto.fel.cvut.cz/ontologies/fta-fmea-application/hasComponent, which is mapped to a singular attribute private cz.cvut.kbss.analysis.model.Component cz.cvut.kbss.analysis.model.Behavior.component]
The bug can be reproduced in system "test 1" in fta-fmea-demo add function 4 as required to function 1 in component 1.
Extend the form to edit components in the system editor. The form should allow to create one or more failure modes for the edited component. The user should be able to edit each failure mode by changing its name and specifying whether it is "atomic", "and or "or" behavior type and then allow to specify its parts. The user should be able to delete the failure mode from the list.
Description
In the component's behavior forms, in the system component form, the user can edit:
In each of the mentioned edit use-case the user is presented a list with behaviors from which to choose. The user should be able to distinguish behaviors which are transitively related to the edited one and other behaviors in the list.
Acceptance Criteria:
Distinguish the following behaviors from other behaviors in the lists specified above
Implementation Notes
Behavior lists are not updated when a behavior is changed in the component editor. This is true for all lists:
functions' required functions
functions' parts - not sure but it is possible that it has the same error.
functions' failure modes
failure modes' parts
failure modes' required failure modes
Create a new property in the ontology representing relationship between system and its components: http://onto.fel.cvut.cz/ontologies/fta-fmea-application/hasPartComponent
Use the new property in the System model objects both on client and server side.
See fta-fmea-demo deployment
Refactor function model on the client side so that it can be used to access components similar to the failure mode model.
Consider creating common behavior model containing common properties and relation which is then extended by the function and failure mode models, see also discussion at pullrequest#51.
We would like to use a tree component to allow filter functions based on partonomy. For that intelligent tree select can be used:
https://github.com/lecbyjak/intelligent-tree-select
To reproduce the issue login in https://kbss.felk.cvut.cz/fta-fmea-avic/ and open system MAIN AC SUPPLY (https://kbss.felk.cvut.cz/fta-fmea-avic/system/instance881277938).
The issue can be observed for example in component ZDE1. The component is associated with failure mode F1_-fm but the failure mode is not visible in the component editor form. Here some more examples of the same issue ZDE2 and F3_-fm; AC_R_BUS and F4_2-fm; and AC_L_BUS and F2_2-fm.
As a user, I want to add functions and its required functions.
Acceptance criteria:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.