Questions tagged [minimal-reproducible-example]
Minimal, Reproducible Example (formerly Minimal, Complete, and Verifiable Example, or MCVE) is the coding example standard the community expects to be able to produce an answerable question. Use for questions about what does and does not meet this standard.
91
questions
6
votes
2
answers
224
views
How to create a Minimal, Complete and Verifiable example for Firefox WebExtensions-API related questions?
The WebExtension-API for Firefox is quite complex. It is not easy to create a MWE for it.
Do you know a way how to create a Minimal, Complete and Verifiable example for Firefox WebExtensions-API ...
17
votes
2
answers
773
views
Questions about GPL’d code
It is not legal to take GPL code and re-license it under CC-BY-SA, and fair-use is settled on a case-by-case basis in the US and may change from country to country. That means that it is not known to ...
-8
votes
2
answers
1k
views
Is the MCVE help page actually being linked to in a useful way?
Recently when posting questions of my own, or viewing others' questions, I see that the comments are all "Improve your question by posting a Minimal, Complete, and Verifiable example." or "That's ...
50
votes
10
answers
1k
views
Should an MCVE include boilerplate that's not required just because people incorrectly think it is?
A question came up in which the asker demonstrated cross-browser rendering differences between two complete HTML documents, one with a DOCTYPE:
<!DOCTYPE html>
<img style="width: 100%; ...
6
votes
1
answer
52
views
User profile link on help center page uses http instead of https
I suppose all links to the Stack Exchange Network should be in HTTPS. Obviously this one in the MCVE help page was forgotten.
Click to see full image
Looks like this user specifically likes HTTP :)
66
votes
2
answers
4k
views
Why should I post complete errors? Why isn't the message itself enough?
I have a shell script that fails saying there's no such file or directory.
This error message seems clear to me, but when I post about it, I'm being asked to include the full and complete error ...
-21
votes
1
answer
313
views
Is it compulsory to produce a Minimal, Complete, and Verifiable Example?
I just now asked a JavaScript question and it's being downvoted for not being able to provide a Minimal, Complete, and Verifiable Example.
I am new to JavaScript and the .js file already contains ...
2
votes
0
answers
119
views
How to suggest that someone's MCVE is not so minimal [duplicate]
I recently commented on this question, a typical copy-paste of all their code, asking the user to provide an mcve.
I don't think that the user has made their question minimal, it still requires a ...
-9
votes
1
answer
94
views
Can we enforce that programs must be runnable in questions? [duplicate]
Can we please enforce the "C" in MCVE? ("Complete" if you didn't know, I sure hope you did)
There are so many questions where the OP doesn't care enough to make a runnable example, so he/she gives an ...
3
votes
0
answers
81
views
What is the proper way to post an MCVE in frameworks like Django?
I think most people would not want someone to post their entire Django project into a question, but there's really no way to post an isolated piece of a Django project that someone else can copy into ...
1
vote
1
answer
3k
views
How do I create a minimal complete verifiable example?
I asked a question, and it was closed with the following reason.
Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and ...
-26
votes
1
answer
294
views
Is there a tutorial video to create a Minimal, Complete, Verifiable Example?
Many times I've written MCVE in the comment section of questions from newcomers. Still, the same users won't post a MCVE in their following questions, even if they've read it.
Many people are not ...
-9
votes
1
answer
215
views
Why is this question closed as not having MCVE, when it has everything?
This question was closed as not having MCVE, but does it really needs one, as it "it doesn't have it?".
Minimal?
It has the 3 lines of code required to load a torrent and said torrent.
...
3
votes
1
answer
567
views
External link for code vs. posting code as an answer
In this question I posted only the code relevant to the purpose of the question, leaving an MCVE in an external link. Then after a few comments a solution for my question came up from the users, and ...
75
votes
0
answers
350
views
Add fragment identifiers to MCVE page sections for easy linking
Sometimes, when I link to the MCVE page, I want to highlight one specific aspect using a fragment identifier. For instance, a question be minimal and complete, but not verifiable. It would be nice to ...
-6
votes
2
answers
1k
views
True meaning of MCVE
In reference to this question and this meta post. In said question, I initially posted this code:
if (condition1) {
do_something();
return;
}
if (condition2) {
if (do_stuff())
...
76
votes
4
answers
1k
views
How to create a Minimal, Complete, and Verifiable example for C# UI related questions?
I understand that it is necessary to create a Minimal, Complete, and Verifiable example when posting questions to StackOverflow.
However, when dealing with UI related questions such as WinForms in ...
28
votes
2
answers
1k
views
Should code from pastebin be edited into a question? [duplicate]
Sometimes when I review edits in the Suggested Edits queue, code or text from a linked pastebin is edited into the question. Is this encouraged? Should this be approved?
2
votes
2
answers
85
views
Questions about localizing a problem
I see these quite regularly. An OP provides all the means to reproduce the issue, shows the actual result etc. The problem is, the question is actually a request to localize the issue for them.
A ...
42
votes
4
answers
1k
views
How can I ask this question without resorting to third-party file sharing?
I'm working on a program to process a set of PDF files. I'm having trouble and would like to get some assistance on Stack Overflow. In order to show what kind of problems I'm encountering, I need ...
245
votes
2
answers
40k
views
Why should I provide a Minimal Reproducible Example for a very simple SQL query?
I've asked a question about a simple SQL query, and now some users are telling me that I need to include a Minimal, Reproducible Example (MRE/MCVE).
Obviously I've read the help pages, but my question ...
2
votes
1
answer
110
views
Is Dropbox appropriate for hosting a live demo in a post?
I often build small static sites, anywhere between 3 and 30 files, that I routinely host and demo for clients. Sometimes I'd like to link to these projects in an SE post to demonstrate some odd ...
-11
votes
2
answers
238
views
How to ask complicated questions in acceptable manner, especially in the c++ tag? [closed]
I think this is happening repetitively to me. Sometimes I ask a question that asks how to do:
Something that is not actually supported by the API I use, but is not explicitly stated anywhere
...
86
votes
2
answers
877
views
Should the MCVE page advise against pictures of text? [duplicate]
I tend to see a lot of questions like this one where askers post or link to pictures of text rather than providing directly usable test data. This is lazy and creates tedious extra work for anyone ...
91
votes
1
answer
4k
views
Why is MCVE so utterly beautiful? If yes, can we put it more places, or make it more bright and garish and attention seeky?
I recently came across a comment including:
How to create a Minimal, Complete, and Verifiable example
And I realised I have never come across it before, which seems odd given the amount of time I've ...
5
votes
1
answer
812
views
How do I address the MVCE expectation if the basic point of my question is to help me get an MVCE?
Following on the heels of my last question, I tried to learn from the feedback and, after abandoning a few approaches, I wrote https://stackoverflow.com/questions/37602268/in-pinax-how-can-i-make-two-...
2
votes
1
answer
114
views
If the OP knows their code is wrong but truly has no access to the problem details, can asking for the corner case that breaks their code be on-topic? [duplicate]
I've seen a few questions recently where the OP has written what they feel is a complete implementation of their desired code, has learned that it is wrong for at least one input, but does not know ...
4
votes
1
answer
71
views
Proper Triage close reason for "write this for me"? [duplicate]
I like that the text of the "For help with debugging your code..." choice includes the bit about MCVE, which is what is needed for these questions, but the opening doesn't seem right because there is ...
44
votes
1
answer
423
views
Typo on the MCVE page
Just a small thing, but there is inconsistency in the dash width on the MCVE page:
For those who can't see the minuscule difference (it's the hyphen after "Verifiable").
Who can fix this, and ...
31
votes
2
answers
1k
views
What was our stance about short, self-contained examples again?
I'm on the fence about this one.
On the one hand, I'm all for MCVEs. Having the OP make me scroll through pages and pages of code, most of which is completely irrelevant to the problem, is not a ...
15
votes
2
answers
722
views
"Burninate" footnote in MCVE page
Visiting the How to create a Minimal, Complete, and Verifiable example page, I found there is a tiny footnote that is almost impossible to read (or maybe my eyesight is failing me):
Quote for ...
22
votes
2
answers
528
views
Help center: search for 'mcve' does not return the mcve help page
Phase one: I was misspelling the term as 'MVCE' instead of 'MCVE'. It's part of the story; take a chair and listen.
Something I noticed that struck me as wrong and certainly not cute: I needed the ...
-7
votes
2
answers
254
views
Should a HOWTO question about launching C++ threads be closed for lacking an MCVE?
I stumbled over this question and asked that an MCVE be provided. The asker replied to my comment suggesting that such a thing was unnecessary in the context of his question.
I'm pretty sure that my ...
14
votes
0
answers
183
views
Can "Please create a Minimal, Complete, Verifiable Example" be an Auto-Comment
When I vote to close a question because it is a duplicate, a comment is automatically inserted:
possible duplicate of...
Could we add an automatic comment when I vote to close because it lacks, "...
36
votes
1
answer
980
views
If your MCVE is still somewhat large, is it OK to post a link to github? [duplicate]
I was recently having a problem with an asynchronous server written in C++. I extracted the relevant code from my project, stripped it down to what I believed was a minimal, complete, verifiable ...
10
votes
1
answer
234
views
What is the best way to flag questions that do not provide an MCVE (when they should)?
I've seen a lot of "how to flag / handle" questions on the meta (like this one), but none directly asking or answering what I want to know.
Many questions follow the structures:
I have X, ...
4
votes
1
answer
143
views
Make an automatic MCVE comment when closing as off-topic? [duplicate]
When a question is no good without MCVE, I usually add a comment requesting it. However, formulating such a comment is a chore (I have to add that link to the page that describes what MCVE is), so I ...
6
votes
1
answer
106
views
Should snippets in questions be expanded so the code compiles even if the gist is understandable otherwise?
I've noticed several occasions where a nice clean code snippet in a question is edited by another user to transform the snippet into a working program.
The most recent example I noticed was this ...
11
votes
5
answers
474
views
Asking questions when I am limited as to what I can share
I haven't posted a question in a while which has gotten a downvote, but I sure do make it hard for people to help me. This is because I am highly restricted on what I can post to get help on by my ...
5
votes
1
answer
218
views
How can I have a "provide a complete, minimal example code that demonstrates the error" with this question?
With this question, Why might Eclipse failing to identify fields?, I have been told: "Can you show us complete, minimal example code that demonstrates the error?"
How would I be able to do that on ...
87
votes
0
answers
633
views
"[mcve]" should magic-link to "Minimal, Complete, and Verifiable example" help page [duplicate]
Good quality code examples are the bedrock of Stack Overflow and I'd like to make linking to the Minimal, Complete, and Verifiable example help page even easier.
Please can we add a magic link so ...