Skip to content

Page type: other root index documents (default.*, home.*, index.php and the rest) read as the home page #1605

Closed as not planned

Description

@nc9

Follow-up to #902, which shipped the root /index.html document as the home page (measured 0.889 raw, 0.946 after set-asides, on 628 live sites). Other root documents are still read as unknown or as their own page type: default.*, home.*, and the extensions htm, php, asp, aspx and jsp. Main pins which of those names are not treated as the root until a measurement clears the bar.

Acceptance Criteria

  • The precision of "a single-segment root document with a web extension is the site's home page" is measured on at least 100 pages that are not in the page-type training or audit sets, with the judge blind to the label, and is at least 0.90 (lower bound reported)
  • If it holds, isRootPath treats a single-segment index.*, default.* and home.* document with a web extension (html, htm, php, asp, aspx, jsp) as the root, so the page gets homepage with confidence 1
  • Tests cover each document name, each extension, a nested path, a query string and a fragment
  • The README states the rule and the measured precision

Activity

  1. added
    enhancement
    size: S
    on Nov 5, 2026
  2. added theissue type on Nov 5, 2026
  3. nc9 commented on Nov 11, 2026

    @nc9
    ContributorAuthor

    Blocked on its own criterion: it needs precision measured on 100+ unseen pages with a blind judge, and the #902 numbers (index.php 0.79, index.htm 0.52, default/home 0.0 to 0.5) are all below the 0.90 bar. No isRootPath change until that measurement run happens.

    nik

  4. added
    engine
    on Nov 13, 2026
  5. nc9 commented on Nov 13, 2026

    @nc9
    ContributorAuthor

    Re-measured on a fresh sample. Result: the rule does not hold, so isRootPath stays as it is.

    Sample. 2,500 random Tranco top-1M domains (seed 1605), after removing every host and registrable domain in the #902 materials (3,331 hosts, 3,018 domains). 1,450 answered / with HTTP 200; 155 catch-all sites were excluded. Overlap with the page-type training set is unknown: no training-membership list exists, so this sample is only guaranteed disjoint from #902's audited set. It is also a different population from #902's launch corpus.

    Judging. A single model judge, blind to the variant and the automated label, compared title, first H1 and the first 900 characters of each pair. It agreed with all 50 automated "same page" controls. It is not a human judge.

    variant pairs judged same page precision Wilson lower 95%
    index.html 272 239 0.879 0.835
    index.php 254 238 0.937 0.900

    index.php reaches the bar only with 9 near-empty answers excluded; with them counted it is 238 of 263 (0.905, lower bound 0.863). The other 13 variants (default.*, home.* and the rest) score 0.06 to 0.42 precision on the automated check alone.

    Decision (lead, 2026-11-13): no change. The general rule fails the 0.90 lower-bound bar, and a one-off index.php special case on a marginal, model-judged number is not worth the risk of mislabelling pages. Closing as not planned; reopen if a human-judged sample says otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineenhancementsize: S

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions