ChittyScore is the ChittyOS behavioral trust scoring service. The root of this repository is the canonical Python service surface.
The root service consists of:
app.py: Flask API and trust engine wiringmain.py: local entrypointsrc/chitty_score/: scoring models, dimensions, and analyticsschema.sql: database bootstrap materialrequirements.txtandpyproject.toml: Python packaging metadata
This repository also contains nested sub-projects such as chittyfinance/, chittyassets/, chittypm/, and chitty-frontend/. Those are independent projects and are not part of the root ChittyScore service runtime.
- Python
3.11+ - PostgreSQL-compatible
DATABASE_URLfor persistence if database-backed flows are used
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtpython main.pyOr with Gunicorn:
gunicorn --bind 0.0.0.0:5000 --reuse-port --reload main:appGET /GET /api/healthPOST /api/trust/calculateGET /api/trust/demo/<persona_id>
Minimal static validation:
python -m py_compile app.py main.py src/chitty_score/*.pySmoke test:
python -m unittest tests.test_smokeChittyTrustis the cryptographic root authority.ChittyScoreis the behavioral scoring layer.- Root packaging and deployment should target the Python service only.
- Nested applications should be validated and deployed independently.