Skip to content

Ignoring implementation events #5

@alex-dixon

Description

@alex-dixon

Events generated by Precept's implementation rules are noisy, but filtering them from the event log presents some challenges. The crux is whether we represent "what happened" or "what happened that you care about" and which the numbering of states and events reflects.

Entire states can be comprised of ignored events. When they are we can either:
A. Ignore them: Not increment the state counter, drop the batch of events we've accumulated, and start the next session at the same state index
B. Use Null Object: send a "null object" for the log entry and advance the state counter normally

Pros ignore impl:
Users won't see "blank" states where nothing was added, nothing removed.
Event ordering will read as sequential.
Cons :
When user sets "Show impl facts/rules", the indexes will be different

Pros null object:
Users can configure whether to ignore impl layer and all state indexes would remain the same
Cons:
Ordering will be non-sequential in some way
Seeing 1 -2-4 or 1-2-3(impl only)-4 begs the question of where 3 is, or what happened at 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions