copyleftdev / codeswarm

Automatically exported from code.google.com/p/codeswarm
GNU General Public License v3.0
0 stars 0 forks source link

Add support for event weight #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A non-required (optional, defaulting to 1) weight parameter should be
supported for the xml event format and also used inside of the code to
augment the length of time that a event node stays alive.

The data wishlist lists MediaWiki as one of the data formats it wants to
support (I'm a MediaWiki dev, I might try building a dual-mode tool to help
with this).

However MediaWiki is a fair bit different than other VC's. It's normally
founded around openness and as such the way users edit is not uniform due
to it's implicit access. Unlike with projects using explicit access there
are a number of users who may commit large numbers of small commits instead
of using preview and committing their work at once.

For this reason it would be helpful to have a optional weight for events.
Depending on the log converter, format, and options when a event list is
created we can add a weight to events to augment it's strength.
For example with MediaWiki we may want to introduce an option to generate a
weight based on the size data that MediaWiki offers, something along the
lines of halving negative commits and making things absolute.

Original issue reported on code.google.com by nadir.se...@gmail.com on 20 Jul 2008 at 4:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This will also be useful to other data sources where there are different types 
of 
activities. I recommend augmenting the <event> tag with a weight attribute, 
whose 
value is a float. Negative values should be possible.

Original comment by michael....@gmail.com on 6 Nov 2008 at 3:17

GoogleCodeExporter commented 9 years ago
You can now specify an optional "weight" attribute in the xml file. If no 
weight is 
specified, it defaults to 1. Negative weights are also possible.
The sample data file was also modified to show this feature.

Original comment by michael....@gmail.com on 17 Nov 2008 at 12:48