diff --git a/Makefile b/Makefile index bdcf0f7196..431e531a6a 100644 --- a/Makefile +++ b/Makefile @@ -303,7 +303,7 @@ pytest_no_flaky: check_current_flaky_tests echo "Warning: known flaky tests are skipped and coverage is disabled" "$(MAKE)" pytest_internal_parallel PYTEST_OPTIONS="--no-flaky ${PYTEST_OPTIONS}" -# Runnning latest failed tests works by accessing pytest's cache. It is therefore recommended to +# Running latest failed tests works by accessing pytest's cache. It is therefore recommended to # call '--cache-clear' when calling the previous pytest run. # --cov PATH is the directory PATH to consider for coverage. Default to SRC_DIR=src # --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: .PHONY: pytest_one # Run pytest on a single file or directory (TEST) pytest_one: @if [[ "$$TEST" == "" ]]; then \ - echo "TEST env variable is empty. Please specifcy which tests to run or use 'make pytest' instead.";\ + echo "TEST env variable is empty. Please specify which tests to run or use 'make pytest' instead.";\ exit 1; \ fi @@ -746,7 +746,7 @@ check_links: @# Check that no links target the main branch, some internal repositories (Concrete ML or Concrete) or our internal GitBook ./script/make_utils/check_internal_links.sh - @# To avoid some issues with priviledges and linkcheckmd + @# To avoid some issues with privileges and linkcheckmd find docs/ -name "*.md" -type f | xargs chmod +r @# Run linkcheck on markdown files to check only local files diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index a231ac0507..46b783abfc 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -27,7 +27,7 @@ RUN userdel -f -r ubuntu; exit 0 # Create dev_user and add it to relevant groups # Create /src and make the dev user own it # Ensure sudo group users are not asked for a password when using -# sudo command by ammending sudoers file +# sudo command by amending sudoers file RUN groupadd -f -g "${BUILD_GID}" dev_user && \ adduser --disabled-password \ diff --git a/use_case_examples/disease_prediction/preprocessing.py b/use_case_examples/disease_prediction/preprocessing.py index 4a4a9f6366..a4d192d66e 100644 --- a/use_case_examples/disease_prediction/preprocessing.py +++ b/use_case_examples/disease_prediction/preprocessing.py @@ -77,7 +77,7 @@ def prepare_data(): df_test["anxiety"] = (df_test["depression"] == 1) | (df_test["anxiety"] == 1) df_test["anxiety"] = df_test["anxiety"].astype(int) - # Remove unseless columns + # Remove useless columns df_train.drop(columns=DROP_COLUMNS, axis=1, errors="ignore", inplace=True) df_test.drop(columns=DROP_COLUMNS, axis=1, errors="ignore", inplace=True) diff --git a/use_case_examples/federated_learning/federated_utils.py b/use_case_examples/federated_learning/federated_utils.py index 54580efedc..f6a37539e1 100644 --- a/use_case_examples/federated_learning/federated_utils.py +++ b/use_case_examples/federated_learning/federated_utils.py @@ -214,7 +214,7 @@ def get_model_parameters(model: LogisticRegression) -> LogRegParams: - """Returns the paramters of a sklearn LogisticRegression model.""" + """Returns the parameters of a sklearn LogisticRegression model.""" if model.fit_intercept: params = [ model.coef_, diff --git a/use_case_examples/llm/preprocessor.py b/use_case_examples/llm/preprocessor.py index 111c025986..59caa86bc7 100644 --- a/use_case_examples/llm/preprocessor.py +++ b/use_case_examples/llm/preprocessor.py @@ -148,7 +148,7 @@ def apply(self, graph: Graph): # Predecessor nodes of LUT node pred_nodes = graph.ordered_preds_of(tlu_node) - # Only take into accound predecessor's that aren't constants + # Only take into account predecessor's that aren't constants variable_input_indices = [] for pred_index, pred_node in enumerate(pred_nodes): if pred_node.operation != Operation.Constant: diff --git a/use_case_examples/tfhers_interoperability/README.md b/use_case_examples/tfhers_interoperability/README.md index 8a8061fcd3..181288c4f7 100644 --- a/use_case_examples/tfhers_interoperability/README.md +++ b/use_case_examples/tfhers_interoperability/README.md @@ -1,4 +1,4 @@ -# Private Authentification in FHE +# Private Authentication in FHE 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.