Giter VIP home page Giter VIP logo

corpus-x's People

Contributors

justmars avatar

Watchers

 avatar

corpus-x's Issues

Add all statutes

Instead of limiting the same to Codification, all statutes should be copied to the database.

Note some bugs detected that should be resolved upstream:

Size of some item content exceed that set by validators, see ra9154, ra9486

Validation needed detail=PosixPath('/Users/mv/code/corpus/statutes/ra/9154/details.yaml'); e=ValidationError(model='StatuteUnit', errors=[{'loc': ('content',), 'msg': 'ensure this value has at most 100000 characters', 'type': 'value_error.any_str.max_length', 'ctx': {'limit_value': 100000}}])
Validation needed detail=PosixPath('/Users/mv/code/corpus/statutes/ra/9486/details.yaml'); e=ValidationError(model='StatuteUnit', errors=[{'loc': ('content',), 'msg': 'ensure this value has at most 100000 characters', 'type': 'value_error.any_str.max_length', 'ctx': {'limit_value': 100000}}])

1918 rules of court not accepted by validator

DB insertion: e=SyntaxWarning("idx='1918' invalid serial of StatuteSerialCategory.RulesOfCourt")

Missing affector material paths imply improper Codification

Need a more robust method to check for missing values.

For instance, this SQL query reveals no missing statute ids after the updating function is completed:

select * from lex_tbl_codification_events_statute where affector_statute_id is null -- 0 rows

In contrast, the following material paths are missing from the same table:

select * from lex_tbl_codification_events_statute where affector_material_path is null group by statute -- 80 individual rows, but when group by is utilized, reveals that it involves 38 statutes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.