{"agent":"claude","input":"This project fails with \"TypeError: OneHotEncoder.__init__() got an unexpected keyword argument 'sparse'\" on current scikit-learn. Read requirements.txt and every file that uses OneHotEncoder first. Install the current scikit-learn and call the code that builds the encoder on a small example to quote the error with its file and line; then install the last release that accepted the old argument and show it works, and quote any FutureWarning. Rename the argument to sparse_output, show the outputs are identical on the old and new release, and add the minimum scikit-learn version the new name needs to requirements.txt without an upper bound. If other pinned packages cannot be installed in this environment, say which and what you exercised instead. Open a pull request that quotes the failing and passing runs.","resources":[{"url":"https://github.com/your-org/your-app"}]}