See picks after saving deck

Status: FIXED

Fairly straightforward but being able to see the packs/pick orders (both for the human seat and maybe the CastleAI's seats) after finishing deckbuilding could prove very useful. Specially to discuss/review some specific decision points.

CTAdmin
2015-07-02 10:41
We would love to be able to do this, the only problem is the quantity of data. For each draft we'd need to store all of the cards that each bot picked and passed along with how each of those cards very evaluated by the AI and the detected Strategy for each pick. It's fine to keep all of this "in memory" to show it during the draft but making it available later would require saving a lot of information.
hayashidafelipe
2015-07-02 14:56
I honestly thought exactly that as I was suggesting it. It'd be a major data storage. Some approaches could be: - Limited amount of storage per cube and only for a limited time frame (~1/2 days)? - A way of exporting the data/send a link on an email? The "exporting" part could be enhanced if it could be parsed back into the system so that it could be seen in the cubetutor UI. (although I don't know the processing effort this would incur). This could essentially transfer the bulk of the storage to the user-side application
PlatypusPlatoon
2015-07-02 15:54
I agree that an "export" function of all picks would be great as a starting point, as storing all that data for every draft might not be a worthwhile endeavour, when I suspect the majority of users won't have a use for it.
Coopergfrye
2015-07-03 02:06
How about two buttons at the end of the draft, "Save deck (default)" and "Save deck and Picks." The latter saves could be accessible via a scroll down menu in the decks tab, and would be size capped with an option to delete if people hit capacity and wanted to replace one.
Aoret
2015-07-03 18:20
I'd be cool with even a very small amount of storage space, or a straight export. Even just storing it in memory for one-time viewing post-draft, then losing the data would be really cool to check out! (This feels like a feature that could be staged out across several releases and improved over time)
Ben
2015-07-08 17:24
Ok thanks for the feedback. Note that you can view the bot picks for a good 15 minutes after the draft has finished. An export option is an interesting idea, but I might have a look at using a different storage system for this data if it's something that people really want.
uponthesun
2015-07-08 20:42
How much data does it take to actually represent a full draft? For just the draft itself, for a standard 8-player, 3 packs of 15 draft: Saving the picks for each player in order is enough to reconstruct the whole draft. so 8 * 3 * 15 = 360 cards that need to be saved in order. Each card is an ID, which can be represented comfortably in the standard integer size of 4 bytes, so that's 360 * 4 = 1440 bytes. For the information on why the bots made the picks they did, I assume you want to store the metadata for each card in the draft from the time the draft was done, since things like quality/strategy/synergy ratings change over time. For each card, I think it'd be sufficient to store the value of each of the attributes (quality, strategy, synergy, etc.). I believe the values are 0-100, so 1 byte is enough for each. Right now it looks like there are 6 or so of these, so each card would take 6 bytes, or 360 * 6 = 2160 bytes. So that's a total of about 3600 bytes per draft, with almost all of the information that's currently shown when you inspect the castle AI picks right after the draft. (I think the only thing missing are the tags from the time; adding those would also be reasonable). I don't really know how many decks you have saved right now (my ballpark estimate was 1 million), but given how cheap S3 storage is, it seems like this wouldn't cost much at all (under 1$ a month): http://aws.amazon.com/s3/pricing/ Of course these estimates are rough, and realistically it'd take more space than that, but it seems like it should be feasible.
Onderzeeboot
2015-07-20 20:27
Maybe a "timer" can be put on the draft recap files, so they are stored for only a day or something. But you'ld have to write a cleanup program to wipe these temporary files...
Ben
2015-11-11 19:22
This was released in Land Grant 2.0 Report status set to: FIXED
Please Login to post a reply.
Thumb Up 39
Thumb Down 4
Login to vote on this report.