File size: 2,788 Bytes
80cd0c2 7b22cb2 80cd0c2 d7b169c f148a79 80cd0c2 d7b169c f148a79 80cd0c2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | This directory contains a derived circuit-figure dataset built from the source archives in [SchemSourceAvailable](/workspace/SchemID/SchemSourceAvailable).
Source structure:
- `DCsrc.tar.gz`, `ACsrc.tar.gz`, `SEMIsrc.tar.gz`, `DIGIsrc.tar.gz`, `REFsrc.tar.gz`, and `EXPsrc.tar.gz` are SubML chapter trees plus standalone EPS figure sources.
- In those six volumes, `.sml` files reference figures, but the actual circuit-generation code is the EPS itself. The bundled `liechtml.tar.gz` provides archived PNG renders used here for exact pixel verification.
- `sinst.tar.gz` contains both a worksheet system and a separate `book/` textbook source tree. The relevant textbook source is `book/liii_2v16.latex`, which references external EPS figures with `\includegraphics{...}`.
Important version note:
- [LessonsInIndustrialInstrumentation.pdf](/workspace/SchemID/SchemSourceAvailable/LessonsInIndustrialInstrumentation.pdf) reports version `2.33` created on October 9, 2024.
- The bundled textbook source in `sinst/book` only goes up to `liii_2v16.latex` released January 1, 2016.
- Verification for the industrial-instrumentation rows therefore uses the external version-matched `liii_2v16.pdf` from ibiblio rather than the bundled `2.33` PDF.
Outputs:
- [sheets](/workspace/SchemID/derived/Source/sheets) contains high-resolution PNG visualization sheets with multiple rendered circuits per page.
- [sheets/sheet_manifest.csv](/workspace/SchemID/derived/Source/sheets/sheet_manifest.csv) lists the generated sheet pages and the figures included in each one.
- [sheets/all_visualization_sheets.pdf](/workspace/SchemID/derived/Source/sheets/all_visualization_sheets.pdf) is the full combined PDF of all sheet pages.
- [circuit_generation_code](/workspace/SchemID/derived/Source/circuit_generation_code) contains the extracted EPS code used to generate circuit diagrams.
- [rendered](/workspace/SchemID/derived/Source/rendered) contains regenerated PNGs and no-text PNGs.
- [metadata](/workspace/SchemID/derived/Source/metadata) contains structure and verification manifests.
- [circuits.parquet](/workspace/SchemID/derived/Source/circuits.parquet) is the parquet export.
- [hf_dataset](/workspace/SchemID/derived/Source/hf_dataset) is the saved Hugging Face `datasets` export with image columns.
Build command:
```bash
python3 /workspace/SchemID/derived/Source/scripts/build_circuit_dataset.py --repo-root /workspace/SchemID
```
Sheet build command:
```bash
python3 /workspace/SchemID/derived/Source/scripts/generate_visual_sheets.py
```
Combined PDF command:
```bash
python3 /workspace/SchemID/derived/Source/scripts/build_sheet_pdf.py
```
Upload command:
```bash
python3 /workspace/SchemID/derived/Source/scripts/build_circuit_dataset.py --repo-root /workspace/SchemID --upload
```
|