Skip to content

How to use src/exploit/train.py #4

Description

@summer-gcc

What is the input of train.py, when I input a contract file, an error occurs

python3 train.py --input ~/VeriSmart-public/examples/example2.sol --ngram 2 --maxtime 10000
Traceback (most recent call last):
File "train.py", line 402, in
main()
File "train.py", line 335, in main
lines = list (filter (lambda line: float(line['disproven_time']) <= args.maxtime, lines))
File "train.py", line 335, in
lines = list (filter (lambda line: float(line['disproven_time']) <= args.maxtime, lines))
KeyError: 'disproven_time'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions