Grand Quiz โ€” The Pi Coding Harness

Lesson 11: Grand Quiz โ€” The Pi Coding Harness

Twenty questions covering all ten lessons, two per lesson. Answer everything to get your grade. This is the final retrieval-practice pass โ€” if you can answer these from memory, you know the harness.

๐Ÿง  Grand Quiz

Meet Pi

1. Who created pi, and under what lineage does it ship today?

2. What four tools does pi give the model by default?

Sessions & the TUI

3. What makes pi sessions different from a flat chat log?

4. Which command shows the current session's token count and cost?

Models & Providers

5. In models.json, which four cost fields can a model declare?

6. What do thinking budgets like "low: 4096" control?

Extensions

7. Which event lets an extension block or rewrite a tool call before it executes?

8. Which ExtensionAPI method registers a new tool the LLM can call?

Skills & Templates

9. When is a skill's full content loaded into the model's context?

10. In a prompt template, what does $@ expand to?

Packages & Themes

11. Which command installs a pi package from npm?

12. What can a pi package bundle?

Token Economics

13. What is the default compaction.reserveTokens value, and what is it for?

14. Why does pi skip prompt-cache writes for compaction requests?

Headless Pi

15. Which flag runs pi as a one-shot non-interactive prompt?

16. What does --mode json emit?

Oh My Pi

17. What engine powers omp's heavy lifting?

18. What makes hashline edits cheaper per edit?

Vanilla vs omp

19. What is pi's default tool surface compared to omp's?

20. Which statement about running both is true?