Implement a function detect loose lists that uses the mistune library to parse Markdown text and analyze its…
Implement a function detect loose lists that uses the mistune library to parse Markdown text and analyze its…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). This task requires mistune because the tight attribute on list tokens is determined by the library's internal parsing logic during…
The task
This task requires `mistune` because the `tight` attribute on list tokens is determined by the library's internal parsing logic during AST construction, which cannot be reliably inferred via regex or external analysis.
Part of Essacheez/r2e-code-instruct-qwen3.5.