diff --git a/CHANGELOG.md b/CHANGELOG.md index cb7551bb..d4ea80f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [0.16.0] - 27.07.2025 ### Added - HSTU Model from "Actions Speak Louder then Words..." implemented in the class `HSTUModel` ([#290](https://github.com/MobileTeleSystems/RecTools/pull/290)) diff --git a/Makefile b/Makefile index b462084a..37f08446 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ BENCHMARK=benchmark SOURCES=rectools TESTS=tests SCRIPTS=scripts +EXAMPLES=examples @@ -85,10 +86,10 @@ test: .venv .test # Copyright copyright: - poetry run python -m scripts.copyright --check ${SOURCES} ${TESTS} ${SCRIPTS} ${BENCHMARK} + poetry run python -m scripts.copyright --check ${SOURCES} ${TESTS} ${SCRIPTS} ${BENCHMARK} ${EXAMPLES} copyright_fix: - poetry run python -m scripts.copyright ${SOURCES} ${TESTS} ${SCRIPTS} ${BENCHMARK} + poetry run python -m scripts.copyright ${SOURCES} ${TESTS} ${SCRIPTS} ${BENCHMARK} ${EXAMPLES} # Cleaning diff --git a/examples/tutorials/utils.py b/examples/tutorials/utils.py index 2a9cc185..8fdf8a8a 100644 --- a/examples/tutorials/utils.py +++ b/examples/tutorials/utils.py @@ -1,3 +1,17 @@ +# Copyright 2025 MTS (Mobile Telesystems) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json import os import typing as tp diff --git a/pyproject.toml b/pyproject.toml index e538a3bf..83833236 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "RecTools" -version = "0.15.0" +version = "0.16.0" description = "An easy-to-use Python library for building recommendation systems" license = "Apache-2.0" authors = [ diff --git a/rectools/dataset/context.py b/rectools/dataset/context.py index 433b58b8..2c1657c6 100644 --- a/rectools/dataset/context.py +++ b/rectools/dataset/context.py @@ -1,3 +1,17 @@ +# Copyright 2025 MTS (Mobile Telesystems) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pandas as pd from rectools import Columns diff --git a/rectools/model_selection/cross_validate.py b/rectools/model_selection/cross_validate.py index 69215bf8..4c6663d6 100644 --- a/rectools/model_selection/cross_validate.py +++ b/rectools/model_selection/cross_validate.py @@ -1,4 +1,4 @@ -# Copyright 2023-2024 MTS (Mobile Telesystems) +# Copyright 2023-2025 MTS (Mobile Telesystems) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rectools/models/nn/transformers/utils.py b/rectools/models/nn/transformers/utils.py index 8497f1b9..3b968cfa 100644 --- a/rectools/models/nn/transformers/utils.py +++ b/rectools/models/nn/transformers/utils.py @@ -1,3 +1,17 @@ +# Copyright 2025 MTS (Mobile Telesystems) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import typing as tp import numpy as np diff --git a/rectools/version.py b/rectools/version.py index 85023cc7..cec25473 100644 --- a/rectools/version.py +++ b/rectools/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -VERSION = "0.15.0" +VERSION = "0.16.0" diff --git a/tests/dataset/test_context.py b/tests/dataset/test_context.py index 8807e8b5..dbbc2108 100644 --- a/tests/dataset/test_context.py +++ b/tests/dataset/test_context.py @@ -1,3 +1,17 @@ +# Copyright 2025 MTS (Mobile Telesystems) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import re import typing as tp diff --git a/tests/model_selection/test_cross_validate.py b/tests/model_selection/test_cross_validate.py index 1e90f910..5b6b9cdc 100644 --- a/tests/model_selection/test_cross_validate.py +++ b/tests/model_selection/test_cross_validate.py @@ -1,4 +1,4 @@ -# Copyright 2023-2024 MTS (Mobile Telesystems) +# Copyright 2023-2025 MTS (Mobile Telesystems) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/models/nn/transformers/test_hstu.py b/tests/models/nn/transformers/test_hstu.py index 78bef0b6..9e1698aa 100644 --- a/tests/models/nn/transformers/test_hstu.py +++ b/tests/models/nn/transformers/test_hstu.py @@ -1,3 +1,17 @@ +# Copyright 2025 MTS (Mobile Telesystems) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import re import typing as tp import warnings diff --git a/tests/models/nn/transformers/test_utils.py b/tests/models/nn/transformers/test_utils.py index 9bf77e7f..3929bde4 100644 --- a/tests/models/nn/transformers/test_utils.py +++ b/tests/models/nn/transformers/test_utils.py @@ -1,4 +1,4 @@ -# Copyright 2022-2025 MTS (Mobile Telesystems) +# Copyright 2025 MTS (Mobile Telesystems) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.