Git Product home page Git Product logo

bcheck-d's Introduction

bcheck-d

https://twins.tsukuba.ac.jp からダウンロードできる成績の CSV と、卒業要件が記述された JSON ファイルを入力としてとり、卒業可能であるかどうかを色付きでコンソールに出力します。

このプログラムにバグがあったために卒業できない事態になったとしても、開発者は責任を負いません。

How to run

$ git clone [email protected]:private-yusuke/bcheck-d
$ dub build
$ ./bcheck-d -f SIRS202012345.csv -r rules/coins20-software-and-computing-science.json

このようにすると、2020 年度に入学した情報科学類の学生であって、主専攻がソフトウェアサイエンスである人を対象とした履修要覧の規則に従って卒業判定を行います。

rules ディレクトリの下に、2020 年度に入学した情報科学類の学生である人向けのルールファイルがあります。

Development

ユニットテストの実行

$ dub test

ビルドと同時に実行

$ dub run -- -f SIRS202012345.csv -r coins20.json

bcheck-d's People

Contributors

private-yusuke avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

bcheck-d's Issues

必修科目を履修していない人の CSV を読むと Exception

core.exception.RangeError@source/student.d(47): Range violation
----------------
??:? _d_arrayboundsp [0x10a80c8e9]
source/app.d:78 grade.Grade student.Student.getGrade(immutable(char)[]) [0x10a7f76d9]
source/app.d:78 graduation_rule.rule.StudentRuleStatus graduation_rule.exact_match_rule.ExactMatchRule.getStatus(graduation_rule.graduation_validator.GraduationValidator, student.Student) [0x10a7c2ea6]
source/app.d:78 immutable(char)[] graduation_rule.graduation_validator.GraduationValidator.getValidationResult(student.Student) [0x10a7c3346]
source/app.d:73 int app.main2(immutable(char)[][]) [0x10a7603f1]
source/app.d:28 _Dmain [0x10a75fc7f]

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.