Skip to content

Guard reviewed Needle3 and Sepia architecture gaps - #343

Merged
bong-water-water-bong merged 2 commits into
mainfrom
copilot/census-new-hf-model-class
Oct 6, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
copilot/census-new-hf-model-class

Conversation

Copilot AI commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The census surfaced Needle3ForCausalLM and SepiaCharMLP, neither of which is supported by a pinned backend or is an alias of a mapped family. Keep them reviewed as uncovered rather than implying runtime support.

  • Regression coverage: Assert both classes retain their model_type and family metadata, remain absent from architectures.json, and are reported as reviewed uncovered classes.
  • Documentation: Assert both classes remain documented in docs/arch-gaps.md.

Co-authored-by: bong-water-water-bong <[email protected]>
Copilot AI changed the title [WIP] Add uncovered Hugging Face model classes to engine registry Guard reviewed Needle3 and Sepia architecture gaps Oct 6, 2026
@bong-water-water-bong
bong-water-water-bong marked this pull request as ready for review October 6, 2026 22:52
@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) October 6, 2026 22:52
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

330 - Partially compliant

Compliant requirements:

  • Both Needle3ForCausalLM and SepiaCharMLP are recorded as significant gaps in registry/significant.json
  • The model types and families are correctly mapped for both classes
  • Both classes are confirmed to remain absent from architectures.json
  • The classes are documented in docs/arch-gaps.md as reviewed uncovered classes
  • Regression tests confirm that these classes are still reported as uncovered and significant

Non-compliant requirements:

  • The PR does not include changes to registry/architectures.json to map the classes (as per the ticket's intent to "keep them reviewed as uncovered")

Requires further human verification:

  • Confirmation that the documentation in docs/arch-gaps.md accurately reflects the reviewed status of the classes
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 PR contains tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Missing Backend Mapping

The PR correctly ensures that Needle3ForCausalLM and SepiaCharMLP remain uncovered and documented, but does not actually map these classes in registry/architectures.json as required by the ticket's intent to "keep them reviewed as uncovered rather than implying runtime support". This is acceptable per the PR's stated goal, but the ticket's requirement to map or document these classes in the registry is not fully implemented in the code changes.

# 13. Newly reviewed non-alias classes stay out of the runtime registry and are documented.
reviewed_gaps = {
    "Needle3ForCausalLM": ("needle3", "Sakura Needle-3 (ONNX export)"),
    "SepiaCharMLP": ("sepia-char-mlp", "SEPIA character-level MLP"),
}
for cls, (model_type, family) in reviewed_gaps.items():
    entry = sig.get(cls, {})
    check(f"{cls} is recorded as a significant gap",
          entry.get("model_type") == model_type and entry.get("family") == family
          and cls not in archs)
    rc, res = rc_of([model(f"reviewed/{model_type}", cls)], archs, sig)
    check(f"{cls} remains reported as reviewed and uncovered",
          rc == 1 and res["significant"] == [cls] and res[cw.UNCOVERED] == [f"reviewed/{model_type}"])
with open(os.path.join(ROOT, "docs", "arch-gaps.md")) as f:
    gap_docs = f.read()
check("reviewed non-alias classes are documented",
      all(cls in gap_docs for cls in reviewed_gaps)
      and "not an alias" in gap_docs)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

census: new HF model class uncovered by the registry

2 participants