fina-logic-lib
Deterministic logic library for FinBench - AI Multi-Agent Business Analyst System.
Author: Potheesh Vignesh K
What this package provides
- 195 deterministic rules across 6 layers:
- Extraction resolver (45)
- Decision rules (50)
- Composite resolver (30)
- Reconciliation (25)
- Narrative reasoning (20)
- Verification and abstention (25)
A separate formula engine can handle numeric computation, while fina-logic-lib handles rule-based interpretation, routing, consistency checks, and abstention.
Install
pip install fina-logic-lib
Development setup
python -m venv .venv
.venv\Scripts\activate
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
Verify
pytest tests/ -v
Lint check:
ruff check src tests
Release safety checks
python scripts/check_release.py
This runs tests, builds package artifacts, and validates metadata with twine check.
Publish
Set token env and upload:
set TWINE_USERNAME=__token__
set TWINE_PASSWORD=<your-pypi-token>
python scripts/publish.py
Metadata
Release files for fina-logic-lib 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fina_logic_lib-0.1.1.tar.gz | 17.5 kB | Without provenance | Details for fina_logic_lib-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fina_logic_lib-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for fina_logic_lib-0.1.1-py3-none-any.whl |
Total release size: 40.7 kB
Release files / fina_logic_lib-0.1.1.tar.gz
| Download URL | fina_logic_lib-0.1.1.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
599f9edce11dd883375cf621b276e12b6009df000af05f17752b8630d9f0b2a9
|
|
BLAKE2b-256 checksum How to use checksums |
24953ea39215174d523b2e8b698d4e38885077e2028ab55e224fae6c5a01fde1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / fina_logic_lib-0.1.1-py3-none-any.whl
| Download URL | fina_logic_lib-0.1.1-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b368846aadbda1d329fc28b75b8e50f7b2168fe70a7cd2ac9e2bc945f6f40f70
|
|
BLAKE2b-256 checksum How to use checksums |
1de8f73fd3f2e2105ee85c48b5a31ba4e26b7ca3b0e5bd3c44ec5fdf363c20ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for fina-logic-lib 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.