Utah Salt Lab
@Utah-SaLT-Lab
Utah Salt Lab について
概要はまだありません
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Utah Salt Lab?
Utah Salt Lab is a unit testing framework for evaluating code generated on the SecCodePLT benchmark. It provides containerized execution and preprocessing scripts to run unit tests on generated code and output evaluation results. It is designed for researchers studying LLM secure code generation.
How to use Utah Salt Lab?
Install dependencies via pip install -r requirements.txt, build a container using Docker or CharlieCloud, then run python preprocess.py to distribute generated code into test folders, execute sh run.sh, and finally run python get_result.py to collect evaluation results.
Key features of Utah Salt Lab
- Supports 1,201 SecCodePLT tasks with generated unit tests.
- Containerized environment recommended via Docker or Charliecloud.
- Preprocessing script distributes generated code into unit test folders.
- Results aggregation script outputs final evaluation metrics.
- Task IDs listed in
utils/SecPLT_func_name.json.
Use cases of Utah Salt Lab
- Evaluate secure code generation from large language models.
- Compare code quality across different LLMs on security tasks.
- Reproduce experiments from the associated arXiv paper (2503.15554).
FAQ from Utah Salt Lab
What is the connection between Utah Salt Lab and SecCodePLT?
Utah Salt Lab provides unit tests for the SecCodePLT benchmark. After filtering, 1,201 of the original 1,345 tasks have unit tests.
How do I set up the container environment?
Use the provided Dockerfile or CharlieCloud. Set CH_IMAGE_STORAGE to a directory with sufficient space, then build with ch-image build -t test-runner -f Dockerfile ..
Where are the evaluation results stored?
Results are saved via get_result.py to the path specified with --output. Intermediate files are stored in data/ subdirectories.
How should I format generated code for testing?
Store code in a .jsonl file with each line containing {"task_id": "<id>", "solution": "<code>"}. The task IDs must be among the supported 1,201.
Why is containerized execution recommended?
The generated code may contain dangerous operations such as rm -rf. A container isolates the test environment and prevents unintended system damage.
「その他」の他のコンテンツ
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Codelf
unbugA search tool helps dev to solve the naming things problem.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
コメント