Coder Social home page Coder Social logo

ac-sqd's Introduction

ac-sqd's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ac-sqd's Issues

Couple of questions

Hey @scottkennedy, I've got a couple of questions I want to run by you for the acrewardsearcher project. What's the best way to reach out?

Calculator cannot handle fare basis codes of Y or J (single character)

AC publishes single character fare basis of "Y" or "J" in North America. (Fares redacted). The referenced code assumes that a fare basis wouldn't only have a single character and would fail on the length. Suggest you check for length of 1 and handle Y as LT and J as EF. (Maybe O as PF although have not seen that)

YTO-SFO       CXR-AC       SAT 01APR23                     USD    
AC-ACR/LT - LATITUDE
AC     YTOSFO          01APR23          
    V FARE BASIS     BK    FARE   TRAVEL-TICKET AP  MINMAX  RTG
  1   YNA0A1LT       Y X   XXX.XX     ----      -/¥  -/  -  634
  2   Y              Y X  XXXX.XX    ----      -    -/  -    1
AC     YTOSFO          01APR23          
    V FARE BASIS     BK    FARE   TRAVEL-TICKET AP  MINMAX  RTG
  1   J              J¥X  XXXX.XX     ----      -    -/  -    1

https://github.com/scottkennedy/ac-aqd/blob/722f038a92bca9219f84bed6548f29a0fd446272/src/main/kotlin/com/cowtool/acsqd/sqm/Calculators.kt#L297

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.