Repository navigation
fix: locate a workbook cell that does not fit a reading among its outliers - #194
Merged
Merged
Conversation
Contributor
Author
|
Benchmark on a Hetzner ccx33 (
|
vaceslav
added a commit
that referenced
this pull request
Nov 18, 2026
🤖 I have created a release *beep* *boop* --- ## [0.8.3](v0.8.2...v0.8.3) (2026-11-17) ### Bug Fixes * count dates written with a multi-character date separator as the culture's own ([#186](#186)) ([fc8b11f](fc8b11f)) * count each ods sheet's repeats once against MaxRepeatedCells, so reading a sheet again is not refused ([#187](#187)) ([b450d4a](b450d4a)) * locate a workbook cell that does not fit a reading among its outliers ([#194](#194)) ([7ebcfbc](7ebcfbc)) * read an ods duration of one to fifty-nine days on the day LibreOffice shows, not a day later ([#193](#193)) ([a7145d3](a7145d3)) * read Excel's phantom 29 February 1900 as no date, a cell without a style as style 0, and character references of any length ([#189](#189)) ([e4008fa](e4008fa)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Slava <vaceslav@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TypeHypothesis.Outlierspromises where the values a reading does not account for stand. For a cell whose type the workbook states, that promise was not kept. A number in a column of xlsx or ods dates, for example Excel's phantom 29 February 1900, which reads as its number since #189, was counted inUnmatchedCount, but no outlier gave its row. The profiler located only text cells that failed to parse. Native cells went toAcceptNativeNumber/AcceptNativeDateand were never located for the readings they did not fit. In a column the file declared entirely,HypothesisBuilderalso passed empty outlier lists. Noticed while fixing serial 60 for #184.What changes:
ColumnProfiler, for each culture:OutlierSampleSize, in row order with the text cells.HypothesisBuilder.AddDeclaredpasses the date and numeric outliers to the date and number readings instead of empty lists.This also helps mixed columns of text and native cells. Their parsed readings now list the native cells that do not fit as well.
Cost: one count comparison per culture for each native cell, once the first
OutlierSampleSizeare taken. Benchmark: see the comment below.Tests in
ColumnProfilerTests: