metrumresearchgroup / bbi

Next generation modeling platform
11 stars 2 forks source link

summary: include empty problem_text in JSON #299

Closed kyleam closed 1 year ago

kyleam commented 1 year ago

The RunDetails struct marks ProblemText with omitempty, so the empty value is dropped from the JSON output. Dropping problem_text causes downstream issues with bbr, which requires the key when creating summary log objects.

Drop the "omitempty" tag so that the problem_text is always included.

Note that what problem specifications got parsed as an empty string changed in v3.2.0: