Skip to content

Keyword families (PHP): 5 red cells on the pinned crucible (Part of #8863) #9337

Done

Description

@squid-protocol

What

PHP: 5 keyword-family cells are below 0.8 (the weaker of recall and precision) on at least 10 oracle functions of the pinned language-crucible, from tests/family_validity_baseline.json on main. Part of the epic #8863 (keyword-family validity).

Red cells

  • bitwise_ops: recall 1.00, precision 0.13 (190 fire vs 24 the parser sees) -- over-counts
  • io: recall 0.61, precision 0.27 (41 fire vs 18 the parser sees) -- both
  • decorators: recall 1.00, precision 0.54 (80 fire vs 43 the parser sees) -- over-counts
  • debug_prints: recall 0.94, precision 0.77 (22 fire vs 18 the parser sees) -- over-counts
  • time_date_logic: recall 0.79, precision 0.95 (20 fire vs 24 the parser sees) -- misses

How

Follow .claude/skills/family-validity-fix/SKILL.md and docs/agents/family-validity-checklist.md (rulings already made, the cause table, recipes, PR checklist). Per cell: re-measure on current origin/main first (many are already fixed or were the oracle's error), name the cause class, read the contract, trace before editing, make the smallest fix, test both directions, then CPU, keyword-rosetta and a clean-venv golden bless once for the PR. python tests/tools/family_red_cells.py --lang php prints the cells with their contract sentences. One PR for PHP only. A contract that is draft or silent is a question to file on #8863, not a reason to stop.

Checklist

Activity

  1. added
    metrics
    core-engine
    on Nov 26, 2026
  2. squid-protocol commented on Nov 26, 2026

    @squid-protocol
    OwnerAuthor

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

  3. squid-protocol commented on Nov 26, 2026

    @squid-protocol
    OwnerAuthor

    Done in #9370: all five PHP cells are at 0.8 or better on the pinned crucible (decorators measured on the unpinned wordpress scan). The superglobal/header io contract question is recorded in the PR for #8863.

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

    claim:melekcore-enginemetricspriority: medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions