wordy: Error specification for "what is 52 cubed?"
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- testing
調査の方向性
冗長な exercise specification と既存の parsing および error のテストを見つけ、「52 cubed」と「1 plus」に対する期待値を比較します。完了の条件は、選択した解決方針に従って、specification に明示的で一貫した結果が定義され、「4 quus 5」のような未知の二項演算が扱われていることです。
索引モデルが issue の本文から書いたものです。
説明
According to the spec, "What is 52 cubed?" should raise an unknown operation error. "cubed" is an unknown operation so that seems reasonable. However, all the other operations in the exercise are binary operations and "cubed" is unary. So "52 cubed" is also a syntax error in the context of parsing binary operations. (One of the other tests is "What is 1 plus?" which is exactly the same form as "What is 52 cubed?" but here we throw a syntax error).
Thus it seems failing a test for catching the syntax error before the unknown operation error doesn't seem correct. Perhaps both kinds of errors should be permitted?
Suggestions: add a test to catch an unknown binary operation eg. "What is 4 quus 5?", and let "What is 52 cubed?" pass the test if either error message is raised.
- 主要言語
- Ruby
- スター
- 362
- フォーク
- 566
- 平均マージ
- 15時間 13分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
exercism/problem-specifications のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
exercism/problem-specifications#2686 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
exercism/problem-specifications#2704 · コメント 21 件 · リアクション 8 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 35/100
exercism/problem-specifications#2153 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
exercism/problem-specifications#2120 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
exercism/problem-specifications#2108 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
exercism/problem-specifications の issue をすべて見る
似ている issue
-
開発用DockerイメージにPlaywrightのシステム依存を追加する対応中かも @momocus が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
sakazuki-org/sakazuki#1453 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
jenkins-infra/jenkins.io#9615 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtime対応中かも @Goldziher が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Metric tooltips that contradict how the metric is calculated対応中かも @aniadeadu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
WikiEducationFoundation/WikiEduDashboard#7303 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
WhatsApp Cloud template sync saves a partial template list when one page of the Graph API response fails対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信