遇见数据集

This repository serves as a replication package for the research paper titled "Typestate-based Fault Localization of API Usage Violations in a Deep Learning Program"

收藏
Zenodo2024-11-01 更新2026-05-26 收录
官方服务:

资源简介:

Overview This repository serves as a replication package for the research paper titled "An Approach to Detecting Usage Protocol Violations in Deep Learning Programs." Benchmarks Two benchmarks were utilized in the research: Benchmark1 from NeuraLint: Location: NLBench/SOSamples Benchmark2 from Humbatova et al.: Location: HumbatovaBench/SOSamples Reproducing Results To replicate the results presented in the paper, follow these steps: Download the NeuralStateAnalysis Zip file. Extract the file and navigate to the NeuralStateAnlaysis directory. (Optional) Install the necessary requirements by executing pip install requirements.txt. Note: The requirements.txt file is already available in this repository. Running NeuralState on NLBench: Navigate to the NLBench/SOSamples directory. Open any of the programs you wish to execute. Set the path to the NeuralStateAnalysis directory: Path-to-folder/NeuralStateAnalysis/ Run the program using the command python program_id. Since the 'NeuralStateAnalysis(model).debug()' call is already present in all programs, you will be able to reproduce the results. Running NeuralState on HumbatovaBench: Navigate to the HumbatovaBench/SOSamples directory. Open any of the programs you wish to execute. Set the path to the NeuralStateAnalysis directory: Path-to-folder/NeuralStateAnalysis/ Run the program using the command python program_id. Since the 'NeuralStateAnalysis(model).debug()' call is already present in all programs, you will be able to reproduce the results.

提供机构:
Zenodo
创建时间:
2024-11-01
二维码
社区交流群
二维码
科研交流群
商业服务