Giter Site home page Giter Site logo

报错了 about knightreport HOT 2 CLOSED

cutecutecat avatar cutecutecat commented on May 26, 2024
报错了

from knightreport.

Comments (2)

cutecutecat avatar cutecutecat commented on May 26, 2024

这个地方问题可能出在,从毕方数据源获得到当天的出刀数hits为4(当天肯定不会出了4刀吧),在进行4-3=1计算漏刀之后映射表没有1项,导致此处报错

实际上不应该出现这种情况,可能是毕方的数据源有一些问题,没有办法直接解决,不过我在本周末会进行绕过

  • 增加新的log记录定位这些失常的出刀数
  • 修改映射方式让这里不会报错

完成之后会通知你

from knightreport.

cutecutecat avatar cutecutecat commented on May 26, 2024

已经完成,目前应该可以针对这些错误正常输出报表,可以尝试下载0.1.1版本。

但是需要注意的是,问题并没有结束,如果数据本身还是有问题,可能会出现显示错误,比如说某人某天的漏刀数量显示为1,说明他当天出了4刀。如果遇到这种情况,可以开新的issue让我看看log的结果,看看能不能彻底修复。

from knightreport.

Related Issues (13)

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.