Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [code]

Questions concerning computer code written or used in the context of a research project or other academic endeavour (including questions on licensing, ownership, sharing, distribution, and formatting of academic source code). For other questions on software (related to academic aspects of using the software rather then developing it), use the `software` tag instead.

19
votes
2answers
2k views

Reference on availability of source code used in computer science research articles?

I have several questions related to open-sourcing the source code used for a research article. Is there any research/study that addresses any of the following: What percentage of research articles ...
32
votes
4answers
16k views

Can I request the code behind a research paper from the author?

I am in the field of computer science. It is often the case when I am reading a paper I start to wonder, "Wow stunning results, however, I would like to prove that." or "How exactly did he get these ...
150
votes
12answers
17k views

Why are papers without code but with results accepted?

I just started reading some papers (Computer Science, specifically Computer Vision) and thought "now let's look at the source code" and was quite astonished that most of the papers don't have any ...
40
votes
8answers
5k views

How to share computer code?

I am writing a paper with my adviser. Some of the key contributions of our paper include: A computer simulation model of an inventory system A set of simulation experiments and results to validate ...
7
votes
5answers
1k views

How much code to include in a Physics paper?

This question is related to Physics research papers, particularly one that will be coming up for my ongoing PhD research (4th paper in all). A core part of the research is developing, testing and ...
131
votes
10answers
11k views

Best-practice models for “research” code?

I have been a professional software developer for a number of years, I'm also an academic researcher - and my research has involved lots of software development. I sometimes feel as though my ...
18
votes
2answers
4k views

When should you publish code on GitHub? Work-in-progress or after publication? [duplicate]

What is policy are you following about publishing data analysis code on GitHub? Do you do it after publishing or as a work-in-progress? I developed a number of Python algorithms to analyse a large ...
26
votes
6answers
6k views

Can one demand to see code used to generate an article?

An article is published and the results depend heavily on a piece of code that the author wrote themselves. The author has not shared the code with the community, even though they have been using it ...
15
votes
6answers
15k views

When is it useful to include the code in a thesis?

I am writing my master of science thesis and I am not sure whether I should add some of the code I have written: they are not proper programs, but more like input files to be fed to a commercial ...
13
votes
2answers
1k views

Code in journal papers

Most papers do not specify a separate license for the source code, so presumably it would be licensed under the same terms as the rest of the paper. Typically, this means that the copyright lies with ...
7
votes
3answers
542 views

How can we change things so more researchers are willing to share their source code?

This is a followup to Why are CS researchers reluctant to share code and what techniques can I use to encourage sharing?. That question specifically asked how one can succeed in obtaining researcher'...
2
votes
0answers
225 views

Reference on the time it takes for a source code used for a research article to be released

Is there any research/study/survey/... that looked at how much time it takes for the authors of a research article to release the source code? Ideally I'm looking for an approximation distribution. ...
66
votes
11answers
24k views

Advisor professor asks for my dissertation research source code

I am a PhD student and I wrote a computer program for my dissertation research. Recently my advisor professor got a grant and she wants to use my computer program in her grant and she asks me for the ...
21
votes
4answers
2k views

How much effort do researchers take to publish their source code?

When publishing a paper, some researchers publish the source code used for the paper. Is there any research/study/survey/... that looked at how much effort do researchers take to publish their source ...
20
votes
4answers
2k views

Should I supply code along with my paper submission?

I am submitting a paper to a machine learning/computer vision conference. Is it worthwhile to include some source code of my implementation so that the reviewers can test it themselves or gain a ...
16
votes
2answers
470 views

I've reproduced a paper: where shall I share the code and findings?

The majority of papers don't share their code. However, I sometimes want to reproduce the results, and therefore re-code the experiments to try to reproduce the papers. Where shall I share the code, ...
5
votes
1answer
2k views

Are there general guidelines for including code in a research paper?

I'm a beginning researcher trying to write a research paper , so please bear with some of the really basic questions I might have. I've already looked around for some help online, but the websites I ...
15
votes
1answer
466 views

Where to draw the line for authorship for a software-announcement paper?

I am currently working on a scientific software, for which I want to publish a software-announcement paper in a pertaining journal. While I am doing and probably will continue to do the vast majority ...
7
votes
3answers
567 views

How should I reference a repository of data and resources created to accompany my publication?

I'm writing a research paper and there's a large amount of code and data related to the study which may be of use to those who would read the study. They can confirm the correctness of the techniques, ...
11
votes
1answer
359 views

Can a university restrict publication of students' work due to plagiarism fears?

My question is inspired by this question. Say a student wants to publish on GitHub some code that they've written as assignments for a programming class. The student may be motivated by a desire to ...
5
votes
1answer
3k views

Is it plagiarism to use an online tutorial as the basis for completing a programming assignment?

Let's suppose that you were assigned a programming project, which is considered from your teacher/professor, not easy. However, you manage to find an online tutorial, that guides you step-by-step ...
5
votes
3answers
709 views

Why would a university restrict publication of work due to plagiarism fears if TurnItIn was used?

I used to host some code I'd written for university assignments publicly on my GitHub account (after the deadlines had passed, of course). Before long, I received an email from the dep't asking me to ...
3
votes
1answer
2k views

How to make a paper's author willing to help me with his source code like a semi-supervisor?

I am really in trouble. I am doing my MA thesis on wireless sensor networks, and I have a source code with more than 16 files and each one more than 5000 lines. It's very complex and has no ...
1
vote
2answers
364 views

Thesis in use, potential employer wants to see source code

EDIT: Let me clarify things and specify my concerns: I wrote a program for my thesis that solved a problem for the target establishment. The establishment now uses the program with my consent but ...
1
vote
2answers
268 views

Including many pages of serialization code and generated source code in Master's thesis?

I'm working on my Master's thesis in Computer Science. Shortly, I am "drawing" a diagram, which is then serialized and from the serialization I generate some source code. So, my question is not about ...
0
votes
1answer
592 views

How to reference Source Code

I'm writing a paper on a technique which I have implemented in open source software. I'd like to reference the location of the open source software and the code I implemented for the technique so as ...