kuretchi / uniinfobot Goto Github PK
View Code? Open in Web Editor NEWチュウニズム曲情報bot
Home Page: https://twitter.com/uni_info_bot
License: MIT License
チュウニズム曲情報bot
Home Page: https://twitter.com/uni_info_bot
License: MIT License
どういう風にツイートしてもらうのがいいのかも要検討.
例えば 赤
という suffix を付けてもらう、は有力ではあるけど .* 赤
みたいな曲名の曲が来たら終わる (実際 赤
なら問題にならなそうだけど expert
になると怪しい)
現在の実装は、謎の定数 0.04
をノーツ数に掛けたものを Justice 数の基準として、そこから Attack 数を +1, -1 したものを結果として算出している.
UniInfoBot/UniInfoBot/Calculator.cs
Line 52 in f7ed9e1
Justice 数が少ない順に 3 つを結果とした方がシンプルだし良いのでは.
ただ、J0 とか J1 とかの結果が必要かどうかは疑問. (J0 出せるなら SSS は余裕で達成しているはず)
Glorious Crown (tpz over-Over-OVERCUTE REMIX) にて発生. 何のエラーも吐かずに落ちる
リポジトリを立てた ので, ここから取得する.
ストリーミングには流れてこないので、定期的に statuses/home_timeline で取得する方法しかなさそう.
レートリミット的に1分に1回が限界だけどまあ仕方ないでしょう.
https://twitter.com/uni_info_bot/status/903146920922701824
曲名: ひだまりデイズ (EASY)
譜面定数: 未調査 (Lv 2)
ノーツ数: 182
SSS許容: J45 A0, J96 A-1
9900許容: J1
DI コンテナを使ってなんとかして
Repeat
しているので終わらないはず (ここが非常に怪しい)
UniInfoBot/UniInfoBot/TwitterManager.cs
Lines 54 to 74 in f7ed9e1
ただ, 実際, 稀にここに到達する
UniInfoBot/UniInfoBot/Program.cs
Lines 55 to 57 in f7ed9e1
しかも, そのまま終了するかと思いきや終了せずプロセスが生き残る.
完全一致する曲があるならそちらを最優先にするべき
UniInfoBot/UniInfoBot/MusicDataManager.cs
Lines 147 to 148 in f7ed9e1
念のため他の自動返信系botとの超高速キャッチボールを防止しておきたい.
"@uni_info_bot The wheel to the right" -> "The" になる
UniInfoBot/UniInfoBot/TwitterManager.cs
Lines 102 to 103 in 5d6ca77
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.