How does MATLAB Answers break ties among answers?

1 次查看(过去 30 天)
In a recent question, with no votes for any of the answers, I found some answers jumped around all over the place for no apparent reason while others stayed where they were. How does MATLAB Answers order questions with the same number of votes?

采纳的回答

Randy Souza
Randy Souza 2011-4-11
The accepted answer is always listed first.
After that, answers are sorted by the number of votes, then by when the answer was created (oldest-to-newest).
This can cause "jumping" when an older answer is voted up to have the same number of votes as a younger answer. For example:
Answer 2 is listed above answer 1 because it has more votes.
+--------+-------+---------+
| Answer | Votes | Created |
+--------+-------+---------+
| 2 | 2 | 00:01 |
+--------+-------+---------+
| 1 | 1 | 00:00 |
+--------+-------+---------+
Answer 1 receives a vote, and appears to jump over answer 2 because, even though they now have the same vote count, answer 1 is older.
+--------+-------+---------+
| Answer | Votes | Created |
+--------+-------+---------+
| 1 | 2 | 00:00 |
+--------+-------+---------+
| 2 | 2 | 00:01 |
+--------+-------+---------+
  7 个评论
Andrew Newell
Andrew Newell 2011-4-11
Randy, I am accepting this answer on the assumption that you will align the behavior as you described in the comment above.
Walter Roberson
Walter Roberson 2011-4-11
Ah -- after the above-noted answer was voted up 1, and no longer appears in the 0 votes portion, it now appears in the middle of the pack of 1 vote answers, with older answers on each side of it.

请先登录,再进行评论。

更多回答(1 个)

Walter Roberson
Walter Roberson 2011-4-10
Experimentally:
The newest answer with 0 votes and no comments, goes to the bottom, but once another answer comes in or the new answer gets 2 comments, the answer gets placed with the rest of the answers with 0 votes, with those answers sorted with the "most active" one first. I haven't pinned down what "most active" is, but answers with newer activity are generally considered "more active" than older ones... it gets fuzzy after that.
  5 个评论
Andrew Newell
Andrew Newell 2011-4-11
My impression was that the Accepted answer is always at the top. Have you seen an exception?
Walter Roberson
Walter Roberson 2011-4-11
I _thought_ I had seen a case where the Accepted answer was not on top. I had a look about half an hour ago and could not find any posting for which that applied. The answers that had enough votes to have potentially overcome the 4-point acceptance advantage all turned out (in the ones I looked at) to be accepted answers.
I can only recall one Question in which several people felt strongly that the Accepted answer was not the best answer, but I no longer remember the details.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Historical Contests 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by