Skip to content

Typo in function name in section 3.4 exercises #466

@wk9874

Description

@wk9874

In section 3.4, in the exercise Exercise: Refactoring To Use a Pure Function, it asks you to write a function:

def compute_standard_deviation_by_day(data):
    # TODO
    return daily_standard_deviation

In the solution to the next exercise, it tries to import this incorrectly, meaning the test breaks when you try to run it:

def test_compute_standard_deviation_by_day(data, expected_output):
    from inflammation.compute_data import compute_standard_deviation_by_data

Should be consistent between compute_standard_deviation_by_day or compute_standard_deviation_by_data

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions