Skip to content

FEAT Extend package hallucination detection to Dart, Perl, and Raku - #2446

Merged
Roman Lutz (romanlutz) merged 5 commits into
microsoft:mainfrom
aaravxsingh15:feat/package-hallucination-ecosystems
Aug 22, 2026
Merged

FEAT Extend package hallucination detection to Dart, Perl, and Raku#2446
Roman Lutz (romanlutz) merged 5 commits into
microsoft:mainfrom
aaravxsingh15:feat/package-hallucination-ecosystems

Conversation

@aaravxsingh15

Copy link
Copy Markdown
Contributor

Description

Extends PackageHallucinationScorer to support three additional programming ecosystems already supported by garak:

  • Dart
  • Perl
  • Raku

Changes

  • Added Dart, Perl, and Raku to PackageEcosystem.
  • Implemented language-specific package extraction patterns.
  • Added case-insensitive package handling for Dart.
  • Excluded Raku version declarations from package detection.
  • Added unit tests covering package extraction and hallucination detection.

Related to #511.

@aaravxsingh15

Copy link
Copy Markdown
Contributor Author

@romanlutz

Copy link
Copy Markdown
Contributor

AARAV SINGH (@aaravxsingh15) you didn't quite succeed with the CLA. You have to either fill in your company or leave that part out. See the CLA bot's post above.

@aaravxsingh15

Copy link
Copy Markdown
Contributor Author

@aaravxsingh15

Copy link
Copy Markdown
Contributor Author

Copilot AI added 2 commits August 21, 2026 19:10
Remove blanket type ignores by asserting complete metadata and handle multi-segment Raku version declarations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6ac78a39-12d5-4186-9b0b-161c66125b8d
@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue Aug 22, 2026
Merged via the queue into microsoft:main with commit ac8a309 Aug 22, 2026
54 checks passed
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.

3 participants