Skip to content

Commit 31de71c

Browse files
committed
Fix typos
Found visually and by typos [1]. 1. https://github.com/crate-ci/typos
1 parent 6bdac37 commit 31de71c

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

docs/notebooks/ClassDiagram.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
"outputs": [],
364364
"source": [
365365
"class D_Class(D_Class):\n",
366-
" pass # An incremental addiiton that should not impact D's semantics"
366+
" pass # An incremental addition that should not impact D's semantics"
367367
]
368368
},
369369
{

docs/notebooks/GreyboxFuzzer.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4874,7 +4874,7 @@
48744874
"source": [
48754875
"It probably didn't solve the maze a single time. How can we make the fuzzer aware how \"far\" a seed is from reaching the target? If we know that, we can just assign more energy to that seed.\n",
48764876
"\n",
4877-
"***Try it***. Print the statistics for the boosted fuzzer using the `AFLFastSchedule` and the `CountingGreyboxFuzzer`. It will likely perform much better than the unboosted greybox fuzzer: The lowest-probablity path happens to be also the path which reaches the target. You can execute your own code by opening this chapter as Jupyter notebook."
4877+
"***Try it***. Print the statistics for the boosted fuzzer using the `AFLFastSchedule` and the `CountingGreyboxFuzzer`. It will likely perform much better than the unboosted greybox fuzzer: The lowest-probability path happens to be also the path which reaches the target. You can execute your own code by opening this chapter as Jupyter notebook."
48784878
]
48794879
},
48804880
{

docs/notebooks/GreyboxGrammarFuzzer.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5640,7 +5640,7 @@
56405640
}
56415641
},
56425642
"source": [
5643-
"Our first structural mutation operator is `swap_fragments()`, which choses a random fragment in the given seed and substitutes it with a random fragment from the pool. We make sure that both fragments start with the same symbol. For instance, we may swap a closing tag in the seed HTML by another closing tag from the fragment pool.\n",
5643+
"Our first structural mutation operator is `swap_fragments()`, which chooses a random fragment in the given seed and substitutes it with a random fragment from the pool. We make sure that both fragments start with the same symbol. For instance, we may swap a closing tag in the seed HTML by another closing tag from the fragment pool.\n",
56445644
"\n",
56455645
"In order to choose a random fragment, the mutator counts all fragments (`n_count`) below the root fragment associated with the start-symbol."
56465646
]

docs/notebooks/Guide_for_Authors.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@
21112111
"}\n",
21122112
"```\n",
21132113
"\n",
2114-
"- environment is optional and can be 'none' or any of those available in [amsmath](https://www.sharelatex.com/learn/Aligning_equations_with_amsmath); 'equation', 'align','multline','gather', or their \\* variants. Additionally, 'breqn' or 'breqn\\*' will select the experimental [breqn](https://ctan.org/pkg/breqn) environment to *smart* wrap long equations. \n",
2114+
"- environment is optional and can be 'none' or any of those available in [amsmath](https://www.sharelatex.com/learn/Aligning_equations_with_amsmath); 'equation', 'align','multiline','gather', or their \\* variants. Additionally, 'breqn' or 'breqn\\*' will select the experimental [breqn](https://ctan.org/pkg/breqn) environment to *smart* wrap long equations. \n",
21152115
"- label is optional and will only be used if the equation is in an environment\n",
21162116
"\n",
21172117
"\n",

docs/notebooks/Parser.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5383,7 +5383,7 @@
53835383
}
53845384
},
53855385
"source": [
5386-
"We update the `prune_tree()` to account for the phony start symbol if it was insserted."
5386+
"We update the `prune_tree()` to account for the phony start symbol if it was inserted."
53875387
]
53885388
},
53895389
{

docs/notebooks/WebFuzzer.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7496,7 +7496,7 @@
74967496
}
74977497
},
74987498
"source": [
7499-
"The message looks as always – but if you have a look at your browser title, it should now show the first 10 characters of your \"secret\" notebook cookie. Instead of showing its prefix in the title, the script could also silently send the cookie to a remote server, allowing attackers to highjack your current notebook session and interact with the server on your behalf. It could also go and access and send any other data that is shown in your browser or otherwise available. It could run a *keylogger* and steal passwords and other sensitive data as it is typed in. Again, it will do so every time the compromised order with Jane Doe's name is shown in the browser and the associated script is executed."
7499+
"The message looks as always – but if you have a look at your browser title, it should now show the first 10 characters of your \"secret\" notebook cookie. Instead of showing its prefix in the title, the script could also silently send the cookie to a remote server, allowing attackers to hijack your current notebook session and interact with the server on your behalf. It could also go and access and send any other data that is shown in your browser or otherwise available. It could run a *keylogger* and steal passwords and other sensitive data as it is typed in. Again, it will do so every time the compromised order with Jane Doe's name is shown in the browser and the associated script is executed."
75007500
]
75017501
},
75027502
{

docs/notebooks/WhenToStopFuzzing.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@
10261026
}
10271027
},
10281028
"source": [
1029-
"Given a sample of previously used entries, Turing wanted to _estimate the likelihood_ that the current unknown entry was one that had been previously used, and further, to estimate the probability distribution over the previously used entries. This lead to the development of the estimators of the missing mass and estimates of the true probability mass of the set of items occuring in the sample. Good worked with Turing during the war and, with Turing’s permission, published the analysis of the bias of these estimators in 1953."
1029+
"Given a sample of previously used entries, Turing wanted to _estimate the likelihood_ that the current unknown entry was one that had been previously used, and further, to estimate the probability distribution over the previously used entries. This lead to the development of the estimators of the missing mass and estimates of the true probability mass of the set of items occurring in the sample. Good worked with Turing during the war and, with Turing’s permission, published the analysis of the bias of these estimators in 1953."
10301030
]
10311031
},
10321032
{
@@ -1480,7 +1480,7 @@
14801480
"plt.hist(frequencies, range=[1, 21], bins=numpy.arange(1, 21) - 0.5) # type: ignore\n",
14811481
"plt.xticks(range(1, 21)) # type: ignore\n",
14821482
"plt.xlabel('# of occurrences (e.g., 1 represents singleton trigrams)')\n",
1483-
"plt.ylabel('Frequency of occurances')\n",
1483+
"plt.ylabel('Frequency of occurrences')\n",
14841484
"plt.title('Figure 1. Frequency of Rare Trigrams')\n",
14851485
"\n",
14861486
"# trigram discovery over time\n",

0 commit comments

Comments
 (0)