Coder Social home page Coder Social logo

permafrast's Introduction

๐Ÿ‘‹ I'm Dave Z! My pronouns are he/him, and I'm based out of Oregon, WI.

permafrast's People

Contributors

adelevie avatar talkingquickly avatar vdavez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

permafrast's Issues

Feature: endpoint for case metadata

This endpoint (or endpoints) could offer:

  • the actual text of the case
  • a snippet of the text (maybe the first few paragraphs)
  • names of the parties
  • the holding
  • the judges (and their votes)

Some of these might be much more doable than others (e.g. some might require AI...)

Not working :(

I tried a couple of URLs which ought to work. I got the citations from CourtListener.

Was going to try to use these URLs for https://github.com/anseljh/casebot for the world's hackiest citation lookup bot.

Graceful Errors

The fastcase API gives an error unless the requested page is the first page in the opinion. If the requested page is not the first page, you get the following error:

{

    "GetPublicLinkResult": {
        "Error": null,
        "Success": true,
        "Result": [ ],
        "TotalResults": null
    }

}

http://permafrast.herokuapp.com/558/U.S./311.json

Would be good to have a graceful failure.

Title

Right now, the title of the document is always "Permafrast". Want to change it to be:

<title>Permafrast -- <%= out.full_citation %></title>

Create client-side form

The form would let you enter a volume, reporter, and page. This might be good for a separate project, though.

Cache Travis gems

http://docs.travis-ci.com/user/caching/

You can also explicitly enable it in your .travis.yml:
language: ruby
cache: bundler

http://docs.travis-ci.com/user/caching/#Fetching-and-storing-caches

Fetching and storing caches #

We fetch the repo's cache on every build, including feature branches and pull requests.
There is one cache per branch and language version/compiler version/JDK version/Gemfile location/etc.
If a branch does not have its own cache yet, it will fetch the master branch cache.
Only modifications made to the cached directories from normal pushes are stored.
Currently Pull Requests will use the cache of the branch they are supposed to be merged into.

Clearing Caches #

Sometimes you spoil your cache by storing bad data in one of the cached directories.

Caches can also become invalid if language runtimes change and the cache contains native extensions. (This often manifests as segmentation faults.)

Currently it is not possible to clear the cache via the web interface, but you can use our command line client to clear the cache:

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.