Discussion on Profile Structure Point27

From wiki.gpii
Jump to: navigation, search

How do we deal with conflicts in profiles?

Status: under discussion Under discussion

Discussion

How do we define a "conflict"? I.e. which of the following constitutes a conflict:

  • Preferences with the same key, condition, value, probability and priority: these are duplicates; one of them can be removed
  • Preferences with the same key, condition, value and probability, but with a different priority: remove the preference with the lowest priority?
  • Preferences with the same key, condition, value and priority, but with a different probability: remove the preference with the lowest probability (lower probability = inferred from something else)?
  • Preferences with the same key, condition and value, but with both a different priority and a different probability:
    • If preference A has both a higher priority and probability than preference B: remove B? (consistent with two previous scenarios)
    • If preference A has a higher priority but a lower probability than preference B: ??
    • If preference A has a lower priority but a higher probability than preference B: ??
  • Preferences with the same key and condition but a different value: keep in the profile until the user has confirmed which value he/she prefers?
  • Preferences with the same key and value but a different condition:
    • If the conditions don't conflict, then keep both preferences. Example: one value is valid between 8 a.m. and 6 p.m. and the other is value between 6 p.m. and 8 a.m.
    • If the conditions conflict: ?? Example: one value is valid between 8 a.m. and 6 p.m. and the other is value between 6 p.m. and 10 a.m.


Other Scenarios/Types of Conflicts

See Also