Alignment-Lab-AI's picture
Upload folder using huggingface_hub
d5bfab8 verified

Automation

These scripts for automation uses the Ruby programming_language.

Run bundle install to install the dependencies listed in the Gemfile.

Usage - Basics

Show help

PROMPT> rake
rake clean_mineevent_dir                     # Remove already processed programs with suffix .keep.asm and .reject.asm
rake data/compare_loda_cpp_vs_loda_rust.csv  # compare terms between "loda-cpp" and "loda-rust"
rake data/program_creation_dates.csv         # extract creation date for all programs
rake data/program_ids.csv                    # obtain all the program ids
rake data/terms_loda_cpp.csv                 # compute terms with "loda-cpp"
rake data/terms_loda_rust.csv                # compute terms with "loda-rust"
rake data/top100.md                          # create a markdown document with the 100 most popular LODA programs
rake process_mined_programs                  # Process the mined programs
PROMPT>