Skip to main content

esg-cid-plus

Supporting code for the EMNLP 2026 paper: ESG-CID-Plus: A Stratified Benchmark for Disclosure Content Index Table Extraction from Corporate Sustainability Reports

Install

uv pip install -e .

Modules

Module Purpose
cid Data models (CIRow, ContentIndex, FrameworkSpec) and normalization helpers
data HuggingFace loaders — load_split, load_framework, resolve_pdf_path
pdf_toolkit PDFSession — text extraction, lunr search, camelot tables, page labels
pdf_toolkit_ocr OCRPDFSession — extends above with image rendering, rapidocr, img2table
extract Rule-based pipeline: S1 detect → S2/S3 draft → S4 resolve → ContentIndex
eval Tuple-level P/R/F1 — evaluate_predictions, format_feedback

Quickstart

from esg_cid_plus.data import load_split, load_framework, resolve_pdf_path
from esg_cid_plus.extract import extract
from esg_cid_plus.eval import evaluate_predictions

pdf_rows, cid_rows = load_split("train_small")
fw = load_framework("gri_2021")

pdf_path = resolve_pdf_path(pdf_rows[0])
ci = extract(pdf_path, fw)

gt = [r for r in cid_rows if r["report_name"] == pdf_rows[0]["report_name"]]
pred = [{"report_name": ci.report_name, "standard_id": r.standard_id,
         "page_location_indices": r.page_location_indices} for r in ci.rows]

_, overall = evaluate_predictions(gt, pred)
print(overall)

Tests

uv run pytest              # fast (unit)
uv run pytest -m slow      # integration — requires HuggingFace access

Metadata

Release files for esg-cid-plus 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esg-cid-plus 0.1.0
File Size Uploaded Provenance Actions
esg_cid_plus-0.1.0.tar.gz 31.8 kB Without provenance Details for esg_cid_plus-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esg-cid-plus 0.1.0
File Interpreter ABI Platform Actions
esg_cid_plus-0.1.0-py3-none-any.whl Python 3 none any Details for esg_cid_plus-0.1.0-py3-none-any.whl

Total release size: 54.7 kB

Release files / esg_cid_plus-0.1.0.tar.gz

Download URL esg_cid_plus-0.1.0.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
333e73da20ffdbb53d7c2b41f5830eb41514f9db84d22aa541141d773ad9484e
BLAKE2b-256 checksum
How to use checksums
58d35616ffddf6d0f4b1b1400c72af1b3c65cfac846dd80d039dd8181fa0991a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / esg_cid_plus-0.1.0-py3-none-any.whl

Download URL esg_cid_plus-0.1.0-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b88bd84df6a9aa884370b505afc9f51601b00122a034a12d8aa14e31f05be706
BLAKE2b-256 checksum
How to use checksums
d33d9b628dc8f7a78142447a26d0a77f63ed4209560707bef11d7df2bd52d9e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Security for esg-cid-plus 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page