UpgradeBench

Upgrade-check scoring over the migration scenarios; a separate category that never enters the environment tables. Dev items read the committed capsules through a Lab; test items need the Unsealed proof.

Properties

Link copied to clipboard
const val ANY: String
Link copied to clipboard
Link copied to clipboard
const val PREFIX: String

Functions

Link copied to clipboard
fun counts(lab: Lab): Map<String, Int>

Scenario counts by split, from the committed scenario list and split only.

Link copied to clipboard
fun explained(signature: String, rules: List<Rule> = Rules.all): Boolean
Link copied to clipboard
fun items(lab: Lab, ids: List<String>, rules: List<Rule> = Rules.all): List<UpgradeItem>
Link copied to clipboard
fun names(rule: Rule, signature: String): Boolean

A rule names a failure when one of its symptoms contains the signature text.

Link copied to clipboard
fun run(items: List<UpgradeItem>, rules: List<Rule> = Rules.all): List<UpgradeResult>
Link copied to clipboard
fun runDev(lab: Lab, rules: List<Rule> = Rules.all): List<UpgradeResult>
Link copied to clipboard
fun runTest(lab: Lab, unsealed: Unsealed, rules: List<Rule> = Rules.all): List<UpgradeResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toJson(lab: Lab, results: List<UpgradeResult>): String

The generated record of the dev items and what upgrade-check reported for each.