Review third uncertain AI cohort and retain shutdown and mixed service evidence
This commit is contained in:
@@ -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");
|
||||
assert.equal(consumeCode(config, "invalid"), "limited");
|
||||
const initial = readResearchSnapshot();
|
||||
assert.equal(initial.companies.length, 1078);
|
||||
assert.equal(initial.evidence.length, 2831);
|
||||
assert.equal(initial.observations.length, 380);
|
||||
assert.equal(initial.companies.length, 1090);
|
||||
assert.equal(initial.evidence.length, 2901);
|
||||
assert.equal(initial.observations.length, 388);
|
||||
assert.deepEqual(initial.candidateBatches, seed.candidateBatches, "candidate gaps persist in the same database metadata");
|
||||
assert.deepEqual(initial.directoryRechecks, seed.directoryRechecks, "follow-up classifications persist without rewriting the discovery audit");
|
||||
assert.deepEqual(readResearchSnapshot(), initial, "reopening does not duplicate records");
|
||||
@@ -64,8 +64,8 @@ test("research validation rejects broken evidence and unsafe source links", () =
|
||||
|
||||
test("reviews link explicit companies without turning global or excluded cases into companies", () => {
|
||||
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "companies").length, 176);
|
||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "dataset").length, 14);
|
||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "companies").length, 179);
|
||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "dataset").length, 15);
|
||||
assert.equal(snapshot.reviews.filter((r) => r.scope === "excluded-candidate").length, 44);
|
||||
const review = snapshot.reviews.find((r) => r.id === "R4")!;
|
||||
assert.deepEqual(reviewCompanyIds(snapshot, review), ["AI007", "AI013", "AI021", "AI034"]);
|
||||
@@ -85,11 +85,11 @@ test("reviews link explicit companies without turning global or excluded cases i
|
||||
test("disclosure counts exclude client income, biographies, targets and duplicate milestones", () => {
|
||||
const snapshot = seed as ResearchSnapshot;
|
||||
const summary = categorySummary(snapshot);
|
||||
assert.equal(summary.reduce((n, c) => n + c.count, 0), 1078);
|
||||
assert.equal(summary.reduce((n, c) => n + c.count, 0), 1090);
|
||||
assert.equal(summary.reduce((n, c) => n + c.self, 0), 53);
|
||||
assert.equal(summary.reduce((n, c) => n + c.estimate, 0), 2);
|
||||
assert.equal(summary.reduce((n, c) => n + c.platform, 0), 19);
|
||||
assert.equal(summary.reduce((n, c) => n + c.unknown, 0), 1004);
|
||||
assert.equal(summary.reduce((n, c) => n + c.unknown, 0), 1016);
|
||||
assert.equal(snapshot.companies.find((c) => c.name === "Rork")?.revenueStatus, "unknown");
|
||||
assert.equal(snapshot.companies.find((c) => c.name === "Result")?.revenueStatus, "unknown");
|
||||
assert.ok(snapshot.observations.filter((o) => o.selection === "signal").every((o) => o.scope === "公司整体"));
|
||||
@@ -124,8 +124,8 @@ test("service run rates, legacy freight revenue and paid adoption do not become
|
||||
|
||||
test("technical reviews keep accessible materials separate from tested capabilities", () => {
|
||||
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview).length, 88);
|
||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "public-artifact").length, 19);
|
||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview).length, 93);
|
||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "public-artifact").length, 20);
|
||||
assert.equal(snapshot.companies.filter((c) => c.technicalReview?.level === "independent-test").length, 1);
|
||||
assert.equal(snapshot.companies.find((c) => c.id === "AI051")?.revenueStatus, "unknown");
|
||||
assert.match(snapshot.companies.find((c) => c.id === "AI051")!.technicalReview!.testScope!, /Sep 2026/);
|
||||
@@ -522,6 +522,34 @@ test("a second uncertain cohort admits evidenced AI tasks while preserving auton
|
||||
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("Chinese discovery entries preserve unread articles and use separate primary evidence", () => {
|
||||
const snapshot = structuredClone(seed) as ResearchSnapshot;
|
||||
const batch = snapshot.candidateBatches!.find((b) => b.id === "JQ-2026-targeted-1")!;
|
||||
|
||||
Reference in New Issue
Block a user