PR

復刻ガチャ集計 #3152

wada opened this at 2023-10-13T18:03:23; closed

Description

opened by wada at 2023-10-13T18:03:23; updated 2023-10-18T16:16:36

概要

https://trello.com/c/hPA95mzW/81-%E5%BE%A9%E5%88%BB%E3%82%AC%E3%83%81%E3%83%A3%E3%81%AE%E7%A2%BA%E7%8E%87%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6
復刻ガチャ10連売上改善のための調査
最後に引いた10連の結果を集計し、10連を引かなくなった理由を考える

ガチャ結果を管理するテーブルが存在しないので、log_yamada_paymentから購入時刻を割り出す
log_card, log_del_present_box(present_box)から同時刻に獲得したカード・アイテムを取得し、限定カード・アイテムについて集計

テスト方法、確認した内容

スクリプトの実行

Comment

#31037 by wada at 2023-10-13T18:04:19; updated 2023-10-13T18:04:19

@kouho
確認お願いします。

Comment

#31097 by kouho at 2023-10-17T17:28:20; updated 2023-10-17T17:28:20

@wada
S_GetGachaMasterで現在開催中のガチャを取得していますが問題なく実行できましたか?
こちらではS_GetGachaMaster関数内のstart_dateとend_dateのクエリを削除したら実行できました。

Comment

#31106 by wada at 2023-10-18T07:44:54; updated 2023-10-18T07:44:54

@kouho
ありがとうございます。修正しました。

Comment

#31110 by kouho at 2023-10-18T09:47:24; updated 2023-10-18T09:47:24

@wada
ありがとうございます。確認OKです。

kouho add_label at 2023-10-18T09:47:28: 皇甫 LGTM
wada merge at 2023-10-18T16:16:32: 復刻ガチャ集計
wada close at 2023-10-18T16:16:32: Close
wada delete_branch at 2023-10-18T16:16:36: gacha_last_result

Commit range

base52d9210f6f39a7d7e8ffcb7a91fd8c7a898913d2
head2524c408318bef447350d17eefc27ba5532960ba
base branchjolly/jr-web:master
head branchjolly/jr-web:gacha_last_result

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed1 filesView patch
statusfile
addedlib/exec/tool_gacha_last_result.inc
Patch body is stored as a separate file to keep this page lightweight.