补充Speedrun收入声明并关联公司核查记录
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, 1006);
|
||||
assert.equal(initial.evidence.length, 1071);
|
||||
assert.equal(initial.observations.length, 131);
|
||||
assert.equal(initial.companies.length, 1013);
|
||||
assert.equal(initial.evidence.length, 1078);
|
||||
assert.equal(initial.observations.length, 145);
|
||||
assert.deepEqual(readResearchSnapshot(), initial, "reopening does not duplicate records");
|
||||
const db = openSiteDatabase();
|
||||
const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table'").all() as { name: string }[];
|
||||
@@ -63,8 +63,8 @@ test("research validation rejects broken evidence and unsafe source links", () =
|
||||
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), 1006);
|
||||
assert.equal(summary.reduce((n, c) => n + c.self, 0), 9);
|
||||
assert.equal(summary.reduce((n, c) => n + c.count, 0), 1013);
|
||||
assert.equal(summary.reduce((n, c) => n + c.self, 0), 16);
|
||||
assert.equal(summary.reduce((n, c) => n + c.estimate, 0), 1);
|
||||
assert.equal(summary.reduce((n, c) => n + c.platform, 0), 16);
|
||||
assert.equal(summary.reduce((n, c) => n + c.unknown, 0), 980);
|
||||
@@ -93,6 +93,19 @@ test("technical reviews keep accessible materials separate from tested capabilit
|
||||
"an accessible artifact cannot become a test record without a stated test scope");
|
||||
});
|
||||
|
||||
test("ambiguous ARR claims retain currency, precision and attribution limits", () => {
|
||||
const snapshot = seed as ResearchSnapshot;
|
||||
const variant = snapshot.observations.filter((o) => o.company === "AI066");
|
||||
assert.deepEqual(variant.filter((o) => o.selection === "crosscheck").map((o) => o.value).sort(), [500000, 600000]);
|
||||
assert.equal(variant.filter((o) => o.selection === "signal").length, 0);
|
||||
assert.ok(variant.filter((o) => [2500000, 40000000].includes(o.value)).every((o) => o.selection === "excluded"));
|
||||
const codos = snapshot.observations.find((o) => o.id === "SR-O-AI065-arr")!;
|
||||
assert.equal(codos.bound, "≥");
|
||||
assert.equal(codos.unit, "币种未注明");
|
||||
assert.equal(codos.comparisonGroup, null);
|
||||
assert.ok(snapshot.observations.filter((o) => o.id.startsWith("SR-O-")).every((o) => o.comparisonGroup === null && o.unit !== "USD"));
|
||||
});
|
||||
|
||||
// Retractions and forecasts must stay visible for review without becoming revenue signals.
|
||||
test("retracted ARR and projected margins remain excluded", () => {
|
||||
const snapshot = seed as ResearchSnapshot;
|
||||
|
||||
Reference in New Issue
Block a user