Skip to content

Commit 539f9cb

Browse files
committed
1.2.1 release
1 parent b43717f commit 539f9cb

3 files changed

Lines changed: 24 additions & 3 deletions

File tree

CHANGELOG.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ Changelog
44

55
(unreleased)
66
------------
7+
- Adding tests + updating README.md. [David S. Batista]
8+
- Fix partial and ent_type precision/recall when merging multi-document
9+
results. [David S. Batista]
10+
11+
_merge_results() was calling compute_metrics() with no arguments after
12+
merging counts, so partial_or_type defaulted to False and strict
13+
formula (COR/ACT, COR/POS) was used for all strategies. That overwrote
14+
the correct partial/ent_type P/R (COR+0.5*PAR)/ACT and (COR+0.5*PAR)/POS.
15+
16+
Now pass strategy_name into _merge_results and call
17+
compute_metrics(partial_or_type=True) for 'partial' and 'ent_type'
18+
so merged results keep the SemEval partial-match formula.
19+
20+
Fixes the bug where partial (and ent_type) reported same P/R as strict
21+
(e.g. README example showed 0.40 instead of 0.70 for partial).
22+
23+
24+
1.2.0 (2026-03-09)
25+
------------------
26+
- 1.2.0 release. [David S. Batista]
27+
- Updating CHANGELOG. [David S. Batista]
728
- Bumping version to 1.2.0. [David S. Batista]
829
- Adding more tests. [David S. Batista]
930
- Explaining new behaviour docstring + README.md. [David S. Batista]

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
cff-version: 1.2.0
22
message: "If you use this software, please cite it as below."
33
title: "nervaluate"
4-
date-released: 2026-03-09
4+
date-released: 2026-03-12
55
url: "https://github.com/mantisnlp/nervaluate"
6-
version: 1.2.0
6+
version: 1.2.1
77
authors:
88
- family-names: "Batista"
99
given-names: "David"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "nervaluate"
7-
version = "1.2.0"
7+
version = "1.2.1"
88
authors = [
99
{ name="David S. Batista"},
1010
{ name="Matthew Upson"}

0 commit comments

Comments
 (0)