血統の森+はてな

旧はてなダイアリーの自動インポートによるアーカイブです。

JRA出馬表等の規則性解析メモ

JRAのDBのURL末尾についてる16進数の規則性の考察メモ。いろいろ考えてみたけど、チェックサムとか難しいことを考えずに、規則性を探ってみるテスト。

DBには出馬表と払戻一覧、競走成績、特別競走登録馬なんかがあるけど、とりあえず前3つについて。

2006年 10月21日(土) 4回東京5日 1Rの出馬表と競走成績

出馬表
accessD.html pw01bmd00052006040501/FB
競走成績
accessS.html pw01sde00052006040501/B8

出馬表(accessD)、払戻一覧(accessH)、競走成績(accessS)間のパラメータ法則性が一致しているとは限らないので、とりあえず明示することにする。

1Rだけ増やす

2006年 10月7日(土) 4回東京1日(競走成績)

accessS.html pw01sde00052006040101/EC
accessS.html pw01sde00052006040102/A1
accessS.html pw01sde00052006040103/56
accessS.html pw01sde00052006040104/0B
accessS.html pw01sde00052006040105/C0
accessS.html pw01sde00052006040106/75
accessS.html pw01sde00052006040107/2A
accessS.html pw01sde00052006040108/DF
accessS.html pw01sde00052006040109/94
accessS.html pw01sde00052006040110/89
accessS.html pw01sde00052006040111/3E
accessS.html pw01sde00052006040112/F3

1R増やすごとに0xB5(16進でのB5。以下断りなく使用)ずつ増えていく。桁あふれした場合でも下位2桁しかみない。(0xEC + 0xB5 = 0x1A1 となるが0xA1となる。)

これは他のパラメータを変えても不変。

2006年 10月7日(土) 5回京都1日(競走成績)

accessS.html pw01sde00082006050101/FB
accessS.html pw01sde00082006050102/B0
accessS.html pw01sde00082006050103/65
accessS.html pw01sde00082006050104/1A
accessS.html pw01sde00082006050105/CF
accessS.html pw01sde00082006050106/84
accessS.html pw01sde00082006050107/39
accessS.html pw01sde00082006050108/EE
accessS.html pw01sde00082006050109/A3
accessS.html pw01sde00082006050110/98
accessS.html pw01sde00082006050111/4D
accessS.html pw01sde00082006050112/02

2006年 10月8日(日) 4回東京2日

accessS.html pw01sde00052006040201/5F
accessS.html pw01sde00052006040202/14
accessS.html pw01sde00052006040203/C9
accessS.html pw01sde00052006040204/7E
accessS.html pw01sde00052006040205/33
accessS.html pw01sde00052006040206/E8
accessS.html pw01sde00052006040207/9D
accessS.html pw01sde00052006040208/52
accessS.html pw01sde00052006040209/07
accessS.html pw01sde00052006040210/FC
accessS.html pw01sde00052006040211/B1
accessS.html pw01sde00052006040212/66

1回開催日だけ増やす

10月15日(日)(払戻一覧)

accessH.html pw01hde000520060404/76 4回東京4日
accessH.html pw01hde000820060504/85 5回京都4日

10月21日(土)(払戻一覧)

accessH.html pw01hde000520060405/E9 4回東京5日
accessH.html pw01hde000820060505/F8 5回京都5日

払戻一覧で1開催日増やすと0x73増える。これは他のパラメータを変えても不変。


9月30日(土)(払戻一覧)

accessH.html pw01hde000620060407/19  4回中山7日
accessH.html pw01hde000720060307/32  3回中京7日
accessH.html pw01hde000120060207/45  2回札幌7日

10月1日(日)(払戻一覧)

accessH.html pw01hde000620060408/8C  4回中山8日
accessH.html pw01hde000720060308/A5  3回中京8日
accessH.html pw01hde000120060208/B8  2回札幌8日

(競走成績)

accessS.html pw01srl000620060107/A2 1回中山7日
accessS.html pw01srl000620060108/15 1回中山8日

競走成績であっても1開催日増やすと0x73増える。DもHもSも同じパラメータ法則に従ってると見ていいのかもしれない。

1競馬場だけ増やす

競馬場コードだけずらしてみる。

01  札幌
02  函館
03  福島
04  新潟
05  東京
06  中山
07  中京
08  京都
09  阪神
10  小倉
accessS.html pw01srl000120060101/7E  1回札幌1日
accessS.html pw01srl000220060101/C8  1回函館1日
accessS.html pw01srl000320060101/12  1回福島1日
accessS.html pw01srl000420060101/5C  1回新潟1日
accessS.html pw01srl000520060101/A6  1回東京1日
accessS.html pw01srl000620060101/F0  1回中山1日
accessS.html pw01srl000720060101/3A  1回中京1日
accessS.html pw01srl000820060101/84  1回京都1日
accessS.html pw01srl000920060101/CE  1回阪神1日
accessS.html pw01srl001020060101/5D  1回小倉1日

別表のとおり1競馬場増やすと0x4A増える。

1年だけ増やす

accessS.html pw01srl000620040101/54  1回中山1日(2004)
accessS.html pw01srl000620050101/22  1回中山1日(2005)
accessS.html pw01srl000620060101/F0  1回中山1日(2006)

accessS.html pw01srl000820040101/E8  1回京都1日(2004)
accessS.html pw01srl000820050101/B6  1回京都1日(2005)
accessS.html pw01srl000820060101/84  1回京都1日(2006)

1年だけ増やすと0xCE増える。

とりあえずのメモ、ということで。等差数列で支配されていると見たほうが自然か。引き続き探っていこうかと。