-
Notifications
You must be signed in to change notification settings - Fork 50.9k
Description
Description
The <AutoGrader /> component enters an unrecoverable infinite loop when a student submits a Python script containing a naked x / 0 operation. Instead of returning a RuntimeError, the grading engine attempts to "calculate the void," resulting in 100% CPU usage on the evaluation node.
🔍 Observed Issue
- The Loop: The progress spinner spins so fast it creates a visual "strobe" effect before the browser tab freezes. 😵
- Resource Leak: Memory consumption climbs steadily until the OS terminates the process. 📈
- Feedback: The "Hints" panel suggests the student "Wait for the heat death of the universe" to see their results. 🌌
✨ Expected Behavior
- Validation: The static analyzer should catch division by zero before execution.
- Timeout: The sandbox should terminate any process exceeding 500ms. ⏱️
- Graceful Failure: Display a "Division by zero is a crime against math" error message. 👮
🛠️ Reproduction Steps
- Navigate to the Grade 12 Physics portal.
- Upload
gravity_calc.pywithg = 9.8 / (1 - 1). - Click "Submit" and listen to your laptop fans reach terminal velocity. 🚁
Subject: 🏹 NPC "Quest-Giver" Identity Crisis 🎭
Description
In the current build of the Medieval RPG Engine, NPCs (Non-Player Characters) are experiencing a data-sync issue where they swap dialogue trees mid-conversation. This leads to immersion-breaking scenarios where a "Village Elder" starts speaking like a "Level 50 Dragon."
🔍 Observed Issue
- Dialogue Swap: The blacksmith is currently offering to "Devour your soul and burn the kingdom" instead of fixing a bronze sword. 🐉
- Trade Logic: The "Shopkeeper" accepts 500 gold in exchange for "The secret of fire," but actually just gives the player a stale loaf of bread. 🍞
- Animation Glitch: High-level bosses are performing the "Farmer's Hoeing" animation during combat sequences. 🧑🌾
✨ Expected Behavior
- State Locking: NPC dialogue state must be locked to their
entity_idupon interaction. - Asset Mapping: Ensure the
Combat_Idleanimation is not indexed next toHarvest_Wheat. 🌾
🛠️ Reproduction Steps
- Travel to the Shadow Realm waypoint.
- Talk to the Undead King.
- Observe as he asks you if you've "found his lost sheep" in a high-pitched voice. 🐑
Subject: ☕ Firmware: Coffee Temperature "Overflow" ♨️
Description
The <SmartMug /> IoT integration is reporting temperatures in Kelvin but treating the integers as Celsius. This causes the mobile app to believe the coffee is currently the surface temperature of the Sun.
🔍 Observed Issue
- UI Alert: The app sends a push notification: "Warning: Coffee has reached Fusion Temperature. Please evacuate the kitchen." ☢️
- Hardware Lock: The mug’s safety lid locks permanently to prevent "Plasma Leakage." 🔒
- Graphing: The temperature chart has exited the top of the screen and is currently overlapping with the "Battery Level" icon.
✨ Expected Behavior
- Unit Conversion: Check the
Math.round()logic in theTempParser.swiftfile. 📐 - Safety Clamp: Hard-cap the reported temperature at 100°C (unless the user is brewing in a vacuum). ☕
🛠️ Reproduction Steps
- Pour a standard cup of black coffee into the SmartMug.
- Open the MugControl app.
- Observe the "Current Temp" reading:
5,778 K. ☀️
Note: The "Quest-Giver" bug is funny, but the "SmartMug" issue is a genuine fire hazard.
Would you like me to draft a GitHub Issue for the AutoGrader loop or a Firmware Patch for the SmartMug?```