Error Seeding Technique

From GM-RKB
Jump to navigation Jump to search

An Error Seeding Technique is a testing technique that intentionally injects a known set of artificial defects into an artifact under evaluation so that detection effectiveness or remaining native defects can be measured.

  • AKA: Error Seeding, Defect Seeding, Bebugging.
  • Context:
    • It can (typically) calibrate the sensitivity of a test suite, automated check, or human/model reviewer by checking what fraction of the planted defects are detected.
    • It can (typically) apply a capture-recapture ratio (Mills, 1972) comparing discovered seeded defects to discovered native defects to estimate the pool of undetected inherent software bugs, under assumptions that seeded errors resemble real defects in detectability.
    • It can (typically) require blinding the tester or reviewer to the locations and descriptions of the seeded defects, and strictly removing all seeded defects before production release.
    • It can (often) expose reviewer complacency or blind spots when applied as a detection test inside a peer review process or review process (reviewers in Schroter et al., 2008 detected only a minority of deliberately inserted major errors); a reviewer who misses planted errors therefore provides weak evidence that the real artifact is clean.
    • It can (often) complement automated test suites and manual inspections by verifying the detection instrument itself rather than only the target artifact.
    • It can range from being a Statistical Software Error Seeding Technique to being a Blinded Review Error Seeding Technique, depending on its evaluation purpose.
    • It can range from being a Manual Error Seeding Technique to being an Automated Fault-Injection Error Seeding Technique, depending on how artificial defects are introduced.
    • …
  • Example(s):
    • Statistical Software Error Seeding Techniques, such as:
      • Applying Mills' error seeding procedure (1972), where a known count of artificial bugs is seeded into a program before testing and the ratio of seeded bugs caught to native bugs caught estimates remaining undetected defects.
    • Automated Fault-Injection Error Seeding Techniques, such as:
      • Mutation-testing fault injection that systematically plants syntactic code mutants into a program under test to measure the fault-detection recall of an automated unit-test suite.
    • Blinded Review Error Seeding Techniques, such as:
      • Journal peer-review quality studies (Schroter et al., 2008) in which manuscripts deliberately seeded with major methodological and reporting errors at concealed locations are sent to consenting peer reviewers to measure actual error-detection rates.
      • Blinded concept-page draft reviews that plant controlled factual or link defects into a review copy to verify whether the reviewer actually inspects sources and definitions before signing off.
    • …
  • Counter-Example(s):
    • Fault Injection Testing Technique, which injects faults to verify runtime error-handling and fault-tolerance paths rather than estimating latent defects or detection recall.
    • Chaos Engineering Experiment, which injects live operational faults to test production system resilience rather than estimating latent defects or review recall.
    • Unseeded Peer Review Process, which inspects an artifact for native flaws without planting concealed control defects to measure reviewer sensitivity.
    • Escaped Defect, which is an unintended flaw reaching production rather than a deliberately planted detection control.
  • See: Testing Technique, Software Testing Method, Defect, Escaped Defect, Software Bug, Peer Review Process, Review Process, Software Code Change Peer Review Task, Software Test Oracle.


References

2008

1972

  • Mills, Harlan D. (1972). "On the Statistical Validation of Computer Programs." IBM Report FSC 72-6015, Federal Systems Division, IBM, Gaithersburg, MD. Retrieved 2026-11-28.
    • NOTE: Introduces the hypergeometric capture-recapture estimator for remaining indigenous software faults based on seeded-error detection ratios.