I hope this is the right subforum.
I had a showerthought ™, how about a small package that collates all prior work you should cite? In addition to citation.bib, which I understand is to properly cite the author(s) of a package, it could be interesting to tag specific functions in a package – I have not derived every equation or algorithm I’ve implemented in a package, and the researchers beyond those could also deserve recognition, or it might just be interesting to see which research is behind all the computations you do.
I thought of something like this:
function spiffy_algorithm(args...)
...
end
@reference spiffy_algorithm Bethe1977 "Equation (63.2)" more optional arguments here ...
This could possibly also modify the docstring for you. Then, when your fantastic computation works, you could maybe run something like
@whoshouldIcite my_calculation()
which would trace all @reference
-tagged functions and collect them in a tree structure, containing function name, package + author, reference (BibTeX code), and the optional extra remarks. Then it’s up to your conscience how deep or shallow your citations will be
This is way beyond what I have time or knowledge for, but it was a neat idea, I thought.