Skip to content

Conversation

@tonial
Copy link
Contributor

@tonial tonial commented May 30, 2024

🤔 Pourquoi ?

Pour ajouter une métrique d'impact

🍰 Comment ?

Ajout du champ User.first_login
Pour les utilisateurs qui ont déjà pris le contrôle de leur compte la valeur est artificiellement remplie à user.date_joined

💻 Captures d'écran

🚨 À vérifier

  • Mettre à jour le CHANGELOG_breaking_changes.md ?

🏝️ Comment tester

Les instructions pour reproduire le problème, les profils de test, le parcours spécifique à utiliser, etc. Si vous disposez d'une recette jetable, mettre l'URL pour tester dans cette partie.

@tonial tonial added the ajouté Ajouté dans le changelog. label May 30, 2024
@tonial tonial requested review from celine-m-s and rsebille May 30, 2024 08:23
@tonial tonial self-assigned this May 30, 2024

count = 0
start = time.perf_counter()
while batch_users := users[:10000]:
Copy link
Contributor

@celine-m-s celine-m-s May 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai un peu de mal à comprendre cette boucle. Je ne vois pas la condition de sortie. Pour moi, on ne prend en compte que les 10000 premiers résultats et on boucle à l'infini.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça évalue la qs à chaque passage, et récupère donc à chaque fois des nouveaux utilisateurs

@tonial tonial requested a review from celine-m-s May 30, 2024 18:47
@tonial tonial added this pull request to the merge queue May 31, 2024
Merged via the queue into master with commit b956c4d May 31, 2024
@tonial tonial deleted the alaurent/kpis branch May 31, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ajouté Ajouté dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants