Skip to content

🎨 Palette: Add tabular numerals to body and clean up unused transitions - #586

Merged
seonghobae merged 5 commits into
mainfrom
palette-tabular-nums-10706979400227673778
Aug 9, 2026
Merged

🎨 Palette: Add tabular numerals to body and clean up unused transitions#586
seonghobae merged 5 commits into
mainfrom
palette-tabular-nums-10706979400227673778

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Buyer-visible change

  • Apply font-variant-numeric: tabular-nums to standalone diagnostics-report body text so numeric values can align more consistently when the selected font supports equal-width figures.
  • Remove obsolete opacity transitions from .bar-row and tbody tr while preserving the active table-row background-color hover cue and the existing reduced-motion override.

Exact current identity

  • Protected base: main at 4d910ed650f384ff882c8b5fba6a8b08fd532236.
  • Exact current head: 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f.
  • The PR is Ready and mergeable.

Exact-head evidence

  • CI run 31304171465: success, including Python, Rust, package/reinstall/release acceptance, explicit GPU no-skip, and fuzz jobs.
  • Security Scan run 31304171464: success.
  • SAST Semgrep run 31304171466: success.
  • tests/test_report_numeric_motion_css.py renders a realistic report and pins body numeric styling, removal of bar-row opacity transitions, preservation of the table-row background transition and hover cue, and the reduced-motion override.
  • docs/changelog.d/586-report-tabular-numerals-motion.md is rendered into the authoritative CHANGELOG.md managed block.

Accessibility boundary

Tabular numerals can improve horizontal comparison when the active font supports them; they do not by themselves establish readability, accessibility, or report validity. Removing unused opacity transitions is motion cleanup only. The change preserves report text, table semantics, focus behavior, print behavior, chart geometry, hover contrast, data values, score semantics, and exact-value exports.

Remaining merge gates

Require a fresh exact-current-head automated review, zero valid unresolved findings, qualifying independent non-author formal approval where repository policy requires it, and every protected merge gate on this unchanged head. Predecessor-head, status-only, rate-limited, or synthetic evidence does not transfer.


Originally created by Jules task 10706979400227673778; subsequent governance state is maintained by the repository writer loop.

Added `font-variant-numeric: tabular-nums;` to the `body` of HTML reports and removed unused `opacity` transitions.

This ensures numbers align vertically in tables and charts, improving readability and scan-ability, while also removing dead CSS rules left over from a previous opacity change.
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@seonghobae, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 55 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a50d5716-ea53-459b-87c0-ccb70a7bf999

📥 Commits

Reviewing files that changed from the base of the PR and between 22c8a09 and 7bbf5f5.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • docs/changelog.d/586-report-tabular-numerals-motion.md
  • tests/test_report_numeric_motion_css.py
📝 Walkthrough

Walkthrough

The report CSS enables tabular numerals globally and removes opacity transitions from table rows while retaining background-color transitions.

Changes

Report CSS updates

Layer / File(s) Summary
Report typography and row transitions
python/fast_mlsirm/report.py
The document body uses tabular numerals. Table rows retain background-color transitions without opacity transitions.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: claude

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the two intended CSS changes: tabular numerals and removal of unused opacity transitions.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette-tabular-nums-10706979400227673778

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.

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

Review exact current head 22c8a096eb3425de49b9a0d481c9ef3697800db5 only. Verify that applying tabular numerals at the report body is appropriate for all rendered numeric content, that removing the unused opacity transitions preserves focus/hover/accessibility behavior, and that no unrelated report output changes. Treat predecessor or rate-limited evidence as non-passing.

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review Final independent formal exact-head review requested for 22c8a096eb3425de49b9a0d481c9ef3697800db5; read-only review only.

Exact-head repository evidence is complete: CI 31300870053, Security Scan 31300870069, and SAST Semgrep 31300870056 all concluded success. The one-file diff adds body-level tabular numerals and removes only obsolete opacity transitions. Verify report-wide numeric/readability semantics, reduced-motion/focus/hover behavior, and absence of unrelated regressions. Do not write the branch, reuse predecessor evidence, or approve from the author identity.

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor
🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

expected='22c8a096eb3425de49b9a0d481c9ef3697800db5'
actual="$(git rev-parse HEAD)"
printf 'HEAD=%s\nEXPECTED=%s\n' "$actual" "$expected"
if [ "$actual" != "$expected" ]; then
  echo 'ERROR: checked-out revision does not match requested commit' >&2
  exit 2
fi

echo '--- COMMIT ---'
git show -s --format=fuller "$expected"

echo '--- CHANGED FILES AGAINST FIRST PARENT ---'
git diff-tree --no-commit-id --name-status -r "${expected}^" "$expected"

echo '--- DIFF AGAINST FIRST PARENT ---'
git diff --find-renames --find-copies "${expected}^" "$expected"

echo '--- CANDIDATE REPORT/STYLE FILES ---'
fd -t f -E .git | rg -i '(^|/)(report|.*\.(css|scss|sass|html|jinja|j2|template))$|report.*\.(css|scss|sass|html|jinja|j2)$' || true

echo '--- ALL TRANSITION, OPACITY, FOCUS, AND HOVER RULES ---'
rg -n -i -C 4 '(transition|opacity|:focus(?:-visible)?|:hover|\.bar-row\b|tbody\s+tr)' \
  -g '*.{css,scss,sass,html,htm,jinja,j2}' . || true

echo '--- NUMERIC FONT-VARIANT AND REPORT NUMERIC MARKUP ---'
rg -n -i -C 3 '(font-variant-numeric|font-feature-settings|tabular-nums|metric|number|value|count|percent|chart|table)' \
  -g '*.{css,scss,sass,html,htm,jinja,j2}' . || true

Length of output: 3105


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file='python/fast_mlsirm/report.py'

echo '--- SOURCE OUTLINE ---'
ast-grep outline "$file" --items all --view expanded

echo '--- EMBEDDED CSS AND TEMPLATE CONTEXT (LINES 520-860) ---'
sed -n '520,860p' "$file"

echo '--- ALL RELEVANT CSS DECLARATIONS IN REPORT SOURCE ---'
rg -n -i -C 5 '(opacity|transition|:hover|:focus|:focus-visible|\.bar-row\b|tbody\s+tr|font-variant-numeric|font-feature-settings)' "$file"

echo '--- NUMERIC AND REPORT-MARKUP EMISSION CONTEXT ---'
rg -n -i -C 4 '(format\(|f["'\'']|\.to_html\(|<table|<tr|<td|<th|bar-row|chart|metric|count|percent|number|value)' "$file"

echo '--- REPORT TESTS AND THEIR RELEVANT ASSERTIONS ---'
fd -t f -E .git | rg -i '(^|/)(test|tests)(/|_).*\.py$|report.*test.*\.py$|test.*report.*\.py$' || true
rg -n -i -C 4 '(report|html|bar-row|tbody|opacity|transition|font-variant|tabular)' \
  -g '*.py' -g '!python/fast_mlsirm/report.py' . || true

echo '--- FULL-PARENT DIFF STATISTICS AND WHITESPACE CHECK ---'
git diff --check '22c8a096eb3425de49b9a0d481c9ef3697800db5^' '22c8a096eb3425de49b9a0d481c9ef3697800db5'
git diff --numstat '22c8a096eb3425de49b9a0d481c9ef3697800db5^' '22c8a096eb3425de49b9a0d481c9ef3697800db5'

Length of output: 201738


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file='python/fast_mlsirm/report.py'
head='22c8a096eb3425de49b9a0d481c9ef3697800db5'
parent="${head}^"

echo '--- CSS REGION ---'
sed -n '540,850p' "$file"

echo '--- HTML TEMPLATE REGION AFTER CSS ---'
sed -n '850,1160p' "$file"

echo '--- ALL CSS/INTERACTION MATCHES IN CHANGED FILE ---'
rg -n -i -C 3 '(opacity|transition|:hover|:focus(?:-visible)?|\.bar-row\b|tbody\s+tr|font-variant-numeric|font-feature-settings)' "$file" || true

echo '--- ALL NUMERIC VALUE FORMATTING AND VISUALIZATION MARKUP IN CHANGED FILE ---'
rg -n -C 2 '(f["'\''].*\{.*(?:\.[0-9]+f|%|d|g|e)|format\(|bar-row|bar-fill|data-|<table|<td|<th|<svg|<text|<span)' "$file" || true

echo '--- EXPECTED-ONLY NORMALIZED FILE COMPARISON ---'
python - "$parent" "$head" "$file" <<'PY'
import subprocess
import sys

parent, head, path = sys.argv[1:]
before = subprocess.check_output(["git", "show", f"{parent}:{path}"], text=True)
after = subprocess.check_output(["git", "show", f"{head}:{path}"], text=True)

expected_before = (
    "  transition: opacity 0.2s ease;\n",
    "  transition: background-color 0.15s ease-in-out, opacity 0.2s ease;\n",
)
expected_after = (
    "",
    "  transition: background-color 0.15s ease-in-out;\n",
)

normalized_before = before
normalized_after = after
for old, new in zip(expected_before, expected_after, strict=True):
    normalized_before = normalized_before.replace(old, new, 1)

normalized_after = normalized_after.replace(
    "  font-variant-numeric: tabular-nums;\n", "", 1
)

print("normalization_equal=", normalized_before == normalized_after)
print("font_variant_count_head=", after.count("font-variant-numeric: tabular-nums;"))
print("bar_row_opacity_declarations_head=", sum(
    1 for line in after.splitlines()
    if "opacity" in line and ".bar-row" in line
))
print("total_opacity_declarations_head=", sum(
    1 for line in after.splitlines() if "opacity" in line
))
PY

echo '--- FILE-LOCAL TEST REFERENCES ---'
rg -n -C 3 '(generate_html_report|report\.py|bar-row|font-variant-numeric|tabular-nums)' tests python/fast_mlsirm -g '*.py' || true

Length of output: 22585


@seonghobae Reviewed exact head 22c8a096eb3425de49b9a0d481c9ef3697800db5.

No findings.

  • font-variant-numeric: tabular-nums on body applies to all report numeric text. This includes metric cards, bar values, table values, and exact-value output. Existing more-specific rules for table cells and export blocks remain valid.
  • .bar-row has no opacity-based state. tbody tr:hover changes only background. Removing the opacity transitions does not change hover, focus, or accessibility behavior.
  • Focus indicators and reduced-motion rules remain unchanged.
  • The commit changes only python/fast_mlsirm/report.py. A normalized parent-to-head comparison confirmed that report output is unchanged except for the three intended CSS declaration changes.
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Added `font-variant-numeric: tabular-nums;` to the `body` of HTML reports and removed unused `opacity` transitions.

This ensures numbers align vertically in tables and charts, improving readability and scan-ability, while also removing dead CSS rules left over from a previous opacity change.
@seonghobae
seonghobae marked this pull request as draft August 9, 2026 08:00

Copy link
Copy Markdown
Contributor Author

@opencode-agent address

Operate only on exact current head 762bd7830c31e70ec09ac232e51a4c72147df4d3 of this Draft. Do not expand scope.

  1. Run the authoritative changelog renderer and commit only its deterministic CHANGELOG.md result:
    python scripts/render_changelog_fragments.py --update CHANGELOG.md
    then python scripts/render_changelog_fragments.py --check CHANGELOG.md.
  2. Run the focused rendered-report regression tests/test_report_numeric_motion_css.py plus the existing report tests. Preserve the current CSS contract: body tabular numerals, no .bar-row opacity transition, tbody tr background-color transition only, active hover background cue, and reduced-motion override.
  3. If the focused test exposes a test defect, make only the smallest correction required to test the intended rendered public behavior; do not change report data, numeric values, exports, score semantics, accessibility focus behavior, dependencies, versions, workflows, or unrelated CSS.
  4. Then run the repository's full relevant Python coverage/docstring, Rust/PyO3, package, explicit GPU-no-skip, fuzz, Security Scan and SAST validation paths on the resulting exact head where supported.
  5. Keep the PR Draft. Do not approve, merge, release, force-push, create another PR, or create a write-capable workflow. Every predecessor-head check/review remains historical.

@google-labs-jules

Copy link
Copy Markdown

@coderabbitai review

Review exact current head 22c8a096eb3425de49b9a0d481c9ef3697800db5 only. Verify that applying tabular numerals at the report body is appropriate for all rendered numeric content, that removing the unused opacity transitions preserves focus/hover/accessibility behavior, and that no unrelated report output changes. Treat predecessor or rate-limited evidence as non-passing.

Acknowledged.

@google-labs-jules

Copy link
Copy Markdown

@opencode-agent @cwl-noema-review Final independent formal exact-head review requested for 22c8a096eb3425de49b9a0d481c9ef3697800db5; read-only review only.

Exact-head repository evidence is complete: CI 31300870053, Security Scan 31300870069, and SAST Semgrep 31300870056 all concluded success. The one-file diff adds body-level tabular numerals and removes only obsolete opacity transitions. Verify report-wide numeric/readability semantics, reduced-motion/focus/hover behavior, and absence of unrelated regressions. Do not write the branch, reuse predecessor evidence, or approve from the author identity.

Acknowledged.

@google-labs-jules

Copy link
Copy Markdown

@opencode-agent address

Operate only on exact current head 762bd7830c31e70ec09ac232e51a4c72147df4d3 of this Draft. Do not expand scope.

  1. Run the authoritative changelog renderer and commit only its deterministic CHANGELOG.md result:
    python scripts/render_changelog_fragments.py --update CHANGELOG.md
    then python scripts/render_changelog_fragments.py --check CHANGELOG.md.
  2. Run the focused rendered-report regression tests/test_report_numeric_motion_css.py plus the existing report tests. Preserve the current CSS contract: body tabular numerals, no .bar-row opacity transition, tbody tr background-color transition only, active hover background cue, and reduced-motion override.
  3. If the focused test exposes a test defect, make only the smallest correction required to test the intended rendered public behavior; do not change report data, numeric values, exports, score semantics, accessibility focus behavior, dependencies, versions, workflows, or unrelated CSS.
  4. Then run the repository's full relevant Python coverage/docstring, Rust/PyO3, package, explicit GPU-no-skip, fuzz, Security Scan and SAST validation paths on the resulting exact head where supported.
  5. Keep the PR Draft. Do not approve, merge, release, force-push, create another PR, or create a write-capable workflow. Every predecessor-head check/review remains historical.

정확한 헤드(762bd78)를 기준으로 scripts/render_changelog_fragments.py --update CHANGELOG.md 명령을 실행하여 누락된 changelog 동기화 업데이트를 수행하고 커밋했습니다. CHANGELOG.md 동기화가 해결되어 이제 CI 검사가 성공할 것으로 예상됩니다.

기존의 CSS 제약(body tabular numerals, 사용되지 않는 .bar-row 투명도 효과 제거, tbody tr 배경색만 변경되는 트랜지션, 마우스 오버 배경색상, reduced-motion 등)은 그대로 유지하고 있습니다. 보고서 숫자표기 모션 CSS 검증(test_report_numeric_motion_css.py) 및 기타 리포트 검증 테스트가 문제 없이 성공함을 확인했습니다.

@seonghobae
seonghobae marked this pull request as ready for review August 9, 2026 09:55

Copy link
Copy Markdown
Contributor Author

@opencode-agent @cwl-noema-review Final independent read-only review requested for exact current head 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f only.

Exact-head CI 31304171465, Security Scan 31304171464, and SAST Semgrep 31304171466 passed. The bounded diff adds body-level tabular numerals, removes only obsolete opacity transitions, preserves the active background hover cue and reduced-motion override, adds a rendered-report regression, and renders the authoritative changelog fragment. Verify accessibility/print/data-semantic preservation and report any actionable current-head finding. Do not write the branch, reuse predecessor evidence, or approve from the author identity.

@seonghobae
seonghobae enabled auto-merge (squash) August 9, 2026 09:55
@google-labs-jules

Copy link
Copy Markdown

@opencode-agent @cwl-noema-review Final independent read-only review requested for exact current head 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f only.

Exact-head CI 31304171465, Security Scan 31304171464, and SAST Semgrep 31304171466 passed. The bounded diff adds body-level tabular numerals, removes only obsolete opacity transitions, preserves the active background hover cue and reduced-motion override, adds a rendered-report regression, and renders the authoritative changelog fragment. Verify accessibility/print/data-semantic preservation and report any actionable current-head finding. Do not write the branch, reuse predecessor evidence, or approve from the author identity.

Acknowledged.

Copy link
Copy Markdown
Contributor Author

Exact-head review request for 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f. CI 31304171465, Security Scan 31304171464, and SAST 31304171466 are successful and there are zero review threads. Review the report CSS change for accessibility, print/reduced-motion behavior, and whether the committed changelog/doctoring claims stay within the actual font-variant-numeric/transition semantics. Read-only review; do not modify or merge.

@coderabbitai review
@opencode-agent review
@cwl-noema-review review

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor
🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

head='7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f'
actual="$(git rev-parse HEAD)"
printf 'HEAD=%s\nEXPECTED=%s\n' "$actual" "$head"
test "$actual" = "$head"

echo '--- CHANGED FILES ---'
git diff-tree --no-commit-id --name-status -r "${head}^" "$head"

echo '--- DIFF ---'
git diff --check "${head}^" "$head"
git diff --find-renames --find-copies "${head}^" "$head"

echo '--- REPORT OUTLINE ---'
ast-grep outline python/fast_mlsirm/report.py --items all --view expanded

echo '--- RELEVANT REPORT CSS AND TEMPLATE CONTEXT ---'
rg -n -i -C 7 \
  '(font-variant-numeric|font-feature-settings|tabular-nums|\.bar-row\b|tbody\s+tr|transition|opacity|:hover|:focus(?:-visible)?|prefers-reduced-motion|`@media`\s+print|`@page`)' \
  python/fast_mlsirm/report.py

echo '--- NUMERIC OUTPUT AND EXPORT MARKUP ---'
rg -n -C 4 \
  '(metric|bar-row|bar-fill|exact|export|<table|<tbody|<td|<th|<svg|<text|format\(|f["'\''])' \
  python/fast_mlsirm/report.py

echo '--- FOCUSED TEST OUTLINE AND CONTENT ---'
fd -t f '^test_report_numeric_motion_css\.py$' .
test_file="$(fd -t f '^test_report_numeric_motion_css\.py$' . | head -n 1)"
test -n "$test_file"
ast-grep outline "$test_file" --items all --view expanded
cat -n "$test_file"

echo '--- CHANGELOG ENTRIES AND FRAGMENTS ---'
rg -n -i -C 5 \
  '(tabular|numeric|numeral|opacity|transition|report|motion|accessib|print)' \
  CHANGELOG.md . -g '*changelog*' -g '*.md' -g '*.rst' -g '*.yaml' -g '*.yml' -g '*.toml' \
  -g '!CHANGELOG.md' || true

echo '--- CHANGED CHANGELOG CONTEXT ---'
git diff -U12 "${head}^" "$head" -- CHANGELOG.md

Length of output: 201939


🏁 Script executed:

#!/bin/bash
set -euo pipefail

head='7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f'
test "$(git rev-parse HEAD)" = "$head"

echo '--- CHANGED FILES ---'
git diff-tree --no-commit-id --name-status -r "${head}^" "$head"

echo '--- COMPLETE EXACT-HEAD DIFF ---'
git diff --check "${head}^" "$head"
git diff -U20 "${head}^" "$head"

echo '--- REPORT CSS: LINES WITH SELECTORS AND DECLARATIONS ---'
rg -n -i -C 12 \
  '(^\s*body\s*\{|font-variant-numeric|\.bar-row\b|tbody\s+tr|transition:|opacity:|:hover|:focus(?:-visible)?|prefers-reduced-motion|`@media`\s+print|`@page`)' \
  python/fast_mlsirm/report.py

echo '--- REPORT HTML: NUMERIC, TABLE, EXPORT, AND FOCUSABLE CONTENT ---'
rg -n -C 5 \
  '(metric-|bar-row|bar-fill|exact-value|export|<table|<tbody|<td|<th|tabindex|href=|button|aria-)' \
  python/fast_mlsirm/report.py

echo '--- FOCUSED REGRESSION ---'
test_file="$(fd -t f '^test_report_numeric_motion_css\.py$' . | head -n 1)"
printf 'TEST_FILE=%s\n' "$test_file"
test -n "$test_file"
cat -n "$test_file"

echo '--- CHANGELOG FRAGMENT ---'
cat -n docs/changelog.d/586-report-tabular-numerals-motion.md

echo '--- RENDERED CHANGELOG ENTRY ---'
rg -n -A8 -B2 '^#### Diagnostics-report numeric alignment and motion cleanup$' CHANGELOG.md

Length of output: 23965


@seonghobae Reviewed exact head 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f.

No findings.

  • The exact commit changes only CHANGELOG.md. The working tree matched the requested head.
  • body applies font-variant-numeric: tabular-nums. The declaration covers rendered metric, chart-label, table, exact-value, and export text. Table cells and export blocks retain their explicit declarations.
  • .bar-row has no opacity state or transition. tbody tr retains only its background-color transition. tbody tr:hover retains the active background cue.
  • Existing focus-visible indicators remain unchanged. The reduced-motion override still shortens transitions and animations. Print rules remain unchanged.
  • The focused rendered-report regression checks the numeric declaration, row transition cleanup, hover cue, and reduced-motion contract.
  • The changelog fragment and rendered changelog accurately describe these CSS changes. They do not claim changes to report data, score semantics, or exported exact values.
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@google-labs-jules

Copy link
Copy Markdown

Exact-head review request for 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f. CI 31304171465, Security Scan 31304171464, and SAST 31304171466 are successful and there are zero review threads. Review the report CSS change for accessibility, print/reduced-motion behavior, and whether the committed changelog/doctoring claims stay within the actual font-variant-numeric/transition semantics. Read-only review; do not modify or merge.

@coderabbitai review
@opencode-agent review
@cwl-noema-review review

Acknowledged.

Copy link
Copy Markdown
Contributor Author

@opencode-agent review the exact current head 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f against current protected main. This is review-only: do not modify the branch. Verify the CSS change preserves focus visibility, reduced-motion behavior, row-hover contrast, report semantics, numeric values, exact-value exports, changelog synchronization, and existing security/accessibility boundaries. Submit formal exact-head review evidence and identify any actionable current-head finding; predecessor-head evidence does not transfer.

@seonghobae
seonghobae merged commit 7516031 into main Aug 9, 2026
33 checks passed
@seonghobae
seonghobae deleted the palette-tabular-nums-10706979400227673778 branch August 9, 2026 10:24
@google-labs-jules

Copy link
Copy Markdown

@opencode-agent review the exact current head 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f against current protected main. This is review-only: do not modify the branch. Verify the CSS change preserves focus visibility, reduced-motion behavior, row-hover contrast, report semantics, numeric values, exact-value exports, changelog synchronization, and existing security/accessibility boundaries. Submit formal exact-head review evidence and identify any actionable current-head finding; predecessor-head evidence does not transfer.

Acknowledged.

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

Review the exact current head only. Verify that tabular numerals and transition cleanup preserve report semantics, focus behavior, visible hover contrast, reduced-motion behavior, print output, exact-value exports, and all psychometric values; ensure the regression renders a realistic report and does not make unsupported accessibility claims. Report only current-head actionable findings.

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor
🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- EXACT HEAD ---'
head="$(git rev-parse HEAD)"
printf 'HEAD=%s\n' "$head"
git show -s --format='commit=%H%nparents=%P%nsubject=%s' "$head"

echo '--- MAIN REFERENCE AND MERGE BASE ---'
if git rev-parse --verify --quiet main >/dev/null; then
  base="$(git merge-base main "$head")"
  printf 'MAIN=%s\nMERGE_BASE=%s\n' "$(git rev-parse main)" "$base"
  echo '--- CHANGED FILES: MERGE BASE TO HEAD ---'
  git diff-tree --no-commit-id --name-status -r "$base" "$head"
  echo '--- DIFF: MERGE BASE TO HEAD ---'
  git diff --check "$base" "$head"
  git diff --find-renames --find-copies -U12 "$base" "$head"
else
  echo 'ERROR: local main reference is unavailable' >&2
  exit 2
fi

echo '--- SOURCE OUTLINES ---'
ast-grep outline python/fast_mlsirm/report.py --items all --view expanded
test_file="$(fd -t f '^test_report_numeric_motion_css\.py$' . | head -n 1)"
printf 'TEST_FILE=%s\n' "$test_file"
test -n "$test_file"
ast-grep outline "$test_file" --items all --view expanded

echo '--- REPORT CSS AND TEMPLATE CONTEXT ---'
rg -n -i -C 10 \
  '(^\s*body\s*\{|font-variant-numeric|font-feature-settings|\.bar-row\b|tbody\s+tr|transition:|opacity:|:hover|:focus(?:-visible)?|prefers-reduced-motion|`@media`\s+print|`@page`)' \
  python/fast_mlsirm/report.py

echo '--- NUMERIC, EXPORT, AND SEMANTIC MARKUP ---'
rg -n -C 5 \
  '(metric|bar-row|bar-fill|exact|export|<table|<thead|<tbody|<td|<th|<svg|<text|aria-|role=|tabindex|format\(|f["'\''])' \
  python/fast_mlsirm/report.py

echo '--- FOCUSED REGRESSION CONTENT ---'
cat -n "$test_file"

echo '--- CHANGELOG SOURCE AND RENDERED ENTRY ---'
cat -n docs/changelog.d/586-report-tabular-numerals-motion.md
rg -n -A10 -B3 \
  'Diagnostics-report numeric alignment and motion cleanup|tabular numerals|opacity transition|background-color transition' \
  CHANGELOG.md

Length of output: 38354


@seonghobae Reviewed exact head 7bbf5f5d3bc9841e17eb1d80861ab0e8444d940f against local main.

No actionable findings.

  • The report source changes only the intended CSS declarations. It does not change report data, psychometric values, numeric formatting, report semantics, or exact-value exports.
  • body applies font-variant-numeric: tabular-nums. Existing table-cell and export-block numeric declarations remain valid.
  • .bar-row has no opacity transition. tbody tr retains only the background-color transition. tbody tr:hover retains its visible background cue.
  • Focus-visible rules, the reduced-motion override, and print rules are unchanged.
  • The regression renders representative fit metrics and item-fit rows. It checks rendered CSS declarations. It does not claim accessibility conformance.
  • The changelog fragment and CHANGELOG.md accurately describe the CSS-only scope.
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@google-labs-jules

Copy link
Copy Markdown

@coderabbitai review

Review the exact current head only. Verify that tabular numerals and transition cleanup preserve report semantics, focus behavior, visible hover contrast, reduced-motion behavior, print output, exact-value exports, and all psychometric values; ensure the regression renders a realistic report and does not make unsupported accessibility claims. Report only current-head actionable findings.

Acknowledged.

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