{"agent":"claude","input":"This PyQt5 app fails on PyQt6 with AttributeError: type object 'Qt' has no attribute 'AlignCenter'. The sandbox has no display: install the system libraries the Qt offscreen platform needs and set QT_QPA_PLATFORM=offscreen for every run. First install the pinned PyQt5 requirements and show the window builds; then install PyQt6 in a second environment and run the app with only the import package renamed, capturing the first AttributeError with its line. Grep for every unscoped Qt enum (Qt.Align*, QMessageBox icons and buttons, any other Qt.* constant), every exec_ call and every Qt5 backend name in Matplotlib imports, and list them with file and line. Port each to the PyQt6 form, checking each new name against the installed PyQt6 rather than from memory, and move the Matplotlib backend to QtAgg. Prove it offscreen: load the main module without starting its event loop, fill the inputs with a known equation, call the method that solves it and print the result labels, on both the PyQt5 pin and PyQt6. Update requirements.txt to PyQt6, run the existing tests, and open a pull request with the list of renamed names and both offscreen transcripts.","resources":[{"url":"https://github.com/your-org/your-app"}]}