Topic: New badges at PrimeGrid

I've added a bunch of new badges at PrimeGrid which are not based on credit.

And I've made it easier for sites like this one to pick up the badge information.

In www.primegrid.com/stats you will find two new files, badge.gz and badge_user.gz.  They're very similar to the standard Berkeley XML and should be self explanatory.  Give me a shout if something is amiss.

The normal, credit based badges are NOT in those files; use the credit information to determine those badges.  I did, however, retroactively put all the TDP badges from previous years into the new files.  I have no idea how you got that information before, but it's got to be a lot easier now.

Also, if you didn't know, in the badge directory there's badges.zip so you can grab all the badge image files at once.

Regards,
Mike

Want to find one of the largest known primes?  Try PrimeGrid.  Or help cure disease at WCG.

http://signature.statseb.fr/sig-2128.png

Re: New badges at PrimeGrid

I added badges but there is a problem with file badge_user.gz.
badge_id are not correct for some badges.

Regards,
Sebastien.

http://signature.statseb.fr/sig-1.gif

Re: New badges at PrimeGrid

I'll look into it...

Want to find one of the largest known primes?  Try PrimeGrid.  Or help cure disease at WCG.

http://signature.statseb.fr/sig-2128.png

Re: New badges at PrimeGrid

It should be fixed now.

I was using the incorrect identifier in the badge_user.gz file.  All the badges previously read from that file were, therefore, incorrect. 

The badge.gz file had the correct values.

It's all fixed now, and the files in the stats directory should have correct data.

Sorry for the inconvenience, and thank you for creating this wonderful service!

Best regards,
Mike

Want to find one of the largest known primes?  Try PrimeGrid.  Or help cure disease at WCG.

http://signature.statseb.fr/sig-2128.png

Re: New badges at PrimeGrid

One detail I should have mentioned:

All the "counter" type badges are generated dynamically by the server the first time a particular instance of the badge is needed.

For example, for the Mega badge, there's currently a version for 1 mega prime, 2, 3, 4, 8, 9, 21, and 22 mega primes.  As soon as someone has 5 mega primes, a badge will be created for 5 mega primes, but it won't exist until that time.

Mike

Want to find one of the largest known primes?  Try PrimeGrid.  Or help cure disease at WCG.

http://signature.statseb.fr/sig-2128.png

Re: New badges at PrimeGrid

Not all of the new PrimeGrid badges are showing up for me.  I know they're showing up for at least some of people, so I'm not sure what's happening.  The XML export from PG seems okay.

I'm missing two badges:  badge ID 4 ("shut up"), and badge ID 42 "2018 TdP 1 Prime".  I know 42 is showing up in other user's signatures.

Sorry for making your job harder.  I've probably messed up the XML file somehow, although it does look correct after a cursory glance.

THanks,
Mike

Want to find one of the largest known primes?  Try PrimeGrid.  Or help cure disease at WCG.

http://signature.statseb.fr/sig-2128.png