Social Equity is a brand new feature in Liferay version 6. It is based on the white paper and calculations of Peter Reiser from SUN Microsystems.
The objective is to build a dynamic social capital system by measuring the contribution and participation of a user and the information value of an asset. A person can gain such equity through certain activities performed in communities.
The activities that award equities include
- adding contributions (wikis, blogs)
- rating, commenting
- viewing content
- searching and tagging (not implemented yet)
The main values used to describe engagement in communities are the following:
Information Equity (IQ)
This equity shows the importance and quality (measured by popularity) of the information contained in an asset. It is calculated through social activities related to the information.
Contribution Equity (CQ)
The contribution equity measures the contribution of a person to the community. This value is calculated from the information equity of the contributed assets.
Participation Equity (PQ)
This equity measures the active participation of a person. It is calculated by measuring the feedback a person has provided to other community contributions (assets). Viewing a contribution can be translated as feedback as well.
Personal Equity (PEQ)
The ultimate result, that describes a person's achievements and participation in the community. This value is the sum of a person's contribution and participation equities.
Configuration
By default the social equity feature is disabled and can be turned on by setting the "social.equity.equity.log.enabled" property in portal.properties. The social equity system works by evaluating and maintaining equity rewards that are the results of certain activities in the system. The social equity service doesn't know the meaning of these actions, these are configured in and by the contributing portlets. Naturally there is an administration portlet - accessible from the control panel - that allows administrators to change predefined values and store them into the database. There are two value sets that can be defined for an activity - information equity and participation equity. The first set contains values for calculating the reward for the information equity of the corresponding asset, while the latter is used to calculate participation equity rewards for the acting user.
All information has its usefulness only for a period of time. That period is determined by active downloads, comments, ratings or views of the information. So any information that is not rated, commented or viewed can be counted as stale information that lost its importance. Likewise, when a user is inactive for a certain period of time, his or her usefulness to the community diminishes or ceases all together. In order to model this deterioration, the equity rewards are aging and thus are linearly converging to zero over a certain time period.
The above mentioned configuration value sets consist of two main values: the reward and its lifespan that is the time period in days over which the reward degrades to zero. There is also a daily limit value that simply sets how many times a day the corresponding equity reward can be used. The purpose of this limit is to slow down the development of a person's participation equity or an asset's information equity.
Ranking and daily maintenance
The main time unit for the social equity system is one day. Equity rewards degrade on a daily basis, and personal equity rankings are also calculated once a day.
Top Users portlet
There is a portlet similar to friends that is capable of displaying the top ranked users and their equity values. It only displays users that have a rank greater than zero, so it is possible that a user has already accumulated some social equity but as the ranking process runs only once a day, his or her ranking might have not been updated yet, which results in the user not appearing in the list at all.
Contributing portlets
Currently there are three portlets that use the social equity service. These are Wiki, Blogs and Message Boards. The activities and their default values are configured in the resource actions xml.
Wiki
Configured activities are: ADD_PAGE, VIEW, ADD_DISCUSSION
Blogs
Configured activities are: ADD_ENTRY, VIEW, ADD_DISCUSSION
Message Boards
Configured activities are: ADD_MESSAGE, ADD_VOTE, REPLY_MESSAGE, VIEW