Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fraud assessment "undefined" #64

Closed
bajtos opened this issue Nov 21, 2023 · 4 comments
Closed

Fraud assessment "undefined" #64

bajtos opened this issue Nov 21, 2023 · 4 comments
Labels
bug 🐛 Something isn't working

Comments

@bajtos
Copy link
Member

bajtos commented Nov 21, 2023

When we evaluate measurements, the fraud assessment pipeline often assigns an undefined value to some.

@bajtos bajtos added the bug 🐛 Something isn't working label Nov 21, 2023
@bajtos bajtos self-assigned this Nov 21, 2023
@bajtos bajtos moved this to 📥 todo in Space Meridian Nov 21, 2023
@bajtos
Copy link
Member Author

bajtos commented Nov 27, 2023

Data for round 528:

dry-run
  measurements_OK: 187,880
  measurements_INVALID_TASK: 9,446
  measurements_DUP_INET_GROUP: 165,958
total: 363,284

production:
  measurements_OK: 182,212
  measurements_INVALID_TASK: 9,446
  measurements_DUP_INET_GROUP: 153,823
  measurements_undefined: 17803
total: 363,284

@juliangruber
Copy link
Member

Do you have a suspicion where _undefined is coming from? Shall we pair on this?

@bajtos bajtos moved this from 📥 todo to 🏗 in progress in Space Meridian Nov 28, 2023
@bajtos
Copy link
Member Author

bajtos commented Nov 28, 2023

My current thinking: There is a race condition - we receive new measurements and round-start events close together. The round evaluation starts running before we fetch & preprocess the last batch of measurements. However, these measurements are still added to our in-memory store. So later, when we collect stats, we iterate over these measurements too. I have an idea how to fix this. I hope to have a PR ready tomorrow. 🤞🏻

@bajtos bajtos removed their assignment Jan 8, 2024
@bajtos bajtos moved this from 🏗 in progress to 🗃 backlog in Space Meridian Jan 8, 2024
bajtos added a commit that referenced this issue May 20, 2024
A temporary hacky fix for #64

Signed-off-by: Miroslav Bajtoš <[email protected]>
bajtos added a commit that referenced this issue May 21, 2024
A temporary hacky fix for #64

Signed-off-by: Miroslav Bajtoš <[email protected]>
@bajtos
Copy link
Member Author

bajtos commented Oct 3, 2024

We haven't seen "fraud assessment undefined" in the last 90 months. I believe the partial fixes we made as part of #233, most notably #224, solved the problem.

@bajtos bajtos closed this as completed Oct 3, 2024
@github-project-automation github-project-automation bot moved this from 🗃 backlog to ✅ done in Space Meridian Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
Status: ✅ done
Development

No branches or pull requests

2 participants