HF RL Explorer

Terminal Bench Task: Persist Flask Error Logs to a File

Terminal Bench Task: Persist Flask Error Logs to a File: a task in Terminal-Lego-15k (Harbor dataset). You are given a small Flask application that currently emits useful error messages only in debug mode. Your task is to modify the application so that production-style errors are written to a log…

The task

You are given a small Flask application that currently emits useful error messages only in debug mode. Your task is to modify the application so that production-style errors are written to a log file on disk, and to ensure that repeated errors are not silently ignored.

Part of PrimeIntellect/Terminal-Lego-15k.