Skip to content

Hidden prefix visible to students in Active Code Exercises via Code Lens #277

@norkish

Description

@norkish

Please check the current issues Many bug reports are duplicates, this just creates more work for us. Searching the issues first may give you your answer or a workaround! If not adding new information to an existing report is much more helpful than a new report.

What Course are you in
Knowing the course will help us a lot

idahostateuniversity_httlacs_spring26

What Page were you on

N/A

What is your username

norkish

Describe the bug
A clear and concise description of what what you were trying to accomplish and what went wrong. Vague statements like X does not work are not helpful. Imagine if one of your students sent you an email that said, "My program doesn't work, whats wrong with it?" Could you help them with only that to go on?

A student showed me that if they use CodeLens on the Active Code exercises, they are able to see the Hidden Prefix code that I develop for the exercise. Is this a bug or a feature? In any case, I'd like the hidden prefix to remain hidden.

I don't see a way with the new Assignment Builder to deactivate CodeLens. Temporary workarounds could include using the old assignment builder to add the directive or to explicitly include assert statements in my suffix to ensure students don't inappropriately use information stored in the Hidden Prefix, but ideally there would be a way to prevent them from seeing the prefix.

Traceback
If you got here through the Bug Report page and there was a stack trace, please paste it here

Javascript Errors
Many many errors can be quickly diagnosed from the Javascript Console error log. On Chrome this is View --> Developer --> Javascript Console, on Safari ⌥⌘i or Develop --> Show Web Inspector on Firefox Tools --> Web Developer --> Toggle Tools

Metadata

Metadata

Assignees

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions