Skip to content

v0.1.0: Base Implementation

Choose a tag to compare

@mkabramyan mkabramyan released this 08 Mar 03:34
· 41 commits to main since this release

First public release of the compprov-core module — the foundation of the
compprov Computational Provenance framework.

What's included

Core execution model

  • ComputationContext — thread-safe execution scope that accumulates the Calculation Provenance Graph (CPG)
  • DefaultComputationContext — pre-configured context with built-in wrappers and JSON serialization
  • ComputationEnvironment — manages context lifecycle

Variable tracking

  • WrappedVariable / AbstractWrappedVariable — base infrastructure for tracked numerical variables
  • VariableTrack — captures variable metadata (UUID, timestamp, kind, descriptor)
  • Descriptor — attaches human-readable name/description/origin to any variable or operation

Built-in wrappers

  • WrappedBigDecimal — full BigDecimal arithmetic with provenance tracking
  • WrappedBigInteger — full BigInteger arithmetic including ternary ops (modPow)
  • WrappedInteger, WrappedLong — primitive integer wrappers
  • WrappedMathContext — tracked MathContext for precision control

Serialization

  • Full Jackson-based JSON export of the CPG (Snapshot)
  • ContextRecord format: variables map (ordered by creation time) + operations list (ordered by execution time)

Dependency

<dependency>
  <groupId>io.compprov</groupId>
  <artifactId>compprov-core</artifactId>
  <version>0.1.0</version>
</dependency>

Requirements

  • Java 17+
  • Apache License 2.0