Skip to content

Improvement notebook 1.4: Introduce importance of cell execution order  #19

@aauss

Description

@aauss

Students could not run the exercise in the log-probability exercise that were asking for the log-prob. of the sentences "A horse, a horse! My kingdom for a horse!" and "Double, double, toil and trouble; fire burns, and cauldron bubble." There vocabs did not contain some of the words and it caused a key-error.

These errors came up towards the end of the session and I assume that re-running all cells from top to bottom would have solved the issue. Since I cannot recreate the key-error from a clean notebook, I have no other explanation for the errors. I suggest to raise students' awareness that variables in the notebook build on top of each other and that some changes somewhere further up will carry down the notebook.

Maybe we can also check where variable names from expected answer are important for later execution.

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