Skip to content

Postgres: Infer not created results from group.finished_count #228

Open
@Matthias-Schaub

Description

@Matthias-Schaub

MapSwipe 1.0 had a bug. The App did not create results for a group when the user "swipe" all the way throught the group meaning result per task = 0, but increased the group.finished_count.
To make current data in Postgres consistent those results should be created.

  • results to be created = group.finished_count - sum({groupId}.results)
  • we do not know the user -> Create 3 fake users
    • If the group got finished more then 3 time the way described above, distribute results to the 3 fake users and ignore the rest

Metadata

Metadata

Assignees

No one assigned

    Labels

    low-priorityNice to have or optional stuff

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions