HF RL Explorer

refactor use Ternary operator

refactor use Ternary operator: a task in github-trending-environments-10k (Harbor dataset). Title: refactor use Ternary operator

The task

**Title:** [refactor] use Ternary operator

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