Social Network from Ticket Comments
Yesterday I put together the function that constructs the social network using ticket comments as the source of the social data. I used a very straightforward algorithm to award "social communication points" between pairs of users. If you comment on a ticket, a point is added between you and each person that commented before you, and also a point for you and the ticket reporter. A graph of all people who commented is constructed, with edge weights representing the amount of communication.
Next, I want each person to be able to see their own personal social network (a graph of who they talk to, letting them specify the depth of the connections they want to see). This requires that I know who is logged in. And since Trac has such excellent documentation, it only took half an hour to figure this out (
req.authname.)I've also been thinking a lot about how to represent the directory structure of the code in the code relations graph. We can't really show edges for the structure and edges representing relatedness. Maybe we should make the files different colours to represent the directory that they are in, and not show a node for the actual directory. Maybe we could show a single node for a directory if that directory is collapsed, and if they click on it, then the node for the directory will be replaced with nodes for its contents. Our original plan was to not worry too much about the visualizations, because we want the plug-in to be simple and straightforward, so I'm not sure how much I should be worrying about this stuff.

0 Comments:
Post a Comment
<< Home