6d99042f670220a84a014db7134d890543907dd9,src/spn/io/Text.py,,str_to_spn,#Any#Any#Any#,95

Before Change


    rebuild_scopes_bottom_up(spn)
    assert is_valid(spn)
    // spn = prune(spn)
    assert is_valid(spn)
    assign_ids(spn)
    return spn

After Change


    spn = tree_to_spn(tree, features)

    rebuild_scopes_bottom_up(spn)
    valid, err = is_valid(spn)
    assert valid, err
    assign_ids(spn)
    return spn
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: SPFlow/SPFlow
Commit Name: 6d99042f670220a84a014db7134d890543907dd9
Time: 2018-06-04
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/io/Text.py
Class Name:
Method Name: str_to_spn


Project Name: SPFlow/SPFlow
Commit Name: 6d99042f670220a84a014db7134d890543907dd9
Time: 2018-06-04
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/algorithms/StructureLearning.py
Class Name:
Method Name: learn_structure


Project Name: SPFlow/SPFlow
Commit Name: 6d99042f670220a84a014db7134d890543907dd9
Time: 2018-06-04
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/algorithms/Marginalization.py
Class Name:
Method Name: marginalize