Compare commits

...

60 Commits

Author SHA1 Message Date
codex-bot cf47c1af31 补核2026法律公共事务七项并保留主体与签名验证缺项 2026-10-31 19:34:59 +08:00
codex-bot 06a6883be3 补核2026金融十项并拆分客户资产与软件净收入 2026-10-31 19:24:13 +08:00
codex-bot 9c08d9dc0f 补核2026安全组13项并核实 HODOR 法国登记 2026-10-31 19:17:04 +08:00
codex-bot c0924df7c4 补齐2026企业组候选并核实 Optise 登记与收入边界 2026-10-31 19:09:34 +08:00
codex-bot 0e1e127d4b 补核2026企业组第二批并区分成果合同与平台净费 2026-10-31 19:00:57 +08:00
codex-bot a9e5ac6a87 补核2026企业组八项并拆分任务交易与软件收入 2026-10-31 18:54:23 +08:00
codex-bot b81e1ad76e 补核2026汽车交通六项及软硬件与租赁收入边界 2026-10-31 18:46:19 +08:00
codex-bot 1f87628076 建立2026竞赛名单对账并补核农业食品七项 2026-10-31 18:42:59 +08:00
codex-bot a6a1860ef1 核实七项原网址对应并保留 SaveFirst 沿革缺项 2026-10-31 18:37:54 +08:00
codex-bot 94dcac4e95 补齐健康最后八项并对账2025总入口候选 2026-10-31 18:33:58 +08:00
codex-bot ec0d9abb34 补核健康七项及设备会员与原始验证边界 2026-10-31 18:29:50 +08:00
codex-bot d2e83cd33b 补核健康第三批及研究验证与收购边界 2026-10-31 18:25:30 +08:00
codex-bot 69c3cc8e64 补核健康名单第二批及 Eos 既有主体关联 2026-10-31 18:21:57 +08:00
codex-bot cdb84376cb 补核健康名单首六项及软硬件收入口径 2026-10-31 18:17:42 +08:00
codex-bot fabfce1f4c 补核娱乐物流制造24项并收录 CosmicBrain 2026-10-31 18:10:52 +08:00
codex-bot 142fa62d10 补核清洁能源22项并对账2025竞赛总名单 2026-10-31 18:00:37 +08:00
codex-bot 868594c79a 补核航天防务7项与 HANCE 后继 Rapidly 主体 2026-10-31 17:50:19 +08:00
codex-bot 83f91f1b1e 补核农业食品14项并收录按店计费的 Clave 2026-10-31 17:42:18 +08:00
codex-bot f99a354db2 增加按分类与成立年份浏览的 ARR 披露表 2026-10-31 17:36:03 +08:00
codex-bot 6410535ed9 补核TechCrunch消费教育26项并拆分交易硬件与软件收入 2026-10-31 17:27:07 +08:00
codex-bot db3b21bf54 补核TechCrunch安全名单9项并区分旧主体与收入口径 2026-10-31 17:14:55 +08:00
codex-bot 7140ea0469 完成54项缺年池补查并按最新官方字段纳入Graphide 2026-10-31 17:07:43 +08:00
codex-bot 241c82aa88 同步研究快照的核查与技术统计测试断言 2026-10-31 16:47:31 +08:00
codex-bot 5d62dee4e9 补核6项缺年候选并拆分推理代收与客户价值 2026-10-31 16:44:22 +08:00
codex-bot 445bfb37d0 补核6项缺年候选并区分旧业务与资金示例 2026-10-31 16:41:30 +08:00
codex-bot baaea4fc61 补核6项缺年候选并以登记证据纳入Zymbly 2026-10-31 16:38:01 +08:00
codex-bot ac04839571 补核6项缺年候选并保留旧品牌与服务收费边界 2026-10-31 16:34:12 +08:00
codex-bot a2a5958fc4 补核12项缺年候选并关联官方主体登记 2026-10-31 16:29:35 +08:00
codex-bot feb4de220d 补核6项成立冲突并拆分旧年份与缺年候选 2026-10-31 04:48:47 +08:00
codex-bot 652b0fd539 完成192项AI不明名单补核并核对预订与交付口径 2026-10-31 04:37:52 +08:00
codex-bot 5ee04f26ae 补核24项AI候选并区分实体销售与预付收入 2026-10-31 04:26:29 +08:00
codex-bot 812749823b 补核24项AI不明候选并区分同名主体与流失收入 2026-10-31 04:16:25 +08:00
codex-bot 8a4df5c7ba Review fifth uncertain AI cohort and distinguish ARR from service and contract claims 2026-10-31 04:03:33 +08:00
codex-bot 8d886ad3cc Review fourth uncertain AI cohort and separate managed services from transaction flows 2026-10-31 03:51:44 +08:00
codex-bot 790dda09de Review third uncertain AI cohort and retain shutdown and mixed service evidence 2026-10-31 03:44:51 +08:00
codex-bot 5182eca961 Review second uncertain AI cohort and separate client and legacy financials 2026-10-31 03:38:16 +08:00
codex-bot 5cd8f831be Review uncertain AI candidates and preserve unresolved business scope 2026-10-31 03:31:34 +08:00
codex-bot a520694f9e Merge developer tag review into consolidated AI research 2026-10-31 03:17:15 +08:00
codex-bot dc373bad09 Merge model tag review into consolidated AI research 2026-10-31 03:17:08 +08:00
codex-bot dc2c3a22f3 Merge industry review into consolidated AI research 2026-10-31 03:17:02 +08:00
codex-bot fefa7c5ebd Merge enterprise review into consolidated AI research 2026-10-31 03:16:57 +08:00
codex-bot 5c2d9fd06c Complete remaining tag review and distinguish intent from revenue 2026-10-31 03:13:45 +08:00
codex-bot 85a0c534aa Review mixed directory tags and separate historical Mixy income 2026-10-31 03:06:48 +08:00
codex-bot d4736f7477 Complete enterprise-tag review and exclude prospective income claims 2026-10-31 02:59:56 +08:00
codex-bot f41d9e0d53 Review first enterprise-tag cohort and separate client metrics 2026-10-31 02:51:26 +08:00
codex-bot 1736912ecb Complete developer tag review and distinguish agent hosting cost models 2026-10-31 02:39:58 +08:00
codex-bot 45f1d1dba3 Review developer tag candidates and separate runtime and compute businesses 2026-10-31 02:32:24 +08:00
codex-bot d9d675ce56 Complete industry tag review and distinguish service revenue run rates 2026-10-31 02:17:19 +08:00
codex-bot b8a82359e3 Review 20 industry tag candidates and Litmus historical ARR 2026-10-31 02:05:45 +08:00
codex-bot 4682e3513e Review 20 tag-classified industry candidates and current AI relevance 2026-10-31 02:00:16 +08:00
codex-bot c0ff99e640 Complete remaining 39 industry classifications and revenue boundary checks 2026-10-31 01:53:42 +08:00
codex-bot b5e4f817fb Review 20 industry companies and separate services from model claims 2026-10-31 01:44:23 +08:00
codex-bot df227df18c Review 30 industry companies and distinguish revenue commitments 2026-10-31 01:37:48 +08:00
codex-bot 1e81887682 research: review regulated services and separate client assets from income 2026-10-31 01:23:41 +08:00
codex-bot c25fb79eee research: separate industry software from brokerage and operations services 2026-10-31 01:18:08 +08:00
codex-bot a8b054381f research: distinguish industry services and model training inputs 2026-10-31 01:12:51 +08:00
codex-bot 8e5df06fdd research: review industry workflows and historical ARR boundaries 2026-10-31 01:07:22 +08:00
codex-bot 4942b86a4a research: finish enterprise classification and separate Tasklet product history 2026-10-31 00:57:16 +08:00
codex-bot 7e4f4fe3e6 research: separate enterprise workflows and speech model evidence 2026-10-31 00:37:13 +08:00
codex-bot 1e716c36b2 research: review enterprise workflows and product pivots 2026-10-31 00:29:52 +08:00
10 changed files with 52049 additions and 3799 deletions
+3 -3
View File
@@ -182,10 +182,10 @@ async function main() {
assert.equal(researchResponse.status, 200, "authenticated research API");
assert.ok(researchResponse.headers.get("cache-control")?.includes("no-store"));
const research = await researchResponse.json();
assert.equal(research.companies.length, 1051);
assert.equal(research.companies.length, 1173);
assert.equal(research.categories.length, 11);
assert.equal(research.evidence.length, 1909);
assert.equal(research.observations.length, 240);
assert.equal(research.evidence.length, 4043);
assert.equal(research.observations.length, 453);
assert.equal((await request("/api/research/ai-companies", { method: "POST", headers })).status, 405);
const researchPage = await request("/docs/other-research/ai-company-research/overview", { headers });
assert.equal(researchPage.status, 200);
@@ -1,6 +1,7 @@
import { useEffect, useMemo, useRef, useState } from "react";
import { useRouter } from "next/router";
import IncomeDistribution from "./IncomeDistribution";
import ArrDisclosures from "./ArrDisclosures";
import {
categorySummary, evidenceUrl, technicalReviewLabels, reviewCompanyIds, type ResearchEvidence, type ResearchReview, type ResearchSnapshot,
} from "@/lib/ai-research";
@@ -154,6 +155,7 @@ export default function AICompanyResearch() {
</>}
{tab === "revenue" && <>
<IncomeDistribution data={data} onSelect={setSelected} />
<ArrDisclosures data={data} onSelect={setSelected} />
<h3>企业披露与估算的历史里程碑</h3>
<p className="research-notice">这一组包含 {disclosedCompanies} 家公司的披露或估算信号;企业披露含公司或交易当事方公开材料,披露主体与审计状态见证据。多为异时点历史里程碑,期间收入不直接年化,ARR 与年化收入口径仍待核对,暂不计算其同期领域均值。币种未确认的记录仅显示原值,不绘制美元长度条。上面的平台MRR统计与这一组分开。</p>
<div className="research-revenue-chart" aria-label="不同时间的公开收入里程碑,线性长度,非同行排名">{observed.map((o) => <div key={o.id}>
@@ -0,0 +1,41 @@
import { useState } from "react";
import { evidenceUrl, type ResearchSnapshot } from "@/lib/ai-research";
import { arrDisclosures } from "@/lib/research-statistics";
const labels: Record<string, string> = {
signal: "企业或当事方披露", estimate: "第三方估算",
historical: "历史披露", "historical-estimate": "历史估算",
};
export default function ArrDisclosures({ data, onSelect }: { data: ResearchSnapshot; onSelect: (id: string) => void }) {
const [category, setCategory] = useState("");
const [year, setYear] = useState("");
const rows = arrDisclosures(data, { category, foundedYear: year ? Number(year) : undefined });
const companies = new Set(rows.map((row) => row.company.id));
const categories = new Map(data.categories.map((item) => [item.id, item.name]));
const evidence = new Map(data.evidence.map((item) => [item.id, item]));
return <section aria-label="ARR披露分类表">
<h3>2025—2026 年成立公司的 ARR 披露</h3>
<p className="research-notice">这是跨时点证据表,共 {companies.size} 家公司、{rows.length} 条记录;同一公司的历史里程碑逐条保留,不能相加或视为独立公司。ARR 标签沿用原始披露,未证明经常性收入定义或审计状态;不纳入 MRR 图表,不计算同期行业均值或造假概率。仅收录明确标注的 ARR;定义冲突、目标、承诺、客户和前雇主收入排除,缺失不作零。</p>
<div className="research-filters">
<label>业务分类<select value={category} onChange={(event) => setCategory(event.target.value)}><option value="">全部分类</option>{data.categories.map((item) => <option key={item.id} value={item.id}>{item.name}</option>)}</select></label>
<label>成立年份<select value={year} onChange={(event) => setYear(event.target.value)}><option value="">2025 与 2026</option><option value="2025">2025</option><option value="2026">2026</option></select></label>
</div>
<div className="research-table-wrap"><table>
<caption>金额保留原币种、下界和估算身份;日期栏保留业务截至日缺项</caption>
<thead><tr><th>公司 / 分类</th><th>收费与交付模式</th><th>原始 ARR 声明</th><th>时点</th><th>身份 / 限制</th><th>证据</th></tr></thead>
<tbody>{rows.map(({ company, observation: item }) => {
const source = evidence.get(item.evidence);
const url = source && evidenceUrl(source.url);
return <tr key={item.id}>
<td><button onClick={() => onSelect(company.id)}>{company.name}</button><small>{categories.get(company.cat)} · {company.year}</small></td>
<td>{company.businessModel ?? company.price}</td>
<td>{item.bound !== "=" && item.bound}{new Intl.NumberFormat("zh-CN", { maximumFractionDigits: 2 }).format(item.value)} {item.unit}<small>{item.kind}</small></td>
<td>{item.timing}</td><td>{labels[item.selection]}<small>{item.reason}</small></td>
<td>{url ? <a href={url} target="_blank" rel="noopener noreferrer">{item.evidence} ↗</a> : item.evidence}</td>
</tr>;
})}</tbody>
</table></div>
{!rows.length && <p>当前筛选没有符合条件的已记录 ARR 声明;不代表这些公司收入为零。</p>}
</section>;
}
+3 -3
View File
@@ -48,7 +48,7 @@ export type ResearchCandidateBatch = {
records: {
id: string; name: string; url: string | null; categoryId: string;
kind: "product" | "company" | "promotion"; profileStatus: "readable" | "unavailable" | "archive-only";
status: "pending-year" | "linked" | "existing-outside-cohort" | "outside-cohort" | "promotion";
status: "pending-year" | "pending-ai" | "linked" | "existing-outside-cohort" | "outside-cohort" | "promotion";
companyId?: string; evidenceIds?: string[]; note: string;
}[];
};
@@ -125,13 +125,13 @@ export function validateResearch(snapshot: ResearchSnapshot) {
if (!row.name.trim() || !row.note.trim() || !categories.has(row.categoryId) ||
!["product", "company", "promotion"].includes(row.kind) ||
!["readable", "unavailable", "archive-only"].includes(row.profileStatus) ||
!["pending-year", "linked", "existing-outside-cohort", "outside-cohort", "promotion"].includes(row.status) ||
!["pending-year", "pending-ai", "linked", "existing-outside-cohort", "outside-cohort", "promotion"].includes(row.status) ||
(row.kind !== "promotion" && (!row.url || !evidenceUrl(row.url))) ||
(row.url !== null && !evidenceUrl(row.url)) ||
linked !== !!row.companyId || (row.companyId && !companies.has(row.companyId)) ||
(row.kind === "promotion") !== (row.status === "promotion") ||
(row.evidenceIds ?? []).some((id) => !evidence.has(id)) ||
(row.status === "outside-cohort" && !row.evidenceIds?.length))
(["outside-cohort", "pending-ai"].includes(row.status) && !row.evidenceIds?.length))
throw new Error(`Invalid research candidate: ${row.id}`);
}
}
+14
View File
@@ -1,6 +1,20 @@
import type { ResearchCompany, ResearchObservation, ResearchSnapshot } from "./ai-research";
export type IncomePoint = { company: ResearchCompany; observation: ResearchObservation; value: number };
/** An evidence ledger, never a comparable sample: retain historical claims and estimates separately. */
export function arrDisclosures(snapshot: ResearchSnapshot, options: { category?: string; foundedYear?: number } = {}) {
const companies = new Map(snapshot.companies.map((company) => [company.id, company]));
return snapshot.observations.flatMap((observation) => {
const company = companies.get(observation.company);
if (!company || ![2025, 2026].includes(company.year ?? 0) || observation.metric !== "arr" ||
!["signal", "estimate", "historical", "historical-estimate"].includes(observation.selection) ||
!Number.isFinite(observation.value) || observation.value < 0 ||
(options.category && company.cat !== options.category) ||
(options.foundedYear && company.year !== options.foundedYear)) return [];
return [{ company, observation }];
});
}
export type IncomeStats = {
n: number; mean: number; median: number; min: number; max: number;
sampleDeviation: number | null; cv: number | null; meanMedianRatio: number | null;
+393 -12
View File
@@ -11,7 +11,31 @@ import { openSiteDatabase } from "../src/lib/site-database";
import { categorySummary, evidenceUrl, reviewCompanyIds, validateResearch, type ResearchSnapshot } from "../src/lib/ai-research";
import { consumeCode, initializeStore } from "../src/lib/auth-store";
import { newAuthConfig } from "../src/lib/auth";
import { describeIncome, groupIncome, platformIncomeSample } from "../src/lib/research-statistics";
import { arrDisclosures, describeIncome, groupIncome, platformIncomeSample } from "../src/lib/research-statistics";
test("ARR ledger preserves historical estimates without promoting targets, run rates or outside-cohort claims", () => {
const snapshot = structuredClone(seed) as ResearchSnapshot;
const rows = arrDisclosures(snapshot);
const ids = new Set(rows.map((row) => row.observation.id));
for (const id of ["O064", "O065", "O066", "O069", "O070", "O071", "O046"])
assert.ok(ids.has(id), `${id}: historical claims, estimates and unknown currencies remain visible`);
for (const id of ["O050", "O052", "O053", "O055", "SR-O-AI067-runrate", "ROCKET-O-arr", "AQ-O-RUNRATE"])
assert.ok(!ids.has(id), `${id}: excluded or ambiguous records cannot enter the ARR ledger`);
assert.equal(rows.find((row) => row.observation.id === "O066")?.observation.selection, "historical-estimate");
assert.equal(rows.find((row) => row.observation.id === "O046")?.observation.unit, "原文$,币种待核");
const category = snapshot.companies.find((company) => company.id === "AI055")!.cat;
const filtered = arrDisclosures(snapshot, { category, foundedYear: 2025 });
assert.ok(filtered.length > 0);
assert.ok(filtered.every((row) => row.company.cat === category && row.company.year === 2025));
// A future mistakenly typed target still must not enter the ledger.
const target = snapshot.observations.find((item) => item.id === "O052")!;
target.metric = "arr";
target.company = "AI055";
assert.ok(!arrDisclosures(snapshot).some((row) => row.observation.id === target.id));
const claim = snapshot.observations.find((item) => item.id === "O065")!;
claim.value = Number.NaN;
assert.ok(!arrDisclosures(snapshot).some((row) => row.observation.id === claim.id));
});
test("research revisions share the authentication database and preserve replay limits", () => {
const dir = mkdtempSync(join(tmpdir(), "site-research-"));
@@ -23,9 +47,9 @@ test("research revisions share the authentication database and preserve replay l
for (let i = 0; i < 20; i++) consumeCode(config, "invalid");
assert.equal(consumeCode(config, "invalid"), "limited");
const initial = readResearchSnapshot();
assert.equal(initial.companies.length, 1051);
assert.equal(initial.evidence.length, 1909);
assert.equal(initial.observations.length, 240);
assert.equal(initial.companies.length, 1173);
assert.equal(initial.evidence.length, 4043);
assert.equal(initial.observations.length, 453);
assert.deepEqual(initial.candidateBatches, seed.candidateBatches, "candidate gaps persist in the same database metadata");
assert.deepEqual(initial.directoryRechecks, seed.directoryRechecks, "follow-up classifications persist without rewriting the discovery audit");
assert.deepEqual(readResearchSnapshot(), initial, "reopening does not duplicate records");
@@ -64,8 +88,8 @@ test("research validation rejects broken evidence and unsafe source links", () =
test("reviews link explicit companies without turning global or excluded cases into companies", () => {
const snapshot = structuredClone(seed) as ResearchSnapshot;
assert.equal(snapshot.reviews.filter((r) => r.scope === "companies").length, 118);
assert.equal(snapshot.reviews.filter((r) => r.scope === "dataset").length, 12);
assert.equal(snapshot.reviews.filter((r) => r.scope === "companies").length, 198);
assert.equal(snapshot.reviews.filter((r) => r.scope === "dataset").length, 67);
assert.equal(snapshot.reviews.filter((r) => r.scope === "excluded-candidate").length, 44);
const review = snapshot.reviews.find((r) => r.id === "R4")!;
assert.deepEqual(reviewCompanyIds(snapshot, review), ["AI007", "AI013", "AI021", "AI034"]);
@@ -85,11 +109,11 @@ test("reviews link explicit companies without turning global or excluded cases i
test("disclosure counts exclude client income, biographies, targets and duplicate milestones", () => {
const snapshot = seed as ResearchSnapshot;
const summary = categorySummary(snapshot);
assert.equal(summary.reduce((n, c) => n + c.count, 0), 1051);
assert.equal(summary.reduce((n, c) => n + c.self, 0), 43);
assert.equal(summary.reduce((n, c) => n + c.count, 0), 1173);
assert.equal(summary.reduce((n, c) => n + c.self, 0), 58);
assert.equal(summary.reduce((n, c) => n + c.estimate, 0), 2);
assert.equal(summary.reduce((n, c) => n + c.platform, 0), 19);
assert.equal(summary.reduce((n, c) => n + c.unknown, 0), 987);
assert.equal(summary.reduce((n, c) => n + c.unknown, 0), 1094);
assert.equal(snapshot.companies.find((c) => c.name === "Rork")?.revenueStatus, "unknown");
assert.equal(snapshot.companies.find((c) => c.name === "Result")?.revenueStatus, "unknown");
assert.ok(snapshot.observations.filter((o) => o.selection === "signal").every((o) => o.scope === "公司整体"));
@@ -99,10 +123,33 @@ test("disclosure counts exclude client income, biographies, targets and duplicat
assert.ok(arena.metric !== "mrr" && arena.metric !== "arr", "a two-week cumulative figure cannot become MRR or ARR");
});
test("service run rates, legacy freight revenue and paid adoption do not become platform ARR", () => {
const snapshot = seed as ResearchSnapshot;
const runRate = snapshot.observations.find((o) => o.id === "INDUSTRY11-O-LOCKE-RUNRATE")!;
assert.equal(runRate.metric, "annualized-revenue");
assert.equal(runRate.selection, "historical");
assert.equal(runRate.observedAt, undefined);
assert.equal(runRate.comparisonGroup, null);
assert.equal(snapshot.companies.find((c) => c.id === "YC33283")?.revenueStatus, "self");
for (const id of ["TRUEMILE-OLD-REV", "VELTHA-DEMO", "LANTERN-OLD-REV"]) {
const observation = snapshot.observations.find((o) => o.id === `INDUSTRY11-O-${id}`)!;
assert.equal(observation.selection, "excluded");
assert.equal(observation.metric, undefined);
assert.equal(observation.comparisonGroup, null);
}
for (const [id, company] of [["VERDANT-DEPLOY", "YC32189"], ["SUTRIX-PAID", "YC36576"]]) {
const observation = snapshot.observations.find((o) => o.id === `INDUSTRY11-O-${id}`)!;
assert.equal(observation.selection, "adoption");
assert.equal(observation.metric, undefined);
assert.equal(snapshot.companies.find((c) => c.id === company)?.revenueStatus, "unknown");
}
assert.ok(platformIncomeSample(snapshot, { windowDays: 90 }).points.every((point) => !point.observation.id.startsWith("INDUSTRY11-")));
});
test("technical reviews keep accessible materials separate from tested capabilities", () => {
const snapshot = structuredClone(seed) as ResearchSnapshot;
assert.equal(snapshot.companies.filter((c) => c.technicalReview).length, 61);
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "public-artifact").length, 10);
assert.equal(snapshot.companies.filter((c) => c.technicalReview).length, 158);
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "public-artifact").length, 24);
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "independent-test").length, 1);
assert.equal(snapshot.companies.find((c) => c.id === "AI051")?.revenueStatus, "unknown");
assert.match(snapshot.companies.find((c) => c.id === "AI051")!.technicalReview!.testScope!, /Sep 2026/);
@@ -228,6 +275,10 @@ test("directory coverage reconciles every candidate and keeps profile-only incom
assert.equal(row.foundedYear, 2026, "original Native discovery remains unchanged");
assert.equal(company.year, null, "a model launch and YC date cannot settle the older business founding year");
assert.ok(snapshot.reviews.some((review) => review.id === "NATIVE-R-COHORT" && review.companyIds?.includes(company.id)));
} else if (company.id === "YC31470") {
assert.equal(row.foundedYear, 2025, "original Tasklet discovery remains unchanged");
assert.equal(company.year, null, "a new product cannot establish a new company founding year");
assert.ok(snapshot.reviews.some((review) => review.id === "ENTERPRISE3-R-TASKLET" && review.companyIds?.includes(company.id)));
} else {
assert.equal(company.year, row.foundedYear);
assert.ok([2025, 2026].includes(company.year!));
@@ -379,7 +430,7 @@ test("unreconciled directory financials remain source reviews instead of income
assert.ok(review.evidenceIds.includes("PH-TANA-DR"));
assert.equal(reviewCompanyIds(snapshot, review).length, 0);
assert.ok(!snapshot.observations.some((o) => o.evidence === "PH-TANA-DR"));
assert.equal(snapshot.candidateBatches!.flatMap((b) => b.records).filter((r) => r.status === "pending-year").length, 18);
assert.equal(snapshot.candidateBatches!.flatMap((b) => b.records).filter((r) => r.status === "pending-year").length, 93);
});
test("product pivots and founder histories do not become new company years or current revenue", () => {
@@ -416,6 +467,336 @@ test("follow-up evidence can admit an uncertain directory candidate without rewr
assert.throws(() => validateResearch(snapshot), /directory recheck/);
});
test("AI relevance follow-ups retain unresolved businesses and reuse existing company identities", () => {
const snapshot = structuredClone(seed) as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-AI-UNCLEAR-1")!;
assert.equal(batch.complete, false);
assert.equal(batch.records.length, 24);
const original = coverageAudit.records.filter((r) => r.status === "ai-unclear").slice(0, 24);
assert.deepEqual(batch.records.map((r) => r.url), original.map((r) => r.source));
const linked = batch.records.filter((r) => r.status === "linked");
assert.equal(linked.length, 17);
assert.equal(linked.filter((r) => r.companyId!.startsWith("YC")).length, 14);
for (const [name, id] of [["Bud", "AI070"], ["Prism", "AI030"], ["Parametric", "AI014"]]) {
assert.equal(linked.find((r) => r.name === name)?.companyId, id);
}
assert.equal(snapshot.companies.filter((c) => c.profileOnly || c.directoryOrigin === "yc-2025-2026").length, 928);
for (const row of linked) {
const ycId = Number(row.id.replace("YC-AI1-", ""));
assert.equal(snapshot.directoryRechecks!.find((r) => r.ycId === ycId)?.companyId, row.companyId);
}
const pending = batch.records.filter((r) => r.status === "pending-ai");
assert.equal(pending.length, 7);
assert.ok(pending.every((r) => !r.companyId && r.evidenceIds!.length && /2025/.test(r.note)));
assert.match(pending.find((r) => r.name === "Better Auth")!.note, /AI.*模块/);
validateResearch(snapshot);
pending[0].companyId = "AI014";
assert.throws(() => validateResearch(snapshot), /research candidate/);
delete pending[0].companyId;
pending[0].evidenceIds = [];
assert.throws(() => validateResearch(snapshot), /research candidate/);
});
test("historical monthly revenue and customer examples do not enter recurring platform comparisons", () => {
const snapshot = seed as ResearchSnapshot;
const monthly = snapshot.observations.find((o) => o.id === "UNCLEAR1-O-SCALAR-MONTHLY")!;
assert.equal(monthly.value, 74000);
assert.equal(monthly.selection, "historical");
assert.equal(monthly.metric, undefined, "monthly revenue alone does not establish MRR or ARR");
assert.equal(monthly.comparisonGroup, null);
assert.equal(snapshot.companies.find((c) => c.id === "YC30514")!.revenueStatus, "self");
for (const id of ["AMBY-CLIENT", "NIXO-EXAMPLE", "AUTOSTEP-WASTE"]) {
assert.equal(snapshot.observations.find((o) => o.id === `UNCLEAR1-O-${id}`)!.selection, "excluded");
}
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((p) => p.observation.id.startsWith("UNCLEAR1-")));
const cua = snapshot.companies.find((c) => c.id === "YC30420")!;
assert.equal(cua.cat, "C03");
assert.equal(cua.revenueStatus, "unknown");
assert.match(cua.businessModel!, /自备计算机/);
assert.equal(cua.technicalReview!.level, "public-artifact");
});
test("a second uncertain cohort admits evidenced AI tasks while preserving autonomy and finance gaps", () => {
const snapshot = seed as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-AI-UNCLEAR-2")!;
const original = coverageAudit.records.filter((r) => r.status === "ai-unclear").slice(24, 48);
assert.equal(batch.complete, false);
assert.deepEqual(batch.records.map((r) => r.url), original.map((r) => r.source));
assert.equal(batch.records.filter((r) => r.status === "linked").length, 13);
assert.equal(batch.records.filter((r) => r.status === "pending-ai").length, 11);
for (const name of ["Albacore Inc.", "Perseus Defense", "Munify", "Ruvo", "DeepGrove"]) {
const row = batch.records.find((r) => r.name === name)!;
assert.equal(row.status, "pending-ai");
assert.equal(row.companyId, undefined, "autonomy, a domain or finance automation alone is insufficient");
assert.ok(row.evidenceIds!.length);
}
const signals = snapshot.companies.find((c) => c.id === "YC30639")!;
assert.equal(signals.year, 2026, "retain the company year instead of assigning the batch's majority year");
assert.equal(signals.cat, "C06");
assert.equal(snapshot.companies.find((c) => c.id === "YC30846")!.cat, "C03");
assert.match(snapshot.companies.find((c) => c.id === "YC30821")!.business, /远端推理/);
assert.equal(snapshot.companies.find((c) => c.id === "YC30933")!.technicalReview!.level, "description",
"vendor clinical agreement is not an independent validation");
const amounts = snapshot.observations.filter((o) => o.id.startsWith("UNCLEAR2-"));
assert.equal(amounts.length, 8);
assert.ok(amounts.every((o) => ["excluded", "adoption"].includes(o.selection) && !o.metric && o.comparisonGroup === null));
assert.equal(amounts.find((o) => o.id.endsWith("WARDSTONE-GRANT"))!.selection, "excluded");
assert.equal(amounts.find((o) => o.id.endsWith("SOLVA-OLD-PREMIUM"))!.selection, "excluded");
assert.ok(batch.records.filter((r) => r.companyId).every((r) => snapshot.companies.find((c) => c.id === r.companyId)!.revenueStatus === "unknown"));
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((p) => p.observation.id.startsWith("UNCLEAR2-")));
});
test("the third uncertain cohort retains shutdowns, unknown scale and mixed data-service economics", () => {
const snapshot = seed as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-AI-UNCLEAR-3")!;
const original = coverageAudit.records.filter((r) => r.status === "ai-unclear").slice(48, 72);
assert.equal(batch.complete, false);
assert.deepEqual(batch.records.map((r) => r.url), original.map((r) => r.source));
assert.equal(batch.records.filter((r) => r.status === "linked").length, 12);
assert.equal(batch.records.filter((r) => r.status === "pending-ai").length, 12);
for (const name of ["Voltair", "Mirabelle", "ZeroSettle", "Kyten Technologies"]) {
assert.equal(batch.records.find((r) => r.name === name)!.companyId, undefined);
}
const klaus = snapshot.companies.find((c) => c.id === "YC31084")!;
assert.equal(klaus.revenueStatus, "unknown", "a shutdown must not manufacture a zero revenue report");
assert.match(klaus.stage, /2026-09-01停服/);
assert.ok(!snapshot.observations.some((o) => o.company === klaus.id));
const openspec = snapshot.companies.find((c) => c.id === "YC31116")!;
assert.equal(openspec.team, null, "missing staff count stays unknown");
assert.equal(openspec.year, 2025, "a license copyright line alone is not a company founding date");
assert.equal(openspec.technicalReview!.level, "public-artifact");
assert.match(snapshot.companies.find((c) => c.id === "YC31095")!.businessModel!, /清洁/);
const figures = snapshot.observations.filter((o) => o.id.startsWith("UNCLEAR3-"));
assert.equal(figures.length, 8);
assert.ok(figures.every((o) => ["excluded", "adoption"].includes(o.selection) && !o.metric && o.comparisonGroup === null));
assert.equal(figures.find((o) => o.id.endsWith("SHORTKIT-OLD-ARR"))!.selection, "excluded");
assert.equal(figures.find((o) => o.id.endsWith("KALPA-TRAIN-COST"))!.selection, "excluded");
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((p) => p.observation.id.startsWith("UNCLEAR3-")));
});
test("the fourth uncertain cohort distinguishes product pivots, managed labor and pass-through money", () => {
const snapshot = seed as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-AI-UNCLEAR-4")!;
const original = coverageAudit.records.filter((r) => r.status === "ai-unclear").slice(72, 96);
assert.equal(batch.complete, false);
assert.deepEqual(batch.records.map((r) => r.url), original.map((r) => r.source));
assert.equal(batch.records.filter((r) => r.status === "linked").length, 13);
assert.equal(batch.records.filter((r) => r.status === "pending-ai").length, 11);
assert.equal(batch.records.find((r) => r.name === "Orthogonal")!.companyId, "AI036");
assert.equal(snapshot.companies.filter((c) => c.url.endsWith("/companies/orthogonal")).length, 1);
const fern = snapshot.companies.find((c) => c.id === "YC31152")!;
assert.equal(fern.cat, "C02");
assert.match(fern.notes, /会议/);
const mocha = snapshot.companies.find((c) => c.id === "YC31269")!;
assert.equal(mocha.year, 2026);
assert.match(mocha.businessModel!, /人工/);
assert.match(mocha.price, /Platform.*Managed/);
assert.match(mocha.notes, /Coming soon/);
const figures = snapshot.observations.filter((o) => o.id.startsWith("UNCLEAR4-"));
assert.equal(figures.length, 7);
assert.ok(figures.every((o) => ["excluded", "adoption"].includes(o.selection) && !o.metric && o.comparisonGroup === null));
for (const suffix of ["LAURENCE-ADSPEND", "EKPA-CONNECTED-ASSETS", "REGBASE-CLIENT-GRANTS", "MOCHA-FUNDING"]) {
assert.equal(figures.find((o) => o.id.endsWith(suffix))!.selection, "excluded");
}
assert.equal(snapshot.companies.find((c) => c.id === "YC31199")!.technicalReview!.level, "public-artifact");
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((p) => p.observation.id.startsWith("UNCLEAR4-")));
});
test("the fifth uncertain cohort separates dated ARR, service run rates, bookings and previous ventures", () => {
const snapshot = seed as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-AI-UNCLEAR-5")!;
const original = coverageAudit.records.filter((r) => r.status === "ai-unclear").slice(96, 120);
assert.equal(batch.complete, false);
assert.deepEqual(batch.records.map((r) => r.url), original.map((r) => r.source));
assert.equal(batch.records.filter((r) => r.status === "linked").length, 15);
assert.equal(batch.records.filter((r) => r.status === "pending-ai").length, 9);
assert.equal(batch.records.find((r) => r.name === "primitive")!.companyId, "AI002");
assert.equal(batch.records.find((r) => r.name === "Result")!.companyId, "AI001");
const result = snapshot.companies.find((c) => c.id === "AI001")!;
assert.equal(result.cat, "C09");
assert.equal(result.revenueStatus, "unknown");
assert.match(result.notes, /280万美元ARR属于用户/);
assert.ok(result.evidenceIds.includes("UNCLEAR5-31438-TERMS"));
const andco = snapshot.companies.find((c) => c.id === "YC31411")!;
assert.equal(andco.year, 2026, "a founder's previous venture must not replace the new company's stated year");
assert.match(andco.notes, /Layup/);
assert.equal(snapshot.evidence.find((e) => e.id === "UNCLEAR5-31411-LAUNCH6")!.companyId, null);
const figures = snapshot.observations.filter((o) => o.id.startsWith("UNCLEAR5-"));
assert.equal(figures.length, 18);
const dated = figures.find((o) => o.id.endsWith("TRELLIS-ARR-AUG"))!;
assert.equal(dated.metric, "arr");
assert.equal(dated.observedAt, "2026-08-24");
assert.equal(dated.bound, "≥");
assert.equal(figures.find((o) => o.id.endsWith("INSTA-RUNRATE"))!.metric, "annualized-revenue");
assert.equal(figures.find((o) => o.id.endsWith("INSTA-LAUNCH-ARR"))!.metric, "arr");
for (const suffix of ["PARROT-CONTRACT", "KINRO-OLD-CONTRACT", "BENTO-OLD-EMPLOYER", "TRELLIS-OLD-MGMT"]) {
assert.equal(figures.find((o) => o.id.endsWith(suffix))!.selection, "excluded");
}
assert.equal(snapshot.companies.find((c) => c.id === "YC31423")!.technicalReview!.level, "description",
"an internal benchmark subset is not an independent leaderboard result");
assert.ok(figures.every((o) => o.comparisonGroup === null));
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((p) => p.observation.id.startsWith("UNCLEAR5-")));
});
test("the sixth uncertain cohort preserves namesakes, churn and historical robotics MRR", () => {
const snapshot = seed as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-AI-UNCLEAR-6")!;
const original = coverageAudit.records.filter((r) => r.status === "ai-unclear").slice(120, 144);
assert.equal(batch.complete, false);
assert.deepEqual(batch.records.map((r) => r.url), original.map((r) => r.source));
assert.equal(batch.records.filter((r) => r.status === "linked").length, 13);
assert.equal(batch.records.filter((r) => r.status === "pending-ai").length, 11);
const hera = snapshot.companies.find((c) => c.id === "YC32123")!;
const videoHera = snapshot.companies.find((c) => c.id === "AI025")!;
assert.equal(hera.cat, "C07");
assert.equal(hera.year, 2026);
assert.equal(videoHera.cat, "C08");
assert.equal(videoHera.year, 2025);
assert.notEqual(hera.url, videoHera.url, "same-name products with different YC pages must not be merged");
for (const name of ["Aernata", "Maquoketa Research", "Fire Wallet", "Eden Robotics", "Edgerun"]) {
const row = batch.records.find((r) => r.name === name)!;
assert.equal(row.status, "pending-ai");
assert.equal(row.companyId, undefined, "historical AI products, agent features and autonomous hardware need current-core evidence");
}
const figures = snapshot.observations.filter((o) => o.id.startsWith("UNCLEAR6-"));
assert.equal(figures.length, 13);
const churn = figures.find((o) => o.id.endsWith("ARDENT-CHURN"))!;
assert.equal(churn.selection, "excluded");
assert.equal(churn.metric, undefined, "lost ARR is not a positive current ARR observation");
assert.equal(snapshot.companies.find((c) => c.id === "YC31475")!.revenueStatus, "unknown");
const mrr = figures.find((o) => o.id.endsWith("AVEA-MRR"))!;
assert.equal(mrr.value, 18000);
assert.equal(mrr.metric, "mrr");
assert.equal(mrr.selection, "historical");
assert.match(mrr.unit, /无币种/);
assert.match(snapshot.companies.find((c) => c.id === "YC31530")!.notes, /Acquired/);
for (const suffix of ["PLAN0-PROJECTS-YC", "PLAN0-PROJECTS-LAUNCH", "SILMARIL-DAMAGE-YC", "SILMARIL-DAMAGE-CASE1", "SILMARIL-DAMAGE-CASE2", "EXPANSE-WASTE"]) {
assert.equal(figures.find((o) => o.id.endsWith(suffix))!.selection, "excluded");
}
const openwork = snapshot.companies.find((c) => c.id === "YC31505")!;
assert.equal(openwork.technicalReview!.level, "public-artifact");
assert.ok(openwork.technicalReview!.evidenceIds.includes("UNCLEAR6-31505-EE-LICENSE"));
assert.match(openwork.notes, /桌面MIT与ee目录/);
assert.ok(figures.every((o) => o.comparisonGroup === null));
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((p) => p.observation.id.startsWith("UNCLEAR6-")));
});
test("the seventh uncertain cohort separates hardware sales, prepayments and bounded verification", () => {
const snapshot = seed as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-AI-UNCLEAR-7")!;
const original = coverageAudit.records.filter((r) => r.status === "ai-unclear").slice(144, 168);
assert.equal(batch.complete, false);
assert.deepEqual(batch.records.map((r) => r.url), original.map((r) => r.source));
assert.equal(batch.records.filter((r) => r.status === "linked").length, 16);
assert.equal(batch.records.filter((r) => r.status === "pending-ai").length, 8);
const robotNori = snapshot.companies.find((c) => c.id === "YC32553")!;
const healthNori = snapshot.companies.find((c) => c.id === "YC30657")!;
assert.equal(robotNori.cat, "C10");
assert.equal(healthNori.cat, "C09");
assert.notEqual(robotNori.url, healthNori.url, "same-name hardware and health companies retain distinct identities");
assert.equal(batch.records.find((r) => r.name === "Nori")!.companyId, robotNori.id);
const figures = snapshot.observations.filter((o) => o.id.startsWith("UNCLEAR7-"));
assert.equal(figures.length, 18);
const sales = figures.find((o) => o.id.endsWith("NORI-SALES"))!;
assert.equal(sales.value, 440000);
assert.equal(sales.selection, "historical");
assert.equal(sales.metric, undefined, "hardware sales with unverified preorder/delivery mix must not become ARR");
assert.match(snapshot.companies.find((c) => c.id === "YC32164")!.price!, /额度/);
for (const suffix of ["GUT-PHARMACY", "MANIFOLD-PICKS", "ATC-CLIENT-FLEET", "OPERON-CLIENT-SAVE", "ANYALPHA-OLD-APPS", "LETTER-DEMO"]) {
assert.equal(figures.find((o) => o.id.endsWith(suffix))!.selection, "excluded");
}
assert.match(figures.find((o) => o.id.endsWith("LETTER-DEMO"))!.scope, /fictional/);
assert.equal(snapshot.companies.find((c) => c.id === "YC34899")!.cat, "C06");
const kailash = snapshot.companies.find((c) => c.id === "YC34828")!;
assert.equal(kailash.cat, "C10");
assert.equal(kailash.technicalReview!.level, "description", "an open-weights claim without readable weights or a model card is not a reviewed public artifact");
const graphify = snapshot.companies.find((c) => c.id === "YC32583")!;
assert.equal(graphify.technicalReview!.level, "public-artifact");
const proof = snapshot.evidence.find((e) => e.id === "UNCLEAR7-32583-PROOF")!;
assert.match(proof.summary, /unknown/);
assert.match(proof.summary, /函数/);
assert.match(proof.limitation, /整库正确/);
assert.match(snapshot.companies.find((c) => c.id === "YC32518")!.notes, /Build标Coming soon/);
for (const name of ["Kara", "Molagri", "TareBio", "Atomarine", "Vernius Systems, Inc."]) {
const row = batch.records.find((r) => r.name === name)!;
assert.equal(row.status, "pending-ai");
assert.equal(row.companyId, undefined);
}
assert.ok(figures.every((o) => o.comparisonGroup === null));
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((p) => p.observation.id.startsWith("UNCLEAR7-")));
});
test("all original AI-unclear candidates retain a unique follow-up without counting EveryApp twice", () => {
const snapshot = seed as ResearchSnapshot;
const rows = snapshot.candidateBatches!.filter((b) => b.id.startsWith("YC-AI-UNCLEAR-")).flatMap((b) => b.records);
const original = coverageAudit.records.filter((r) => r.status === "ai-unclear");
assert.equal(rows.length, 192);
assert.equal(new Set(rows.map((r) => r.url)).size, 192);
assert.deepEqual(rows.map((r) => r.url), original.map((r) => r.source));
assert.equal(rows.filter((r) => r.status === "linked").length, 110);
assert.equal(rows.filter((r) => r.status === "pending-ai").length, 82);
assert.equal(snapshot.directoryRechecks!.filter((r) => r.ycId === 36088).length, 1);
const everyapp = rows.find((r) => r.name === "EveryApp")!;
assert.equal(everyapp.companyId, "AI074");
assert.equal(snapshot.companies.filter((c) => c.id === "AI074").length, 1);
for (const row of rows.filter((r) => r.status === "pending-ai")) {
assert.equal(row.companyId, undefined);
assert.ok(row.evidenceIds!.length > 0, "unresolved AI relevance has explicit evidence and gaps");
}
assert.equal(snapshot.coverage!.newProfiles, 928, "later evidence does not rewrite the original discovery accounting");
});
test("the final uncertain cohort separates delivery-start rentals, reservations and upstream costs", () => {
const snapshot = seed as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-AI-UNCLEAR-8")!;
assert.equal(batch.complete, false, "reading the full pool does not resolve all AI, year or financial gaps");
assert.equal(batch.records.filter((r) => r.status === "linked").length, 11);
assert.equal(batch.records.filter((r) => r.status === "pending-ai").length, 13);
const rhem = snapshot.companies.find((c) => c.id === "YC35127")!;
assert.match(rhem.price!, /确认交付后/);
assert.match(rhem.price!, /99 USD/);
assert.equal(rhem.revenueStatus, "unknown");
assert.match(snapshot.companies.find((c) => c.id === "YC37272")!.price!, /预约/);
assert.match(snapshot.companies.find((c) => c.id === "AI074")!.price!, /有效订阅/);
assert.match(snapshot.companies.find((c) => c.id === "YC35396")!.notes, /Coming next/);
assert.match(snapshot.companies.find((c) => c.id === "YC36774")!.notes, /Early access/);
const figures = snapshot.observations.filter((o) => o.id.startsWith("UNCLEAR8-"));
assert.equal(figures.length, 9);
assert.ok(figures.every((o) => ["excluded", "adoption"].includes(o.selection) && !o.metric && o.comparisonGroup === null));
for (const suffix of ["OASIVE-OLD-WELLS", "OASIVE-OLD-GOOGLE", "OBSESSION-CALCULATOR", "EVERYAPP-UPSTREAM"]) {
assert.equal(figures.find((o) => o.id.endsWith(suffix))!.selection, "excluded");
}
for (const name of ["Clean", "STASIS", "RATLOG", "Inflection Space Systems", "twentyfour26"]) {
assert.equal(batch.records.find((r) => r.name === name)!.status, "pending-ai");
}
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((p) => p.observation.id.startsWith("UNCLEAR8-")));
});
test("founding conflicts preserve old product history without creating new companies or revenue", () => {
const snapshot = seed as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "YC-DATE-CONFLICT-1")!;
const original = coverageAudit.records.filter((r) => r.status === "date-conflict");
assert.equal(batch.complete, false);
assert.equal(batch.records.length, 6);
assert.deepEqual(batch.records.map((r) => r.url), original.map((r) => r.source));
assert.equal(new Set(batch.records.map((r) => r.url)).size, original.length);
for (const row of batch.records) {
assert.equal(row.status, "pending-year");
assert.equal(row.companyId, undefined);
const evidence = snapshot.evidence.filter((e) => row.evidenceIds!.includes(e.id));
assert.equal(evidence.length, row.evidenceIds!.length);
assert.ok(evidence.every((e) => e.companyId === null));
assert.ok(evidence.some((e) => e.publishedAt?.startsWith("2025-")), "old product launch remains explicit");
assert.ok(!snapshot.companies.some((c) => c.evidenceIds.some((eid) => row.evidenceIds!.includes(eid))));
}
assert.match(batch.records.find((r) => r.name === "Layers")!.note, /未确认当前AI核心/);
assert.ok(!snapshot.observations.some((o) => o.evidence.startsWith("YEARCONFLICT1-")));
const excluded = coverageAudit.records.filter((r) => r.status === "year-outside-or-missing");
assert.equal(excluded.filter((r) => r.foundedYear === null).length, 54);
assert.equal(excluded.filter((r) => r.foundedYear !== null).length, 214);
assert.ok(excluded.filter((r) => r.foundedYear !== null).every((r) => ![2025, 2026].includes(r.foundedYear!)));
});
test("Chinese discovery entries preserve unread articles and use separate primary evidence", () => {
const snapshot = structuredClone(seed) as ResearchSnapshot;
const batch = snapshot.candidateBatches!.find((b) => b.id === "JQ-2026-targeted-1")!;
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
{
"sourceVersion": "2026-10-31-model-tags-1",
"sourceVersion": "2026-10-31-tc26-government-1",
"asOf": "2026-10-31",
"metric": "platform-mrr-usd",
"sampleUnit": "product-or-business",
+81 -5
View File
@@ -85,7 +85,7 @@ def candidate_register():
all_ids = [r['id'] for b in batches for r in b['records']]
assert len(set(all_ids)) == len(all_ids)
lines = []
statuses = {'pending-year': '成立年待核', 'linked': '已关联公司',
statuses = {'pending-year': '成立年待核', 'pending-ai': 'AI主营待核', 'linked': '已关联公司',
'existing-outside-cohort': '已有关联,年份范围外',
'outside-cohort': '范围外或既有业务,不新增公司', 'promotion': '推广活动,非公司新增'}
for batch in batches:
@@ -97,13 +97,13 @@ def candidate_register():
assert sum(counts.values()) == len(rows)
lines += ['', f"## {batch['sourceId']} 候选核对({batch['id']})", '',
f"[发现页面]({batch['url']}),读取于{batch['accessedAt']}。{batch['scope']}", '',
f"本批{len(rows)}条:{counts['linked']}条关联公司、{counts['existing-outside-cohort']}条关联范围外对照、{counts['outside-cohort']}条范围外不新增公司、{counts['pending-year']}条成立年待核、{counts['promotion']}条推广活动。完整来源覆盖标记:{'已完成' if batch['complete'] else '未完成'}。主营或产品任务的初分类不计入主公司表数量,只有已关联的公司记录进入对应公司明细。候选与缺项随研究版本保存在文档站同一SQLite的研究元数据中。", '',
f"本批{len(rows)}条:{counts['linked']}条关联公司、{counts['existing-outside-cohort']}条关联范围外对照、{counts['outside-cohort']}条范围外不新增公司、{counts['pending-year']}条成立年待核、{counts['pending-ai']}条AI主营待核、{counts['promotion']}条推广活动。完整来源覆盖标记:{'已完成' if batch['complete'] else '未完成'}。主营或产品任务的初分类不计入主公司表数量,只有已关联的公司记录进入对应公司明细。候选与缺项随研究版本保存在文档站同一SQLite的研究元数据中。", '',
'| 发现条目 | 主营或产品任务初分 | 核对状态 | 关联公司 | 核对证据 | 限制 |', '| --- | --- | --- | --- | --- | --- |']
for row in rows:
assert row['categoryId'] in categories
assert row['status'] in statuses
assert all(eid in evidence for eid in row.get('evidenceIds', []))
if row['status'] == 'outside-cohort':
if row['status'] in {'outside-cohort', 'pending-ai'}:
assert row.get('evidenceIds') and not row.get('companyId')
name = f"[{row['name']}]({row['url']})" if row['url'] else row['name']
company = '—'
@@ -121,6 +121,73 @@ def candidate_register():
return lines
def uncertain_ai_followups():
original = {row['source']: row for row in AUDIT['records'] if row['status'] == 'ai-unclear'}
rows = [row for batch in DATA.get('candidateBatches', [])
if batch['id'].startswith('YC-AI-UNCLEAR-') for row in batch['records']]
if not rows:
return []
urls = [row['url'] for row in rows]
assert len(set(urls)) == len(urls), 'Duplicate AI-relevance follow-up URL'
rechecks = {row['ycId']: row for row in DATA.get('directoryRechecks', [])}
counts = Counter(row['status'] for row in rows)
assert set(counts) <= {'linked', 'pending-ai'}
for row in rows:
assert row['url'] in original and row.get('evidenceIds')
baseline = original[row['url']]
if row['status'] == 'linked':
assert rechecks[baseline['ycId']]['companyId'] == row['companyId']
else:
assert not row.get('companyId') and baseline['ycId'] not in rechecks
unread = len(original) - len(rows)
assert unread >= 0
return ['', '## 原AI主营不明名单的后续覆盖', '',
f"原名单{len(original)}项,已有后续记录{len(rows)}项:{counts['linked']}项关联公司、{counts['pending-ai']}项仍待核AI主营,{unread}项尚无本批系列的后续记录。计数按原始YC页面去重;EveryApp此前的独立复核与末批记录不重复相加。", '',
'读完名单只证明每项有可回查的处理记录,不证明待核项均为AI公司,也不证明法律主体、收入或技术效果已独立验证。原始发现审计保持不变,成立年范围外/缺失、成立冲突及其他来源的缺项仍单列。', '']
def founding_year_followups():
original = {row['source']: row for row in AUDIT['records'] if row['status'] == 'date-conflict'}
rows = [row for batch in DATA.get('candidateBatches', [])
if batch['id'].startswith('YC-DATE-CONFLICT-') for row in batch['records']]
urls = [row['url'] for row in rows]
assert len(set(urls)) == len(urls), 'Duplicate founding-conflict follow-up URL'
assert set(urls) <= set(original), 'Unknown founding-conflict follow-up URL'
evidence = {row['id']: row for row in DATA['evidence']}
for row in rows:
assert row['status'] == 'pending-year' and not row.get('companyId')
assert row.get('evidenceIds') and all(eid in evidence for eid in row['evidenceIds'])
assert all(evidence[eid]['companyId'] is None for eid in row['evidenceIds'])
unread = len(original) - len(rows)
return ['', '## 原成立年冲突名单的后续覆盖', '',
f"原名单{len(original)}项,已有后续记录{len(rows)}项,均保留成立年待核,{unread}项尚无本系列后续记录。当前业务初分类见候选表,不计入主公司表及收入统计。", '',
'2025旧品牌发布可证明当时已有产品材料;当前目录的2026字段、批次、条款日期和运营者名称不能单独证明法律主体成立或新旧主体连续。未据此强改成立年。Layers当前AI核心仍另待核。', '']
def missing_year_followups():
original = {row['source'] for row in AUDIT['records']
if row['status'] == 'year-outside-or-missing' and row['foundedYear'] is None}
rows = [row for batch in DATA.get('candidateBatches', [])
if batch['id'].startswith('YC-MISSING-YEAR-') for row in batch['records']]
urls = [row['url'] for row in rows]
assert len(set(urls)) == len(urls) and set(urls) <= original
evidence = {e['id']: e for e in DATA['evidence']}
for row in rows:
assert row['status'] in {'outside-cohort', 'pending-year', 'pending-ai', 'linked'}
assert row.get('evidenceIds')
if row['status'] == 'linked':
matches = [r for r in DATA.get('directoryRechecks', []) if r['companyId'] == row.get('companyId')]
assert len(matches) == 1 and matches[0]['originalStatus'] == 'year-outside-or-missing'
assert all(eid in evidence and evidence[eid]['companyId'] == row['companyId'] for eid in row['evidenceIds'])
else:
assert not row.get('companyId')
assert all(eid in evidence and evidence[eid]['companyId'] is None for eid in row['evidenceIds'])
counts = Counter(row['status'] for row in rows)
return ['', '## 原缺少成立年名单的后续覆盖', '',
f"原快照缺年{len(original)}项,外部补核已有{len(rows)}项:{counts['linked']}项关联公司、{counts['outside-cohort']}项既有主体/业务范围外、{counts['pending-year']}项成立年待核、{counts['pending-ai']}项AI主营待核,{len(original)-len(rows)}项尚无本系列外部补核记录。", '',
'当前YC缺年字段复读与外部主体核查分别统计。登记创建日、公司自述年、产品发布、条款更新和批次不相互替代;已查英国或法国主体不代表完整集团沿革已核。原54项发现计数不回写,也不以Inactive补零收入。', '']
def directory_rechecks():
rows = DATA.get('directoryRechecks', [])
if not rows:
@@ -167,6 +234,11 @@ def render():
'year-outside-or-missing': cov['otherOrMissingYear'],
'ai-unclear': cov['unclearAI'], 'date-conflict': cov['dateConflicts']}
assert len({x['ycId'] for x in AUDIT['records']}) == len(AUDIT['records'])
excluded_years = Counter(x['foundedYear'] for x in AUDIT['records'] if x['status'] == 'year-outside-or-missing')
outside_years = {year: count for year, count in excluded_years.items() if year is not None}
assert all(year not in (2025, 2026) for year in outside_years)
assert sum(outside_years.values()) + excluded_years[None] == cov['otherOrMissingYear']
year_detail = '、'.join(f'{year}年{count}项' for year, count in sorted(outside_years.items()))
lines = ['# AI 公司资料覆盖与缺项', '',
f"截至 {DATA['asOf']},研究表含{len(companies):,}条公司或产品记录。YC候选池有逐条读取审计;其他来源为定向补充。清单尚不能作为全球AI公司普查,也不能将收入未知解释为零。", '',
'验收范围已于2026-10-30确认为:以确认的公开来源清单为边界,逐条核对并标明缺项。下方区分已逐条审计的候选池与定向补充来源;已使用某来源不代表该来源已被完整覆盖。', '',
@@ -178,7 +250,8 @@ def render():
f"| 初筛匹配 | {cov['matchingProfiles']:,} | 成立年及AI相关描述通过初筛,尚非逐家商业验证 |",
f"| 与原表重合 | {cov['existingProfiles']} | URL匹配,未再次新增 |",
f"| 新增目录记录 | {cov['newProfiles']:,} | 原始入表来源,后续深化不改变发现计数 |",
f"| 年份不符或缺失 | {cov['otherOrMissingYear']} | 此轮不作为成立年匹配项 |",
f"| 原目录列为范围外年份 | {sum(outside_years.values())} | {year_detail};原快照自述,不是独立登记核验 |",
f"| 原目录未给成立年 | {excluded_years[None]} | 与已列范围外年份分开,仍待补证 |",
f"| AI业务待确认 | {cov['unclearAI']} | 不强行把背景关键词当主营 |",
f"| 成立年与批次冲突 | {cov['dateConflicts']} | 另保留核查记录 |", '',
f"全表由{depth}条目录基础项和{len(companies)-depth}条个案或平台记录组成。候选池已匹配项之外另有{len(companies)-cov['matchingProfiles']}条记录,包含其他来源及发布/转型对照;其中已有{promoted}条原目录记录深化为个案,仍保留目录来源。两种统计边界不同。候选池数字只是该镜像快照的覆盖,Bud等后续定向补充不回填为原候选池已覆盖。", '',
@@ -217,13 +290,16 @@ def render():
lines.append(f"| {name} | {len(entries)} | {len({e['url'] for e in entries})} | {note} |")
others = [e for e in DATA['evidence'] if urlsplit(e['url']).netloc not in included]
lines.append(f"| 其他官网、评测及公开资料 | {len(others)} | {len({e['url'] for e in others})} | 按每条来源限制理解,不能统一当作独立证据 |")
lines += uncertain_ai_followups()
lines += founding_year_followups()
lines += missing_year_followups()
lines += directory_rechecks()
lines += source_register()
lines += context_methods()
lines += candidate_register()
lines += ['', '## 尚未满足的研究条件', '',
'行业ARR比较仍缺统一业务截止日、币种、经常性定义和业务边界。现有平台MRR可描述已采集产品,不足以代表全部新公司。技术评测只覆盖所列版本与任务,不宜跨领域汇总为统一强弱分数。', '',
'下一轮优先补收入线索的日期及合同定义、非YC和非英文来源、规则初分的人工复核,以及停止服务或被收购案例。这样能减少“只见赢家”和“只见融资公司”的偏差。公开来源池之外的未披露公司仍无法证明已被穷尽。', '',
'下一轮优先补收入线索的日期及合同定义、成立年冲突、AI主营仍待核项、非YC和非英文来源,以及停止服务或被收购案例。这样能减少“只见赢家”和“只见融资公司”的偏差。公开来源池之外的未披露公司仍无法证明已被穷尽。', '',
]
return '\n'.join(lines)