Authorship attribution toolkit — modular stylometry framework for identifying who wrote a document

1 Open Issue Need Help Last updated: Mar 18, 2026

Open Issues Need Help

View All on GitHub

AI Summary: The `LLMPrompting._parse_response()` method currently uses basic string `find()` for JSON extraction, leading to `JSONDecodeError` and an unreliable fallback to plain text author name search. This fallback can result in false positives. The proposed solution involves implementing more robust JSON extraction (e.g., using regex), adding schema validation for extracted JSON, considering structured output requirements or retries, and improving logging for fallback scenarios.

Complexity: 3/5
enhancement good first issue

Authorship attribution toolkit — modular stylometry framework for identifying who wrote a document

Python