Replace category_a/category_b directories with algorithm, pipeline, environment, filesystem, and process. Add separate mode field (solve/convert) to decouple orchestration from capability grouping. Add per-category summary and questionnaire breakdowns to both terminal report and HTML export.
40 lines
567 B
TOML
40 lines
567 B
TOML
name = "fizzbuzz"
|
|
category = "algorithm"
|
|
mode = "solve"
|
|
description = """
|
|
Read a single integer N from stdin. Print numbers from 1 to N, one per line.
|
|
For multiples of 3, print "Fizz" instead of the number.
|
|
For multiples of 5, print "Buzz" instead of the number.
|
|
For multiples of both 3 and 5, print "FizzBuzz" instead of the number.
|
|
"""
|
|
|
|
[[test_cases]]
|
|
stdin = "15"
|
|
expected_stdout = """1
|
|
2
|
|
Fizz
|
|
4
|
|
Buzz
|
|
Fizz
|
|
7
|
|
8
|
|
Fizz
|
|
Buzz
|
|
11
|
|
Fizz
|
|
13
|
|
14
|
|
FizzBuzz"""
|
|
|
|
[[test_cases]]
|
|
stdin = "5"
|
|
expected_stdout = """1
|
|
2
|
|
Fizz
|
|
4
|
|
Buzz"""
|
|
|
|
[[test_cases]]
|
|
stdin = "1"
|
|
expected_stdout = "1"
|