Accessing species restrictions and project stats via API

Moderators: Site Moderators, FAHC Science Team

Post Reply
arisu
Posts: 262
Joined: Mon Feb 24, 2025 11:11 pm

Accessing species restrictions and project stats via API

Post by arisu »

Is there a way with the API to determine stats (like how many WUs are available, WU throughput etc) and hardware-based restrictions (like species for GPU clients)? I want a way to tell how many WUs of a certain project are in circulation, and the ability to know what kind of systems they are whitelisted for, but the API seems undocumented.

I know of https://assign1.foldingathome.org/api/project/summary and https://api.foldingathome.org/project
muziqaz
Posts: 1538
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Accessing species restrictions and project stats via API

Post by muziqaz »

I don't think that is accessable to public.
Number of WUs is researchers best guess and changes very often, there is no breakdown in numbers.
And species constraints are again not revealed to the public, as there definitely is no need for that. However when projects go to Beta, researchers create a thread announcement with some constraint info from time to time
FAH Omega tester
Image
arisu
Posts: 262
Joined: Mon Feb 24, 2025 11:11 pm

Re: Accessing species restrictions and project stats via API

Post by arisu »

That's unfortunate, since it's not sensitive information. Is there any other way to determine whether or not being stuck in assign wait is a shortage (a WU or two might get downloaded) or a complete lack of WUs for a particular configuration (no use at all enabling it at the moment)?

Basic stats about WUs that are out there can be obtained. I was able to write a script that used the API to get an approximation of the number of WUs in circulation for a given project using divide-and-conquer, but it was only an approximation. It would be easy to fully enumerate them all from my script, but that would hammer the API server which wouldn't be nice. It's disappointing because it could be done easily with a single SQL query and returned in one request.

I get that the average person doesn't need to know anything more than "is the machine folding right now?" but I'm a stats nerd. :D
muziqaz
Posts: 1538
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Accessing species restrictions and project stats via API

Post by muziqaz »

Information about if your hardware in particular doesn't have assignments or is it a shortage is not priority and doubt it anything will be implemented for that. you have server stats page, which shows how many jobs are available. Seeing if it is species restrictions that's keeping you away is not in the plans
FAH Omega tester
Image
arisu
Posts: 262
Joined: Mon Feb 24, 2025 11:11 pm

Re: Accessing species restrictions and project stats via API

Post by arisu »

I have a species 4 AMD GPU (I thought it was species 3 but apparently not) and it's getting no projects at all. Despite being crippled by OpenCL this GPU gets nearly half a million PPD. And yet my ancient GTX mobile GPU that gets under 100k PPD gets work whenever it wants it.

I'll write a request to have its species bumped up in another thread, along with supporting evidence.
muziqaz
Posts: 1538
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Accessing species restrictions and project stats via API

Post by muziqaz »

Your GPU will not be bumped up to new species ;)
No need for another thread for that
FAH Omega tester
Image
Post Reply