We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[BUG][HOTFIX] Add deprecation warning for condition parameter names
In 0.7 the drift checks were updated to add Cramer's V.
Thus the previous parameter condition names ("max_psi...  "max_earthmovers...") were renamed.
Previous parameters should still be re-added with deprecation warnings, for all relevant checks and conditions.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `deepchecks/vision/deprecation_warnings.py`
Content:
```
1 # ----------------------------------------------------------------------------
2 # Copyright (C) 2021-2022 Deepchecks (https://www.deepchecks.com)
3 #
4 # This file is part of Deepchecks.
5 # Deepchecks is distributed under the terms of the GNU Affero General
6 # Public License (version 3 or later).
7 # You should have received a copy of the GNU Affero General Public License
8 # along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.
9 # ----------------------------------------------------------------------------
10 #
11 """This file changes default 'ignore' action of DeprecationWarnings for specific deprecation messages."""
12 import warnings
13 
14 # Added in version 0.6.2, deprecates max_num_categories in all drift checks
15 warnings.filterwarnings(
16     action='always',
17     message=r'.*max_num_categories.*',
18     category=DeprecationWarning,
19     module=r'deepchecks.*'
20 )
21 
22 # Added in 0.7 Warning filters for deprecated functions in deepchecks.tabular.checks
23 # Should be removed in 0.8
24 warnings.filterwarnings(
25     action='once',
26     message=r'deepchecks.vision.checks.performance is deprecated.*',
27     category=DeprecationWarning,
28     module=r'deepchecks.*'
29 )
30 
31 warnings.filterwarnings(
32     action='once',
33     message=r'deepchecks.vision.checks.methodology is deprecated.*',
34     category=DeprecationWarning,
35     module=r'deepchecks.tabular.checks.methodology.*'
36 )
37 
38 warnings.filterwarnings(
39     action='once',
40     message=r'deepchecks.vision.checks.distribution is deprecated.*',
41     category=DeprecationWarning,
42     module=r'deepchecks.*'
43 )
44 
45 warnings.filterwarnings(
46     action='always',
47     message=r'the integrity_validation suite is deprecated.*',
48     category=DeprecationWarning,
49     module=r'deepchecks.*'
50 )
51
```

Path: `deepchecks/tabular/deprecation_warnings.py`
Content:
```
1 # ----------------------------------------------------------------------------
2 # Copyright (C) 2021-2022 Deepchecks (https://www.deepchecks.com)
3 #
4 # This file is part of Deepchecks.
5 # Deepchecks is distributed under the terms of the GNU Affero General
6 # Public License (version 3 or later).
7 # You should have received a copy of the GNU Affero General Public License
8 # along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.
9 # ----------------------------------------------------------------------------
10 #
11 """This file changes default 'ignore' action of DeprecationWarnings for specific deprecation messages."""
12 import warnings
13 
14 # Added in version 0.6.2, deprecates max_num_categories in all drift checks
15 warnings.filterwarnings(
16     action='always',
17     message=r'.*max_num_categories.*',
18     category=DeprecationWarning,
19     module=r'deepchecks.*'
20 )
21 
22 # Added in 0.7 Warning filters for deprecated functions in deepchecks.tabular.checks
23 # Should be removed in 0.8
24 warnings.filterwarnings(
25     action='once',
26     message=r'deepchecks\.tabular\.checks\.performance is deprecated.*',
27     category=DeprecationWarning,
28     module=r'deepchecks.*'
29 )
30 
31 warnings.filterwarnings(
32     action='once',
33     message=r'deepchecks.tabular.checks.overview is deprecated.*',
34     category=DeprecationWarning,
35     module=r'deepchecks.*'
36 )
37 
38 warnings.filterwarnings(
39     action='once',
40     message=r'deepchecks.tabular.checks.methodology is deprecated.*',
41     category=DeprecationWarning,
42     module=r'deepchecks.tabular.checks.methodology.*'
43 )
44 
45 warnings.filterwarnings(
46     action='once',
47     message=r'deepchecks.tabular.checks.distribution is deprecated.*',
48     category=DeprecationWarning,
49     module=r'deepchecks.*'
50 )
51 
52 warnings.filterwarnings(
53     action='always',
54     message=r'the single_dataset_integrity suite is deprecated.*',
55     category=DeprecationWarning,
56     module=r'deepchecks.*'
57 )
58 
59 warnings.filterwarnings(
60     action='always',
61     message=r'the train_test_leakage suite is deprecated.*',
62     category=DeprecationWarning,
63     module=r'deepchecks.*'
64 )
65
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/deepchecks/tabular/deprecation_warnings.py b/deepchecks/tabular/deprecation_warnings.py
--- a/deepchecks/tabular/deprecation_warnings.py
+++ b/deepchecks/tabular/deprecation_warnings.py
@@ -62,3 +62,20 @@
     category=DeprecationWarning,
     module=r'deepchecks.*'
 )
+
+# Added in 0.7 Warning filters for drift conditions
+# Should be removed in 0.8
+
+warnings.filterwarnings(
+    action='once',
+    message=r'.*max_allowed_psi_score is deprecated.*',
+    category=DeprecationWarning,
+    module=r'deepchecks.*'
+)
+
+warnings.filterwarnings(
+    action='once',
+    message=r'.*max_allowed_earth_movers_score is deprecated.*',
+    category=DeprecationWarning,
+    module=r'deepchecks.*'
+)
diff --git a/deepchecks/vision/deprecation_warnings.py b/deepchecks/vision/deprecation_warnings.py
--- a/deepchecks/vision/deprecation_warnings.py
+++ b/deepchecks/vision/deprecation_warnings.py
@@ -48,3 +48,20 @@
     category=DeprecationWarning,
     module=r'deepchecks.*'
 )
+
+# Added in 0.7 Warning filters for drift conditions
+# Should be removed in 0.8
+
+warnings.filterwarnings(
+    action='once',
+    message=r'.*max_allowed_psi_score is deprecated.*',
+    category=DeprecationWarning,
+    module=r'deepchecks.*'
+)
+
+warnings.filterwarnings(
+    action='once',
+    message=r'.*max_allowed_earth_movers_score is deprecated.*',
+    category=DeprecationWarning,
+    module=r'deepchecks.*'
+)

{"golden_diff": "diff --git a/deepchecks/tabular/deprecation_warnings.py b/deepchecks/tabular/deprecation_warnings.py\n--- a/deepchecks/tabular/deprecation_warnings.py\n+++ b/deepchecks/tabular/deprecation_warnings.py\n@@ -62,3 +62,20 @@\n     category=DeprecationWarning,\n     module=r'deepchecks.*'\n )\n+\n+# Added in 0.7 Warning filters for drift conditions\n+# Should be removed in 0.8\n+\n+warnings.filterwarnings(\n+    action='once',\n+    message=r'.*max_allowed_psi_score is deprecated.*',\n+    category=DeprecationWarning,\n+    module=r'deepchecks.*'\n+)\n+\n+warnings.filterwarnings(\n+    action='once',\n+    message=r'.*max_allowed_earth_movers_score is deprecated.*',\n+    category=DeprecationWarning,\n+    module=r'deepchecks.*'\n+)\ndiff --git a/deepchecks/vision/deprecation_warnings.py b/deepchecks/vision/deprecation_warnings.py\n--- a/deepchecks/vision/deprecation_warnings.py\n+++ b/deepchecks/vision/deprecation_warnings.py\n@@ -48,3 +48,20 @@\n     category=DeprecationWarning,\n     module=r'deepchecks.*'\n )\n+\n+# Added in 0.7 Warning filters for drift conditions\n+# Should be removed in 0.8\n+\n+warnings.filterwarnings(\n+    action='once',\n+    message=r'.*max_allowed_psi_score is deprecated.*',\n+    category=DeprecationWarning,\n+    module=r'deepchecks.*'\n+)\n+\n+warnings.filterwarnings(\n+    action='once',\n+    message=r'.*max_allowed_earth_movers_score is deprecated.*',\n+    category=DeprecationWarning,\n+    module=r'deepchecks.*'\n+)\n", "issue": "[BUG][HOTFIX] Add deprecation warning for condition parameter names\nIn 0.7 the drift checks were updated to add Cramer's V.\r\nThus the previous parameter condition names (\"max_psi...  \"max_earthmovers...\") were renamed.\r\nPrevious parameters should still be re-added with deprecation warnings, for all relevant checks and conditions.\r\n\n", "before_files": [{"content": "# ----------------------------------------------------------------------------\n# Copyright (C) 2021-2022 Deepchecks (https://www.deepchecks.com)\n#\n# This file is part of Deepchecks.\n# Deepchecks is distributed under the terms of the GNU Affero General\n# Public License (version 3 or later).\n# You should have received a copy of the GNU Affero General Public License\n# along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.\n# ----------------------------------------------------------------------------\n#\n\"\"\"This file changes default 'ignore' action of DeprecationWarnings for specific deprecation messages.\"\"\"\nimport warnings\n\n# Added in version 0.6.2, deprecates max_num_categories in all drift checks\nwarnings.filterwarnings(\n    action='always',\n    message=r'.*max_num_categories.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\n# Added in 0.7 Warning filters for deprecated functions in deepchecks.tabular.checks\n# Should be removed in 0.8\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.vision.checks.performance is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.vision.checks.methodology is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.tabular.checks.methodology.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.vision.checks.distribution is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='always',\n    message=r'the integrity_validation suite is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n", "path": "deepchecks/vision/deprecation_warnings.py"}, {"content": "# ----------------------------------------------------------------------------\n# Copyright (C) 2021-2022 Deepchecks (https://www.deepchecks.com)\n#\n# This file is part of Deepchecks.\n# Deepchecks is distributed under the terms of the GNU Affero General\n# Public License (version 3 or later).\n# You should have received a copy of the GNU Affero General Public License\n# along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.\n# ----------------------------------------------------------------------------\n#\n\"\"\"This file changes default 'ignore' action of DeprecationWarnings for specific deprecation messages.\"\"\"\nimport warnings\n\n# Added in version 0.6.2, deprecates max_num_categories in all drift checks\nwarnings.filterwarnings(\n    action='always',\n    message=r'.*max_num_categories.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\n# Added in 0.7 Warning filters for deprecated functions in deepchecks.tabular.checks\n# Should be removed in 0.8\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks\\.tabular\\.checks\\.performance is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.tabular.checks.overview is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.tabular.checks.methodology is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.tabular.checks.methodology.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.tabular.checks.distribution is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='always',\n    message=r'the single_dataset_integrity suite is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='always',\n    message=r'the train_test_leakage suite is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n", "path": "deepchecks/tabular/deprecation_warnings.py"}], "after_files": [{"content": "# ----------------------------------------------------------------------------\n# Copyright (C) 2021-2022 Deepchecks (https://www.deepchecks.com)\n#\n# This file is part of Deepchecks.\n# Deepchecks is distributed under the terms of the GNU Affero General\n# Public License (version 3 or later).\n# You should have received a copy of the GNU Affero General Public License\n# along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.\n# ----------------------------------------------------------------------------\n#\n\"\"\"This file changes default 'ignore' action of DeprecationWarnings for specific deprecation messages.\"\"\"\nimport warnings\n\n# Added in version 0.6.2, deprecates max_num_categories in all drift checks\nwarnings.filterwarnings(\n    action='always',\n    message=r'.*max_num_categories.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\n# Added in 0.7 Warning filters for deprecated functions in deepchecks.tabular.checks\n# Should be removed in 0.8\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.vision.checks.performance is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.vision.checks.methodology is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.tabular.checks.methodology.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.vision.checks.distribution is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='always',\n    message=r'the integrity_validation suite is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\n# Added in 0.7 Warning filters for drift conditions\n# Should be removed in 0.8\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'.*max_allowed_psi_score is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'.*max_allowed_earth_movers_score is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n", "path": "deepchecks/vision/deprecation_warnings.py"}, {"content": "# ----------------------------------------------------------------------------\n# Copyright (C) 2021-2022 Deepchecks (https://www.deepchecks.com)\n#\n# This file is part of Deepchecks.\n# Deepchecks is distributed under the terms of the GNU Affero General\n# Public License (version 3 or later).\n# You should have received a copy of the GNU Affero General Public License\n# along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.\n# ----------------------------------------------------------------------------\n#\n\"\"\"This file changes default 'ignore' action of DeprecationWarnings for specific deprecation messages.\"\"\"\nimport warnings\n\n# Added in version 0.6.2, deprecates max_num_categories in all drift checks\nwarnings.filterwarnings(\n    action='always',\n    message=r'.*max_num_categories.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\n# Added in 0.7 Warning filters for deprecated functions in deepchecks.tabular.checks\n# Should be removed in 0.8\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks\\.tabular\\.checks\\.performance is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.tabular.checks.overview is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.tabular.checks.methodology is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.tabular.checks.methodology.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'deepchecks.tabular.checks.distribution is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='always',\n    message=r'the single_dataset_integrity suite is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='always',\n    message=r'the train_test_leakage suite is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\n# Added in 0.7 Warning filters for drift conditions\n# Should be removed in 0.8\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'.*max_allowed_psi_score is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n\nwarnings.filterwarnings(\n    action='once',\n    message=r'.*max_allowed_earth_movers_score is deprecated.*',\n    category=DeprecationWarning,\n    module=r'deepchecks.*'\n)\n", "path": "deepchecks/tabular/deprecation_warnings.py"}]}