Skip to content

Fix 14 workshop source bugs across 4 languages#637

Merged
ozhang22 merged 5 commits intoNuevoFoundation:masterfrom
beagandica:fix/workshop-source-bugs
Apr 29, 2026
Merged

Fix 14 workshop source bugs across 4 languages#637
ozhang22 merged 5 commits intoNuevoFoundation:masterfrom
beagandica:fix/workshop-source-bugs

Conversation

@beagandica
Copy link
Copy Markdown
Member

Summary

Fixes 14 source bugs in live workshops across EN, PT-BR, ZH-CN, and KO. All bugs affect student-facing content. 14 files changed.

Original P2 bugs (8)

  • chatbot activity-2: Alternatevely typo (EN)
  • security: cybers security typo (EN)
  • chatbot _index.md: missing alwaysopen: false (EN, KO, PT-BR)
  • python-basics numbers: 527 time typo (EN)
  • python-basics numbers: Python 2 division claim updated to Python 3 (EN, PT-BR, ZH-CN)
  • python-basics built-in: str1.find misplaced paren (EN, ZH-CN)
  • python-basics built-in: Python 2 print syntax to Python 3 (EN, PT-BR, ZH-CN)
  • python-basics booleans: OR truth table last row had and instead of or (EN, PT-BR, ZH-CN)

Bonus bugs found during QA (6)

  • from random import missing randint - SyntaxError if copied (EN, PT-BR, ZH-CN)
  • isdigit() comments: true/false to True/False (EN, PT-BR, ZH-CN)
  • booleans challenge: print() paren placement - wrong output (EN, PT-BR, ZH-CN)
  • ZH-CN numbers: extra trailing backtick
  • ZH-CN booleans: corrupted fal fragment
  • PT-BR booleans: leaked table text

Testing

  • Hugo build passes (exit code 0)
  • All language folders verified with grep: zero remaining instances of any bug pattern
  • 10-model QA + 3 convergence passes

Fixes 8 documented P2 bugs plus 6 pre-existing bugs found during QA review.
14 files changed across EN, PT-BR, ZH-CN, and KO.

Original P2 bugs:
- chatbot activity-2: Alternatevely typo (EN)
- security what-is-security: cybers security typo (EN)
- chatbot _index.md: add alwaysopen: false (EN, KO, PT-BR)
- python-basics numbers: 527 time typo (EN)
- python-basics numbers: Python 2 division claim updated to Python 3
  with / (decimal) and // (floor division) (EN, PT-BR, ZH-CN)
- python-basics built-in: str1.find misplaced paren (EN, ZH-CN)
- python-basics built-in: Python 2 print syntax to Python 3 (EN, PT-BR, ZH-CN)
- python-basics booleans: OR truth table last row had and instead of or
  (EN, PT-BR, ZH-CN)

Bonus bugs found by 10-model QA:
- python-basics numbers: from random import missing randint (EN, PT-BR, ZH-CN)
- python-basics built-in: isdigit() true/false to True/False (EN, PT-BR, ZH-CN)
- python-basics booleans: print paren placement in challenge (EN, PT-BR, ZH-CN)
- ZH-CN numbers: extra trailing backtick
- ZH-CN booleans: corrupted fal fragment removed
- PT-BR booleans: leaked Diferente de table text removed

Co-authored-by: Copilot <[email protected]>
Revert portuguese change
Revert korean changes
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR targets student-facing workshop content correctness across multiple locales by fixing typos and Python examples so that copied code runs correctly and explanations match Python 3 behavior.

Changes:

  • Fix Python example correctness (e.g., find() syntax, isdigit() True/False, randint import, boolean expression printing).
  • Update integer-division explanations to reflect Python 3 (/ vs //) across locales.
  • Fix workshop copy issues (typos, missing alwaysopen: false in chatbot index pages).

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
content/simplified-chinese/python-basics/functions/built-in.md Fix find() example and update isdigit() examples/output to Python 3/True/False.
content/simplified-chinese/python-basics/data-types/numbers.md Update Python 3 division explanation, fix challenge text, and add missing randint import.
content/simplified-chinese/python-basics/data-types/booleans.md Remove corrupted fragment, fix boolean challenge print() syntax, correct OR truth table row.
content/korean/chatbot/_index.md Add alwaysopen: false, but content appears encoding-corrupted in title/body.
content/english/security-fundamentals/what-is-security.md Fix “cybers security” typo to “cybersecurity”.
content/english/python-basics/functions/built-in.md Fix find() example and update isdigit() examples/output to Python 3/True/False.
content/english/python-basics/data-types/numbers.md Update Python 3 division explanation, fix “times” typo, and add missing randint import.
content/english/python-basics/data-types/booleans.md Fix boolean challenge print() syntax and correct OR truth table row.
content/english/chatbot/activity-2.md Fix “Alternatevely” typo in signup instructions.
content/english/chatbot/_index.md Add missing alwaysopen: false to control sidebar behavior.
content/brazilian-portuguese/python-basics/functions/built-in.md Update isdigit() examples/output to Python 3/True/False.
content/brazilian-portuguese/python-basics/data-types/numbers.md Update Python 3 division explanation and add missing randint import.
content/brazilian-portuguese/python-basics/data-types/booleans.md Remove leaked text and fix boolean challenge print() syntax + truth table row.
content/brazilian-portuguese/chatbot/_index.md Add alwaysopen: false, but Portuguese text appears encoding-corrupted across the page.
Comments suppressed due to low confidence (1)

content/brazilian-portuguese/chatbot/_index.md:15

  • This file’s Portuguese text is encoding-corrupted (e.g., "pr├│prio", "Introdu├º├úo", "voc├¬"), which will display incorrectly for learners. Please restore the proper PT-BR strings with correct accents (UTF-8) and keep the alwaysopen: false change.
title: "Crie seu próprio chatbot"
description: "Um guia introdutório para chatbots"
date: 2020-02-21T11:45:38-07:00
prereq: "email"
download: ""
draft: false
alwaysopen: false
icon: "fas fa-code"
language: "no-code"
topics: ["ai"]
difficulties: ["beginner"]
---
## Introdução
Neste workshop, você vai aprender a criar seu próprio chatbot. No final do workshop, você terá um chatbot que pode ter uma conversa simples com o usuário. Você vai aprender a usar AIML, uma linguagem para criar chatbots. Você também vai aprender a usar o Pandorabots, uma plataforma para hospedar chatbots.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread content/english/chatbot/activity-2.md Outdated
Comment thread content/english/python-basics/functions/built-in.md Outdated
Comment thread content/korean/chatbot/_index.md
Comment thread content/english/python-basics/functions/built-in.md Outdated
Comment thread content/english/chatbot/activity-2.md Outdated
@ozhang22 ozhang22 merged commit 9a037d2 into NuevoFoundation:master Apr 29, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants