Merge enterprise review into consolidated AI research
This commit is contained in:
@@ -184,8 +184,8 @@ async function main() {
|
||||
const research = await researchResponse.json();
|
||||
assert.equal(research.companies.length, 1051);
|
||||
assert.equal(research.categories.length, 11);
|
||||
assert.equal(research.evidence.length, 1943);
|
||||
assert.equal(research.observations.length, 253);
|
||||
assert.equal(research.evidence.length, 2165);
|
||||
assert.equal(research.observations.length, 278);
|
||||
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);
|
||||
|
||||
@@ -24,8 +24,8 @@ test("research revisions share the authentication database and preserve replay l
|
||||
assert.equal(consumeCode(config, "invalid"), "limited");
|
||||
const initial = readResearchSnapshot();
|
||||
assert.equal(initial.companies.length, 1051);
|
||||
assert.equal(initial.evidence.length, 1943);
|
||||
assert.equal(initial.observations.length, 253);
|
||||
assert.equal(initial.evidence.length, 2165);
|
||||
assert.equal(initial.observations.length, 278);
|
||||
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,7 +64,7 @@ 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, 123);
|
||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "companies").length, 136);
|
||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "dataset").length, 12);
|
||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "excluded-candidate").length, 44);
|
||||
const review = snapshot.reviews.find((r) => r.id === "R4")!;
|
||||
@@ -86,10 +86,10 @@ test("disclosure counts exclude client income, biographies, targets and duplicat
|
||||
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), 45);
|
||||
assert.equal(summary.reduce((n, c) => n + c.self, 0), 46);
|
||||
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), 985);
|
||||
assert.equal(summary.reduce((n, c) => n + c.unknown, 0), 984);
|
||||
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 === "公司整体"));
|
||||
@@ -101,8 +101,8 @@ test("disclosure counts exclude client income, biographies, targets and duplicat
|
||||
|
||||
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, 63);
|
||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "public-artifact").length, 11);
|
||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview).length, 71);
|
||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "public-artifact").length, 15);
|
||||
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 +228,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!));
|
||||
|
||||
+4919
-1117
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2026-10-31-other-tags-2",
|
||||
"version": "2026-10-31-consolidating-1",
|
||||
"scopeConfirmedAt": "2026-10-30",
|
||||
"acceptance": "以确认的公开来源清单为边界,逐条核对并标明缺项。",
|
||||
"provenance": "S01—S12恢复自已提交用户的《AI公司研究_来源与分类模板》来源清单;S13—S16单列后续已使用的补充证据渠道,不将使用次数当作全量覆盖。",
|
||||
@@ -15,8 +15,8 @@
|
||||
],
|
||||
"initialAccess": "官网目录可访问",
|
||||
"boundary": "已读取八个2025—2026批次镜像候选池1428条,再核YC官方页面;不声称覆盖全部YC历年或未公开公司。",
|
||||
"nextCheck": "本快照原目录37条深化个案、基础项421条主营人工复核。原C10/C08/C09/C06标签池34项已逐条读取:16保留18移类,但短简介/混合交付仍待核。前批Mixy历史MRR/捐赠及LLC/Inc主体、TRLC公开套件/Koyal作者摘要保留;后批Evident/Hebbian/Preload模型数据、Moving Atoms当前BIM、Ploid人员API、Veeza专家一次性服务与Yam消费游戏分别归类。Isengard10M自述收入无期间,350M管线及前公司60M排除;IMPACT180M USD LOI和Silica6万需求不当ARR/已交付。Moonshot订阅与项链预约、云暂存与账号备份分开。HFlow公开示例的教师标签/开发pilot/短试验不当独立真实质量。独立PR #33企业141、#34行业252、#35模型26、#36开发51项未入本分支,整合保留各方追加与版本计数;完整来源清单、其他基础项、主体财务技术缺项继续核。",
|
||||
"limitation": "批次不等于成立年;不代表全部公司"
|
||||
"limitation": "批次不等于成立年;不代表全部公司",
|
||||
"nextCheck": "统一PR汇总进行中(第1/4次分支整合)。当前基础项554条主营人工复核、原目录45条深化个案,2165条证据及278条观测;各批原始发现、旧记录和核查缺项保留。标签/主营复核不等完整来源、财务或技术审计。待全部五组整合后统一覆盖说明。"
|
||||
},
|
||||
{
|
||||
"id": "S02",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"sourceVersion": "2026-10-31-other-tags-2",
|
||||
"sourceVersion": "2026-10-31-consolidating-1",
|
||||
"asOf": "2026-10-31",
|
||||
"metric": "platform-mrr-usd",
|
||||
"sampleUnit": "product-or-business",
|
||||
|
||||
Reference in New Issue
Block a user