News for hackers. Stuff that matters.
Re:AI assisted search-based research works now by CSMastermind on Tuesday April 22, 2025 @12:34AM (#43759100)
544 rosters but half as many games (because the teams play each other).

Technically I can probably do it in about 10 minutes because I've worked with these kind of stats before and know about packages that will get you this basically instantly (https://pypi.org/project/nfl-data-py/).

It's exactly 4 lines of code to find the correct answer, which is 2,227.

Assuming I didn't know about that package though I'd open a site like pro football reference up, middle click on each game to open the page in a new tab, click through the tabs, copy paste the rosters into sublime text, do some regex to get the names one per line, drop the new one per line list into sortmylist or a similar utility, dedupe it, and then paste it back into sublime text to get the line count.

That would probably take me about an hour.

Re:AI assisted search-based research works now by neom on Tuesday April 22, 2025 @12:47AM (#43759144)
I see. When you said "game day rosters for many NFL teams are available on many sites" - I thought "that sounds like a lot of hours!!" heh. - I didn't realize it was packaged well, I also know sweet fa about football. Thanks for explaining it more. :)
Re:AI assisted search-based research works now by riku_iki on Tuesday April 22, 2025 @01:23AM (#43759281)
Re:AI assisted search-based research works now by ljsprague on Tuesday April 22, 2025 @05:13AM (#43760307)
Did you run the code?
Re:AI assisted search-based research works now by riku_iki on Tuesday April 22, 2025 @11:59AM (#43763656)
No, but even if it is buggy, it is usual LLM cycle:

- you: there is no such function

- LLM: you are absolutely right, here is fixed code