Skip to main content

Findura

Findura is an open-source (Apache-2.0) core implementation of a common inspection ontology and deterministic agent harness for operational building inspection and remediation records.

Prior to property & casualty (fire and property insurance) renewals, Findura serves as a neutral data integration layer without replacing existing field inspection software or frontends, providing evidence packs for open findings, overdue deadlines, and completed remediations with complete reproducibility.


Key Features (Phase 1: Minimal Deterministic Core and Insurer Profile MVP)

  • Common Inspection Ontology (8 Core Classes & 5 Shapes):
    • Building, Asset, Inspection, Finding, Deadline, Remediation, Detection, SourceRecord
    • 5 Shape Constraints (FindingHasDeadlineShape, CompletedRemediationHasDateShape, DateImpliesCompletedShape, InspectionHasOneAssetShape, NoFabricatedValueShape)
    • Detailed formal specification, statutory origins, and validity justification documented in docs/ONTOLOGY_SPECIFICATION.md.
  • Deterministic Harness:
    • Ingestion (ingest): Raw-byte SHA-256 ingestion with property-level provenance tracking
    • Normalization (normalize): Pure-function transformation driven by approved mapping YAML (v0)
    • Database Loading (loader): JSON Schema validation with canonical core table storage vs. quarantined violations (quarantine_records)
    • Query (query): Parameter-bound deterministic SQL based on reference date as_of for open findings, overdues, and completed remediations
    • Evidence Pack (pack): Generation of pre-renewal findings manifest with embedded canonical JSON result_sha256
  • Reproducibility Guarantee: Identical result_sha256 guaranteed across repeated runs given the same inputs, version, and reference date (as_of).
  • Point-in-Time Query Semantics:
    • open_findings: Retrieves findings identified on or before as_of that remained unresolved at that reference point (uncompleted or completed after as_of).
    • completed_remediations: Retrieves only remediations confirmed completed on or before as_of.
    • Prohibits all wall-clock functions (NOW(), CURRENT_DATE, CURRENT_TIMESTAMP, LOCALTIME, LOCALTIMESTAMP) to ensure historical point-in-time states can be deterministically reproduced.

Directory Structure

findura/
├── docs/                   # Core ontology specifications and architecture rationale
├── schema/                 # Database schema (tables.sql) and 5 JSON Schema shapes
├── ontology/               # Ontology definitions (RDF/SHACL vocabularies planned for Phase 3)
├── mappings/sources/       # Mapping definitions v0 (source_csv_synthetic.yaml)
├── queries/                # Deterministic query SQL (insurer-open-findings-v1, completed-remediations-v1)
├── profiles/insurer/       # Insurer profile skeleton (profile.yaml)
├── fixtures/synthetic/     # Statutory form alignment table, 20 synthetic records, and expected verdicts
├── harness/                # Agent harness implementation (ingest, normalize, loader, query, pack, cli)
└── tests/                  # Automated test suite for S1–S4, S6 acceptance criteria

Setup and Execution

1. Start PostgreSQL

docker compose up -d

2. Install Dependencies

uv sync

3. Run Automated Tests

uv run pytest -v

4. CLI Execution Examples

# Ingest raw source data
uv run harness ingest fixtures/synthetic/synthetic_inspections.csv

# Normalize and load (conforming records to core tables, non-conforming to quarantine)
uv run harness normalize --mapping mappings/sources/source_csv_synthetic.yaml

# Query insurer profile (reference date: 2026-10-27)
uv run harness query --profile insurer --as-of 2026-10-27

# Build evidence pack
uv run harness pack --profile insurer --as-of 2026-10-27 --output evidence_pack.json

License

Apache License 2.0

Metadata

Release files for findura 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for findura 0.1.0
File Size Uploaded Provenance Actions
findura-0.1.0.tar.gz 56.0 kB Without provenance Details for findura-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for findura 0.1.0
File Interpreter ABI Platform Actions
findura-0.1.0-py3-none-any.whl Python 3 none any Details for findura-0.1.0-py3-none-any.whl

Total release size: 74.1 kB

Release files / findura-0.1.0.tar.gz

Download URL findura-0.1.0.tar.gz
Size 56.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a0a55d81e421c57d1faba66834eb6682eb60845a9ceb4ef04dec97c23e7280e5
BLAKE2b-256 checksum
How to use checksums
7d0e577d0f0df693ff73d8b0f9b26de307aee33aa7adaa139cfdd4dea25e1a04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / findura-0.1.0-py3-none-any.whl

Download URL findura-0.1.0-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bba2165e1911c1e13f22efcf9b33eb6ddda4e399dcf96a1560cf242946ac0b73
BLAKE2b-256 checksum
How to use checksums
7013ba786fe353e76572401f29632c663e921a4b37d11274159aaa62b29fbc46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for findura 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page