# HTML Quality Probe

These checks are diagnostic and non-gating. A `needs-review` status means the generated artifacts found a likely conversion-quality issue, not that artifact generation failed.

- Status: `needs-review`
- Source PDF: [../source.pdf](../source.pdf)
- Generated HTML: [../semantic-continuous/index.html](../semantic-continuous/index.html)
- Sample notes: Public Apache PDFBox form fixture used to review semantic AcroForm controls, aligned labels, field geometry, and appearance suppression.
- Text reference: `pdfbox-net-run-fallback`
- Pages analyzed: 1

## Page Summary

| Page | Status | Source words | HTML words | Token coverage | Long HTML tokens | Foreground delta | Severe color delta | Text/object overlaps |
| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
| 1 | `needs-review` | 10 | 138 | 1 | 0 | 0.024 | 0.104 | 0 |

## Issue Categories

| Category | Status | Evidence |
| --- | --- | --- |
| Text reconstruction and word boundaries | `needs-review` | 1 page(s) need review; worst token coverage is 1 on page 1, with 0 high-confidence adjacent-word join(s). |
| Page geometry and text-run structure | `passed` | Page dimensions and text-run counts passed; max run-count delta is 0. |
| Text wrapping around images and vector objects | `passed` | No text overlaps with image boxes or large vector boxes were found on analyzed pages. |
| Visual foreground parity | `passed` | Max foreground delta is 0.024; max source-only foreground ratio is 0; max HTML-only foreground ratio is 0. |
| Visual color parity | `skipped` | Max mean CIE Lab color delta is 4.041; max severe color-delta ratio is 0.104; minimum compared page-pixel ratio is 0.004. |
| Source fixture expectations (manual review) | `skipped` | The source PDF does not contain recognizable self-describing fixture expectations. |
| Probe setup and tool availability | `passed` | The browser probe and available renderers ran. |

## Current Limitations

- Interactive form and widget appearances are exported visually; editable form semantics are not reconstructed in the generated HTML.
- Text reconstruction did not preserve all word boundaries or reading order on the affected page(s).

## Findings

- Page 1, `word-boundaries`: Rendered HTML text appears to have lost word boundaries or token coverage.

## Artifacts

- [page-1-html.png](page-1-html.png)
- [page-1-source.png](page-1-source.png)
- [page-1-diff.png](page-1-diff.png)
- [page-1-color-heatmap.png](page-1-color-heatmap.png)
- [page-1-visual-report.html](page-1-visual-report.html)
