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.
Is your feature request related to a problem?
The current
metadata.result_filesin callbacks are untyped, leading to confusion. This affects clarity and increases the likelihood of errors in processing.Describe the solution you'd like
AssessmentResultFilesmodel keyed by stage.results/*_resultskind mapping in favor of using the stage name.errors.jsonlwhen there are actual errors to report; a clean run should not create empty objects.Original issue
Callback
metadata.result_filescurrently untyped envelope. Replace with typedAssessmentResultFilesmodel keyed by stage, drop syntheticresults/*_resultskind mapping in favour of stage name itself.errors.jsonlupload only when something to report — clean run leaves no empty object.