You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on some explorative analyses of models' metadata and get a bit confused on the feature "tippedAmountCount".
It seemed that the feature "tippedAmountCount" returned from API GET /api/v1/models and GET /api/v1/models/:modelId not aligning to the tips presented on corresponding website.
I'm not sure if I'm interpretating the feature "tippedAmountCount" correctly. Shouldn't it denote the total amount of buzz or times of being tipped of a model?
Steps to reproduce the problem
I get the response through python's request package like
What happened?
Hi,
I'm working on some explorative analyses of models' metadata and get a bit confused on the feature "tippedAmountCount".
It seemed that the feature "tippedAmountCount" returned from API GET /api/v1/models and GET /api/v1/models/:modelId not aligning to the tips presented on corresponding website.
Take the model "seizaMix" as an example (https://civitai.com/models/116279):
According to the snapshot of its website, this model has already accumulated at least 120K Buzz from tips.
However, the API reports that its tippedAmountCount is only 2:
After tracing its assignment in source code, I found tippedAmountCount was assigned with a rank-like value called "tippedAmountCountAllTimeRank" (https://github.com/civitai/civitai/blob/main/src/server/controllers/model.controller.ts#L505).
tippedAmountCount: rank?.tippedAmountCountAllTimeRank ?? 0
I'm not sure if I'm interpretating the feature "tippedAmountCount" correctly. Shouldn't it denote the total amount of buzz or times of being tipped of a model?
Steps to reproduce the problem
I get the response through python's request package like
And the response is
What should have happened?
The API should report tippedAmountCount as the amount of buzz or times of being tipped of a model.
And its assignment in source code should be
What platforms do you use to access the site?
Windows
What browsers do you use to access the site?
Microsoft Edge
Additional information, context and logs
No response
The text was updated successfully, but these errors were encountered: