Skip to content

fix: classify a ticket as an investigation from its title or labels, not its description - #18

Merged
davidnmbond merged 1 commit into
mainfrom
fix/investigation-title-only
Nov 10, 2026
Merged

davidnmbond merged 1 commit into
mainfrom
fix/investigation-title-only

Conversation

@davidnmbond

Copy link
Copy Markdown
Contributor

Fixes #7.

isInvestigation matched its words (investigate, research, assess, ...) against the title and the description, so a single 'assess' in a business case moved an Improvement into the investigation tiers. The words now match the title only; the investigation/research/spike labels still count. The optional heading signal from the proposal is not added: the title and label signals cover every recorded case.

Parity: no Yoda fixture changes (the full suite, including BuiltInRubricParityTests, passes), so the open question about accepting parity changes does not arise.

InvestigationClassificationTests: the issue's example (an Improvement with 'assess' only in its business case) is not an investigation, and fails without the change; each label and an 'Investigate why ...' title still are.

…not its description

Fixes #7. One investigation word in a business case no longer moves an Improvement into the investigation tiers. Labels and title wording still do. No Yoda parity fixture changes.
@codacy-production

codacy-production Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 4 complexity · 0 duplication

Metric Results
Complexity 4
Duplication 0

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (3c13989) 2071 2068 99.86%
Head commit (3547247) 2071 (+0) 2068 (+0) 99.86% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#18) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

AI Reviewer: run a review on demand. To trigger the first review automatically, go to your organization or repository integration settings. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@davidnmbond
davidnmbond merged commit 4b57192 into main Nov 10, 2026
7 checks passed
@davidnmbond
davidnmbond deleted the fix/investigation-title-only branch November 10, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ticket-quality rubric: one investigation word in the description classes an Improvement as an investigation

1 participant