Skip to content

Add natural gas pipelines one-shot extraction plugin - #522

Merged
ppinchuk merged 5 commits into
mainfrom
natural-gas-pipelines-extraction
Aug 19, 2026
Merged

Add natural gas pipelines one-shot extraction plugin#522
ppinchuk merged 5 commits into
mainfrom
natural-gas-pipelines-extraction

Conversation

@bpulluta

@bpulluta bpulluta commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Stacked on #521. Adds the natural_gas_pipelines one-shot plugin (schema + config) and registers the extractor.

bpulluta and others added 3 commits August 6, 2026 08:07
Restore geothermal schema/plugin to the latest tuned recall state (v2.2.2 + collection prompt tuning), and add adaptive OpenAI service retry behavior that removes provider-rejected call kwargs (e.g., temperature) and retries safely.

Also adds runtime-focused tests for unsupported-kwarg recovery and non-recoverable error passthrough.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Address PR review feedback: correct the module docstring typo and
bound the number of unsupported top-level kwarg drops per request so
provider rejections cannot trigger unbounded paid retries.
Add a schema-driven one-shot plugin covering natural gas pipelines and
compressor stations, including the extraction schema and plugin config,
and register the extractor so the `natural_gas_pipelines` technology is
available in the plugin registry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codecov-commenter

codecov-commenter commented Aug 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.98%. Comparing base (09173ed) to head (ebe4a2c).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #522      +/-   ##
==========================================
+ Coverage   63.82%   63.98%   +0.15%     
==========================================
  Files          78       78              
  Lines        7445     7446       +1     
  Branches      755      755              
==========================================
+ Hits         4752     4764      +12     
+ Misses       2532     2523       -9     
+ Partials      161      159       -2     
Flag Coverage Δ
unittests 63.98% <ø> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Base automatically changed from geothermal-v222-litellm-runtime-fix to main August 7, 2026 23:35
Copilot AI lite review requested due to automatic review settings August 19, 2026 00:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new one-shot extraction plugin for natural gas pipelines and compressor stations, extending the existing schema-based extraction framework under compass.extraction and registering the extractor for package-level access.

Changes:

  • Added natural_gas_pipelines extraction package with plugin config + JSON schema.
  • Wired the new extractor into compass.extraction and compass top-level exports.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
compass/extraction/natural_gas_pipelines/plugin_config.yaml Defines queries, crawl/heuristic keywords, and the extraction system prompt for the new tech.
compass/extraction/natural_gas_pipelines/natural_gas_pipelines_schema.json Introduces the one-shot structured output schema and extraction instructions/QA checklist.
compass/extraction/natural_gas_pipelines/__init__.py Creates the schema-based one-shot extractor from the packaged config.
compass/extraction/__init__.py Registers the new extractor in the extraction package exports.
compass/__init__.py Re-exports the extractor at the top-level compass package.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ppinchuk
ppinchuk merged commit 1ba6355 into main Aug 19, 2026
24 checks passed
@ppinchuk
ppinchuk deleted the natural-gas-pipelines-extraction branch August 19, 2026 00:39
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.

4 participants