-
Notifications
You must be signed in to change notification settings - Fork 1
Responsibility Futures
Jefferson edited this page May 15, 2026
·
2 revisions
Located in responsibility-futures/. A Python engine that quantifies responsibility through AI-extracted event analysis, integrated with Cortext.io.
Responsibility is measurable through the relationship between Intention and Negligence:
R = I / N
Where:
I (Intention) = Derived from warm vectors (Positivity, Engagement, Optimism)
N (Negligence) = Derived from cold vectors (Negativity, Risk, Uncertainty)
This creates a quantifiable responsibility index that moves beyond traditional credit scores to measure "social and scope capital."
Text Input → Cortext.io NLP → JSON Events → Responsibility Engine → HTML Reports + PNG Charts
- Input Processing — Accepts Cortext.io JSON reports containing sentences with warm/cold sentiment vectors, extracted subjects and phenomena
- Entity Analysis — Calculates mention frequency, average warm/cold vectors, and contextual concepts per entity
-
Responsibility Calculation
- Intention Score:
Positivity × 0.4 + Engagement × 0.4 + Optimism × 0.2 - Negligence Score:
Negativity × 0.5 + Risk × 0.3 + Uncertainty × 0.2 - R-Ratio with risk level classification (Low / Moderate / High)
- Intention Score:
- Visualization — Generates responsibility matrix dashboards, vector heatmaps, statistical summaries, and HTML reports
# Complete workflow
./run_analysis.sh
# Or manually
python src/enhanced_workflow.py
# Process a specific file
python src/enhanced_workflow.py --input /path/to/extraction_file.json| File | Purpose |
|---|---|
src/cortext_integration.py |
Main engine — loads Cortext.io JSON, extracts entities, calculates R-ratios |
src/report_generator.py |
HTML/PNG report generation with matplotlib and seaborn |
src/enhanced_workflow.py |
Complete workflow manager |
src/responsibility-futures.py |
Original algorithm implementation |
src/responsibility-index.py |
Core R = I/N logic |
examples/example_usage.py |
Usage demonstrations |
Based on "Stockholm Forgiveness of Responsibility: A Futures Market" (2019). Key concepts from the docs/ folder:
- Shorting the Solidarity Index — When joining a community, an individual borrows trust ("innocent until proven guilty") and aims to buy back into the position through proven reliability
- Dignity as a Call Option — Internal threshold of self-worth; the right to exit on your own terms
- Esteem as a Put Option — External reputation; the right to cash in on social capital
- Delta Minimization — The system rewards predictable behavior aligned with the Hegemonic Standard, not maximum R-scores. Over-performance (martyrdom) is penalized just like under-performance
- Rationality as Forgiveness — If behavior can be modeled and hedged, it becomes rationalized and forgivable
| R-Ratio Range | Risk Level |
|---|---|
| R > 5.0 | Low Risk |
| 2.0 < R ≤ 5.0 | Moderate Risk |
| R ≤ 2.0 | High Risk |
- Responsibility Matrix Dashboard — Risk scatter plot, top entities bar chart, risk distribution pie, visibility bubbles
- Vector Analysis Heatmaps — Warm/cold vector patterns per entity
- Statistical Summary — R-ratio distribution, correlation analysis, mention frequency, risk-level box plots
- HTML Report — Responsive, mobile-friendly report with embedded charts
- Upstream: Cortext.io Event Code Extractor
- Downstream (planned): Account Ninja (financial decisions from R-scores), Family RM (governance dashboards), iMASS (manufacturing responsibility metrics)
matplotlib
seaborn
numpy
pandas