Skip to content

Constraint Scoring

🚀 Feature Request

Summary

Assigning a numerical score to constraints to rate their importance. Ensure consistent handling of the scoring in reports and translations.

Problem to Solve / User Story

As a user, I want to assign, change, and remove scores for constraints so that I can quantify their importance in analysis. This scoring should be stored in the QPM backend, set via an API call, and included in the constraint information and the analysis report per constraint. Additionally, the score should be considered in the translation to MQAF constraints. displayed appropriately in the Constrainify Report View.

Proposed Solution

  • Add an integer field for scoring in the QPM backend.
  • Implement an API call to set the score value.
  • Include the score in the constraint information (constraint API call).
  • Include the score in the analysis report (execution API call).
  • Ensure scores are considered in MQAF constraint translation.
  • Adjust Constrainify Constraint Edit View layout to present and edit the scoring.
  • Adjust Constrainify Report View layout to reflect the scoring appropriately.

Benefits

  • Enhances prioritization and assessment of constraints.
  • Provides numerical representation of constraint importance.
  • Improves report clarity by displaying constraint scores.
  • Ensures alignment across backend processing, API interactions, and UI representation.

Possible Drawbacks

  • Additional complexity in QPM and API implementation.
  • UI adjustments may require layout redesign in Constrainify Constraint Edit View and Report View.

Requirements or Dependencies

  • QPM backend modifications to support the integer scoring field.
  • API call for setting constraint scores.
  • Updates to API calls.
  • Updates to analysis report generation.
  • Adjustments in MQAF constraint translation.
  • UI updates in Constrainify Edit Constraint View.
  • UI updates in Constrainify Report View.

Alternatives Considered

  • Keeping constraints without a scoring mechanism.
  • Implement tag feature to use for priority labels.