Skip to content

LearningCurve visualization: handle case where skill names are a single character #141

@personalized-learning-2

Description

Because we generate the output image files using the skill names as the file prefix, we were violating the requirement to have a prefix of 3 or more characters (https://docs.oracle.com/javase/7/docs/api/java/io/File.html#createTempFile(java.lang.String,%20java.lang.String,%20java.io.File)

Line 816 of LearningCurveVisualization.java: File.createTempFile().

We append "_" but that just takes us to two characters in the single-char case; need to pad to ensure at least 3 characters.

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