mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-18 05:33:59 -05:00
Create comprehensive research-lab pack structure with mathematical and quantum computing modules from blackroad-prism-console: Math Modules: - hilbert_core.py: Hilbert space symbolic reasoning - collatz/: Distributed Collatz conjecture verification - linmath/: Linear mathematics C library - lucidia_math_forge/: Symbolic proof engine - lucidia_math_lab/: Experimental mathematics Quantum Modules: - lucidia_quantum/: Quantum core - quantum_engine/: Circuit simulation Experiments: - br_math/: Gödel gap, quantum experiments Includes pack.yaml manifest and comprehensive README. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
706 B
Python
24 lines
706 B
Python
import argparse
|
|
|
|
from .db import connect
|
|
|
|
|
|
def main():
|
|
ap = argparse.ArgumentParser()
|
|
ap.add_argument("--db", default="./campaign.sqlite")
|
|
args = ap.parse_args()
|
|
db = connect(args.db)
|
|
cur = db.cursor()
|
|
jobs, checked, max_stop, max_exc = cur.execute(
|
|
"SELECT COUNT(), SUM(checked_count), MAX(max_stopping_time), MAX(max_excursion) FROM results"
|
|
).fetchone()
|
|
print(
|
|
f"Jobs: {jobs} Integers checked: {checked or 0} Record stopping time: {max_stop or 0} Record excursion: {max_exc or 0}"
|
|
)
|
|
anomalies = cur.execute("SELECT COUNT() FROM anomalies").fetchone()[0]
|
|
print(f"Anomalies (need audit): {anomalies}")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|