Skip to content

Fix issue with layout text not correctly populated, add tests #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 27, 2025

Conversation

divekarsc
Copy link
Contributor

@divekarsc divekarsc commented May 19, 2025

Based on @cau-git 's hint about text fields not getting populated, we traced back the root cause. The "Text" field in Layout blocks is optional. It's only mandatory for "LINE" type, for all others it is to be accessed through children refs. Hence the update.

We were able to get back the eval numbers we were generating before we introduced layout changes. (Tested with FInTabNet and Pub1M samples of 15 docs each.)

Open Issues:
DPBench and OmniDocBench still don't work and return -1 in the results. (It finishes without an error)

After specifying a range for DPBench docs, issue couldn't be re-produced.

Signed-off-by: Samved Divekar <scdiveka@us.ibm.com>
@divekarsc divekarsc requested a review from cau-git May 19, 2025 22:54
Samved Divekar added 4 commits May 20, 2025 08:57
Signed-off-by: Samved Divekar <scdiveka@us.ibm.com>
Signed-off-by: Samved Divekar <scdiveka@us.ibm.com>
Signed-off-by: Samved Divekar <scdiveka@us.ibm.com>

Signed-off-by: Samved Divekar <scdiveka@us.ibm.com>
Copy link
Contributor

@PeterStaar-IBM PeterStaar-IBM left a comment

Choose a reason for hiding this comment

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

see my comment

Samved Divekar added 2 commits May 27, 2025 00:03
Signed-off-by: Samved Divekar <scdiveka@us.ibm.com>

Signed-off-by: Samved Divekar <scdiveka@us.ibm.com>
@divekarsc divekarsc requested a review from PeterStaar-IBM May 27, 2025 07:10
Copy link
Contributor

@PeterStaar-IBM PeterStaar-IBM left a comment

Choose a reason for hiding this comment

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

Looks good!

@cau-git cau-git merged commit 6441688 into main May 27, 2025
8 checks passed
@cau-git cau-git deleted the divekarsc/aws_converter_fix branch May 27, 2025 08:14
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.

3 participants