Skip to content

Drop the shipped-config assertion about grobid_custom_hybrid - #694

Merged
de-code merged 1 commit into
mainfrom
drop-shipped-config-profile-assertion
Aug 17, 2026
Merged

Drop the shipped-config assertion about grobid_custom_hybrid#694
de-code merged 1 commit into
mainfrom
drop-shipped-config-profile-assertion

Conversation

@de-code

@de-code de-code commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

part of https://github.com/eLifePathways/ScienceBeam2.0/issues/113

It asserted that grobid_custom_hybrid resolves to exactly what grobid_crf resolves to, which describes the config rather than any behaviour: the first custom model the profile takes on makes it fail, so a config change would have to arrive with a test change.

What it was there to show - that extends inherits the base and lets a profile state only its differences - is already covered by profile_b_extended in MINIMAL_PROFILE_CONFIG, and by the seven cases in
TestResolveSequenceModelProfile, none of which a model swap disturbs.

It asserted that grobid_custom_hybrid resolves to exactly what grobid_crf
resolves to, which describes the config rather than any behaviour: the first
custom model the profile takes on makes it fail, so a config change would
have to arrive with a test change.

What it was there to show - that extends inherits the base and lets a profile
state only its differences - is already covered by profile_b_extended in
MINIMAL_PROFILE_CONFIG, and by the seven cases in
TestResolveSequenceModelProfile, none of which a model swap disturbs.
@de-code de-code self-assigned this Aug 17, 2026
@de-code
de-code enabled auto-merge (squash) August 17, 2026 11:32
@de-code
de-code merged commit 7fdb7b3 into main Aug 17, 2026
6 checks passed
@de-code
de-code deleted the drop-shipped-config-profile-assertion branch August 17, 2026 11:36
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.

1 participant