Skip to content

h5p-author: settings that go stale when a chat changes a content, a Question Set's poolSize first, pass unsaid #268

Done

Description

@alekswebnet

The build checks each source on its own. So a setting that was right before a content was changed, and is wrong after, passes with nothing said.

What happened

In ChatGPT (2026-11-23, the app of #210), the owner asked a chat to add two questions to a Question Set that showed three. The player went on showing three questions, one of them new. Asked, the chat said its source had poolSize: 3 and six questions: three drawn at random each time. The build had said nothing.

Not known: whether the first source had poolSize too, and how many questions it held (three and two make five, not six). The server logged no source then.

The field is labelled "Number of questions to be shown". The type file said "poolSize draws that many from the list each time", and its generated list of fields gave the label: nothing warned a model off it.

The scan (owner, 2026-11-23: "scan now")

The 80 libraries with semantics in the pack, the 55 content types among them. Looked at: all 156 number fields, the fields drawn by a widget of the type's own, and the fields whose name or description says they name another part.

Kind Fields
Items drawn at random Question Set poolSize, Memory Game behaviour.numCardsToUse, Crossword behaviour.poolSize
Items to find Find Multiple Hotspots numberHotspots
A part named by its number, id or name Course Presentation goToSlide; Drag and Drop a zone's correctElements and an element's dropZones; Agamotto startImage; Virtual Tour startSceneId and a "go to scene"'s nextSceneId; Personality Quiz an answer's personality
Already checked by the build Branching Scenario nextContentId (in range), Game Map paths (by stage label)

Found and not covered here:

  • Advanced Blanks: the gaps of its text against its list of blanks, and its snippets, which feedback names as @name.
  • Game Map: a restriction's stageScoreId and stageProgressId, a stage's id.
  • Interactive Video: every time against the video's length (h5p-author: the model writes times and positions for media it has not seen #260).
  • Positions on a picture or a slide; Game Map finishScore against the exercises' scores.

Not looked for: a select tied to the content, as Multiple Choice's single or multiple answers once a second answer is marked correct; links inside a text.

Wanted

  • A note for each field of the first three rows, as for the other things that build and are almost surely a mistake (h5p-author: notes for what builds and is almost surely a mistake #241). A note, never a problem: a draw may be meant, and a package from elsewhere must still build.
  • Each note says what its library does with the value, read in the library's script and not in the field's label.
  • A draw below the list's length says both numbers; at its length, that it draws nothing and would leave one out once one is added; above it, that it draws nothing until there are more than it.
  • The outline's first line says how many of how many a draw shows, so a chat or an app that reads the outline back sees it.
  • The Question Set and Memory Game type files say the setting is not the number of items, and to leave it out unless the user asks for a random draw.
  • The rule in design/author.md, with what the scan did not look for.

Activity

  1. changed the title [-]h5p-author: a Question Set's poolSize hides questions, and nothing says so[/-] [+]h5p-author: settings that go stale when a chat changes a content, a Question Set's poolSize first, pass unsaid[/+] on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions