Skip to content
@compprov

compprov

compprov framework

compprov — Computational Provenance

compprov is an open-source Java framework that automatically creates a structured, machine-readable Calculation Provenance Graph (CPG) for every computation.

It wraps numerical variables and operations into a tracked execution context, forming a Directed Acyclic Graph (DAG) that captures the complete audit trail of a calculation — without requiring developers to manually build graphs or restructure existing code.

Why compprov?

Complex numerical systems in finance, engineering, and scientific computing share three critical problems:

  • Opacity — a single output with no traceable audit trail makes debugging painful
  • Irreproducibility — no native mechanism to guarantee a calculation can be precisely reconstructed
  • Software & Codebase Decay — business logic and software libraries evolve constantly, making legacy calculations nearly impossible to audit years later. Because CompProv separates structural lineage from the executable code, it preserves the exact mathematical truth of a calculation in a lightweight Snapshot. For auditing purposes, you don’t need to resurrect dead repositories, dig through obsolete dependencies, or reconstruct broken build environments—as long as the basic wrappers/operation descriptors are provided, the calculation can be analyzed and verified out-of-the-box.

compprov solves all three simultaneously, from a single instrumented execution.

How it works

Every variable gets a descriptor (source, type, unit, unique ID). Every operation gets a descriptor (input IDs, function signature, timestamp). Together they form the CPG — a DAG that serves as:

Purpose What the CPG enables
Auditing & Debugging Trace any anomalous result back to the exact input and operation that caused it
Context Comparison Diff two CPGs to highlight structural or numerical divergence between runs

Modules

Repository Status Description
compprov-core GitHub release Context wrapping and CPG construction
compprov-trust GitHub release Signature generation and verification module for the CPG
compprov-render GitHub release Browser-based graph and plot visualization of CPG data
compprov-analytics GitHub release CLI tool that audits compprov-core Calculation Provenance Graph snapshots
compprov-plugin-example GitHub release An example plugin for compprov-analytics, showing how to extend it without modifying its code

License

Apache License 2.0 — Copyright 2026 Minas Abramyan LinkedIn

Popular repositories Loading

  1. compprov-core compprov-core Public

    Core module of the compprov framework - wraps operations into a tracked Calculation Provenance Graph (CPG) context

    Java 2

  2. compprov-render compprov-render Public

    Visualization renderer for compprov — interactive graph and plot views for Calculation Provenance Graph (CPG) data produced by compprov-core

    HTML 2

  3. compprov-trust compprov-trust Public

    Wraps a JSON payload in an enveloping JAdES Baseline-LT signature. The envelope embeds the payload, the signer's certificate chain, and a cryptographic timestamp from an external TSP service — prod…

    Java 1

  4. .github .github Public

    Organization-level community health files and profile for compprov

  5. compprov-analytics compprov-analytics Public

    CLI tool that audits compprov-core Calculation Provenance Graph snapshots for tampering, combining deterministic structural checks with optional LLM-driven fraud-pattern analysis.

    Java

  6. compprov-plugin-example compprov-plugin-example Public

    An example plugin for compprov-analytics, showing how to extend it without modifying its code

    Java

Repositories

Showing 6 of 6 repositories

Top languages

Loading…

Most used topics

Loading…