bug: pdf splitting modifies returned csv elements
まだ誰も着手していません。
評価
調査の方向性
test_unstructured_client/integration/test_decorators.py::test_integration_split_csv_response から始め、短縮されたアサーションを、追加の text_as_html フィールドと異なる要素 id が明らかになる比較に置き換えます。split_pdf_page=True と False の CSV レスポンス処理を追跡します。両方のレスポンスが同一で、統合テストが完全な結果を検証すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When specifying output_format as csv, the response from the api is different when split_pdf_page is True or False. When False, the elements contain an extra metadata field: text_as_html. This also means the element id does not match.
To Reproduce
_test_unstructured_client/integration/test_decorators.py::test_integration_split_csv_response illustrates this, but is passing because it asserts on a shortened string.
Expected behavior
The response to be identical whether or not split_pdf_page is True or False.
- 主要言語
- Python
- スター
- 119
- フォーク
- 22
- 平均マージ
- 3日 23時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Unstructured-IO/unstructured-python-client のほかの issue
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Unstructured-IO/unstructured-python-client の issue をすべて見る
似ている issue
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ll7/robot_sf_ll7#10128 ·
メンテナーはふだん 1 日以内に返信
-
area: monitoring type: task
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
dkritarth/scopewatch#175 ·
メンテナーはふだん 1 日以内に返信
-
Layers of type "3D Unknown" and "3D Measured Unknown" are refused, so FileGDB multipatch layers can't be read対応中かも @aidannewsome が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
quantization
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/vllm#59904 ·
メンテナーはふだん 1 日以内に返信