Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Fixes for 37 CFR 42 history #330

Merged
merged 7 commits into from
Dec 2, 2016
Merged

Conversation

cmc333333
Copy link
Member

This resolves four bugs that were discovered when trying to parse the history of 37 CFR 42. All four are generally applicable and shouldn't cause data regressions (though I'm not crazy confident about the stars_occupy_space rule change).

The last change requires clearing existing docs and changing the input of proposed rules for notice-and-comment slightly. Given that that's still a beta feature, I'm comfortable just bumping the minor version.

This is likely an error, so we'll still warn the user, but proceeding by
skipping the rule is what most users will want.
We've thus far assumed that the first version we'd encounter would be
associated with an annual edition of the regulation (meaning we'd have a full
tree to start). That's not a safe assumption, so let's remove it, skipping any
versions that came before the first annual edition.
We'd like to retry when this rule isn't satisfied. It most likely means
something went wrong, but given the complexity of the "stars" rules, we should
try again.
We had been using PRTPAGE tags to deduce the start/end pages within the
Federal Register. This wasn't always accurate, but proved to be a true problem
when notices had no PRTPAGE tags at all. Instead, we can use the meta data
provided by the Federal Register
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling da0a3d4 on cmc333333:37-42-fixes into ** on eregs:master**.

@cmc333333
Copy link
Member Author

Open for a bit, I'm going to go ahead and merge. I'll cut a new release, too.

@cmc333333 cmc333333 merged commit e96412e into eregs:master Dec 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants