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?
댓글 수: 0
채택된 답변
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
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
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
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.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!