{% extends "base.html" %} {% block title %}Admin — PhysCom{% endblock %} {% block content %}

Admin Panel

{{ stats.entities }}
Entities
{{ stats.domains }}
Domains
{{ stats.combinations }}
Combinations
{{ stats.pipeline_runs }}
Pipeline Runs

Seed Data

Reseed (Additive)

Add any missing seed entities and domains. Existing user-created data is preserved — only entries that don't already exist are inserted.

Wipe All Data

Delete all data — entities, domains, combinations, pipeline runs. Use Reseed afterwards to restore seed data.

Snapshots

Export Snapshot

Download the full database state as a JSON file — entities, domains, combinations, results, and scores.

Download JSON

Import Snapshot

Upload a previously exported JSON snapshot. Merge adds new data alongside existing; clear wipes everything first.

{% endblock %}