XPerf
LanguagesPython

pyperf evidence policy

Gate

A rule may be error only with both evidence/<RULE>.md and measured evidence/<RULE>.jsonl.

Current map

As of 2026-10-22.

RuleSeverityEvidenceSmell
pp-str-plus-hotoffmeasured (pp-str-plus-hot.md + pp-str-plus-hot.jsonl); kept offstring += in loop (G3 OK-idiom)
pp-list-plus-rebindhintmeasured (pp-list-plus-rebind.md + pp-list-plus-rebind.jsonl); kept hintlist + rebinding in loop
pp-print-hotoffmeasured (pp-print-hot.md + pp-print-hot.jsonl); kept offprint( in loop (G3 CLI)
pp-json-hothintmeasured (pp-json-hot.md + pp-json-hot.jsonl); stay hintjson.loads / dumps in loop
pp-deepcopy-hothintmeasured (pp-deepcopy-hot.md + pp-deepcopy-hot.jsonl); stay hintdeepcopy in loop
pp-open-hothintmeasured (pp-open-hot.md + pp-open-hot.jsonl); stay hintopen in a loop; same path only; not corpus-triaged
PP004removedtombstonesee evidence/_removed/

Measured JSONL exists for the 2026-10-22 rules, but none is escalated: pp-str-plus-hot/pp-print-hot stay off (G3: OK-idiom in CLI and builder code) and pp-list-plus-rebind stays hint. PP004 is removed; its tombstone is under evidence/_removed/. pp-regex-compile-in-loop and pp-datetime-format-in-loop were removed.

On this page