LongAnswer::getScore() always returns 1

Created on 6 August 2024, 8 months ago

Problem/Motivation

This probable needs to return the score field value instead of hardcoding 1.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Active

Version

1.0

Component

Activities and answers

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @catch
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan

    Prem Suthar โ†’ made their first commit to this issueโ€™s fork.

  • ๐Ÿ‡ต๐Ÿ‡ฑPoland Graber

    No, the final score is recalculated basing on max score value while activity-answer plugins always return a float value ranging from 0 to 1. We need to update descriptions in code and eventually add documentation on creating custom activity-answer plugins for module creators.

  • Status changed to Needs review 27 days ago
  • ๐Ÿ‡จ๐Ÿ‡ฆCanada ob3ron Canada

    I've drafted a first version of a Plugin Developer's Guide โ†’ : instructions for creating custom Activity-Answer plugins

    Feedback is welcome on errors, omissions, and any areas that need better clarity.

Production build 0.71.5 2024