From 767018eae6c628e0add27a0f187327b25d8569dc Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 26 Nov 2018 19:26:02 -0800 Subject: fix file extraction (and transforms) --- python/tests/files/math_universe.json | 1 + python/tests/transform_tests.py | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 python/tests/files/math_universe.json (limited to 'python/tests') diff --git a/python/tests/files/math_universe.json b/python/tests/files/math_universe.json new file mode 100644 index 00000000..d469f309 --- /dev/null +++ b/python/tests/files/math_universe.json @@ -0,0 +1 @@ +{"abstracts":[],"refs":[{"index":0,"extra":{"crossref":{"author":"P.A.M. Dirac","unstructured":"Dirac, P.A.M.: Proc. R. Soc. A 133, 60 (1931)","volume":"133"}},"key":"9186_CR1","year":1931,"container_name":"Proc. R. Soc. A","locator":"60"},{"index":1,"extra":{"crossref":{"author":"E.P. Wigner","unstructured":"Wigner, E.P.: Symmetries and Reflections. MIT Press, Cambridge (1967)","volume-title":"Symmetries and Reflections"}},"key":"9186_CR2","year":1967,"container_name":"Symmetries and Reflections"},{"index":2,"extra":{"crossref":{"author":"P. Suppes","unstructured":"Suppes, P.: Studies in Methodology and Foundation of Science: Selected Papers from 1951 to 1969. Reidel, Dordrecht (1969)","volume-title":"Studies in Methodology and Foundation of Science: Selected Papers from 1951 to 1969"}},"key":"9186_CR3","year":1969,"container_name":"Studies in Methodology and Foundation of Science: Selected Papers from 1951 to 1969"},{"index":3,"extra":{"crossref":{"unstructured":"Zuse, K.: http://www.zib.de/zuse/English_Version/Inhalt/Texte/Chrono/60er/Pdf/76scan.pdf (1976)"}},"key":"9186_CR4"},{"index":4,"extra":{"crossref":{"author":"R. Rucker","unstructured":"Rucker, R.: Infinity and the Mind. Birkhäuser, Boston (1982)","volume-title":"Infinity and the Mind"}},"key":"9186_CR5","year":1982,"container_name":"Infinity and the Mind"},{"index":5,"extra":{"crossref":{"author":"J.D. Barrow","unstructured":"Barrow, J.D.: Theories of Everything. Ballantine, New York (1991)","volume-title":"Theories of Everything"}},"key":"9186_CR6","year":1991,"container_name":"Theories of Everything"},{"index":6,"extra":{"crossref":{"author":"J.D. Barrow","unstructured":"Barrow, J.D.: Pi in the Sky. Clarendon, Oxford (1992)","volume-title":"Pi in the Sky"}},"key":"9186_CR7","year":1992,"container_name":"Pi in the Sky"},{"index":7,"extra":{"crossref":{"author":"P. Davies","unstructured":"Davies, P.: The Mind of God. Touchstone, New York (1993)","volume-title":"The Mind of God"}},"key":"9186_CR8","year":1993,"container_name":"The Mind of God"},{"index":8,"extra":{"crossref":{"unstructured":"Jackiw, R.: hep-th/9410151 (1994)"}},"key":"9186_CR9"},{"index":9,"extra":{"crossref":{"author":"S. Lloyd","unstructured":"Lloyd, S.: Complexity 3, 32 (1997). quant-ph/9912088","volume":"3"}},"key":"9186_CR10","year":1997,"container_name":"Complexity","locator":"32"},{"index":10,"extra":{"crossref":{"author":"M. Tegmark","unstructured":"Tegmark, M.: Ann. Phys. 270, 1 (1998). gr-qc/9704009","volume":"270"}},"key":"9186_CR11","year":1998,"container_name":"Ann. Phys.","locator":"1"},{"index":11,"extra":{"crossref":{"author":"J. Schmidhuber","unstructured":"Schmidhuber, J.: In: Freksa, C. (ed.) Lecture Notes in Computer Science, p. 201. Springer, Berlin (1997). quant-ph/9904050","volume-title":"Lecture Notes in Computer Science"}},"key":"9186_CR12","year":1997,"container_name":"Lecture Notes in Computer Science","locator":"201"},{"index":12,"extra":{"crossref":{"author":"J. Ladyman","unstructured":"Ladyman, J.: Stud. Hist. Philos. Sci. 29, 409–424 (1998)","volume":"29"}},"key":"9186_CR13","year":1998,"container_name":"Stud. Hist. Philos. Sci.","locator":"409"},{"index":13,"extra":{"crossref":{"author":"M. Tegmark","issue":"5","unstructured":"Tegmark, M.: Sci. Am. 270(5), 40 (2003)","volume":"270"}},"key":"9186_CR14","year":2003,"container_name":"Sci. Am.","locator":"40"},{"index":14,"extra":{"crossref":{"unstructured":"Tegmark, M.: astro-ph/0302131 (2003)"}},"key":"9186_CR15"},{"index":15,"extra":{"crossref":{"unstructured":"Schmidhuber, J.: quant-ph/0011122 (2000)"}},"key":"9186_CR16"},{"index":16,"extra":{"crossref":{"author":"S. Wolfram","unstructured":"Wolfram, S.: A New Kind of Science. Wolfram Media, New York (2002)","volume-title":"A New Kind of Science"}},"key":"9186_CR17","year":2002,"container_name":"A New Kind of Science"},{"index":17,"extra":{"crossref":{"unstructured":"Cohen, M.: Master’s thesis. Dept. of Philosophy, Ben Gurion University of the Negev, Israel (2003)"}},"key":"9186_CR18"},{"index":18,"extra":{"crossref":{"author":"F.J. Tipler","unstructured":"Tipler, F.J.: Rep. Prog. Phys. 68, 897 (2005)","volume":"68"}},"key":"9186_CR19","year":2005,"container_name":"Rep. Prog. Phys.","locator":"897"},{"index":19,"extra":{"crossref":{"unstructured":"McCabe, G.: gr-qc/0610016 (2006)"}},"key":"9186_CR20"},{"index":20,"extra":{"crossref":{"unstructured":"McCabe, G.: gr-qc/0601073 (2006)"}},"key":"9186_CR21"},{"index":21,"extra":{"crossref":{"author":"R.K. Standish","unstructured":"Standish, R.K.: Theory of Nothing. Booksurge, Charleston (2006)","volume-title":"Theory of Nothing"}},"key":"9186_CR22","year":2006,"container_name":"Theory of Nothing"},{"index":22,"extra":{"crossref":{"author":"F. Wilczek","issue":"11","unstructured":"Wilczek, F.: Phys. Today 58(11), 8 (2006)","volume":"58"}},"key":"9186_CR23","year":2006,"container_name":"Phys. Today","locator":"8"},{"index":23,"extra":{"crossref":{"author":"F. Wilczek","issue":"6","unstructured":"Wilczek, F.: Phys. Today 60(6), 8 (2007)","volume":"60"}},"key":"9186_CR24","year":2007,"container_name":"Phys. Today","locator":"8"},{"index":24,"extra":{"crossref":{"author":"O.E. Rössler","unstructured":"Rössler, O.E.: In: Casti, J.L., Karlquist, A. (eds.) Artificial Minds. North-Holland, New York (1987)","volume-title":"Artificial Minds"}},"key":"9186_CR25","year":1987,"container_name":"Artificial Minds"},{"index":25,"extra":{"crossref":{"author":"K. Svozil","unstructured":"Svozil, K.: In: Atmanspacher, H., Dalenoort, G.J. (eds.) Inside Versus Outside. Springer, Berlin (1994)","volume-title":"Inside Versus Outside"}},"key":"9186_CR26","year":1994,"container_name":"Inside Versus Outside"},{"index":26,"extra":{"crossref":{"author":"K. Svozil","unstructured":"Svozil, K.: In: Trappl, R. (ed.) Cybernetics and Systems ’96. Austrian Society for Cybernetic Studies, Vienna (1996)","volume-title":"Cybernetics and Systems ’96"}},"key":"9186_CR27","year":1996,"container_name":"Cybernetics and Systems ’96"},{"index":27,"extra":{"crossref":{"author":"H. Everett","unstructured":"Everett, H.: Rev. Mod. Phys. 29, 454 (1957)","volume":"29"}},"key":"9186_CR28","year":1957,"container_name":"Rev. Mod. Phys.","locator":"454"},{"index":28,"extra":{"crossref":{"author":"N. Everett","unstructured":"Everett, N.: In: DeWitt, B.S., Graham, N. (eds.) The Many-Worlds Interpretation of Quantum Mechanics. Princeton University Press, Princeton (1973)","volume-title":"The Many-Worlds Interpretation of Quantum Mechanics"}},"key":"9186_CR29","year":1973,"container_name":"The Many-Worlds Interpretation of Quantum Mechanics"},{"index":29,"extra":{"crossref":{"author":"W. Hodges","unstructured":"Hodges, W.: A Shorter Model Theory. Cambridge University Press, Cambridge (1997)","volume-title":"A Shorter Model Theory"}},"key":"9186_CR30","year":1997,"container_name":"A Shorter Model Theory"},{"index":30,"extra":{"crossref":{"author":"H. Weyl","unstructured":"Weyl, H.: Space, Time, Matter. Methuen, London (1922)","volume-title":"Space, Time, Matter"}},"key":"9186_CR31","year":1922,"container_name":"Space, Time, Matter"},{"index":31,"extra":{"crossref":{"author":"H.R. Brown","unstructured":"Brown, H.R., Brading, K.A.: Dialogos 79, 59 (2002)","volume":"79"}},"key":"9186_CR32","year":2002,"container_name":"Dialogos","locator":"59"},{"index":32,"extra":{"crossref":{"author":"K.A. Brading","doi":"10.1017/cbo9780511535369","unstructured":"Brading, K.A., Castellani, E. (eds.): In: Symmetries in Physics: Philosophical Reflections. Cambridge University Press, Cambridge (2003). quant-ph/0301097","volume-title":"Symmetries in Physics: Philosophical Reflections"}},"key":"9186_CR33","year":2003,"container_name":"Symmetries in Physics: Philosophical Reflections"},{"index":33,"extra":{"crossref":{"author":"E. Majorana","unstructured":"Majorana, E.: Nuovo Cimento 9, 335 (1932)","volume":"9"}},"key":"9186_CR34","year":1932,"container_name":"Nuovo Cimento","locator":"335"},{"index":34,"extra":{"crossref":{"author":"P.A.M. Dirac","unstructured":"Dirac, P.A.M.: Proc. R. Soc. A 155, 447 (1936)","volume":"155"}},"key":"9186_CR35","year":1936,"container_name":"Proc. R. Soc. A","locator":"447"},{"index":35,"extra":{"crossref":{"author":"A. Proca","unstructured":"Proca, A.: J. Phys. Rad. 7, 347 (1936)","volume":"7"}},"key":"9186_CR36","year":1936,"container_name":"J. Phys. Rad.","locator":"347"},{"index":36,"extra":{"crossref":{"author":"E.P. Wigner","unstructured":"Wigner, E.P.: Ann. Math. 40, 149 (1939)","volume":"40"}},"key":"9186_CR37","year":1939,"container_name":"Ann. Math.","locator":"149"},{"index":37,"extra":{"crossref":{"author":"R.M. Houtappel","unstructured":"Houtappel, R.M., van Dam, H., Wigner, E.P.: Rev. Mod. Phys. 37, 595 (1965)","volume":"37"}},"key":"9186_CR38","year":1965,"container_name":"Rev. Mod. Phys.","locator":"595"},{"index":38,"extra":{"crossref":{"unstructured":"Deutsch, D.: quant-ph/9906015 (1999)"}},"key":"9186_CR39"},{"index":39,"extra":{"crossref":{"unstructured":"Weinberg, S.: hep-th/9702027 (1997)"}},"key":"9186_CR40"},{"index":40,"extra":{"crossref":{"author":"M.J. Rees","unstructured":"Rees, M.J.: Our Cosmic Habitat. Princeton University Press, Princeton (2002)","volume-title":"Our Cosmic Habitat"}},"key":"9186_CR41","year":2002,"container_name":"Our Cosmic Habitat"},{"index":41,"extra":{"crossref":{"author":"M. Tegmark","unstructured":"Tegmark, M., Aguirre, A., Rees, M.J., Wilczek, F.: Phys. Rev. D 73, 023505 (2006)","volume":"73"}},"key":"9186_CR42","year":2006,"container_name":"Phys. Rev. D","locator":"023505"},{"index":42,"extra":{"crossref":{"author":"G.J. Chaitin","doi":"10.1017/cbo9780511608858","unstructured":"Chaitin, G.J.: Algorithmic Information Theory. Cambridge University Press, Cambridge (1987)","volume-title":"Algorithmic Information Theory"}},"key":"9186_CR43","year":1987,"container_name":"Algorithmic Information Theory"},{"index":43,"extra":{"crossref":{"author":"M. Li","doi":"10.1007/978-1-4757-2606-0","unstructured":"Li, M., Vitanyi, P.: An Introduction to Kolmogorov Complexity and Its Applications. Springer, Berlin (1997)","volume-title":"An Introduction to Kolmogorov Complexity and Its Applications"}},"key":"9186_CR44","year":1997,"container_name":"An Introduction to Kolmogorov Complexity and Its Applications"},{"index":44,"extra":{"crossref":{"author":"E. Borel","unstructured":"Borel, E.: Rend. Circ. Mat. Palermo 26, 247 (1909)","volume":"26"}},"key":"9186_CR45","year":1909,"container_name":"Rend. Circ. Mat. Palermo","locator":"247"},{"index":45,"extra":{"crossref":{"author":"K.L. Chung","unstructured":"Chung, K.L.: A Course in Probability Theory. Academic, New York (1974)","volume-title":"A Course in Probability Theory"}},"key":"9186_CR46","year":1974,"container_name":"A Course in Probability Theory"},{"index":46,"extra":{"crossref":{"author":"P.C.W. Davies","unstructured":"Davies, P.C.W.: In: Zurek, W.H. (ed.) Complexity, Entropy, and Physical Information, p. 61. Addison-Wesley, Redwood City (1990)","volume-title":"Complexity, Entropy, and Physical Information"}},"key":"9186_CR47","year":1990,"container_name":"Complexity, Entropy, and Physical Information","locator":"61"},{"index":47,"extra":{"crossref":{"author":"M. Tegmark","unstructured":"Tegmark, M.: Found. Phys. Lett. 9, 25 (1996)","volume":"9"}},"key":"9186_CR48","year":1996,"container_name":"Found. Phys. Lett.","locator":"25"},{"index":48,"extra":{"crossref":{"author":"H.D. Zeh","edition":"4","unstructured":"Zeh, H.D.: The Physical Basis of the Direction of Time, 4th edn. Springer, Berlin (2002)","volume-title":"The Physical Basis of the Direction of Time"}},"key":"9186_CR49","year":2002,"container_name":"The Physical Basis of the Direction of Time"},{"index":49,"extra":{"crossref":{"author":"A. Albrecht","unstructured":"Albrecht, A., Sorbo, L.: Phys. Rev. D 70, 063528 (2004)","volume":"70"}},"key":"9186_CR50","year":2004,"container_name":"Phys. Rev. D","locator":"063528"},{"index":50,"extra":{"crossref":{"author":"S.M. Carroll","unstructured":"Carroll, S.M., Chen, J.: Gen. Relativ. Gravit. 37, 1671 (2005)","volume":"37"}},"key":"9186_CR51","year":2005,"container_name":"Gen. Relativ. Gravit.","locator":"1671"},{"index":51,"extra":{"crossref":{"unstructured":"Wald, R.M.: gr-qc/0507094 (2005)"}},"key":"9186_CR52"},{"index":52,"extra":{"crossref":{"unstructured":"Page, D.N.: hep-th/0612137 (2006)"}},"key":"9186_CR53"},{"index":53,"extra":{"crossref":{"author":"A. Vilenkin","unstructured":"Vilenkin, A.: J. High Energy Phys. 701, 92 (2007)","volume":"701"}},"key":"9186_CR54","year":2007,"container_name":"J. High Energy Phys.","locator":"92"},{"index":54,"extra":{"crossref":{"author":"L. Boltzmann","unstructured":"Boltzmann, L.: Nature 51, 413 (1895)","volume":"51"}},"key":"9186_CR55","year":1895,"container_name":"Nature","locator":"413"},{"index":55,"extra":{"crossref":{"author":"A. Guth","unstructured":"Guth, A.: Phys. Rev. D 23, 347 (1981)","volume":"23"}},"key":"9186_CR56","year":1981,"container_name":"Phys. Rev. D","locator":"347"},{"index":56,"extra":{"crossref":{"author":"A. Vilenkin","unstructured":"Vilenkin, A.: Phys. Rev. D 27, 2848 (1983)","volume":"27"}},"key":"9186_CR57","year":1983,"container_name":"Phys. Rev. D","locator":"2848"},{"index":57,"extra":{"crossref":{"author":"A.A. Starobinsky","unstructured":"Starobinsky, A.A.: Fundamental Interactions, p. 55. MGPI Press, Moscow (1984)","volume-title":"Fundamental Interactions"}},"key":"9186_CR58","year":1984,"container_name":"Fundamental Interactions","locator":"55"},{"index":58,"extra":{"crossref":{"author":"A.D. Linde","doi":"10.1201/b16971","unstructured":"Linde, A.D.: Particle Physics and Inflationary Cosmology. Harwood, Switzerland (1990)","volume-title":"Particle Physics and Inflationary Cosmology"}},"key":"9186_CR59","year":1990,"container_name":"Particle Physics and Inflationary Cosmology"},{"index":59,"extra":{"crossref":{"unstructured":"Guth, A.H.: hep-th/0702178 (2007)"}},"key":"9186_CR60"},{"index":60,"extra":{"crossref":{"author":"R. Penrose","unstructured":"Penrose, R.: N. Y. Acad. Sci. 571, 249 (1989)","volume":"571"}},"key":"9186_CR61","year":1989,"container_name":"N. Y. Acad. Sci.","locator":"249"},{"index":61,"extra":{"crossref":{"author":"S. Hollands","unstructured":"Hollands, S., Wald, R.M.: Gen. Relativ. Gravit. 34, 2043 (2002)","volume":"34"}},"key":"9186_CR62","year":2002,"container_name":"Gen. Relativ. Gravit.","locator":"2043"},{"index":62,"extra":{"crossref":{"author":"L. Kofman","unstructured":"Kofman, L., Linde, A., Mukhanov, V.: J. High Energy Phys. 10, 57 (2002)","volume":"10"}},"key":"9186_CR63","year":2002,"container_name":"J. High Energy Phys.","locator":"57"},{"index":63,"extra":{"crossref":{"author":"D. Giulini","doi":"10.1007/978-3-662-03263-3","unstructured":"Giulini, D., Joos, E., Kiefer, C., Kupsch, J., Stamatescu, I.O., Zeh, H.D.: Decoherence and the Appearance of a Classical World in Quantum Theory. Springer, Berlin (1996)","volume-title":"Decoherence and the Appearance of a Classical World in Quantum Theory"}},"key":"9186_CR64","year":1996,"container_name":"Decoherence and the Appearance of a Classical World in Quantum Theory"},{"index":64,"extra":{"crossref":{"author":"D. Polarski","unstructured":"Polarski, D., Starobinsky, A.A.: Class. Quantum Gravity 13, 377 (1996)","volume":"13"}},"key":"9186_CR65","year":1996,"container_name":"Class. Quantum Gravity","locator":"377"},{"index":65,"extra":{"crossref":{"author":"K. Kiefer","doi":"10.1002/andp.2090070302","unstructured":"Kiefer, K., Polarski, D.: Ann. Phys. 7, 137 (1998)","volume":"7"}},"key":"9186_CR66","year":1998,"container_name":"Ann. Phys.","locator":"137"},{"index":66,"extra":{"crossref":{"author":"M. Tegmark","issue":"4","unstructured":"Tegmark, M.: J. Cosmol. Astropart. Phys. 2005(4), 1 (2005)","volume":"2005"}},"key":"9186_CR67","year":2005,"container_name":"J. Cosmol. Astropart. Phys.","locator":"1"},{"index":67,"extra":{"crossref":{"author":"R. Easther","unstructured":"Easther, R., Lim, E.A., Martin, M.R.: J. Cosmol. Astropart. Phys. 0603, 16 (2006)","volume":"0603"}},"key":"9186_CR68","year":2006,"container_name":"J. Cosmol. Astropart. Phys.","locator":"16"},{"index":68,"extra":{"crossref":{"author":"R. Bousso","unstructured":"Bousso, R.: Phys. Rev. Lett. 97, 191302 (2006)","volume":"97"}},"key":"9186_CR69","year":2006,"container_name":"Phys. Rev. Lett.","locator":"191302"},{"index":69,"extra":{"crossref":{"unstructured":"Vilenkin, A.: hep-th/0609193 (2006)"}},"key":"9186_CR70"},{"index":70,"extra":{"crossref":{"unstructured":"Aguirre, A., Gratton, S., Johnson, M.C.: hep-th/0611221 (2006)"}},"key":"9186_CR71"},{"index":71,"extra":{"crossref":{"author":"J. Garriga","unstructured":"Garriga, J., Vilenkin, A.: Phys. Rev. D 64, 043511 (2001)","volume":"64"}},"key":"9186_CR72","year":2001,"container_name":"Phys. Rev. D","locator":"043511"},{"index":72,"extra":{"crossref":{"author":"D. Deutsch","unstructured":"Deutsch, D.: The fabric of reality. Allen Lane, New York (1997)","volume-title":"The fabric of reality"}},"key":"9186_CR73","year":1997,"container_name":"The fabric of reality"},{"index":73,"extra":{"crossref":{"unstructured":"Linde, A.D.: hep-th/0211048 (2002)"}},"key":"9186_CR74"},{"index":74,"extra":{"crossref":{"author":"G.F.R. Ellis","unstructured":"Ellis, G.F.R., Kirchner, U., Stoeger, W.R.: Mon. Not. R. Astron. Soc. 347, 921 (2004)","volume":"347"}},"key":"9186_CR75","year":2004,"container_name":"Mon. Not. R. Astron. Soc.","locator":"921"},{"index":75,"extra":{"crossref":{"unstructured":"Stoeger, W.R., Ellis, G.F.R., Kirchner, U.: astro-ph/0407329 (2004)"}},"key":"9186_CR76"},{"index":76,"extra":{"crossref":{"author":"R.D. Holder","unstructured":"Holder, R.D.: God, the Multiverse, and Everything: Modern Cosmology and the Argument from Design. Ashgate, Burlington (2004)","volume-title":"God, the Multiverse, and Everything: Modern Cosmology and the Argument from Design"}},"key":"9186_CR77","year":2004,"container_name":"God, the Multiverse, and Everything: Modern Cosmology and the Argument from Design"},{"index":77,"extra":{"crossref":{"unstructured":"Weinberg, S.: hep-th/0511037 (2005)"}},"key":"9186_CR78"},{"index":78,"extra":{"crossref":{"author":"S.M. Carroll","unstructured":"Carroll, S.M.: Nature 440, 1132 (2006)","volume":"440"}},"key":"9186_CR79","year":2006,"container_name":"Nature","locator":"1132"},{"index":79,"extra":{"crossref":{"unstructured":"Page, D.N.: hep-th/0610101 (2006)"}},"key":"9186_CR80"},{"index":80,"extra":{"crossref":{"author":"P. Davies","unstructured":"Davies, P.: In: Carr, B. (ed.) Universe or Multiverse? Cambridge University Press, Cambridge (2007)","volume-title":"Universe or Multiverse?"}},"key":"9186_CR81","year":2007,"container_name":"Universe or Multiverse?"},{"index":81,"extra":{"crossref":{"author":"M. Kaku","unstructured":"Kaku, M.: Parallel Worlds: A Journey Through Creation, Higher Dimensions, and the Future of the Cosmos. Anchor, New York (2006)","volume-title":"Parallel Worlds: A Journey Through Creation, Higher Dimensions, and the Future of the Cosmos"}},"key":"9186_CR82","year":2006,"container_name":"Parallel Worlds: A Journey Through Creation, Higher Dimensions, and the Future of the Cosmos"},{"index":82,"extra":{"crossref":{"author":"A. Vilenkin","unstructured":"Vilenkin, A.: Many Worlds in One: The Search for Other Universes. Hill and Wang, New York (2006)","volume-title":"Many Worlds in One: The Search for Other Universes"}},"key":"9186_CR83","year":2006,"container_name":"Many Worlds in One: The Search for Other Universes"},{"index":83,"extra":{"crossref":{"author":"R. Bousso","unstructured":"Bousso, R., Polchinski, J.: J. High Energy Phys. 6, 6 (2000)","volume":"6"}},"key":"9186_CR84","year":2000,"container_name":"J. High Energy Phys.","locator":"6"},{"index":84,"extra":{"crossref":{"author":"J.L. Feng","unstructured":"Feng, J.L., March-Russell, J., Sethi, S., Wilczek, F.: Nucl. Phys. B 602, 307 (2001)","volume":"602"}},"key":"9186_CR85","year":2001,"container_name":"Nucl. Phys. B","locator":"307"},{"index":85,"extra":{"crossref":{"author":"S. Kachru","unstructured":"Kachru, S., Kallosh, R., Linde, A., Trivedi, S.P.: Phys. Rev. D 68, 046005 (2003)","volume":"68"}},"key":"9186_CR86","year":2003,"container_name":"Phys. Rev. D","locator":"046005"},{"index":86,"extra":{"crossref":{"unstructured":"Susskind, L.: hep-th/0302219 (2003)"}},"key":"9186_CR87"},{"index":87,"extra":{"crossref":{"author":"S. Ashok","unstructured":"Ashok, S., Douglas, M.R.: J. High Energy Phys. 401, 60 (2004)","volume":"401"}},"key":"9186_CR88","year":2004,"container_name":"J. High Energy Phys.","locator":"60"},{"index":88,"extra":{"crossref":{"author":"S. Feferman","unstructured":"Feferman, S.: In the Light of Logic. Oxford University Press, Oxford (1998), Chap. 14","volume-title":"In the Light of Logic"}},"key":"9186_CR89","year":1998,"container_name":"In the Light of Logic"},{"index":89,"extra":{"crossref":{"author":"R. Hersh","unstructured":"Hersh, R.: What Is Mathematics, Really? Oxford University Press, Oxford (1999)","volume-title":"What Is Mathematics, Really?"}},"key":"9186_CR90","year":1999,"container_name":"What Is Mathematics, Really?"},{"index":90,"extra":{"crossref":{"author":"D. Lewis","unstructured":"Lewis, D.: On the Plurality of Worlds. Blackwell, Oxford (1986)","volume-title":"On the Plurality of Worlds"}},"key":"9186_CR91","year":1986,"container_name":"On the Plurality of Worlds"},{"index":91,"extra":{"crossref":{"author":"S. Hawking","unstructured":"Hawking, S.: A Brief History of Time. Touchstone, New York (1993)","volume-title":"A Brief History of Time"}},"key":"9186_CR92","year":1993,"container_name":"A Brief History of Time"},{"index":92,"extra":{"crossref":{"author":"G.F.R. Ellis","unstructured":"Ellis, G.F.R.: Class. Quantum Gravity A 16, 37 (1999)","volume":"16"}},"key":"9186_CR93","year":1999,"container_name":"Class. Quantum Gravity A","locator":"37"},{"index":93,"extra":{"crossref":{"unstructured":"Schmidhuber, C.: hep-th/0011065 (2000)"}},"key":"9186_CR94"},{"index":94,"extra":{"crossref":{"author":"C.J. Hogan","unstructured":"Hogan, C.J.: Rev. Mod. Phys. 72, 1149 (2000)","volume":"72"}},"key":"9186_CR95","year":2000,"container_name":"Rev. Mod. Phys.","locator":"1149"},{"index":95,"extra":{"crossref":{"author":"P. Benioff","unstructured":"Benioff, P.: Phys. Rev. A 63, 032305 (2001)","volume":"63"}},"key":"9186_CR96","year":2001,"container_name":"Phys. Rev. A","locator":"032305"},{"index":96,"extra":{"crossref":{"author":"G.F.R. Ellis","unstructured":"Ellis, G.F.R.: Int. J. Mod. Phys. A 17, 2667 (2002)","volume":"17"}},"key":"9186_CR97","year":2002,"container_name":"Int. J. Mod. Phys. A","locator":"2667"},{"index":97,"extra":{"crossref":{"author":"N. Bostrom","unstructured":"Bostrom, N.: Anthropic Bias: Observation Selection Effects in Science and Philosophy. Routledge, New York (2002)","volume-title":"Anthropic Bias: Observation Selection Effects in Science and Philosophy"}},"key":"9186_CR98","year":2002,"container_name":"Anthropic Bias: Observation Selection Effects in Science and Philosophy"},{"index":98,"extra":{"crossref":{"author":"P. Benioff","unstructured":"Benioff, P.: Found. Phys. 32, 989 (2002)","volume":"32"}},"key":"9186_CR99","year":2002,"container_name":"Found. Phys.","locator":"989"},{"index":99,"extra":{"crossref":{"unstructured":"Benioff, P.: quant-ph/0303086 (2003)"}},"key":"9186_CR100"},{"index":100,"extra":{"crossref":{"author":"M.M. Circovic","unstructured":"Circovic, M.M.: Found. Phys. 33, 467 (2003)","volume":"33"}},"key":"9186_CR101","year":2003,"container_name":"Found. Phys.","locator":"467"},{"index":101,"extra":{"crossref":{"unstructured":"Vaas, R.: physics/0408111 (2004)"}},"key":"9186_CR102"},{"index":102,"extra":{"crossref":{"unstructured":"Aguirre, A., Tegmark, M.: hep-th/0409072 (2004)"}},"key":"9186_CR103"},{"index":103,"extra":{"crossref":{"author":"P. Benioff","unstructured":"Benioff, P.: Found. Phys. 35, 1825 (2004)","volume":"35"}},"key":"9186_CR104","year":2004,"container_name":"Found. Phys.","locator":"1825"},{"index":104,"extra":{"crossref":{"unstructured":"McCabe, G.: http://philsci-archive.pitt.edu/archive/00002218 (2005)"}},"key":"9186_CR105"},{"index":105,"extra":{"crossref":{"author":"P. Hut","unstructured":"Hut, P., Alford, M., Tegmark, M.: Found. Phys. 36, 765 (2006) physics/0510188","volume":"36"}},"key":"9186_CR106","year":2006,"container_name":"Found. Phys.","locator":"765"},{"index":106,"extra":{"crossref":{"author":"B. Vorhees","unstructured":"Vorhees, B., Luxford, C., Rhyan, A.: Int. J. Unconv. Comput. 1, 69 (2005)","volume":"1"}},"key":"9186_CR107","year":2005,"container_name":"Int. J. Unconv. Comput.","locator":"69"},{"index":107,"extra":{"crossref":{"unstructured":"Ellis, G.F.R.: astro-ph/0602280 (2006)"}},"key":"9186_CR108"},{"index":108,"extra":{"crossref":{"unstructured":"Stoeger, W.R.: astro-ph/0602356 (2006)"}},"key":"9186_CR109"},{"index":109,"extra":{"crossref":{"unstructured":"Hedrich, R.: physics/0604171 (2006)"}},"key":"9186_CR110"},{"index":110,"extra":{"crossref":{"author":"K.E. Drexler","unstructured":"Drexler, K.E.: Engines of Creation: The Coming Era of Nanotechnology. Forth Estate, London (1985)","volume-title":"Engines of Creation: The Coming Era of Nanotechnology"}},"key":"9186_CR111","year":1985,"container_name":"Engines of Creation: The Coming Era of Nanotechnology"},{"index":111,"extra":{"crossref":{"author":"N. Bostrom","unstructured":"Bostrom, N.: Int. J. Futur. Stud. 2, 1 (1998)","volume":"2"}},"key":"9186_CR112","year":1998,"container_name":"Int. J. Futur. Stud.","locator":"1"},{"index":112,"extra":{"crossref":{"author":"R. Kurzweil","unstructured":"Kurzweil, R.: The Age of Spiritual Machines: When Computers Exceed Human Intelligence. Viking, New York (1999)","volume-title":"The Age of Spiritual Machines: When Computers Exceed Human Intelligence"}},"key":"9186_CR113","year":1999,"container_name":"The Age of Spiritual Machines: When Computers Exceed Human Intelligence"},{"index":113,"extra":{"crossref":{"author":"H. Moravec","unstructured":"Moravec, H.: Robot: Mere Machine to Transcendent Mind. Oxford University Press, Oxford (1999)","volume-title":"Robot: Mere Machine to Transcendent Mind"}},"key":"9186_CR114","year":1999,"container_name":"Robot: Mere Machine to Transcendent Mind"},{"index":114,"extra":{"crossref":{"author":"F.J. Tipler","unstructured":"Tipler, F.J.: The Physics of Immortality. Doubleday, New York (1994)","volume-title":"The Physics of Immortality"}},"key":"9186_CR115","year":1994,"container_name":"The Physics of Immortality"},{"index":115,"extra":{"crossref":{"author":"N. Bostrom","unstructured":"Bostrom, N.: Philos. Q. 53, 243 (2003)","volume":"53"}},"key":"9186_CR116","year":2003,"container_name":"Philos. Q.","locator":"243"},{"index":116,"extra":{"crossref":{"author":"G. McCabe","unstructured":"McCabe, G.: Stud. Hist. Philos. Mod. Phys. 36, 591 (2005). physics/0511116","volume":"36"}},"key":"9186_CR117","year":2005,"container_name":"Stud. Hist. Philos. Mod. Phys.","locator":"591"},{"index":117,"extra":{"crossref":{"author":"R. Penrose","unstructured":"Penrose, R.: The Emperor’s New Mind. Oxford University Press, Oxford (1989)","volume-title":"The Emperor’s New Mind"}},"key":"9186_CR118","year":1989,"container_name":"The Emperor’s New Mind"},{"index":118,"extra":{"crossref":{"author":"R. Penrose","unstructured":"Penrose, R.: In: Longair, M. (ed.) The Large, the Small and the Human Mind. Cambridge University Press, Cambridge (1997)","volume-title":"The Large, the Small and the Human Mind"}},"key":"9186_CR119","year":1997,"container_name":"The Large, the Small and the Human Mind"},{"index":119,"extra":{"crossref":{"author":"T. Hafting","unstructured":"Hafting, T.: Nature 436, 801 (2005)","volume":"436"}},"key":"9186_CR120","year":2005,"container_name":"Nature","locator":"801"},{"index":120,"extra":{"crossref":{"author":"R. Gambini","unstructured":"Gambini, R., Porto, R., Pullin, J.: New J. Phys. 6, 45 (2004)","volume":"6"}},"key":"9186_CR121","year":2004,"container_name":"New J. Phys.","locator":"45"},{"index":121,"extra":{"crossref":{"author":"G. Egan","unstructured":"Egan, G.: Permutation City. Harper, New York (1995)","volume-title":"Permutation City"}},"key":"9186_CR122","year":1995,"container_name":"Permutation City"},{"index":122,"extra":{"crossref":{"unstructured":"Standish, R.K.: Phys. Found. Lett. 17 (2004)"}},"key":"9186_CR123"},{"index":123,"extra":{"crossref":{"author":"M. Davis","unstructured":"Davis, M.: Computability and Unsolvability. Dover, New York (1982)","volume-title":"Computability and Unsolvability"}},"key":"9186_CR124","year":1982,"container_name":"Computability and Unsolvability"},{"index":124,"extra":{"crossref":{"author":"D. Hilbert","unstructured":"Hilbert, D., Bernays, P.: Grundlagen der Matematik. Springer, Berlin (1934)","volume-title":"Grundlagen der Matematik"}},"key":"9186_CR125","year":1934,"container_name":"Grundlagen der Matematik"},{"index":125,"extra":{"crossref":{"author":"K. Gödel","unstructured":"Gödel, K.: Monatshefte Math. Phys. 38, 173 (1931)","volume":"38"}},"key":"9186_CR126","year":1931,"container_name":"Monatshefte Math. Phys.","locator":"173"},{"index":126,"extra":{"crossref":{"author":"S.G. Simpson","unstructured":"Simpson, S.G.: J. Symb. Log. 53, 349 (1988) http://www.math.psu.edu/simpson/papers/hilbert.pdf","volume":"53"}},"key":"9186_CR127","year":1988,"container_name":"J. Symb. Log.","locator":"349"},{"index":127,"extra":{"crossref":{"author":"J.W. Dawson","unstructured":"Dawson, J.W.: In: 21st Annual IEEE Symposium on Logic in Computer Science, p. 339. IEEE, New York (2006)","volume-title":"21st Annual IEEE Symposium on Logic in Computer Science"}},"key":"9186_CR128","year":2006,"container_name":"21st Annual IEEE Symposium on Logic in Computer Science","locator":"339"},{"index":128,"extra":{"crossref":{"author":"A. Church","unstructured":"Church, A.: Am. J. Math. 58, 345 (1936)","volume":"58"}},"key":"9186_CR129","year":1936,"container_name":"Am. J. Math.","locator":"345"},{"index":129,"extra":{"crossref":{"author":"A. Turing","unstructured":"Turing, A.: Proc. Lond. Math. Soc. 42, 230 (1936)","volume":"42"}},"key":"9186_CR130","year":1936,"container_name":"Proc. Lond. Math. Soc.","locator":"230"},{"index":130,"extra":{"crossref":{"author":"R.L. Goodstein","unstructured":"Goodstein, R.L.: Constructive Formalism, Essays on the Foundations of Mathematics. Leister University College, Leicester (1951)","volume-title":"Constructive Formalism, Essays on the Foundations of Mathematics"}},"key":"9186_CR131","year":1951,"container_name":"Constructive Formalism, Essays on the Foundations of Mathematics"},{"index":131,"extra":{"crossref":{"author":"X. Wen","unstructured":"Wen, X.: Prog. Theor. Phys. Suppl. 160, 351 (2006). cond-mat/0508020","volume":"160"}},"key":"9186_CR132","year":2006,"container_name":"Prog. Theor. Phys. Suppl.","locator":"351"},{"index":132,"extra":{"crossref":{"unstructured":"Levin, M., Wen, X.: hep-th/0507118 (2005)"}},"key":"9186_CR133"},{"index":133,"extra":{"crossref":{"author":"J.D. Barrow","unstructured":"Barrow, J.D., Tipler, F.J.: The Anthropic Cosmological Principle. Clarendon, Oxford (1986)","volume-title":"The Anthropic Cosmological Principle"}},"key":"9186_CR134","year":1986,"container_name":"The Anthropic Cosmological Principle"},{"index":134,"extra":{"crossref":{"author":"A.D. Linde","unstructured":"Linde, A.D.: In: Hawking, S., Israel, W. (eds.) 300 Years of Gravitation. Cambridge University Press, Cambridge (1987)","volume-title":"300 Years of Gravitation"}},"key":"9186_CR135","year":1987,"container_name":"300 Years of Gravitation"},{"index":135,"extra":{"crossref":{"author":"S. Weinberg","unstructured":"Weinberg, S.: Phys. Rev. Lett. 59, 2607 (1987)","volume":"59"}},"key":"9186_CR136","year":1987,"container_name":"Phys. Rev. Lett.","locator":"2607"},{"index":136,"extra":{"crossref":{"author":"A.D. Linde","unstructured":"Linde, A.D.: Phys. Lett. B 201, 437 (1988)","volume":"201"}},"key":"9186_CR137","year":1988,"container_name":"Phys. Lett. B","locator":"437"},{"index":137,"extra":{"crossref":{"unstructured":"Tegmark, M., Vilenkin, A., Pogosian, L.: astro-ph/0304536 (2003)"}},"key":"9186_CR138"},{"index":138,"extra":{"crossref":{"author":"L. Pogosian","unstructured":"Pogosian, L., Vilenkin, A., Tegmark, M.: J. Cosmol. Astropart. Phys. 407, 5 (2004)","volume":"407"}},"key":"9186_CR139","year":2004,"container_name":"J. Cosmol. Astropart. Phys.","locator":"5"},{"index":139,"extra":{"crossref":{"author":"R. Jones","unstructured":"Jones, R.: Philos. Sci. 58, 185 (1991)","volume":"58"}},"key":"9186_CR140","year":1991,"container_name":"Philos. Sci.","locator":"185"},{"index":140,"extra":{"crossref":{"author":"O. Pooley","unstructured":"Pooley, O.: In: Rickles, D.P., French, S.R.D. (eds.) The Structural Foundations of Quantum Gravity. Oxford University Press, Oxford (2007)","volume-title":"The Structural Foundations of Quantum Gravity"}},"key":"9186_CR141","year":2007,"container_name":"The Structural Foundations of Quantum Gravity"},{"index":141,"extra":{"crossref":{"unstructured":"Larsson, T.A.: math-ph/0103013v3 (2001)"}},"key":"9186_CR142"}],"contribs":[{"index":0,"raw_name":"Max Tegmark","extra":{"sequence":"first"},"role":"author"}],"publisher":"Springer Nature","pages":"101-150","issue":"2","volume":"38","wikidata_qid":"Q54060087","core_id":"1933957","doi":"10.1007/s10701-007-9186-9","release_date":"2007-11-08T00:00:00Z","release_status":"published","release_type":"journal-article","container_id":"pjjfksdadrej5fhynyxd723eju","files":[{"releases":["wbyajeunkrdgplwlevboku4ivu"],"mimetype":"application/pdf","urls":[{"url":"https://dl.dropboxusercontent.com/u/238511/papers/2008-tegmark.pdf","rel":"web"},{"url":"https://web.archive.org/web/20161022180802/https://dl.dropboxusercontent.com/u/238511/papers/2008-tegmark.pdf","rel":"webarchive"}],"sha1":"1f7f5eb71c4ad08a2310a787739c0ce6846bfdda","size":1510526,"revision":"5bb445c8-80af-461a-882e-c1d1559928c1","ident":"fuj2umjhmjdlvnalduifvwe3tq","state":"active"},{"releases":["wbyajeunkrdgplwlevboku4ivu"],"mimetype":"application/pdf","urls":[{"url":"http://www.ignaciodarnaude.com/textos_diversos/Tegmark,The%20mathematical%20universe.pdf","rel":"web"},{"url":"https://web.archive.org/web/20130917032525/http://www.ignaciodarnaude.com/textos_diversos/Tegmark,The%20mathematical%20universe.pdf","rel":"webarchive"}],"sha1":"dcb85c24a903d3366b6a18d28b3c2734f3c93a99","revision":"3f5d0f05-5724-4f00-877a-1d9a8ef8b35a","ident":"nkc2yjzlwndi3mhfnc2vfmcch4","state":"active"},{"releases":["wbyajeunkrdgplwlevboku4ivu"],"mimetype":"application/pdf","urls":[{"url":"https://arxiv.org/pdf/0704.0646/","rel":"repository"},{"url":"https://web.archive.org/web/20170424094547/https://arxiv.org/pdf/0704.0646/","rel":"webarchive"},{"url":"https://arxiv.org/pdf/0704.0646","rel":"repository"},{"url":"https://web.archive.org/web/None/https://arxiv.org/pdf/0704.0646","rel":"webarchive"},{"url":"https://archive.org/download/arxiv-0704.0646/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/None/https://archive.org/download/arxiv-0704.0646/0704.0646.pdf","rel":"webarchive"},{"url":"http://www.thebigwhy.com/MaxTegmarkMathematicalUniverse.pdf","rel":"web"},{"url":"https://web.archive.org/web/20170811134621/http://www.thebigwhy.com/MaxTegmarkMathematicalUniverse.pdf","rel":"webarchive"},{"url":"http://transcendental.ucoz.ru/_fr/0/0704.0646v2-1-.pdf","rel":"web"},{"url":"https://web.archive.org/web/20170809053826/http://transcendental.ucoz.ru/_fr/0/0704.0646v2-1-.pdf","rel":"webarchive"},{"url":"http://thebigwhy.com/MaxTegmarkMathematicalUniverse.pdf","rel":"web"},{"url":"https://web.archive.org/web/20160817173725/http://thebigwhy.com/MaxTegmarkMathematicalUniverse.pdf","rel":"webarchive"},{"url":"http://commonsenseatheism.com/wp-content/uploads/2009/04/tegmark-the-mathematical-universe.pdf","rel":"web"},{"url":"https://web.archive.org/web/20111215204714/http://commonsenseatheism.com/wp-content/uploads/2009/04/tegmark-the-mathematical-universe.pdf","rel":"webarchive"},{"url":"http://commonsenseatheism.com/wp-content/uploads/2009/04/tegmark-the-mathematical-universe.pdf","rel":"web"},{"url":"https://web.archive.org/web/20110831215233/http://commonsenseatheism.com/wp-content/uploads/2009/04/tegmark-the-mathematical-universe.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646v2.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20150427030341/http://arxiv.org/pdf/0704.0646v2.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646v2.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20150102000323/http://arxiv.org/pdf/0704.0646v2.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646v2.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20141229085117/http://arxiv.org/pdf/0704.0646v2.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646v2.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20141228131128/http://arxiv.org/pdf/0704.0646v2.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20160114012112/http://arxiv.org/pdf/0704.0646.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20150209004851/http://arxiv.org/pdf/0704.0646.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20141019132839/http://arxiv.org/pdf/0704.0646.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20140828033642/http://arxiv.org/pdf/0704.0646.pdf","rel":"webarchive"}],"md5":"fed214aba23183936465fdad230492ab","sha1":"d13aa6a0e09428420ad6a915e6c39a95fec3340f","size":742959,"revision":"e73321d3-86db-4553-a9f3-53c5dde21213","ident":"3iqiuv4a5bg65ku5t2dyvtothe","state":"active"}],"container":{"issnl":"0015-9018","publisher":"Springer-Verlag","name":"Foundations of Physics","extra":{"ISSNe":"1572-9516","ISSNp":"0015-9018","in_doaj":false,"in_norwegian":true,"in_road":false,"is_kept":true,"is_oa":false,"language":null,"url":null},"revision":"1d877a9a-f313-4801-8160-28ba200641ed","ident":"pjjfksdadrej5fhynyxd723eju","state":"active"},"work_id":"cvolbbkde5dt7bsc6kz35i32oq","title":"The Mathematical Universe","state":"active","ident":"wbyajeunkrdgplwlevboku4ivu","revision":"0bc31f1d-a481-45e4-bd01-384e48317759","extra":{"crossref":{"alternative-id":["9186"],"container-title":["Foundations of Physics"],"is_kept":false,"type":"journal-article"}}} \ No newline at end of file diff --git a/python/tests/transform_tests.py b/python/tests/transform_tests.py index 18522eff..a42db244 100644 --- a/python/tests/transform_tests.py +++ b/python/tests/transform_tests.py @@ -2,6 +2,7 @@ import json import pytest from fatcat_tools import * +from fatcat_client import * from import_crossref import crossref_importer @@ -12,3 +13,7 @@ def test_elasticsearch_convert(crossref_importer): (r, c) = crossref_importer.parse_crossref_dict(raw) r.state = 'active' release_to_elasticsearch(r) + +def test_elasticsearch_from_json(): + r = entity_from_json(open('./tests/files/math_universe.json', 'r').read(), ReleaseEntity) + release_to_elasticsearch(r) -- cgit v1.2.3