Abstract
This paper examines the Troubleshooting Expert System Tool (TEST), a diagnostic shell developed to bridge the gap between fault identification and physical repair. While traditional expert systems often concluded their logic once a failure was identified, TEST integrated repair selection, sequencing, and validation into the diagnostic process. By utilizing a hierarchical knowledge representation of failure modes, evidence-gathering datums, and repair procedures, the system addresses real-world troubleshooting complexities such as multiple faults, defective replacement parts, and the dynamic state changes that occur during a repair.
Introduction
During the peak of expert system development in the late 1980s, a significant gap existed between diagnosis and resolution. Most systems could identify a failed component but offered little guidance on how to proceed with the repair. Jeff Pepper and Gary S. Kahn argued that "repair strategy" is a domain as complex as diagnosis itself. Real-world troubleshooting requires navigating several hurdles: determining the optimal sequence for multiple repairs, validating that a fix actually worked, and accounting for the possibility that a replacement part might be defective (the "dead on arrival" scenario).
The TEST Architecture and Knowledge Representation
To address these challenges, the authors developed TEST (Troubleshooting Expert System Tool), a domain-independent shell. TEST represents diagnostic knowledge through a hierarchical network of structured data objects, or "schemata."
- Failure-modes (FM): These represent specific deviations from correct performance (e.g., "Dead Battery"). They are linked through causal relations such as
due-toandalways-leads-to. - Datums (D): These represent evidence-gathering actions, such as sensor readings or manual inspections.
- Repairs (RP): These represent the actual physical interventions required to fix a failure mode.
As shown in the figure above, these elements are organized into a tree structure. When a failure is confirmed, TEST typically executes repairs in a bottom-up fashion—the reverse order of identification. This ensures that the root cause (a leaf node) is addressed before higher-level functional symptoms.
Integrated Repair Logic
One of the primary innovations of TEST is its ability to handle the state-changing nature of repairs. Once a repair is attempted, the system follows a specific logic based on the outcome of the fix and the status of the original symptom (the "concern"):
- Bad Repair: If the component remains broken, the system prompts the technician to verify their installation technique or the integrity of the replacement part.
- Success: If the component is fixed and the original symptom disappears, the troubleshooting session concludes.
- Misdiagnosis: If the component is fixed but the original symptom persists, the system resumes diagnosis to identify co-occurring or alternative faults.
- The "Black Box" Heuristic: For components that lack direct testing methods, TEST mimics human expert behavior by suggesting the technician repeat the repair once—assuming a defective new part—before questioning the entire diagnostic path.
Real-World Applications and Results
TEST was implemented in Common Lisp and later ported to C for broader application. Its most significant deployment was in Ford Motor Company’s Service Bay Diagnostic System, where it helped technicians navigate the complexities of automotive repair. Other applications included factory floor machine diagnosis, online monitoring of power generators, and computer performance tuning. The system successfully demonstrated that a schematic, rule-based approach could effectively model the sequencing and validation behaviors of veteran technicians.
Conclusion and Limitations
While TEST represented a major step forward in integrating repair and diagnosis, it relied primarily on heuristic links rather than a "deep" physical model of machine physics. It also faced challenges with temporal reasoning—such as faults that only manifest after extended operation—and the complex task of maintaining a consistent "belief state" as repairs changed the machine's physical reality. Nevertheless, the principles of integrated repair logic established by Pepper and Kahn remain relevant to modern automated troubleshooting systems.
Summary updated