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.

Filter by
Sorted by
Tagged with
19
votes
2answers
3k 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 ...
83
votes
4answers
60k views

How do I reference the Python programming language in a thesis or a paper?

I'm writing a scientific article and a dissertation in biology, for which I used Python for simulations. Some people in our department, especially the "non-computer-people", don't know what Python is, ...
34
votes
4answers
24k 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 ...
156
votes
12answers
20k 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 ...
26
votes
4answers
8k views

How to deal with students asking very incremental questions?

I'm a TA/grader for an online course in introductory programming. We have students ask us questions related to homework/labs/etc. on Piazza where we can have quick back-and-forth with questions and ...
41
votes
8answers
6k 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 ...
135
votes
10answers
12k 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 ...
19
votes
2answers
5k 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 ...
27
votes
6answers
7k 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 ...
30
votes
6answers
10k views

Would it be ethical for a computer science PhD student to hire an assistant (programmer)?

I was wondering if it would be ethical for a PhD student in the field of Computer Science to hire a programmer in an specific domain; so that he could focus more on the algorithmic or mathematical ...
18
votes
5answers
705 views

How to review a software-tool paper?

I often get asked to review papers on new software tools. This always makes me wonder how one should review such a paper, or even whether software papers should undergo a typical review process at all?...
14
votes
2answers
6k views

How do I correctly cite the C++ standard or its drafts?

For my bachelor thesis, I have to reference a lot to the various C++ standard documents, be it the original standard or some of the working drafts. How do I cite such documents? Many of the working ...
68
votes
11answers
25k 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 ...
13
votes
4answers
3k views

Use of automated assessment of programming assignments

(This is a reworking of Software for submitting and testing programming assignments.) First, a bit of background. Many courses in applied mathematics have a programming component, where students are ...
15
votes
6answers
20k 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 ...
10
votes
4answers
2k views

Private Git repositories for students, that don't become public later

Short version of my question: Is there a good way to provide students with free, private, Github-like git repositories, that won't become public later? Background: In computer science, it is ...
8
votes
1answer
2k views

When should I cite, if using code from Stack Overflow?

I already found a question handling the case if you got some information from Stack Exchange for my thesis. Unfortunately I did not find anything about the case that I get a solution (not necessarily ...
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
5answers
541 views

Does building a Python library fall in the category of research?

If a Python library is built can it be turned into a research paper? Will it be accepted?
19
votes
8answers
6k views

How to deal with student putting their (home)work on github

While using github for source code is generally something I love to encourage, if a student puts their (computer science) homework there, it's generally easy for others to find and copy - which ...
8
votes
3answers
566 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'...
3
votes
0answers
238 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. ...
65
votes
3answers
7k views

Teaching a blind student MATLAB programming

I teach a first year undergrad class in MATLAB programming, and one of my students is completely blind. Quite amazingly, the student memorises the whole chapter before class and regurgitates with the ...
39
votes
9answers
11k views

Are there tools to prevent students from cheating on a programming exam administered on computers?

I'm teaching an Introduction to Computer Science Course, where we mainly do C programming. I've been assigned a lab for teaching the course, but there are more students than available computers. Also, ...
49
votes
3answers
7k views

Is it acceptable to use Mathematica to derive results in your research?

While doing research in statistics, sometimes I came across complex integration that I can't or don't want to solve analytically. Is it okay to use Mathematica to solve the integration and use the ...
26
votes
8answers
4k views

What field of study allows a hobbyist to make a potential contribution

What are some fields in which a professional programmer (specializing in Data Science technologies) can pick up hobby projects that can actually contribute something to that particular field. I ...
24
votes
4answers
460 views

What are the disadvantages of opening the source of your own science tools

I am currently finishing my PhD thesis and, as a great deal of the job was to create tools and protocoles, I am considering putting the different scripts I wrote on open source directories (such as ...
20
votes
4answers
3k 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 ...
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 ...
18
votes
3answers
3k views

How should I compare my algorithm to others when their code is not available?

In computer science, we usually implement our work into algorithms and codes. So in order to compare our work to others, we also need to implement their approaches as well. But the problem is that ...
16
votes
2answers
526 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, ...
8
votes
4answers
1k views

How to implement flipped classroom for 18 year olds?

I teach an introductory programming course at university where 99% of my students are 18-20 years old. They are used to the old and boring education system they know from high school, so they are not ...
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 ...
17
votes
1answer
541 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 ...
13
votes
3answers
3k views

How to anonymize self-citation of source code repository in IEEE double blind peer review?

I am going to submit a paper IEEE Communications letters. In the paper, I cited my source code repository to provide an open access: ... For more detail, please refer [1] ... Reference ...
8
votes
3answers
1k 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 ...
7
votes
3answers
1k 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, ...
10
votes
1answer
415 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 ...
8
votes
2answers
2k views

Software for submitting and testing programming assignments

Can anyone recommend an open source system for students to submit programming assignments? Ideally it would be something that would run on the web, do some level of testing on the server side, and ...
5
votes
1answer
4k 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 ...
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
377 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
1answer
682 views

Is it plagiarism to hire a freelance programmer for an assignment but change a lot of it before you submit it?

I took freelancer tutor help for a Python programming coursework during my MS but did not submit the exact code he gave, I refracted it and changed a lot of it. Is it considered plagiarism? I am ...
1
vote
2answers
288 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
886 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 ...