The goal is to give out a reproducible example.
To achieve that, one can include code and a sample dataset for others to reproduce the error in the github issue.
One should also explain the current outcome of the code and the expected outcome of this code.
To make the issue clearer, one should also include screenshots, error messages and logging details in the issue.