This seems orthogonal to the topic under discussion though. I don't believe GP was saying the publications are perfect.
No, but codifying access requirements might be the right opportunity to require code/data sharing. After all, some research is next to useless without it and the public paid for the code as much as the paper.