claimproofkit 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- claimproofkit/__init__.py +95 -0
- claimproofkit/_text.py +94 -0
- claimproofkit/benchmark.py +407 -0
- claimproofkit/cli.py +136 -0
- claimproofkit/extractor.py +113 -0
- claimproofkit/identity.py +134 -0
- claimproofkit/models.py +133 -0
- claimproofkit/pipeline.py +145 -0
- claimproofkit/provenance.py +279 -0
- claimproofkit/py.typed +0 -0
- claimproofkit/report.py +219 -0
- claimproofkit/verifier.py +239 -0
- claimproofkit-0.1.0.dist-info/METADATA +95 -0
- claimproofkit-0.1.0.dist-info/RECORD +19 -0
- claimproofkit-0.1.0.dist-info/WHEEL +5 -0
- claimproofkit-0.1.0.dist-info/entry_points.txt +2 -0
- claimproofkit-0.1.0.dist-info/licenses/LICENSE +203 -0
- claimproofkit-0.1.0.dist-info/licenses/NOTICE +6 -0
- claimproofkit-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# Copyright 2026 Daniel Kissel
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
"""Baseline lexical verifier — mirrors the Swift `ClaimVerifier.swift`.
|
|
5
|
+
|
|
6
|
+
Verdict semantics are part of Claim Proof Specification v1 (§6) and locked by
|
|
7
|
+
the ``verdict_semantics.json`` conformance vector. Any behavior change here
|
|
8
|
+
must match a corresponding Swift change and a verifier-version bump.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
from typing import FrozenSet, List, Sequence, Set
|
|
14
|
+
|
|
15
|
+
from ._text import canonical_compare_key, split_letter_runs, split_words, swift_lower
|
|
16
|
+
from .extractor import ClaimExtractor
|
|
17
|
+
from .models import (
|
|
18
|
+
Claim,
|
|
19
|
+
ClaimType,
|
|
20
|
+
ClaimVerdict,
|
|
21
|
+
EvidenceMatch,
|
|
22
|
+
EvidencePassage,
|
|
23
|
+
ProofReport,
|
|
24
|
+
SourceType,
|
|
25
|
+
SupportStatus,
|
|
26
|
+
VerificationPolicy,
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
_STOP_WORDS: FrozenSet[str] = frozenset(
|
|
30
|
+
{
|
|
31
|
+
"a", "an", "and", "are", "as", "at", "be", "been", "by", "for", "from",
|
|
32
|
+
"did", "does", "has", "have", "in", "is", "it", "no", "not", "of", "on", "or",
|
|
33
|
+
"that", "the", "this", "to", "was", "were", "will", "with",
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
_NEGATIONS: FrozenSet[str] = frozenset({"not", "no", "never", "without", "cannot"})
|
|
38
|
+
|
|
39
|
+
_SPECULATIVE: FrozenSet[str] = frozenset(
|
|
40
|
+
{
|
|
41
|
+
"considering", "possible", "possibly", "proposed", "proposal", "planned",
|
|
42
|
+
"planning", "might", "could", "draft", "expected", "intends",
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
_OPPOSITES = (
|
|
47
|
+
("grant", "deny"), ("approve", "reject"), ("admit", "deny"), ("before", "after"),
|
|
48
|
+
("increase", "decrease"), ("present", "absent"),
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
_IRREGULAR_STEMS = {
|
|
52
|
+
"admitted": "admit", "decreased": "decrease", "denied": "deny", "filed": "file",
|
|
53
|
+
"granted": "grant", "increased": "increase", "received": "receive",
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
_MONTH_NAMES: FrozenSet[str] = frozenset(
|
|
57
|
+
{
|
|
58
|
+
"january", "february", "march", "april", "may", "june",
|
|
59
|
+
"july", "august", "september", "october", "november", "december",
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def _normalized_term(term: str) -> str:
|
|
65
|
+
irregular = _IRREGULAR_STEMS.get(term)
|
|
66
|
+
if irregular is not None:
|
|
67
|
+
return irregular
|
|
68
|
+
if len(term) > 5 and term.endswith("ing"):
|
|
69
|
+
return term[:-3]
|
|
70
|
+
if len(term) > 4 and term.endswith("ed"):
|
|
71
|
+
return term[:-2]
|
|
72
|
+
if len(term) > 4 and term.endswith("s"):
|
|
73
|
+
return term[:-1]
|
|
74
|
+
return term
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def _significant_terms(text: str) -> Set[str]:
|
|
78
|
+
terms = set()
|
|
79
|
+
for word in split_words(swift_lower(text)):
|
|
80
|
+
normalized = _normalized_term(word)
|
|
81
|
+
if len(normalized) > 1 and normalized not in _STOP_WORDS:
|
|
82
|
+
terms.add(normalized)
|
|
83
|
+
return terms
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def _has_negation(text: str) -> bool:
|
|
87
|
+
return bool(set(split_letter_runs(swift_lower(text))) & _NEGATIONS)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def _is_speculative(text: str) -> bool:
|
|
91
|
+
return bool(set(split_letter_runs(swift_lower(text))) & _SPECULATIVE)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def _has_opposing_terms(lhs: str, rhs: str) -> bool:
|
|
95
|
+
left = _significant_terms(lhs)
|
|
96
|
+
right = _significant_terms(rhs)
|
|
97
|
+
return any(
|
|
98
|
+
(a in left and b in right) or (b in left and a in right) for a, b in _OPPOSITES
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def _structured_values(text: str) -> Set[str]:
|
|
103
|
+
return {
|
|
104
|
+
token
|
|
105
|
+
for token in split_words(swift_lower(text))
|
|
106
|
+
if any(ch.isnumeric() for ch in token) or token in _MONTH_NAMES
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
def _has_structured_value_conflict(lhs: str, rhs: str) -> bool:
|
|
111
|
+
left = _structured_values(lhs)
|
|
112
|
+
right = _structured_values(rhs)
|
|
113
|
+
if not left or not right:
|
|
114
|
+
return False
|
|
115
|
+
return not left.issubset(right) and not right.issubset(left)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def _is_verifiable(claim_type: ClaimType) -> bool:
|
|
119
|
+
return claim_type not in (ClaimType.RECOMMENDATION, ClaimType.UNKNOWN)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
def _is_eligible(source: SourceType, claim_type: ClaimType) -> bool:
|
|
123
|
+
if source == SourceType.UNKNOWN:
|
|
124
|
+
return True
|
|
125
|
+
if claim_type == ClaimType.FACTUAL:
|
|
126
|
+
return source in (SourceType.EVIDENCE, SourceType.DECLARATION, SourceType.COURT_RECORD)
|
|
127
|
+
if claim_type == ClaimType.LEGAL_RULE:
|
|
128
|
+
return source in (
|
|
129
|
+
SourceType.STATUTE, SourceType.REGULATION, SourceType.COURT_RULE, SourceType.CASE_LAW,
|
|
130
|
+
)
|
|
131
|
+
if claim_type == ClaimType.LEGAL_CONCLUSION:
|
|
132
|
+
return source != SourceType.CALCULATION_INPUT
|
|
133
|
+
if claim_type == ClaimType.CALCULATION:
|
|
134
|
+
return source == SourceType.CALCULATION_INPUT
|
|
135
|
+
if claim_type == ClaimType.QUOTATION:
|
|
136
|
+
return True
|
|
137
|
+
return False # recommendation, unknown
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class ClaimVerifier:
|
|
141
|
+
def __init__(self, policy: VerificationPolicy = VerificationPolicy()):
|
|
142
|
+
self.policy = policy
|
|
143
|
+
|
|
144
|
+
def verify_document(
|
|
145
|
+
self, document: str, passages: Sequence[EvidencePassage], created_at: float = 0.0
|
|
146
|
+
) -> ProofReport:
|
|
147
|
+
claims = ClaimExtractor().extract(document)
|
|
148
|
+
return self.verify_claims(claims, passages, created_at=created_at)
|
|
149
|
+
|
|
150
|
+
def verify_claims(
|
|
151
|
+
self, claims: Sequence[Claim], passages: Sequence[EvidencePassage], created_at: float = 0.0
|
|
152
|
+
) -> ProofReport:
|
|
153
|
+
return ProofReport(
|
|
154
|
+
verdicts=tuple(self.verify(claim, passages) for claim in claims),
|
|
155
|
+
created_at=created_at,
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
def verify(self, claim: Claim, passages: Sequence[EvidencePassage]) -> ClaimVerdict:
|
|
159
|
+
if not _is_verifiable(claim.type):
|
|
160
|
+
return self._verdict(
|
|
161
|
+
claim, SupportStatus.NOT_VERIFIABLE, 1.0, (),
|
|
162
|
+
"This claim type requires a verifier or proof policy that is not configured.",
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
eligible = [p for p in passages if _is_eligible(p.source_type, claim.type)]
|
|
166
|
+
claim_terms = _significant_terms(claim.text)
|
|
167
|
+
ranked: List[EvidenceMatch] = []
|
|
168
|
+
for passage in eligible:
|
|
169
|
+
passage_terms = _significant_terms(passage.text)
|
|
170
|
+
matched = tuple(sorted(claim_terms & passage_terms))
|
|
171
|
+
score = 0.0 if not claim_terms else len(matched) / len(claim_terms)
|
|
172
|
+
ranked.append(EvidenceMatch(passage=passage, score=score, matched_terms=matched))
|
|
173
|
+
# Deterministic ranking with the same tie-break as Swift: score
|
|
174
|
+
# descending, then passage id ascending.
|
|
175
|
+
ranked.sort(key=lambda m: (-m.score, canonical_compare_key(m.passage.id)))
|
|
176
|
+
|
|
177
|
+
if not ranked or ranked[0].score <= 0:
|
|
178
|
+
return self._verdict(
|
|
179
|
+
claim, SupportStatus.UNSUPPORTED, 1.0, (),
|
|
180
|
+
"No supplied evidence passage shares the claim's material terms.",
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
best = ranked[0]
|
|
184
|
+
policy = self.policy
|
|
185
|
+
evidence = tuple(
|
|
186
|
+
m for m in ranked[: policy.maximum_evidence_matches] if m.score > 0
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
if (
|
|
190
|
+
best.score >= policy.ambiguous_threshold
|
|
191
|
+
and _is_speculative(best.passage.text)
|
|
192
|
+
and not _is_speculative(claim.text)
|
|
193
|
+
):
|
|
194
|
+
return self._verdict(
|
|
195
|
+
claim, SupportStatus.UNSUPPORTED, best.score, evidence,
|
|
196
|
+
"The passage discusses only a possible or proposed event and does not support the claim that it occurred.",
|
|
197
|
+
)
|
|
198
|
+
|
|
199
|
+
polarity_conflict = (
|
|
200
|
+
_has_negation(claim.text) != _has_negation(best.passage.text)
|
|
201
|
+
or _has_opposing_terms(claim.text, best.passage.text)
|
|
202
|
+
or _has_structured_value_conflict(claim.text, best.passage.text)
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
if best.score >= policy.contradiction_threshold and polarity_conflict:
|
|
206
|
+
return self._verdict(
|
|
207
|
+
claim, SupportStatus.CONTRADICTED, best.score, evidence,
|
|
208
|
+
"The closest evidence uses the same material terms but reverses the claim's polarity.",
|
|
209
|
+
)
|
|
210
|
+
if best.score >= policy.supported_threshold:
|
|
211
|
+
return self._verdict(
|
|
212
|
+
claim, SupportStatus.DIRECTLY_SUPPORTED, best.score, evidence,
|
|
213
|
+
"A supplied passage covers the claim's material terms.",
|
|
214
|
+
)
|
|
215
|
+
if best.score >= policy.ambiguous_threshold:
|
|
216
|
+
return self._verdict(
|
|
217
|
+
claim, SupportStatus.PARTIALLY_SUPPORTED, best.score, evidence,
|
|
218
|
+
"Related evidence exists, but it does not cover enough of the claim to prove it.",
|
|
219
|
+
)
|
|
220
|
+
return self._verdict(
|
|
221
|
+
claim, SupportStatus.UNSUPPORTED, 1 - best.score, evidence,
|
|
222
|
+
"The closest passage does not sufficiently support the claim.",
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
@staticmethod
|
|
226
|
+
def _verdict(
|
|
227
|
+
claim: Claim,
|
|
228
|
+
status: SupportStatus,
|
|
229
|
+
confidence: float,
|
|
230
|
+
evidence: Sequence[EvidenceMatch],
|
|
231
|
+
explanation: str,
|
|
232
|
+
) -> ClaimVerdict:
|
|
233
|
+
return ClaimVerdict(
|
|
234
|
+
claim=claim,
|
|
235
|
+
status=status,
|
|
236
|
+
confidence=min(max(confidence, 0.0), 1.0),
|
|
237
|
+
evidence=tuple(evidence),
|
|
238
|
+
explanation=explanation,
|
|
239
|
+
)
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: claimproofkit
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Apache-2.0 licensed, evidence-bound claim verification that blocks generated documents whose material claims the supplied evidence does not support. Python implementation of Claim Proof Specification v1, in locked parity with the Swift reference implementation.
|
|
5
|
+
Author: ClaimProofKit
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/Therealdk8890/ClaimProofKitPython
|
|
8
|
+
Project-URL: Reference-Implementation, https://github.com/Therealdk8890/ClaimProofKit
|
|
9
|
+
Keywords: verification,claims,evidence,hallucination,provenance,legal
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.9
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
License-File: NOTICE
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
|
|
29
|
+
# ClaimProofKit — Python implementation
|
|
30
|
+
|
|
31
|
+
**Apache-2.0 licensed** · Evidence-bound claim verification · Zero runtime dependencies
|
|
32
|
+
|
|
33
|
+
ClaimProofKit implements **Claim Proof Specification v1**: it checks whether the material claims in a generated document are supported by supplied evidence, and blocks publication when claims are unsupported or when no material claims can be extracted. It uses only the Python standard library at runtime.
|
|
34
|
+
|
|
35
|
+
The Swift [ClaimProofKit](https://github.com/Therealdk8890/ClaimProofKit) is the reference implementation. This Python implementation is held in **locked parity** with it through the golden vectors under `conformance/vectors`. Fingerprints, verifier verdicts, and canonical payload bytes are checked across both implementations.
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
ClaimProofKit is licensed under the [Apache License, Version 2.0](LICENSE). You may use, modify, distribute, and include it in commercial products subject to the license terms. **No separate production-use license is required.** See [NOTICE](NOTICE) and [Licensing and commercial use](COMMERCIAL_LICENSING.md).
|
|
40
|
+
|
|
41
|
+
The Apache-2.0 license applies to the code in this repository; it does not grant rights to project trademarks or imply endorsement.
|
|
42
|
+
|
|
43
|
+
## Install and test
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
pip install -e ".[dev]"
|
|
47
|
+
pytest
|
|
48
|
+
python conformance/run_conformance.py
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Verify a document
|
|
52
|
+
|
|
53
|
+
A document with no extractable material claims is **not** considered safe to publish. A successful verification gate requires at least one claim, and every extracted claim must have an approved verdict. This avoids treating an empty or unrecognized document as verified by vacuous success.
|
|
54
|
+
|
|
55
|
+
```python
|
|
56
|
+
from claimproofkit import ClaimVerifier, EvidencePassage, SourceType
|
|
57
|
+
|
|
58
|
+
evidence = [
|
|
59
|
+
EvidencePassage(
|
|
60
|
+
id="order-1",
|
|
61
|
+
source="Scheduling Order",
|
|
62
|
+
source_type=SourceType.COURT_RECORD,
|
|
63
|
+
text="The court denied the request for an extension.",
|
|
64
|
+
)
|
|
65
|
+
]
|
|
66
|
+
report = ClaimVerifier().verify_document(
|
|
67
|
+
"The court denied the request for an extension.", evidence
|
|
68
|
+
)
|
|
69
|
+
assert report.is_safe_to_publish
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The CLI exposes the same command semantics and exit codes as the Swift binary (0 published, 2 blocked, 3 benchmark gate failed, 64 usage, 65 unreadable input, 73 trace write failed):
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
claimproofkit verify input.json [--provenance trace.json]
|
|
76
|
+
claimproofkit benchmark corpus.json [--json]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Working with DProvenanceKit
|
|
80
|
+
|
|
81
|
+
`claimproofkit.provenance` exports a verification run as a DProvenanceKit-compatible trace, identical to the Swift bridge's output: stable `cpk_*` event vocabulary, canonical payload bytes (Trace Specification v1 §2), lineage edges, and the §5 run fingerprint.
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
from claimproofkit import ProvenanceExporter, VerificationPolicy
|
|
85
|
+
|
|
86
|
+
trace = ProvenanceExporter().trace(report, VerificationPolicy())
|
|
87
|
+
trace.events_json() # decodes as [TraceEvent<AnyTraceableEvent>] in Swift DProvenanceKit
|
|
88
|
+
trace.manifest_json() # full manifest with fingerprints and edges
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
The conformance runner proves the fingerprint against the real Python [dprovenancekit](https://github.com/Therealdk8890/DProvenanceKitPython) package when it is importable: recording the trace through its SQLite store reproduces the bridge's run fingerprint byte-for-byte. The same trace fingerprints identically in Swift ClaimProofKit, Swift DProvenanceKit, and Python dprovenancekit.
|
|
92
|
+
|
|
93
|
+
## Changing locked behavior
|
|
94
|
+
|
|
95
|
+
Specification changes originate in the Swift repo ([`Docs/PROOF_SPEC_V1.md`](https://github.com/Therealdk8890/ClaimProofKit/blob/main/Docs/PROOF_SPEC_V1.md)): bump the spec/verifier version there, regenerate vectors, then re-sync here with `conformance/sync-vectors.sh` and update this implementation to conform.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
claimproofkit/__init__.py,sha256=0T1GNoyme12rLFyvr6m9nHRCyzqbmVYrdvxfjxXa6YI,2214
|
|
2
|
+
claimproofkit/_text.py,sha256=i8X56oKWOStb_v98Jiclcrxl4I0283zBMbvbOG2SXrI,3452
|
|
3
|
+
claimproofkit/benchmark.py,sha256=pfuY_gUhUTTwfQEp2UqHNAh_CVKVOtAsik-2T2ydgR8,15254
|
|
4
|
+
claimproofkit/cli.py,sha256=yl6maix9ny8DLMeqj8eQ5siRZg_C-pxU7oGDen2KxsU,4977
|
|
5
|
+
claimproofkit/extractor.py,sha256=H8F_Jwncla-tX5-QZP7MwUz4RR5wAaSAqizsfNaUDmA,4353
|
|
6
|
+
claimproofkit/identity.py,sha256=pNSCNBOT0nnLwOM4owrq684uA17GfKaV9WfRmwH6HgI,5147
|
|
7
|
+
claimproofkit/models.py,sha256=DZUfjyj9uO6vH9PnGuZxlXeHEbTJTEGR7FMItcM91qw,3791
|
|
8
|
+
claimproofkit/pipeline.py,sha256=3Wh_naH7LKKBayW4REivzfDH2XpRpOM-YRUJ0d5TWn0,5182
|
|
9
|
+
claimproofkit/provenance.py,sha256=kCzi0o8joOtx6JogcXgCINTw0VNwBFS54Z3sBFr-Xyg,9520
|
|
10
|
+
claimproofkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
claimproofkit/report.py,sha256=ZZ39rNhIuOIaAVXfjombsMxiLJyudONTOzf4N_PqwQ8,9709
|
|
12
|
+
claimproofkit/verifier.py,sha256=dAzncWKbw6FF-jzO59-5tDRXT5mlAJDj_tDnd7AmKEM,8620
|
|
13
|
+
claimproofkit-0.1.0.dist-info/licenses/LICENSE,sha256=JY3nAEj4GI5LxiShqPrlJCFgo2Yjg5fF9Sj-vQroQJo,11235
|
|
14
|
+
claimproofkit-0.1.0.dist-info/licenses/NOTICE,sha256=WwSHkiF4g_Y-_41B8aufmfE4Lm32sKRTFj2g_DekpOM,272
|
|
15
|
+
claimproofkit-0.1.0.dist-info/METADATA,sha256=_l5jdVM_zqMD36GotDVKuqJS9wzz0er-VYbJwuqSQGo,5062
|
|
16
|
+
claimproofkit-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
17
|
+
claimproofkit-0.1.0.dist-info/entry_points.txt,sha256=nWY9JvtWe4zSfUD9LQGp600-Ac_GExuWBrjlui6SdnY,57
|
|
18
|
+
claimproofkit-0.1.0.dist-info/top_level.txt,sha256=uxeJIDXuQE0j3XH6u_99gavih7tkLkvlrVptd7F4d60,14
|
|
19
|
+
claimproofkit-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on or derived from the Work and for which
|
|
42
|
+
the editorial revisions, annotations, elaborations, or other
|
|
43
|
+
modifications represent, as a whole, an original work of authorship.
|
|
44
|
+
For the purposes of this License, Derivative Works shall not include
|
|
45
|
+
works that remain separable from, or merely link (or bind by name) to
|
|
46
|
+
the interfaces of, the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf
|
|
53
|
+
of the copyright owner. For the purposes of this definition,
|
|
54
|
+
"submitted" means any form of electronic, verbal, or written
|
|
55
|
+
communication sent to the Licensor or its representatives, including
|
|
56
|
+
but not limited to communication on electronic mailing lists, source
|
|
57
|
+
code control systems, and issue tracking systems that are managed by,
|
|
58
|
+
or on behalf of, the Licensor for the purpose of discussing and
|
|
59
|
+
improving the Work, but excluding communication that is conspicuously
|
|
60
|
+
marked or otherwise designated in writing by the copyright owner as
|
|
61
|
+
"Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and do not
|
|
118
|
+
modify the License. You may add Your own attribution notices
|
|
119
|
+
within Derivative Works that You distribute, alongside or as an
|
|
120
|
+
addendum to the NOTICE text from the Work, provided that such
|
|
121
|
+
additional attribution notices cannot be construed as modifying
|
|
122
|
+
the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of such modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies
|
|
129
|
+
with the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions
|
|
134
|
+
of this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing
|
|
142
|
+
the origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining
|
|
151
|
+
the appropriateness of using or redistributing the Work and assume
|
|
152
|
+
any risks associated with Your exercise of permissions under this
|
|
153
|
+
License.
|
|
154
|
+
|
|
155
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
156
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
157
|
+
unless required by applicable law (such as deliberate and grossly
|
|
158
|
+
negligent acts) or agreed to in writing, shall any Contributor
|
|
159
|
+
be liable to You for damages, including any direct, indirect,
|
|
160
|
+
special, incidental, or consequential damages of any character
|
|
161
|
+
arising as a result of this License or out of the use or inability
|
|
162
|
+
to use the Work (including but not limited to damages for loss
|
|
163
|
+
of goodwill, work stoppage, computer failure or malfunction, or
|
|
164
|
+
any and all other commercial damages or losses), even if such
|
|
165
|
+
Contributor has been advised of the possibility of such damages.
|
|
166
|
+
|
|
167
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
168
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
169
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
170
|
+
or other liability obligations and/or rights consistent with this
|
|
171
|
+
License. However, in accepting such obligations, You may act only
|
|
172
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
173
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
174
|
+
defend, and hold each Contributor harmless for any liability
|
|
175
|
+
incurred by, or claims asserted against, such Contributor by
|
|
176
|
+
reason of your accepting any such warranty or additional liability.
|
|
177
|
+
|
|
178
|
+
END OF TERMS AND CONDITIONS
|
|
179
|
+
|
|
180
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
181
|
+
|
|
182
|
+
To apply the Apache License to your work, attach the following
|
|
183
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
184
|
+
replaced with your own identifying information. (Don't include
|
|
185
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
186
|
+
comment syntax for the file format. We also recommend that a file
|
|
187
|
+
or class name and description of purpose be included on the same
|
|
188
|
+
"printed page" as the copyright notice for easier identification
|
|
189
|
+
within third-party archives.
|
|
190
|
+
|
|
191
|
+
Copyright 2026 Daniel Kissel
|
|
192
|
+
|
|
193
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
194
|
+
you may not use this file except in compliance with the License.
|
|
195
|
+
You may obtain a copy of the License at
|
|
196
|
+
|
|
197
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
198
|
+
|
|
199
|
+
Unless required by applicable law or agreed to in writing, software
|
|
200
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
201
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
202
|
+
See the License for the specific language governing permissions and
|
|
203
|
+
limitations under the License.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
ClaimProofKitPython
|
|
2
|
+
Copyright 2026 Daniel Kissel
|
|
3
|
+
|
|
4
|
+
This project is licensed under the Apache License, Version 2.0.
|
|
5
|
+
The Apache License does not grant trademark rights except as expressly stated
|
|
6
|
+
therein. The ClaimProofKit name and logos may not be used to imply endorsement.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
claimproofkit
|