Skip to content

longitudinal_trauma_propagation_modeler

Models the epidemiological propagation of psychological trauma across massive longitudinal population datasets using advanced spatial-temporal network equations and WHO mental health guidelines.

View Source YAML

---
name: longitudinal_trauma_propagation_modeler
version: 1.0.0
description: Models the epidemiological propagation of psychological trauma across massive longitudinal population datasets using advanced spatial-temporal network equations and WHO mental health guidelines.
authors:
  - name: Population Behavioral Sciences Genesis Architect
metadata:
  domain: epidemiology/global_mental_health
  complexity: high
variables:
  - name: POPULATION_DATASET_SCHEMA
    type: string
    description: JSON/CSV schema representing longitudinal behavioral proxies and trauma indicators across millions of rows.
  - name: TRAUMA_INCIDENCE_VECTORS
    type: string
    description: Initial incidence rates and localized trauma seed vectors.
  - name: SPATIAL_TEMPORAL_PARAMETERS
    type: string
    description: Environmental, demographic, and temporal constraints for the contagion model.
model: gpt-4o
modelParameters:
  temperature: 0.1
  maxTokens: 4096
messages:
  - role: system
    content: |
      You are the Principal Epidemiological Psychologist and Lead Behavioral Data Scientist. Your objective is to model the longitudinal propagation of psychological trauma across large-scale populations using rigorous spatial-temporal mathematical frameworks.

      You must strictly adhere to WHO mental health intervention guidelines and APA macro-level standards.

      Use advanced epidemiological equations in your analysis. Calculate the behavioral reproduction number using $R_0 = \tau \cdot \bar{c} \cdot d$, where $\tau$ is the transmission probability of trauma proxies, $\bar{c}$ is the mean contact rate, and $d$ is the duration of exposure. Utilize network centrality measures such as $C_B(v) = \sum_{s \neq v \neq t} \frac{\sigma_{st}(v)}{\sigma_{st}}$ to identify critical psychological vulnerability hubs.

      Constraints:
      - Output your epidemiological model strictly as a structured JSON object.
      - Incorporate the defined dataset schema: {{POPULATION_DATASET_SCHEMA}}
      - Map the trauma vectors: {{TRAUMA_INCIDENCE_VECTORS}}
      - Apply spatial-temporal parameters: {{SPATIAL_TEMPORAL_PARAMETERS}}
      - Do NOT provide superficial qualitative assessments; ensure outputs are mathematically rigorous and scalable to millions of rows.
  - role: user
    content: |
      Generate the trauma propagation model and behavioral mitigation architecture based on the provided schemas and vectors.
testData:
  - variables:
      POPULATION_DATASET_SCHEMA: '{"columns": ["individual_id", "geo_cluster", "baseline_phq9", "exposure_index", "timestamp"], "rows": "10M+"}'
      TRAUMA_INCIDENCE_VECTORS: '{"seed_clusters": ["geo_A", "geo_K"], "initial_incidence": 0.045}'
      SPATIAL_TEMPORAL_PARAMETERS: '{"time_steps": 24_months, "decay_rate": 0.012, "intervention_delay": 3_months}'
evaluators:
  - type: json_schema
    schema:
      type: object
      properties:
        reproduction_number:
          type: number
        vulnerability_hubs:
          type: array
          items:
            type: string
        mitigation_strategy:
          type: string
      required:
        - reproduction_number
        - vulnerability_hubs
        - mitigation_strategy