Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safety analysis in sphinx-needs? #1368

Open
k-radlak opened this issue Dec 3, 2024 · 2 comments
Open

Safety analysis in sphinx-needs? #1368

k-radlak opened this issue Dec 3, 2024 · 2 comments

Comments

@k-radlak
Copy link

k-radlak commented Dec 3, 2024

Hi,
do you plan to add to sphinx-needs new features which could support safety analysis such as FMEA or FTA in docs as code approach?

Maybe we can create the list of the failure modes for every software component similarly as requirements and then we can have a similar fuctionality such as needflow to visualise?

In case of FMEA, we create the componentes, then assign functions to this components, and create failure modes for each function, but curently we cannot visualize the dependencies between them in the form of Fauilure Nets or Function Nets.
obraz

It would be very powerful tool when we can manage complete safety development lifecycle in a single text based tool.

@danwos
Copy link
Member

danwos commented Dec 3, 2024

Hey,
I'm not familiar with the terms FMEA/FTA, but I guess we and other have already done it by performing an ISO 26262 toolchain classification and qualification for a docs-as-code toolchain (containing Sphinx, Sphinx-Needs and other extensions).

Unfortunately, the documentation is not Open-Source, but at least I could release a demo-project, how to do it.

The used model was:

graph TD;
Tool-->Function;
UseCase-->Function;
Function-->Error;
Error-->Restriction;
Error-->Check
Check-->TestCase;
Restriction-->Script;
Loading

We used this data then to create dashboards of missing testcases or CI scripts and for sure to show the complete flow.

@ubmax
Copy link

ubmax commented Dec 3, 2024

Hey,

Feel free to reach out to [email protected]. We’d love to discuss this topic with you in detail and explore potential solutions together!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants