Beispiel #1
0
def influence_of_backlog_on_speed(x):
    """
    Influence of Backlog on Speed
    -----------------------------
    (influence_of_backlog_on_speed)


    """
    return functions.lookup(x, [0, 5, 10, 15, 20, 80], [0.1, 0.1, 0.09, 0.05, 0.04, 0.04])
def influence_of_work_pressure_on_improvement_time(x):
    """
    Influence of Work Pressure on Improvement Time
    ----------------------------------------------
    (influence_of_work_pressure_on_improvement_time)
    Dmnl

    """
    return functions.lookup(x, [0, 1, 1.5, 2, 5], [1, 1, 0.75, 0.25, 0])
def influence_of_pressure_on_work_time(x):
    """
    Influence of Pressure on Work Time
    ----------------------------------
    (influence_of_pressure_on_work_time)
    Dmnl

    """
    return functions.lookup(x, [0, 0.75, 1, 1.25, 2, 10], [0.75, 0.75, 1, 1.25, 1.5, 1.5])
def influence_of_capability_pressure_on_improvement_time(x):
    """
    Influence of Capability Pressure on Improvement Time
    ----------------------------------------------------
    (influence_of_capability_pressure_on_improvement_time)
    Dmnl

    """
    return functions.lookup(x, [0, 0.5, 0.75, 1, 2, 5], [0, 0, 0.5, 1, 1.5, 1.5])
def influence_of_work_pressure_on_improvement_time(x):
    """
    Influence of Work Pressure on Improvement Time
    ----------------------------------------------
    (influence_of_work_pressure_on_improvement_time)
    Dmnl

    """
    return functions.lookup(x, [0, 1, 1.5, 2, 5], [1, 1, 0.75, 0.25, 0])
Beispiel #6
0
def influence_of_backlog_on_workday(x):
    """
    Influence of Backlog on Workday
    -------------------------------
    (influence_of_backlog_on_workday)


    """
    return functions.lookup(x, [0, 2.76986, 5.53971, 10.3462, 13.1161, 16.5377, 20.5295, 60], [
                            0.1, 0.128571, 0.188095, 0.347619, 0.416667, 0.452381, 0.469048, 0.5])
def impact_of_motivation_on_effort(x):
    """
    Impact of Motivation on Effort
    ------------------------------
    (impact_of_motivation_on_effort)
    Dmnl

    """
    return functions.lookup(x, [0, 0.285132, 0.448065, 0.570265, 0.733198, 0.95723, 1.4664, 3.19756, 4.03259], [
                            0, 0.0616114, 0.232228, 0.492891, 0.772512, 0.862559, 0.914692, 0.952607, 0.957346])
Beispiel #8
0
def lookup_function_table(x):
    """
    lookup function table
    ---------------------
    (lookup_function_table)


    """
    return functions.lookup(x, [0, 5, 10, 15, 20, 25, 30, 35, 40, 45],
                            [0, 0, 1, 1, 0, 0, -1, -1, 0, 0])
def impact_of_motivation_on_effort(x):
    """
    Impact of Motivation on Effort
    ------------------------------
    (impact_of_motivation_on_effort)
    Dmnl

    """
    return functions.lookup(x, [0, 0.285132, 0.448065, 0.570265, 0.733198, 0.95723, 1.4664, 3.19756, 4.03259], [
                            0, 0.0616114, 0.232228, 0.492891, 0.772512, 0.862559, 0.914692, 0.952607, 0.957346])
def influence_of_capability_pressure_on_improvement_time(x):
    """
    Influence of Capability Pressure on Improvement Time
    ----------------------------------------------------
    (influence_of_capability_pressure_on_improvement_time)
    Dmnl

    """
    return functions.lookup(x, [0, 0.5, 0.75, 1, 2, 5],
                            [0, 0, 0.5, 1, 1.5, 1.5])
def influence_of_pressure_on_work_time(x):
    """
    Influence of Pressure on Work Time
    ----------------------------------
    (influence_of_pressure_on_work_time)
    Dmnl

    """
    return functions.lookup(x, [0, 0.75, 1, 1.25, 2, 10],
                            [0.75, 0.75, 1, 1.25, 1.5, 1.5])
Beispiel #12
0
def lookup_function_table(x):
    """
    lookup function table
    ---------------------
    (lookup_function_table)


    """
    return functions.lookup(
        x, [0, 5, 10, 15, 20, 25, 30, 35, 40, 45],
        [0, 0, 1, 1, 0, 0, -1, -1, 0, 0])
Beispiel #13
0
def lookup_linebreak_before_comma(x):
    """
    Lookup Linebreak Before Comma



    This lookup has a line break before the comma.
    """
    return functions.lookup(
        x, [0, 1.25, 1.5, 1.75, 2, 2.25, 2.5, 2.75, 3, 3.25, 3.5, 3.75, 4],
        [1, 1, 0.98, 0.9, 0.75, 0.45, 0.25, 0.17, 0.14, 0.12, 0.11, 0.1, 0.1])
Beispiel #14
0
def lookup_function_table(x):
    return functions.lookup(x,
                            lookup_function_table.xs,
                            lookup_function_table.ys)
Beispiel #15
0
def lookup_function_table(x):
    return functions.lookup(x, lookup_function_table.xs,
                            lookup_function_table.ys)