Skip to content

Add self-consistency extraction support#9

Open
Lucas-FManager wants to merge 1 commit into
dejan-kovac:mainfrom
Lucas-FManager:codex/self-consistency-extraction
Open

Add self-consistency extraction support#9
Lucas-FManager wants to merge 1 commit into
dejan-kovac:mainfrom
Lucas-FManager:codex/self-consistency-extraction

Conversation

@Lucas-FManager

Copy link
Copy Markdown

Summary

  • Add a default-off self_consistency config section.
  • Run primary extraction multiple times when enabled and record each model call.
  • Merge compatible markdown sections with deduplicated bullets.
  • Add tests for sample count, merged output, and the merge helper.

Approach

The default path remains unchanged. When self-consistency is enabled, extraction fans out for the configured sample count, then merges responses with a conservative section-aware strategy that keeps unique bullet evidence without rewriting unrelated execution flow.

Validation

  • python -m pytest tests/test_execution_steps.py -q

Closes #4

Disclosure: this PR was prepared with AI assistance through Codex. I reviewed the diff and validation before submitting it under my GitHub account.

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.

Implement self-consistency voting in process_sources

1 participant