Grammar and punctuation errors in the salary tracker workshop
维护者通常 1 天内回复
已经有一个关联 PR 被合并了。
- #71207 来自 @Sidsmartz —— 已合并
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 91/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- content
调研方向
找到指定的六个 workshop 文件:68c28b7cc3ab8f4daf144b5e.md、68c28c6517e7de5e85f8ebe5.md、68c2d31a86d5672ca49d4521.md、68c7fecda6d210cc8f1960e8.md、68c9c3aa714bc326e026b826.md 和 68caaaef4afb18aab8a684d4.md。阅读每条提示,并修正报告中描述的具体语法或标点问题;当六条提示都符合语法,且指定的三个句子都以句号结尾时,任务即完成。
由索引模型根据 Issue 内容生成。
描述
Describe the Issue
The salary tracker workshop contains the following grammar and punctuation errors.
-
Step 7 (
68c28b7cc3ab8f4daf144b5e.md):Your `Employee` class should have `level` method with a `self` parameter.The hint omits an article before the method name.
-
Step 9 (
68c28c6517e7de5e85f8ebe5.md):Your `__str__` method should return `f'{self.name}: {self.level}'`The hint is a complete sentence but has no ending punctuation.
-
Step 14 (
68c2d31a86d5672ca49d4521.md):Your `if` statement should check if either `name` and `level` are not instances of `str`.The hint pairs
eitherwithand, although the condition checks whether either argument is invalid. The sentence also needs singular agreement when referring to either argument. -
Step 17 (
68c7fecda6d210cc8f1960e8.md):You should set `self._salary` to the value corresponding to `level` inside the `_base_salaries` dictionaryThe hint is a complete sentence but has no ending punctuation.
-
Step 30 (
68c9c3aa714bc326e026b826.md):You should not raise any exception when `new_level` is a key of `Employee._base_salaries`The hint is a complete sentence but has no ending punctuation.
-
Step 35 (
68caaaef4afb18aab8a684d4.md):Once you've done, remove the lines raising errors and set `charlie_brown.level` to the string `junior`.The opening clause uses an incomplete verb phrase:
have doneneeds an object here.
Affected Pages
https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-7
https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-9
https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-14
https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-17
https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-30
https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-35
Expected behavior
The Step 7 hint should include the article required before the method name. The Step 14 hint should clearly describe either argument being invalid, using the appropriate conjunction and subject-verb agreement. The Step 35 instruction should use a complete, grammatical opening clause. The hints in Steps 9, 17, and 30 should end with periods outside any backticked code.
- 主要语言
- TypeScript
- 星标
- 458k
- 派生
- 49.3k
- 平均合并
- 23 小时 12 分钟
- 30 天内合并 PR
- 493
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
freeCodeCamp/freeCodeCamp 的其他 Issue
-
Media Catalogue workshop: correct grammar, punctuation, and instruction wording可能已有人在做 @Supravisor 于 2 天前认领。 未关闭help wanted python v9 cert scope: curriculum
难度 2/5 1-3 小时 新手友好度 86/100
freeCodeCamp/freeCodeCamp#71202 ·
维护者通常 1 天内回复
-
Salary Tracker - Step 39: Socrates giving wrong hints可能已有人在做 @fhsinchy 于 20 天前认领。 未关闭platform: socrates status: waiting triage
难度 2/5 1-3 小时 新手友好度 68/100
freeCodeCamp/freeCodeCamp#70552 · 15 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
"Build a Bookmark Manager App" Example Project Not Working: `iframe` `sandbox` Missing `allow-same-origin` Flag可能已有人在做 @prabhu-omkar 于 34 天前认领。 未关闭js v9 cert scope: curriculum status: waiting triage
难度 2/5 1-3 小时 新手友好度 76/100
freeCodeCamp/freeCodeCamp#70200 · 2 条评论 ·
维护者通常 1 天内回复
-
Build a Flashcard Quiz App - test 9可能重新可做 @yhcb21 于 15 天前认领,目前没有进行中的 PR。 未关闭scope: curriculum status: discussing
难度 2/5 1-3 小时 新手友好度 68/100
freeCodeCamp/freeCodeCamp#70006 · 5 条评论 ·
维护者通常 1 天内回复
-
Digital Pet Game - Step for says form shouldn't be "Visible" but test looks at existence可能已有人在做 @majestic-owl448 于 57 天前认领。 未关闭scope: curriculum status: PR in works
难度 2/5 1-3 小时 新手友好度 68/100
freeCodeCamp/freeCodeCamp#69158 · 2 条评论 ·
维护者通常 1 天内回复
查看 freeCodeCamp/freeCodeCamp 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 82/100
source-cooperative/docs.source.coop#41 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
Nimblesite/SharpLsp#468 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
solidjs-community/solid-primitives#1082 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复