The stats script deals with generating a progress list of the cosmos repo, by taking into account all algorithms currently existing in the repo and categorizing them based on the languages used to implement them.
The metadata generator script deals with generating metadata(like location, files in category, last updated etc) for all categories of algorithms currently existing in the repository. The metadata is stored in the metadata directory inside the scripts directory, and it retains the directory hierarchy of the corresponding category as it's in the code directory.
make sure that you're in the cosmos root directory
python3 scripts/stats.py -f txt > ./scripts/STATS.txt
python3 scripts/stats.py -f md > ./scripts/STATS.md
python3 scripts/metadata-generator.py