From a25634f23352d8e7f39d51ee18a6a4355289d1cf Mon Sep 17 00:00:00 2001 From: Sam Adam-Day Date: Mon, 30 Jun 2025 09:13:54 +0100 Subject: [PATCH 1/5] Fixed incorrect `VerifierDecisionSpectrumType` --- nip/parameters/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nip/parameters/types.py b/nip/parameters/types.py index d723b4c..b10ac56 100644 --- a/nip/parameters/types.py +++ b/nip/parameters/types.py @@ -132,8 +132,8 @@ "likert_scale_5", "likert_scale_6", "likert_scale_7", + "likert_int_scale_11", "likert_scale", - "likert_scale_no_undecided", "out_of_10", "out_of_100", ] From bf42a424005347c93bf1f7f20035ab2472235c99 Mon Sep 17 00:00:00 2001 From: Sam Adam-Day Date: Mon, 30 Jun 2025 09:14:23 +0100 Subject: [PATCH 2/5] Fixed `__init` -> `__init__` --- nip/parameters/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nip/parameters/version.py b/nip/parameters/version.py index 1513f8c..c702ef6 100644 --- a/nip/parameters/version.py +++ b/nip/parameters/version.py @@ -52,7 +52,7 @@ class ConversionFunctionNotFoundError(Exception): """Exception raised when no conversion function matches a version number.""" def __init__(self, dict_version: str): - super().__init( + super().__init__( f"When converting hyper-parameter dictionary, no conversion function " f"matched the version {dict_version}." ) From 1608d172d7e00feeeeb0aebb39d091322945bd2a Mon Sep 17 00:00:00 2001 From: Sam Adam-Day Date: Mon, 30 Jun 2025 09:18:49 +0100 Subject: [PATCH 3/5] Updated changelog --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0385521..8119017 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,15 @@ Similarly, it ensures that a client and server which agree on `MAJOR` version ar to communicate reliably. +## Unreleased + +### Fixed + +- `VerifierDecisionSpectrumType` now contains the correct spectrum names. +- `nip.parameters.version.ConversionFunctionNotFoundError` called `super().__init`, when + it should be `super().__init__` + + ## [2.1.0] - 2025-06-27 ### Added From d6b5fd3c9ad77f96e482000e1b3e893d65f51716 Mon Sep 17 00:00:00 2001 From: Sam Adam-Day Date: Mon, 30 Jun 2025 09:22:34 +0100 Subject: [PATCH 4/5] Bumped to v2.1.1 --- CHANGELOG.md | 4 ++-- README.md | 2 +- doc/docs/guides/installation.rst | 2 +- nip/parameters/version.py | 2 +- pyproject.toml | 2 +- uv.lock | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8119017..78cc9cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,7 @@ Similarly, it ensures that a client and server which agree on `MAJOR` version ar to communicate reliably. -## Unreleased +## [2.1.1] - 2025-06-30 ### Fixed @@ -36,7 +36,7 @@ to communicate reliably. it should be `super().__init__` -## [2.1.0] - 2025-06-27 +## [2.1.1] - 2025-06-27 ### Added diff --git a/README.md b/README.md index dafb97e..8a7e4ea 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ for a more detailed installation guide. 1. Clone the repository. If you're just running experiments, you can download a specific release, e.g.: ```bash - git clone https://github.com/SamAdamDay/neural-interactive-proofs.git --branch v2.1.0 --depth 1 + git clone https://github.com/SamAdamDay/neural-interactive-proofs.git --branch v2.1.1 --depth 1 ``` To get the latest version, run: diff --git a/doc/docs/guides/installation.rst b/doc/docs/guides/installation.rst index e5a6e00..ee8629a 100644 --- a/doc/docs/guides/installation.rst +++ b/doc/docs/guides/installation.rst @@ -30,7 +30,7 @@ Installation Steps .. code-tab:: bash A specific release - git clone https://github.com/SamAdamDay/neural-interactive-proofs.git --branch v2.1.0 --depth 1 + git clone https://github.com/SamAdamDay/neural-interactive-proofs.git --branch v2.1.1 --depth 1 .. code-tab:: bash Latest version diff --git a/nip/parameters/version.py b/nip/parameters/version.py index c702ef6..364bce5 100644 --- a/nip/parameters/version.py +++ b/nip/parameters/version.py @@ -233,7 +233,7 @@ def _(hyper_param_dict: dict) -> dict: return hyper_param_dict -@register_conversion_function("2.0.0", "2.1.0") +@register_conversion_function("2.0.0", "2.1") def _(hyper_param_dict: dict) -> dict: # Nothing has changed diff --git a/pyproject.toml b/pyproject.toml index 025b671..0b4d4ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "nip" -version = "2.1.0" +version = "2.1.1" requires-python = ">= 3.11" dependencies = [ "datasets==2.21.0", diff --git a/uv.lock b/uv.lock index c9a4c04..74b504a 100644 --- a/uv.lock +++ b/uv.lock @@ -2390,7 +2390,7 @@ wheels = [ [[package]] name = "nip" -version = "2.1.0" +version = "2.1.1" source = { editable = "." } dependencies = [ { name = "datasets" }, From e20adf3498ead6355ef0888f10454d3fd6a1328d Mon Sep 17 00:00:00 2001 From: Sam Adam-Day Date: Mon, 30 Jun 2025 09:24:55 +0100 Subject: [PATCH 5/5] Fixed borked changelog header --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78cc9cd..5e504e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,7 @@ to communicate reliably. it should be `super().__init__` -## [2.1.1] - 2025-06-27 +## [2.1.0] - 2025-06-27 ### Added