遇见数据集

Replication Package for NeuralState

收藏
Zenodo2025-02-26 更新2026-05-26 收录
官方服务:

资源简介:

Overview 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" Benchmarks Two benchmarks were utilized in the research: Benchmark1 from NeuraLint: Location: NLBench/SOSamples Benchmark2 from Humbatova et al.: Location: ExternalBench/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 ExternalBench: Navigate to the ExternalBench/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
创建时间:
2025-02-26
二维码
社区交流群
二维码
科研交流群
商业服务