kbss-cvut / aircraft-maintenance-planning-system

D2020+ project about Aircraft Mainenance Planning System.
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Add information about progress of task #155

Closed LaChope closed 1 year ago

LaChope commented 1 year ago

@kostobog Number from statistics, how much should be done, how much was done.

From this: https://docs.google.com/spreadsheets/d/13zMQOvi8Cgr1Emxv7TKGTlIo1Za2wU48BX_PRp3p8es/edit#gid=386279150 ?

kalamartin commented 1 year ago
blcham commented 1 year ago

@blcham

blcham commented 1 year ago

@kostobog please describe in steps what needs to be done

kostobog commented 1 year ago

Based on discussion with MK, this is what needs to be done.


1)

Implementing est-min

  1. model - Add a est-min property to TaskPlan Entity
  2. Data access - Load est-min per TC step from data repository, calculate est-min per TC
  3. planning - in planning retrieve est-min per TC and set it in TaskPlans.

2)

Performed time bookings per TC


3)

Average time spend on this TC from history data

  1. model - Add work-time-estimate property in TaskType
  2. data processing - calculate average time spent per taskTypeIRI across all closed WPs. Store the results as a work-time-estimate property of taskTypeIRI.
  3. data access - Rewrite loading TaskTypes from data repo to load the new property work-time-estimate.
  4. client side - Client can access the TaskType from TaskPlans to present the work-time-estimate value.

4)

time booked in this WP on this TC - I assume this is the planned work time, in this case this is already implemented

@blcham

blcham commented 1 year ago
  1. -- need to add construct queries @kostobog, then implement on frontend
  2. -- implemented already on backed, need to be implemented only frontend
  3. -- need to add construct queries @kostobog, then implement on frontend
  4. -- implemented already on backed, need to be implemented only frontend
blcham commented 1 year ago

@kostobog if possible add statistics to separate graph

kostobog commented 1 year ago

I added statistics average work time and est-min to separate graph <http://onto.fel.cvut.cz/ontologies/csat-maintenance/statistics>.

The statistics were calculated using the queries TC average work time and TC execution est-min

blcham commented 1 year ago

@kostobog Can you evaluate what was done from points 1,2,3,4 ?

In case all was done I will create specific issues to automate the solution, by two steps:

kostobog commented 1 year ago

@blcham All four points were implemented.

kostobog commented 1 year ago

Progress in tooltip updated in https://github.com/kbss-cvut/csat-maintenance-planner/pull/162

kostobog commented 1 year ago

@kalamartin Check progress in plan editor. Progress should appear for all plan parts above and including task plans (i.e. TCs and WOs). The performance parameters are: Estimated work-time

Average work-time

Work-time

Duration - for all plan parts shows duration between start and end of the plan

Mechanic count - for all plan parts shows the number of different mechanics

kalamartin commented 1 year ago

Tested, all seems working. Should we close this issue or we will continue also with statistics based on TermIt data?

@blcham @kostobog

kalamartin commented 1 year ago

Closed with reference to #152