cf2a754d8c65d76f58ca8748df7d58b86202ebbe,scripts/prove.py,,prove_doc_ind,#Any#,166

Before Change


            e, doc_id,
            etree.tostring(doc, encoding="utf-8", pretty_print=True).decode("utf-8")))
        lock.release()
        raise
        if "timed out" in str(e):
            proof_node.set("status", "timedout")
            print("t", end="", file=sys.stdout)
        else:

After Change


        print(inference_result[0], end="", file=sys.stdout)
    except TimeoutExpired as e:
        proof_node.set("status", "timedout")
        print("t", end="", file=sys.stdout)
    except Exception as e:
        doc_id = doc.get("id", None)
        lock.acquire()
        logging.error("An error occurred: {0}\nSentence: {1}\nTree XML:\n{2}".format(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mynlp/ccg2lambda
Commit Name: cf2a754d8c65d76f58ca8748df7d58b86202ebbe
Time: 2017-06-14
Author: pascual@nii.ac.jp
File Name: scripts/prove.py
Class Name:
Method Name: prove_doc_ind


Project Name: pandas-dev/pandas
Commit Name: 3d281cf1a37f9b982df130c2ce9706cfc66a88aa
Time: 2021-02-17
Author: rhshadrach@gmail.com
File Name: pandas/core/apply.py
Class Name: Apply
Method Name: agg_list_like


Project Name: daniellerch/aletheia
Commit Name: c80eafd9442885085fc5f4adb448a78162d5cc3a
Time: 2021-03-02
Author: dlerch@gmail.com
File Name: aletheialib/models.py
Class Name: NN
Method Name: valid_generator