Skip to content

Feature inventory: compile listings and expanded copies are still counted as programs (follow-up to #8112) #8411

Closed

Description

@squid-protocol

Follow-up to #8112 (closed), found while adding Blind 1 to the training ladder (#8409).

What is wrong

feature_inventory.py (gitgalaxy/tools/readiness/inventory.py, scan_estate) still counts compile-listing and expanded copies as programs. #8112 taught the census inventory to set these apart (cics_census.listing_reason, #8115), but the feature-inventory scan never got the same rule.

Blind 1's inventory (tests/fixtures/feature_inventory/example-health-apis.json, generated in CI run 43463469957 and committed unmodified in #8409) shows it:

count
entries in eras.programs 58
of those under HCAZ_Source/IBMUSER.ZMOBILE.COBOL/.expanded/ 29
program references in cics_commands that point at .expanded/ copies 167

The estate has 29 programs (owner restatement 2026-11-08, #8073; the evidence report lists 29).

Who is affected

  • Not affected: the progress slide's ladder and era cards. They match inventory entries by the evidence report's program paths, so the copies never join.
  • Inflated: anything that counts inventory entries or their programs lists directly, such as gap_prevalence.py, support_matrix.py and suite_select_plan.py. Each .expanded/ copy counts its commands, statements and SQL forms a second time.
  • Other estates: the six older estates have no listing directories as far as their inventories show, so today this is a Blind 1 problem. Every new draw that ships compile listings would repeat it.

Fix

  1. Have scan_estate skip any member that cics_census.listing_reason names. The rule could also move to a shared module if importing a tests/tools file from the package is not wanted.
  2. List the skipped members apart, as the census does, rather than dropping them silently. An excluded_listings key with a count and a reason per member would do.
  3. Regenerate the example-health-apis inventory from the pinned clone. The CI corpora cache has it, and so does the private archive squid-protocol/example-health-apis-archive, whose tree is identical to the pinned commit 9cfe321e2028.
  4. Add a test: an authored estate with a .expanded/ copy and a listing-numbered member; the inventory names only the real program and lists the other two as excluded.

feature_inventory.py --all-burned --check in the ground-truth job then pins the result.

Done when

  • Blind 1's inventory has 29 eras.programs entries and no .expanded/ path anywhere.
  • The six older inventories are unchanged.

Activity

  1. added
    bug
    scope:core
    on Nov 13, 2026
  2. squid-protocol commented on Nov 17, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8411-20261117T0655Z (host nyx) ended without a PR. superseded by 0711Z

  3. squid-protocol commented on Nov 17, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8411-20261117T0711Z (host nyx) ended without a PR. PR #8555 reviewed, merge

  4. squid-protocol commented on Nov 17, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8411-20261117T1031Z (host nyx) ended without a PR. no PR: example-health-apis corpus gone upstream; owner question written

  5. squid-protocol commented on Nov 17, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-17T13:21Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

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

    bugclaim:nyxscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions