Quiz 2

Chatty · Pattern difficulty taxonomy

291 words
1 min read
2026-08-16T00:00:00.000Z
Python Week 1: the first filter for runtime behavior
Visual companion
Python
Type and operator map

Python Week 1: the first filter for runtime behavior

View
Revision summary

What this note is really saying

Short form

Easy / Medium / Hard / Adversarial definitions and pattern anatomy. # 30.

30. Our difficulty taxonomy

Every practice question I generate will get classified.

🟢 Easy — Recognition

You know exactly which tool to use.
Example:
Find the slope through (1,2)(1,2) and (3,6)(3,6).

🟡 Medium — Transformation

You must recognize and transform the problem.
Example:
A line is perpendicular to another line and passes through a given point. Find its equation.

🔴 Hard — Composition

Multiple concepts interact.
Example:
A probability problem requires counting → conditional probability → Bayes.
Or:
A Python question requires nested iteration → dictionary accumulation → condition filtering.

⚫ Adversarial

The mathematics/programming itself isn't necessarily difficult.
The difficulty comes from:
  • unusual wording
  • misleading representation
  • hidden constraint
  • boundary case
  • distractor information
  • inverse reasoning
  • subtle Python semantics
These are the questions I particularly want to train you on for Quiz 2.

31. Every pattern will eventually have this anatomy

For example, take Bayes' theorem.

Pattern

Given evidence, infer the probability of the underlying cause.

Step 1 — Identify

What is the hypothesis?
What is the evidence?

Step 2 — Translate

A=hypothesisA=\text{hypothesis}
B=evidenceB=\text{evidence}

Step 3 — Determine requested direction

Are they asking:
P(BA)P(B\mid A)
or
P(AB)P(A\mid B)
?

Step 4 — Recognize inversion

If the latter, Bayes is likely relevant.

Step 5 — Expand denominator

P(B)=P(BA)P(A)+P(BAc)P(Ac)P(B) = P(B\mid A)P(A) + P(B\mid A^c)P(A^c)

Step 6 — Substitute

Step 7 — Sanity check

Probability must lie in:
[0,1][0,1]

Step 8 — Generalize

Any problem involving:
prior → mechanism → observed evidence → posterior
belongs to the same family.
That is what I mean by "pattern" in this prep system.

Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.