Compare commits
70 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 543d6ed527 | |||
| 445bfb37d0 | |||
| baaea4fc61 | |||
| ac04839571 | |||
| 7cecb9f753 | |||
| a2a5958fc4 | |||
| 7cc2397103 | |||
| feb4de220d | |||
| 652b0fd539 | |||
| 5ee04f26ae | |||
| 812749823b | |||
| 8a4df5c7ba | |||
| 8d886ad3cc | |||
| 790dda09de | |||
| 5182eca961 | |||
| 5cd8f831be | |||
| a520694f9e | |||
| dc373bad09 | |||
| dc2c3a22f3 | |||
| fefa7c5ebd | |||
| 5c2d9fd06c | |||
| 85a0c534aa | |||
| d4736f7477 | |||
| f41d9e0d53 | |||
| 1736912ecb | |||
| 45f1d1dba3 | |||
| 8d7b10df19 | |||
| d9d675ce56 | |||
| b8a82359e3 | |||
| 4682e3513e | |||
| c0ff99e640 | |||
| b5e4f817fb | |||
| df227df18c | |||
| 1e81887682 | |||
| c25fb79eee | |||
| a8b054381f | |||
| 8e5df06fdd | |||
| 4942b86a4a | |||
| 7e4f4fe3e6 | |||
| 1e716c36b2 | |||
| ba042ed5ae | |||
| 0cc3815bd8 | |||
| f49aac2778 | |||
| d588f2e1fb | |||
| ad1f351a6b | |||
| f73d2631fb | |||
| 6dca32dc66 | |||
| 992275560f | |||
| 74c74ddda9 | |||
| 61201c1bb0 | |||
| 4eb08c0857 | |||
| 3e7792191e | |||
| fa09a01421 | |||
| 87987f6cc6 | |||
| c9497ccc6b | |||
| 05b500e911 | |||
| ea09b414a2 | |||
| 945e7eadb2 | |||
| f86a4a75a0 | |||
| ccba2c546a | |||
| 56b0ee60c0 | |||
| f7cdf16933 | |||
| deadd24dce | |||
| 4f1d3caafd | |||
| 28ced713dc | |||
| c8c8bad563 | |||
| 13f2b31e8a | |||
| 20e5097783 | |||
| ae4bd203a1 | |||
| 5b6d3d9bfd |
@@ -182,10 +182,10 @@ async function main() {
|
|||||||
assert.equal(researchResponse.status, 200, "authenticated research API");
|
assert.equal(researchResponse.status, 200, "authenticated research API");
|
||||||
assert.ok(researchResponse.headers.get("cache-control")?.includes("no-store"));
|
assert.ok(researchResponse.headers.get("cache-control")?.includes("no-store"));
|
||||||
const research = await researchResponse.json();
|
const research = await researchResponse.json();
|
||||||
assert.equal(research.companies.length, 1023);
|
assert.equal(research.companies.length, 1155);
|
||||||
assert.equal(research.categories.length, 11);
|
assert.equal(research.categories.length, 11);
|
||||||
assert.equal(research.evidence.length, 1318);
|
assert.equal(research.evidence.length, 3426);
|
||||||
assert.equal(research.observations.length, 189);
|
assert.equal(research.observations.length, 453);
|
||||||
assert.equal((await request("/api/research/ai-companies", { method: "POST", headers })).status, 405);
|
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 });
|
const researchPage = await request("/docs/other-research/ai-company-research/overview", { headers });
|
||||||
assert.equal(researchPage.status, 200);
|
assert.equal(researchPage.status, 200);
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ import {
|
|||||||
|
|
||||||
const pageSize = 12;
|
const pageSize = 12;
|
||||||
const evidencePageSize = 30;
|
const evidencePageSize = 30;
|
||||||
const revenueLabels = { self: "公司披露,待核口径", estimate: "仅第三方估算", platform: "仅支付平台记录", unknown: "暂无可用收入数字" };
|
const revenueLabels = { self: "企业披露,待核口径", estimate: "仅第三方估算", platform: "仅支付平台记录", unknown: "暂无可用收入数字" };
|
||||||
const useLabels: Record<string, string> = {
|
const useLabels: Record<string, string> = {
|
||||||
platform: "支付平台记录", signal: "公司披露信号", estimate: "第三方估算", historical: "历史里程碑",
|
platform: "支付平台记录", signal: "企业披露信号", estimate: "第三方估算", historical: "历史里程碑",
|
||||||
"historical-estimate": "其他时点估算", excluded: "排除收入比较", scale: "团队规模", adoption: "采用规模",
|
"historical-estimate": "其他时点估算", excluded: "排除收入比较", scale: "团队规模", adoption: "采用规模",
|
||||||
funding: "融资", technical: "第三方技术评测", crosscheck: "同一里程碑的其他资料",
|
funding: "融资", technical: "第三方技术评测", crosscheck: "同一里程碑的其他资料",
|
||||||
};
|
};
|
||||||
@@ -138,7 +138,7 @@ export default function AICompanyResearch() {
|
|||||||
<label>资料深度<select value={depth} onChange={(e) => { setDepth(e.target.value); setPage(0); }}><option value="">全部资料</option><option value="case">原有个案研究</option><option value="profile">目录基础资料</option></select></label>
|
<label>资料深度<select value={depth} onChange={(e) => { setDepth(e.target.value); setPage(0); }}><option value="">全部资料</option><option value="case">原有个案研究</option><option value="profile">目录基础资料</option></select></label>
|
||||||
<label>记录团队规模<select value={teamBand} onChange={(e) => { setTeamBand(e.target.value); setPage(0); }}><option value="">全部规模</option><option value="small">1—5 人</option><option value="medium">6—20 人</option><option value="large">21—50 人</option><option value="xl">至少 51 人</option><option value="unknown">未披露或分组不确定</option></select></label>
|
<label>记录团队规模<select value={teamBand} onChange={(e) => { setTeamBand(e.target.value); setPage(0); }}><option value="">全部规模</option><option value="small">1—5 人</option><option value="medium">6—20 人</option><option value="large">21—50 人</option><option value="xl">至少 51 人</option><option value="unknown">未披露或分组不确定</option></select></label>
|
||||||
<label>技术验证证据<select value={technicalLevel} onChange={(e) => { setTechnicalLevel(e.target.value); setPage(0); }}><option value="">全部验证层级</option>{Object.entries(technicalReviewLabels).map(([value, label]) => <option key={value} value={value}>{label}</option>)}</select></label>
|
<label>技术验证证据<select value={technicalLevel} onChange={(e) => { setTechnicalLevel(e.target.value); setPage(0); }}><option value="">全部验证层级</option>{Object.entries(technicalReviewLabels).map(([value, label]) => <option key={value} value={value}>{label}</option>)}</select></label>
|
||||||
<label>收入资料<select value={income} onChange={(e) => { setIncome(e.target.value); setPage(0); }}><option value="">全部状态</option><option value="self">找到公司披露</option><option value="estimate">仅第三方估算</option><option value="platform">仅支付平台记录</option><option value="unknown">暂无可用数字</option></select></label>
|
<label>收入资料<select value={income} onChange={(e) => { setIncome(e.target.value); setPage(0); }}><option value="">全部状态</option><option value="self">找到企业披露</option><option value="estimate">仅第三方估算</option><option value="platform">仅支付平台记录</option><option value="unknown">暂无可用数字</option></select></label>
|
||||||
</div>
|
</div>
|
||||||
<p className="research-muted">技术验证层级记录我们查到了什么,不是能力强弱评分。技术专项评审与业务分类复核分别记录。</p>
|
<p className="research-muted">技术验证层级记录我们查到了什么,不是能力强弱评分。技术专项评审与业务分类复核分别记录。</p>
|
||||||
<div className="research-result-count" role="status">{filtered.length} 条匹配记录<button onClick={() => { setCategory(""); setQuery(""); setCohort(""); setIncome(""); setDepth(""); setTeamBand(""); setTechnicalLevel(""); setPage(0); }}>清除筛选</button></div>
|
<div className="research-result-count" role="status">{filtered.length} 条匹配记录<button onClick={() => { setCategory(""); setQuery(""); setCohort(""); setIncome(""); setDepth(""); setTeamBand(""); setTechnicalLevel(""); setPage(0); }}>清除筛选</button></div>
|
||||||
@@ -154,14 +154,14 @@ export default function AICompanyResearch() {
|
|||||||
</>}
|
</>}
|
||||||
{tab === "revenue" && <>
|
{tab === "revenue" && <>
|
||||||
<IncomeDistribution data={data} onSelect={setSelected} />
|
<IncomeDistribution data={data} onSelect={setSelected} />
|
||||||
<h3>公司披露与估算的历史里程碑</h3>
|
<h3>企业披露与估算的历史里程碑</h3>
|
||||||
<p className="research-notice">这一组包含 {disclosedCompanies} 家公司的披露或估算信号,多为异时点历史里程碑,ARR 与年化收入口径仍待核对,暂不计算其同期领域均值。币种未确认的记录仅显示原值,不绘制美元长度条。上面的平台MRR统计与这一组分开。</p>
|
<p className="research-notice">这一组包含 {disclosedCompanies} 家公司的披露或估算信号;企业披露含公司或交易当事方公开材料,披露主体与审计状态见证据。多为异时点历史里程碑,期间收入不直接年化,ARR 与年化收入口径仍待核对,暂不计算其同期领域均值。币种未确认的记录仅显示原值,不绘制美元长度条。上面的平台MRR统计与这一组分开。</p>
|
||||||
<div className="research-revenue-chart" aria-label="不同时间的公开收入里程碑,线性长度,非同行排名">{observed.map((o) => <div key={o.id}>
|
<div className="research-revenue-chart" aria-label="不同时间的公开收入里程碑,线性长度,非同行排名">{observed.map((o) => <div key={o.id}>
|
||||||
<div><button onClick={() => setSelected(o.company)}>{o.name}</button><strong>{o.bound !== "=" && o.bound}{money(o.value, o.unit)}</strong></div>
|
<div><button onClick={() => setSelected(o.company)}>{o.name}</button><strong>{o.bound !== "=" && o.bound}{money(o.value, o.unit)}</strong></div>
|
||||||
{o.unit === "USD" && <span className="research-bar" data-estimate={o.selection === "estimate" || undefined} aria-hidden="true"><i style={{width: `${o.value / Math.max(1, ...observed.filter((v) => v.unit === "USD").map((v) => v.value)) * 100}%`}} /></span>}
|
{o.unit === "USD" && <span className="research-bar" data-estimate={o.selection === "estimate" || undefined} aria-hidden="true"><i style={{width: `${o.value / Math.max(1, ...observed.filter((v) => v.unit === "USD").map((v) => v.value)) * 100}%`}} /></span>}
|
||||||
<small>{o.kind} · {useLabels[o.selection]} · {o.timing}</small>
|
<small>{o.kind} · {useLabels[o.selection]} · {o.timing}</small>
|
||||||
</div>)}</div>
|
</div>)}</div>
|
||||||
<div className="research-table-wrap"><table><caption>当前研究数据中的收入可得性,目录项未逐一检索;未建立同期、同龄、同口径比较组</caption><thead><tr><th>业务分类</th><th>公司披露数</th><th>仅估算数</th><th>仅平台数</th><th>暂无可用数字</th><th>同期均值 / 离散度</th></tr></thead><tbody>{summaries.map((c) => <tr key={c.id}><td><button onClick={() => chooseCategory(c.id)}>{c.name}</button></td><td>{c.self}</td><td>{c.estimate}</td><td>{c.platform}</td><td>{c.unknown}</td><td>条件不足</td></tr>)}</tbody></table></div>
|
<div className="research-table-wrap"><table><caption>当前研究数据中的收入可得性,目录项未逐一检索;未建立同期、同龄、同口径比较组</caption><thead><tr><th>业务分类</th><th>企业披露数</th><th>仅估算数</th><th>仅平台数</th><th>暂无可用数字</th><th>同期均值 / 离散度</th></tr></thead><tbody>{summaries.map((c) => <tr key={c.id}><td><button onClick={() => chooseCategory(c.id)}>{c.name}</button></td><td>{c.self}</td><td>{c.estimate}</td><td>{c.platform}</td><td>{c.unknown}</td><td>条件不足</td></tr>)}</tbody></table></div>
|
||||||
<p className="research-muted">离散度用于筛选值得核查的异常,还需排除公司年龄、口径和披露偏差;不能据此认定财务造假。</p>
|
<p className="research-muted">离散度用于筛选值得核查的异常,还需排除公司年龄、口径和披露偏差;不能据此认定财务造假。</p>
|
||||||
</>}
|
</>}
|
||||||
{tab === "sources" && <><p className="research-muted">来源链接保留原始位置。相同 URL 的记录可能属于同一披露,不能按记录数计算独立证据数量。</p><ul className="research-evidence-list">{data.evidence.slice(sourcePage * evidencePageSize, (sourcePage + 1) * evidencePageSize).map((e) => <Evidence key={e.id} item={e} />)}</ul>{data.evidence.length > evidencePageSize && <nav className="research-pagination" aria-label="原始证据分页"><button disabled={sourcePage === 0} onClick={() => setSourcePage((n) => n - 1)}>上一页</button><span>{sourcePage + 1} / {Math.ceil(data.evidence.length / evidencePageSize)}</span><button disabled={(sourcePage + 1) * evidencePageSize >= data.evidence.length} onClick={() => setSourcePage((n) => n + 1)}>下一页</button></nav>}</>}
|
{tab === "sources" && <><p className="research-muted">来源链接保留原始位置。相同 URL 的记录可能属于同一披露,不能按记录数计算独立证据数量。</p><ul className="research-evidence-list">{data.evidence.slice(sourcePage * evidencePageSize, (sourcePage + 1) * evidencePageSize).map((e) => <Evidence key={e.id} item={e} />)}</ul>{data.evidence.length > evidencePageSize && <nav className="research-pagination" aria-label="原始证据分页"><button disabled={sourcePage === 0} onClick={() => setSourcePage((n) => n - 1)}>上一页</button><span>{sourcePage + 1} / {Math.ceil(data.evidence.length / evidencePageSize)}</span><button disabled={(sourcePage + 1) * evidencePageSize >= data.evidence.length} onClick={() => setSourcePage((n) => n + 1)}>下一页</button></nav>}</>}
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export default function IncomeDistribution({ data, onSelect }: {
|
|||||||
</svg></div>
|
</svg></div>
|
||||||
<figcaption>圆点:产品观测 竖线:样本均值 菱形:样本中位数。业务类别标题下各行按支付平台{splitModels && "及收费与交付模式"}分别统计;n为该组产品数。点击点或下表产品名可看原始证据。</figcaption>
|
<figcaption>圆点:产品观测 竖线:样本均值 菱形:样本中位数。业务类别标题下各行按支付平台{splitModels && "及收费与交付模式"}分别统计;n为该组产品数。点击点或下表产品名可看原始证据。</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
<div className="research-table-wrap"><table><caption>{metric}样本统计;每行是类别下的一个统计组,CV使用样本标准差</caption><thead><tr><th scope="col">业务类别</th><th scope="col">支付平台 / 收费模式</th><th scope="col">n</th><th scope="col">均值</th><th scope="col">中位数</th><th scope="col">均值/中位数</th><th scope="col">CV</th><th scope="col">去除最大值后的均值 / 下降幅度</th><th scope="col">产品与限制</th></tr></thead>{categoryGroups.map(({ category, rows }) => <tbody key={category}>{rows.map((group, index) => <tr key={group.key}>
|
<div className="research-table-wrap"><table className="income-statistics"><caption>{metric}样本统计;每行是类别下的一个统计组,CV使用样本标准差</caption><thead><tr><th scope="col">业务类别</th><th scope="col">支付平台 / 收费模式</th><th scope="col">n</th><th scope="col">均值</th><th scope="col">中位数</th><th scope="col">均值/中位数</th><th scope="col">CV</th><th scope="col">去除最大值后的均值 / 下降幅度</th><th scope="col">产品与限制</th></tr></thead>{categoryGroups.map(({ category, rows }) => <tbody key={category}>{rows.map((group, index) => <tr key={group.key}>
|
||||||
{index === 0 && <th scope="rowgroup" rowSpan={rows.length}>{categories.get(category)}<small>{rows.length}个统计组</small></th>}
|
{index === 0 && <th scope="rowgroup" rowSpan={rows.length}>{categories.get(category)}<small>{rows.length}个统计组</small></th>}
|
||||||
<td>{group.provider}<small>{group.model}</small></td><td>{group.stats.n}</td><td>{usd(group.stats.mean)}</td><td>{usd(group.stats.median)}</td><td>{group.stats.meanMedianRatio?.toFixed(2) ?? "—"}</td><td>{group.stats.cv?.toFixed(2) ?? "—"}</td><td>{usd(group.stats.meanWithoutLargest)}<small>{percent(group.stats.largestRemovalDrop)}</small></td>
|
<td>{group.provider}<small>{group.model}</small></td><td>{group.stats.n}</td><td>{usd(group.stats.mean)}</td><td>{usd(group.stats.median)}</td><td>{group.stats.meanMedianRatio?.toFixed(2) ?? "—"}</td><td>{group.stats.cv?.toFixed(2) ?? "—"}</td><td>{usd(group.stats.meanWithoutLargest)}<small>{percent(group.stats.largestRemovalDrop)}</small></td>
|
||||||
<td>{group.points.map((point) => <span key={point.company.id}><button className="research-company-name" onClick={() => onSelect(point.company.id)}>{point.company.name}</button>{" "}</span>)}<small>{group.stats.n < 3 ? "样本少于3,不能据此判断领域典型收入。" : "自选的小样本,须结合产品年龄、成本与留存评估。"}</small></td>
|
<td>{group.points.map((point) => <span key={point.company.id}><button className="research-company-name" onClick={() => onSelect(point.company.id)}>{point.company.name}</button>{" "}</span>)}<small>{group.stats.n < 3 ? "样本少于3,不能据此判断领域典型收入。" : "自选的小样本,须结合产品年龄、成本与留存评估。"}</small></td>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ export type ResearchCandidateBatch = {
|
|||||||
records: {
|
records: {
|
||||||
id: string; name: string; url: string | null; categoryId: string;
|
id: string; name: string; url: string | null; categoryId: string;
|
||||||
kind: "product" | "company" | "promotion"; profileStatus: "readable" | "unavailable" | "archive-only";
|
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;
|
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) ||
|
if (!row.name.trim() || !row.note.trim() || !categories.has(row.categoryId) ||
|
||||||
!["product", "company", "promotion"].includes(row.kind) ||
|
!["product", "company", "promotion"].includes(row.kind) ||
|
||||||
!["readable", "unavailable", "archive-only"].includes(row.profileStatus) ||
|
!["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.kind !== "promotion" && (!row.url || !evidenceUrl(row.url))) ||
|
||||||
(row.url !== null && !evidenceUrl(row.url)) ||
|
(row.url !== null && !evidenceUrl(row.url)) ||
|
||||||
linked !== !!row.companyId || (row.companyId && !companies.has(row.companyId)) ||
|
linked !== !!row.companyId || (row.companyId && !companies.has(row.companyId)) ||
|
||||||
(row.kind === "promotion") !== (row.status === "promotion") ||
|
(row.kind === "promotion") !== (row.status === "promotion") ||
|
||||||
(row.evidenceIds ?? []).some((id) => !evidence.has(id)) ||
|
(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}`);
|
throw new Error(`Invalid research candidate: ${row.id}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1473,6 +1473,13 @@ svg { flex-shrink: 0; }
|
|||||||
|
|
||||||
.research-distribution { margin: 24px 0 38px; }
|
.research-distribution { margin: 24px 0 38px; }
|
||||||
.research-distribution figure { margin: 20px 0; }
|
.research-distribution figure { margin: 20px 0; }
|
||||||
|
.ai-research .income-statistics { min-width: 1200px; }
|
||||||
|
/* Row-spanning category headings shift cell indexes between rows. */
|
||||||
|
.ai-research .income-statistics td { min-width: 0; }
|
||||||
|
.ai-research .income-statistics th[scope="rowgroup"] { min-width: 150px; white-space: nowrap; }
|
||||||
|
.ai-research .income-statistics th[scope="rowgroup"] small { display: block; margin-top: 5px; }
|
||||||
|
.ai-research .income-statistics td:not(:last-child) { white-space: nowrap; }
|
||||||
|
.ai-research .income-statistics td:last-child { min-width: 220px; }
|
||||||
.income-distribution-chart { display: block; width: 100%; min-width: 900px; height: auto; }
|
.income-distribution-chart { display: block; width: 100%; min-width: 900px; height: auto; }
|
||||||
.income-distribution-chart [role="button"] { cursor: pointer; outline: none; }
|
.income-distribution-chart [role="button"] { cursor: pointer; outline: none; }
|
||||||
.income-distribution-chart [role="button"]:focus circle:last-child { stroke: #b17725; stroke-width: 3; }
|
.income-distribution-chart [role="button"]:focus circle:last-child { stroke: #b17725; stroke-width: 3; }
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ test("research revisions share the authentication database and preserve replay l
|
|||||||
for (let i = 0; i < 20; i++) consumeCode(config, "invalid");
|
for (let i = 0; i < 20; i++) consumeCode(config, "invalid");
|
||||||
assert.equal(consumeCode(config, "invalid"), "limited");
|
assert.equal(consumeCode(config, "invalid"), "limited");
|
||||||
const initial = readResearchSnapshot();
|
const initial = readResearchSnapshot();
|
||||||
assert.equal(initial.companies.length, 1023);
|
assert.equal(initial.companies.length, 1155);
|
||||||
assert.equal(initial.evidence.length, 1318);
|
assert.equal(initial.evidence.length, 3426);
|
||||||
assert.equal(initial.observations.length, 189);
|
assert.equal(initial.observations.length, 453);
|
||||||
assert.deepEqual(initial.candidateBatches, seed.candidateBatches, "candidate gaps persist in the same database metadata");
|
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(initial.directoryRechecks, seed.directoryRechecks, "follow-up classifications persist without rewriting the discovery audit");
|
||||||
assert.deepEqual(readResearchSnapshot(), initial, "reopening does not duplicate records");
|
assert.deepEqual(readResearchSnapshot(), initial, "reopening does not duplicate records");
|
||||||
@@ -64,9 +64,9 @@ test("research validation rejects broken evidence and unsafe source links", () =
|
|||||||
|
|
||||||
test("reviews link explicit companies without turning global or excluded cases into companies", () => {
|
test("reviews link explicit companies without turning global or excluded cases into companies", () => {
|
||||||
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
||||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "companies").length, 60);
|
assert.equal(snapshot.reviews.filter((r) => r.scope === "companies").length, 198);
|
||||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "dataset").length, 10);
|
assert.equal(snapshot.reviews.filter((r) => r.scope === "dataset").length, 21);
|
||||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "excluded-candidate").length, 31);
|
assert.equal(snapshot.reviews.filter((r) => r.scope === "excluded-candidate").length, 44);
|
||||||
const review = snapshot.reviews.find((r) => r.id === "R4")!;
|
const review = snapshot.reviews.find((r) => r.id === "R4")!;
|
||||||
assert.deepEqual(reviewCompanyIds(snapshot, review), ["AI007", "AI013", "AI021", "AI034"]);
|
assert.deepEqual(reviewCompanyIds(snapshot, review), ["AI007", "AI013", "AI021", "AI034"]);
|
||||||
assert.deepEqual(reviewCompanyIds(snapshot, snapshot.reviews.find((r) => r.id === "CN-R-PSI")!), []);
|
assert.deepEqual(reviewCompanyIds(snapshot, snapshot.reviews.find((r) => r.id === "CN-R-PSI")!), []);
|
||||||
@@ -85,20 +85,47 @@ test("reviews link explicit companies without turning global or excluded cases i
|
|||||||
test("disclosure counts exclude client income, biographies, targets and duplicate milestones", () => {
|
test("disclosure counts exclude client income, biographies, targets and duplicate milestones", () => {
|
||||||
const snapshot = seed as ResearchSnapshot;
|
const snapshot = seed as ResearchSnapshot;
|
||||||
const summary = categorySummary(snapshot);
|
const summary = categorySummary(snapshot);
|
||||||
assert.equal(summary.reduce((n, c) => n + c.count, 0), 1023);
|
assert.equal(summary.reduce((n, c) => n + c.count, 0), 1155);
|
||||||
assert.equal(summary.reduce((n, c) => n + c.self, 0), 26);
|
assert.equal(summary.reduce((n, c) => n + c.self, 0), 58);
|
||||||
assert.equal(summary.reduce((n, c) => n + c.estimate, 0), 1);
|
assert.equal(summary.reduce((n, c) => n + c.estimate, 0), 2);
|
||||||
assert.equal(summary.reduce((n, c) => n + c.platform, 0), 16);
|
assert.equal(summary.reduce((n, c) => n + c.platform, 0), 19);
|
||||||
assert.equal(summary.reduce((n, c) => n + c.unknown, 0), 980);
|
assert.equal(summary.reduce((n, c) => n + c.unknown, 0), 1075);
|
||||||
assert.equal(snapshot.companies.find((c) => c.name === "Rork")?.revenueStatus, "unknown");
|
assert.equal(snapshot.companies.find((c) => c.name === "Rork")?.revenueStatus, "unknown");
|
||||||
assert.equal(snapshot.companies.find((c) => c.name === "Result")?.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 === "公司整体"));
|
assert.ok(snapshot.observations.filter((o) => o.selection === "signal").every((o) => o.scope === "公司整体"));
|
||||||
|
const arena = snapshot.observations.find((o) => o.id === "COARENA-O-CUMULATIVE")!;
|
||||||
|
assert.equal(arena.selection, "historical", "cumulative launch revenue is not a recurring company-wide signal");
|
||||||
|
assert.equal(arena.comparisonGroup, null);
|
||||||
|
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", () => {
|
test("technical reviews keep accessible materials separate from tested capabilities", () => {
|
||||||
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
||||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview).length, 16);
|
assert.equal(snapshot.companies.filter((c) => c.technicalReview).length, 138);
|
||||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "public-artifact").length, 6);
|
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "public-artifact").length, 23);
|
||||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "independent-test").length, 1);
|
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.equal(snapshot.companies.find((c) => c.id === "AI051")?.revenueStatus, "unknown");
|
||||||
assert.match(snapshot.companies.find((c) => c.id === "AI051")!.technicalReview!.testScope!, /Sep 2026/);
|
assert.match(snapshot.companies.find((c) => c.id === "AI051")!.technicalReview!.testScope!, /Sep 2026/);
|
||||||
@@ -137,6 +164,43 @@ test("ambiguous ARR claims retain currency, precision and attribution limits", (
|
|||||||
assert.equal(snapshot.companies.find((c) => c.id === "AI070")?.revenueStatus, "unknown");
|
assert.equal(snapshot.companies.find((c) => c.id === "AI070")?.revenueStatus, "unknown");
|
||||||
assert.equal(snapshot.observations.filter((o) => o.company === "AI070").length, 0,
|
assert.equal(snapshot.observations.filter((o) => o.company === "AI070").length, 0,
|
||||||
"unreadable announcement summaries do not become numeric ARR");
|
"unreadable announcement summaries do not become numeric ARR");
|
||||||
|
const waitlist = snapshot.observations.find((o) => o.id === "SR25-O-OMI-WAITLIST")!;
|
||||||
|
assert.equal(waitlist.selection, "excluded", "waitlist conversions are not paid recurring revenue");
|
||||||
|
assert.equal(snapshot.companies.find((c) => c.id === waitlist.company)?.revenueStatus, "unknown");
|
||||||
|
const bluma = snapshot.observations.find((o) => o.id === "BLUMA-O-HISTORICAL-MRR")!;
|
||||||
|
assert.equal(bluma.selection, "historical");
|
||||||
|
assert.ok(bluma.unit !== "USD" && !bluma.observedAt && bluma.comparisonGroup === null);
|
||||||
|
const native = snapshot.observations.find((o) => o.id === "NATIVE-O-ARR-CLAIM")!;
|
||||||
|
assert.equal(native.selection, "crosscheck");
|
||||||
|
assert.ok(!native.metric && !native.observedAt && native.comparisonGroup === null);
|
||||||
|
const marketVolume = snapshot.observations.find((o) => o.id === "PALISADE-O-GMV")!;
|
||||||
|
assert.equal(marketVolume.selection, "excluded", "customer GMV must not establish company revenue or ARR");
|
||||||
|
assert.equal(snapshot.companies.find((c) => c.id === marketVolume.company)?.revenueStatus, "unknown");
|
||||||
|
const pingo = snapshot.observations.find((o) => o.id === "PINGO-O-MRR-JUL25")!;
|
||||||
|
assert.equal(pingo.selection, "historical", "a July 2025 self-report is not a current payment-platform sample");
|
||||||
|
assert.ok(pingo.unit !== "USD" && !pingo.observedAt && pingo.comparisonGroup === null);
|
||||||
|
const designService = snapshot.observations.find((o) => o.id === "SEMIOTIC-O-LAUNCH-REVENUE")!;
|
||||||
|
assert.equal(designService.selection, "historical");
|
||||||
|
assert.ok(!designService.metric && designService.comparisonGroup === null, "four-week service revenue is not MRR or ARR");
|
||||||
|
const restaurantAdoption = snapshot.observations.filter((o) => o.company === "YC32815");
|
||||||
|
assert.ok(restaurantAdoption.length > 0 && restaurantAdoption.every((o) => o.selection === "adoption" && !o.metric),
|
||||||
|
"restaurant count and list price must not produce an invented MRR observation");
|
||||||
|
const fishPilot = snapshot.observations.find((o) => o.id === "OCTAPULSE-O-CONTRACT")!;
|
||||||
|
assert.equal(fishPilot.selection, "excluded", "a paid pilot or annual contract does not establish recognized recurring revenue");
|
||||||
|
assert.equal(snapshot.companies.find((c) => c.id === fishPilot.company)?.revenueStatus, "unknown");
|
||||||
|
assert.equal(fishPilot.comparisonGroup, null);
|
||||||
|
assert.notEqual(fishPilot.unit, "USD", "six-figure wording does not establish the currency");
|
||||||
|
assert.ok(!fishPilot.metric && !fishPilot.observedAt, "the publication date is not the financial reporting date");
|
||||||
|
const cedar = snapshot.observations.filter((o) => o.company === "AI102");
|
||||||
|
assert.ok(cedar.every((o) => o.selection !== "signal" && o.comparisonGroup === null),
|
||||||
|
"closed and contracted amounts without recognition or period do not establish ARR");
|
||||||
|
assert.equal(snapshot.observations.find((o) => o.id === "SR25-O-LOOPS-CUSTOMER-SALES")?.selection, "excluded");
|
||||||
|
const portfolio = snapshot.observations.filter((o) => o.company === "AI100");
|
||||||
|
assert.deepEqual(portfolio.filter((o) => o.selection === "signal").map((o) => o.id), ["SR25-O-DRS-PORTFOLIO"],
|
||||||
|
"a product milestone must not be added to its company portfolio as another company");
|
||||||
|
assert.ok(snapshot.observations.filter((o) => o.id.startsWith("SR25-O-")).every((o) =>
|
||||||
|
o.unit !== "USD" && !o.metric && !o.observedAt && o.comparisonGroup === null),
|
||||||
|
"access dates and dollar symbols must not invent dated USD income samples");
|
||||||
});
|
});
|
||||||
|
|
||||||
// Retractions and forecasts must stay visible for review without becoming revenue signals.
|
// Retractions and forecasts must stay visible for review without becoming revenue signals.
|
||||||
@@ -179,9 +243,23 @@ test("directory coverage reconciles every candidate and keeps profile-only incom
|
|||||||
assert.ok(company.profileOnly || company.directoryOrigin === "yc-2025-2026");
|
assert.ok(company.profileOnly || company.directoryOrigin === "yc-2025-2026");
|
||||||
assert.equal(company.url, row.source);
|
assert.equal(company.url, row.source);
|
||||||
if (company.profileOnly) assert.equal(company.revenueStatus, "unknown");
|
if (company.profileOnly) assert.equal(company.revenueStatus, "unknown");
|
||||||
|
if (company.id === "YC31370") {
|
||||||
|
assert.equal(row.foundedYear, 2025, "original discovery remains unchanged");
|
||||||
|
assert.equal(company.year, null, "a pivot year cannot settle the company founding year");
|
||||||
|
assert.ok(snapshot.reviews.some((review) => review.id === "DAYJOB-R-COHORT" && review.companyIds?.includes(company.id)));
|
||||||
|
} else if (company.id === "YC36279") {
|
||||||
|
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.equal(company.year, row.foundedYear);
|
||||||
assert.ok([2025, 2026].includes(company.year!));
|
assert.ok([2025, 2026].includes(company.year!));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
const invalid = structuredClone(snapshot);
|
const invalid = structuredClone(snapshot);
|
||||||
invalid.coverage!.newProfiles += 1;
|
invalid.coverage!.newProfiles += 1;
|
||||||
assert.throws(() => validateResearch(invalid), /coverage accounting/);
|
assert.throws(() => validateResearch(invalid), /coverage accounting/);
|
||||||
@@ -194,6 +272,20 @@ test("directory coverage reconciles every candidate and keeps profile-only incom
|
|||||||
assert.throws(() => validateResearch(lostOrigin), /coverage accounting/);
|
assert.throws(() => validateResearch(lostOrigin), /coverage accounting/);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test("business pivots and procurement volume do not become comparable startup ARR", () => {
|
||||||
|
const snapshot = seed as ResearchSnapshot;
|
||||||
|
const dayjob = snapshot.companies.find((company) => company.id === "YC31370")!;
|
||||||
|
assert.equal(dayjob.year, null);
|
||||||
|
assert.equal(dayjob.directoryOrigin, "yc-2025-2026");
|
||||||
|
const milestones = snapshot.observations.filter((observation) => observation.company === dayjob.id);
|
||||||
|
assert.deepEqual(milestones.filter((observation) => observation.selection === "crosscheck").map((observation) => observation.value).sort(), [496000, 653000]);
|
||||||
|
assert.ok(milestones.every((observation) => observation.comparisonGroup === null && !observation.metric && !observation.observedAt));
|
||||||
|
assert.ok(milestones.filter((observation) => [150000, 800000].includes(observation.value)).every((observation) => observation.selection === "excluded"));
|
||||||
|
const procurement = snapshot.observations.find((observation) => observation.id === "SAUDARA-O-SOURCING")!;
|
||||||
|
assert.equal(procurement.selection, "excluded");
|
||||||
|
assert.equal(procurement.comparisonGroup, null);
|
||||||
|
});
|
||||||
|
|
||||||
test("income descriptions report sample dispersion and maximum-value sensitivity", () => {
|
test("income descriptions report sample dispersion and maximum-value sensitivity", () => {
|
||||||
const stats = describeIncome([100, 200, 300])!;
|
const stats = describeIncome([100, 200, 300])!;
|
||||||
assert.equal(stats.mean, 200);
|
assert.equal(stats.mean, 200);
|
||||||
@@ -215,14 +307,21 @@ test("income descriptions report sample dispersion and maximum-value sensitivity
|
|||||||
test("platform samples exclude stale data and keep ARR, estimates and collections separate", () => {
|
test("platform samples exclude stale data and keep ARR, estimates and collections separate", () => {
|
||||||
const snapshot = seed as ResearchSnapshot;
|
const snapshot = seed as ResearchSnapshot;
|
||||||
const recent = platformIncomeSample(snapshot, { windowDays: 7 });
|
const recent = platformIncomeSample(snapshot, { windowDays: 7 });
|
||||||
assert.equal(recent.points.length, 14);
|
assert.equal(recent.points.length, 16);
|
||||||
assert.equal(recent.excluded.length, 3);
|
assert.equal(recent.excluded.length, 4);
|
||||||
assert.ok(recent.points.every((p) => p.observation.metric === "mrr" && p.observation.selection === "platform"));
|
assert.ok(recent.points.every((p) => p.observation.metric === "mrr" && p.observation.selection === "platform"));
|
||||||
assert.deepEqual(new Set(recent.excluded.map((p) => p.observation.company)), new Set(["AI016", "MR013", "MR014"]));
|
assert.deepEqual(new Set(recent.excluded.map((p) => p.observation.company)), new Set(["AI016", "MR013", "MR014", "MR017"]));
|
||||||
assert.ok(recent.points.some((p) => p.company.name === "TrackAI" && p.observation.connectionExpired), "dated recent value is not a claim of active connection");
|
assert.ok(recent.points.some((p) => p.company.name === "TrackAI" && p.observation.connectionExpired), "dated recent value is not a claim of active connection");
|
||||||
const older = platformIncomeSample(snapshot, { windowDays: 90 });
|
const older = platformIncomeSample(snapshot, { windowDays: 90 });
|
||||||
assert.equal(older.points.length, 15);
|
assert.equal(older.points.length, 18);
|
||||||
assert.ok(older.points.some((p) => p.company.id === "AI016"));
|
assert.ok(older.points.some((p) => p.company.id === "AI016"));
|
||||||
|
assert.ok(!recent.points.some((p) => p.company.id === "MR017"));
|
||||||
|
assert.ok(older.points.some((p) => p.company.id === "MR017" && p.observation.connectionExpired),
|
||||||
|
"an expired connection retains its historical observation date in the wider window");
|
||||||
|
assert.equal(recent.points.find((p) => p.company.id === "MR018")?.value, 67864,
|
||||||
|
"an older Markdown cache must not replace or duplicate the later web snapshot");
|
||||||
|
assert.equal(recent.points.find((p) => p.company.id === "MR019")?.value, 65431,
|
||||||
|
"period-table revenue and revenue snapshots must not replace MRR");
|
||||||
const scaled = platformIncomeSample(snapshot, { windowDays: 7, annualize: true });
|
const scaled = platformIncomeSample(snapshot, { windowDays: 7, annualize: true });
|
||||||
const monthlyGroups = groupIncome(recent.points);
|
const monthlyGroups = groupIncome(recent.points);
|
||||||
const annualGroups = groupIncome(scaled.points);
|
const annualGroups = groupIncome(scaled.points);
|
||||||
@@ -307,7 +406,7 @@ test("unreconciled directory financials remain source reviews instead of income
|
|||||||
assert.ok(review.evidenceIds.includes("PH-TANA-DR"));
|
assert.ok(review.evidenceIds.includes("PH-TANA-DR"));
|
||||||
assert.equal(reviewCompanyIds(snapshot, review).length, 0);
|
assert.equal(reviewCompanyIds(snapshot, review).length, 0);
|
||||||
assert.ok(!snapshot.observations.some((o) => o.evidence === "PH-TANA-DR"));
|
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, 11);
|
assert.equal(snapshot.candidateBatches!.flatMap((b) => b.records).filter((r) => r.status === "pending-year").length, 43);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("product pivots and founder histories do not become new company years or current revenue", () => {
|
test("product pivots and founder histories do not become new company years or current revenue", () => {
|
||||||
@@ -320,6 +419,15 @@ test("product pivots and founder histories do not become new company years or cu
|
|||||||
assert.equal(candidate.companyId, pivot.id);
|
assert.equal(candidate.companyId, pivot.id);
|
||||||
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((point) => point.company.id === pivot.id));
|
assert.ok(!platformIncomeSample(snapshot, { windowDays: null }).points.some((point) => point.company.id === pivot.id));
|
||||||
assert.ok(!snapshot.observations.some((o) => ["PH-FUNDRAISLY-ABOUT", "LF-PIVOT", "LF-HISTORY"].includes(o.evidence)), "other ventures' ARR, users and funding must not transfer");
|
assert.ok(!snapshot.observations.some((o) => ["PH-FUNDRAISLY-ABOUT", "LF-PIVOT", "LF-HISTORY"].includes(o.evidence)), "other ventures' ARR, users and funding must not transfer");
|
||||||
|
const candidates = snapshot.candidateBatches!.flatMap((b) => b.records);
|
||||||
|
assert.equal(candidates.find((r) => r.id === "PH26-12")?.status, "outside-cohort",
|
||||||
|
"a brand iteration with an earlier business chain is not a new company");
|
||||||
|
const happycapy = candidates.find((r) => r.id === "PH26-04")!;
|
||||||
|
assert.ok(happycapy.evidenceIds?.includes("FOLLOWUP-CAPY-ACRA"));
|
||||||
|
assert.equal(happycapy.status, "pending-year", "a seller's registration does not establish a new global business");
|
||||||
|
assert.equal(happycapy.companyId, undefined);
|
||||||
|
assert.ok(!snapshot.observations.some((o) => o.evidence.startsWith("FOLLOWUP-")),
|
||||||
|
"registration, funding, app-store prices and client amounts are not company income");
|
||||||
});
|
});
|
||||||
|
|
||||||
test("follow-up evidence can admit an uncertain directory candidate without rewriting its original status", () => {
|
test("follow-up evidence can admit an uncertain directory candidate without rewriting its original status", () => {
|
||||||
@@ -335,6 +443,336 @@ test("follow-up evidence can admit an uncertain directory candidate without rewr
|
|||||||
assert.throws(() => validateResearch(snapshot), /directory recheck/);
|
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", () => {
|
test("Chinese discovery entries preserve unread articles and use separate primary evidence", () => {
|
||||||
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
||||||
const batch = snapshot.candidateBatches!.find((b) => b.id === "JQ-2026-targeted-1")!;
|
const batch = snapshot.candidateBatches!.find((b) => b.id === "JQ-2026-targeted-1")!;
|
||||||
|
|||||||
+51030
-5800
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "2026-10-30-22",
|
"version": "2026-10-31-missing-year-4",
|
||||||
"scopeConfirmedAt": "2026-10-30",
|
"scopeConfirmedAt": "2026-10-30",
|
||||||
"acceptance": "以确认的公开来源清单为边界,逐条核对并标明缺项。",
|
"acceptance": "以确认的公开来源清单为边界,逐条核对并标明缺项。",
|
||||||
"provenance": "S01—S12恢复自已提交用户的《AI公司研究_来源与分类模板》来源清单;S13—S16单列后续已使用的补充证据渠道,不将使用次数当作全量覆盖。",
|
"provenance": "S01—S12恢复自已提交用户的《AI公司研究_来源与分类模板》来源清单;S13—S16单列后续已使用的补充证据渠道,不将使用次数当作全量覆盖。",
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
],
|
],
|
||||||
"initialAccess": "官网目录可访问",
|
"initialAccess": "官网目录可访问",
|
||||||
"boundary": "已读取八个2025—2026批次镜像候选池1428条,再核YC官方页面;不声称覆盖全部YC历年或未公开公司。",
|
"boundary": "已读取八个2025—2026批次镜像候选池1428条,再核YC官方页面;不声称覆盖全部YC历年或未公开公司。",
|
||||||
"nextCheck": "当前快照三条原待分类经官网方向补证归类;继续复核规则初分、具体产品与财务缺项,不把领域粗分类当独立能力或收入验证。",
|
"limitation": "批次不等于成立年;不代表全部公司",
|
||||||
"limitation": "批次不等于成立年;不代表全部公司"
|
"nextCheck": "已统一企业141、行业252、模型标签26、开发标签51、其余标签34项,共504项新增主营复核。当前928条原YC新增记录保留发现来源,其中基础项871条均已做主营人工复核(871条),57条深化个案。C05规则89保留27/移62,C05标签52保留10/移42;C07规则184保留135/移49,C07标签68保留39/移29;模型标签26保留17/移9,开发标签51保留16/移35,其余标签34保留16/移18。主营复核仍含C00/短简介/混合交付缺项,不等完整产品/技术/财务审计。Tasklet及Native新产品与旧业务链保留,发现审计不改;Freya、Epicenter、Stellon许可及公开材料/厂商基准范围分开。客户收入、估价、资产、节省、管线/意向、预订需求、旧公司收入与示例排除自身ARR;Locke服务run-rate不等ARR,Mixy历史MRR/捐赠、Isengard无期间收入分开。各批证据、观测、核查与主体/收费/人工成本缺项均保留;全部确认来源清单的候选范围、AI不明/成立冲突及公司财务技术缺项继续核,不能声称全来源研究完成。 原AI不明192项已按原顺序补核八批192项:103新增、7复用(含此前已核EveryApp)、82保留AI主营待核,共110关联;没有再把EveryApp额外加1,全池192项均有可回查后续记录。原发现审计/928初始新增不回写;已读全池不等82项均确认AI,更不等268年范围外/缺失、6日期冲突和其他来源全部完成。Rhem交付后租赁/旧买断、Subvocal预约、EveryApp托管计划/Cloudflare费/OpenSEO套餐、ObsessionDB资源估算与BYOC年度运维分开,不新增可比MRR;市政债未来模块、原型/健康/倍速演示及Clean模型实现缺项保留。 原268项年份范围外/缺失已按原快照拆为214项列2022—2024(4/30/180)和54项无年,不称214项本轮登记核验。另6项日期冲突全池已补现官网和2025旧发布,均成立年待核,未新增公司;运营者/条款日期不替注册证据,Layers现AI核心待核,客户销售/利润计算器和前事业收入排除。 原54缺年已复读YC字段均仍空;外部补核首12项:5旧业务范围外、6缺年、1转AI待核,42项外部核查待续。政府登记与公司年份自述分开,美国/集团沿革、Inactive及新旧交付限制保留,无公司/收入新增。 缺年第二批6项:Milliray/DroneTector与Jinba/Carnot旧业务排除,4继续缺年;累计18项外部补核(7范围外/10缺年/1 AI待核),36项待续。Maywood公司自报2025及登记缺项、Q2Q Inactive和客户金额/按成功电话计费边界保留。 缺年第三批6项:Zymbly经英国登记2025入表、5项继续缺年;累计24项外部补核(1关联/7范围外/15缺年/1 AI待核),余30项。前Newton Education/全球主体、Cardinal旧产品、GovGuard拨款/人审、Elyra代收与医疗研发边界保留。 缺年第四批6项:CONUS旧业务排除、4缺年、Apollo AI待核;累计30项(1关联/8范围外/19缺年/2 AI待核),余24项。Gravy当前只读与远程依赖、空条款、CONUS免费核心与收费智能许可和LOI/示例金额边界保留。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "S02",
|
"id": "S02",
|
||||||
@@ -28,8 +28,8 @@
|
|||||||
"techcrunch.com"
|
"techcrunch.com"
|
||||||
],
|
],
|
||||||
"initialAccess": "AI栏目可读取",
|
"initialAccess": "AI栏目可读取",
|
||||||
"boundary": "2026首页定向3项已登记。另已读2025年度档案入口与AI第二页,并完整登记一篇2025企业竞赛名单32项:复用1项、范围外25项、待核6项;每项均尝试原始链接,未知与不可读保留。单篇32项不等全部200参赛者、全部分页或两年全量;RSS/API普通请求受限。",
|
"boundary": "2026首页定向3项已登记,另从AI第3—4页登记5项:3项关联公司、1项范围外、1项待核;不等全部卡片核验。另已读2025年度档案入口与AI第二页,并完整登记一篇2025企业竞赛名单32项:复用1项、范围外29项、待核2项;每项均尝试原始链接,未知与不可读保留。单篇32项不等全部200参赛者、全部分页或两年全量;RSS/API普通请求受限。 另从AI第5—6页定向4项:2项原始资料归范围外,2项原始成立/年份待核;不是全部卡片、参赛者或档案。 首次登记2025政府/法律名单正文11项(标题称10)时:7项范围外或既有业务、4项成立/主体待核;当时未新增主公司或ARR,非全部200或两年档案。 另将2025金融/地产名单14项全部登记:11项范围外/既有业务,3项年份/主体/AI待核;不新增公司或收入,不等其余竞赛类别。 另将2025生物技术名单9项全部登记:8项范围外或既有业务,1项产品与主体对应待核;不新增公司或收入,非全部竞赛类别。 后续补证:政府/法律名单Aparti关联2025主公司,Pytho按既有业务排除;该11项现1关联、8范围外、2待核,原始访问记录保留。",
|
||||||
"nextCheck": "继续核本篇6项的成立、主体及AI主营,优先解决Sponstar原始年份冲突、域名更名与不可读项;沿普通2025档案和AI分页扩展其余来源台账,区分参赛年、批次与公司成立年。",
|
"nextCheck": "继续核本篇2项的成立、主体及AI主营,优先解决Billow批次与发现年份时序、Sponstar原始年份冲突;既有业务的法律沿革及不可读项仍留缺;沿普通2025档案和AI分页扩展其余来源台账,区分参赛年、批次与公司成立年。 继续核Laplace原始年份及Eka精确注册主体;Recursive的2025/2026年份冲突保留。 继续核Honeyjar主字段与转载的年份差异、Blueprints原始可读资料与旧建筑业务主体;不把包价、演示金额或建设项目价值当ARR。 本篇待核Aparti精确注册、JustiGuide的2024/2026语义、orchestraos主体与年份及Pytho原始登记;补其余竞赛类别和年度档案,不用同名链接替代核查。 补ticker原始可读页面、Investwise主营及主体、Soundspace成立与AI实际交付;保留Genia结果收费与首页套餐的合同缺项,不把交易、返佣或客户资产年化为ARR。 补Avara可读条款和Lumos登记号对应、其他生物技术候选的AI实际作用及地域主体链;研发、临床、审批计划和药企赞助与当前商业收入分开。 Aparti已补公司自述成立,精确注册/付费及Amie收入仍待核;Pytho已由官网链接原始采访补范围外,不再列年份待核,精确注册留缺。",
|
||||||
"limitation": "需追溯原始披露,部分文章受访问限制",
|
"limitation": "需追溯原始披露,部分文章受访问限制",
|
||||||
"accessRecheckedAt": "2026-10-30"
|
"accessRecheckedAt": "2026-10-30"
|
||||||
},
|
},
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
"app.dealroom.co"
|
"app.dealroom.co"
|
||||||
],
|
],
|
||||||
"initialAccess": "官网可读取",
|
"initialAccess": "官网可读取",
|
||||||
"boundary": "已读Tana与Wabi公开公司档案:前者财务字段不一致留缺,后者2025成立字段与官方业务关联入表;尚未取得两年成立筛选结果集,两个个案不等于目录全量。",
|
"boundary": "已读Tana、Wabi及Laplace公开公司档案:Tana财务字段不一致留缺,Wabi2025字段与官方业务关联入表,Laplace未取得成立字段而保留候选;尚未取得两年成立筛选结果集,三个个案不等目录全量。 另读取Aparti公开档案并以公司自述成立关联;四个个案仍不等两年筛选全集,AI生成简介、上线与融资估值分开。",
|
||||||
"nextCheck": "确认公开可取得的两年成立筛选清单;逐项追溯财务原始凭证及字段口径,受权限限制保留缺项。",
|
"nextCheck": "确认公开可取得的两年成立筛选清单;逐项追溯财务原始凭证及字段口径,受权限限制保留缺项。",
|
||||||
"limitation": "完整档案需权限;概览及财务表不能未经勾稽直接导入ARR",
|
"limitation": "完整档案需权限;概览及财务表不能未经勾稽直接导入ARR",
|
||||||
"accessRecheckedAt": "2026-10-30"
|
"accessRecheckedAt": "2026-10-30"
|
||||||
@@ -60,8 +60,8 @@
|
|||||||
"producthunt.com"
|
"producthunt.com"
|
||||||
],
|
],
|
||||||
"initialAccess": "官网可读取",
|
"initialAccess": "官网可读取",
|
||||||
"boundary": "两年公开响应各19条,共38条。当前5条关联公司、2条范围外对照、25条范围外/既有业务、4条年份待核、2条推广。旧版本、品牌与法律主体分开,Tapflow据2024原版记录排除,Happycapy仍待核;非两年全量。",
|
"boundary": "两年公开响应各19条,共38条。当前5条关联公司、2条范围外对照、26条范围外/既有业务、3条年份待核、2条推广。旧版本、品牌与法律主体分开,Tapflow据2024原版记录排除,Happycapy仍待核;非两年全量。 Pazi补既有业务链后范围外,保留字段冲突;Happycapy iOS销售方与ACRA注册日已核,全球产品/旧业务沿革仍待核。",
|
||||||
"nextCheck": "继续补两年其余分页/日期、仅图片位置及4条年份待核候选;保留Pazi日期冲突,核清品牌与主体,避免转移历史业绩。",
|
"nextCheck": "继续补两年其余分页/日期、仅图片位置及3条年份待核候选;保留Pazi日期冲突与旧业务排除依据,核清其余品牌与主体,避免转移历史业绩。 Happycapy的新加坡销售法人不自动等新创业;继续补网页签约方与集团业务沿革。",
|
||||||
"limitation": "上线时间不等于成立时间",
|
"limitation": "上线时间不等于成立时间",
|
||||||
"accessRecheckedAt": "2026-10-30"
|
"accessRecheckedAt": "2026-10-30"
|
||||||
},
|
},
|
||||||
@@ -214,15 +214,16 @@
|
|||||||
"name": "36氪",
|
"name": "36氪",
|
||||||
"url": "https://www.36kr.com/",
|
"url": "https://www.36kr.com/",
|
||||||
"role": "reporting",
|
"role": "reporting",
|
||||||
"status": "access-limited",
|
"status": "targeted",
|
||||||
"hosts": [
|
"hosts": [
|
||||||
"www.36kr.com",
|
"www.36kr.com",
|
||||||
"36kr.com"
|
"36kr.com",
|
||||||
|
"eu.36kr.com"
|
||||||
],
|
],
|
||||||
"initialAccess": "安全检测,内容未核验",
|
"initialAccess": "安全检测,内容未核验",
|
||||||
"boundary": "2026-10-30仍返回安全检测页面,未把首页作为已读文章。",
|
"boundary": "此前首页安全检测仍保留;本轮4项定向检索及相关段落补查,3项据政府/公司/交易当事方资料关联、1项按原始登记归范围外。清析检索与直达正文不一致未确认关联,其他文章为平台发布/授权转载,不代表两年全量。 另登记合木、昆腾动力、寰宇心生3项报道相关段落,原始成立/主体留缺,未新增主公司表;不是全量。",
|
||||||
"nextCheck": "使用可公开读取的具体文章或其他原始来源;不绕过访问保护。",
|
"nextCheck": "墨甲已由交易当事方原始公告补足2025成立及历史期间收入,母公司项目沿革和当前财务仍待核;继续补清析发现文章关联及未读正文,建两年公开文章台账,不绕过访问保护。 补本组三项公司/孵化/投资原始资料,避免融资与研究院、母体业绩归属混淆。",
|
||||||
"limitation": "暂不作为已读取内容证据",
|
"limitation": "仅核具体相关段落,检索和直达差异、转载与原始披露分别记录。",
|
||||||
"accessRecheckedAt": "2026-10-30"
|
"accessRecheckedAt": "2026-10-30"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -233,7 +234,7 @@
|
|||||||
"status": "per-company",
|
"status": "per-company",
|
||||||
"hosts": [],
|
"hosts": [],
|
||||||
"initialAccess": "按公司逐一核验",
|
"initialAccess": "按公司逐一核验",
|
||||||
"boundary": "公司官网和官方材料逐条绑定证据;不是可预先列尽的全站候选池。",
|
"boundary": "公司官网和官方材料逐条绑定证据;不是可预先列尽的全站候选池。 定向新增企智芯与九昇智能的2025成立自述及交付资料,精确注册、实际客户与收入未核;两个官网不代表中文公司全集。",
|
||||||
"nextCheck": "核定价、主体、交付与收入定义,自述与独立验证分开。",
|
"nextCheck": "核定价、主体、交付与收入定义,自述与独立验证分开。",
|
||||||
"limitation": "自述不等于独立审计"
|
"limitation": "自述不等于独立审计"
|
||||||
},
|
},
|
||||||
@@ -247,8 +248,8 @@
|
|||||||
"trustmrr.com"
|
"trustmrr.com"
|
||||||
],
|
],
|
||||||
"initialAccess": "见具体证据访问记录",
|
"initialAccess": "见具体证据访问记录",
|
||||||
"boundary": "已采集产品与支付快照;公开者自选,不是全部商户或独立财务审计。",
|
"boundary": "已采集产品与支付快照;公开者自选,不是全部商户或独立财务审计。 另定向登记LLM Gateway、Gomotion AI(iker)及Promptwise,补官网、条款、公开Markdown与缓存差异;API文档明确USD分单位,未调用认证接口,不等全平台。",
|
||||||
"nextCheck": "核同步日、连接失效、支付平台公式及产品/法人归属。",
|
"nextCheck": "核同步日、连接失效、支付平台公式及产品/法人归属。 补网关充值/供应商成本/订阅收入勾稽、Gomotion独立主体与官网、Promptwise期间表和快照窗口;保留过期连接及不同缓存时点,不用当前访问日刷新财务日期。",
|
||||||
"limitation": "来源可读不等于声明已独立验证。"
|
"limitation": "来源可读不等于声明已独立验证。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -261,8 +262,8 @@
|
|||||||
"speedrun.a16z.com"
|
"speedrun.a16z.com"
|
||||||
],
|
],
|
||||||
"initialAccess": "见具体证据访问记录",
|
"initialAccess": "见具体证据访问记录",
|
||||||
"boundary": "投资机构公司介绍定向样本,收入数字仍多来自公司。",
|
"boundary": "投资机构公司介绍定向样本,收入数字仍多来自公司。 新增8项2026名录定向核查并登记候选台账(7项SR007、Bota SR006),不等全部批次或两年目录。 另登记8项2025年定向公司(SR005一项、SR006五项、SR007两项);动态目录静态仅外壳、浏览器超时,不认定全量。",
|
||||||
"nextCheck": "核币种、相对时间及管线/履历;未读取的页面保持缺项。",
|
"nextCheck": "核币种、相对时间及管线/履历;未读取的页面保持缺项。 区分live ARR、signed/contracted ARR、固定法律承诺费用、管线、目标交易量及客户收益;Nexor原$不自动当USD,财务日历截至日和合同底表留缺。 补Hotbox两个ARR时点、OneGC试点包含关系及律所/平台收入拆分、Omi等待名单付费转化、DRS应用与合并口径、Cedar签约履行和Loops可读官网。",
|
||||||
"limitation": "来源可读不等于声明已独立验证。"
|
"limitation": "来源可读不等于声明已独立验证。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -285,9 +286,11 @@
|
|||||||
"url": null,
|
"url": null,
|
||||||
"role": "supplement",
|
"role": "supplement",
|
||||||
"status": "targeted",
|
"status": "targeted",
|
||||||
"hosts": [],
|
"hosts": [
|
||||||
|
"getlatka.com"
|
||||||
|
],
|
||||||
"initialAccess": "见具体证据访问记录",
|
"initialAccess": "见具体证据访问记录",
|
||||||
"boundary": "未归入上述来源的公开材料按原始证据链接逐条保留;不视为新增已批准的完整候选池。",
|
"boundary": "未归入上述来源的公开材料按原始证据链接逐条保留;不视为新增已批准的完整候选池。 本轮读取GetLatka单页历史年收入估算,方法底表未取得,不视为新增完整候选池。",
|
||||||
"nextCheck": "逐项核来源归属、可靠性及可读正文,不能将搜索摘要当全文。",
|
"nextCheck": "逐项核来源归属、可靠性及可读正文,不能将搜索摘要当全文。",
|
||||||
"limitation": "来源可读不等于声明已独立验证。"
|
"limitation": "来源可读不等于声明已独立验证。"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"sourceVersion": "2026-10-30-battlefield-3",
|
"sourceVersion": "2026-10-31-missing-year-4",
|
||||||
"asOf": "2026-10-30",
|
"asOf": "2026-10-31",
|
||||||
"metric": "platform-mrr-usd",
|
"metric": "platform-mrr-usd",
|
||||||
"sampleUnit": "product-or-business",
|
"sampleUnit": "product-or-business",
|
||||||
"note": "独立Python复算参考值,仅验证样本计算;不是行业估计或财务审计。",
|
"note": "独立Python复算参考值,仅验证样本计算;不是行业估计或财务审计。",
|
||||||
@@ -21,7 +21,9 @@
|
|||||||
"MR011",
|
"MR011",
|
||||||
"MR012",
|
"MR012",
|
||||||
"MR015",
|
"MR015",
|
||||||
"MR016"
|
"MR016",
|
||||||
|
"MR018",
|
||||||
|
"MR019"
|
||||||
],
|
],
|
||||||
"groups": [
|
"groups": [
|
||||||
{
|
{
|
||||||
@@ -35,7 +37,7 @@
|
|||||||
"MR016"
|
"MR016"
|
||||||
],
|
],
|
||||||
"n": 4,
|
"n": 4,
|
||||||
"mean": 34815.0,
|
"mean": 34815,
|
||||||
"median": 36723.0,
|
"median": 36723.0,
|
||||||
"sampleDeviation": 16334.54845820151,
|
"sampleDeviation": 16334.54845820151,
|
||||||
"cv": 0.46918134304758036,
|
"cv": 0.46918134304758036,
|
||||||
@@ -50,7 +52,7 @@
|
|||||||
"MR001"
|
"MR001"
|
||||||
],
|
],
|
||||||
"n": 1,
|
"n": 1,
|
||||||
"mean": 53101.0,
|
"mean": 53101,
|
||||||
"median": 53101,
|
"median": 53101,
|
||||||
"sampleDeviation": null,
|
"sampleDeviation": null,
|
||||||
"cv": null,
|
"cv": null,
|
||||||
@@ -65,7 +67,7 @@
|
|||||||
"MR002"
|
"MR002"
|
||||||
],
|
],
|
||||||
"n": 1,
|
"n": 1,
|
||||||
"mean": 62423.0,
|
"mean": 62423,
|
||||||
"median": 62423,
|
"median": 62423,
|
||||||
"sampleDeviation": null,
|
"sampleDeviation": null,
|
||||||
"cv": null,
|
"cv": null,
|
||||||
@@ -79,15 +81,17 @@
|
|||||||
"products": [
|
"products": [
|
||||||
"MR003",
|
"MR003",
|
||||||
"MR004",
|
"MR004",
|
||||||
"MR005"
|
"MR005",
|
||||||
|
"MR018",
|
||||||
|
"MR019"
|
||||||
],
|
],
|
||||||
"n": 3,
|
"n": 5,
|
||||||
"mean": 41693.0,
|
"mean": 51674.8,
|
||||||
"median": 49069,
|
"median": 65381,
|
||||||
"sampleDeviation": 28111.375064197768,
|
"sampleDeviation": 24138.82269705795,
|
||||||
"cv": 0.6742468775141575,
|
"cv": 0.4671294847209461,
|
||||||
"meanWithoutLargest": 29849.0,
|
"meanWithoutLargest": 47627.5,
|
||||||
"largestRemovalDrop": 0.2840764636749574
|
"largestRemovalDrop": 0.07832250923080501
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "C09",
|
"category": "C09",
|
||||||
@@ -105,7 +109,7 @@
|
|||||||
"median": 20483,
|
"median": 20483,
|
||||||
"sampleDeviation": 11942.947278624319,
|
"sampleDeviation": 11942.947278624319,
|
||||||
"cv": 0.4711370488466823,
|
"cv": 0.4711370488466823,
|
||||||
"meanWithoutLargest": 20046.0,
|
"meanWithoutLargest": 20046,
|
||||||
"largestRemovalDrop": 0.20920581320120557
|
"largestRemovalDrop": 0.20920581320120557
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -127,9 +131,27 @@
|
|||||||
"MR012",
|
"MR012",
|
||||||
"MR015",
|
"MR015",
|
||||||
"MR016",
|
"MR016",
|
||||||
"AI016"
|
"AI016",
|
||||||
|
"MR017",
|
||||||
|
"MR018",
|
||||||
|
"MR019"
|
||||||
],
|
],
|
||||||
"groups": [
|
"groups": [
|
||||||
|
{
|
||||||
|
"category": "C02",
|
||||||
|
"provider": "Stripe",
|
||||||
|
"model": "模型网关订阅与用量",
|
||||||
|
"products": [
|
||||||
|
"MR017"
|
||||||
|
],
|
||||||
|
"n": 1,
|
||||||
|
"mean": 78764,
|
||||||
|
"median": 78764,
|
||||||
|
"sampleDeviation": null,
|
||||||
|
"cv": null,
|
||||||
|
"meanWithoutLargest": null,
|
||||||
|
"largestRemovalDrop": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"category": "C06",
|
"category": "C06",
|
||||||
"provider": "Stripe",
|
"provider": "Stripe",
|
||||||
@@ -146,7 +168,7 @@
|
|||||||
"median": 40112,
|
"median": 40112,
|
||||||
"sampleDeviation": 174786.78744916618,
|
"sampleDeviation": 174786.78744916618,
|
||||||
"cv": 1.5505509613536426,
|
"cv": 1.5505509613536426,
|
||||||
"meanWithoutLargest": 34815.0,
|
"meanWithoutLargest": 34815,
|
||||||
"largestRemovalDrop": 0.6911526751687284
|
"largestRemovalDrop": 0.6911526751687284
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -157,7 +179,7 @@
|
|||||||
"MR001"
|
"MR001"
|
||||||
],
|
],
|
||||||
"n": 1,
|
"n": 1,
|
||||||
"mean": 53101.0,
|
"mean": 53101,
|
||||||
"median": 53101,
|
"median": 53101,
|
||||||
"sampleDeviation": null,
|
"sampleDeviation": null,
|
||||||
"cv": null,
|
"cv": null,
|
||||||
@@ -172,7 +194,7 @@
|
|||||||
"MR002"
|
"MR002"
|
||||||
],
|
],
|
||||||
"n": 1,
|
"n": 1,
|
||||||
"mean": 62423.0,
|
"mean": 62423,
|
||||||
"median": 62423,
|
"median": 62423,
|
||||||
"sampleDeviation": null,
|
"sampleDeviation": null,
|
||||||
"cv": null,
|
"cv": null,
|
||||||
@@ -186,15 +208,17 @@
|
|||||||
"products": [
|
"products": [
|
||||||
"MR003",
|
"MR003",
|
||||||
"MR004",
|
"MR004",
|
||||||
"MR005"
|
"MR005",
|
||||||
|
"MR018",
|
||||||
|
"MR019"
|
||||||
],
|
],
|
||||||
"n": 3,
|
"n": 5,
|
||||||
"mean": 41693.0,
|
"mean": 51674.8,
|
||||||
"median": 49069,
|
"median": 65381,
|
||||||
"sampleDeviation": 28111.375064197768,
|
"sampleDeviation": 24138.82269705795,
|
||||||
"cv": 0.6742468775141575,
|
"cv": 0.4671294847209461,
|
||||||
"meanWithoutLargest": 29849.0,
|
"meanWithoutLargest": 47627.5,
|
||||||
"largestRemovalDrop": 0.2840764636749574
|
"largestRemovalDrop": 0.07832250923080501
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "C09",
|
"category": "C09",
|
||||||
@@ -212,7 +236,7 @@
|
|||||||
"median": 20483,
|
"median": 20483,
|
||||||
"sampleDeviation": 11942.947278624319,
|
"sampleDeviation": 11942.947278624319,
|
||||||
"cv": 0.4711370488466823,
|
"cv": 0.4711370488466823,
|
||||||
"meanWithoutLargest": 20046.0,
|
"meanWithoutLargest": 20046,
|
||||||
"largestRemovalDrop": 0.20920581320120557
|
"largestRemovalDrop": 0.20920581320120557
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ def candidate_register():
|
|||||||
all_ids = [r['id'] for b in batches for r in b['records']]
|
all_ids = [r['id'] for b in batches for r in b['records']]
|
||||||
assert len(set(all_ids)) == len(all_ids)
|
assert len(set(all_ids)) == len(all_ids)
|
||||||
lines = []
|
lines = []
|
||||||
statuses = {'pending-year': '成立年待核', 'linked': '已关联公司',
|
statuses = {'pending-year': '成立年待核', 'pending-ai': 'AI主营待核', 'linked': '已关联公司',
|
||||||
'existing-outside-cohort': '已有关联,年份范围外',
|
'existing-outside-cohort': '已有关联,年份范围外',
|
||||||
'outside-cohort': '范围外或既有业务,不新增公司', 'promotion': '推广活动,非公司新增'}
|
'outside-cohort': '范围外或既有业务,不新增公司', 'promotion': '推广活动,非公司新增'}
|
||||||
for batch in batches:
|
for batch in batches:
|
||||||
@@ -97,13 +97,13 @@ def candidate_register():
|
|||||||
assert sum(counts.values()) == len(rows)
|
assert sum(counts.values()) == len(rows)
|
||||||
lines += ['', f"## {batch['sourceId']} 候选核对({batch['id']})", '',
|
lines += ['', f"## {batch['sourceId']} 候选核对({batch['id']})", '',
|
||||||
f"[发现页面]({batch['url']}),读取于{batch['accessedAt']}。{batch['scope']}", '',
|
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:
|
for row in rows:
|
||||||
assert row['categoryId'] in categories
|
assert row['categoryId'] in categories
|
||||||
assert row['status'] in statuses
|
assert row['status'] in statuses
|
||||||
assert all(eid in evidence for eid in row.get('evidenceIds', []))
|
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')
|
assert row.get('evidenceIds') and not row.get('companyId')
|
||||||
name = f"[{row['name']}]({row['url']})" if row['url'] else row['name']
|
name = f"[{row['name']}]({row['url']})" if row['url'] else row['name']
|
||||||
company = '—'
|
company = '—'
|
||||||
@@ -121,6 +121,73 @@ def candidate_register():
|
|||||||
return lines
|
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():
|
def directory_rechecks():
|
||||||
rows = DATA.get('directoryRechecks', [])
|
rows = DATA.get('directoryRechecks', [])
|
||||||
if not rows:
|
if not rows:
|
||||||
@@ -167,6 +234,11 @@ def render():
|
|||||||
'year-outside-or-missing': cov['otherOrMissingYear'],
|
'year-outside-or-missing': cov['otherOrMissingYear'],
|
||||||
'ai-unclear': cov['unclearAI'], 'date-conflict': cov['dateConflicts']}
|
'ai-unclear': cov['unclearAI'], 'date-conflict': cov['dateConflicts']}
|
||||||
assert len({x['ycId'] for x in AUDIT['records']}) == len(AUDIT['records'])
|
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 公司资料覆盖与缺项', '',
|
lines = ['# AI 公司资料覆盖与缺项', '',
|
||||||
f"截至 {DATA['asOf']},研究表含{len(companies):,}条公司或产品记录。YC候选池有逐条读取审计;其他来源为定向补充。清单尚不能作为全球AI公司普查,也不能将收入未知解释为零。", '',
|
f"截至 {DATA['asOf']},研究表含{len(companies):,}条公司或产品记录。YC候选池有逐条读取审计;其他来源为定向补充。清单尚不能作为全球AI公司普查,也不能将收入未知解释为零。", '',
|
||||||
'验收范围已于2026-10-30确认为:以确认的公开来源清单为边界,逐条核对并标明缺项。下方区分已逐条审计的候选池与定向补充来源;已使用某来源不代表该来源已被完整覆盖。', '',
|
'验收范围已于2026-10-30确认为:以确认的公开来源清单为边界,逐条核对并标明缺项。下方区分已逐条审计的候选池与定向补充来源;已使用某来源不代表该来源已被完整覆盖。', '',
|
||||||
@@ -178,7 +250,8 @@ def render():
|
|||||||
f"| 初筛匹配 | {cov['matchingProfiles']:,} | 成立年及AI相关描述通过初筛,尚非逐家商业验证 |",
|
f"| 初筛匹配 | {cov['matchingProfiles']:,} | 成立年及AI相关描述通过初筛,尚非逐家商业验证 |",
|
||||||
f"| 与原表重合 | {cov['existingProfiles']} | URL匹配,未再次新增 |",
|
f"| 与原表重合 | {cov['existingProfiles']} | URL匹配,未再次新增 |",
|
||||||
f"| 新增目录记录 | {cov['newProfiles']:,} | 原始入表来源,后续深化不改变发现计数 |",
|
f"| 新增目录记录 | {cov['newProfiles']:,} | 原始入表来源,后续深化不改变发现计数 |",
|
||||||
f"| 年份不符或缺失 | {cov['otherOrMissingYear']} | 此轮不作为成立年匹配项 |",
|
f"| 原目录列为范围外年份 | {sum(outside_years.values())} | {year_detail};原快照自述,不是独立登记核验 |",
|
||||||
|
f"| 原目录未给成立年 | {excluded_years[None]} | 与已列范围外年份分开,仍待补证 |",
|
||||||
f"| AI业务待确认 | {cov['unclearAI']} | 不强行把背景关键词当主营 |",
|
f"| AI业务待确认 | {cov['unclearAI']} | 不强行把背景关键词当主营 |",
|
||||||
f"| 成立年与批次冲突 | {cov['dateConflicts']} | 另保留核查记录 |", '',
|
f"| 成立年与批次冲突 | {cov['dateConflicts']} | 另保留核查记录 |", '',
|
||||||
f"全表由{depth}条目录基础项和{len(companies)-depth}条个案或平台记录组成。候选池已匹配项之外另有{len(companies)-cov['matchingProfiles']}条记录,包含其他来源及发布/转型对照;其中已有{promoted}条原目录记录深化为个案,仍保留目录来源。两种统计边界不同。候选池数字只是该镜像快照的覆盖,Bud等后续定向补充不回填为原候选池已覆盖。", '',
|
f"全表由{depth}条目录基础项和{len(companies)-depth}条个案或平台记录组成。候选池已匹配项之外另有{len(companies)-cov['matchingProfiles']}条记录,包含其他来源及发布/转型对照;其中已有{promoted}条原目录记录深化为个案,仍保留目录来源。两种统计边界不同。候选池数字只是该镜像快照的覆盖,Bud等后续定向补充不回填为原候选池已覆盖。", '',
|
||||||
@@ -191,8 +264,8 @@ def render():
|
|||||||
f"| 其他目录基础项 | {depth-reviewed} | 规则初分或资料不足,继续待复核 |",
|
f"| 其他目录基础项 | {depth-reviewed} | 规则初分或资料不足,继续待复核 |",
|
||||||
f"| 有团队数字 | {sum(c['team'] is not None for c in companies)} | 多为自报Team Size或Employees,时点与口径不统一 |",
|
f"| 有团队数字 | {sum(c['team'] is not None for c in companies)} | 多为自报Team Size或Employees,时点与口径不统一 |",
|
||||||
f"| 专项技术证据记录 | {len(companies)-technical['unreviewed']} | 其中{technical['description']}条自述、{technical['public-artifact']}条公开材料、{technical['independent-test']}条第三方评测 |",
|
f"| 专项技术证据记录 | {len(companies)-technical['unreviewed']} | 其中{technical['description']}条自述、{technical['public-artifact']}条公开材料、{technical['independent-test']}条第三方评测 |",
|
||||||
f"| 公司披露收入线索 | {income['self']} | 含历史、下界、币种不明及产品业务声明,不等于可比ARR |",
|
f"| 企业披露收入线索 | {income['self']} | 含公司或交易当事方披露、历史、下界及币种不明,不等于可比ARR |",
|
||||||
f"| 仅平台收入线索 | {income['platform']} | 同时有公司披露者计入上一行,不重复计数 |",
|
f"| 仅平台收入线索 | {income['platform']} | 同时有企业披露者计入上一行,不重复计数 |",
|
||||||
f"| 仅第三方估算 | {income['estimate']} | 不与直接披露混合 |",
|
f"| 仅第三方估算 | {income['estimate']} | 不与直接披露混合 |",
|
||||||
f"| 暂无可用收入数字 | {income['unknown']} | 包含尚未逐家搜索的目录项,不代表没有收入 |", '',
|
f"| 暂无可用收入数字 | {income['unknown']} | 包含尚未逐家搜索的目录项,不代表没有收入 |", '',
|
||||||
'## 业务分类与数据入口', '',
|
'## 业务分类与数据入口', '',
|
||||||
@@ -217,13 +290,16 @@ def render():
|
|||||||
lines.append(f"| {name} | {len(entries)} | {len({e['url'] for e in entries})} | {note} |")
|
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]
|
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.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 += directory_rechecks()
|
||||||
lines += source_register()
|
lines += source_register()
|
||||||
lines += context_methods()
|
lines += context_methods()
|
||||||
lines += candidate_register()
|
lines += candidate_register()
|
||||||
lines += ['', '## 尚未满足的研究条件', '',
|
lines += ['', '## 尚未满足的研究条件', '',
|
||||||
'行业ARR比较仍缺统一业务截止日、币种、经常性定义和业务边界。现有平台MRR可描述已采集产品,不足以代表全部新公司。技术评测只覆盖所列版本与任务,不宜跨领域汇总为统一强弱分数。', '',
|
'行业ARR比较仍缺统一业务截止日、币种、经常性定义和业务边界。现有平台MRR可描述已采集产品,不足以代表全部新公司。技术评测只覆盖所列版本与任务,不宜跨领域汇总为统一强弱分数。', '',
|
||||||
'下一轮优先补收入线索的日期及合同定义、非YC和非英文来源、规则初分的人工复核,以及停止服务或被收购案例。这样能减少“只见赢家”和“只见融资公司”的偏差。公开来源池之外的未披露公司仍无法证明已被穷尽。', '',
|
'下一轮优先补收入线索的日期及合同定义、成立年冲突、AI主营仍待核项、非YC和非英文来源,以及停止服务或被收购案例。这样能减少“只见赢家”和“只见融资公司”的偏差。公开来源池之外的未披露公司仍无法证明已被穷尽。', '',
|
||||||
]
|
]
|
||||||
return '\n'.join(lines)
|
return '\n'.join(lines)
|
||||||
|
|
||||||
|
|||||||
@@ -89,23 +89,42 @@ def link(cid):
|
|||||||
|
|
||||||
def render():
|
def render():
|
||||||
points, excluded = sample(7)
|
points, excluded = sample(7)
|
||||||
|
grouped = groups(points)
|
||||||
|
described = [(key, stats(values)) for key, values in sorted(grouped.items())]
|
||||||
|
sizes = [value['n'] for _, value in described]
|
||||||
|
eligible = [(key, value) for key, value in described if value['n'] >= 3]
|
||||||
|
interpretation = '各组均不足3个样本,暂不比较分组离散度或收入高低。'
|
||||||
|
if eligible:
|
||||||
|
highest_key, highest = max(eligible, key=lambda item: item[1]['mean'])
|
||||||
|
sensitive_key, sensitive = max(eligible, key=lambda item: item[1]['largestRemovalDrop'] or 0)
|
||||||
|
cvs = [value['cv'] for _, value in eligible if value['cv'] is not None]
|
||||||
|
cv_text = f"CV范围为{min(cvs):.3f}—{max(cvs):.3f}。" if cvs else '各组CV均不可计算。'
|
||||||
|
interpretation = (
|
||||||
|
f"在至少3个样本的组内,当前均值最高的是{CATEGORIES[highest_key[0]]} · {highest_key[2]}"
|
||||||
|
f"({highest_key[1]},{money(highest['mean'])}美元每月)。{cv_text}"
|
||||||
|
f"剔除最大值后均值下降最多的是{CATEGORIES[sensitive_key[0]]} · {sensitive_key[2]}"
|
||||||
|
f"({sensitive_key[1]},下降{sensitive['largestRemovalDrop'] or 0:.1%})。"
|
||||||
|
'这些只是当前采集点的描述,不据微小CV差异宣称某领域更稳定。'
|
||||||
|
)
|
||||||
|
size_text = f"各组目前只有{min(sizes)}至{max(sizes)}个产品" if sizes else '当前没有可比较的产品'
|
||||||
lines = [
|
lines = [
|
||||||
'# AI 公司收入样本分布快照', '',
|
'# AI 公司收入样本分布快照', '',
|
||||||
f"截至 {DATA['asOf']},7日窗口内有 {len(points)} 个产品的美元平台MRR可纳入分组描述。创意软件订阅组的样本均值较高、CV也较大;营销软件组与消费者个人应用组的CV接近。各组只有1至5个产品,尚不足以估计行业总体或造假概率。", '',
|
f"截至 {DATA['asOf']},7日窗口内有 {len(points)} 个产品的美元平台MRR可纳入分组描述。按业务、支付平台和收费模式分别计算均值、中位数与离散度。{size_text},尚不足以估计行业总体或造假概率。", '',
|
||||||
f"这是已采集资料的固定快照。[动态工作台]({BASE})提供筛选与原始证据。窗口按最后同步日计算,不保证所有点同日,也不是{len(DATA['companies']):,}条公司/产品记录的收入普查。", '',
|
f"这是已采集资料的固定快照。[动态工作台]({BASE})提供筛选与原始证据。窗口按最后同步日计算,不保证所有点同日,也不是{len(DATA['companies']):,}条公司/产品记录的收入普查。", '',
|
||||||
'## 7日窗口的分组结果', '',
|
'## 7日窗口的分组结果', '',
|
||||||
'MRR单位为美元每月。CV为样本标准差除以均值;最大值剔除降幅表示移除最高收入产品后均值下降的比例。单个样本不计算离散度。', '',
|
'MRR单位为美元每月。CV为样本标准差除以均值;最大值剔除降幅表示移除最高收入产品后均值下降的比例。单个样本不计算离散度。', '',
|
||||||
'| 业务及收费模式 | 平台 | 样本数 | 均值 | 中位数 | CV | 最大值剔除降幅 |',
|
'| 业务及收费模式 | 平台 | 样本数 | 均值 | 中位数 | CV | 最大值剔除降幅 |',
|
||||||
'| --- | --- | --- | --- | --- | --- | --- |',
|
'| --- | --- | --- | --- | --- | --- | --- |',
|
||||||
]
|
]
|
||||||
for key, values in sorted(groups(points).items()):
|
for key, values in sorted(grouped.items()):
|
||||||
cat, provider, model = key
|
cat, provider, model = key
|
||||||
v = stats(values)
|
v = stats(values)
|
||||||
cv = f"{v['cv']:.3f}" if v['cv'] is not None else '不计算'
|
cv = f"{v['cv']:.3f}" if v['cv'] is not None else '不计算'
|
||||||
drop = f"{v['largestRemovalDrop']:.1%}" if v['largestRemovalDrop'] is not None else '不计算'
|
drop = f"{v['largestRemovalDrop']:.1%}" if v['largestRemovalDrop'] is not None else '不计算'
|
||||||
lines.append(f"| {CATEGORIES[cat]} · {model} | {provider} | {v['n']} | {money(v['mean'])} | {money(v['median'])} | {cv} | {drop} |")
|
lines.append(f"| {CATEGORIES[cat]} · {model} | {provider} | {v['n']} | {money(v['mean'])} | {money(v['median'])} | {cv} | {drop} |")
|
||||||
lines += ['',
|
lines += ['',
|
||||||
'在至少3个样本的组内,内容创意软件订阅的均值较高,但移除最大样本后的下降也最大。营销软件与个人应用的CV仅有微小差别,不据此宣称哪个领域更稳定。两个内容类单样本组虽有更高数值,不能作为典型收入或领域排名。', '',
|
interpretation, '',
|
||||||
|
'单个样本不计算离散度,也不能作为典型收入或领域排名;不同收费模式和支付平台的分组保留各自含义。', '',
|
||||||
'均值和中位数接近只描述当前采集点,并不证明样本具有代表性。平台公开者、成立年、规模、获客渠道与收费方式均可能影响结果。', '',
|
'均值和中位数接近只描述当前采集点,并不证明样本具有代表性。平台公开者、成立年、规模、获客渠道与收费方式均可能影响结果。', '',
|
||||||
'## 样本与证据入口', '',
|
'## 样本与证据入口', '',
|
||||||
'点击产品名称可打开公司明细,再查看平台记录及其限制。连接已过期的近期快照仍按所标日期保留,并不表示连接当前有效。', '',
|
'点击产品名称可打开公司明细,再查看平台记录及其限制。连接已过期的近期快照仍按所标日期保留,并不表示连接当前有效。', '',
|
||||||
|
|||||||
Reference in New Issue
Block a user