Posts

#4560 System Breakdown and Analysis Prompts

#4560 System Breakdown and Analysis Prompts #4560  Provide a prompt that correctly, completely and consistently breaks down a specified system, for example a bicycle, into its constituent sub-systems, components and parts. Here is a comprehensive, highly structured prompt template you can use. It uses explicit constraints and a clean hierarchical framework to ensure that any system you plug into it gets broken down accurately, completely, and consistently without any missing layers. The System Decomposition Prompt You are an expert systems engineer and product architect. Your task is to perform a rigorous, complete, and mutually exclusive, collectively exhaustive (MECE) systems decomposition of the following system: [INSERT SYSTEM HERE, e.g., A standard commuter bicycle]. Please break down the system into a strict three-level hierarchy: 1. Sub-systems (The major functional groups) 2. Components (The distinct assemblies within those sub-systems) 3. Parts (The individual, non-divis...

#4559 MC/DC and Cyclomatic Complexity Checking and Remediation

Image
#4559 MC/DC and Cyclomatic Complexity Checking and Remediation #4559  Is is practical to apply an LLM for MC/DC evaluation of source code? The short answer is no, it is not practical or safe to rely on a pure LLM to perform Modified Condition/Decision Coverage (MC/DC) evaluation. While LLMs are excellent at code explanation, generating test boilerplate, or suggesting potential test cases, they are fundamentally unsuited for the rigid, deterministic boolean logic validation required by MC/DC. Here is a breakdown of why it fails practical application, where it can play a supporting role, and how to actually automate it safely. Why Pure LLMs Fail at MC/DC Evaluation MC/DC is a highly structured, mathematical criterion typically required in safety-critical systems (like DO-178C Level A in aerospace or ISO 26262 ASIL D in automotive). It requires proving that every single condition can independently affect the outcome of a decision. LLMs face critical failure modes in this domain: T...