usergraphtheory's picture
Sync from erdostack/bench at a7805c45d77258d316383c92bdc9f472498d255f (part 48)
187416f verified
|
Raw History Blame Contribute Delete
573 Bytes
# programme-graph
The conference programme as a graph, used by the schedule site and the room-planning scripts.
`python -m conf.build cms_dump.json` turns a dump of the conference CMS into `data/programme.json`. Only the programme committee can download CMS dumps (they contain speakers' contact details), so neither the dump nor `data/` is committed; the schedule site's build makes its own.
- `conf/build.py`: builds and writes the graph
- `conf/graph.py`: `load()` reads it back as a `networkx.DiGraph`
- `tests/test_build.py`: `python -m unittest discover -s tests`