🐛 (pull system) fix pull systems
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flow-conclusion">
|
<div class="flow-conclusion">
|
||||||
<p>Teams tend to underestimate how long a project will be.</p>
|
<p>
|
||||||
|
Teams tend to underestimate how long a project will be. And how hard it
|
||||||
|
will be to work with others.
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
If we're not in a good pace, we just have to try harder. Only once. "Just
|
If we're not in a good pace, we just have to try harder. Only once. "Just
|
||||||
in time" becomes "Just this time". So teams overproduce. Creating stock
|
in time" becomes "Just this time". So teams overproduce. Creating stock
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import {
|
|||||||
|
|
||||||
const HARD_STOP = 5000
|
const HARD_STOP = 5000
|
||||||
|
|
||||||
const hasQualityIssue = ({
|
const getQualityIssue = ({
|
||||||
complexity,
|
complexity,
|
||||||
tasksInParallel,
|
tasksInParallel,
|
||||||
teamWorkExperience
|
teamWorkExperience
|
||||||
@@ -71,6 +71,7 @@ export const getFeaturesForNextDay = ({
|
|||||||
}): [Feature[], Feature[]] => {
|
}): [Feature[], Feature[]] => {
|
||||||
features
|
features
|
||||||
.filter((feature) => feature.step > 0 || feature.status === 'doing')
|
.filter((feature) => feature.step > 0 || feature.status === 'doing')
|
||||||
|
.sort((a, b) => (a.step < b.step ? -1 : 1))
|
||||||
.forEach((feature) => {
|
.forEach((feature) => {
|
||||||
feature.leadTime++
|
feature.leadTime++
|
||||||
|
|
||||||
@@ -94,9 +95,7 @@ export const getFeaturesForNextDay = ({
|
|||||||
|
|
||||||
const hasBlueBinAvailableNextStep =
|
const hasBlueBinAvailableNextStep =
|
||||||
nextStep.blueBins -
|
nextStep.blueBins -
|
||||||
features.filter(
|
features.filter((f) => f.step === feature.step - 1).length >
|
||||||
(f) => f.step === feature.step - 1 && f.status === 'done'
|
|
||||||
).length >
|
|
||||||
0
|
0
|
||||||
|
|
||||||
if (hasBlueBinAvailableNextStep) {
|
if (hasBlueBinAvailableNextStep) {
|
||||||
@@ -110,15 +109,15 @@ export const getFeaturesForNextDay = ({
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
const hasQualityIssue = getQualityIssue({
|
||||||
hasQualityIssue({
|
complexity: feature.complexity,
|
||||||
complexity: feature.complexity,
|
tasksInParallel: features.filter(
|
||||||
tasksInParallel: features.filter(
|
(f) => f.status === 'doing' && f.step === feature.step
|
||||||
(f) => f.status === 'doing' && f.step === feature.step
|
).length,
|
||||||
).length,
|
teamWorkExperience
|
||||||
teamWorkExperience
|
})
|
||||||
})
|
|
||||||
) {
|
if (hasQualityIssue) {
|
||||||
feature.qualityIssue++
|
feature.qualityIssue++
|
||||||
} else {
|
} else {
|
||||||
feature.step--
|
feature.step--
|
||||||
@@ -177,12 +176,6 @@ const getOverburdenMultiplicator = (tasksInParallel: number) => {
|
|||||||
return 8
|
return 8
|
||||||
case 5:
|
case 5:
|
||||||
return 13
|
return 13
|
||||||
// case 6:
|
|
||||||
// return 4
|
|
||||||
// case 7:
|
|
||||||
// return 5.5
|
|
||||||
// case 8:
|
|
||||||
// return 7
|
|
||||||
default:
|
default:
|
||||||
return 25
|
return 25
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user