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 information about progress of task #155

Closed
LaChope opened this issue Jan 26, 2023 · 13 comments
Closed

Add information about progress of task #155

LaChope opened this issue Jan 26, 2023 · 13 comments
Assignees

Comments

@LaChope
Copy link
Collaborator

LaChope commented Jan 26, 2023

@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
Copy link
Collaborator

  • est-min from time-estimate table
  • number of mechanics performed time booking on this specifics TC in this specifics WP
  • average time spend on this TC from history data
  • time booked in this WP on this TC
    @lalisand @LaChope

@blcham
Copy link
Contributor

blcham commented Feb 15, 2023

@blcham

@blcham
Copy link
Contributor

blcham commented Feb 15, 2023

@kostobog please describe in steps what needs to be done

@kostobog
Copy link
Collaborator

kostobog commented Feb 21, 2023

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


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.

Performed time bookings per TC

  • It can be implemented on client side - this should be equivalent to the number of plan parts (SessionPlans) of TC's TaskPlans.
  • number of mechanics of performed sessions on a TC can be also implemnted on the client side. Count the different mechanics of the plan parts (SessionPlans) of the TCs TaskPlan.

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.

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
Copy link
Contributor

blcham commented Feb 21, 2023

  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
Copy link
Contributor

blcham commented Feb 21, 2023

@kostobog if possible add statistics to separate graph

@kostobog
Copy link
Collaborator

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
Copy link
Contributor

blcham commented Feb 22, 2023

@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:

@blcham blcham assigned kostobog and unassigned blcham Feb 22, 2023
@kostobog
Copy link
Collaborator

kostobog commented Feb 24, 2023

@blcham All four points were implemented.

@kostobog
Copy link
Collaborator

kostobog commented Mar 9, 2023

Progress in tooltip updated in
kbss-cvut/csat-maintenance-planner#162

@kostobog
Copy link
Collaborator

kostobog commented Mar 9, 2023

@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

  • Estimated work-time for TCs and WOs - EstMin value
  • Estimated work-time for plans composed of TCs and WOs - sum of EstMin of its parts

Average work-time

  • Average work-time for TC executions across history WP.
  • Average work-time for plans composed of TCs - sum of Average work-times of its parts

Work-time

  • Work-time for work sessions - the duration of the work session
  • Work-time for TCs and WOs - sum of duration of work sessions
  • Work-time for plans composed of TCs and WOs - sum of Work-times of its part

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
Copy link
Collaborator

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

@blcham @kostobog

@kalamartin
Copy link
Collaborator

Closed with reference to #152

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

4 participants