There is a particular requirement that has two versions. The first version has proven to be more challenging than the subsequent version to both describe the specification and compose; and also currently contains a known bug for only a specific inputs, though outputs the expected result for all other inputs. The second version produces the expected output for that specification.
Am considering posting a question containing both versions of the code for review.
I have read these, though I'm still not certain if posting a question that contains a known bug is on-topic for Code Review:
My question was closed as being off-topic. What are my options?
How broken does code have to be to for a question to be closed?
The prospective question will not ask how to fix the known bug. I would prefer to not have the question closed for being off-topic due to the known bug. I will fix the bug of the first version of the code/specification before posting a question here, if that is required.
Questions
- Does the code in a question require there to be no known bugs?
- If the question does not ask for the known bug to be addressed is the question on-topic for Code Review SE?
- Should the bug be fixed before posting the question?