Skip to content

Assessment: Metadata Callback Add typed model for results #1213

Description

@vprashrex

Is your feature request related to a problem?
The current metadata.result_files in callbacks are untyped, leading to confusion. This affects clarity and increases the likelihood of errors in processing.

Describe the solution you'd like

  • Replace untyped envelope with a typed AssessmentResultFiles model keyed by stage.
  • Eliminate synthetic results/*_results kind mapping in favor of using the stage name.
  • Only upload errors.jsonl when there are actual errors to report; a clean run should not create empty objects.
Original issue

Callback metadata.result_files currently untyped envelope. Replace with typed AssessmentResultFiles model keyed by stage, drop synthetic results/*_results kind mapping in favour of stage name itself. errors.jsonl upload only when something to report — clean run leaves no empty object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions