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
7
votes
3answers
734 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, ...
8
votes
2answers
272 views

Should licensed code be acknowledged in Thesis

When some function library licensed under BSD is used in simulations, should it be acknowledged in Bachelors/Masters Thesis, which have no length restrictions? In this particular case the functions ...
3
votes
1answer
265 views

Do reviewers review the code submitted with papers?

In computer science, when submitting a paper, it is common to submit some code to reproduce the experiments performed in the paper. Is it common for the reviewers to review that code?
29
votes
1answer
2k views

My code is published as original work by a different group. What should I do?

I've found some code that I've posted online that has a BSD license published in a supplementary material of a different group in a high impact journal. The authors have replaced the name on the ...
6
votes
1answer
129 views

Submit other people's code together with a paper

I am submitting a paper to a computer science conference. In this paper I compare experimentally a method A (mine) with a method B (from other people). I found the code for method B on git-hub by an ...
9
votes
5answers
938 views

Can I post a pre-print of my paper on ArXiv knowing the paper will go through major changes? Alternatives?

I wrote a paper with a new approach and I implemented this approach in both R and SAS. I want to put the software online on Github and ideally on CRAN too. The paper has been reviewed by my ...
15
votes
1answer
470 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 ...
3
votes
1answer
309 views

Is source code provided in the appendix of a thesis copyrighted? [US]

I'm contemplating including source code in the appendix of my thesis. Although, I will not be strictly required to, I think this would be something that my committee would like to see. Will I run ...
10
votes
1answer
372 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
3answers
734 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 ...
0
votes
1answer
160 views

Documenting code for thesis [closed]

I'm making my degree thesis on applied maths. An important part of the work is the implementation of some algorithms and simulations so code is part of the work. And I mean a lot of code. I don't ...
16
votes
1answer
285 views

Study of code share practices in science

I am searching for a study that presents statistics of how often you can get code that claims to be available in scientific communities. I found the following interesting study, which is very similar ...
10
votes
3answers
603 views

Publishing software in a convenient way

I create a software in order to solve a step of an specific problem. The results obtained (aided by the software) are going to be published in some journal. The focus of the publication is far away ...
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 ...
1
vote
0answers
163 views

How to submit code (visual studio projects, C#, OpenCL) with my IEEE paper submission

I am trying to submit a paper to IEEE (transactions on signal processing). Along with my paper I have written some code (Visual studio projects, C#, OpenCL and accompanying dlls and exes). The ...
3
votes
3answers
172 views

Protocol emailing R Package creators [closed]

I have found an R Package written up that does exactly what is required but cannot figure out a bug that has presented itself. I have gone through the code and source code for the function and cannot ...
49
votes
4answers
7k views

I wrote the code based on a paper's methodology; are there any legal problems with making it open source?

I coded the methodology based on the paper "Free Water Elimination and Mapping from Diffusion MRI" and I am curious if I am legally bound to take permission from the authors or the journal in making ...
1
vote
1answer
579 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
1answer
107 views

Can I get code reviewed if it might be published or referenced in a publication?

I am a recently-graduated high school senior in the United States who is currently doing research with a professor in a lab at the university that I will attend. One of the components of the project ...
4
votes
3answers
1k views

Amount of pseudo code in the thesis body

I'm writing my undergraduate thesis (~25 pages) on a computer program I've developed. Naturally, I'm expected to explain what the program does and how it is implemented. However, the algorithm is ...
3
votes
2answers
491 views

How to ask for code from authors who have proposed algorithms in computer science? [duplicate]

I am developing an algorithm, and I want to compare its performance with various existing state-of-the art methods. I would like to contact the authors of these methods and ask if they can send me the ...
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 ...
13
votes
3answers
2k 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 ...
4
votes
4answers
279 views

Using previously developed code for research at a new place

My ex student developed a useful program while working with me and some other students/postdocs in my group. Nowadays the student is a postdoc at a European university. She has a copy of the code and ...
4
votes
2answers
261 views

Can I upload a modified version of a code from a journal paper to Github?

I am new to Github and I want to upload some scripts that I developed during my research. One of the scripts requires the use of a small external program (not mine) whose source code is included as ...
0
votes
1answer
377 views

Usage of a web application that I sold for an academic project: Copyright issues?

I am currently a master's student and really glad that I learned almost everything about plagiarism prior to my master's thesis, I really want it to be perfect. Anyway, I have an issue that has been ...
9
votes
1answer
3k views

Pseudocode, in a paper — is it a figure or a table?

The question is simple: I have to insert more pseudo codes in my paper. Last year we have labeled them as Table. Yesterday, my supervisor has said me to use Figure. What is the standard for IEEE ...
18
votes
5answers
4k views

Can I trust a paper that hides implementation details?

In Computer Science, sometimes we're assigned to reproduce the results presented by a paper that already have been published. In many cases (most of them) the code is not available, making the task ...
26
votes
1answer
1k views

License of code accompanying a published article

Given a paper that introduces a new algorithm and upon publication copyright is transferred to the publisher. Is an implementation of the presented algorithm considered a derivative of the published ...
14
votes
5answers
1k views

Advisor wants copy of code to give to other student

My advisor has multiple electrical engineering masters research students under him. One of them came to me asking for help, saying the advisor asked her (let's call her Jen) to write some code to test ...
8
votes
1answer
2k views

How and when to cite code from MATLAB File Exchange

What are the rules/etiquette to cite MATLAB File-exchange submissions on paper publications? There are different scenarios where I am curious what is best: FEX submission is clearly code from a ...
3
votes
1answer
123 views

Publishing research software that was developed by professional programmers - attribution ettiquette

I wish to publish a software platform that was developed for a research project. The usage-logic and user interface design were largely specified by the academic team, but the code was written by ...
16
votes
2answers
483 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, ...
1
vote
1answer
135 views

Advantages/disadvantages of bundling source code from separate, related papers?

Say that you have several papers, each with a set of experiments, in which the source code overlaps appreciably. If you wish to release the code for each paper, which is better: isolate the relevant ...
2
votes
2answers
626 views

Is is necessary to include computer code into thesis? [duplicate]

During my research, I have developed some computer codes to optimize the coefficients of theoretical equations against the experimental data. The computer codes was developed to make things easier ...
9
votes
5answers
419 views

How do I comment the code I wrote for a course I am lecturing in?

I am an assistant professor for a course on audio signal processing (for engineers) and I often write snippets of code to try to help the students follow the material. In addition, I get to lecture (1)...
1
vote
1answer
2k views

Using code from github for own thesis

For my master thesis I should write a simulation program, and compare the results with the results I get from commercial programs. Now I found a already existing script with exact the data I need on ...
10
votes
3answers
489 views

Code sharing between co-authors

During a collaborative experimental project in my PhD, I developed a rather intricate simulation + data processing tool. The work was published with myself as the lead author. One of the collaborators,...
7
votes
6answers
10k views

How to format code in a thesis (Word document)?

I have a couple of code snippets, included in my thesis. What is the most convenient way to format code in a Word document, particularly, in regard to keeping the syntax highlighting, etc.? And the ...
7
votes
1answer
51 views

Why don't grants from publicly-funded organizations systematically demand code and data to be released?

I wonder why publicly-funded grants do not systematically demand from the recipients that code and data to be released, and results/papers to be publicly accessible. (put aside data that raise privacy ...
5
votes
5answers
1k views

How to demonstrate programming knowledge in CV, while applying to academia and industry?

I'm currently looking for both postdoc position(preferred) and industrial position in areas where I'd need to do programming in the language(s) my lab/company will need me to. The academic areas I'm ...
1
vote
4answers
694 views

Is it acceptable to put programming code as proof in paper?

I used statistical language R to fit probability distribution to acquired data. Instead of doing it by hand I relied on code. I wrote something like "probability density function was computed using ...
12
votes
2answers
3k views

How to Properly Cite Linux Source Code?

I know, the question of how to cite source code has been asked before, but I did not found anything helpful for my specific situation. I am currently writing my master's thesis. My university does ...
31
votes
5answers
6k views

Principal investigator requests transfer of GitHub repository with my code to his account

I am a senior postdoc and have recently published a bioinformatics algorithm in an academic journal. For that publication, I was listed as the first author of the manuscript, and my principal ...
11
votes
3answers
211 views

Is it appropriate to put a scientific/technical document about code developed by our group on arXiv?

Basically, I have written a tutorial for a code which performs a specific type of electronic-structure calculation. The code has been developed by the group I belong to and writing this tutorial/...
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 ...
21
votes
3answers
2k views

How to deal with papers/authors that provide no details of implementation?

I was reading a conference paper relevant to my area of study, and I found it interesting - they did what I was planning to do anyways, and had some extremely promising results. Now, I don't really ...
4
votes
2answers
333 views

What license to choose for a model which we will freely distribute?

My research team has developed a model, analyzed data, and generated results. We are currently in the process of publishing the results -- the article is in review -- and we are preparing to make our ...
3
votes
1answer
626 views

Can I use map, fold, filter in publications?

I have to write down algorithms in my thesis, and these are getting way shorter if I use "map," "fold," and "filter" heavily. This generally results in a "map, fold, filter"-chain with a depth of 3. ...
4
votes
2answers
6k views

How to format code for IEEE Journals

I'm working on a paper for IEEE Transactions on Computers, and I can't find any guidelines on how to format code (C++) that is included in the paper. I found some other papers with short code ...