Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Grammar and punctuation errors in the salary tracker workshop

已关闭 适合新手
#71,203 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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 内容生成。

描述

help wanted python v9 cert scope: curriculum
Describe the Issue

The salary tracker workshop contains the following grammar and punctuation errors.

  1. Step 7 (68c28b7cc3ab8f4daf144b5e.md):

    Your `Employee` class should have `level` method with a `self` parameter.

    The hint omits an article before the method name.

  2. 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.

  3. Step 14 (68c2d31a86d5672ca49d4521.md):

    Your `if` statement should check if either `name` and `level` are not instances of `str`.

    The hint pairs either with and, although the condition checks whether either argument is invalid. The sentence also needs singular agreement when referring to either argument.

  4. Step 17 (68c7fecda6d210cc8f1960e8.md):

    You should set `self._salary` to the value corresponding to `level` inside the `_base_salaries` dictionary

    The hint is a complete sentence but has no ending punctuation.

  5. 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.

  6. 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 done needs 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

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

freeCodeCamp/freeCodeCamp 的其他 Issue

查看 freeCodeCamp/freeCodeCamp 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。