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

[ADD] Add feature - visualization of text analaysis results and wo steps #209

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kostobog
Copy link
Collaborator

@kostobog kostobog commented Mar 27, 2023

This pull request introduces several changes

  1. Extends JOPA model adding
  1. Implements a DAO and layer to read TaskStepPlan and FailureAnnotation data from the repository.
  2. Implements Service layer logic to attach TaskStepPlan with FailureAnnotations to TaskPlans when constructing a RevisionPlan, see AircraftRevisionPlannerService method createRevisionPlanScheduleDeducedFromSimilarRevisions.
  3. Refactors JOPA model

@kostobog kostobog requested a review from blcham April 11, 2023 09:12
@blcham
Copy link
Contributor

blcham commented Apr 11, 2023

LGTM, although I would wait for text analysis from Matej and refactor this pull request according to it

- use new scheme to load wo-text analysis data
- add queries to generate component failure classes and their execution statistics
- load execution statistic average work time
Copy link
Contributor

@blcham blcham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can be merged.

}
# ?failureOccurrence termit:založeno-na-výskytu-termu ?componentModeOccurrence.
# ?componentModeOccurrence termit:je-přiřazením-termu ?componentUri.
# ?componentModeOccurrence termit:má-skóre ?componentScore_.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest removing irrelevant lines like this one.

@kostobog
Copy link
Collaborator Author

kostobog commented May 26, 2023

This pull request contains queries to compute the component failure classes of work order executions. Each work order execution has one or more steps and each step has work order text in which failure component terms are annotated. Each work order text is annotated with one component and its failure failure terms. Component classes are created as follows:

  • cm:component-failure--task - for each work order execution an ordered list is created where elements in the list are constructed from execution step index and its component and failure terms. The list is ordered by the step index and it is hashed with MD5. The hash is used to construct the IRI that represents the component class failure. See query construct-component-failure-class.sparql

Alternatively the work order execution classes can be created without using the index. There are two alternatives which can be analyzed.

  • one alternative is to create the hash from the ordered list of component failure pairs of the steps of the task execution.
  • second alternative is to create the has from a set of component failure pairs of the steps of the task execution.

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

Successfully merging this pull request may close these issues.

2 participants