Skip to content

Commit

Permalink
Merge pull request #25 from UofT-DSI/zogheibc-patch-1
Browse files Browse the repository at this point in the history
Update whitby_covid_tracing.py
  • Loading branch information
danielrazavi authored Nov 6, 2024
2 parents 3fff6c3 + edfd734 commit 382d43e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions 02_activities/assignments/whitby_covid_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def simulate_event(m):
# Set the random seed for reproducibility
np.random.seed(10)

# Run the simulation 1000 times
results = [simulate_event(m) for m in range(1000)]
# Run the simulation 50000 times
results = [simulate_event(m) for m in range(50000)]
props_df = pd.DataFrame(results, columns=["Infections", "Traces"])

# Plotting the results
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ survey quality.

| Assignment | Due Date |
|--------------------------------------------|----------------------------|
| [Sampling and Reproducibility in Python](https://github.com/UofT-DSI/sampling/blob/main/02_activities/assignments/a1_sampling_and_reproducibility.md) | Friday, July 12 |
| [Questionnaire Design (Part A)](https://github.com/UofT-DSI/sampling/blob/main/02_activities/assignments/a2_questionnaire_design_part_a.md) | Saturday, July 13 |
| [Questionnaire Design (Part B)](https://github.com/UofT-DSI/sampling/blob/main/02_activities/assignments/a3_questionnaire_design_part_b.md) | Friday, July 19 |
| [Data Documentation Comparison Worksheet](https://github.com/UofT-DSI/sampling/blob/main/02_activities/assignments/a4_data_documentation_comparison_worksheet.md) | Saturday, July 20 |
| [Sampling and Reproducibility in Python](https://github.com/UofT-DSI/sampling/blob/main/02_activities/assignments/a1_sampling_and_reproducibility.md) | Friday, November 8 |
| [Questionnaire Design (Part A)](https://github.com/UofT-DSI/sampling/blob/main/02_activities/assignments/a2_questionnaire_design_part_a.md) | Saturday, November 9 |
| [Questionnaire Design (Part B)](https://github.com/UofT-DSI/sampling/blob/main/02_activities/assignments/a3_questionnaire_design_part_b.md) | Friday, November 15 |
| [Data Documentation Comparison Worksheet](https://github.com/UofT-DSI/sampling/blob/main/02_activities/assignments/a4_data_documentation_comparison_worksheet.md) | Saturday, November 16 |

## Contacts

Expand All @@ -53,10 +53,10 @@ survey quality.
- name and pronouns: `Ciara`, `She/Her`
- email: `[email protected]`
- Learning Support Staff:
- name: `Jarlath`
- email: `jarlathbr@gmail.com`
- name: `Farzana`
- email: `fhashemi.ma@gmail.com`
- name: `Kasra`
- email: `[email protected]`
- email: `[email protected]`
- name: `Amanda`
- email: `[email protected]`

Expand Down

0 comments on commit 382d43e

Please sign in to comment.