{'fraction_non_alphanumeric': 0.014207650273224045, 'fraction_numerical': 0.0, 'mean_word_length': 5.735294117647059, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Towards context-aware propagators: language constructs for context-aware adaptation dependencies

A context-aware system needs to reason about its current context of use and select applicable adaptations to activate or deactivate. This process is complex as often multiple contexts are available and improper interpretation of adaptation dependencies may lead to inconsistent or annoying system behaviour. This paper proposes a programming language support for defining context-aware dependencies between adaptations. Our model is based on the ideas of the propagator computational model to provide support for multiple dependencies that can coexist even if they contradict. Our proposed model is analogous to relationships and multiplicities in the modelling approaches. In addition, rather than fixed dependencies between adaptations, our model allows these dependencies to change depending on the context of use.