Skip to content

Conversation

@syvb
Copy link
Contributor

@syvb syvb commented Mar 1, 2024

getContractsCreatedProgress checks for markets where data->>uniqueBettorCount is ≥20, but it should be checking data->uniqueBettorCount.

->> casts the count to a string, which results in the unique bettor count being lexicographically compared to "20", when it should be numerically compared to 20. As a result, the query includes all markets where the first digit of the bettor count is 2 to 9. (e.g. bettor counts of 5 and 50 are included, but 1 and 100 aren't).

cc @jahooma

@vercel
Copy link

vercel bot commented Mar 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2024 2:05am
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2024 2:05am

@vercel
Copy link

vercel bot commented Mar 1, 2024

@syvb is attempting to deploy a commit to the Manifold Markets Team on Vercel.

A member of the Team first needs to authorize it.

@jahooma
Copy link
Collaborator

jahooma commented Mar 1, 2024

Ahh, wow, good catch!!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants