Skip to content
Merged
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
7 changes: 2 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ repos:
rev: v2.4.2
hooks:
- id: codespell
exclude: >
(?x)^(
.*\.svg|
.*\.ipynb
)$
additional_dependencies: [tomli]
args: ["--toml", "pyproject.toml"]

# Ruff, the Python auto-correcting linter/formatter written in Rust
- repo: https://github.com/astral-sh/ruff-pre-commit
Expand Down
2 changes: 1 addition & 1 deletion docs/source/attacks/report_example_lira.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
1.0,
0.9997295737148277,
0.9996517559988691,
Expand Down
20 changes: 10 additions & 10 deletions docs/source/attacks/report_example_worstcase.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.825851798523959,
0.8218557850396795,
0.8104747175329332,
Expand Down Expand Up @@ -261,7 +261,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.8513212822109211,
0.8304469787143121,
0.8084817214429054,
Expand Down Expand Up @@ -380,7 +380,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.8202899572689847,
0.8172998168513756,
0.7887314516909629,
Expand Down Expand Up @@ -492,7 +492,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.8055012041737802,
0.765249795558943,
0.7640488764917515,
Expand Down Expand Up @@ -598,7 +598,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.8434638635738719,
0.8269245445997703,
0.823121311025639,
Expand Down Expand Up @@ -700,7 +700,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.8261715153209457,
0.8218861877979522,
0.8198406461227399,
Expand Down Expand Up @@ -813,7 +813,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.9097858406012286,
0.9035828821639248,
0.901809083934956,
Expand Down Expand Up @@ -926,7 +926,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.8771667228069415,
0.8598245489544017,
0.8441576576870246,
Expand Down Expand Up @@ -1042,7 +1042,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.8205138082234891,
0.7982093484334317,
0.790949774988966,
Expand Down Expand Up @@ -1157,7 +1157,7 @@
1.0
],
"roc_thresh": [
Infinity,
null,
0.7783395039054761,
0.7761026618002128,
0.76706011235259,
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ docstring-code-line-length = 80


[tool.codespell]
skip = "*.svg,*.ipynb"
ignore-words-list = [
"SOM",
"fpr",
Expand Down