Minimal reproducible example

{{Short description|Source code in computing for troubleshooting}}

{{More footnotes|date=October 2024}}

In computing, a minimal reproducible example (abbreviated MRE){{cite journal |last1=Haller |first1=Benjamin C. |title=Ten simple rules for reporting a bug |journal=PLOS Computational Biology |date=13 October 2022 |volume=18 |issue=10 |pages=e1010540 |doi=10.1371/journal.pcbi.1010540 |doi-access=free |pmid=36227808 |pmc=9562159 |bibcode=2022PLSCB..18E0540H }}, "Rule 6" is a collection of source code and other data files that allow a bug or problem to be demonstrated and reproduced. The important feature of a minimal reproducible example is that it is as small and as simple as possible, such that it is just sufficient to demonstrate the problem, but without any additional complexity or dependencies that will make resolution harder. Furthermore, it would probably expose the problem with as low as possible efforts and runtime to allow testing a new software version as efficiently as possible for the problem.

A minimal reproducible example may also be referred to as a reprex, a minimal working example (MWE), a minimal complete verifiable example (MCVE), or a short self-contained correct example (SSCCE).

References

{{Reflist}}

Category:Debugging