You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/overview.md
+44-22
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ Each expression-info map in the sequence of values has this structure:
24
24
Whether this identifier was unambiguously declared within the input or was instead concluded by lice-comb (see [the SPDX FAQ](https://wiki.spdx.org/view/SPDX_FAQ) for more detail on the definition of these two terms).
25
25
*`:confidence` (one of: `:high`, `:medium`, `:low`, only provided when `:type` = `:concluded`):
26
26
Indicates the approximate confidence lice-comb has in its conclusions for this particular SPDX identifier.
27
+
*`:confidence-explanations` (a set of keywords, optional):
28
+
Describes why the associated `:confidence` was not `:high`.
27
29
*`:strategy` (a keyword, mandatory):
28
30
The strategy lice-comb used to determine this particular SPDX identifier. See [[lice-comb.utils/strategy->string]] for an up-to-date list of all possible values.
29
31
*`:source` (a sequence of `String`s):
@@ -41,34 +43,54 @@ For example, this code:
41
43
results in this expressions-info map (pretty printed for clarity):
A key insight that the expressions-info map tells us in this case is that the `javax.mail/javax.mail-api@1.6.2` artifact doesn't declare which version of the CDDL it uses, and lice-comb has _inferred_ the latest (`CDDL-1.1`), and in doing so reduced its confidence to "low". This important insight is not apparent when the `simple` variant of the function is used instead:
88
+
A key insight that the expressions-info map tells us in this case is that the `javax.mail/javax.mail-api@1.6.2` artifact doesn't declare which version of the CDDL it uses, and lice-comb has _inferred_ the latest (`CDDL-1.1`), and in doing so reduced its confidence to "low" (while also provided a helpful confidence explanation). This important insight is not apparent when the `simple` variant of the function is used instead:
(fn [^java.io.File d] (and (not= (.getCanonicalFile d) (.getCanonicalFile (io/file (lcmvn/local-maven-repo)))) ; Make sure to exclude the Maven local repo, just in case it happens to be nested within dir
@@ -135,7 +134,7 @@
135
134
directories (as defined by `java.io.File.isHidden()`) are included in the
0 commit comments