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. Generic code questions, e.g. help with debugging, are off-topic and will be closed.

Filter by
Sorted by
Tagged with
0 votes
0 answers
63 views

How do I add a line of code(command) in LaTeX? and what is the proper formatting? [closed]

I need to add the following command: python demo.py --image_path ./asserts/1.png --private_key "Effiel tower" --public_key "a tree" --save_path ./output --num_steps 50
Yudish Beeharry's user avatar
22 votes
4 answers
5k views

Tutoring Unfamiliar Material

Context: I've been tutoring in software development for the better part of this year. I've been a hobbyist and student software engineer for the last 3 years and I have decent experience in a few ...
dvub's user avatar
  • 341
0 votes
1 answer
75 views

Uploading adapted research code with missing licence

I adapted some code from a public GitHub repository for a paper, and I have to upload my code to make my work reproducible. I cite the work for which the repository was created in the paper and added ...
PascalIv's user avatar
  • 133
0 votes
0 answers
30 views

Find papers that use specific sample groups

I've been tasked with finding all papers within a journal whose sample groups contain children. There are journals between 1999 and 2023 that I need to search through. My first thought was to try to ...
Anna Ackerman's user avatar
3 votes
2 answers
149 views

How to write a good introduction for a software package in a paper?

There are several algorithms in my research area, and I'm the first to implement them all together in a R package with Rcpp. I'm working on a paper in which I'd like to compare those algorithms as ...
C.K.'s user avatar
  • 359
6 votes
2 answers
495 views

Should I upload all my R code in figshare before submitting my manuscript?

To conduct my study, I had to use thousands of lines of R code to generate random data and to do analysis. Now, when I am going to submit my manuscript to my targeted journal, do they ask to provide ...
Dempaty's user avatar
  • 61
-1 votes
2 answers
159 views

Standards for GitHub Repo Ownership [closed]

I conducted some machine learning research and created a repo using my user account. My lab, however, does not have its own GitHub organization, and is instead registered under a user account. Hence I ...
Shiran Yuan's user avatar
9 votes
3 answers
4k views

Is it considered plagiarism if I implement a program by closely following a book?

I am creating a software application for my bachelor thesis. I have found a book that guides me through the whole implementation process of my problem, as well as a source code and I am following the ...
MOLD's user avatar
  • 99
2 votes
1 answer
721 views

What are some considerations that I should be aware of when it comes to creating a code package?

I am performing a wide survey on algorithms and models on a current hot topic in machine learning that I have been taking part in contributing recently. Many of the algorithms/models proposed in ...
SPARSE's user avatar
  • 231
2 votes
3 answers
171 views

Displaying publication results in website [closed]

First time here. My background is in biomedical science, so I have no knowledge of coding whatsoever. Since I was tasked with building a website for my lab, I used WIX as my website builder. I based ...
DrHT's user avatar
  • 21
0 votes
4 answers
246 views

Is this a figure, a table, or... something else? (Thesis object labelling.)

I am writing my MSc in data analytics in the UK. I am planning to include some R code outputs in it: data and model summaries generated automatically (the grey part in the below example). Question: is ...
Reader 123's user avatar
-1 votes
1 answer
686 views

If I want to write and publish a book where I use C++ code for GPUs, what are the steps? [closed]

If I want to write and publish a book where I use my examples with C++ code that I have written for specific GPUs, what are the steps? Is there an infringement, because I will base the examples to ...
just_learning's user avatar
6 votes
1 answer
307 views

Dealing with Tech Debt as a Postdoc

I’m in the applied maths field and I consider myself better at math than coding. At some point during my first year as a postdoc, my supervisor told me, “No, you cannot use package A anymore, but use ...
user15988's user avatar
0 votes
1 answer
89 views

What is the most practical way to assess the performance of electrical engineering students in the use of MATLAB?

I am teaching a Signal Processing Lab to undergrad students but I am very confused in regard to how I can evaluate and assess their performance. I have discussed the matter with my colleagues and they ...
DSP_CS's user avatar
  • 275
-1 votes
1 answer
1k views

Paper replication coding task for computer science Ph.D students

I want to ask about the specific task given by an advisor to their students, consisting of a paper replication coding task. The task involves writing a lot of code as to implement the paper's ...
Martin Moore's user avatar
8 votes
2 answers
538 views

How much should I tidy up code before I share it?

I'm about to give my first conference presentation, in historical linguistics. (In case it matters: I'm an undergraduate presenting at an undergraduate conference in the UK). My presentation and ...
extremeteenbible's user avatar
30 votes
7 answers
5k views

How much technical / debugging help should I expect my advisor to provide?

My supervisor said to me that a supervisor isn't expected to help a student with such problems as errors in statistical packages (R, etc). I suppose it refers to all sort of data managing questions. I ...
Lawerymea's user avatar
  • 327
-2 votes
1 answer
191 views

Someone copied and submitted my code as theirs, what should I do? [duplicate]

My firend submitted my code on his assignment without my permission and said if something happens he will take the blame, what should I do now ? I am very stressful
Sad student's user avatar
0 votes
2 answers
196 views

How much implementation detail to include in PhD thesis

If I developed a library during my PhD (in physics, not CS), but the topic is focused on what I used it for, rather than the code development itself, how much implementation detail should I give in my ...
name.disp's user avatar
  • 103
0 votes
1 answer
304 views

How can I convince my professor that I did not copy from another student?

I am a computer science major and I was given a zero grade for having identical code to another student. I did not copy or share the code with anyone. The professor warned us that copying code from ...
Jack's user avatar
  • 1
3 votes
5 answers
2k views

Should I give up on an assignment that I can't figure out?

I'm a sophomore CS Major, and I have a final programming project due on Monday for one of my classes, but right now, I've been stuck on it for the past two days. I've tried several different ...
Gift G.'s user avatar
  • 39
1 vote
1 answer
186 views

Citations in Open Source Code

When writing open-source software, should the author(s) cite the sources they get help from? This might make sense if an author forgets how to implement a basic data structure and winds up fetching ...
Shawn Eary's user avatar
4 votes
7 answers
5k views

Is it okay to submit my paper if my code can't be organized now?

Currently, I am working on a model that includes deep neural networks. I am not an expert in coding nor are my colleagues. I had a hypothesis and it seems to be working. So, I may need to write a ...
hanugm's user avatar
  • 7,779
13 votes
3 answers
3k views

Where should I host software for individual papers?

I'm a teen who's writing a paper on Poisson-Disc distribution over the summer for fun, and I wanted to distribute the software I used for the simulations to maintain scientific integrity. Obviously I ...
Leland Kilborn's user avatar
-1 votes
1 answer
191 views

Is it OK to contact the author of the paper for code review?

I want to make sure that my code is OK and fully compliant with the original paper algorithm, is it OK to contact the professor that created the algorithm for reviewing my code? Thanks
marc nicole's user avatar
2 votes
3 answers
513 views

Is it academic dishonesty if I committed my exam answers into a private GitHub repo during an exam?

During an exam, I committed codes into my repository on GitHub. In this case, am I involved in academic dishonesty for providing answers in public even though my repository was set as private?
JaeHyeon Park's user avatar
0 votes
0 answers
837 views

Author name-surname mistake in the Google Scholar citation

I have a problem with the appearance of my paper in Google Scholar. My name is correctly represented in the journal artical as "Nilhan Kaya," so the citation should be "Kaya, N". ...
Nilhan Kaya's user avatar
0 votes
0 answers
38 views

Citing programming packages [duplicate]

I wanted to ask how to cite python packages into a scientific article. I used a code package for my project and I can not find a scientific publication of the package I used. Exist a standard to cite ...
Euler's user avatar
  • 169
2 votes
3 answers
604 views

What is the prestige/status/merit-value of a Graduate degree in Pure Math/Philosophy(of math, or logic) in industry (particularly programming jobs)?

I tried asking this same question here previously but worded it poorly. Please let me know if my muddled style is unclear to anyone alongside myself. What I'm essentially asking is: all else being ...
ksmks3n1's user avatar
2 votes
2 answers
237 views

Code/package developed by others - citation or co-authorship?

Say in one of my projects, I am using someone elses code in a published paper. The method is novel and therefore I also have some general discussion on how to apply the developed code in GitHub. Am I ...
Mahali Sindy's user avatar
3 votes
2 answers
158 views

Transforming a private research project repository into an open-source repository [closed]

Our research project is ready for being shared as a preprint and submitted for peer review. What are the best practices for transforming the private research repository (which includes several pilot ...
Trisoloriansunscreen's user avatar
8 votes
2 answers
3k views

Should I include as author of my current paper someone who wrote code that I'm using?

I'm being asked (by my advisors) to include a person I don't even know as author of my new papers, in which they haven't done anything. The reason seems to be that my work is based on source code that ...
user2059990's user avatar
0 votes
1 answer
103 views

How to mention a coding style guide in thesis or scientific text

Is there a best practice where or how to introduce a style guide inside a thesis? (Meant is a style guide for programming languages) I write a scientific text which contains some code samples. My ...
Paul Smith's user avatar
-3 votes
2 answers
318 views

My teacher accidentally put one of the codes on my test and I used it [closed]

On my programming midterm, my teacher gave me one of the codes for the question on accident. I did not mention this to the teacher and used it as my answer and deleted where he gave it to me. The ...
Susan's user avatar
  • 11
4 votes
3 answers
330 views

Academic integrity and plagiarism issue related to an idea. How to handle and communicate?

In 2018, I shared an idea with an assistant professor from another university. I shared this because this is an idea many people are working on and are developing approaches to solve it. My PhD ...
everestial007's user avatar
2 votes
2 answers
1k views

Tips for computer coding exams

I'm studying computer science at a technical college. In some courses we perform live coding exams, i.e. we download the code and have a certain amount of time to solve the exam, then we have to push ...
CuriousIndeed's user avatar
0 votes
1 answer
433 views

Test of programming skills during postdoctoral interview [closed]

I am going to have an interview for the postdoctoral position in the US which will include the test of programming skills in one programming language. Does anyone know what kind of exercise/difficulty ...
Sonya77's user avatar
1 vote
3 answers
193 views

Including code in finance Dissertation

I am writing my dissertation and I have a question on how to present my results. So I have used Rstudio to write the code with which I did some statistical analysis by using some tests. I have ...
makala's user avatar
  • 13
2 votes
1 answer
188 views

Could I include non-academical projects to my CV for phd application?

I have just joined this community and I am going to apply for a CS PhD for Fall 2022. Currently, I am preparing my CV. Since I have been working in the industry as a software engineer for roughly five ...
Kato's user avatar
  • 179
20 votes
1 answer
2k views

Misleading Results of Cited Paper

We have developed a novel algorithm, published a paper about it, then after a few months, we "copied" our implementation to a very popular opensource library. A few months after, a paper was ...
Mike's user avatar
  • 333
0 votes
1 answer
152 views

Submitting two related papers to two journals simultaneously [duplicate]

I have spent 2+ years working on a project in computational neuroscience that has interest for clinicians and now I am starting to write the paper text. I want to submit it to one of neurology-related ...
demitau's user avatar
  • 1,226
1 vote
3 answers
367 views

My former advisor wants to publish a paper that relies on code that I worked on without giving me any credit. What should I do?

I was in a research group for my MSc. dissertation (computational work) during which I developed quite a bit of code that went on being used in a publication which I co-authored (no code was published ...
iliupersis's user avatar
9 votes
2 answers
9k views

Can I create anonymous repositories for double-blind peer review via GitHub organizations?

When submitting a paper to a conference/journal for double-blind peer review, one usually has to anonymize source code, if there is any. In my situation, I have to do it in a form of GitHub repository....
StrausMG's user avatar
  • 191
-1 votes
1 answer
233 views

Are advisors supposed to know programming? [closed]

I want to know if, as a Ph.D. student, i can ask my advisor a programming question ? Actually my advisor gave me a coding task, and i want to know how they will verify what i code is right ? i can ...
marc nicole's user avatar
3 votes
2 answers
1k views

Accused of copying code for autograded assignment [duplicate]

I'm an undergraduate studying computer science at a local community college. Currently, I'm enrolled in an intro computer programming class that I unfortunately am unable to test out of (I asked my ...
Mr.Technician's user avatar
6 votes
5 answers
4k views

Could I ask my supervisor to help me coding an implementation of a scientific paper's algorithm

I am stuck at an implementation of a scientific paper's algorithm, could I ask help from staff to code a part with me or even my advisor to do so? Thanks for the clarification.
marc nicole's user avatar
1 vote
1 answer
77 views

Would a LaTeX glossary contain program function/method purposes/definitions?

I'm writing my dissertation/thesis and it revolves around a program I have made. The program is a Rubik's cube solver that uses pre-existing solving methods, so nothing that exciting. I'm writing out ...
curiousCoder's user avatar
0 votes
0 answers
85 views

A measure implementation from my group deviates from an official implementation

In my master's thesis work, I am using several algorithmic measures to assess the difference between conditions. One measure in particular is important to predict 'quality'. This may sound weird in ...
Jonas Schwarz's user avatar
25 votes
4 answers
6k views

When should one publish code publicly on GitHub: during or after journal review?

Similar to the following question, I have developed a code to produce results in a manuscript that I've written which I wish to now share with the community. But this manuscript, which is currently on ...
Mathews24's user avatar
  • 402
11 votes
1 answer
1k views

arXiv article says that code has been made available with the article, but I cannot find it

I'm reading an article on published a few years ago (https://arxiv.org/abs/1708.08130). It says in the article (p.4 at the bottom) that a Mathematica code was made available "as an auxiliary file ...
Thomas Bakx's user avatar

1
2 3 4 5
7