Metadata-Version: 2.4
Name: evidence-check
Version: 0.3.0
Summary: Alias for pyligent-agents, which provides the evidence-check command.
Author: Pyligent
License: Apache-2.0
Project-URL: Homepage, https://github.com/Pyligent/pyligent-agents
Project-URL: Documentation, https://github.com/Pyligent/pyligent-agents/blob/main/docs/GETTING-STARTED.md
Project-URL: Issues, https://github.com/Pyligent/pyligent-agents/issues
Keywords: extraction,citations,evidence,verification,documents
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: pyligent-agents>=0.3.0

# evidence-check

This is an alias. It installs
[`pyligent-agents`](https://pypi.org/project/pyligent-agents/), which provides the
`evidence-check` command.

```bash
pip install evidence-check
evidence-check contract.pdf extraction.json
```

Both of these install the same software:

```bash
pip install evidence-check
pip install pyligent-agents
```

## What the command does

It reports which values in an extraction the source document does not support. It
needs no API key, no network and no ground-truth labels.

| Finding | Meaning |
|---|---|
| `FABRICATED_EVIDENCE` | the citation does not appear in the document |
| `SILENT_REPAIR` | the citation appears, but states a value other than the one extracted |
| `PLACEHOLDER_VALUE` | the value is `TBD`, `N/A` or similar |

Exit codes: `0` no findings, `1` findings to review, `2` the run could not happen.
Exit 1 is a result, not a failure.

This confirms evidential support, not accuracy. A citation may be present, verbatim,
and still cite the wrong clause.

Documentation and source: **https://github.com/Pyligent/pyligent-agents**

Apache-2.0.
