Skip to content

Apply external_authority to AVE-2026-00074, clearing its enum-gap fixture (issue #218) - #220

Merged
chaksaray merged 1 commit into
aveproject:developfrom
narko4u:fix/ave-00074-external-authority-218
Aug 29, 2026
Merged

Apply external_authority to AVE-2026-00074, clearing its enum-gap fixture (issue #218)#220
chaksaray merged 1 commit into
aveproject:developfrom
narko4u:fix/ave-00074-external-authority-218

Conversation

@narko4u

@narko4u narko4u commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Closes #218.

Both halves of #98 have landed (#213, #214). This is the one remaining piece named in both PRs: AVE-2026-00074 sat at the floor basis because its evidence_basis_engines had no member for "an external authority was queried and returned a determinate answer." The record's detection_methodology already describes probing GitHub's users API, package registries, and RDAP; it just predated the vocabulary.

Change:

Verification (the CI commands, all green):

  • python scripts/check_confidence_signal.py --json: findings count 0 (was 1, AVE-2026-00074)
  • python scripts/write_verification_basis.py: "All 80 records agree with their derived verification_basis." (exit 0)
  • python scripts/validate_records.py: "All 80 records valid against schema/ave-record-1.1.0.schema.json." (exit 0; two pre-existing researcher-name warnings unrelated to this change)
  • python scripts/check_fixtures.py: "All 80 records have positive and negative conformance fixtures." (exit 0)
  • python scripts/validate_crosswalks.py: 9/9 valid (exit 0)
  • pytest tests/ -q: 428 passed (CI-identical venv with pip install -e ".[dev]")

Note: the record file remains non-canonical relative to write_verification_basis.py's serialisation (73 of 80 records on main are), so this change hand-edits only the one field and leaves the file's existing formatting untouched; corpus canonicalisation stays the separate work already named in #98.

@narko4u

narko4u commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

Quick status note: issue #98 was closed as completed (#213, #214 shipped). This PR is not part of that closure, it is the remaining fix for issue #218 (the AVE-2026-00074 enum-gap fixture). Still open, still needed, ready for review.

@chaksaray
chaksaray changed the base branch from main to develop August 29, 2026 04:15
@chaksaray

Copy link
Copy Markdown
Contributor

Traced this against the actual diff, it holds up completely.

The record edit is exactly one line, evidence_basis_engines only, nothing else in the file touched. Confirms the "hand-edited just the one field" claim precisely rather than taking it on faith.

The new test through the actual is_floor_basis() logic by hand: with evidence_basis_engines as ["pattern", "external_authority"], len(set(engines)) is 2, so the cardinality floor doesn't apply, and evidence_kind_default isn't semantic_inference either, so is_floor_basis() returns False and confidence_signal() returns None on the early-exit check. That's exactly what test_external_authority_member_clears_the_00074_enum_gap asserts, confirmed mechanically.

The part worth separate credit: how the two existing tests got handled. Neither got silently left stale, which would have quietly implied 00074 still looks like this, and neither got deleted just because they described the record's old shape. Both docstrings were corrected to say "pre-#218" and clarify what each test actually pins, the floor behavior in general, the note logic for any pre-vocabulary record, using 00074's old shape as a realistic example rather than asserting something about its current state. That's the harder, more careful edit, recognizing a test's real purpose is broader than the specific record it was modeled on, and fixing the description instead of either ignoring the drift or overcorrecting into deleting a still-valid test.

Merging.

@chaksaray
chaksaray merged commit 8dcddde into aveproject:develop Aug 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apply external_authority to AVE-2026-00074, clearing its enum-gap fixture

2 participants