Skip to content

Commit

Permalink
changes default hint to be capitalized
Browse files Browse the repository at this point in the history
  • Loading branch information
russell-rozenbaum committed Dec 20, 2024
1 parent aced072 commit 976f67e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/haz3lweb/exercises/Exercise.re
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ let update_exercise_title = ({eds, _}: state, new_title: string) => {
let add_buggy_impl = (state: state) => {
let new_buggy_impl = {
impl: Editor.Model.mk(Zipper.init()),
hint: "no hint provided",
hint: "No Hint Available",
};
{
eds: {
Expand Down Expand Up @@ -485,7 +485,7 @@ let update_syntax_rep = ({eds}: state, new_hints: list(string)) => {
let new_hint = List.nth_opt(new_hints, i);
switch (new_hint) {
| Some(hint) => (hint, predicate)
| None => ("No hint provided", predicate)
| None => ("No Hint Provided", predicate)
};
},
eds.syntax_tests,
Expand Down
2 changes: 1 addition & 1 deletion src/haz3lweb/exercises/Grading.re
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ module ImplGradingReport = {
statuses,
hints,
Haz3lcore.TestStatus.Indet,
"No hint available.",
"No Hint Available",
);

| None =>
Expand Down

0 comments on commit 976f67e

Please sign in to comment.