Repository navigation
Open every company page with the loop, and cut the bank by company type - #2
Merged
Merged
Conversation
A company page was 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 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.
`scripts/company_page.py` now builds a preamble above the catalog, and every
block in it is a COUNT of what was reported rather than a claim about the
employer:
* **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), what 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 month by month, so a quiet quarter looks
like a quiet quarter.
* **Start here** — eight rows under a rule printed above the table: most
recently reported, then asked at the most other companies.
* **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. Nothing on the page
asserts anything about a company that the catalog did not count.
**`company-types/` is the same machinery pointed at a GROUP of employers.**
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, and the bank knew what
Citadel asks and what Optiver asks with no way to put the nine of them
together. The cut is over employers and its questions are the union,
deduplicated, because a question reported at Google and at Meta is one question
to somebody preparing for Big Tech.
Sector and headcount come from `scripts/company_registry.py`, the same registry
and the same keys the two job-list repositories use — so the company whose loop
you read here is filed under the same sector on the list that told you the job
was open. A company nobody could identify is unclassified, never guessed: it
appears everywhere it did before and in no company-type cut, and the index
prints the coverage rather than implying the taxonomy is complete.
Also fixed: "**1 questions** with a sighting recorded in May 2024" and eleven
more like it — `render.plural` and a test that scans every rendered page for
the next one.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (193)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
A company page now says which company-type filter the sibling job lists file this employer under, rather than only linking the repositories. The sector is NAMED rather than linked: a cut with too little behind it gets no page, and a cross-repository link is the one this repository's own link test cannot check. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
* It said '115 sightings across this cut' over a table of 12, with nothing
saying so. The company page already carried the 'N more in this window'
note under the same table; this one now does too.
* The Company column named the question's first three employers, unordered
with respect to the cut — so a row on the quant page read 'Microsoft,
Amazon, Apple …' and named none of the quant firms that put it there. It
is now 'In this cut', and names those.
* company_label was called without the API label table, the only such call
in the repository. An employer whose API display name differs from the
transcription was printed one way here and another way on its own page,
one click apart.
* The topic table's shares sum past 100% because a question can carry two
topics — true on the company page too, where it says so. Now it says so
here.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
… 'Mongodb'
Three things the review pass found, two of them pre-existing:
* **`guides/README.md` linked at `companies/general.md`, which does not
exist.** The guides index is built from GUIDES and company pages from
QUESTIONS, so an employer with a guide and no question got a link to a file
the generator never writes. It now says so instead — and there is a
link-walk test, the guard the sibling job lists already had.
* **`company-types/README.md` was written only when there were cuts**, while
the README's hand-written nav links at it unconditionally. An empty registry
is a reachable state, so the page is always written and says plainly that
nothing is classified yet — an empty section is a sentence here, as it is
everywhere else.
* **The alias table had drifted from its JS twin**, so the same employers read
"Mongodb", "Ebay", "Hubspot" and "Geico" here and correctly on the job
lists. Casing-only entries, deliberately: an alias that inserts a SPACE
changes the slug, and the slug is the address of that company's page on the
site. A test now asserts no alias can move a company's page.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
The window sentence printed both of its bounds as dates, and both move with the clock — so each day's first sync rewrote all 99 company pages with one line changed and nothing about the company different. The heading above it already names the window and the Reported column dates every row in it. What still changes daily is the window COUNT itself, as sightings age out of 90 days. That is a change to what the page says, which is the same reason this repository's 🔥 and 🆕 markers expire on a clock. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
The registry is now the adjudicated set: every employer was classified once,
the 400 with the most rows were classified a second time independently, and a
third pass adjudicated the disagreements — 1-9% on sector and 6-12% on size,
resolved toward *no answer* wherever neither reading was defensible. Three
audits then went back over 460 of the rows (the highest-traffic ones, a long-
tail sample, and every row classified as AI, fintech, quant or security) and
reported no error they were confident about.
1,099 employers carry a sector and 780 a headcount band; the rest are
deliberately absent, which is what the coverage line on the hub reports.
Three things the audits did surface:
* **Roshal Health is out.** It was classified against a taxonomy that
contradicted itself — naming it both as an example of the health sector and
as an example of a name a sector must not be inferred from. With no
independent evidence either way, the rule says leave it out. The comment
that asserted what the company does is gone too: it was the same
name-inference the rule forbids, made in the file that states the rule.
* **One employer was still several.** `Chicagotrading`, `Verkada Inc.` and
`Valon Mortgage` were separate rows from `Chicago Trading`, `Verkada` and
`Valon` — and Akuna Capital, reaching the catalog under two spellings, was
classified `mid` under one and `large` under the other. The alias table
merges the three, and Akuna is `mid` on the audit's reading of its
headcount.
* **A sector was named for half of what it holds.** "Government, labs &
universities" put a homelessness charity under a label that reads as
*research* while a non-profit school chain sat in Other industries. It is
"Government, research & non-profits" now.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
… the one line that asserts
Three findings from an adversarial pass over the published pages:
* **Every company page promised "a server-judged verdict" for every title.**
Only the algorithm, low-level-design and SQL formats are judged; system
design opens a whiteboard and AI coding opens a sandbox where a run's exit
code is a diagnostic, never a verdict — 377 of 2,315 questions. The claim
was in the same sentence that promises nothing on the page is asserted.
The formats are now named wherever the claim is made, and a test scans
every rendered page for an unqualified one.
* **The sector chip is the one line on a company page that is not a count**,
and it was printed as a bare blockquote with no rule and no source. It now
links at the cut that states the rule — and where it says *Big Tech*, it
prints what that means.
* **A guide count was a floor printed as a total.** When the catalog API can
only hand over one page of guides, the index carries a standing "this list
is incomplete" notice; the company pages printed a bare number, which is
the same lie in a smaller font. They print `17+` and say why.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
…yer once
Two findings from a robustness pass:
* **A catalog row's `type` became a filesystem path.** `question_from_payload`
takes `type` as free text and `build.py` turns it straight into
`formats/{type}.md` and `free/{type}.md`; the writer then creates the
directories on the way. One row could therefore name a file anywhere the
process can reach. This repository already says pruning is "scoped to the
generated directories by construction" — writing is now scoped the same
way, by checking the rendered paths rather than by trusting the f-strings
that built them.
* **A question naming one employer under two spellings was counted twice on
that employer's page.** The alias tables exist to fold `SpaceX` and
`Spacex` onto one key, which is exactly what made the double-append
possible: two strings, one key, two rows — in the page's own count and in
every share taken over it. Keys are deduped per question now, in
`group_by_company`, `group_guides_by_company` and the insights rollup.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
`lib/companies.mjs` gained roughly forty-five alias entries this session that `labels.py` did not have. The two tables only agree about an employer's NAME while they agree about their contents, and disagreeing is what puts "Ge Healthcare" on a company page under a job row that says "GE Healthcare" — the same one-employer-two-spellings failure the alias table was written to close, reintroduced across repositories instead of within one. This is the acronym half of that drift: hp, ibm, kla, amd, nxp, gm, ge, bmw, sap, usa, uk. Casing-only entries are the safe half to transcribe wholesale, because `company_key` lowercases before it slugs — so an acronym can change how a name is PRINTED and never which page it is filed under. The word-break entries in COMPANY_LABELS are the opposite (an entry there merges two rows onto one key) and stay a deliberate, case-by-case edit. The claim is now pinned rather than asserted in a comment: every token in ACRONYMS is checked to leave its slug untouched, alone and in both positions of a compound name. No rendered file changes today — the bank's ninety-nine employers all carry labels already — which is the point of landing it before the hundredth arrives. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
Two pieces of copy on every company page asserted more than the data behind them supports. Both are visible on a thin company, which is exactly where a generated page is read most carefully. **The guides block** said each writeup covered "the recruiter screen, the hiring-manager round, the culture interview, the project deep-dive" — a list of round names nothing verifies. Across the bank the same endpoint carries problems worked end to end and reviews of other products, so on Brex, which has one guide, the page announced a round writeup over a row titled "Credit Card Service with Points Earning and Redemption System". The heading, the "At a glance" row, the lede, the table header, the guides index, the by-topic page and the README all repeated it; all seven now describe what the section IS and point at the Topics column, which is the only evidence a guide row carries about its own contents. `catalog.Guide`'s docstring — where the belief started — says so too, so the next renderer does not reintroduce it. **Start here** printed "ranked by the most recently reported, then the ones the most other companies also ask" over a table where, on any company with no dated sighting and no shared question, every row shows `—` in both of the columns that sentence names. What actually ordered them was difficulty and then the slug. The sentence is now built from the rows in hand: it names both keys when both separated something, one when only one did, and says "this is not a ranking" when neither did — always naming the tie-break in force, since that is what the reader is looking at. Amazon is unchanged; Brex now says what it means. The heading is spelled once (`GUIDES_HEADING`), because a jump link, a summary row and a section heading that drift apart make a link that silently scrolls to the top. python3 -m unittest discover scripts # 125 passing, 5 new python3 scripts/sync.py --check # re-render is a no-op Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
All four are statements a reader could check and find wrong. **The "At a glance" footnote disagreed with its own table.** It counted rows dated ON OR BEFORE today and called the complement *unmeasured*, which is the UNDATED set — so the one row dated Feb 2126 was reported as carrying no date at all. The LinkedIn page said "34 of them carry a sighting date; the other 21 are unmeasured" while the table below it showed 35 dates and 20 dashes. Both numbers wrong, in opposite directions, on the one line whose job is to let a reader audit the table under it. It also contradicted the rest of the repository, which is what settles it: `insights/` says that row "is counted as dated and excluded from every window". The census now asks whether there IS a date, the window cells go on asking whether it has happened, and when the two disagree the page names the third state instead of folding it into one side. **The closing block sat above the largest section on the page.** All 99 pages put a horizontal rule and a sign-off directly before `## Every question reported at X`, so a reader hit what read as the end of the document and then found 60 to 230 more rows — and "Every title **above**" was false: on the Google page 20 of 161 question links are above it and 141 below. It now points forward, as the company-type page beside it always has, which makes it a lead-in rather than a footer in front of a table. Renamed accordingly; a function called `_footer` that is not one is how it stayed wrong. **A month dated a century out led the month browser.** `by-month/README.md` sorted keys lexically, the one rule `render._sort_key` states and applies everywhere else, so "Feb 2126" headed the index, led the landing page's month row, and EVICTED a real month — Oct 2025, 39 questions — from that row's twelve slots. The most valuable ordering in the repository, awarded to whichever row is most wrong. Future months now sort last and keep their pages, and the sentence `insights/` has carried all along is on the two pages a reader actually lands on, neither of which links to `insights/`. The caveat on `insights/trends.md` was unconditional — printing a warning about future months on a bank that has none — and is now gated on the months actually in its table, not on `future_dated`, which counts rows later in the CURRENT month and is a different fact. **The companies index promised a section it would not emit** (*Not classified* at 99/99 coverage), and the one page headed "Browse by company type" was the only place in the repository from which "what does Big Tech ask" could not be reached: the group names were plain bold text. Eighteen headings now link at their cuts, a cut below the minimum stays bold rather than becoming a 404, and all four size cuts appear — three of them had pages, were on the root README and on `company-types/README.md`, and were missing from this one. python3 -m unittest discover scripts # 133 passing, 8 new python3 scripts/sync.py --check # re-render is a no-op Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A company page was 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 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.
What a company page is now
Everything below is a count of what was reported, never a claim about the employer. See
companies/amazon.mdorcompanies/citadel.md.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.
The repository's own rules hold throughout: a share names its denominator, an empty window is a sentence rather than a table of zeros, and a company with no dated sighting prints
— unmeasuredrather than0.Claims the page made that a reader could check and find wrong
Six, across three rounds. Each was found by re-deriving the committed output rather than reading the source.
—in both of those columns — the order was really difficulty, then slug. It now names only the keys that did work, and says "this is not a ranking" when neither did.render._sort_keyhas stated the three-bucket rule all along; the month index was the one place not applying it.company-types/— the same machinery, pointed at a groupNobody 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, with no way to put the nine of them together.
The registry
Sector and headcount come from
scripts/company_registry.py— the same registry and the same keys the two job-list repositories use, so the company whose loop you read here is filed under the same sector on the list that told you the job was open. A company nobody could identify is unclassified, never guessed.The name table is held equal to the job lists' the same way. Its casing-only half (
ACRONYMS) is transcribed wholesale, becausecompany_keylowercases before it slugs — so an acronym changes how a name is printed and never which page it is filed under, which is pinned by a test rather than asserted in a comment.Also fixed
"1 questions with a sighting recorded in May 2024" — live on four month pages, and eleven more like it across the company pages.
render.plural, plus a test that scans every rendered page for the next one.Checks
Docs:
DESIGN.md§3b explains the page and the rules it holds;CONTRIBUTING.mdexplains how to add a company in two lines.🤖 Generated with Claude Code
https://claude.ai/code/session_01Ahkv7j1ocPg6gYdCtXiEyu