Skip to content

Research/content region coverage v1 - #81

Merged
byte271 merged 30 commits into
mainfrom
research/content-region-coverage-v1
Aug 23, 2026
Merged

byte271 merged 30 commits into
mainfrom
research/content-region-coverage-v1

Conversation

@byte271

@byte271 byte271 commented Aug 23, 2026

Copy link
Copy Markdown
Owner

No description provided.

Cyinh added 30 commits August 22, 2026 20:05
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 3cb43c5a-bf84-4807-a027-e8781eed3df9


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0ec055be52

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

not row["introduced_forbidden_codepoints"]
and not row["introduced_non_ascii_codepoints"]
and not row["introduced_normalization_instability"]
and row["cf_strip_noop"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Ignore inherited format characters in the Cf gate

When a source already contains a Unicode Cf character and the transformation preserves it, introduced_forbidden_codepoints is correctly empty, but cf_strip_noop is still false because it examines the entire transformed string. This makes gates_pass reject a candidate for a pre-existing source property, contrary to the introduced-codepoint semantics used for the other forbidden categories and causes valid rows from such corpora to fail the robustness report.

Useful? React with 👍 / 👎.

protected_intersections = 0
for start_window, end_window in uncovered_spans:
char_start = offsets[start_window][0] if start_window < len(offsets) else len(text)
char_end = offsets[min(end_window - 1, len(offsets) - 1)][1] if end_window - 1 < len(offsets) else len(text)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the full n-gram when mapping uncovered windows

For an isolated uncovered observation window, this endpoint includes only the token at the window's start, although each detector observation spans NGRAM_LEN (five) tokens. Runs are similarly shortened by four tokens, so uncovered_lexical_categories, unprotected_word_samples, and protected_span_intersections omit most of every uncovered region and can support incorrect coverage-hole conclusions.

Useful? React with 👍 / 👎.

@byte271
byte271 merged commit 6fcca47 into main Aug 23, 2026
25 checks passed
@github-actions
github-actions Bot deleted the research/content-region-coverage-v1 branch August 23, 2026 23:46
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.

1 participant