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
2
votes
2answers
111 views

How detailed should I describe my actions regarding code?

I am writing a thesis about a data analysis I'm implementing and am currently describing my data preparation where I talk about what needed to be done prior to the analysis (formatting the data, ...
-1
votes
0answers
18 views

Research question thesis [migrated]

I am now in high school and have to do research. But I am not sure which research question to choose. I would like to talk about programming languages and therefore something within computer science. ...
2
votes
2answers
191 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?
27
votes
10answers
6k views

Supervisor wants me to support a diploma-thesis software tool after I graduated

During my last year of MSc. studies, I was part-time employed on the university project. The project was related to my diploma thesis, and my task was to create a data-mining software and run ...
41
votes
4answers
7k views

Double blind peer review when paper cites author's GitHub repo for code

I and my coauthor wrote a paper and the project involved creating a (small) software library. Part of the novelty of the paper is the output of the code, which is a digital object not intended for by-...
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 ...
40
votes
6answers
11k views

Will a paper be retracted if a flaw in released software code invalidates its central idea?

Say I have written code that performs a physics calculation. After this, I get a paper published based on the results of the code. In the interest of advancing the progress of science, I upload the ...
40
votes
6answers
10k views

I have found a mistake on someone's code published online: what is the protocol?

I have been using an econometrics toolbox for around 2 years and it is great, very useful. It is available from someone's personal website. I have found a mistake in one piece of code which has set ...
33
votes
4answers
19k 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 ...
16
votes
6answers
4k views

Should I include code in my research paper?

My paper is about a specific application of blockchain. I've developed a basic prototype for it and so far, I've described it in detail, and put screencaps of the interface for it. Should I also ...
1
vote
4answers
128 views

Should I compare my proposed work with my implementation of the previous related papers or the reported result?

In computer science, I need to compare the accuracy of my proposed method to the previous ones. There are two possible options: Implement the methods described in related papers on my own machine Use ...
1
vote
0answers
92 views

In-house code used in paper methods section but not shared

I am muddling my way through my program an stumbled upon a technique I would really want to employ in my research. The technique is well outside the realm of my PI's expertise and my PI would not run ...
2
votes
1answer
104 views

Error discovered in an accepted conference paper but not yet presented

I'm a CS student, and I discovered two code bugs that change some numerical values on a table of a paper that got accepted and will be presented at a conference very soon. The changes is very small (...
3
votes
2answers
114 views

Code hosting platform that allows sharing through link [closed]

I am finishing my thesis (Physics) and need to add a link to all the codes I created to do the analysis presented in the manuscript. The codes are not polished and they are intended to be public ...
21
votes
2answers
91k views

Source code plagiarism detection tool that checks against online content

I asked this question on Stackoverflow and was directed to ask it here. The question is: I wanted to ask about plagiarism detection tools for source code written in C++. When I searched Google the ...
132
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 ...
21
votes
7answers
3k views

Knowing when the code is good enough, for research

My question is in a similar vein to this one. My research requires code. I can write code and I know some things about writing good code. Both for readability, (e.g. standardised doc string, ...
56
votes
1answer
4k views

Is it OK to update code on repository after publication?

Journals consider that is good practice to release script and codes to repeat the published results, and many of us I think agree with this practice. Code are typically deposited in software version ...
1
vote
2answers
201 views

Sharing Code In thesis

My question is about sharing code in my thesis. I ran simulations using ready data in my field from a book. After that, I compared the results with those from the book. Do I need to share my code or ...
61
votes
9answers
11k views

Academic code copied by library author

The papers I write contain all the source code required to reproduce results. I have written a series of papers that build on each other over the years. My intention has been to release an open-source ...
27
votes
13answers
14k views

Outsourcing trivial authorless work

I have worked on a problem for close to two years. I feel I have an adequate theoretical solution. However I feel to get some backing on the theory I need some quantitative hard computer data. It is ...
4
votes
3answers
188 views

Is there a default license for code libraries that accompany scientific research papers

I read a scientific paper, which is accompanied by a code library published by the authors. I couldn't find anything about its license. Could I just reuse the code? Is there a default license for ...
1
vote
4answers
284 views

Code plagiarism by teacher at renowned university [duplicate]

As a post-graduate student at a renowned university, I am supposed to make an assignment (see attached images) which is obviously inspired on this licensed scikit tutorial. Since the assignment (code)...
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 ...
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)...
102
votes
10answers
18k views

During peer-review, should I comment on the authors' messy code?

I'm reviewing a paper in pure mathematics. A lot of results in the paper depend heavily on computer computations, and the authors have provided in the article a link to the Magma code they used for ...
56
votes
10answers
16k views

Is there any way to post my code on Code Review Stack Exchange and not be worried about plagiarism?

I am doing my thesis-based master’s in computer engineering and am required to program a tool in C++ as a part of my research. I am quite impressed by the help offered on the Code Review website and ...
7
votes
5answers
649 views

Can you publish a paper Simply Implementing another Paper's Algorithm?

There was a highly cited paper published earlier this year in my field which introduced a highly theoretical, non trivial, algorithm that relied on extremely heavy theory. The algorithm was exact (...
4
votes
4answers
212 views

How to cite or refer to programming codes in a non Computer Science Master's Thesis?

I am writing my Thesis in finance field and I am using Machine learning methods. Therefore, I wrote many Python and R scripts for collecting data, cleaning it and applying some statstics. should I ...
5
votes
3answers
748 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 ...
4
votes
3answers
261 views

Should I use a personal github account or a new one to publish academic code?

When I want to publish academic code, should I use my personal account with a pseudonymous username or create a new one with a username based on my real name? My current account uses a pseudonym as ...
4
votes
1answer
115 views

R Code attachment

Hello academia community, I'm writing a paper in Finance on Portfolio optimization and stock returns. For this, I'm using R code to compute optimal portfolio allocation, histograms, boxplots etc. My ...
3
votes
2answers
274 views

Who Owns the Code I Write (Graduate Student)? [closed]

As a graduate student in a CS program, "Who Owns the (rights to the) Code I Write"? I know that the answer is different depending upon: (Case-1) I work for the University or am supported in some way ...
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 ...
14
votes
9answers
8k views

Is it possible to ask the professor to check assignment before submitting?

I have got assignments related to programming. They are tough and my friends could not get results. I wanted to ask my professor to run them to see whether I did them right or not. (the deadline is ...
10
votes
3answers
2k views

Making your code publicly available: Does it have to undergo review?

In cases when the authors would like to make their code available online after it is published, is it recommended for authors to make their code available for review when they submit technical papers ...
8
votes
1answer
558 views

Are there any citable Github repositories not published in journals, that receive a lot of citations?

I wish to know whether there is some way, or maybe even some standard, for making a GitHub repository citable in a way that is recognized by academics. Many options have been suggested here, e.g., ...
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 ...
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 ...
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 ...
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 ...
2
votes
2answers
186 views

Can I use code from a supplementary material and publish it as part of my own paper?

Someone published a paper whose supplementary material contains source code. Can I include part of that code (I would mark it as copied in the source and the manuscript) in my own code, which is ...
3
votes
2answers
499 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 ...
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 ...
8
votes
1answer
913 views

Writing a function name in a normal paragraph in my dissertation [duplicate]

I want to mention the name of an specific function (or method) that I used in a experiment in a normal paragraph in my dissertation. What is the best way to do it? Considering that the official ...
0
votes
1answer
228 views

What is the standard way to refer to shared code in conference papers? [duplicate]

Say I have a github repository with the shared code and data used for that conference paper? What is the standard way to refer to it in the paper itself? Write something like. The code is available ...
1
vote
3answers
261 views

How to provide codes to reviewer without making it public

I wish to provide codes and data to reviewer along with manuscript at the time of submission. I can upload the codes on a public repository, but it will bring it in public domain, I want to provided ...
1
vote
1answer
102 views

Handling computer files in simulation-based research with multiple storage drives [closed]

Can somebody give me an advice about how to efficiently handle data files, source codes, documents, and manuscripts of research projects based on numerical simulations? My problem is that I use ...
3
votes
1answer
76 views

Review-only supplemental material

I am at a difficult position. I work in a major software/telecommunications company, and pursue a doctoral degree at the same time. The company has strict policies against competing behavior. I have ...
18
votes
5answers
530 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?...