This probably falls under computer chess category.
Suppose I have a tablebase for a certain endgame type and would like to do with it things such as:
- divide it according to some criteria (e.g. into 3 databases containing won, drawn and lost positions);
- search/count positions containing specified pattern;
- sort won positions according to a distance to win;
For instance, I might be interested in taking 100000 random positions from King+Rook v. King+pawn tablebase, and calculating what percentage of them are won for White if Black pawn is on rank 3.
Are there any programs that could do it, or one would have to write one him/herself?