Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data file override support with precedence #916

Merged
merged 14 commits into from
Sep 24, 2024

Commits on Sep 16, 2024

  1. remove parser no longer used for gcg

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    aa48895 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. move rest demo to tools

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    724a81e View commit details
    Browse the repository at this point in the history
  2. add custom Path type for data files

    * returns first found instance of filename
    * custom `Path` raises exception when:
      * path escape attempt is detected
      * no file matching request exists
    jmartin-tech committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    8890c94 View commit details
    Browse the repository at this point in the history
  3. use garak.data.path to access data files

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    4a73965 View commit details
    Browse the repository at this point in the history
  4. move slurprompt termscraper

    * move to tools path
    * update to overwrite default `data` file
    
    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    bd773dc View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. support for python 3.10+ Path objects

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    3405489 View commit details
    Browse the repository at this point in the history
  2. ensure cache data path exists for download

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    47a2f3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb54c27 View commit details
    Browse the repository at this point in the history
  4. get payloads from garak.data.path

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    184b5b3 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. defer to garak.data for all payload file selection

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    2513ed9 View commit details
    Browse the repository at this point in the history
  2. nltk_data fallback path in data dir

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    a10f820 View commit details
    Browse the repository at this point in the history
  3. initialize advbench_base_path as local variable

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    f03d8d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. adjust expected error when payload file is not found

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    958ea3c View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. clarify log for advbench source

    Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
    jmartin-tech committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    93e8d62 View commit details
    Browse the repository at this point in the history