CoolFace
Apppublic

burnmydays/commitment-conservation-demo

sourceHugging Facecc-by-4.0updated 7mo agoView on Hugging Face
0likes
App README

Commitment Conservation Harness v2.0

Falsification instrument for the commitment conservation law.

![DOI](https://doi.org/10.5281/zenodo.18792459)

πŸ“„ Paper: A Conservation Law for Commitment in Language Under Transformative Compression (v0.04) πŸ—οΈ Zenodo Record: https://zenodo.org/records/18792459 πŸ’» GitHub: https://github.com/SunrisesIllNeverSee/commitment-conservation


Quick Start

bash
# Clone and install
git clone https://huggingface.co/burnmydays/commitment_conservation_harness
cd commitment_conservation_harness
pip install -r requirements.txt

# Run the interactive demo
python app.py
# Opens at http://localhost:7860

# Run the full falsification protocol (CLI)
python -m src.runner --backend lossy --depth 10

# Run tests (53 tests, <1 second)
pip install pytest
python -m pytest tests/ -v

A Conservation Law for Commitment in Language Under Transformative Compression and Recursive Application

Abstract

This repository accompanies a preprint introducing a conservation law for commitment in language under transformative compression and recursive application. We formalize commitment as an information-bearing invariant that must be preserved across paraphrase, summarization, and iterative reuse, even as surface form and representation change.

We propose a falsifiability framework based on compression-driven stress tests and lineage-aware evaluation, distinguishing semantic preservation from mere token retention. The framework is model-agnostic and applies to both human and machine-generated language.


Core Claims

  • β€”Commitment Conservation: Meaningful commitments in language obey a conservation constraint under compression and recursive reuse.
  • β€”Dual Stress Regime: Preservation must hold under both transformative compression and recursive application, exposing failure modes not captured by retrieval benchmarks.
  • β€”Falsifiability: Commitment preservation can be empirically tested using compression-based stress tests and lineage-aware metrics.

Harness v2.0 Architecture

app.py                  <- Gradio interactive demo
src/
  extraction.py         <- Modal-pattern sieve (Definition 2.4, Figure 4)
  fidelity.py           <- Min-aggregated scoring: F = min(Jaccard, Cosine, NLI proxy)
  compression.py        <- Pluggable backends (extractive, BART, back-translation)
  lossy.py              <- Deterministic LLM drift simulator (pure Python, no model)
  enforcement.py        <- Reject-and-retry commitment gate (Module 3)
  lineage.py            <- SHA-256 provenance chains (Module 2)
  runner.py             <- Falsification protocol orchestrator (Section 7)
corpus/
  canonical_corpus.json <- 25 pinned signals across 5 categories
tests/
  test_harness.py       <- 53 tests covering all modules

Key improvements over v1

Issuev1v2
Extractors3 incompatible implementations1 modal-pattern sieve
EnforcementString concatenation (stripped next cycle)Reject-and-retry gate with re-injection
FidelityJaccard onlymin(Jaccard, Cosine, NLI proxy)
LineageNoneSHA-256 provenance chains
Collapse detectionNoneCross-signal attractor check
False positives"will", "have" match as commitmentsBlocked by pattern design
Demo backendBART (2GB model download)Lossy simulator (pure Python, zero deps)
Backend pairingSame backend for both runsAuto-pairs lossy with lossy_enforced

Empirical Results

Paper results (Section 7)

Compression + lineage enforcement vs. probabilistic baseline on 175 signals (100 sentences, 50 code snippets, 25 proofs) over 10 recursive iterations:

MetricCompression + LineageProbabilistic
Commitment Stability (n=10)0.94 Β± 0.030.42 Β± 0.12
Identity Preservation92%38%
Drift Rate (per iteration)0.0060.058

Harness v2 results (lossy backend, drift=0.4, depth=10)

25-signal canonical corpus across 5 categories:

BaselineEnforcedGap
Avg Final Fidelity0.0000.479+47.9pp
Contract (payment + penalty)0.0001.000+100.0pp
Security (encrypt + prohibit)0.0000.500+50.0pp

Baseline β†’ 0.0 (commitments destroyed, text becomes "Pretty straightforward. Nothing too complicated here.") Enforced β†’ holds (modal-bearing sentences survive compression).


Version History

VersionLabelDateDOI
V.1-preprintLaw DisclosureJan 12, 202610.5281/zenodo.18267279
V.02PreprintJan 16, 202610.5281/zenodo.18271102
V.03Falsifiability TestingJan 16, 202610.5281/zenodo.18274930
V.04Technical Structure DepthFeb 26, 202610.5281/zenodo.18792459

Resources

  • β€”Zenodo (DOI, all versions): <https://doi.org/10.5281/zenodo.18267278>
  • β€”Zenodo (current version β€” v0.04): <https://doi.org/10.5281/zenodo.18792459>
  • β€”GitHub Repository: <https://github.com/SunrisesIllNeverSee/commitment-conservation>

Licensing & Scope

This work is released under Creative Commons Attribution 4.0 International (CC BY 4.0).

This repository includes an operational evaluation harness and corpus supporting the experiments described in the paper.

Core implementation details related to production deployment, enforcement, and system integration are intentionally out of scope.


Attribution & Contact

Author: Deric J. McHenry Copyright: Β© 2026 Ello Cello LLC. All rights reserved. Affiliation: Ello Cello LLC Contact: burnmyday@proton.me

For academic or research correspondence, please reference the Zenodo DOI above.


Intellectual Property Notice

MOΒ§ESβ„’ (Minimal Orthogonal Subset to Essential Structure) is a trademark of Ello Cello LLC.

All systems, methods, and written material contained herein are protected under applicable copyright law and are part of one or more provisional patent applications filed with the United States Patent and Trademark Office (USPTO).

Β© 2026 Ello Cello LLC. All rights reserved.

Unauthorized use, duplication, or redistribution of any part of this communication β€” including proprietary system architecture or terminology β€” is strictly prohibited and may result in legal action.