smrose / ps

Pattern Sphere application, part of the Public Sphere Project.
0 stars 0 forks source link

Implement per-project assessment space #2

Closed smrose closed 5 months ago

smrose commented 5 months ago

The passessment record currently has an assessment column that's implemented as an enum. That restricts the assessment space to values in that enum, but those values aren't appropriate for each project, so it's necessary to redesign the schema to allow a per-project assessment space.

smrose commented 5 months ago

Changes to the schema to support this are underway, but code to enter, summarize, and display assessments is ongoing.

The project table has new labels and nulllabels columns. labels is a string with individual labels delimited with a : character. nulllabels defines the label for the null value (or when there is no passessment record for a pattern.

The passessment record has replaced the enum with an integer-valued assessment column. A value of 0 in that column represents the leftmost string in the exploded project.labels value.

smrose commented 5 months ago

Code has been updated to support per-project assessment spaces.