Usually, you do not create trustworthy near-miss labels from MES data alone.
MES records can help you identify candidate events, but a true near-miss label normally requires context that MES often does not capture well: what almost happened, who noticed it, whether controls prevented impact, whether the condition was safety-, quality-, or production-related, and whether the event was already handled in another system such as QMS, EHS, maintenance, or shift logs.
Use MES to generate a pool of candidate records for review, not final labels by itself. Depending on your configuration, useful MES signals may include:
These are proxies. Some will be true near-misses, many will not. If you treat them as labels without review, you will introduce noise and bias.
The biggest constraint is that MES is designed for execution and traceability, not complete incident semantics. A near-miss may exist only in free text, a supervisor log, a maintenance call, or an informal escalation that never became a formal record.
Other common limitations include:
If your site has inconsistent reason codes or poor comment discipline, labeling effort will shift from analytics to data cleanup.
In most plants, the practical answer is to layer labeling on top of existing systems rather than replace them. Full replacement of MES, QMS, or adjacent systems just to improve event labeling usually fails the business case in regulated environments. The qualification burden, validation effort, downtime risk, integration complexity, and long equipment lifecycles are too high for most sites.
A safer pattern is to keep the MES as system of record for execution, pull candidate signals from it, and link them to evidence from QMS, historians, maintenance, and operator workflows. That preserves traceability while reducing disruption.
If your goal is model training, distinguish carefully between:
Do not train a model on proxy rules and then claim it predicts true near-misses. That only teaches the model to reproduce your rule set and any bias inside it.
Also expect retraining after major process changes, equipment upgrades, new routing logic, or revised work instructions. In regulated operations, changes to label definitions, source mappings, and decision logic should be version-controlled and reviewed under normal change control.
Create near-miss labels from MES records by using MES as one evidence source, not the only source. Start with explicit definitions, generate candidate events from auditable MES signals, validate labels with human review, and maintain traceable versioning of rules and decisions. If you skip the review and data-quality work, the labels will look precise but may not be trustworthy.
Whether you're managing 1 site or 100, Connect 981 adapts to your environment and scales with your needs—without the complexity of traditional systems.
Whether you're managing 1 site or 100, C-981 adapts to your environment and scales with your needs—without the complexity of traditional systems.