FrankenNetworkX

Guide/Evidence

Observability

1 min readFrom the README

For long-running pipelines, the witness ledger and decision log are the canonical observability surface:

  • artifacts/conformance/latest/structured_logs.jsonl: one JSON line per conformance fixture execution. Fields include {schema_version, run_id, ts_unix_ms, crate_name, suite_id, packet_id, test_name, test_id, test_kind, mode, fixture_id, duration_ms, replay_command, status, reason_code, forensics_bundle_index}. Drainable by jq.
  • artifacts/perf/latest/perf_baseline_matrix_v1.json: p50/p95/p99 + memory for every algorithm family in the SLO matrix.
  • artifacts/perf/latest/slo_gate_report_v1.json: pass/fail status for each SLO row plus the delta from baseline.
  • RaptorQ sidecars (*.raptorq.json) and decode receipts (*.recovered.json): paired with the conformance and baseline bundles so long-lived evidence artifacts survive partial-corruption events.

For Python-side observability:

import logging
logging.basicConfig(level=logging.INFO)
# Rust `log` records (a few shortest-path kernels at INFO, some mutations at
# DEBUG) arrive through pyo3-log under the logger name "franken_networkx".
logging.getLogger("franken_networkx").setLevel(logging.DEBUG)

There are no tracing spans and RUST_LOG is not read. The backend dispatch layer does not log its decisions today; to see whether a call dispatched, compare type(result) or time the call.