{
  "unit": "Unicode code points; no normalization, grapheme segmentation or transposition operation",
  "authored_cases": [
    {
      "alignment": {
        "source": "سارا",
        "target": "باران",
        "distance": 2,
        "complete_dp_table": [
          [
            0,
            1,
            2,
            3,
            4,
            5
          ],
          [
            1,
            1,
            2,
            3,
            4,
            5
          ],
          [
            2,
            2,
            1,
            2,
            3,
            4
          ],
          [
            3,
            3,
            2,
            1,
            2,
            3
          ],
          [
            4,
            4,
            3,
            2,
            1,
            2
          ]
        ],
        "tie_policy": "diagonal keep/replace, then delete, then insert",
        "traceback_and_executed_stages": [
          {
            "operation": "replace",
            "source_prefix_from": 0,
            "target_prefix_from": 0,
            "read": "س",
            "write": "ب",
            "cursor_after": 1,
            "working_text_after": "بارا"
          },
          {
            "operation": "keep",
            "source_prefix_from": 1,
            "target_prefix_from": 1,
            "read": "ا",
            "write": "ا",
            "cursor_after": 2,
            "working_text_after": "بارا"
          },
          {
            "operation": "keep",
            "source_prefix_from": 2,
            "target_prefix_from": 2,
            "read": "ر",
            "write": "ر",
            "cursor_after": 3,
            "working_text_after": "بارا"
          },
          {
            "operation": "keep",
            "source_prefix_from": 3,
            "target_prefix_from": 3,
            "read": "ا",
            "write": "ا",
            "cursor_after": 4,
            "working_text_after": "بارا"
          },
          {
            "operation": "insert",
            "source_prefix_from": 4,
            "target_prefix_from": 4,
            "read": null,
            "write": "ن",
            "cursor_after": 5,
            "working_text_after": "باران"
          }
        ],
        "reconstructed": "باران"
      },
      "independent_all_alignment_paths": {
        "all_alignment_paths": 681,
        "minimum_cost": 2,
        "optimal_alignment_paths": 1
      }
    },
    {
      "alignment": {
        "source": "ABCD",
        "target": "BCE",
        "distance": 2,
        "complete_dp_table": [
          [
            0,
            1,
            2,
            3
          ],
          [
            1,
            1,
            2,
            3
          ],
          [
            2,
            1,
            2,
            3
          ],
          [
            3,
            2,
            1,
            2
          ],
          [
            4,
            3,
            2,
            2
          ]
        ],
        "tie_policy": "diagonal keep/replace, then delete, then insert",
        "traceback_and_executed_stages": [
          {
            "operation": "delete",
            "source_prefix_from": 0,
            "target_prefix_from": 0,
            "read": "A",
            "write": null,
            "cursor_after": 0,
            "working_text_after": "BCD"
          },
          {
            "operation": "keep",
            "source_prefix_from": 1,
            "target_prefix_from": 0,
            "read": "B",
            "write": "B",
            "cursor_after": 1,
            "working_text_after": "BCD"
          },
          {
            "operation": "keep",
            "source_prefix_from": 2,
            "target_prefix_from": 1,
            "read": "C",
            "write": "C",
            "cursor_after": 2,
            "working_text_after": "BCD"
          },
          {
            "operation": "replace",
            "source_prefix_from": 3,
            "target_prefix_from": 2,
            "read": "D",
            "write": "E",
            "cursor_after": 3,
            "working_text_after": "BCE"
          }
        ],
        "reconstructed": "BCE"
      },
      "independent_all_alignment_paths": {
        "all_alignment_paths": 129,
        "minimum_cost": 2,
        "optimal_alignment_paths": 1
      }
    },
    {
      "alignment": {
        "source": "ab",
        "target": "ba",
        "distance": 2,
        "complete_dp_table": [
          [
            0,
            1,
            2
          ],
          [
            1,
            1,
            1
          ],
          [
            2,
            1,
            2
          ]
        ],
        "tie_policy": "diagonal keep/replace, then delete, then insert",
        "traceback_and_executed_stages": [
          {
            "operation": "replace",
            "source_prefix_from": 0,
            "target_prefix_from": 0,
            "read": "a",
            "write": "b",
            "cursor_after": 1,
            "working_text_after": "bb"
          },
          {
            "operation": "replace",
            "source_prefix_from": 1,
            "target_prefix_from": 1,
            "read": "b",
            "write": "a",
            "cursor_after": 2,
            "working_text_after": "ba"
          }
        ],
        "reconstructed": "ba"
      },
      "independent_all_alignment_paths": {
        "all_alignment_paths": 13,
        "minimum_cost": 2,
        "optimal_alignment_paths": 3
      }
    },
    {
      "alignment": {
        "source": "",
        "target": "آب",
        "distance": 2,
        "complete_dp_table": [
          [
            0,
            1,
            2
          ]
        ],
        "tie_policy": "diagonal keep/replace, then delete, then insert",
        "traceback_and_executed_stages": [
          {
            "operation": "insert",
            "source_prefix_from": 0,
            "target_prefix_from": 0,
            "read": null,
            "write": "آ",
            "cursor_after": 1,
            "working_text_after": "آ"
          },
          {
            "operation": "insert",
            "source_prefix_from": 0,
            "target_prefix_from": 1,
            "read": null,
            "write": "ب",
            "cursor_after": 2,
            "working_text_after": "آب"
          }
        ],
        "reconstructed": "آب"
      },
      "independent_all_alignment_paths": {
        "all_alignment_paths": 1,
        "minimum_cost": 2,
        "optimal_alignment_paths": 1
      }
    }
  ],
  "raw_arabic_persian_yeh_different": true,
  "speech_model_or_semantic_correctness_executed": false
}
