using System.Collections.Generic;
namespace pulse
{
///
/// Point values.
///
public static class Points
{
///
/// The bug report.
///
public const string BugReport = "BugReport";
///
/// The collaboration.
///
public const string Collaboration = "Collaboration";
///
/// The created work.
///
public const string CreatedWork = "CreatedWork";
///
/// The due diligence.
///
public const string DueDiligence = "DueDiligence";
///
/// The finish work.
///
public const string FinishWork = "FinishWork";
///
/// The house cleaning.
///
public const string HouseCleaning = "HouseCleaning";
///
/// The lacking verbosity.
///
public const string LackingVerbosity = "LackingVerbosity";
///
/// The lack of purpose.
///
public const string LackOfPurpose = "LackOfPurpose";
///
/// The participation.
///
public const string Participation = "Participation";
///
/// The taking ownership.
///
public const string TakingOwnership = "TakingOwnership";
///
/// The verbosity.
///
public const string Verbosity = "Verbosity";
///
/// Defaults the values.
///
/// Default values for points.
public static IDictionary DefaultValues()
{
return new Dictionary()
{
{ Points.LackingVerbosity, -0.2 },
{ Points.LackOfPurpose, -0.2 },
{ Points.BugReport, 0.7 },
{ Points.Collaboration, 0.7 },
{ Points.CreatedWork, 0.02 },
{ Points.DueDiligence, 0.4 },
{ Points.FinishWork, 0.5 },
{ Points.HouseCleaning, 0.1 },
{ Points.Participation, 0.3 },
{ Points.TakingOwnership, 0.1 },
{ Points.Verbosity, 0.8 }
};
}
///
/// Defaults the values zeroed.
///
///
public static IDictionary EmptyDefaultValues()
{
return new Dictionary()
{
{ Points.LackingVerbosity, 0 },
{ Points.LackOfPurpose, 0 },
{ Points.BugReport, 0 },
{ Points.Collaboration, 0 },
{ Points.CreatedWork, 0 },
{ Points.DueDiligence, 0 },
{ Points.FinishWork, 0 },
{ Points.HouseCleaning, 0 },
{ Points.Participation, 0 },
{ Points.TakingOwnership, 0 },
{ Points.Verbosity, 0 }
};
}
}
}