Skip to content

Commit

Permalink
sequence diagram of verification for workflow correcness (source and …
Browse files Browse the repository at this point in the history
…compiled png)
  • Loading branch information
NuNetIO committed Jun 9, 2021
1 parent 350a7ec commit 154547d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ontology/images/verification_for_workflow_correctness.mermaid
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
sequenceDiagram
autonumber
participant fns as fakeNewsScore<br>AI Service
participant bc as fnsBinaryClassifier<br>AI Service
participant uclnlp as uclnlp<br>AI Service
participant verifier as verifier<br>AI Service
participant snet as SingularityNET platform

fns ->> bc: Control: request to do work
bc ->> fns: Control: request accepted,<br>Data: [fnsBinaryClassifier.metadata]
fns ->> uclnlp: Control: request to do work
uclnlp ->> fns: Control: request accepted, Data: [ucnlp.metadata]
fns ->> verifier: Control: request to verify, Data [fakeNewsScore.metadata,<br>fnsBinaryClassifier.metadata, ucnlp.metadata, versionNo]
loop Verfication
verifier -->> snet: Control: request for upper ontology,<br>Data: [versionNo]
snet -->> verifier: Control: version exists,<br>Data: [upper-ontology specification]
verifier ->> verifier: Compiling and proving correctness
end
verifier ->> fns: Control: verification passed, Data: [signed proof of verification]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 154547d

Please sign in to comment.