)]}'
{
  "commit": "a84b5b482b5f5155e2f96f5d62139243bd684051",
  "tree": "dbd22e6cb3556bdcf39996e031cbdd4c259daa61",
  "parents": [
    "a9adcb22851e8cfa29cfc3f29b3915c7f46f5dd2"
  ],
  "author": {
    "name": "Marc Kupietz",
    "email": "kupietz@ids-mannheim.de",
    "time": "Thu Jun 11 14:25:42 2026 +0200"
  },
  "committer": {
    "name": "Marc Kupietz",
    "email": "kupietz@ids-mannheim.de",
    "time": "Thu Jun 11 14:27:48 2026 +0200"
  },
  "message": "Drop empty texts (0 tokens) from Krill output (#46)\n\nKrill should not index a text without at least one token, so emitting\nsuch a text only produces an empty, unusable document. Texts with no\ntokens are now skipped with a per-text warning and a summary count at\nthe end of the run; texts with at least one token are kept.\n\nThe check is applied at the single chokepoint every Krill text passes\nthrough before being written (enqueueKrillCompression), with a defensive\nguard on the direct-write fallback (outputKrillText). A new\ndropKrillText helper removes the text from all tracking structures so\nthe finalization pass skips it too.\n\nAdds m21_empty_sample.zip regression fixture (one empty text, one\nsingle-token text) and a test asserting the empty text is dropped while\nthe single-token text is kept.\n\nResolves ä46\n\nCo-Authored-By: Claude Opus 4.8 \u003cnoreply@anthropic.com\u003e\n\nChange-Id: I2786557463249b105a4418d20dfbb736bfadc942\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8177feff873df74382a1ed127ef491cb64b9025d",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "7673eb64d2591145549b9d0fb2877e72530e8c23",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "87c11abf67075c5599d40b77fba127b48b11d8d3",
      "old_mode": 33188,
      "old_path": "app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXmlTool.kt",
      "new_id": "22bd2a08c3d6a5e74fc8d5bc8d593a1d1545ea1f",
      "new_mode": 33188,
      "new_path": "app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXmlTool.kt"
    },
    {
      "type": "modify",
      "old_id": "1305a8653cd28e66947a1481d71ff0b18e78d7e2",
      "old_mode": 33188,
      "old_path": "app/src/test/kotlin/de/ids_mannheim/korapxmltools/KrillJsonGeneratorTest.kt",
      "new_id": "1316c14b9d0cc2820478afafc42a1fbf26cf5e30",
      "new_mode": 33188,
      "new_path": "app/src/test/kotlin/de/ids_mannheim/korapxmltools/KrillJsonGeneratorTest.kt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6481355cb0426a06f7124656456d9179b00bcb30",
      "new_mode": 33188,
      "new_path": "app/src/test/resources/m21_empty_sample.zip"
    }
  ]
}
