L22.P1: loop allows passing the practice despite not producing the expected data
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- godot
- 領域
- testing
調査の方向性
Start with res://course/lesson-23-append-to-arrays/lesson.bbcode and locate L22.P1, “Completing orders.” Reproduce the reported case where the practice passes despite the output not matching the expected orders, then trace how this practice checks the learner’s result. Done means incorrect output no longer passes and the learner receives feedback.
索引モデルが issue の本文から書いたものです。
説明
The issue here is this practice calls the student function four times and the function is not expected to contain a loop. The output does not match what's expected yet the practice passes without giving the learner a feedback message.
For P1 from L22, on completed orders from visual animation "tomato soup" is doubled. One would be cheese sandwich
Technical information:
- Location: L22.P1 - Appending and popping values from arrays > Completing orders
- File: res://course/lesson-23-append-to-arrays/lesson.bbcode
- Platform: Windows
- Commit: b9b3161
Code from the current practice
var waiting_orders = [ "cheese sandwich", "burger", "toast", "tomato soup", ] var completed_orders = [] func complete_current_order(): for order in waiting_orders: var pending_order = waiting_orders.pop_front() completed_orders.append(pending_order)
- 主要言語
- GDScript
- スター
- 2.8k
- フォーク
- 239
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GDQuest/learn-gdscript のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
GDQuest/learn-gdscript#1462 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
GDQuest/learn-gdscript#1455 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
GDQuest/learn-gdscript#1446 ·
-
user experience
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
GDQuest/learn-gdscript#1420 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
GDQuest/learn-gdscript#1461 ·
GDQuest/learn-gdscript の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NSPG13/agent-bounties#1749 ·
メンテナーはふだん 1 日以内に返信
-
area: web bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
kinqsradio/orbyn-engineering#227 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AttilaTheFun/visor#244 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ncecere/open-mcp-portal#85 ·
メンテナーはふだん 1 日以内に返信
-
test-reliability
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-sdk-for-js#40672 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信