Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion use_case_examples/disease_prediction/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion use_case_examples/federated_learning/federated_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_,
Expand Down
2 changes: 1 addition & 1 deletion use_case_examples/llm/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion use_case_examples/tfhers_interoperability/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down