{
  "title": "CorneaForge / OphtaFlow AI deployment snapshot",
  "observed_on": "2026-10-01",
  "observation_timezone": "Europe/Paris",
  "method": "Read-only inspection of running services and process working directories, live HTTP responses, aggregate SQL in read-only transactions, stored output timestamps, and sanitized processing counters.",
  "deployment": {
    "environment": "On-premise hospital infrastructure",
    "application": "FastAPI / OphtaFlow AI",
    "object_store": "MinIO",
    "relational_store": "PostgreSQL 16",
    "supervision": "systemd",
    "research_storage": "Versioned Parquet with read-only DuckDB queries"
  },
  "health": {
    "api_http": 200,
    "minio_live_http": 200,
    "minio_ready_http": 200,
    "postgresql": "Accepting connections; read-only queries succeeded",
    "status_note": "The API status document also carries an expired July manual maintenance declaration; direct health, acquisition-read and XGBoost inference checks succeeded during inspection."
  },
  "processing": {
    "ms39": {
      "feature_rows_with_nonempty_features": 158703,
      "feature_rows_with_visual_reference": 54438,
      "latest_index_ingestion": "2026-10-01T13:40:08+02:00",
      "latest_feature_extraction": "2026-10-01T13:56:31+02:00",
      "latest_visual_generation": "2026-10-01T11:48:06+02:00",
      "indexed_native_device_records": 242713,
      "index_row_definition": "One row per unique native image_guid (image/export record); multiple records can share a native test_guid. This is not a count of distinct tests, visits or patients.",
      "feature_count_definition": "One row per acquisition_id with feature_count > 0.",
      "visual_count_definition": "One row per acquisition_id with a non-null visuals_minio_prefix; stored references, not a full object-integrity audit."
    },
    "oct": {
      "explicit_no_oct_records": 93194,
      "latest_successful_processing": "2026-10-01T11:48:41+02:00",
      "prior_24h_worker_outcomes": {
        "ok": 33,
        "no_oct": 286,
        "errors": 0
      },
      "acquisitions_with_oct_metadata_ok": 37896,
      "source_sections_in_ok_metadata": 884865,
      "row_definition": "One row per clinical acquisition_id. status=ok records source-section availability and a display-geometry recipe; n_sections counts source section objects. Pixel rendering and caching happen separately.",
      "population": "Clinical MS-39 acquisition subset, distinct from the device-wide index and the AS-OCT pretraining corpus.",
      "count_scope": "Sum of previously stored n_sections values for status=ok rows linked to the clinical viewer. This is neither a total of the entire image archive or research corpus nor a fresh file-by-file inventory."
    },
    "corvis": {
      "verified_version_feature_rows": 4638,
      "extractor_version": "corvis_verified.v1",
      "dicom_raw_records": 247,
      "latest_dicom_ingestion": "2026-09-30T15:40:06+02:00",
      "latest_promotion": "2026-09-30T15:40:08+02:00",
      "scope": "Running DICOM listener and incremental promoter; positive promotion ticks and stored outputs. Native workstation package installation was not established."
    }
  },
  "model_serving": {
    "stored_heads": 6,
    "acquisitions_per_head": 62635,
    "live_acquisition_read_http": 200,
    "separate_seven_class_xgboost_demo_inference_http": 200,
    "latest_stored_prediction_date": "2026-08-08",
    "background_prediction_worker": "Disabled; existing result serving and separate demo inference remain deployed",
    "scope": "Stored output and successful serving, not a diagnostic-performance estimate."
  },
  "research": {
    "catalog_http": 200,
    "curated_columns": 59,
    "queried_snapshot_build_date": "2026-06-25",
    "snapshot_rows_by_device": {
      "MS39": 108494,
      "Corvis": 689,
      "IOLMaster700": 3275
    },
    "scope": "Existing imported/versioned research snapshot, distinct from continuously updated ingestion. No continuous IOLMaster ingestion was verified."
  },
  "automorph": {
    "application_page_http": 200,
    "worker": "Active, idle",
    "recent_web_queue_completion": "Not established by retained queue or journals",
    "separate_clarus_batch": {
      "sealed_batches": 154,
      "status": "Complete",
      "output_checksum": "Recomputed and matched existing manifest",
      "scope": "Existing batch execution and artifact integrity, distinct from current application queue."
    }
  },
  "count_definitions": "Counts refer to different processing tables and outcomes. They must not be added as unique people, treated as one cohort, or interpreted as completeness percentages.",
  "privacy": "Aggregate system measurements only; no clinical records, patient identifiers, images, individual predictions, host addresses, or credentials.",
  "count_recheck": {
    "checked_at": "2026-10-01T14:24:54+02:00",
    "indexed_native_device_records": 242728,
    "distinct_native_test_identifiers": 79860,
    "feature_rows_with_nonempty_features": 158703,
    "feature_rows_with_visual_reference": 54438,
    "oct_acquisitions_with_metadata_ok": 37896,
    "oct_source_sections_in_ok_metadata": 884865,
    "scope": "Read-only aggregate recheck clarifying row grain; the initial snapshot counts above are preserved."
  }
}
