Loading...
Loading...
Generate tiered knowledge-verification questions (quiz/exam) at 3 difficulty levels with grading and diagnostics. For testing UNDERSTANDING of code, concepts, or architecture — NOT for writing software tests (use engineering:testing-strategy for that). Triggers on "문제 만들어", "quiz", "검증 문제", "이해도 확인", "knowledge check", "challenge me", "시험 문제", "면접 문제".
npx skill4agent add whynowlab/stack-skills tiered-test-generator**[T1] Q1.** What is the primary responsibility of the `UserService` class?
a) Database access
b) Authentication
c) User CRUD operations
d) Session management
**[T2] Q2.** Given this function, what happens when `input` is `null`?
```python
def process(input):
return input.strip().lower()api/routes.py:45-60
### Type B: Architecture & Design
For testing system-level understanding.
```markdown
**[T1] Q1.** What architectural pattern does this codebase follow?
**[T2] Q2.** If read traffic increases 100x, which component becomes the bottleneck first? What's your mitigation strategy?
**[T3] Q3.** The current system uses synchronous inter-service communication. Design a migration path to event-driven architecture that:
- Has zero downtime
- Can be rolled back at any stage
- Preserves data consistency guarantees**[T1] Q1.** What is the purpose of a code review?
**[T2] Q2.** Given this PR with 3 changed files, identify the 2 most important review comments you would make.
**[T3] Q3.** Design a CI/CD pipeline for this project that balances speed with safety. Justify each stage's inclusion and the order.**[T1] Q1.** Define "eventual consistency" in your own words.
**[T2] Q2.** Your system uses eventual consistency for user profiles. A user updates their email and immediately tries to log in with the new email. What happens? How do you handle it?
**[T3] Q3.** Compare eventual consistency vs. strong consistency for a financial transaction system. Under what specific conditions would you choose eventual consistency despite the risks?Tier 1 (Conceptual): 3 questions — foundation verification
Tier 2 (Applied): 3 questions — practical understanding
Tier 3 (Expert): 3 questions — mastery and edge cases## Test: [Topic]
### Instructions
- [N] questions across 3 difficulty tiers
- Answer all questions, then submit for grading
- Open-ended questions: aim for 2-3 sentences
---
### Tier 1: Conceptual
**Q1.** [question]
a) [option] b) [option] c) [option] d) [option]
**Q2.** [question]
**Q3.** [question]
---
### Tier 2: Applied
**Q4.** [scenario + question]
**Q5.** [debugging scenario]
**Q6.** [what-happens-when scenario]
---
### Tier 3: Expert
**Q7.** [edge case challenge]
**Q8.** [design challenge]
**Q9.** [trade-off analysis]
---
> Submit your answers and I'll grade them with detailed feedback.## Results: [Topic]
### Score: [X]/[Total] ([percentage]%)
Scoring weights by tier:
- Tier 1 (Conceptual): 5 pts each (×3 = 15)
- Tier 2 (Applied): 10 pts each (×3 = 30)
- Tier 3 (Expert): 15 pts each (×3 = 45)
- **Total: 90 points**
### Answer Review
| Q# | Tier | Result | Score |
|----|------|--------|-------|
| 1 | T1 | O/X | /5 |
| 2 | T1 | O/X | /5 |
| 3 | T1 | O/X | /5 |
| 4 | T2 | O/X | /10 |
| 5 | T2 | O/X | /10 |
| 6 | T2 | O/X | /10 |
| 7 | T3 | O/X | /15 |
| 8 | T3 | O/X | /15 |
| 9 | T3 | O/X | /15 |
### Detailed Feedback
#### Q[N] — [X] Incorrect
**Your answer:** [what they said]
**Correct answer:** [what it should be]
**Why:** [explanation of the correct answer]
**Key insight:** [what understanding gap this reveals]
### Diagnostic Summary
| Dimension | Assessment |
|-----------|-----------|
| Concept Connectivity | [How well fundamentals are linked] |
| Procedural Stability | [How reliably they can apply knowledge] |
| Meta-Cognition | [How well they know what they don't know] |
### Recommended Next Steps
- [Specific topics to review based on wrong answers]deep-dive-analyzer