News for hackers. Stuff that matters.
Re:Sapients paper on the concept of Hierarchical Reasoning M... by smokel on Sunday July 27, 2025 @09:44AM (#44701264)
To follow up, after experimenting a bit with the source code:

1. Please, for the love of God, and for scientific reproducibility, specify library versions explicitly, and use pyproject.toml instead of an incomplete requirements.txt.

2. The 1,000 Sudoku examples are augmented with hand-coded permutation algorithms, so the actual input data set is more like 1,000,000 examples, not 1,000.

Re:Sapients paper on the concept of Hierarchical Reasoning M... by rudedogg on Sunday July 27, 2025 @10:34AM (#44701613)
Do you have a fork or the changes? I might take a look, and python dependency hell on Sunday is no good
Re:Sapients paper on the concept of Hierarchical Reasoning M... by mkagenius on Sunday July 27, 2025 @01:17PM (#44702819)
> specify library versions explicitly

Sometimes even that is not helpful. It's a pain we have to deal with.

Re:Sapients paper on the concept of Hierarchical Reasoning M... by gavinray on Sunday July 27, 2025 @01:38PM (#44702990)
How is it not helpful?

A dependency lock file with resolved versions for both direct and transient dependencies = reproducible build

Re:Sapients paper on the concept of Hierarchical Reasoning M... by mkagenius on Sunday July 27, 2025 @02:15PM (#44703292)
I don't remember the exact scenario but it might have been related to the underlying python or some sys library being a little different and then the dependency lock not being compatible with it.
Re:Sapients paper on the concept of Hierarchical Reasoning M... by blincoln on Sunday July 27, 2025 @06:54PM (#44705460)
I don't know how common this is, but the fschat library maintainers went for at least a year without making an official release or updating the version number in their GitHub repo, so the only way to both have current code and a reproducible build (without just including the fschat library directly, of course) was to pin it to a particular GitHub commit hash, which would get you code that was current, but with the version number from 12+ months earlier.

fschat is pretty popular for LLM-related work, so I assume this is at least not unheard-of for other notable third-party libraries.