Add pylint workflow - #3
Merged
Merged
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
* Add docstrings and lint fixes for backend modules * Fix lint issues for security and user modules
Wunderwaffel
approved these changes
Nov 4, 2025
MoSchmidt
added a commit
that referenced
this pull request
Jan 17, 2026
* Add prompt evaluation system for keyword extraction benchmarking - Implement automated prompt evaluation framework with Jaccard similarity scoring - Add dataset generator: creates ground truth test cases from keywords using LLM - Add prompt evaluator: tests prompts against dataset and calculates metrics - Add batch evaluator: compares multiple prompts and generates ranking report - Create 6 alternative prompt variations for testing (v1-v6) - Add metrics module with Jaccard similarity calculation and keyword normalization - Include rate limiting support (configurable delay) for API requests - Organize outputs: default paths use evaluation_data/ and evaluation_results/ directories - Update .gitignore to exclude evaluation data and results directories The system enables systematic benchmarking of keyword extraction prompts, with prompt_v1_concise showing 4.6x improvement over baseline (0.3465 vs 0.0747 Jaccard score). * FIXES MADE BY CURSOR - fixed pylint * Add comprehensive prompt engineering evaluation system with best practices testing - Add 10 new prompt variants (v7-v16) systematically testing prompt engineering best practices: * Individual practices: persona, delimiters, explicit steps, few-shot examples, detailed instructions, format specification * Combined practices: persona+examples, steps+delimiters, persona+steps+examples, all best practices - Expand evaluation dataset from 10 to 28 test cases covering diverse ML/NLP/CV domains - Enhance metrics module with Precision, Recall, and F1 score calculations - Update evaluation scripts to calculate and report all metrics (Jaccard, Precision, Recall, F1) - Update prompts README with documentation of new variants and best practices tested - Results show 3.8x improvement over baseline with best-performing prompt (prompt_v2_single_words) * fixed pylint #1 * fixed pylint #2 * fixed pylint #3 * fixed error in OpenAI provider * fixed the one trailing white space, which caused the pylint to reject this minor change (had 9.99/10 code quality) * revert changes in openAI provider.py --------- Co-authored-by: Tobias Geilen <tgeilen@mail.uni-mannheim.de> Co-authored-by: Moritz <moritzschmidt1@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.