Repository navigation
Conversation
|
Review of the production code (I did not read the test files in depth). I found nothing that should block merge.
Behaviour looks right. Folding happens after the score, the default is off, and |
… query-string variants with their canonical page #1350 Signed-off-by: Nik Cubrilovic <[email protected]>
… pages under; document in-place fold and morePages #1350 Signed-off-by: Nik Cubrilovic <[email protected]>
1719087 to
c560ed5
Compare
|
Reviewed the diff and found no blocking issues. The keyset and offset pagination match the storage implementations in
CHANGELOG, docs and tests are included. |
|
Landed in v0.0.145 as nik |
Refs #1350
Public part of #1350 (the hosted wiring and the smart-audit union need the private surface; tracked in squirrelscan/repo#3691). No dependency on #1348.
buildV1Report(the builder the hosted container uses) takesfoldCanonicalVariants: variants are counted with their canonical (totalPages,pages, checks' pages,canonicalVariants/canonicalVariantPages), folded after the score so the score does not move. Off by default; a site with no variants is byte-identical either way (test). It rewrites the caller'sruleResultschecks in place (documented).foldEntityMapVariants(exported from theentity-mapbarrel, core-contracts only) counts a variant's entities under its canonical page soentities.summary.pagesTotalequalsmeta.totalPages;entityMapVariantKeysre-keys the fold to the final URLs the entity map uses, so a redirected variant or canonical still folds (e2e). The stored map keeps every crawled page.morePageson nodes and edges is not re-counted.squirrel audit" means the entity-map fold only; the report builder flag is not on in any caller yet.Skill change: none.
nik