Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework 24 hour clock worked example prep #1033

Merged
merged 20 commits into from
Oct 23, 2024
Merged

Conversation

illicitonion
Copy link
Member

What does this change?

  • Pull out an entire prep block about interpreting errors - we frequently see trainees ignore errors and wildly guess, this tries to guide away from that more.
  • Also a block about strategies to handle errors when we run into them.
  • Split "how to conditionals" and "what to do in the other branch" into two separate stages of solving the problem, and add "test and get feedback you've solved one of them" as a suggested step before solving the other one.
  • Explain why we need to convert to numbers before comparing strings.
  • Add a block on refactoring out repetition
  • Add a block about identifying classes of input and edge cases.

I've added a prep exercise to continue the edge-case finding in CodeYourFuture/Module-Structuring-and-Testing-Data#41.

Fixes #243

Common Content?

Yes, it reworks a lot of js1 blocks.

Hopefully anyone depending on these blocks will be broken by the fact that the js1/assembly block has been removed, and will see they need to update what they pull in.

Org Content?

Sprint

Checklist

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for cyf-curriculum canceled.

Name Link
🔨 Latest commit 412f52f
🔍 Latest deploy log https://app.netlify.com/sites/cyf-curriculum/deploys/671935ee2f11a00008b75500

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for cyf-launch ready!

Name Link
🔨 Latest commit 412f52f
🔍 Latest deploy log https://app.netlify.com/sites/cyf-launch/deploys/671935ee4dd9f10008c75904
😎 Deploy Preview https://deploy-preview-1033--cyf-launch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for cyf-programming ready!

Name Link
🔨 Latest commit 412f52f
🔍 Latest deploy log https://app.netlify.com/sites/cyf-programming/deploys/671935ee6387180008474dad
😎 Deploy Preview https://deploy-preview-1033--cyf-programming.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 85 (🔴 down 14 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for cyf-sdc ready!

Name Link
🔨 Latest commit 412f52f
🔍 Latest deploy log https://app.netlify.com/sites/cyf-sdc/deploys/671935ee471de3000839d84a
😎 Deploy Preview https://deploy-preview-1033--cyf-sdc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for cyf-common canceled.

Name Link
🔨 Latest commit 412f52f
🔍 Latest deploy log https://app.netlify.com/sites/cyf-common/deploys/671935ee1dea40000830e14a

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for cyf-tracks ready!

Name Link
🔨 Latest commit 412f52f
🔍 Latest deploy log https://app.netlify.com/sites/cyf-tracks/deploys/671935eef5a14d0008e74bd6
😎 Deploy Preview https://deploy-preview-1033--cyf-tracks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for cyf-piscine ready!

Name Link
🔨 Latest commit 412f52f
🔍 Latest deploy log https://app.netlify.com/sites/cyf-piscine/deploys/671935ee143d640008021002
😎 Deploy Preview https://deploy-preview-1033--cyf-piscine.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (🟢 up 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for cyf-itd canceled.

Name Link
🔨 Latest commit 412f52f
🔍 Latest deploy log https://app.netlify.com/sites/cyf-itd/deploys/671935ee37441300085e8e84

Copy link
Member

@SallyMcGrath SallyMcGrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loving it so far.

I'm going to stop reviewing because there are two general themes which you can just run with.

  1. Break up your sentences.
  2. Convert 2/3 of your information into activities, retaining the first piece as a worked example and the last piece/ your summary analysis.

Then let's go again! 🚀 ❤️ 🙌

common-content/en/module/js1/assertions/index.md Outdated Show resolved Hide resolved
common-content/en/module/js1/assertions/index.md Outdated Show resolved Hide resolved
common-content/en/module/js1/interpreting-errors/index.md Outdated Show resolved Hide resolved
* Pull out an entire prep block about interpreting errors - we
  frequently see trainees ignore errors and wildly guess, this tries to
  guide away from that more.
* Also a block about strategies to handle errors when we run into them.
* Split "how to conditionals" and "what to do in the other branch" into
  two separate stages of solving the problem, and add "test and get
  feedback you've solved one of them" as a suggested step before solving
  the other one.
* Explain why we need to convert to numbers before comparing strings.
* Add a block on refactoring out repetition
* Add a block about identifying classes of input and edge cases.

I've added a prep exercise to continue the edge-case finding.
Copy link
Member

@SallyMcGrath SallyMcGrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it! Some tiny notes

common-content/en/module/js1/assertions/index.md Outdated Show resolved Hide resolved
common-content/en/module/js1/strings/index.md Outdated Show resolved Hide resolved
common-content/en/module/js1/strings/index.md Outdated Show resolved Hide resolved
common-content/en/module/js1/sub-goal-2/index.md Outdated Show resolved Hide resolved
common-content/en/module/js1/sub-goal-2/index.md Outdated Show resolved Hide resolved
@illicitonion illicitonion enabled auto-merge (squash) October 23, 2024 17:44
@illicitonion illicitonion merged commit 38df5a5 into main Oct 23, 2024
32 of 34 checks passed
@illicitonion illicitonion deleted the rework-std-sprint2 branch October 23, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Content: Create coursework around considering input classes and edge cases
2 participants