view clojure/com/aurellem/exp/struggle.txt @ 536:c2ee7222a3c4

investigating a problem with bad sound when writing RAM with bootstrapping program
author Robert McIntyre <rlm@mit.edu>
date Mon, 25 Jun 2012 14:23:16 -0500
parents d7f2e0384d24
children
line wrap: on
line source
1 ;; struggle works
3 [ccd5 (4 5 6 7 8)]
4 [cfe8 (5 4 3 2 1)]
5 [d02c (4 3 2 1 0)]
6 [d187 (4 3 2 1 0)]
8 ;; struggle doesn't work
10 [ccd5 (0 1 2 3 4)]
11 [cfe8 (0 4 3 2 1)]
12 [d02c (32 3 2 1 0)]
13 [d187 (4 3 2 1 0)]
21 ran:
23 (clojure.pprint/pprint (temporal-compare jiggly-4-pp jiggly-3-pp
24 jiggly-2-pp jiggly-1-pp jiggly-0-pp))
26 and:
28 (clojure.pprint/pprint (temporal-compare syn-jiggly-4-pp
29 syn-jiggly-3-pp syn-jiggly-2-pp syn-jiggly-1-pp syn-jiggly-0-pp))
31 to generate the above, then filtered manually
36 (def jiggly-lvl-3 (read-state "jiggly-lvl-3"))
38 (def jiggly-4-pp (read-state "jiggly-4-pp"))
40 (def jiggly-3-pp (read-state "jiggly-3-pp"))
42 (def jiggly-2-pp (read-state "jiggly-2-pp"))
44 (def jiggly-1-pp (read-state "jiggly-1-pp"))
46 (def jiggly-0-pp (read-state "jiggly-0-pp"))
48 (def jiggly-struggle-once (read-state "jiggly-struggle-once"))
51 (def syn-jiggly-4-pp (read-state "syn-jiggly-4-pp"))
52 (def syn-jiggly-3-pp (read-state "syn-jiggly-3-pp"))
53 (def syn-jiggly-2-pp (read-state "syn-jiggly-2-pp"))
54 (def syn-jiggly-1-pp (read-state "syn-jiggly-1-pp"))
55 (def syn-jiggly-0-pp (read-state "syn-jiggly-0-pp"))
57 Turns out that the pp for the non-existent moves
58 for the synthetic jigglypuff were not zeroed, causing
59 struggle to fail. Not really an exciting conclusion, but
60 there it is.