Skip to content

Add support for likert scale #1980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

paulnoirel
Copy link
Contributor

@paulnoirel paulnoirel commented Jun 9, 2025

Description

CCV-4646

The current PR add the support of likert scale to radio classifications.

image

Example:

classification_features = [
    lb.Classification(
        class_type=lb.Classification.Type.RADIO,
        name="Quality Issues",
        options=[
            lb.Option(value="1", label="Blurry"),
            lb.Option(value="2", label="Distorted"),
            lb.Option(value="3", label="OutOfFocus")
        ],
        required=True,
        is_likert_scale=True
    )
]

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Document change (fix typo or modifying any markdown files, code comments or anything in the examples folder only)

All Submissions

  • Have you followed the guidelines in our Contributing document?
  • Have you provided a description?
  • Are your changes properly formatted?

New Feature Submissions

  • Does your submission pass tests?
  • Have you added thorough tests for your new feature?
  • Have you commented your code, particularly in hard-to-understand areas?
  • Have you added a Docstring?

Changes to Core Features

  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?
  • Have you updated any code comments, as applicable?

@paulnoirel paulnoirel merged commit d29b387 into develop Jun 9, 2025
36 of 45 checks passed
@paulnoirel paulnoirel deleted the pno/CCV-4646-add-likert-scale-to-the-configuration-of-the-ontology branch June 9, 2025 17:07
@paulnoirel paulnoirel changed the title CCV-4646 - Add support for likert scale Add support for likert scale Jun 9, 2025
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.

2 participants