🖊️ Internal Work Duration

The Internal Work Duration is a required input to be filled in Work Duration Intl and represents the time it takes to do this task specifically (without prerequisites). It’s scale is in half days (aka 4 hours).

<aside> ✂️ If your task has a Work Duration of more than $4$ (2 days), it’s better to split it into multiple prerequisites.

</aside>

⚖️ Work Duration computation

✍️ Definitions

⤵️ Remaining Internal Work Duration

The [⤵️ Remaining Internal Work Duration](https://stockly.notion.site/Remaining-Internal-f7a56cd4ef2e43ff88de3fa979242a3e) is an simple estimation of the Remaining Work Duration for this task specifically based on the [🖊️ Internal Work Duration](https://stockly.notion.site/Internal-fab0cf42bfd04b8eba7772fd0ec82948) and its prerequisites:

$$

WorkDuration_{rem\intl}(T) =\begin{cases} 0 & \text{If T is in status 🟣 Done or:} \\ & \quad \text{- In status 🔵 Started} \\ & \quad \text{- With one or more prerequisites not closed} \\ & \quad \text{- With all not closed prerequisites } P \text{, } Gain{intl}(P) + Gain_{down}(P) = 0 \\ WorkDuration_{intl}(T) \end{cases} $$

🔅 Work Duration

The Work Duration represents the Remaining Work Duration, it’s the sum of the [⤵️ Remaining Internal Work Duration](https://stockly.notion.site/Remaining-Internal-f7a56cd4ef2e43ff88de3fa979242a3e) of itself and all its ↘️ Reachable downward tasks:

$$

WorkDuration_{out}(T) = WorkDuration_{rem\intl}(T) + \displaystyle\sum{i=1}^{n_p} WorkDuration_{rem\_intl}(P_i) \\\\[0.2in]

Where : \begin{cases} n_p &{= }& \text{Number of tasks not closed reachable downwards of the task} \\ \text{for } 1 \leq i \leq n_p\quad P_i&{= }& \text{Not closed reachable downwards task number } i \text{ of the task} \end{cases} $$

☀️ Total Work Duration

The [☀️ Total Work Duration](https://stockly.notion.site/Total-93b360d2f3be49c291e02c36f94bb2e8) is the total time it takes to do this tasks (including prerequisites):

(It’s used to compute ‣)

$$

TotalWorkDuration_{out}(T) = WorkDuration_{intl}(T) + \displaystyle\sum_{i=1}^{n_p} WorkDuration_{intl}(P_i) \\\\[0.2in]

Where : \begin{cases} n_p &{= }& \text{Number of tasks not dropped reachable downwards of the task} \\ \text{for } 1 \leq i \leq n_p\quad P_i&{= }& \text{Not dropped reachable downwards task number } i \text{ of the task} \end{cases} $$

Override

<aside> 💥 In very specific cases a work_duration_out_override can be used

</aside>