-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNOTICE
More file actions
78 lines (54 loc) · 3.03 KB
/
Copy pathNOTICE
File metadata and controls
78 lines (54 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
weft
Copyright 2026 Sung-Kyu Yoo
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.
===============================================================================
THIRD-PARTY NOTICES
===============================================================================
weft has no third-party dependencies.
This is a project constraint rather than a coincidence: standard library only,
zero external dependencies, enforced by a test rather than asserted.
$ go list -m all
github.com/skyoo2003/weft
$ go test -run TestNoExternalDependencies ./pkg/engine/
Nothing is vendored, there is no /vendor directory, and go.mod carries no
require block.
-------------------------------------------------------------------------------
Go standard library
-------------------------------------------------------------------------------
weft compiles against the Go standard library. The standard library is not
redistributed as part of this project — it is supplied by the Go toolchain on
the machine that builds weft — so Apache-2.0 section 4(d) does not require a
notice for it. It is recorded here because it is the only code outside this
repository that weft touches.
The Go Programming Language
Copyright (c) 2009 The Go Authors. All rights reserved.
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://cs.opensource.google/go/go/+/master:LICENSE
-------------------------------------------------------------------------------
Attribution for algorithms
-------------------------------------------------------------------------------
No code is copied from the sources below. They are listed because weft
implements algorithms they describe, and attribution is the honest thing to do.
Reciprocal Rank Fusion (pkg/fusion)
Cormack, G. V., Clarke, C. L. A., & Buettcher, S. (2009).
"Reciprocal Rank Fusion outperforms Condorcet and individual Rank Learning
Methods." SIGIR '09.
BM25 (pkg/scorer/text)
Robertson, S. E., & Zaragoza, H. (2009).
"The Probabilistic Relevance Framework: BM25 and Beyond."
Foundations and Trends in Information Retrieval, 3(4).
-------------------------------------------------------------------------------
When this file must change
-------------------------------------------------------------------------------
Adding any external dependency requires both of:
1. recording its copyright notice and license in the section above, and
2. deleting the "no third-party dependencies" claim.
TestNoExternalDependencies fails the moment a dependency is added, which is the
reminder that this file is now out of date.