Skip to content

Commit ada3cde

Browse files
code review prep
1 parent 33f8c9b commit ada3cde

32 files changed

Lines changed: 384 additions & 51 deletions

2_predictive_stepping/.assets/what_is_programming.png renamed to .assets/what_is_programming.png

File renamed without changes.

1_development_workflows/deliverables.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ interests, and anything else you'd like to share.
99

1010
- [ ] You created your Profile README repository using
1111
[the template `username` repository](https://github.com/MIT-Emerging-Talent/username)
12-
- [ ] All of the CI checks pass under the Actions tab
12+
- [ ] Your repository’s name matches your GitHub username.
13+
- [ ] All of the CI checks pass under the Actions tab. _Or_ you commented the lines that failed CI checks explaining why you broke the rule to get the README you wanted. (eg. “I used HTML to align the image in the center”)
1314

1415
## Suggested Study
1516

2_predictive_stepping/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ then communicating with everyone involved to deliver quality software within
4040
your project's constraints. This diagram shows the different channels of
4141
communication in a simple Python program:
4242

43-
![a program](./.assets/what_is_programming.png)
43+
![a program](../.assets/what_is_programming.png)
4444

4545
> PS. In the examples and exercises for this chapter you will be both the
4646
> developer and the user, running the program and interacting with it from

2_predictive_stepping/lesson_plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class: center
5959

6060
## What is Programming?
6161

62-
<img alt="What is programming?" src="./.assets/what_is_programming.png" height="100%" width="100%">
62+
<img alt="What is programming?" src="../.assets/what_is_programming.png" height="100%" width="100%">
6363

6464
---
6565

3_documenting_and_testing/behavior_strategy_implementation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@ for index in range(2, 500):
113113

114114
assert two_back + one_back == current, f"entry {index} is not correct"
115115

116-
# %% does the function return the same or different arrays?
116+
# %% does the function return the same or different lists?
117117

118-
array_1 = fibonacci_list(4)
119-
array_2 = fibonacci_list(6)
118+
list_1 = fibonacci_list(4)
119+
list_2 = fibonacci_list(6)
120120

121-
# the function returned two different arrays with the same values
122-
assert array_1 == array_2, "the arrays store the same values"
123-
assert array_1 is not array_2, "the variables do not reference the same array"
121+
# the function returned two different lists with the same values
122+
assert list_1 == list_2, "the lists store the same values"
123+
assert list_1 is not list_2, "the variables do not reference the same list"
124124
```
125125

126126
</details>

4_debugging/philosophy_of_debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ simple. For the above example the symptom corresponds to the line where the
143143
variable went out of bounds or to the `print`s which produced the garbage output.
144144
The incorrect behavior will correspond to a variable with a bad value. Identify
145145
the variable(s) with bad values. For this example, suppose that the program
146-
crashes on line 112 because i is -1 and tries to index an array.
146+
crashes on line 112 because i is -1 and tries to index an list.
147147

148148
The critical question is: where did i get its value? There are basically three
149149
ways a variable can get a value: the variable appears on the left hand side of a

5_tdd_with_llms/examples/filter_and_sort_dictionaries_with_llm/0_docstring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This function does not modify the argument list.
44
55
Parameters:
6-
list[dict[str, str]]: an array of dicts with string keys and string values
6+
list[dict[str, str]]: an list of dicts with string keys and string values
77
str: the function will remove all dicts that don't have this key
88
99
Returns: a list of dicts where each dict contains the given key,

5_tdd_with_llms/examples/filter_and_sort_dictionaries_with_llm/1a_generated_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def f(lst, key):
77
This function does not modify the argument list.
88
99
Parameters:
10-
list[dict[str, str]]: an array of dicts with string keys and string values
10+
list[dict[str, str]]: an list of dicts with string keys and string values
1111
str: the function will remove all dicts that don't have this key
1212
1313
Returns: a list of dicts where each dict contains the given key,

5_tdd_with_llms/examples/filter_and_sort_dictionaries_with_llm/1b_manual_refactor_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def f(lst, key):
77
This function does not modify the argument list.
88
99
Parameters:
10-
list[dict[str, str]]: an array of dicts with string keys and string values
10+
list[dict[str, str]]: an list of dicts with string keys and string values
1111
str: the function will remove all dicts that don't have this key
1212
1313
Returns: a list of dicts where each dict contains the given key,

5_tdd_with_llms/examples/filter_and_sort_dictionaries_with_llm/2b_manual_refactor_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def f(lst, key):
77
This function does not modify the argument list.
88
99
Parameters:
10-
list[dict[str, str]]: an array of dicts with string keys and string values
10+
list[dict[str, str]]: an list of dicts with string keys and string values
1111
str: the function will remove all dicts that don't have this key
1212
1313
Returns: a list of dicts where each dict contains the given key,

0 commit comments

Comments
 (0)