Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
cp -r . "$RUNNER_TEMP/render-check"
cd "$RUNNER_TEMP/render-check"
rm -rf companies formats by-month guides insights free experiences data
rm -rf companies company-types formats by-month guides insights free experiences data
python3 scripts/sync.py \
--catalog-file scripts/fixtures/catalog-sample.json \
--today 2026-09-11
Expand Down
45 changes: 43 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,46 @@ lands there.
That is why there is no "edit the table" pull request path: a hand-edited row would be
overwritten by the next sync within the hour. Send the sighting, not the diff.

## Adding a company to the registry

Every company page prints a line like *🔬 Semiconductors & chips · 10,000+ people · Big Tech*, and
[`company-types/`](company-types/README.md) cuts the whole bank by it — what quant firms ask, what
Big Tech asks, what a two-hundred-person startup asks. Sector and size are facts about the
**employer**, which no question carries, so they live in one hand-written file:
[`scripts/company_registry.py`](scripts/company_registry.py).

If a company here is under *Not classified*, that is the two-line fix:

```python
"ramp": {"sector": "fintech", "size": "large"},
```

* **`sector`** is one of the ids in [`scripts/segments.py`](scripts/segments.py) — `ai`, `fintech`,
`quant-trading`, `semiconductors`, `dev-infra`, `enterprise-saas`, `consumer-internet` and the
rest. That file lists what each one covers.
* **`size`** is a headcount band: `mega` (10,000+), `large` (1,000–9,999), `mid` (200–999),
`startup` (under 200).
* **The key** is the slug the company's page is filed under — `company_key("Capital One")` →
`capital-one`. A test fails if a key is not in that form, because a key that is not canonical is
an entry nothing will ever look up.

Three rules, and the first matters more than the other two:

1. **If you are not sure, leave it out.** `None` on either field is a legitimate answer and so is no
entry at all. An absent company appears on every page exactly as before — it is simply in no
company-type cut. A *wrong* one files an employer under a loop it does not run, on a page
somebody chose deliberately. Never infer a sector from the name.
2. **Size is the company, not the office.** Alphabet's headcount for Google; a household-brand
subsidiary (LinkedIn, Waymo) is judged on the subsidiary.
3. **"Big Tech" is not a value you can set.** It is derived — a technology-sector employer with
10,000+ people — so if a company belongs there, the fix is its sector and its size.

The same registry, in the same shape and with the same keys, lives in the two job-list
repositories ([New-Grad-Opportunities](https://github.com/kevin-2023-code/New-Grad-Opportunities),
[Internship-Opportunities](https://github.com/kevin-2023-code/Internship-Opportunities)). A
company's sector must not depend on which repository you read it in, so a correction is worth
making in all three.

## Pull requests

PRs are welcome for the **tooling**, not the tables:
Expand All @@ -55,8 +95,9 @@ PRs are welcome for the **tooling**, not the tables:
- `README.md` prose, `CONTRIBUTING.md`, `DESIGN.md`.
- `.github/` — workflows and issue forms.

Everything inside `companies/`, `formats/`, `by-month/`, `guides/` and `data/` is generated. The sync
overwrites those directories and deletes anything in them it did not produce.
Everything inside `companies/`, `company-types/`, `formats/`, `by-month/`, `guides/`, `insights/`,
`free/`, `experiences/` and `data/` is generated. The sync overwrites those directories and deletes
anything in them it did not produce.

Before opening a PR that touches `scripts/`:

Expand Down
58 changes: 56 additions & 2 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ is also the landing page.** Those two jobs have opposite requirements.
because the file *is* the company.
- `formats/<slug>.md` — drops the Format column, same reason.
- `by-month/YYYY-MM.md` — what was being asked in a given month.
- `guides/README.md` — the interview PROCESS, grouped by company: the recruiter screen, the
hiring-manager round, the culture interview, the project deep-dive. Each company's guides
- `guides/README.md` — the Study-section writeups, grouped by company. Most are the interview
PROCESS — a recruiter screen, a hiring-manager round, a culture interview — but the same
endpoint also carries problems worked end to end and reviews of other products, so no
renderer may announce which kind a row is. `tags` is the only evidence. Each company's guides
are also repeated at the TOP of its own page, above the questions, because that is the
order you need them in — which rounds a company runs, and then what to practise for them.
- Every page is capped at 192,000 bytes and paginates into `-2.md`, `-3.md` before it gets
Expand Down Expand Up @@ -204,6 +206,58 @@ They are the same rules as §3, applied to numbers instead of rows.
deletes a page nobody was watching.
- **Nothing claims quality.** These pages say what the catalog counted.

## 3b. The company page, and the cut above it

A company page used to be a table of questions with a list of guides on top. That answers
*what has been asked at Amazon*, which is the second question somebody has. The first one is
**what is the loop, and what should I do first** — and every part of that answer was already
in the metadata this repository carries, being shown nowhere.

So `scripts/company_page.py` builds a preamble before the catalog, and every block in it is
a count of what was REPORTED rather than a claim about the employer:

| Block | What it counts |
| :-- | :-- |
| **At a glance** | Questions tracked, the most recent sighting, the last quarter, the dominant format, the difficulty split, how much is free. |
| **The loop, as reported** | Rows per round — OA, phone screen, onsite, take-home — with the format each round leans on and its difficulty split. |
| **Asked here in the last 90 days** | The actual rows, newest first. The answer to "is any of this current?" |
| **What they ask about** | Topics as a share of the rows *that carry a label*, with when each was last seen. |
| **When they asked it** | Sightings by month, so a quiet quarter looks like a quiet quarter. |
| **Start here** | Eight rows, ranked by *most recently reported, then asked at the most other companies* — the rule printed above the table. |
| **Guides · Interview reports** | The round writeups, and what candidates said happened in the room. |

The distinction that keeps this honest is one column wide. *What this round is* — "a timed
set you sit alone, usually before a human has read your CV" — is a definition of the
FORMAT, true of the industry and of no employer in particular. The number beside it is
about this employer. Putting them in one table is what stops the page drifting from
counting into asserting, and it is why `ROUND_MEANINGS` carries no company-specific words.

**`company-types/` is the same machinery pointed at a GROUP of employers**, because nobody
prepares for one company at a time: they are getting ready for a quant loop, a Big Tech loop
or a twenty-person startup's loop. The bank knew what Citadel asks and what Optiver asks and
had no way to put the nine of them together.

- The cut is over **employers**, and its questions are the **union, deduplicated** — a
question reported at Google and at Meta is one question to somebody preparing for Big
Tech, and counting it twice makes every share on the page wrong in the same direction.
- The sector and headcount band come from `scripts/company_registry.py`, a hand-written
file, and `scripts/segments.py` defines what the values mean. **A company nobody could
identify is unclassified, never guessed**: it appears on every page exactly as before and
is in no company-type cut, because a reader who filters to Fintech and finds a staffing
agency stops trusting the other cuts too. The index prints the coverage rather than
implying the taxonomy is complete.
- **"Big Tech" is derived, not declared** — a technology-sector employer with 10,000+
people, a rule the page prints. That is why Cisco is in it and a 40,000-person
engineering consultancy is not, and why the fix for a company in the wrong place is its
sector and size rather than a new bucket.
- A cut with fewer than five questions behind it gets no page: it would appear for an hour
and break every link anybody had shared.

The same taxonomy, with the same keys, is used by the two job-list repositories. The
company whose loop you read about here is filed under the same sector on the list that told
you the job was open — which is the whole reason it is a transcription rather than two
independent inventions.

## 4. The pipeline

```
Expand Down
Loading
Loading