Scorecards
Last updated
Last updated
Use Scorecards to establish best practices, track migration, promote accountability among teams, enforce standardization across entities, or define maturity standards.
In a Scorecard, entities are scored against rules. Rules can reference entities' metadata within Cortex, and can pull data from third-party integrations. Use levels and points in Scorecards to gamify the process and encourage developers to make progress toward goals.
You can configure Scorecards in the Cortex UI, or you can follow a GitOps approach. See Scorecards as code for more information.
For information about common use cases and examples, please see Scorecard examples.
To create a Scorecard, you must have the admin or manager role, or you must have a custom role that includes the permission Edit Scorecards
.
Scorecards evaluate entities, so before using Scorecards, make sure you have entities in your catalogs.
Make sure you have set up any integrations you want to write rules against.
When you create a new Scorecard, you have the option to use a Scorecard template or Start from scratch.
Cortex offers the following templates:
See the tabs below for instructions on starting your Scorecard.
To create a Scorecard using a template:
On the Scorecards page in Cortex, click Create Scorecard.
Click Scorecard template.
Click the template you want to use, then at the bottom of the page, click Continue.
You will be redirected to a page that shows the default configuration for your Scorecard, including the integrations used by the Scorecard and the template's levels and rules. You will be able to modify the Scorecard on the next page.
Click Continue at the bottom of the Scorecard default configuration page.
Configure the basic fields for your Scorecard:
Name: Enter a descriptive name for your Scorecard.
Identifier: Enter a unique identifier for your Scorecard.
Description: Enter a description for your Scorecard.
Evaluation window: By default, Scorecards are evaluated every 4 hours. If you would like to evaluate Scorecards less frequently, you can override the evaluation window and enter a new number.
If a Scorecard is evaluating such a large number of entities that it cannot complete the evaluation in a 4-hour window without invoking rate limits, then a longer evaluation window is recommended.
Enable notifications: Choose whether to enable notifications.
If notifications are enabled, users who own entities being evaluated by this Scorecard will receive alerts when there are relevant updates on the Scorecard and any corresponding initiatives.
Notify when scores drop: When enabled, you will be notified any time a score drops from the last time the Scorecard was evaluated.
Enable exemptions: Choose whether to enable Scorecard exemptions. If not set, it defaults to true.
See Scorecard rule exemptions for more information.
Enable auto-approval exemptions: Choose whether to enable auto-approving of Scorecard rule exemptions. If not set, it defaults to false.
Select whether to apply this Scorecard to specific entities.
You can choose to include or exclude specific entity types.
Click Advanced options to see additional options for refining entity selection. You can include or exclude groups, and you can include a CQL expression to make your entity type selection.
If you want to use all of the default rules from the template, you can skip ahead to Step 4: Save the Scorecard. If you want to add any rules or levels, follow the next steps.
When you create a Scorecard, there are two options to set up your Scorecard's evaluation:
Level progression
Establish progressive levels as you add rules to make it obvious which set of rules are the highest priority. Levels allow you to set up a gamified system to encourage developers to make progress toward goals and improve entities' performance.
Point-based rules
Use points to assign weighted values to each rule you add to a Scorecard.
If you choose to use only point-based rules in your Scorecard, then you do not need to create levels. You can skip to the next section: Step 3: Create a rule.
To add a level:
In the modal, configure your level:
Color: Click the star icon to select a color for this level.
Name: Enter a name that represents this level.
You might choose to go with classic levels names, such as Bronze, Silver, and Gold, or you can choose something more unique to your organization.
Levels are designed to inspire progress on important goals, so consider level names that will motivate your team members.
Description: Enter a description for the level.
Click Add level.
You can add more levels to the Scorecard, or you can move on to the next step and add rules to each level.
There are two methods to build a rule: through a form in the Cortex UI or via the CQL editor.
The form is the fastest option, as you can choose from pre-configured rules for each integration. The CQL editor is best when writing complex rules or accessing data from multiple sources.
While creating your Scorecard, in the "Define evaluation rules" section, click Add rule.
When using the "Level progression" scoring type, we recommend including the most essential rules in the first level so developers know to prioritize them.
Configure the basic fields in the form:
If you chose Form:
Integration: Choose one of your configured integrations to apply this rule to.
Rule: Choose a rule.
The next fields vary depending on the type of rule you choose. For example, you may need to choose a boolean operation or set a file path.
If you chose CQL editor:
CQL expression: Enter your CQL rule. On the right side of the modal, you can use CQL Explorer for help.
Note: If writing an expression that references a Jira issues, Cortex will not append new filter logic to your default JQL query. See Adding filter logic to the default JQL query in a Scorecard for more information.
Rule name: Enter a descriptive name. Names make it easier to understand the rule without having to read the CQL expression.
Optionally configure the additional fields:
Description: Enter a description for the rule.
Failure message: Add links or instructions to tell users how they can remediate this rule if it's failing.
Restrict rule to specific groups: Select groups to include or exclude.
This option can be used when a group of entities should be evaluated by the Scorecard as a whole, but a specific rule in the Scorecard does not apply to that group.
See Scorecard rule filters for more information on configuring a filter.
Points: Enter how many points this rule is worth.
You can use points to signify each rule's importance. Rules worth more points are more critical than those with fewer points.
Schedule evaluation start date: If you want to schedule the evaluation of a rule to start on a specific date, schedule a start date here. When the field is blank, the rule will take effect immediately. If a start date is provided, the rule will take effect at the start of the specified day (UTC).
This is helpful when you want users to be aware of an upcoming rule, but you do not want to evaluate the Scorecard yet based on that rule.
Scheduled rules are visible to all users and will be included in the weekly team and user reports to help with socialization.
Users can choose to receive notifications when a scheduled rule is added to a Scorecard evaluating an entity they own, and they can receive reminders before a scheduled rule impacting an owned entity goes into effect.
Click Save rule.
You can repeat the steps above to continue adding rules to your Scorecard. You cannot duplicate a rule across levels, since developers will have already completed that task earlier. It is common, however, to have similar rules with different thresholds if you want developers to progress in stages. For example, a base level might require that the P50 latency for API requests is under 5 seconds, while a higher level may required that the same P50 is under 2 seconds.
After you have finished adding levels and rules to your Scorecard, you are ready to save the configuration.
Choose whether to keep your Scorecard in draft form, visible only to users with permission to configure Scorecards. To keep it in draft form, enable the toggle next to Save as draft.
If you choose to keep your Scorecard in draft status, it will not appear in reports or send notifications.
If you choose to publish your Scorecard, it will be visible to all users who have the View Scorecards
permission. Notifications, if enabled, will be triggered.
Click Create Scorecard.
After you save the Scorecard, it will automatically evaluate all the entities that apply based on the rules you have configured, and you will be redirected to the Scorecard's page in Cortex.
After you have established Scorecards, you can start using Initiatives to drive progress across the organization on your goals. Initiatives allow you to prioritize specific rules within a Scorecard and set deadlines for team members to accomplish tasks.
Initiatives allow you to prioritize specific rules and set deadlines, making sure your team members complete higher priority tasks on time.
You can create an Initiative while viewing a Scorecard. Note that the Scorecard must be published - i.e., not in draft mode - in order to create an Initiative for it.
In the upper right corner, click +Create initiative.
Configure the Initiative form.
For detailed instructions on creating an Initiative, see the Initiatives documentation.
You can also create an Initiative while viewing reports for the Scorecard under its Reports tab.
Click Scorecards in the main nav in Cortex.
All of your organization's Scorecards are listed under All, while Scorecards you created will appear under Mine.
If you have not disabled UI editing, then you can edit a Scorecard in the Cortex UI. You can edit the name, description, levels, rules, draft status, filter criteria, and the entity's being evaluated by the Scorecard. You cannot edit a Scorecard's unique identifier.
You must have the Edit Scorecard
permission.
To edit:
Navigate to the Scorecard in Cortex.
Click Edit in the upper right corner of the Scorecard page:
Make changes to your Scorecard, then at the bottom of the page, click Save Scorecard.
Any time you edit and save your Scorecard, Cortex will automatically begin reevaluating the relevant entities to reflect your changes.
When you navigate to a Scorecard's page in Cortex, you can see high-level information at the top of the page:
Median level entities have achieved
Percent of entities at the highest level
Percent of entities without level
Number of entities per level
The scheduled Scorecard calculation
Whether notifications or rule exemptions are enabled
On the side the page, you can see:
A description of the Scorecard
The total number of entities being scored
The number of scheduled rules
The next evaluation time for the Scorecard
On the Scorecard page, click through each of the tabs to learn more:
Under Scores, view each entity that is being scored via this Scorecard, the entity's current overall level, and how many points it scored per level.
For example, in the screen shot above, the first two entities achieved 50 points out of 50 possible points within the Bronze level of the Scorecard. They also each achieved 3 out of 3 possible points under the Silver level.
Click an entity to open a side panel with more information:
Next to the entity name: A link to its entity details page
At the top of the panel: The entity's current level, score, rank, percentile, and an overview of its rule progress
Under the Rules tab: A list of failing rules, passing rules, and rules not evaluated yet
Under the Exemptions tab: A list of exempted rules
Under the Progress tab: A graph showing the entity's progress
In the upper right corner of the list, click Filter to narrow the scope of the list. You can filter by domain, failing rules, groups, levels, owners, passing rules, and teams.
Click Level to select a different method to sort by, and choose whether to sort ascending or descending.
Need to show progress to leadership? Click Share in the upper right corner. This copies a link to your clipboard, which you can share with anyone who has access to view this Scorecard in your workspace.
Gamification motivates developers to not only progress through the levels of a Scorecard, but to maintain the quality of their entities over time.
See the Scorecard examples page to view common use cases and see how others are motivating their teams with Scorecards.
You can also include a CQL expression to make your entity type selection.
While creating your Scorecard, in the "Define evaluation rules" section, click Add level.
When you have more than one level, you can click the arrows on the right side to reorder them:
Level progression scoring type: Click Add rule within a level.
Point-based rule scoring type: Enable the toggle next to Point-based rules, then click Add rule:
The rule creation modal defaults to the Form type, where you can choose a pre-configured rule based on configured integrations. To write a CQL expression instead, click CQL:
Rule name: Enter a descriptive name. Names make it easier to understand the outcome of the rule without having to read the CQL expression.