HF RL Explorer

refactor: encapsulate how main application liveness check is done

refactor: encapsulate how main application liveness check is done: a task in github-trending-environments-10k (Harbor dataset). Title: refactor: encapsulate how main application liveness check is done

The task

**Title:** refactor: encapsulate how main application liveness check is done

Part of scalingX/github-trending-environments-10k.