Skip to content

[🐞 BUG]: Heuristic questions can be created without answer options, resulting in unusable evaluation interface #1874

@aaradhychinche-alt

Description

@aaradhychinche-alt

Description

While testing the heuristic evaluation flow locally, I noticed that it is possible to create a heuristic question without configuring any answer options.

When the evaluation is started, the dropdown for answering the question displays "No data available", which prevents the evaluator from selecting any option.

This makes the heuristic evaluation unusable because participants cannot provide an answer for the question.

Link

http://localhost:8080/testview/TmgUQz5M8SZ8WojYzuej

Steps to Reproduce

  1. Create a new heuristic study.
  2. Add a heuristic with a question.
  3. Do NOT configure any answer options in the "Options" tab.
  4. Start or preview the test.
  5. Open the question dropdown in the evaluation interface.
  6. The dropdown shows "No data available".

Screenshots

Expected Behavior

The system should prevent creating or starting a heuristic test if questions do not have any answer options configured.

Alternatively, the UI should enforce adding at least one option before the test can be started.

Actual Behavior

The system allows the test to start even when questions have no answer options.

In the evaluation interface, the dropdown shows "No data available", making it impossible for evaluators to answer the question.

Environment

Vue component: Heuristic evaluation interface
Git branch: develop
OS: macOS
Browser: Chrome
Running with Firebase emulator

Additional Information

This issue occurs because the evaluation UI expects answer options to exist, but the test configuration does not enforce that requirement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions