Open zickgraf opened 5 days ago
Das gefällt mir sehr gut, vielen Dank. Ich bräuchte allerdings etwas Zeit um die notwendigen Anpassungen zu machen.
Attention: Patch coverage is 92.10526%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 82.76%. Comparing base (
a6ea555
) to head (1dee6b0
).
Files with missing lines | Patch % | Lines |
---|---|---|
CAP/gap/CategoryConstructor.gi | 80.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
When using the string "default" for createfunc*, one must now set the option
underlying_category
, from which the weight is determined. If createfunc* is a function, one can (optionally) set a weight by returning a pair of a string and an integer (instead of only a string).@mohamed-barakat This PR partially implements a suggestion you had: You suggested to pass an underlying category to CategoryConstructor from which the weights can be taken. I argued that this does not make sense in general. However, while working with the weights, I noticed that it indeed does make sense in a specific case, namely when using the string "default" for createfunc*. This PR now requires to set the option
underlying_category
when using the string "default". This sets the correct weights, which probably requires changes like recompiling code. Please tell me when I can merge, i.e. when you have to time to adjust things in CategoricalTowers.