a maze

The question: in Python 3.9, how does one set up inheritance of dataclasses, when the base class contains fields with a default value?

ChatGPT and Claude both try to come up with solutions. They, regularly, fail at this.

Eventually, the "intelligent" approach revealed itself: ask the machine to replace @dataclass with some explicit constructors.