In this section
- E90 transform · cosmic / tools/explore/periodic/furnace/electron/e90.py lines 1–29
- E91 transform · cosmic / tools/explore/periodic/furnace/electron/e91.py lines 1–29
- E92 transform · cosmic / tools/explore/periodic/furnace/electron/e92.py lines 1–29
- E93 transform · cosmic / tools/explore/periodic/furnace/electron/e93.py lines 1–29
- E94 transform · cosmic / tools/explore/periodic/furnace/electron/e94.py lines 1–29
- E95 transform · cosmic / tools/explore/periodic/furnace/electron/e95.py lines 1–29
- E96 transform · cosmic / tools/explore/periodic/furnace/electron/e96.py lines 1–29
- E97 transform · cosmic / tools/explore/periodic/furnace/electron/e97.py lines 1–29
- E98 transform · cosmic / tools/explore/periodic/furnace/electron/e98.py lines 1–29
- E99 transform · cosmic / tools/explore/periodic/furnace/electron/e99.py lines 1–29
- Test Electron test · cosmic / tools/explore/periodic/furnace/electron/test_electron.py lines 1–106
- Gallery render · cosmic / tools/explore/periodic/furnace/page/gallery.css lines 1–64
- Gallery interaction · cosmic / tools/explore/periodic/furnace/page/gallery.js lines 1–153
- Index Template render · cosmic / tools/explore/periodic/furnace/page/index.template.html lines 1–43
- P1 transform · cosmic / tools/explore/periodic/furnace/positron/p1.py lines 1–8
- P10 transform · cosmic / tools/explore/periodic/furnace/positron/p10.py lines 1–8
- P100 transform · cosmic / tools/explore/periodic/furnace/positron/p100.py lines 1–8
- P101 transform · cosmic / tools/explore/periodic/furnace/positron/p101.py lines 1–8
- P102 transform · cosmic / tools/explore/periodic/furnace/positron/p102.py lines 1–8
E90
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e90.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E90 Th — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e90.py:1-29 · blob 8845bac35653197034e5c6f5e78c4086725c0647 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e90 Th — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 90
SYMBOL = "Th"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=90."""
return _common().run_element(Z, ctx, xp)E91
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e91.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E91 Pa — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e91.py:1-29 · blob 6c473103b774d0adec91c10fb9d3702715f1e723 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e91 Pa — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 91
SYMBOL = "Pa"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=91."""
return _common().run_element(Z, ctx, xp)E92
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e92.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E92 U — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e92.py:1-29 · blob d5eb86c8fd9e619c3de9cd7e595c7f6622add9b4 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e92 U — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 92
SYMBOL = "U"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=92."""
return _common().run_element(Z, ctx, xp)E93
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e93.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E93 Np — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e93.py:1-29 · blob a72a191aa511447b8017d8a4bce36cf1dd59ec3f · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e93 Np — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 93
SYMBOL = "Np"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=93."""
return _common().run_element(Z, ctx, xp)E94
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e94.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E94 Pu — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e94.py:1-29 · blob 0357219f404d1c7a8866b1b4b94d1c13cae52561 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e94 Pu — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 94
SYMBOL = "Pu"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=94."""
return _common().run_element(Z, ctx, xp)E95
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e95.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E95 Am — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e95.py:1-29 · blob 7bedccc01ee8a804bf51b6e9a9270f9c2fbaf75d · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e95 Am — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 95
SYMBOL = "Am"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=95."""
return _common().run_element(Z, ctx, xp)E96
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e96.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E96 Cm — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e96.py:1-29 · blob d5d194b5afdf654b9eed910fe3dff9a8df75f1a5 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e96 Cm — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 96
SYMBOL = "Cm"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=96."""
return _common().run_element(Z, ctx, xp)E97
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e97.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E97 Bk — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e97.py:1-29 · blob f68b0c9b5c0edf96822563f6dbaccf07048fff09 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e97 Bk — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 97
SYMBOL = "Bk"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=97."""
return _common().run_element(Z, ctx, xp)E98
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e98.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E98 Cf — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e98.py:1-29 · blob 12ed7fb9cec04736ecaee6fdffade8c39e656d69 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e98 Cf — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 98
SYMBOL = "Cf"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=98."""
return _common().run_element(Z, ctx, xp)E99
A Python module in the electron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/electron/e99.py · lines 1–29 of 29 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys.
- What it achieves
- E99 Es — ELECTRON (primary computation).
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/electron · Python module
- Uses
- importlib.util, os, sys
- Used by
- none found
- Produces
- run
- Defines here
- _common, run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/e99.py:1-29 · blob 5c81a263ed9c73a3012c7923aadbc7aaa5114ed7 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""e99 Es — ELECTRON (primary computation). Grid cell: group f-row, period 7, f-block.
Family "A" (name vocabulary); see ../electron/GRID.md for how group, period,
block, Z, electronegativity and valence set the measure and its parameters.
"""
import importlib.util as _u
import os as _os
import sys as _sys
Z = 99
SYMBOL = "Es"
FAMILY = "A"
TOL = {"rtol": 1e-9, "atol": 1e-9}
def _common():
name = "furnace_electron_common"
if name not in _sys.modules:
path = _os.path.join(_os.path.dirname(_os.path.abspath(__file__)), "common.py")
spec = _u.spec_from_file_location(name, path)
mod = _u.module_from_spec(spec)
_sys.modules[name] = mod
spec.loader.exec_module(mod)
return _sys.modules[name]
def run(ctx, xp):
"""Return {"value", "picture", "detail", "measure", "evidence", ...} for Z=99."""
return _common().run_element(Z, ctx, xp)Test Electron
A test in the furnace folder of Cosmic. It sets up class (`setUpClass`) and is built from the load step (`load`) and the common step (`common`).
testcosmic / tools/explore/periodic/furnace/electron/test_electron.py · lines 1–106 of 106 · Entry point · pattern test_deterministic (shared by 11 files)
- What it does
- It tests its inputs. Defines 11 functions or classes, including load, common, TestElectron, setUpClass, test_every_z_present. Uses libraries importlib.util, json, os, re, sys. Side effects: reads or writes files.
- Inputs & outputs
- In: JSON file build_graph.json.
- Downstream impact
- It is itself an entry point (test); no other file was found loading it.
- What it achieves
- ELECTRON tests: every Z present, runs on xp=numpy, deterministic, evidence keys well formed.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- cosmic · tools/explore/periodic/furnace/electron · test
- Uses
- importlib.util, json, os, re, sys, unittest, numpy
- Used by
- none found
- Produces
- load, common, TestElectron
- Defines here
- load, common, TestElectron, setUpClass, test_every_z_present, test_runs_numpy_and_shape, test_evidence_keys, test_deterministic, test_layout_and_families, test_column_monotone, test_hand_check_fanout
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/electron/test_electron.py:1-106 · blob cd170b9fa32279c81d3c353356e836fd8c53f18a · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: filesystem · domain stage: unknown · users: none · canonical: unknown
"""ELECTRON tests: every Z present, runs on xp=numpy, deterministic, evidence keys well formed."""
import importlib.util
import json
import os
import re
import sys
import unittest
import numpy as np
HERE = os.path.dirname(os.path.abspath(__file__))
GRAPH = "/tmp/site8/explore-code/build_graph.json"
def load(z):
spec = importlib.util.spec_from_file_location("electron_test_e%d" % z, os.path.join(HERE, "e%d.py" % z))
mod = importlib.util.module_from_spec(spec)
spec.loader.exec_module(mod)
return mod
def common():
load(1)._common()
return sys.modules["furnace_electron_common"]
EVIDENCE = re.compile(r"^[^@\s]+@[0-9a-f]{40} \S.*:1-\d+$")
PRIMS = {"circle", "line", "rect", "poly", "text"}
COLOURS = {"cyan", "blue", "grey", "white", "line"}
@unittest.skipUnless(os.path.exists(GRAPH), "build_graph.json not present")
class TestElectron(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.out = {z: load(z).run({}, np) for z in range(1, 119)}
def test_every_z_present(self):
names = {f for f in os.listdir(HERE) if re.fullmatch(r"e\d+\.py", f)}
self.assertEqual(names, {"e%d.py" % z for z in range(1, 119)})
for z in range(1, 119):
self.assertEqual(load(z).Z, z)
def test_runs_numpy_and_shape(self):
for z, r in self.out.items():
self.assertEqual(r["Z"], z)
v = r["value"]
self.assertIsInstance(v, (int, float), z)
self.assertNotIsInstance(v, bool)
self.assertTrue(v == v, "NaN at Z=%d" % z)
self.assertTrue(r["measures"])
pic = r["picture"]
self.assertTrue(0 < len(pic) <= 400, z)
for p in pic:
self.assertIn(p["t"], PRIMS)
self.assertIn(p["c"], COLOURS)
json.dumps(r)
def test_evidence_keys(self):
named = 0
for z, r in self.out.items():
self.assertLessEqual(len(r["evidence"]), r["params"]["v"])
self.assertEqual(len(r["evidence"]), len(r["files"]))
for e in r["evidence"]:
self.assertRegex(e, EVIDENCE)
named += bool(r["evidence"])
self.assertGreaterEqual(named, 110)
def test_deterministic(self):
again = {z: load(z).run({}, np) for z in range(1, 119)}
self.assertEqual(json.dumps(self.out, sort_keys=True), json.dumps(again, sort_keys=True))
def test_layout_and_families(self):
c = common()
fams = {}
for z in range(1, 119):
fams.setdefault(c.element_params(z, {})["family"], []).append(z)
self.assertEqual(len(fams), 20)
self.assertEqual(fams["L"], list(range(57, 71)))
self.assertEqual(fams["A"], list(range(89, 103)))
self.assertEqual(fams["3"], [21, 39, 71, 103])
self.assertEqual(fams["18"], [2, 10, 18, 36, 54, 86, 118])
# ctx["element"] (FURNACE v1 keys) wins over fallbacks
p = c.element_params(26, {"element": {"Z": 26, "group": 8, "period": 4, "block": "d",
"en": 2.0, "valence": 8}})
self.assertEqual((p["d"], p["v"], p["q"], p["edge_block"]), (4, 8, 0.5, "d"))
def test_column_monotone(self):
# fan-out / fan-in counts fall as the threshold d (period) rises
for col in ([1, 3, 11, 19, 37, 55, 87], [4, 12, 20, 38, 56, 88]):
vals = [self.out[z]["value"] for z in col]
self.assertEqual(vals, sorted(vals, reverse=True), col)
def test_hand_check_fanout(self):
g = json.load(open(GRAPH))
kinds = set(common().BLOCK_EDGES["s"])
pairs = {(a, b) for a, b, k, _ in g["edges"] if k in kinds and a != b}
out = {}
for a, _b in pairs:
out[a] = out.get(a, 0) + 1
self.assertEqual(self.out[1]["value"], sum(1 for x in out.values() if x >= 1))
self.assertEqual(self.out[11]["value"], sum(1 for x in out.values() if x >= 3))
if __name__ == "__main__":
unittest.main()Gallery
A style sheet in the page folder of Cosmic.
rendercosmic / tools/explore/periodic/furnace/page/gallery.css · lines 1–64 of 64 · Entry point
- What it does
- Side effects: changes the web page (DOM).
- Downstream impact
- Used directly by 1 file: Index Template (cosmic, https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html).
- What it achieves
- Furnace gallery (`run.py`, CRUCIBLE-31). Site palette: #000 #0b0e14 #2f343d #fff #a6adbb #66ccff #00ffff.
- Why it matters
- Loaded by the Index Template page at https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html.
- Application
- cosmic · tools/explore/periodic/furnace/page · style sheet
- Uses
- none found
- Used by
- loaded by Index Template (stylesheet)
- Produces
- none declared
- Defines here
- none
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/page/gallery.css:1-64 · blob d4b2b2d8d9c8f239850fe46b7f8ec7547b95a0ea · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: unknown · users: none · canonical: unknown
/* Furnace gallery (run.py, CRUCIBLE-31). Site palette: #000 #0b0e14 #2f343d #fff #a6adbb #66ccff #00ffff. No CDN. */
*{box-sizing:border-box}
html,body.fz{overflow-x:hidden;margin:0;background:#000;color:#fff;
font:15px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
body.fz main{max-width:1240px;margin:0 auto;padding:0 14px 28px}
body.fz header{overflow-wrap:anywhere}
h1{font-size:22px;margin:16px 0 6px;color:#00ffff}
h2{font-size:17px;margin:0}
.fz-lead{color:#a6adbb;max-width:66ch;margin:0 0 8px}
.fz-sum{margin:6px 0;color:#fff}
.fz-note{color:#a6adbb;font-size:13px;overflow-wrap:anywhere}
code{color:#66ccff}
a{color:#66ccff}
.fz-legend{display:flex;flex-wrap:wrap;gap:4px 16px;list-style:none;padding:0;margin:6px 0 10px;font-size:13px;color:#a6adbb}
.fz-legend i{display:inline-block;width:14px;height:14px;border-radius:3px;margin-right:6px;vertical-align:-2px}
.fz-k-agree,.fz-t.agree{background:#00ffff;color:#000;border-color:#00ffff}
.fz-k-ann,.fz-t.annihilate{background:repeating-linear-gradient(135deg,#fff 0 5px,#a6adbb 5px 7px);color:#000;border-color:#fff}
.fz-k-nyb,.fz-t.nyb{background:#0b0e14;color:#a6adbb;border:1px dashed #2f343d}
/* the table scrolls inside its own frame; the page never scrolls sideways */
.fz-frame{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
border:1px solid #2f343d;border-radius:6px;background:#000;padding:8px;max-height:78vh}
.fz-frame:focus-visible,.fz-t:focus-visible,.fz-btn:focus-visible{outline:2px solid #66ccff;outline-offset:2px}
.fz-grid{display:grid;grid-template-columns:repeat(18,48px);grid-template-rows:repeat(7,48px) 8px repeat(2,48px);gap:3px;width:max-content}
.fz-gap{grid-column:1/-1}
.fz-flab{font-size:10px;color:#a6adbb;display:flex;align-items:center;justify-content:flex-end;padding-right:4px;text-align:right;line-height:1.1}
.fz-t{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;min-height:44px;
border:1px solid;border-radius:4px;padding:0;font:inherit;cursor:pointer;overflow:hidden}
.fz-t b{font-size:17px;line-height:1}
.fz-t .z{position:absolute;top:1px;left:3px;font-size:9px;opacity:.85}
.fz-t .m{position:absolute;top:0;right:3px;font-size:11px;font-weight:700}
.fz-t .nm{font-size:8px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85;padding:0 2px}
.fz-t:hover{outline:2px solid #66ccff;outline-offset:1px}
@media (min-width:1000px){
.fz-grid{grid-template-columns:repeat(18,minmax(48px,1fr));grid-template-rows:repeat(7,60px) 10px repeat(2,60px);width:auto}
.fz-t b{font-size:20px}
.fz-t .nm{font-size:9px}
}
/* experiment card */
.fz-card{background:#0b0e14;color:#fff;border:1px solid #2f343d;border-radius:8px;padding:0;
width:min(620px,calc(100vw - 20px));max-width:calc(100vw - 20px);max-height:calc(100vh - 24px)}
.fz-card::backdrop{background:rgba(0,0,0,.75)}
.fz-card-in{padding:12px 14px 16px;overflow-wrap:anywhere}
.fz-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;background:#0b0e14;padding-bottom:6px}
.fz-btn{min-height:44px;min-width:44px;padding:0 14px;background:#000;color:#fff;border:1px solid #2f343d;border-radius:6px;font:inherit;cursor:pointer}
.fz-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-weight:700;font-size:13px}
.fz-badge.agree{background:#00ffff;color:#000}
.fz-badge.annihilate{background:#fff;color:#000}
.fz-badge.nyb{background:#2f343d;color:#fff}
.fz-props{display:flex;flex-wrap:wrap;gap:4px 12px;color:#a6adbb;font-size:13px;margin:6px 0}
.fz-kv{display:grid;grid-template-columns:minmax(80px,auto) 1fr;gap:4px 10px;font-size:14px;margin:8px 0}
.fz-kv dt{color:#a6adbb}
.fz-kv dd{margin:0;min-width:0}
.fz-val{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;white-space:pre-wrap;word-break:break-word;
background:#000;border:1px solid #2f343d;border-radius:4px;padding:4px 6px;margin:0;max-height:160px;overflow:auto}
.fz-pics{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;margin:8px 0}
.fz-pics figure{margin:0}
.fz-pics figcaption{font-size:12px;color:#a6adbb}
.fz-pics svg{display:block;background:#000;border:1px solid #2f343d;border-radius:4px}
.fz-pic-e{width:min(240px,70vw);height:auto}
.fz-pic-p{width:110px;height:auto}
.fz-ev{font-size:12px;color:#a6adbb;padding-left:18px;margin:4px 0}
.fz-plain{color:#a6adbb;font-size:13px;padding-left:22px;overflow-wrap:anywhere}
.fz-back{margin:10px 0 0;font-size:14px}
.fz-back a{display:inline-flex;align-items:center;min-height:44px}Gallery
A JavaScript file in the page folder of Cosmic that works with st cls (`stCls`) and draws SVG graphics (units: kV).
interactioncosmic / tools/explore/periodic/furnace/page/gallery.js · lines 1–153 of 153 · Entry point · pattern picture (shared by 4 files)
- What it does
- It draws its content. Defines 9 functions or classes, including el, stCls, mark, fmt, num. Side effects: changes the web page (DOM); reads or writes files.
- Inputs & outputs
- Out: SVG drawing.
- Downstream impact
- Used directly by 1 file: Index Template (cosmic, https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html).
- What it achieves
- It is built from the st cls helper (`stCls`), the mark step (`mark`) and the fmt step (`fmt`). Furnace gallery (`run.py`, CRUCIBLE-31). Reads window.FURNACE (`data.js`); no network, no CDN. It responds to click events.
- Why it matters
- Loaded by the Index Template page at https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html.
- Application
- cosmic · tools/explore/periodic/furnace/page · script
- Uses
- none found
- Used by
- loaded by Index Template (script src)
- Produces
- el, stCls, mark, fmt, num, picture, kv, open, close
- Defines here
- el, stCls, mark, fmt, num, picture, kv, open, close
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/page/gallery.js:1-153 · blob d2a0259b03b161afe77a7b19b6068344e5258e08 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: dom, filesystem · domain stage: unknown · users: none · canonical: unknown
/* Furnace gallery (run.py, CRUCIBLE-31). Reads window.FURNACE (data.js); no network, no CDN. */
(function () {
"use strict";
var D = window.FURNACE;
var grid = document.getElementById("fz-grid");
var dlg = document.getElementById("fz-card");
var body = document.getElementById("fz-card-body");
var title = document.getElementById("fz-card-title");
var COL = { cyan: "#00ffff", blue: "#66ccff", grey: "#a6adbb", white: "#ffffff", line: "#2f343d" };
var SVGNS = "http://www.w3.org/2000/svg";
if (!D || !D.elements || !grid) {
if (grid) grid.textContent = "Receipts not loaded (data.js missing). Run furnace/run.py.";
return;
}
function el(tag, cls, text) {
var n = document.createElement(tag);
if (cls) n.className = cls;
if (text !== undefined && text !== null) n.textContent = String(text);
return n;
}
function stCls(s) { return s === "agree" ? "agree" : s === "annihilate" ? "annihilate" : "nyb"; }
function mark(s) { return s === "agree" ? "=" : s === "annihilate" ? "≠" : ""; }
function fmt(v) {
if (v === undefined) return "—";
if (typeof v === "number") return String(Math.round(v * 1e9) / 1e9);
return JSON.stringify(v, null, 1);
}
function num(v, d) { return typeof v === "number" && isFinite(v) ? v : d; }
function picture(prims, cls, label) {
var s = document.createElementNS(SVGNS, "svg");
s.setAttribute("viewBox", "0 0 100 100");
s.setAttribute("class", cls);
s.setAttribute("role", "img");
s.setAttribute("aria-label", label);
(prims || []).forEach(function (p) {
var c = COL[p.c] || COL.grey, n;
if (p.t === "circle") {
n = document.createElementNS(SVGNS, "circle");
n.setAttribute("cx", num(p.x, 0)); n.setAttribute("cy", num(p.y, 0)); n.setAttribute("r", num(p.r, 1));
if (p.fill === false) { n.setAttribute("fill", "none"); n.setAttribute("stroke", c); n.setAttribute("stroke-width", num(p.w, 0.5)); }
else n.setAttribute("fill", c);
} else if (p.t === "rect") {
n = document.createElementNS(SVGNS, "rect");
n.setAttribute("x", num(p.x, 0)); n.setAttribute("y", num(p.y, 0));
n.setAttribute("width", Math.max(0, num(p.w, 1))); n.setAttribute("height", Math.max(0, num(p.h, 1)));
if (p.fill === false) { n.setAttribute("fill", "none"); n.setAttribute("stroke", c); n.setAttribute("stroke-width", 0.5); }
else n.setAttribute("fill", c);
} else if (p.t === "line") {
n = document.createElementNS(SVGNS, "line");
n.setAttribute("x1", num(p.x1, 0)); n.setAttribute("y1", num(p.y1, 0));
n.setAttribute("x2", num(p.x2, 0)); n.setAttribute("y2", num(p.y2, 0));
n.setAttribute("stroke", c); n.setAttribute("stroke-width", num(p.w, 0.5));
} else if (p.t === "poly") {
n = document.createElementNS(SVGNS, "polyline");
n.setAttribute("points", (p.pts || []).map(function (q) { return num(q[0], 0) + "," + num(q[1], 0); }).join(" "));
if (p.fill) n.setAttribute("fill", c); else { n.setAttribute("fill", "none"); n.setAttribute("stroke", c); n.setAttribute("stroke-width", num(p.w, 0.6)); }
} else if (p.t === "text") {
n = document.createElementNS(SVGNS, "text");
n.setAttribute("x", num(p.x, 0)); n.setAttribute("y", num(p.y, 0));
n.setAttribute("fill", c); n.setAttribute("font-size", Math.max(2, num(p.h, 5)));
n.textContent = p.s || "";
}
if (n) s.appendChild(n);
});
return s;
}
function kv(dl, k, v, pre) {
dl.appendChild(el("dt", "", k));
var dd = el("dd");
if (pre) dd.appendChild(el("pre", "fz-val", v)); else if (v instanceof Node) dd.appendChild(v); else dd.textContent = v;
dl.appendChild(dd);
}
function open(r) {
title.textContent = r.Z + " " + r.symbol + " · " + (r.name || "");
body.textContent = "";
var props = el("div", "fz-props");
[["group", r.group === null ? "f row" : r.group], ["period", r.period], ["block", r.block],
["weight", r.weight], ["electronegativity", r.en === null ? "none" : r.en], ["valence", r.valence],
["category", r.category]].forEach(function (p) { props.appendChild(el("span", "", p[0] + " " + p[1])); });
body.appendChild(props);
var st = el("p");
st.appendChild(el("span", "fz-badge " + stCls(r.status), r.status === "not yet built" ? "not yet built" : r.status));
body.appendChild(st);
var dl = el("dl", "fz-kv");
if (r.status === "not yet built") {
kv(dl, "files", r.detail || "neither file");
kv(dl, "expects", "electron/e" + r.Z + ".py and positron/p" + r.Z + ".py");
body.appendChild(dl);
} else {
var e = r.electron || {}, p = r.positron || {};
kv(dl, "measured", r.measures || "(no MEASURES given)");
kv(dl, "electron", e.error ? "error: " + e.error : fmt(e.value), true);
kv(dl, "positron", p.error ? "error: " + p.error : fmt(p.value), true);
kv(dl, "tolerance", "rtol " + r.tolerance.rtol + ", atol " + r.tolerance.atol);
kv(dl, "max |e−p|", r.max_abs_diff === null || r.max_abs_diff === undefined ? "—" : String(r.max_abs_diff));
if (r.reason) kv(dl, "reason", r.reason);
kv(dl, "timing", "electron " + e.ms + " ms, positron " + p.ms + " ms");
kv(dl, "digests", "inputs " + String(r.inputs_digest).slice(0, 16) + " · outputs " + String(r.outputs_digest).slice(0, 16));
body.appendChild(dl);
var pics = el("div", "fz-pics");
var f1 = el("figure"); f1.appendChild(picture(e.picture, "fz-pic-e", "electron picture for " + r.symbol));
f1.appendChild(el("figcaption", "", "electron picture")); pics.appendChild(f1);
if (p.picture && p.picture.length) {
var f2 = el("figure"); f2.appendChild(picture(p.picture, "fz-pic-p", "positron picture for " + r.symbol));
f2.appendChild(el("figcaption", "", "positron")); pics.appendChild(f2);
}
body.appendChild(pics);
body.appendChild(el("h2", "", "Evidence keys"));
var ul = el("ul", "fz-ev");
(r.evidence && r.evidence.length ? r.evidence : ["(none given)"]).forEach(function (k) { ul.appendChild(el("li", "", k)); });
[e.file, p.file].forEach(function (f) { if (f) ul.appendChild(el("li", "", f)); });
body.appendChild(ul);
}
if (typeof dlg.showModal === "function") { if (!dlg.open) dlg.showModal(); } else dlg.setAttribute("open", "");
if (history.replaceState) history.replaceState(null, "", "#Z" + r.Z);
}
function close() {
if (dlg.open) { if (typeof dlg.close === "function") dlg.close(); else dlg.removeAttribute("open"); }
if (history.replaceState) history.replaceState(null, "", location.pathname + location.search);
}
document.getElementById("fz-close").addEventListener("click", close);
dlg.addEventListener("click", function (ev) { if (ev.target === dlg) close(); });
var byZ = {};
var frag = document.createDocumentFragment();
var gap = el("div", "fz-gap"); gap.style.gridRow = "8"; gap.setAttribute("aria-hidden", "true"); frag.appendChild(gap);
[["57–70", 9], ["89–102", 10]].forEach(function (l) {
var d = el("div", "fz-flab", l[0]); d.style.gridRow = String(l[1]); d.style.gridColumn = "1 / 3"; d.setAttribute("aria-hidden", "true"); frag.appendChild(d);
});
D.elements.forEach(function (r) {
byZ[r.Z] = r;
var b = el("button", "fz-t " + stCls(r.status));
b.type = "button";
b.style.gridRow = String(r.row);
b.style.gridColumn = String(r.col);
b.setAttribute("aria-label", r.Z + " " + (r.name || r.symbol) + ": " + r.status);
b.dataset.z = r.Z;
b.appendChild(el("span", "z", r.Z));
b.appendChild(el("span", "m", mark(r.status)));
b.appendChild(el("b", "", r.symbol));
b.appendChild(el("span", "nm", r.name || ""));
b.addEventListener("click", function () { open(r); });
frag.appendChild(b);
});
grid.appendChild(frag);
var m = /^#Z(\d+)$/.exec(location.hash);
if (m && byZ[m[1]]) open(byZ[m[1]]);
})();Index Template
A web page in the page folder of Cosmic. Published at https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html.
rendercosmic / tools/explore/periodic/furnace/page/index.template.html · lines 1–43 of 43 · Entry point
- What it does
- It draws its content. Uses libraries data.js. Side effects: changes the web page (DOM).
- Inputs & outputs
- Out: web page.
- Downstream impact
- It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html.
- What it achieves
- Furnace: 118 code experiments, electron and positron.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- cosmic · tools/explore/periodic/furnace/page · page
- Uses
- Gallery (stylesheet), Gallery (script src), data.js
- Used by
- none found
- Produces
- none declared
- Defines here
- none
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/page/index.template.html:1-43 · blob 3bdabf94fa31b7346219aed69ca18cce19da239d · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: unknown · users: none · canonical: unknown
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark">
<title>Furnace: 118 code experiments, electron and positron</title>
<link rel="stylesheet" href="gallery.css">
</head>
<body class="fz">
<main>
<header>
<p class="fz-back"><a href="../index.html">← Periodic table of the code estate</a></p>
<h1>Furnace: 118 code experiments</h1>
<p class="fz-lead">Each element of the periodic table drives one measurement over the Explore Code graph. The <b>electron</b> computes it, the <b>positron</b> computes it again by a different method. When they agree within tolerance the tile is cyan; when they disagree it is an <b>annihilation</b>, kept and shown.</p>
<p class="fz-sum" id="fz-sum">{{SUMMARY}}</p>
<ul class="fz-legend" aria-label="Tile colours">
<li><i class="fz-k-agree"></i>agree (=)</li>
<li><i class="fz-k-ann"></i>annihilate (≠)</li>
<li><i class="fz-k-nyb"></i>not yet built</li>
</ul>
</header>
<div class="fz-frame" id="fz-frame" tabindex="0" role="region" aria-label="Periodic table of experiments (scrolls inside this frame)">
<div class="fz-grid" id="fz-grid"></div>
</div>
<p class="fz-note">Tap a tile to open its experiment card. Receipts: <code>receipts.json</code> (inputs digest, outputs digest, agree or annihilate with tolerance, timing). Generated {{GENERATED}}.</p>
<noscript>
<h2>All 118 experiments</h2>
<ul class="fz-plain">
{{NOSCRIPT_LIST}}
</ul>
</noscript>
</main>
<dialog id="fz-card" class="fz-card" aria-labelledby="fz-card-title">
<div class="fz-card-in">
<div class="fz-card-top"><h2 id="fz-card-title">Element</h2><button type="button" class="fz-btn" id="fz-close" aria-label="Close card">Close</button></div>
<div id="fz-card-body"></div>
</div>
</dialog>
<script src="data.js"></script>
<script src="gallery.js"></script>
</body>
</html>P1
A Python module in the positron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/positron/p1.py · lines 1–8 of 8 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines run.
- What it achieves
- POSITRON p1 (ANTIPODE-26): independent second computation for Z=1; see `positron_core.py` and `electron/GRID.md`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/positron · Python module
- Uses
- Positron Core (import)
- Used by
- none found
- Produces
- run
- Defines here
- run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/positron/p1.py:1-8 · blob 2384bfe377be784c469b06c13297f349a67a752d · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""POSITRON p1 (ANTIPODE-26): independent second computation for Z=1; see positron_core.py and electron/GRID.md."""
from positron_core import run_element
EVIDENCE = ["build_graph.json:edges", "build_graph.json:files[]", "electron/GRID.md"]
def run(ctx, xp):
return run_element(1, ctx, xp)P10
A Python module in the positron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/positron/p10.py · lines 1–8 of 8 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines run.
- What it achieves
- POSITRON p10 (ANTIPODE-26): independent second computation for Z=10; see `positron_core.py` and `electron/GRID.md`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/positron · Python module
- Uses
- Positron Core (import)
- Used by
- none found
- Produces
- run
- Defines here
- run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/positron/p10.py:1-8 · blob 871718308891519529c682da59393e6ec63247d0 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""POSITRON p10 (ANTIPODE-26): independent second computation for Z=10; see positron_core.py and electron/GRID.md."""
from positron_core import run_element
EVIDENCE = ["build_graph.json:edges", "build_graph.json:files[]", "electron/GRID.md"]
def run(ctx, xp):
return run_element(10, ctx, xp)P100
A Python module in the positron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/positron/p100.py · lines 1–8 of 8 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines run.
- What it achieves
- POSITRON p100 (ANTIPODE-26): independent second computation for Z=100; see `positron_core.py` and `electron/GRID.md`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/positron · Python module
- Uses
- Positron Core (import)
- Used by
- none found
- Produces
- run
- Defines here
- run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/positron/p100.py:1-8 · blob c236b4bad7876c428d28091ad86859e445e0c3bb · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""POSITRON p100 (ANTIPODE-26): independent second computation for Z=100; see positron_core.py and electron/GRID.md."""
from positron_core import run_element
EVIDENCE = ["build_graph.json:edges", "build_graph.json:files[]", "electron/GRID.md"]
def run(ctx, xp):
return run_element(100, ctx, xp)P101
A Python module in the positron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/positron/p101.py · lines 1–8 of 8 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines run.
- What it achieves
- POSITRON p101 (ANTIPODE-26): independent second computation for Z=101; see `positron_core.py` and `electron/GRID.md`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/positron · Python module
- Uses
- Positron Core (import)
- Used by
- none found
- Produces
- run
- Defines here
- run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/positron/p101.py:1-8 · blob ca467c4913e8b6c37e7d29c2080ec0fcd9460495 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""POSITRON p101 (ANTIPODE-26): independent second computation for Z=101; see positron_core.py and electron/GRID.md."""
from positron_core import run_element
EVIDENCE = ["build_graph.json:edges", "build_graph.json:files[]", "electron/GRID.md"]
def run(ctx, xp):
return run_element(101, ctx, xp)P102
A Python module in the positron folder of Cosmic. It is built from the run step (`run`).
transformcosmic / tools/explore/periodic/furnace/positron/p102.py · lines 1–8 of 8 · Not reached from any entry point (candidate for review)
- What it does
- It calculates its inputs. Defines run.
- What it achieves
- POSITRON p102 (ANTIPODE-26): independent second computation for Z=102; see `positron_core.py` and `electron/GRID.md`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- cosmic · tools/explore/periodic/furnace/positron · Python module
- Uses
- Positron Core (import)
- Used by
- none found
- Produces
- run
- Defines here
- run
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- cosmic@51bebf892d63a617408bc5e25b270b9f893e9c03 tools/explore/periodic/furnace/positron/p102.py:1-8 · blob b25b5d2f60341d73530b4392d58ab8c2e9b51c89 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: unknown · users: none · canonical: unreached_review
"""POSITRON p102 (ANTIPODE-26): independent second computation for Z=102; see positron_core.py and electron/GRID.md."""
from positron_core import run_element
EVIDENCE = ["build_graph.json:edges", "build_graph.json:files[]", "electron/GRID.md"]
def run(ctx, xp):
return run_element(102, ctx, xp)