Skip to content

Commit e89ac40

Browse files
committed
chore: fix a large number of spelling issues
Signed-off-by: pxwanglu <pxwanglu@icloud.com>
1 parent b1eda36 commit e89ac40

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ pytest_no_flaky: check_current_flaky_tests
303303
echo "Warning: known flaky tests are skipped and coverage is disabled"
304304
"$(MAKE)" pytest_internal_parallel PYTEST_OPTIONS="--no-flaky ${PYTEST_OPTIONS}"
305305

306-
# Runnning latest failed tests works by accessing pytest's cache. It is therefore recommended to
306+
# Running latest failed tests works by accessing pytest's cache. It is therefore recommended to
307307
# call '--cache-clear' when calling the previous pytest run.
308308
# --cov PATH is the directory PATH to consider for coverage. Default to SRC_DIR=src
309309
# --cov-append is to make the coverage of the previous pytest run to also consider the tests that are
@@ -328,7 +328,7 @@ pytest_run_last_failed:
328328
.PHONY: pytest_one # Run pytest on a single file or directory (TEST)
329329
pytest_one:
330330
@if [[ "$$TEST" == "" ]]; then \
331-
echo "TEST env variable is empty. Please specifcy which tests to run or use 'make pytest' instead.";\
331+
echo "TEST env variable is empty. Please specify which tests to run or use 'make pytest' instead.";\
332332
exit 1; \
333333
fi
334334

@@ -746,7 +746,7 @@ check_links:
746746
@# Check that no links target the main branch, some internal repositories (Concrete ML or Concrete) or our internal GitBook
747747
./script/make_utils/check_internal_links.sh
748748

749-
@# To avoid some issues with priviledges and linkcheckmd
749+
@# To avoid some issues with privileges and linkcheckmd
750750
find docs/ -name "*.md" -type f | xargs chmod +r
751751

752752
@# Run linkcheck on markdown files to check only local files

docker/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN userdel -f -r ubuntu; exit 0
2727
# Create dev_user and add it to relevant groups
2828
# Create /src and make the dev user own it
2929
# Ensure sudo group users are not asked for a password when using
30-
# sudo command by ammending sudoers file
30+
# sudo command by amending sudoers file
3131

3232
RUN groupadd -f -g "${BUILD_GID}" dev_user && \
3333
adduser --disabled-password \

use_case_examples/disease_prediction/preprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def prepare_data():
7777
df_test["anxiety"] = (df_test["depression"] == 1) | (df_test["anxiety"] == 1)
7878
df_test["anxiety"] = df_test["anxiety"].astype(int)
7979

80-
# Remove unseless columns
80+
# Remove useless columns
8181
df_train.drop(columns=DROP_COLUMNS, axis=1, errors="ignore", inplace=True)
8282
df_test.drop(columns=DROP_COLUMNS, axis=1, errors="ignore", inplace=True)
8383

use_case_examples/federated_learning/federated_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214

215215

216216
def get_model_parameters(model: LogisticRegression) -> LogRegParams:
217-
"""Returns the paramters of a sklearn LogisticRegression model."""
217+
"""Returns the parameters of a sklearn LogisticRegression model."""
218218
if model.fit_intercept:
219219
params = [
220220
model.coef_,

use_case_examples/llm/preprocessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def apply(self, graph: Graph):
148148
# Predecessor nodes of LUT node
149149
pred_nodes = graph.ordered_preds_of(tlu_node)
150150

151-
# Only take into accound predecessor's that aren't constants
151+
# Only take into account predecessor's that aren't constants
152152
variable_input_indices = []
153153
for pred_index, pred_node in enumerate(pred_nodes):
154154
if pred_node.operation != Operation.Constant:

use_case_examples/tfhers_interoperability/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Private Authentification in FHE
1+
# Private Authentication in FHE
22

33
This folder contains an example that shows how to combine Concrete ML and TFHE-rs workflows through a privacy-preserving, server-side authentication scenario. In this example, access to a remote server is granted via a token, only if the client's encrypted information meets specific criteria. The returned token thus serves as proof of successful authentication — all without ever exposing any sensitive data.
44

0 commit comments

Comments
 (0)