Download server/tasks/task_medium_logic_bug/task.json from SanketAI/chiforge: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/spaces/SanketAI/chiforge/resolve/main/server/tasks/task_medium_logic_bug/task.json
- Command line
-
hf download hf://spaces/SanketAI/chiforge/server/tasks/task_medium_logic_bug/task.json
-
curl -L -o task.json https://huggingface.co/spaces/SanketAI/chiforge/resolve/main/server/tasks/task_medium_logic_bug/task.json
581 Bytes
| { | |
| "name": "task_medium_logic_bug", | |
| "difficulty": "medium", | |
| "description": "Fix the logic error in the full adder. The sum computation uses the wrong operator — it compiles but produces incorrect simulation output.", | |
| "bug_type": "logic", | |
| "hint": "The sum output does not match the full adder truth table. Check which Boolean operator is used.", | |
| "expected_sim_output": "a b cin | sum cout\n-------------------\n0 0 0 | 0 0\n0 0 1 | 1 0\n0 1 0 | 1 0\n0 1 1 | 0 1\n1 0 0 | 1 0\n1 0 1 | 0 1\n1 1 0 | 0 1\n1 1 1 | 1 1" | |
| } | |