HF RL Explorer

JsonFormatter breaks with StrFormatStyle and removes log fields unexpectedly

JsonFormatter breaks with StrFormatStyle and removes log fields unexpectedly: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). The JsonFormatter is not working correctly with different logging format styles and is randomly removing fields from log records. When…

The task

The JsonFormatter is not working correctly with different logging format styles and is randomly removing fields from log records. When using format strings with curly braces (StrFormatStyle), the formatter fails to parse the format correctly and also removes fields from the log output.

Part of keryszhan/harbor-swesmith-rl-artifacts.