mirror of
https://github.com/bitbaum/substrata.git
synced 2026-12-05 06:47:29 +01:00
* fix(index): rank the Ask evals on a fixed day, and hand every producer the build's now buildChunks(now) keyed its memo by now's day but called the event and quality producers without it, so a caller pinning now still got today's recency and today's date-dependent quality findings. On 2026-10-25 the lapsed 30-day series re-read added 139 quote-checked-recently findings to the index and one pushed science:high-na-euv to sixth for 'How ready is high-NA EUV technology?'. Reproduced at8e85c7e,71978bdand2fd9194with the clock pinned: every one passes on 2026-10-24 and fails on 2026-10-25 (before #242 the row that fell out was jobs-niger instead). No commit introduced it. The evals test ranking, not the calendar; staleness has its own gates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * feat(research): --write dates only what a re-check actually found check-series.ts --write sets checkedOn on a series only when every point's quote was re-read in that run and found; misses and unreachable pages keep their last real date. check-job-boards.ts re-opens each careers page and re-dates only records that still hold; the file's own date is the oldest record's. Both are named as the refresh in config/substrata-freshness.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * data: re-read 2026-10-25 — 128 of 139 series, 109 of 138 job-board records check-series.ts --write: 535 of 574 quotes found, 0 missing, 39 unreachable from the sandbox (31 www.asml.com press releases now 301 to investor.asml.com, which answers 403; 8 data.bls.gov 503). The 11 series behind them keep 2026-09-24. check-job-boards.ts --write: 109 records held, 29 not confirmed (kept at 2026-09-24). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * data: listings re-searched 2026-10-25 (SEC tickers + OpenFIGI, all 138) pnpm run research:listings, full mode (not --revalidate, which re-applies the rule to stored rows without searching): every OpenFIGI search answered. Two rows moved: Air Liquide's SEC OTC line (AIQUF) is no longer in the SEC ticker table; Fanuc now has one (FANUF, CIK 1446596). The 7 private rows come from config/substrata-listing-overrides.ts, as the script defines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * ci(data): a monthly re-check that commits only what it re-read and found .github/workflows/recheck-data.yml runs check-series --write, check-claims --write and check-job-boards --write (and the ~70-minute listings re-search on the schedule or when asked), then commits to the dispatched branch or opens a bot/recheck-data-<date> PR. Token: FLEET_PAT, else GITHUB_TOKEN, as in auto-merge.yml; a GITHUB_TOKEN push triggers no CI, so the PAT is preferred. check-claims.ts dates research/claims.json only when every claim's sentence still reads in its file and every series it cites was re-read and found today, and prints the latest values beside each claim for the reviewer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * data: three dead ASML source URLs point at the same releases as filed with the SEC The 2019-Q4, 2020 annual and 2024-Q2 press releases on www.asml.com now 301 to ASML's generic press-release index. The same releases are exhibits to ASML's Form 6-K filings (0000937966-20-000003, -21-000003, -24-000019); all seven quotes were re-read there and found. One quote is shortened to a verbatim span of the same sentence: the filed HTML splits 'at' across a tag ('a t'), so the sentence's opening cannot be matched mechanically. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * ci(data): run the re-check once on this branch (temporary push trigger) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * data: re-check 2026-10-25 (scheduled re-read) Dates moved only for what was re-read and found in this run; see the workflow summary for every row that was not. * fix(quality): a word split across two style runs reads as one word SEC filings print some words as two font runs ('EU</font><font …>V'), and the reader turned every tag into a space, so 'EUV' read 'EU V' and a quote copied from the rendered page missed. Only a letter-run-letter split is joined; a footnote run ('billion</font><font>2') and every other tag stay a space. Full re-read before/after: no quote that was found is lost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * data: ASML points the runner cannot open, re-sourced to the same releases on SEC EDGAR investor.asml.com answers 403 to GitHub's runners as well as to the sandbox. Sixteen points whose page could not be opened from either now cite the same press release as filed with the SEC (Form 6-K); each quote was re-read there and found. The 2020-Q4 bookings quote is back to its full sentence (the page reader now joins 'a t'). SICC: the quotes carried the old reader's split ('S iC'); they now read 'SiC', as the page does, and are found. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * feat(research): job boards re-checked in a browser, and absences re-checked too A careers page whose served HTML lacks the system's mark is drawn in Chromium (the workspace's Playwright); failing that, the tenant the evidence names must still answer as that system. A record saying something is NOT there holds while it still is not (no careers link, site still down, hosts named still not answering). The workflow installs Chromium for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * data: re-check 2026-10-25 (scheduled re-read) Dates moved only for what was re-read and found in this run; see the workflow summary for every row that was not. * data: job boards — every site the evidence names may show the system; 4 more held Run from the sandbox with Chromium on the 11 records the runner could not confirm: chalco, openai, supermicro and ase-technology… held where a site the record names still shows its system; 7 stay at 2026-09-24 (listed in the PR). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * ci(data): drop the one-off push trigger; schedule and dispatch only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * feat(freshness): rows tried and not confirmed are a visible, expiring exception A re-check that cannot confirm a row (a source that refuses our servers, a page that changed) now records it in the dataset file's 'unconfirmed' list with the reason and the day it was tried — written by check-series and check-job-boards --write, never by hand; a row confirmed later leaves it. The gate counts a listed row as tried on that day: the dataset is judged by the oldest of each row's own check or recorded try, so an entry expires like any date and next month's run must try again. A dataset with listed rows is never 'fresh' (it reads 'late' and is under Needs attention), and /data/freshness and /api/health/freshness name every row with its reason. Tests: a row neither dated nor listed fails, an expired entry fails, a listing for another row covers nothing, and the table renders the list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * data: record the rows no re-check could confirm on 2026-10-25 check-series --write lists us-employment-semiconductor-related-device- manufacturing (data.bls.gov answered 503 to the sandbox and to GitHub's runner; BLS refuses datacenter addresses). check-job-boards --write lists air-products, umc (403), tanaka-kikinzoku (504), baosteel-gases, element-six and yaskawa. nippon-steel was re-opened: its recruit page's yelloop.jp link is an alumni network; /recruit/hq/ still links its axol entry (job.axol.jp/bx/s/nipponsteel_27), so the evidence names that page and the record held. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
196 lines
4.2 KiB
CSS
196 lines
4.2 KiB
CSS
/* ── Freshness: /data/freshness, the footer badge, and state dots anywhere ── */
|
|
.fresh-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-label);
|
|
letter-spacing: var(--tracking-caps);
|
|
text-transform: uppercase;
|
|
color: var(--color-fg-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
.fresh-dot {
|
|
width: 0.55rem;
|
|
height: 0.55rem;
|
|
border-radius: 999px;
|
|
background: var(--color-fg-muted);
|
|
flex: none;
|
|
}
|
|
.fresh-badge.is-fresh .fresh-dot {
|
|
background: var(--color-status-positive);
|
|
}
|
|
.fresh-badge.is-late .fresh-dot {
|
|
background: var(--color-status-warning);
|
|
}
|
|
.fresh-badge.is-stale .fresh-dot,
|
|
.fresh-badge.is-failing .fresh-dot {
|
|
background: var(--color-status-negative);
|
|
}
|
|
.fresh-badge.is-failing,
|
|
.fresh-badge.is-stale {
|
|
color: var(--color-status-negative);
|
|
}
|
|
.fresh-badge.is-demand .fresh-dot,
|
|
.fresh-badge.is-off .fresh-dot {
|
|
background: transparent;
|
|
border: 1px solid var(--color-fg-muted);
|
|
}
|
|
.fresh-footer {
|
|
min-height: var(--size-target);
|
|
}
|
|
.fresh-footer-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
column-gap: 1.25rem;
|
|
}
|
|
.fresh-footer:hover {
|
|
color: var(--color-fg-primary);
|
|
text-decoration: underline;
|
|
text-underline-offset: 0.2em;
|
|
}
|
|
|
|
.fresh-attention {
|
|
margin-bottom: 2rem;
|
|
padding: 0.75rem 1rem;
|
|
border-left: 3px solid var(--color-status-warning);
|
|
background: var(--color-surface-raised);
|
|
font-size: 0.9rem;
|
|
color: var(--color-fg-primary);
|
|
}
|
|
.fresh-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.85rem;
|
|
}
|
|
.fresh-table th,
|
|
.fresh-table td {
|
|
padding: 0.75rem 0.75rem 0.75rem 0;
|
|
border-bottom: 1px solid var(--color-border-subtle);
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
.fresh-table thead th {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.68rem;
|
|
font-weight: 400;
|
|
letter-spacing: var(--tracking-caps);
|
|
text-transform: uppercase;
|
|
color: var(--color-fg-tertiary);
|
|
border-bottom-color: var(--color-border-strong);
|
|
}
|
|
.fresh-table tbody th {
|
|
font-weight: 400;
|
|
max-width: 24rem;
|
|
}
|
|
.fresh-name {
|
|
display: block;
|
|
font-weight: 600;
|
|
color: var(--color-fg-primary);
|
|
}
|
|
.fresh-what {
|
|
display: block;
|
|
margin-top: 0.2rem;
|
|
font-size: 0.78rem;
|
|
line-height: 1.45;
|
|
color: var(--color-fg-tertiary);
|
|
}
|
|
.fresh-shows {
|
|
display: inline-block;
|
|
margin-top: 0.3rem;
|
|
font-size: 0.78rem;
|
|
color: var(--color-accent);
|
|
text-underline-offset: 0.2em;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.fresh-shows:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.fresh-num {
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.fresh-code {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
color: var(--color-fg-secondary);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.fresh-queue {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
max-width: 44rem;
|
|
color: var(--color-fg-secondary);
|
|
}
|
|
.fresh-queue a {
|
|
color: var(--color-accent);
|
|
}
|
|
|
|
/* A table of six columns does not fit a phone: each row becomes a card, each cell labelled. */
|
|
@media (max-width: 760px) {
|
|
.fresh-table thead {
|
|
display: none;
|
|
}
|
|
.fresh-table,
|
|
.fresh-table tbody,
|
|
.fresh-table tr,
|
|
.fresh-table th,
|
|
.fresh-table td {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.fresh-table tr {
|
|
padding: 0.9rem 0;
|
|
border-bottom: 1px solid var(--color-border-subtle);
|
|
}
|
|
.fresh-table th,
|
|
.fresh-table td {
|
|
border: 0;
|
|
padding: 0.2rem 0;
|
|
max-width: none;
|
|
}
|
|
.fresh-table td {
|
|
display: grid;
|
|
grid-template-columns: 8.5rem 1fr;
|
|
gap: 0.75rem;
|
|
}
|
|
.fresh-table td::before {
|
|
content: attr(data-label);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.66rem;
|
|
letter-spacing: var(--tracking-caps);
|
|
text-transform: uppercase;
|
|
color: var(--color-fg-muted);
|
|
}
|
|
}
|
|
@media (max-width: 760px) {
|
|
.fresh-table td > * {
|
|
justify-self: start;
|
|
}
|
|
}
|
|
|
|
.fresh-unconfirmed td {
|
|
border-left: 3px solid var(--color-status-warning);
|
|
}
|
|
|
|
.fresh-unconfirmed-list {
|
|
margin: 0.4rem 0 0;
|
|
padding-left: 1.1rem;
|
|
list-style: disc;
|
|
font-size: 0.78rem;
|
|
line-height: 1.45;
|
|
color: var(--color-fg-secondary);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
/* On a phone the note spans the card: no label column beside it. */
|
|
@media (max-width: 760px) {
|
|
.fresh-table .fresh-unconfirmed td {
|
|
display: block;
|
|
padding-left: 0.6rem;
|
|
}
|
|
.fresh-table .fresh-unconfirmed td::before {
|
|
content: none;
|
|
}
|
|
}
|