Skip to main content
Use this tutorial when the trace-level signal can be represented as one serialized field, typically stored in a single text column. Many safety and security style metrics fit this simplified trace pattern.

Dataset schema

Typical columns:
  • input: the serialized trace or message text
  • label: the ground-truth class for the metric

Config shape

Set:
  • data_generation.metric.input_format: "single"
  • data_generation.source_data.dataset.columns.features: ["input"]
  • training.metric.type: "boolean"

Minimal end-to-end config