Skills

Tika Eval Compare

Compare extracts from two Tika builds over a corpus to detect regressions in content...

Install

npx skills add apache/tika --skill tika-eval-compare -g -a claude-code -y
Repository
apache/tika4.1k
Category
Engineering
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 2,871 tokens
Runs scripts
Yes, review before use

What it does

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->

Local override: $TIKA_SKILLS_LOCAL/tika-eval-compare/LOCAL.md (default ~/.tika-skills), read after this file, wins on conflict.

tika-eval: Compare Before/After Extracts

Compare the output of two versions of Tika against a corpus of files to detect regressions in content extraction, encoding, exceptions, and embedded document handling.

Before You Start

Ask the user for:

  1. Working directory, where to put builds, extracts, eval db, and reports (<workdir> below). All artifacts go here.
  2. Number of threads (-n), default is 2. Use -n 6 for faster runs when parse time comparison is not needed. When comparing parse times between A and B, use the same -n for both.
  3. Run reports?, whether to auto-generate the HTML/Excel reports and summary.md at the end (the -r flag on tika-eval Compare).

Prerequisites

Read the whole SKILL.md on GitHub

More in Engineering