HF RL Explorer

Evaluates the agent's ability to create a robust XSS filter that removes JavaScript from HTML files while…

Evaluates the agent's ability to create a robust XSS filter that removes JavaScript from HTML files while…: a task in Terminal-Bench 2.1 (Harbor git-repos dataset) (Harbor dataset). Create a python file /app/filter.py that removes JavaScript from HTML files to prevent XSS attacks. You should…

The task

Create a python file /app/filter.py that removes JavaScript from HTML files to prevent XSS attacks. You should preserve as much of the HTML as possible (e.g., preserve standard formatting, tables, headers, non-dangerous-attributes, etc).

Part of qingyu-lyq/terminal-bench-2.1.