Skip to content

Assessment: Make L1 and L2 optional #1326

Open

Description

@vprashrex

Is your feature request related to a problem?
Currently, an ASSESSMENT config must include an assessment block, preventing pre-filter-only runs which could limit flexibility in processing.

Describe the solution you'd like

  • Make both assessment and pre_filters optional, with at least one required (422 at config save).
  • Allow pre-filter-only runs to return output.assessment = null with the verdict in output.pre_filter.
  • Ensure pipeline build, finalize, and provider/model checks accommodate a missing assessment stage.
  • Maintain compatibility with existing config versions that always include assessment.
Original issue

Context

An ASSESSMENT config must carry an assessment block today, so a pre-filter-only run is not possible.

Scope

  • assessment and pre_filters both optional; at least one required (422 at config save).
  • A pre-filter-only run returns output.assessment = null with the verdict in output.pre_filter.
  • Pipeline build, finalize and the provider/model checks handle a missing assessment stage.
  • Existing config versions stay valid (they always have assessment).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

  • Status
    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions