Like others have said, research code isn't meant to be production quality code so I wouldn't worry about "quality" in that way.
Like others have said, research code isn't meant to be production quality code so I wouldn't worry about "quality" in that way.