18F / tock

We use Tock to track and report our time at 18F
https://18f.gsa.gov/2015/05/21/TockingTime/
Other
120 stars 37 forks source link

Timecard report fields #1704

Closed jduss4 closed 8 months ago

jduss4 commented 8 months ago

Description

Adds fields to the "complete timecard data" report.

Field Type Description
is_weekly_bill boolean True if weekly billing, false if hourly project
project_allocation decimal 0 - 1 Weekly billing allocation (50% is .5, 100% is 1, etc)
billable_expectation decimal 0 - 1 The % of a week expected to be spent on billable work (.8 == 32 hours)
target_hours decimal Estimated hours that should be billed to a project (based on expectation, OOO time, etc)
employee_unit string Chapter or other inter-org component (ex: 18F engineering)

These fields allow for analysis not currently possible through the reports, such as whether a person staff person was likely FT or PT during a given week on a project and the number of people from each chapter who contributed to a project.

Additional information

See https://github.com/18F/TLC-crew/issues/597 for more information about the data requested from tock

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8023687) 94.16% compared to head (2fac56c) 94.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1704 +/- ## ========================================== - Coverage 94.16% 94.15% -0.02% ========================================== Files 66 66 Lines 4146 4156 +10 ========================================== + Hits 3904 3913 +9 - Misses 242 243 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

cantsin commented 8 months ago

(I'll merge soon, just wanted to make sure @edwintorres took a look at this too)