Skip to content

Commit fa4eba1

Browse files
committed
add missing file headers
1 parent c1990f1 commit fa4eba1

File tree

222 files changed

+752
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+752
-118
lines changed

conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

docs/_ext/lk_stability.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from __future__ import annotations
28

39
from typing import Sequence

docs/_static/css/custom.css

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/* This file is part of LensKit.
2+
* Copyright (C) 2018-2023 Boise State University
3+
* Copyright (C) 2023-2025 Drexel University
4+
* Licensed under the MIT license, see LICENSE.md for details.
5+
* SPDX-License-Identifier: MIT
6+
*/
7+
18
@import url(https://fonts.bunny.net/css?family=source-sans-3:300,300i,400,400i,500,500i,700,700i|source-code-pro:300,300i,400,400i,500,500i,600,600i,700,700i);
29

310
html {

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

docs/guide/examples/blendcomp.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from pydantic import BaseModel
28

39
from lenskit.data import ItemList

src/lenskit/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
"""
28
Recommender systems toolkit.
39
"""

src/lenskit/__main__.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
"""
28
Allow LensKit to be run as a module.
39
"""

src/lenskit/als/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/als/_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/als/_explicit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/als/_implicit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/basic/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
"""
28
Basic and baseline pipeline components.
39
"""

src/lenskit/basic/bias.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
6+
67
"""
78
Bias scoring model.
89
"""

src/lenskit/basic/candidates.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from __future__ import annotations
28

39
import logging

src/lenskit/basic/composite.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from __future__ import annotations
28

39
import logging

src/lenskit/basic/history.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
"""
28
Components that look up user history from the training data.
39
"""

src/lenskit/basic/popularity.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from __future__ import annotations
28

39
import logging

src/lenskit/basic/random.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
import numpy as np
28
from pydantic import BaseModel
39

src/lenskit/basic/topn.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
"""
28
Basic Top-*N* ranking.
39
"""

src/lenskit/batch/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/batch/_results.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from __future__ import annotations
28

39
from typing import Sequence

src/lenskit/batch/_runner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/cli/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
import click
28

39
from lenskit.logging import LoggingConfig, console

src/lenskit/cli/data/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
import click
28

39
from .convert import convert

src/lenskit/cli/data/convert.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from pathlib import Path
28

39
import click

src/lenskit/cli/data/describe.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
import sys
28
from io import StringIO
39
from pathlib import Path

src/lenskit/cli/data/fetch.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from pathlib import Path
28
from urllib.request import urlopen
39

src/lenskit/data/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
6+
67
"""
78
Data abstractions and data set access.
89
"""

src/lenskit/data/adapt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/data/attributes.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
"""
28
Data attribute accessors.
39
"""

src/lenskit/data/builder.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
# pyright: basic
28
from __future__ import annotations
39

src/lenskit/data/checks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/data/collection.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from __future__ import annotations
28

39
import warnings

src/lenskit/data/container.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
"""
28
Data containers, the internal storage of data sets.
39
"""

src/lenskit/data/dataset.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/data/entities.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from __future__ import annotations
28

39
import numpy as np

src/lenskit/data/items.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/data/matrix.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/data/movielens.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/data/mtarray.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of LensKit.
22
# Copyright (C) 2018-2023 Boise State University
3-
# Copyright (C) 2023-2024 Drexel University
3+
# Copyright (C) 2023-2025 Drexel University
44
# Licensed under the MIT license, see LICENSE.md for details.
55
# SPDX-License-Identifier: MIT
66

src/lenskit/data/query.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
"""
28
Recommendation queries.
39
"""

src/lenskit/data/relationships.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This file is part of LensKit.
2+
# Copyright (C) 2018-2023 Boise State University
3+
# Copyright (C) 2023-2025 Drexel University
4+
# Licensed under the MIT license, see LICENSE.md for details.
5+
# SPDX-License-Identifier: MIT
6+
17
from __future__ import annotations
28

39
import warnings

0 commit comments

Comments
 (0)