Skip to content

Reset tracking on a session so runs with different settings can be compared #1477

Description

@mihow

Summary

Tracking (#1469) links detections and merges occurrences, but there is no way to undo a run on a session. That makes it hard to compare settings inside Antenna: once a session has been tracked, a second run with different settings is skipped by the "only track sessions that have not been tracked" guard, and turning the guard off only adds links and merges on top of the first run. Detections added to a session after it was tracked are also never tracked by default.

Proposal (to discuss)

An admin action, and later a job option, that resets tracking on selected sessions:

  1. Clear next_detection on the sessions' detections.
  2. Split every occurrence the tracking run merged back into one occurrence per detection, copying identifications to each piece (the same rule regrouping uses when it splits an occurrence).
  3. Mark the sessions' tracking results as not current, so the history keeps them.

Open questions: what to do with occurrences a person edited or identified after tracking (skip the session, or keep those occurrences whole), and whether the split should restore the exact occurrences that existed before tracking, which needs the merged ids stored on each tracking result.

Related: #1469, #1468, #1416.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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