feat(curriculum): add prototype for refactor authors project #1156
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.60) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 218 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.322
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #1156"
general
weight: 0.35
naomi-freecodecamp
Checklist:
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->
Update index.md)<!--If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.-->
Prototype for https://github.com/freeCodeCamp/freeCodeCamp/issues/61779
<!-- Feel free to add any additional description of changes below this line -->
Instead of making a whole new workshop to practice async/await concepts, this pr is a prototype solution which assumes that after completing the workshop-fcc-authors (which uses .then & .catch method), the following workshop presents the solution code from that prior workshop and allows the camper to refactor it to use async/await instead. (This idea was approved by Naomi)
I'm hoping that doing this workshop this way (as a continuation of the prior one), will reduce some of the workshop fatigue I noticed in some campers.
So to make this prototype, I simply copied the solution code from the earlier prototype and modified the section of code relating to the fetch. It used to be a series of commands setup in the global scope but I changed it into a new async function called initialFetch and called that function at the bottom of the script before setting up the event listener.
The workshop name is "Refactor the fCC Authors Page App" (we might have to explain what the word refactor means?)
Thanks for your review.