parallellogic on DeviantArthttps://www.deviantart.com/parallellogic/art/Llama-Stats-177621609parallellogic

Deviation Actions

parallellogic's avatar

Llama Stats

Published:
35.4K Views

Description

This is not a bot, so replies will not be immediate.

Yes, the output is WRONG. There is a known bug in dA's transaction history that I cannot fix.  I'm giving you the best output I can based on dA's faulty data

Leave a comment below with the text PROGRAM:dAdriver.llamaStats(:bulletorange:) in it and I will reply to your comment with the breakdown of your llama badge activity. If you have a moderate return rate (above 40%), the program will also automatically list the users you have not returned a llama to. The dA site itself actually runs into a memory error in the badge list after several thousand pages, so the information that is looked at is limited to the most recent 10,000 badge transactions - if you have made over 10K trades, then the non-returned badges may be inaccurate.

For example, I ran the program on adobongsiopao...
Stats for adobongsiopao:
Llamas sent by user: 1,461
Llamas received by user: 1,221
--Llamas returned by user: 1,069
--Llamas given back to user: 152
--Llamas not returned by user: 0
Average return time of user: 1d 4h
Return ratio: 100.0%

--

Inner workings
This script works by iterating through all your llama activity. Any user you got a badge from and then later gave one back to is listed in the "Llamas returned by user" section. If you gave another user a badge and they later gave you one back, this number is listed in "Llamas given back to user". Any time you got a badge from another user and did not sent them one in return, this is listed under "Llamas not returned by user". I've also hidden a few of the early comments because I'd really prefer users to copy the current copy-paste text from the deviation description and not an earlier version of the text.

Mismatch in Number of Badges
do you happen to know why the number of badges received (964) is different from the number actually credited (Llama badges found: 962).
comments.deviantart.com/1/1776…

Erroneous Names
Some time ago dA added the ability for users to change their usernames. However, dA failed to provide developers a method to know when users have changed their usernames. Thus I may have a name on record that you received a badge from and then upon updating your list I come across the same user you later returned the badge to, but they have since changed their name. This gets counted as a user you have not returned a badge to, even if you have already given them one. This is not a problem that is easy to resolve, please do not remind me that you have already given badges to some of the users in the list.
The program no longer keeps a record of who you have traded badges with.  Each time you leave a comment here the program is run from scratch.  Runtime is now much longer, but runtime is typically only a small factor in when responses are given.

Recommendations for future changes
:bulletblue: Please feel free to suggest your ideas for how this can be expanded :)
:bulletblue: Remove users who have been banned from list of llamas to give back -- Implemented 2/26/2012

Related Work
Recommended Friends by parallellogic

Features
llama-farm.deviantart.com/blog…
llamastats.deviantart.com/blog…

:) Questions & Comments appreciated
Image size
99x55px 91.07 KB
© 2010 - 2024 parallellogic
Comments5874
Join the community to add your comment. Already a deviant? Log In
000User014's avatar

PROGRAM:dAdriver.llamaStats( Dot Bullet (Orange) - F2U!)


I dont have llama this is Fake :facepalm: