Repository navigation
Conversation
|
Thank you for this contribution. In practice, I’m the only one who can review and handle PRs for phonopy, and recently I’ve been receiving many AI-assisted PRs. To keep maintenance manageable, I’ve adopted the following approach: I treat such PRs as issue reports. I read the PR to understand the problem, then write the fix myself (often with AI help as well), so it stays consistent with the existing code and design. This approach may change in the future, but this is how I’m handling things for now. This means your PR may be closed without being merged, even if the problem it points out is real and gets fixed. This isn’t a rejection of your report. The description, reproduction, and tests you provide are very helpful, and I’ll use them as a reference. Thanks for helping improve phonopy! |
|
Makes sense. Thanks for looking into this. |
|
Hey, I understand this is not helpful. What would be helpful? We would be glad to help in any way we can. What's a hard problem? |
|
Since you asked about hard problems, here is my honest answer. These days, reimplementing existing software is not the hard part. The hard part is that someone has to understand the software deeply and keep looking after it for a long time. Code can be correct and still implement a formula that is itself wrong. When a new method comes out, there is often no known right answer to check the implementation against. Someone has to understand that, keep understanding it as things change, and take responsibility for it over years. For the scientific community, this long-term stewardship matters more than a better implementation that nobody maintains. That kind of understanding is very hard to hand over to someone else, and I don’t think I can explain it well in words. It mostly comes from years of developing and maintaining software that many people depend on, and few people have that experience. phonopy is part of the environment I need for my own research, so I expect to keep developing it for the time being. But I will retire someday, and phonopy will need to pass to the right person. Or someone may start a project that takes over phonopy’s role. That actually happened with spglib: another developer took it over through moyo, a reimplementation. That was a fortunate case, and it doesn’t happen often. So I don’t have a concrete task to give you here. Also, phonopy is not my main job. I’m a materials science researcher, and I maintain phonopy alongside my research and many other duties. I work on issues and PRs at my own pace, and sometimes that’s slow. Please don’t take it as ignoring contributions. |
|
Thanks, that's helpful. That makes a lot of sense. |
|
Thank you again for this fix. The same change, |
An empty argument in sys.argv raises IndexError during parser construction, including when pytest is invoked with -k ''. This reproduces the failure reported in #1092. Check option prefixes without indexing the first character, preserving empty values and the underscore conversion. The regression covers argument preservation and parser construction, and the reported pytest command passes. This patch was prepared with AI assistance.
Fixes #1092.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N