Skip to content

Add pylint workflow - #3

Merged
Wunderwaffel merged 6 commits into
mainfrom
pylint-workflow
Nov 4, 2025
Merged

Add pylint workflow#3
Wunderwaffel merged 6 commits into
mainfrom
pylint-workflow

Conversation

@MoSchmidt

Copy link
Copy Markdown
Owner

No description provided.

@MoSchmidt MoSchmidt self-assigned this Nov 3, 2025

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .github/workflows/pylint.yml Outdated
@zagemello zagemello added bug Something isn't working documentation Improvements or additions to documentation labels Nov 4, 2025
@Wunderwaffel
Wunderwaffel merged commit aedcd7a into main Nov 4, 2025
1 check passed
tgeilen pushed a commit that referenced this pull request Jan 15, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants