Spaces:
Sleeping
Sleeping
Download database_init/04_add_forensic_columns.sql from juanquy/MorphGuard: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/spaces/juanquy/MorphGuard/resolve/main/database_init/04_add_forensic_columns.sql
- Command line
-
hf download hf://spaces/juanquy/MorphGuard/database_init/04_add_forensic_columns.sql
-
curl -L -o 04_add_forensic_columns.sql https://huggingface.co/spaces/juanquy/MorphGuard/resolve/main/database_init/04_add_forensic_columns.sql
678 Bytes
| -- Add columns for DeepForensic Engine (CTM) metrics | |
| ALTER TABLE detection_metrics ADD COLUMN IF NOT EXISTS forensic_ticks INTEGER DEFAULT 0; | |
| ALTER TABLE detection_metrics ADD COLUMN IF NOT EXISTS reasoning_path TEXT; | |
| ALTER TABLE detection_metrics ADD COLUMN IF NOT EXISTS detection_tier TEXT DEFAULT 'Tier1_Fast'; | |
| -- Add comment explaining the new columns | |
| COMMENT ON COLUMN detection_metrics.forensic_ticks IS 'Number of thinking steps taken by the CTM agent'; | |
| COMMENT ON COLUMN detection_metrics.reasoning_path IS 'JSON string containing the sequence of thoughts'; | |
| COMMENT ON COLUMN detection_metrics.detection_tier IS 'Tier of detection used: Tier1_Fast or Tier2_Forensic'; | |