9b8d5f3516b68250c0e43d348e7ec88abfb3fa13,docs/source/generate_zoo_list.py,,,#,11

Before Change


    fout.write("\n\n")

    fout.write("Example invocation:\n\n")
    fout.write(
        ".. code-block:: shell\n\n"
        "  python -m parlai.scripts.eval_model --model {} --task {} -mf {}\n\n"
        .format(
            model["agent"],
            model["task"],
            model["path"],
        )
    )
    fout.write("\n")

fout.close()

After Change


            "python -m parlai.scripts.eval_model --model {} --task {} -mf {}"
            .format(model["agent"], model["task"], model["path"])
        )
    result = model["result"].strip().split("\n")
    // strip leading whitespace from results
    result = [r.strip() for r in result]
    // make sure we indent for markdown though
    result = ["   " + r for r in result]
    result = "\n".join(result)
    fout.write(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: facebookresearch/ParlAI
Commit Name: 9b8d5f3516b68250c0e43d348e7ec88abfb3fa13
Time: 2018-10-30
Author: roller@fb.com
File Name: docs/source/generate_zoo_list.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 754d536974fccd0768b90938d79071ba0910714a
Time: 2016-10-21
Author: martin@dasos.com
File Name: homeassistant/components/media_player/squeezebox.py
Class Name: LogitechMediaServer
Method Name: get_player_status


Project Name: geometalab/OSMDeepOD
Commit Name: 5498cb8bd7e7f3bb10ffe7d2c7ce3b0753df71e2
Time: 2017-03-20
Author: samuel.kurath@gmail.com
File Name: src/train/retrain.py
Class Name:
Method Name: get_or_create_bottleneck


Project Name: facebookresearch/ParlAI
Commit Name: 9b8d5f3516b68250c0e43d348e7ec88abfb3fa13
Time: 2018-10-30
Author: roller@fb.com
File Name: docs/source/generate_zoo_list.py
Class Name:
Method Name: