Skip to content

Update WTI Scoreboard problem letter PDF links to support CDP shortname-based URLs #1184

@clevengr

Description

@clevengr

Is your feature request related to a problem?
The current implementation of WTI Scoreboard Problem PDF links (that is, clicking on a problem letter opens the PDF for the corresponding problem writeup) are essentially "hard-coded" to reference PDFs with problem letter-based names -- A.pdf, B.pdf, etc. This is inflexible and cumbersome; it requires the Contest Administrator to create an extra set of "letter-named" pdfs for the problem. Also, the letter values in the HREF text are "hard-coded" to be A, B, C, etc., meaning you can't have a problem set that uses different letter sequences.

Feature Description:
Update the HREFs associated with the problem headers so that the hyperlink references a file based on the "CLICS shortname" associated with the problem.

Do you have any specific suggestions for how your feature would be implemented in PC^2?

  • Update the Default Scoring Algorithm so that it inserts a shortname-based URL in the problem definitions which get put into the XML output (which is then converted to JSON and transmitted to the WTI server).
  • Update the Admin Guide section which explains how/where to post PDFs that are linked from the WTI scoreboard.

Metadata

Metadata

Assignees

Labels

NEXT ContestConsider fixing for next contetSmall LOELess than an hour to code, test and push a PRWTI-UIThis bug or feature request applies to the WTI-UI (browser-side).enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions