testing._count_leaves

(internal) Classify each leaf in a child-report list as passed / hard-failed / tolerated. A failing leaf is tolerated iff some enclosing testset's runner passed (tolerated_by_parent flows down). Replaces the Rust extract_leaf_summary.

Reference version

Signature

function testing._count_leaves(
tolerated_by_parent: bool

(internal) Classify each leaf in a child-report list as passed / hard-failed / tolerated. A failing leaf is tolerated iff some enclosing testset's runner passed (tolerated_by_parent flows down). Replaces the Rust extract_leaf_summary.

Source:<builtin>/testing/registry.bamlbytes 3563037287