Skip to content

Add yaml configuration/ parsing of Extraction Configuration#12

Merged
patricktnast merged 55 commits intomainfrom
pnast/feature/pattern-config
Jan 16, 2026
Merged

Add yaml configuration/ parsing of Extraction Configuration#12
patricktnast merged 55 commits intomainfrom
pnast/feature/pattern-config

Conversation

@patricktnast
Copy link
Contributor

Add yaml configuration/ parsing of Extraction Configuration

Description

Changes and notes

We made the 'extraction configuration' but didn't make it actually configurable by the user. this proposed a yaml syntax to be able to do that.

Verification and Testing

assert pattern1.extract_percall is True
assert pattern1.extract_ncalls is True

# Pattern with custom template
Copy link
Contributor

Choose a reason for hiding this comment

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

mybe check name the following two patterns as well?

def test_from_yaml_mixed_patterns(self):
"""Test parsing YAML with various pattern configurations and templates."""
yaml_content = """
patterns:
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know the overlap w/ defaults, but is this testing both a full replacement as well as a partial replacement?

Base automatically changed from pnast/feature/mic-6373-nb to main January 15, 2026 23:01
@patricktnast patricktnast merged commit 72e7552 into main Jan 16, 2026
3 checks passed
@patricktnast patricktnast deleted the pnast/feature/pattern-config branch January 16, 2026 17:29
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

Comments