Questions tagged [site-policy]

Site-Policy is the way the main site is run and managed - processes, procedures, and routines that should be followed. Use this tag when you believe site-policy has not been applied correctly to a main-site question, or when you believe existing site policies should be modified, or new policies added.

Filter by
Sorted by
Tagged with
2 votes
1 answer
86 views

How to provide large code for code review?

What is the way to provide large code for code review at the codereview.stackexchange.com? I do my best cutting the code into pieces which could be reviewed separately as components. I started from ...
Damir Tenishev's user avatar
8 votes
2 answers
221 views

Disable Anonymous Contributions

Note: Due to my position as a moderator I can't comment or point to specifics, which greatly obfuscates the validity of my question. The moderator team has been brought aware of certain irregularities ...
Peilonrayz's user avatar
  • 43.3k
-1 votes
1 answer
122 views

Can a user post code in an answer even if they don't fully understand how it works?

In this answer the OP of the question presented an alternative solution from github. The github repository shows that it uses the MIT license: ... Permission is hereby granted, free of charge, to any ...
Sᴀᴍ Onᴇᴌᴀ's user avatar
7 votes
3 answers
137 views

How should I include resources (images, videos, audio, etc) in questions?

I know my code doesn't have to be complete. However, in my specific case I have a project where I'd like to focus on performance improvements. Some optimizations are obvious, where others require ...
davidalayachew's user avatar
17 votes
2 answers
748 views

What Site Policy should we have for code written by ChatGPT?

As all of us I'm sure are aware, ChatGPT has induced a plethora of discussion network-wide. Specifically with this site, we could very well see an influx of questions about reviewing ChatGPT generated ...
Linny's user avatar
  • 10.1k
2 votes
1 answer
172 views

TypeScript and JavaScript tags

We typically treat c and c++ as mutually exclusive. We don't tag the same question with both c and c++. I feel we should do the same for TypeScript and JavaScript. TypeScript needs to run through a ...
Blindman67's user avatar
  • 21.8k
1 vote
0 answers
130 views

Updating a question before it's answered? [duplicate]

My most recent question hasn't received any answers in the 24 hours it's been up, and I've made a couple (IMO small but not negligible) changes since asking it that I would like feedback on. Can I ...
minseong's user avatar
  • 749
10 votes
1 answer
172 views

How to best motivate posters to migrate their question to another site?

It often happens that people post a question that is not suitable for the site they posted it on, but should rather go to another Stack Exchange site. Sometimes this is made easy using some of the ...
G. Sliepen's user avatar
  • 55.5k
8 votes
2 answers
155 views

Are responses to specific interview questions on-topic?

Tangentially related to the unanswered Can I legally post my solution to a company's coding test? I realize that generic interview prep questions are on-topic - that's why we have the interview-...
Reinderien's user avatar
2 votes
1 answer
124 views

Why delete a lone upvoted answer on a CR question?

I see this post has one deleted answer that has some good advice and received three upvotes. Why was it deleted? My presumption is the user was aiming to earn the disciplined badge but perhaps there ...
Sᴀᴍ Onᴇᴌᴀ's user avatar
-3 votes
1 answer
66 views

I do not understand the feedback about my title

I don't understand how my question does not fit the site's standards. Can I please get some guidance? Is this an appropriate use of async/await combined with Task continuation? The current question ...
Bryan Boettcher's user avatar
-2 votes
1 answer
47 views

Encouraging the community to edit the question to maintain a list of external resources

I have requested and successfully received a nice review about a piece of code which relies on a pool of third part services. Since the code was nicely welcomed with some upvotes I thought that it ...
DarioP's user avatar
  • 897
-1 votes
2 answers
128 views

Negative engagement, ganging up, question closing, downvoting

I am relatively new to Code Review, so I don't know if this Stack Exchange site suffers particularly from counter-productive interaction by negatively critical senior users but I'm certainly seeing it ...
Rounin's user avatar
  • 409
9 votes
1 answer
117 views

Should we improve the code to be reviewed in an edit?

I noticed this suggest edit: This suggested edit does two things: Replace using namespace std;, which is considered bad practice in C++, with ...
L. F.'s user avatar
  • 9,550
2 votes
1 answer
121 views

Dealing with defamation and site-policy

Yesterday I got two separate accounts of defamation against me. The first one Find the rotation point of a sorted array that is "rotated" accused me of using multiple accounts to down-vote their ...
dfhwze's user avatar
  • 13.9k
10 votes
1 answer
201 views

Alternate solution - what counts as an insightful observation?

One of our latest HNQ's has drawn the attention of alternate solutions. Soon after the question was posted I answered it with an alternate solution, and got quite a few upvotes. My first version ...
Peilonrayz's user avatar
  • 43.3k
3 votes
2 answers
96 views

Answer made on suggested comment, not on initial question

I came across the following answer: dynamically-add-remove-fields-on-input and don't know the site policy for this specific scenario. Scenario OP asks for the following: The following code allows ...
dfhwze's user avatar
  • 13.9k
6 votes
1 answer
76 views

Review that targets code that makes the question off-topic, then question is updated

I was looking around for zombies and fell on this question : Importing text into PANDAS and counting certain words The review is basically pointing runtime errors in the code that would've made the ...
IEatBagels's user avatar
  • 12.4k
12 votes
2 answers
174 views

Reviewing non-working code when author thinks it's working?

I came across a pretty simple question where the author explicitly states: The function returns the correct output, and all known edge cases have been accounted for. I took this at face value and ...
user11536834's user avatar
15 votes
1 answer
262 views

Policy regarding "flooding" Code Review with questions

There seem to be a few users which "flood" Code Review with questions recently (2 to 4 questions in rapid succession). They often present relatively small pieces of code, allegedly from homework, ...
AlexV's user avatar
  • 7,250
10 votes
1 answer
110 views

Warn if question is tagged with [python-3.x] but not [python]

Given that 16/50 of the latest python-3.x questions aren't posted with the python tag,[1] and site policy is to tag with both.[2] Can we move the burden onto the poster to tag properly, rather than ...
Peilonrayz's user avatar
  • 43.3k
14 votes
3 answers
177 views

Hot Network Questions Policy

As of recently, moderators have the ability to remove a CR question from the HNQ list. There are times when the hotness formula selects a question that a site would rather not have featured. Up ...
Mathieu Guindon's user avatar
2 votes
1 answer
71 views

I found a (trivial) solution to my problem after submitting it

About Counting primes in a range whose digits are all prime. My code had a bug, the bug was an edge case that only manifested in literally one of the test cases, (I identified it by completing the ...
Tobi Alafin's user avatar
  • 1,796
5 votes
2 answers
134 views

Should we allow answer invalidation for otherwise off-topic questions? [duplicate]

We recently had a question with un-compilable code. The question was answered and the answerer pointed out the broken code. The user has since edited the question to fix the code. It was rolled-back. ...
Summer's user avatar
  • 2,334
13 votes
2 answers
257 views

Is it allowed to edit code if there is no answer?

If I have kept working on the code, and there are no answers (say one week after the original post), am I allowed to edit the code to reflect the changes I have made to it? I believe this question is ...
L. Faros's user avatar
  • 233
20 votes
3 answers
374 views

Should we censor rude language in comments/strings of posted code?

What I’m referring to mostly started with this edit where strong language that possibly originated as a joke from the OP was flagged as rude and removed from the question entirely. The code in the ...
301_Moved_Permanently's user avatar
7 votes
1 answer
152 views

Can I include problem statements when posting exercise solutions to Code Review?

I have several books of programming exercises that I am working through. I would like to post some of my solutions to Code Review. Can I include problem statements along with my solutions without ...
igal's user avatar
  • 381
2 votes
1 answer
74 views

How should I fix a problem in my code (which is not addressed in existing answers)?

Some time ago I posted a series of two questions: On Knuth's "Algorithm L" to generate permutations in lexicographic order Sequence-based enumeration of permutations in lexicographic ...
Martin R's user avatar
  • 23.2k
20 votes
6 answers
477 views

Is there a limit to the number of answers a user can post to one single question?

Example situation1 We have a user that finds a question and posts an answer for each and every change they would make - commonly being a single low-hanging fruit point, but not limited to it. It ...
Peilonrayz's user avatar
  • 43.3k
18 votes
2 answers
927 views

Why are alternative solutions not welcome?

I skipped reviewing this answer because I am not sure what to do with it after I read the comment posted below it: Welcome to Code Review! You have presented an alternative solution, but haven't ...
Billal Begueradj's user avatar
0 votes
0 answers
27 views

Ok to repost code after incorporating suggestions? [duplicate]

If I've had a piece of code reviewed here, what's the consensus about posting the update for another review? Also, assuming it's ok, should it be an edit to the existing question, or a new post? (...
nwhaught's user avatar
  • 153
24 votes
2 answers
596 views

How should we deal with askers fixing off-topic questions when an answer has been posted?

I did a quick search to see if this has been asked, but it didn't seem to be. The intent behind this question is from how this question was handled, but is not limited to it. The situation is an ...
Peilonrayz's user avatar
  • 43.3k
7 votes
0 answers
74 views

Tags "Types" and their Usage

This is a question spawned from @Mat's Mug's comment on a question I had about a tag removal. It seems that there is some consensus among the more senior users here about the way some tags should be ...
Myridium's user avatar
  • 340
9 votes
2 answers
181 views

(Optionally) add Python sub tags to questions

The lack of version tags on some Python questions leads to reviewers having to 'pre-scan' the code to find out if it's Python2.7, Python3, both or neither. This seems strange as, I'd have thought that ...
Peilonrayz's user avatar
  • 43.3k
14 votes
2 answers
233 views

Should votes to close a question as containing broken code be paired with a comment?

First off; I'm not looking to enforce this via systems; just as a community guideline. As an example to showcase my issue, here's a review that may pop up in the review queue for Close Votes. It's ...
Pimgd's user avatar
  • 22.3k
12 votes
3 answers
251 views

Removing leading white space in question code blocks

I've made a couple of suggested edits to this question. The first one was rejected because it deviated from he original intent / it edited code. When I looked at the suggested edit, it did look like ...
forsvarir's user avatar
  • 11.6k
1 vote
1 answer
55 views

Do I have to include the dependency codes while posting my code?

Do I need to post dependency codes which are in the actual code I need to be reviewed?
Kamal Kannan's user avatar
19 votes
4 answers
453 views

Punny/Playful Titles Policy

Related: How can we avoid redundant titles? When you ask a question on the main site, the watermarked instructions say: State the task that your code accomplishes. Make your title distinctive. This ...
Mathieu Guindon's user avatar
34 votes
5 answers
538 views

Migration paths to other sites

If you can cast close votes, you now have a new privilege! Up until recently, only moderators could migrate an off-topic question to Stack Overflow or Programmers.SE - if you haven't noticed yet, the ...
Mathieu Guindon's user avatar
19 votes
3 answers
261 views

What are our answer editing guidelines?

On this site, we have a well-known policy on editing code in questions: Don't do it. After all, that code is up for review, in all its glorious ugliness and buginess. But clearly, such reasoning ...
amon's user avatar
  • 12.5k
6 votes
1 answer
123 views

Commenting on faulty code

In this question, https://codereview.stackexchange.com/q/107700/78136, the OP has not gotten the code to compile, and is on its way to be closed. This I understand, and are not debating. My question,...
holroy's user avatar
  • 11.5k
35 votes
6 answers
626 views

Is code ever clean enough? - Can there be too many follow-up questions?

Some posts can at times have several follow-up questions, sometimes a couple of follow-up questions on the same day. All this brings us to the question of Can there be too many follow-up questions? ...
Simon Forsberg's user avatar
14 votes
1 answer
95 views

Do we want site-specific editing guidance?

With our newly reached "graduated" (I really shouldn't put that in quotes) status, I expect a significant influx of new users, be it through migration or otherwise being drawn in by the thrill of a ...
Vogel612's user avatar
  • 25.2k
6 votes
4 answers
90 views

Would Code Review be a good site to post formatting questions?

I've been thinking recently that Code Review might encapsulate Code Presentation style, such as: Helpful comments and documentation. Indentation/bracketing style. Overall code structure. Of course, ...
AJF's user avatar
  • 265
9 votes
1 answer
132 views

Major bugs caught in questions

I wrote a question, but forgot to thoroughly re-test my code after I made a modification and before I posted the question. I was notified of a major bug by mjolka (thank you!) in chat, such a major ...
user avatar
1 vote
1 answer
123 views

Cleaning up the original code in the question

Most of the reviewers/answerers here should be familiar enough with Ctrl+K and Home,Shift+▼,Del keystroke combinations that an edit to provide some readability without losing the original content of ...
user avatar
13 votes
3 answers
209 views

Process to follow when un-answered questions have a follow-on

This question was asked a couple of weeks ago, and has not been answered in that time. It has languised: https://codereview.stackexchange.com/questions/79233/edmonds-karp-algorithm-for-maximum-flow-in-...
rolfl's user avatar
  • 97.3k
9 votes
1 answer
88 views

Can I post both my code and link to the external repository?

I have read the guidelines and FAQ, and understand that code up for review should be posted on this site. I also understand that modifying the code after it is posted goes against the rules as well as ...
user avatar
5 votes
4 answers
130 views

Selfie code-only answers as an offsite link

This question Gees - GPL Euler equation solver and its revisions were recently affected by this policy we have about how to add selfie-answers to your question Specifically (I have bolded the ...
rolfl's user avatar
  • 97.3k
1 vote
3 answers
166 views

Should we reconsider the code ownership policy?

This question of mine (10k required) was put on hold with the explanation This question does not appear to be a code review request within the scope defined in the help center. Please see the ...
tripleee's user avatar
  • 491