HomeDocs-Technical WhitePaper15-EFT.WP.Methods.Falsification v1.0

Chapter 5: Test-Case Design & Coverage for Falsification


I. Scope & Objectives

  1. Present a falsification-oriented test design methodology centered on property assertions and metamorphic relations, spanning combinatorial coverage, boundary values, mutant generation, and kill-rate evaluation. All artifacts are reproducible and auditable under EnvLock and the shared time base ts = alpha + beta * tau_mono, yielding a verifiable TestPlan and a signed evidence bundle.
  2. Pass criteria
    • Specification coverage: cov_spec ≥ tau_cov
    • Test-case coverage: cov_case ≥ tau_case
    • Mutant kill-rate: kill_rate ≥ tau_kill
    • All statistical tests pass with FDR or FWER control (see Chapter 3 S52-*).
    • Online gating linkage: GateDecision ∈ {pass, hold, block} is determined by a joint function of cov_spec, kill_rate, TS.error, and a risk-weighted score.

II. Terms & Symbols


III. Postulates & Minimal Equations


IV. Data & Manifest Conventions


V. Algorithms & Implementation Bindings

  1. Interface extensions (building on I50-*)
    • I50-20 design_test_plan(spec:dict) -> TestPlan (synthesizes CA(t,F), boundary points, and MR compositions)
    • I50-21 prioritize_tests(plan:TestPlan, telemetry:any) -> OrderedSuite
    • I50-22 evaluate_kill_rate(suite:any, mutants:any) -> {kill_rate:float, ci:list}
    • I50-23 generate_pairwise(F:list, V:list, t:int) -> Cases
    • I50-24 generate_boundary_cases(B:list) -> Cases
    • I50-25 weave_mr_cases(D:any, MR_set:list) -> Cases
    • I50-26 measure_spec_coverage(logs:any, C_total:set) -> {cov_spec:float, C_hit:set}
  2. Pseudocode (test-generation skeleton)
    • plan ← design_test_plan(spec)
    • cases_pair ← generate_pairwise(F, V, t)
    • cases_boundary ← generate_boundary_cases(B)
    • cases_mr ← weave_mr_cases(D_seed, MR_set)
    • suite ← merge_dedup( cases_pair ∪ cases_boundary ∪ cases_mr )
    • suite_ordered ← prioritize_tests(plan, telemetry)
    • Execute & log: logs ← run(suite_ordered, OracleSpec)
    • cov ← measure_spec_coverage(logs, C_total); kill ← evaluate_kill_rate(suite_ordered, mutants)

VI. Metrology Flows & Run Diagram


VII. Verification & Test Matrix

  1. Minimum required set
    • t=2 combinational coverage: cov_spec(t=2) = 1.
    • Boundary triplets: cover {left, on, right} for all B_j.
    • MR sampling: each MR_k in MR_set is hit at least N_mr_min times.
  2. Killing & power
    • kill_rate ≥ tau_kill with CI lower bound ≥ tau_kill_min.
    • Using target effect_size, compute sample size to ensure power ≥ 1 - beta.
  3. Multiple testing & error control
    All assertion tests enter a unified gatekeeping program controlling FDR ≤ q_star or FWER ≤ alpha_family.
  4. Consistency & replay
    Replay 3×: relative differences in cov_spec and kill_rate ≤ tau_cv; offline/online delta satisfies delta_offon ≤ tau_offon.

VIII. Cross-References & Dependencies


IX. Risks, Limitations & Open Questions


X. Deliverables & Versioning


Copyright & License (CC BY 4.0)

Copyright: Unless otherwise noted, the copyright of “Energy Filament Theory” (text, charts, illustrations, symbols, and formulas) belongs to the author “Guanglin Tu”.
License: This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). You may copy, redistribute, excerpt, adapt, and share for commercial or non‑commercial purposes with proper attribution.
Suggested attribution: Author: “Guanglin Tu”; Work: “Energy Filament Theory”; Source: energyfilament.org; License: CC BY 4.0.

First published: 2025-11-11|Current version:v5.1
License link:https://creativecommons.org/licenses/by/4.0/