Use case for citing an algorithm
Here we might have a corner case or a regular algorithm case, where the author of the algorithm isn't the one who wrote the code.
The question is, how do you cite this artefact?
- Is it a complete
@software
entry with a title and all context metadata? - Is it a
@insoftware
fragment, which is found in the SageMath@software
?
@insoftware {McCaffreySalgorithm,
URL = {https://docs.microsoft.com/fr-fr/archive/msdn-magazine/2010/may/test-run-combinations-and-permutations-with-fsharp},
YEAR = {2010},
AUTHOR = {James McCaffrey},
LICENSE = {GNU General Public License (GPL)},
SWH_ID = {swh:1:cnt:c60366bc03936eede6509b23307321faf1035e23;origin=https://github.com/sagemath/sage;
lines=473-537},
LINES = {473-537},
NOTE = {The algorithm used is based on combinadics and James McCaffrey's
MSDN article. See: :wikipedia:`Combinadic`.},
ABSTRACT = {The Combinadic algorithm was implemented in SageMath
which is a free, open-source math software
that supports research and teaching in algebra, geometry,
number theory, cryptography, n },
Here is the link to the SWH view: https://archive.softwareheritage.org/swh:1:cnt:c60366bc03936eede6509b23307321faf1035e23;origin=https://github.com/sagemath/sage;lines=473-537/