Skip to content

Conversation

@kevinmessiaen
Copy link
Member

Description

Added a new "business" detector that allow to scan generate functional issues for LLM tasks:

  • Generate input dataset based on the function tasks
  • Generate functional tests

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix
kevinmessiaen and others added 30 commits August 30, 2023 10:32
# Conflicts:
#	backend/src/main/resources/config/liquibase/master.xml
# Conflicts:
#	backend/src/main/resources/config/liquibase/master.xml
#	python-client/giskard/scanner/__init__.py
#	python-client/giskard/scanner/report.py
#	python-client/giskard/scanner/scanner.py
#	python-client/giskard/visualization/templates/_issues_table.html
# Conflicts:
#	python-client/docs/tutorials/data-types/text/index.md
@kevinmessiaen kevinmessiaen requested review from Hartorn, mattbit and rabah-khalek and removed request for mattbit October 3, 2023 10:43
Copy link
Member

@Hartorn Hartorn left a comment

Choose a reason for hiding this comment

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

Not much to say on code structure :)

return self

@remove_test.register
def _remove_test_by_name(self, test_name: str):
Copy link
Member

Choose a reason for hiding this comment

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

I guess mehod could be rename for clarity

from pydantic import BaseModel, Field

from ..config import llm_config
from ...scanner.llm.utils import LLMImportError
Copy link
Member

Choose a reason for hiding this comment

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

It may be more readable to use absolute import giskard.xx.

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@mattbit
Copy link
Member

mattbit commented Oct 16, 2023

Closing this and reopening a new one

@mattbit mattbit closed this Oct 16, 2023
@mattbit
Copy link
Member

mattbit commented Oct 16, 2023

Detection part is in #1468

There are still commits in here that should be kept to align with the hub functionality.

@kevinmessiaen
Copy link
Member Author

Detection part is in #1468

There are still commits in here that should be kept to align with the hub functionality.

I'm looking to integrate them on the other branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants