public ItemScore(TestItem ti, TestItemScoreInfo si, double score, bool isSelected, bool isFT) { this.ti = ti; this.si = si; this.score = score; this.isSelected = isSelected; this.isFieldTest = isFT; }
public ItemScore(TestItem ti, TestItemScoreInfo si, double score, string conditionCode, bool isFT, bool isSelected, bool isAttempted) { this.ti = ti; this.si = si; this.score = score; this.conditionCode = conditionCode; this.isSelected = isSelected; this.isAttempted = isAttempted; this.isFieldTest = isFT; }
public void SetFeature(string dimension, IRTModelFactory.Model model, string featureName, string featureValue) { TestItemScoreInfo score = FindScoreInfo(dimension, model); if (score == null) { throw new Exception("Item " + this.ItemName + " does not have dimension " + dimension + " and IRT model " + model.ToString()); } score.SetFeature(featureName, featureValue); }
public ItemScore(TestItem ti, TestItemScoreInfo si, int position, double score, string conditionCode, string segmentID, bool isFT, bool isSelected, bool isAttempted, bool isDropped) { this.ti = ti; this.si = si; this.position = position; this.score = score; this.conditionCode = conditionCode; this.segmentID = segmentID; this.isSelected = isSelected; this.isAttempted = isAttempted; this.isFieldTest = isFT; this.isDropped = isDropped; }
public TestItemScoreInfo DeepCopy() { TestItemScoreInfo copy = (TestItemScoreInfo)(this.MemberwiseClone()); if (_features != null) { copy._features = new Dictionary<string, List<string>>(); foreach (KeyValuePair<string, List<string>> kvp in _features) copy._features.Add(kvp.Key, new List<string>(kvp.Value)); } if (irtModel != null) copy.irtModel = irtModel.DeepCopy(); return copy; }