Comments (10)
A more useful default sort might be the number of upvotes, that way a customer sees the most "valuable" opinions most prominently. Perhaps using recency as a secondary sort for the situation where none of the reviews have votes yet.
from django-oscar.
Good idea. We should make that an additional option as well as sorting by score and recency.
from django-oscar.
Are we going to handle spamminess in any other way than moderation? On high volume sites this will be a royal pain in the arse.
from django-oscar.
Building on top of that - an even more useful sort would be a replication of the reddit one, as in - take time into account. A review from 3 years ago should not be as useful as one from last week. It's simple enough to do with a variable water-down constant and a bit of log.
from django-oscar.
@djm's idea is a good one. Once the basic reviews are done, we should write that one up as an enhancement ticket.
@kura - Spamminess is not something we've had to contend to date. One option would be Akismet or something like that but that it's paid-for for commercial apps. But I think it's too soon for this kind of feature. Maybe in a few months...
from django-oscar.
https://gist.github.com/4645a5f6591253bd9ed1
If you wanted to use it, I've already recreated it and that works brilliantly. The brilliance about the reddit algo is that it is not resource-intensive as the "score" of a certain object is only recalculated and saved on the object when a vote takes place. That way the ordering of the result set is simply by number.
from django-oscar.
Does this: http://blog.linkibol.com/resource/reddit.PNG
from django-oscar.
Thanks everyone for your inputs.
Although reddit's algorithm takes the recency of a vote into account it has not considered spamming as an issue (which we have to face sooner or later). I was trying to find something that takes care of spams algorithmically and found this interesting review paper: http://portal.acm.org/citation.cfm?id=1216307
I also personally prefer to show a diverse set of items which are not just popular items. That in turn reduces the risk of over/under rating an item by spammers or otherwise. Such algorithms are also available. Here is a review of few of them
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.156.97&rep=rep1&type=pdf
from django-oscar.
I think we're trying to run before we can walk. We're not going to have 1000s of reviews for a while so I suggest we just get the basics of reviewing and voting implemented now. We can worry about spam and clever sorting algorithms later on, YAGNI principle and all that.
For now, just go with sorting by date and number of votes.
from django-oscar.
We have had reviews for a while now. Closing as outdated.
from django-oscar.
Related Issues (20)
- Logging-in with basket products may cause order lines to have incorrect partner / stock record HOT 3
- Question: Best/proper way to install and use HOT 2
- js, css 404 not found HOT 1
- Missing migrations for core modules HOT 1
- test
- server error with django-phonenumber-field 4.0.0
- variant: how to inherit some of the parent fields HOT 6
- Required Rich Text Product Attribute issue when validating
- Forking Checkout and Shipping Apps for Shipping Method. HOT 1
- migration creates performance issue in case of huge records in LineAttribute table
- Nuances in overriding model's method HOT 2
- 3.2(.2) Release βΒ is it officially out and stable or not? Documentation is misleading or possibly erroneous HOT 4
- TypeError in OrderSearchForm HOT 1
- ordering for attribute option groups HOT 1
- Sandbox site is down HOT 1
- Bug when forking offer.benefits
- ValueError: There is already an order with number 100551 HOT 2
- Update to bootstrap 5 ? HOT 2
- There is no link from the dashboard to Attribute Option Group list page HOT 3
- Must shown the Option value instead of Option code in thank you page showed products. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-oscar.