Skip to main content
edited tags
Link
jpp
  • 164.3k
  • 4
  • 29
  • 58
fixed typo
Source Link
jpp
  • 164.3k
  • 4
  • 29
  • 58

Background

Sometimes, especially with XY problems, there is a solution which correctly completes OP's proposed task, but misses the bigger picture.

Here is one example:
Why does the format change when converting DatetimeIndex to np.array?

A trivial solution, dict(zip(idx, lst)), was accepted after some useful commentary, i.e. don't convert your datetime objects to str when it's not necessary.

Scenario

One user started by answering the question as stated, but then after the comments (proposal by another user) started writing up the obvious "XY solution". Within 1 minute of each other, both users post identical solutions in code terms. User1's XY solution ends up half withway through the answer as an Edit, User2's begins and ends with the XY solution.

User2 is accused of plagiarism and flags his answer (which includes inappropriate comments) to a moderator. He doesn't want to waste time challenging the accusations in comments, nor does he want to waste time checking the timestamps on his posts.

But User2 still thinks his post is more clearly explained than the other.

Question

At what point are 2 solutions equivalent, and one should be deleted? Here, in my mind, it's clearly a case of explanation, rather than code. Hence the 2 solutions are distinct.

This is a small example, and very specific, but I believe it is often the case that clarity on the problem and data structure / framework / workflow offers a trivial solution, and 20 characters of code should not be deemed to be plagiarisable.

Background

Sometimes, especially with XY problems, there is a solution which correctly completes OP's proposed task, but misses the bigger picture.

Here is one example:
Why does the format change when converting DatetimeIndex to np.array?

A trivial solution, dict(zip(idx, lst)), was accepted after some useful commentary, i.e. don't convert your datetime objects to str when it's not necessary.

Scenario

One user started by answering the question as stated, but then after the comments (proposal by another user) started writing up the obvious "XY solution". Within 1 minute of each other, both users post identical solutions in code terms. User1's XY solution ends up half with through the answer as an Edit, User2's begins and ends with the XY solution.

User2 is accused of plagiarism and flags his answer (which includes inappropriate comments) to a moderator. He doesn't want to waste time challenging the accusations in comments, nor does he want to waste time checking the timestamps on his posts.

But User2 still thinks his post is more clearly explained than the other.

Question

At what point are 2 solutions equivalent, and one should be deleted? Here, in my mind, it's clearly a case of explanation, rather than code. Hence the 2 solutions are distinct.

This is a small example, and very specific, but I believe it is often the case that clarity on the problem and data structure / framework / workflow offers a trivial solution, and 20 characters of code should not be deemed to be plagiarisable.

Background

Sometimes, especially with XY problems, there is a solution which correctly completes OP's proposed task, but misses the bigger picture.

Here is one example:
Why does the format change when converting DatetimeIndex to np.array?

A trivial solution, dict(zip(idx, lst)), was accepted after some useful commentary, i.e. don't convert your datetime objects to str when it's not necessary.

Scenario

One user started by answering the question as stated, but then after the comments (proposal by another user) started writing up the obvious "XY solution". Within 1 minute of each other, both users post identical solutions in code terms. User1's XY solution ends up half way through the answer as an Edit, User2's begins and ends with the XY solution.

User2 is accused of plagiarism and flags his answer (which includes inappropriate comments) to a moderator. He doesn't want to waste time challenging the accusations in comments, nor does he want to waste time checking the timestamps on his posts.

But User2 still thinks his post is more clearly explained than the other.

Question

At what point are 2 solutions equivalent, and one should be deleted? Here, in my mind, it's clearly a case of explanation, rather than code. Hence the 2 solutions are distinct.

This is a small example, and very specific, but I believe it is often the case that clarity on the problem and data structure / framework / workflow offers a trivial solution, and 20 characters of code should not be deemed to be plagiarisable.

Removed subjectivity from title.
Link
jpp
  • 164.3k
  • 4
  • 29
  • 58

How to handle correctequivalent answers but poordifferent explanations

added 16 characters in body
Source Link
jpp
  • 164.3k
  • 4
  • 29
  • 58
Loading
added 52 characters in body
Source Link
jpp
  • 164.3k
  • 4
  • 29
  • 58
Loading
Source Link
jpp
  • 164.3k
  • 4
  • 29
  • 58
Loading