hello,

when generating dummy voting data, the distribution of the votes seems to be symetrical with an averagae at 2 (4 star ratng) or 2.5 (5 star rating). What do I need to change to generate data whose distribution looks more random?

thanks

JB

Comments

moshe weitzman’s picture

Project: Devel » Voting API
Version: 6.x-1.23 » 6.x-2.x-dev
Component: devel_generate » Code
galundin’s picture

Status: Active » Patch (to be ported)

I overhauled the vote generation code for 7.x-2.x. It is now feature-complete for all of VotingAPI's capabilities. I created a new issue for the rewrite:

#2001090: Allow more control over votes generated using devel generate

There you will find drop-in replacements for votingapi.drush.inc and votingapi.admin.inc, modified from the latest stable release, VotingAPI 7.x-2.11. The new admin UI can correctly generate realistically distributed votes for any VotingAPI-based widget, in any configuration.

I'm not familiar with VotingAPI 6.x-2.x, so I don't know how much effort would be required for a back-port...

legolasbo’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (won't fix)

Drupal 6 is no longer supported. Closing old issues to clean up the issue queue.

Please reopen and update this issue if this is still an issue in the D7 or D8 version.