Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2024.2

...

Table of Contents
maxLevel23

Why Recommend Assignees?

By default, DTP assigns the violation to the "author" of the violation as detected by the static analysis engine. While this is usually sufficient, there may be times when you want to know who might be best suited to work on the violation. DTP can recommend an assignee based on who has worked on similar violations in the past, the idea being that a developer who has fixed a similar violation in the past will be more proficient with violations of that type, as opposed to a developer with little or no experience with that type of violation and who might struggle to deal with it effectively. If you want to increase the efficiency of your development team, using DTP recommendations can help.

Anchor
TrainingTheModel
TrainingTheModel
Training the Model

Before you can ask DTP to recommend who should work on a violation, you need to train it using fixed and suppressed violations from previous builds, from which DTP will create a predictive model. This can take several minutes if there are a large number of violations (more than 1000) or a large number of builds (more than 100).

  1. Click the machine learning icon and choose Recommend Assignees to launch the wizard.
  2. If this is your first time launching the wizard or if there is no existing model, you will be prompted to train the model. Click Next 
  3. Choose a training option and click Confirm.
  4. When the model is trained, you will be prompted to Recommend Assignees.

Anchor
RecommendingAssignees
RecommendingAssignees
Recommending Assignees

Once you have trained the model, you can apply it to the violations in the filter. DTP will use the model to recommend who should work on the violation, which enables the team to quickly begin working on remediating critical violations. There are two ways to get DTP to recommend assignees:

Anchor
UsingTheMachineLearningWizard
UsingTheMachineLearningWizard
Using the Machine Learning Wizard

  1. Click the machine learning icon and choose Recommend Assignees to launch the wizard.
     
  2. Enable Recommend assignees and click Next.
  3. Click Confirm when prompted. DTP will use the machine learning model to make recommendations about whom to assign to violations for the current build in the filter and recommended assignee information will be updated. See Viewing Recommended Assignees for more information about viewing recommendations.
  4. Review the recommended assignees and click Close.

Anchor
FromThePrioritizationTab
FromThePrioritizationTab
From the Prioritization Tab

You can get DTP to recommend assignees by clicking Get Recommendations on the Prioritization tab.

...

If you have trained the model, recommended assignee will be added to the Recommendations section. If one or more prerequisite conditions have not been met, there will be an info icon to the left of the Recommendations label that you can hover over for details.

Anchor
ViewingRecommendedAssignees
ViewingRecommendedAssignees
Viewing Recommended Assignees

You can view recommended assignees for all the violations in the filter in the Recommended Assignee column. The column shows which user DTP recommends should work on this violation. Note that this column is sortable.

...