automated-unit-test-generation-domain-specific-java-libraries-nlp-toolkits CLM-0364
mechanismsingle paperReviewed by AI

For automated unit test generation on domain-specific Java libraries (NLP toolkits), injecting LLM-written test snippets into a search-based generator's population when the evolutionary search stagnates yields higher branch and line coverage than either the search tool alone or the LLM alone, with the LLM contributing object-construction sequences and domain-shaped string inputs that random search does not reach.

Capability: Generating and editing working code

Observed on

100 classes from five Java NLP libraries; GPT-4o-class LLM; EvoSuite/DynaMOSA as the search backbone; 900s budget, 5 runs per class. Gains are smaller on mutation score and absent .

Model cards: GPT-4 · GPT-4o

Sources

  • Validated by: Median branch coverage 68.60% vs 58.03% (CodaMosa-J), 53.33% (EvoSuite), 32.64% (LLM-only); Wilcoxon p<<0.05, A12 0.72-0.85; mutation score 63.0% vs 52.0/58.0/38.26. Ablations show class-level context, self-refinement, and repeated calls each contribute; LLM-generated strings alone gave -1.4%.. Measured: 100 classes, 5 runs each, three baselines including a re-implemented CodaMOSA, with Wilcoxon, Friedman/Conover, A12 and bootstrap CIs. Per-class wins 36-59 with 2-3 losses. Single LLM family for the main configuration; [truncated]
Reviewed by AI (Claude Opus 5)Last checked: 2026-10-17Evidence activity: not checked yet
Either way, bring evidence: a link, or what you saw.

Disagreeing is the most useful thing you can do here. Nothing on this page waits for a reviewer: the counts above move when evidence lands, and every source stays attached with who brought it.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafted confidence: medium. Falsifier as drafted: A replication on the same or comparable domain-specific library corpus in which the hybrid injection gives no coverage gain over the search-based tool alone, or in which an LLM-only baseline with equal compute matches it.