Skip to content

frameit-mmt: Verbalization of scroll-description has problems with recursion #564

@SESch93

Description

@SESch93

Initial situation: Added 3 PointFacts P, Q and R via the /fact/add endpoint of the frameit-server

Afterwards, a request to the /scroll/dynamic endpoint of the frameit-server, where we map A |-> P, B -> Q, C |-> R, will lead to a wrong description of the rendered-scroll.

  • actual description:

    Given a triangle △PQR right-angled at ⊾R, the opposide side has length CA = tan(∠ABC) ⋅ QR.

  • expected description:

    Given a triangle △PQR right-angled at ⊾R, the opposide side has length CA = tan(∠PQR) ⋅ QR.

The culprit is probably the recursive call to verbalize ${lverb angleB} that prints ∠ABC(the default verbalization) without accounting for the assignmentsA |-> P, B |-> Q, C |-> R`.

(edit: @ComFreek extended this bug report with more info)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions