Replication Package for NeuralState
收藏NIAID Data Ecosystem2026-05-02 收录
下载链接:
https://zenodo.org/record/14931678
下载链接
链接失效反馈官方服务:
资源简介:
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.
创建时间:
2025-02-26



