---
title: "Data Analysis Domain"
description: "Profile for data science and analytics environments. Emphasizes data quality, reproducibility, statistical rigor, and model governance."
canonical: "https://acs.synapti.ai/domains/data-analysis/"
last_updated: "2026-11-16T04:19:36Z"
---

# Data Analysis Domain

Source: [docs/domains/data-analysis/README.md](https://github.com/synaptiai/agent-capability-standard/blob/main/docs/domains/data-analysis/README.md), commit 18c38b74ac21.

This document describes how to use the Grounded Agency framework for data science and analytics environments.

## Overview

The data analysis domain profile is calibrated for environments where:
- **Data quality is critical** — Garbage in, garbage out
- **Reproducibility matters** — Analysis must be traceable
- **Statistics require rigor** — Uncertainty must be explicit
- **Models need governance** — Drift detection and retraining

The profile takes effect where a host, a safety layer or the validator applies it (Standard 1.2.0 [§5.21](https://acs.synapti.ai/spec/1.2.0/index.md#521-domain-profiles)): applied, its rules raise the flags of the steps and calls they name, and only tighten. A workflow's `profile` field applies nothing. See [Status of Domain Profiles](https://acs.synapti.ai/domains/index.md#status-of-domain-profiles) for which components apply it, its grounding policy (`require_grounding`) and minimum confidence included.

## Domain Profile

**Profile location:** `schemas/profiles/data_analysis.yaml`

### Trust Weights

Data analysis trusts certified and validated sources:

| Source | Trust Weight | Rationale |
|--------|-------------|-----------|
| Certified Dataset | 0.95 | Validated, governed data |
| Data Warehouse | 0.92 | Curated enterprise data |
| Schema Registry | 0.92 | Authoritative schemas |
| Production DB | 0.90 | Source of truth |
| Feature Store | 0.90 | Engineered, validated |
| Data Quality System | 0.90 | Monitoring validation |
| ETL Pipeline | 0.88 | Processed data |
| Model Registry | 0.88 | Governed models |
| Data Steward | 0.85 | Human governance |
| Domain Expert | 0.82 | Subject matter knowledge |
| Analyst Annotation | 0.78 | Analyst notes |
| API Feed | 0.70 | External data |
| Public Dataset | 0.65 | Public, varying quality |
| Web Scrape | 0.55 | Unstructured, unreliable |

### Risk Thresholds

```yaml
auto_approve: low       # Low-risk analysis auto-approved
require_review: medium  # Medium requires data team review
require_human: high     # High-risk requires approval
block_autonomous:
  - mutate              # Never modify production data autonomously
  - send                # Never publish results without review
```

### Checkpoint Policy

Data analysis requires checkpoints before:
- Writing to production data stores
- Deploying models
- Publishing reports
- Modifying pipeline configurations

The profile states it as checkpoint rules on capabilities ([§5.21.3](https://acs.synapti.ai/spec/1.2.0/index.md#5213-effect-on-steps-and-calls); a `checkpoint` step is exempt):

```yaml
checkpoint_policy:
  # Standard v1.2 §5.21: capability ids or "*". From 1.0.0's labels:
  # before_data_mutation -> mutate; before_model_deployment -> execute;
  # before_report_publish -> send; before_pipeline_change (high_risk) and
  # during_batch_job (medium_risk) -> "*": medium_risk.
  mutate: always
  execute: always
  send: always
  "*": medium_risk
```

## Available Workflows

### 1. Data Pipeline Validation

**Goal:** Validate pipeline outputs for quality, schema, and statistical consistency.

**Capabilities used:**
- `retrieve` — Get pipeline output and schema
- `constrain` — Validate against schema
- `measure` — Calculate statistics
- `compare` — Compare to baseline
- `detect` — Find anomalies
- `verify` — Run data quality checks
- `ground` — Verify lineage
- `classify` — Classify validation result
- `generate` — Create validation report
- `audit` — Record validation

**Trigger:** Pipeline completion

**Output:** Validation report with pass/fail verdict

### 2. Anomaly Investigation

**Goal:** Investigate detected anomalies to find root cause.

**Capabilities used:**
- `retrieve` — Get anomaly data
- `observe` — Examine in context
- `discover` — Find patterns
- `attribute` — Identify causes
- `search` — Find related events
- `compare` — Compare to baseline
- `measure` — Quantify impact
- `simulate` — Project continuation
- `plan` — Generate remediation
- `explain` — Create summary
- `audit` — Record investigation

**Trigger:** Anomaly detection alert

**Output:** Investigation summary with recommendations

### 3. Report Generation

**Goal:** Generate data-driven reports with insights.

**Capabilities used:**
- `retrieve` — Get template
- `search` — Query data sources
- `measure` — Compute metrics
- `compare` — Benchmark comparisons
- `detect` — Find trends
- `attribute` — Identify drivers
- `predict` — Forecast next period
- `ground` — Anchor to evidence
- `generate` — Create report
- `transform` — Format for audience
- `audit` — Record generation

**Trigger:** Scheduled or on-demand

**Output:** Formatted report with grounded insights

### 4. Model Monitoring

**Goal:** Monitor ML model performance and detect drift.

**Capabilities used:**
- `receive` — Ingest predictions
- `retrieve` — Get baselines
- `measure` — Calculate performance
- `compare` — Compare to baseline
- `observe` — Current distributions
- `detect` — Data drift
- `detect` — Concept drift
- `attribute` — Drift contributors
- `predict` — Performance trajectory
- `plan` — Recommend intervention
- `generate` — Monitoring report
- `audit` — Record cycle

**Trigger:** Scheduled monitoring window

**Output:** Monitoring report with intervention recommendations

## Customization Guide

### Adjusting Data Quality Thresholds

```yaml
# Stricter thresholds for financial data
pipeline:
  anomaly_threshold: 2.0    # Stricter than default 2.5
  null_tolerance: 0.01      # Max 1% nulls
  schema_strict: true       # No extra columns allowed
```

### Model-Specific Drift Thresholds

```yaml
# Model with known seasonal patterns
model:
  drift_threshold: 0.15     # Higher tolerance for seasonality
  concept_drift_threshold: 0.08
  monitoring_window: "7d"   # Weekly assessment
```

### Custom Evidence Requirements

```yaml
evidence_policy:
  required_anchor_types:     # Anchor kinds (Standard 1.2.0 §6.5)
    - record                 # Data lineage
    - x-methodology          # A vendor kind: require methodology
  require_grounding: [measure, predict]
  minimum_confidence: 0.85  # Higher for regulated industry
```

## Integration Examples

### With Data Warehouses

```yaml
# Snowflake integration
search:
  query: ${template.queries}
  scope: snowflake://database/schema
  limit: 1000000
```

### With ML Platforms

```yaml
# MLflow integration
retrieve:
  target: mlflow://models/${model.id}/versions/latest
  format: model_metadata
```

### With Orchestrators

```yaml
# Airflow integration
receive:
  channel: airflow_events
  filter:
    dag_id: ${pipeline.dag_id}
    task_id: data_quality_check
```

## Statistical Rigor

### Confidence Requirements

All measurements must include uncertainty:

```yaml
measure:
  output:
    value: 0.85
    uncertainty:
      lower: 0.82
      upper: 0.88
    unit: accuracy
    confidence: 0.95
```

### Grounding Statistical Claims

```yaml
ground:
  claim: "Conversion rate increased 15%"
  sources:
    - query: "SELECT conversion_rate FROM metrics WHERE date BETWEEN ..."
    - sample_size: 50000
    - statistical_test: chi_squared
    - p_value: 0.001
  required_strength: strong
```

## Governance Considerations

1. **Always ground** metrics to source queries
2. **Include lineage** in all data transformations
3. **Version control** model artifacts
4. **Audit trail** for all report publications
5. **Drift detection** for all production models

## Related Documentation

- [Profile Schema](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/profiles/profile_schema.yaml)
- [Data Analysis Workflows](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/workflows/data_analysis_workflows.yaml)
- [Capability Ontology](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/capability_ontology.yaml)

## Profile values

Generated from [schemas/profiles/data_analysis.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/profiles/data_analysis.yaml) at commit 18c38b74ac21. Profile version 2.0.0. Where the text above repeats a value, this one is authoritative.

Profile for data science and analytics environments.
Emphasizes data quality, reproducibility, statistical rigor,
and model governance.

```yaml
domain: data-analysis
version: 2.0.0
standard: 1.2.0
ontology: 2.2.0
description: |
  Profile for data science and analytics environments.
  Emphasizes data quality, reproducibility, statistical rigor,
  and model governance.
trust_weights:
  data_warehouse: 0.92
  data_lake: 0.85
  production_db: 0.9
  certified_dataset: 0.95
  etl_pipeline: 0.88
  feature_store: 0.9
  model_registry: 0.88
  data_catalog: 0.85
  schema_registry: 0.92
  data_quality_system: 0.9
  data_steward: 0.85
  analyst_annotation: 0.78
  domain_expert: 0.82
  public_dataset: 0.65
  api_feed: 0.7
  web_scrape: 0.55
trust_model_reviewed: true
trust_model_reviewed_at: 2026-02-03
risk_thresholds:
  auto_approve: low
  require_review: medium
  require_human: high
  block_autonomous:
    - mutate
    - send
checkpoint_policy:
  mutate: always
  execute: always
  send: always
  "*": medium_risk
evidence_policy:
  required_anchor_types:
    - human_note
    - api
    - record
  minimum_confidence: 0.8
  require_grounding:
    - detect
    - predict
    - measure
    - compare
domain_sources:
  - name: Data Warehouse
    type: database
    default_trust: 0.92
  - name: Data Lake
    type: database
    default_trust: 0.85
  - name: ML Pipeline
    type: api
    default_trust: 0.88
  - name: Analyst Input
    type: human
    default_trust: 0.78
  - name: External APIs
    type: api
    default_trust: 0.7
workflows:
  - data_pipeline_validation
  - anomaly_investigation
  - report_generation
  - model_monitoring
```

**Figure: Trust weight per source, highest first.** 16 sources, from certified_dataset at 0.95 down to web_scrape at 0.55; the scale runs from 0.55 to 0.95, that range rounded out to 0.05.

| Source | Weight |
| --- | --- |
| `certified_dataset` | 0.95 |
| `data_warehouse` | 0.92 |
| `schema_registry` | 0.92 |
| `production_db` | 0.90 |
| `feature_store` | 0.90 |
| `data_quality_system` | 0.90 |
| `etl_pipeline` | 0.88 |
| `model_registry` | 0.88 |
| `data_lake` | 0.85 |
| `data_catalog` | 0.85 |
| `data_steward` | 0.85 |
| `domain_expert` | 0.82 |
| `analyst_annotation` | 0.78 |
| `api_feed` | 0.70 |
| `public_dataset` | 0.65 |
| `web_scrape` | 0.55 |

**Figure: What happens at each risk level.** At low risk approved automatically; at medium risk a person reviews it; at high risk a person approves each one, and 2 capabilities never run on their own: mutate and send.

| Risk level | Outcome |
| --- | --- |
| low | Auto |
| medium | Review |
| high | Human |

Never autonomous: `mutate`, `send`.

**Figure: When a checkpoint is made.** 4 rules: 3 always and 1 medium risk.

- `mutate`: always
- `execute`: always
- `send`: always
- `*`: medium risk

**Figure: What a claim must carry.** A claim needs a confidence of at least 0.80, 3 anchor types are expected and 4 capabilities must cite evidence.

- Minimum confidence: 0.80
- Evidence anchor types: `human_note`, `api`, `record`
- Must cite evidence: `detect`, `predict`, `measure`, `compare`

**Figure: Sources and their default trust.** 5 sources of 3 types; Data Warehouse has the highest default trust, 0.92.

| Source | Type | Default trust |
| --- | --- | --- |
| Data Warehouse | `database` | 0.92 |
| ML Pipeline | `api` | 0.88 |
| Data Lake | `database` | 0.85 |
| Analyst Input | `human` | 0.78 |
| External APIs | `api` | 0.70 |

## Workflows in this profile

**Figure: Steps of data_pipeline_validation.** 12 steps at low risk and no checkpoint step.

[`data_pipeline_validation`](https://acs.synapti.ai/workflows/data-pipeline-validation/index.md): Validate data pipeline outputs for quality, schema compliance, and statistical consistency.

1. `retrieve`: Get pipeline output data for validation.
2. `retrieve`: Get expected schema definition.
3. `constrain`: Validate data against schema constraints.
4. `measure`: Calculate statistical summary of the data.
5. `retrieve`: Get historical statistics for comparison.
6. `compare`: Compare current stats against historical baseline.
7. `detect`: Detect anomalies in statistical properties.
8. `verify`: Run data quality checks.
9. `ground`: Verify data lineage is complete.
10. `classify`: Classify overall validation result.
11. `generate`: Create validation report.
12. `audit`: Record validation execution.

**Figure: Steps of anomaly_investigation.** 11 steps at low risk and no checkpoint step.

[`anomaly_investigation`](https://acs.synapti.ai/workflows/anomaly-investigation/index.md): Investigate detected anomalies to identify root cause and impact.

1. `retrieve`: Get detailed data around the anomaly.
2. `observe`: Examine the anomalous data points in context.
3. `discover`: Find patterns in the anomalous data.
4. `attribute`: Identify likely causes of the anomaly.
5. `search`: Search for related events or changes.
6. `compare`: Compare anomalous period to normal baseline.
7. `measure`: Quantify the impact of the anomaly.
8. `simulate`: Project impact if anomaly continues unaddressed.
9. `plan`: Generate remediation recommendations.
10. `explain`: Create investigation summary.
11. `audit`: Record investigation.

**Figure: Steps of report_generation.** 11 steps at low risk and no checkpoint step.

[`report_generation`](https://acs.synapti.ai/workflows/report-generation/index.md): Generate data-driven reports with visualizations and insights.

1. `retrieve`: Get report template and specifications.
2. `search`: Query data sources for report metrics.
3. `measure`: Compute key metrics from retrieved data.
4. `compare`: Compare current metrics to benchmarks.
5. `detect`: Identify notable trends and outliers.
6. `attribute`: Identify factors driving key metric changes.
7. `predict`: Forecast metrics for next period.
8. `ground`: Anchor all insights to data evidence.
9. `generate`: Create report content and visualizations.
10. `transform`: Format report for target audience.
11. `audit`: Record report generation.

**Figure: Steps of model_monitoring.** 13 steps at medium risk, no checkpoint step and 1 step with gates.

[`model_monitoring`](https://acs.synapti.ai/workflows/model-monitoring/index.md): Monitor ML model performance and detect drift requiring intervention.

1. `receive`: Ingest recent model predictions and actuals.
2. `retrieve`: Get model baseline performance metrics.
3. `measure`: Calculate current model performance metrics.
4. `compare`: Compare current performance to baseline.
5. `retrieve`: Get input feature distributions from training.
6. `observe`: Observe current input feature distributions.
7. `detect`: Detect data drift in input features.
8. `detect`: Detect concept drift (prediction vs actual relationship change).
9. `attribute`: Identify features most contributing to drift.
10. `predict`: Forecast future performance if no action taken.
11. `plan`: Recommend intervention actions.
12. `generate`: Create monitoring report.
13. `audit`: Record monitoring cycle.
