Skip to main content

bolero-denmark

The canonical Danish literature and schema resource root for Bolero. The GitHub repository preserves curated agent context plus legally redistributable source snapshots; the data-only PyPI distribution carries the curated text, catalogs, and templates while .gitattributes excludes bulk originals/ from the wheel.

Use

pip install bolero-ai bolero-denmark
bolero-harness denmark            # unpack this repository's runtime resources
bolero-harness denmark DIR --force

bolero-harness denmark (bolero-ai >= 0.1.8.post3) uses the same hardened tar extraction as the harness source tree. Without bolero-ai:

python3 -c "import bolero_denmark, tarfile; tarfile.open(bolero_denmark.archive_path()).extractall('.', filter='data')"

The package archive is produced with git archive HEAD. Paths marked export-ignore are therefore available in GitHub clones but not the PyPI payload. The DST_agentic_ext/ submodule is also not embedded. To populate it in a checkout with upstream access:

git clone --recurse-submodules https://github.com/Northwestern-CSSI/Bolero-denmark.git
# or: git submodule update --init

What is inside

resources/
  literature/             economics and medical disciplinary norms, catalogs,
                          reusable templates, target-paper source material,
                          9 paper Markdown conversions, and the systematic
                          Danish-register economics extraction corpus
  schema/                 agent-facing FSV/TIMES and lean HKV documentation,
                          normalized pilot inventory, approved-upload-list evidence,
                          official DST/SDS documents, SKS/LPR material, and
                          pinned parsed Danish/English/mapping source archives
replication/              registered replication decks for Jensen–Zhang,
                          Eriksen–Munk, and Mikkelsen et al.
preregistration/          frozen study protocols, transcribed decks, and complete
                          outcome-blind lane plans with their reviewer verdicts
DST_agentic_ext/          pinned private collaboration submodule; pointer only
tools/prereg-lane/        two debates + Transcriber, native prereg World output

Start with resources/README.md. The Chinese classification and synthesis is resources/RESOURCE_CLASSIFICATION.zh.md.

The seven current execution bundles are indexed in preregistration/releases/v0.2.1/README.md. Each has a complete results-unfilled paper with in-place figure slots, prepared tables, supplementary scientific material, editable LaTeX and a compiled PDF. The earlier v0.2.0 collection remains unchanged for reproducibility.

With Bolero 0.2.3 or newer, extract a finished bundle directly into a new session so that it contains world_model/{atoms,molecules,docs,README.md}. From the initialized project, launch with:

bash run-research.sh campaign.mode=prereg hydra.run.dir="$PWD/outputs/my-study"

Here the bundle is already at outputs/my-study/world_model/ and campaign.prereg_world=null (the default). The Harness validates and adopts the World in place without rewriting or copying it. Use campaign.mode=replica for a replication package. An external source may still be copied through campaign.prereg_world=<external/world_model> into an absent target. Do not nest two world_model/ directories, combine two sources, or overwrite an initialized session; use bolero-harness research -r <session> to resume. Configure governed resources, model and runtime as usual. The existing seven bundle ZIPs are unchanged; no retranscription is needed for in-place adoption. Only Atom/Molecule format and their graph gate Harness startup. Docs, README, PDFs, LaTeX, templates, manifests, checksums and review status remain useful producer deliverables, not required launch files. The same applies to dispatch, replay and completion reporting; order comes from Molecule membership. Preserve useful existing supporting materials generously under classified docs/ directories. The documented supporting filenames are recommendations; unavailable files may be omitted or empty without preventing execution.

The standalone preregistration lane lives in tools/prereg-lane/. It gives every role a small, stage-specific evidence bundle and exposes this repository's literature, concept graph, schema, economics, medical, and package conventions through narrow skills. It runs locally with a shared workspace and unrestricted live search; it does not depend on the Bolero harness or confidential data runtime. Its accepted artifact is a closed ex-ante epistemic graph: possible experiment results update claims and conditionally activate later experiments or terminal interpretation branches before outcome data are seen.

The schema scale currently represented by the curated layer is 531 FSV registers (29,234 variables), 121 TIMES top-level registers (9,843 documented variable occurrences), and a lean HKV index covering 71 datasets and 881 variables. The literature layer includes 828 systematic economics corpus rows, 229 confirmed papers, structured extraction/audit records, eight target/pilot papers in nine Markdown versions, and economics and medical standards with source-level rights/provenance decisions.

Source preservation versus runtime payload

  • Exact public or licensed originals are retained under resources/**/originals/ and bound by SHA-256. The Mikkelsen target originals live in resources/literature/medical/target/. These files remain in GitHub but are excluded from git archive so the runtime wheel stays focused and does not duplicate large provenance archives.
  • Copyrighted sources without confirmed redistribution rights are represented by canonical citation, URL, rights status, and an original project summary; their PDFs are not copied.
  • The expanded raw registry metadata layer (~876 MB) is preserved through the archived parsed Danish, unofficial-English, FSV, and mapping releases. The included generators deterministically rebuild the curated FSV, TIMES, and lean HKV views from a documented assembled source layout; the upstream crawl itself is not duplicated here.
  • No row-level registry microdata is present. Public names, register codes, variable descriptions, and documentation URLs are schema, not observations.
  • Private Slack/email transcripts and operational credentials are not packaged. Scientific conclusions derived from project coordination are rewritten as public, auditable summaries.

Resource semantics

literature/ answers “what makes this analysis scientifically defensible?” schema/ answers “what does this data source mean, and what evidence supports its availability?” A pilot-sheet listing, public codebook, grant approval, runtime mount, and validated table are distinct evidence states. See resources/schema/README.md.

Replication decks cite resources relative to the mounted resources/ root: for example literature/papers/md/... and schema/data-registry-bolero/fsv/.... Their registered scientific protocol is fixed; only equivalent data operationalization may adapt silently.

Licensing and provenance

The project license expression is MIT AND LicenseRef-Corpus-Rights. MIT covers the packaging and project-authored material. NOTICE.md identifies the rights of every corpus class. Each discipline catalog records source URLs, licenses, and whether an exact file was archived or kept link-only. Checksums are in:

  • resources/literature/CHECKSUMS.sha256
  • resources/schema/provenance/CHECKSUMS.sha256

Official Danish source content is authoritative relative to the English translation. Parsed snapshots can be stale or erroneous; English schema text is explicitly an unofficial machine translation for retrieval.

Release

.github/workflows/release.yml builds from a tag and publishes three matching artifacts: a GitHub Release, the data-only Python package on PyPI, and a data-only image at docker.io/erzhuoshao/bolero-denmark. The Docker image is built FROM scratch: it contains no OS, Python, command, or third-party dependency. Its release tree is rooted at /opt/bolero-denmark/.

The image is intended as a transport or multi-stage-build source, not as a runnable container. For example:

FROM docker.io/erzhuoshao/bolero-denmark:0.1.0.post8 AS bolero_denmark
FROM scratch
COPY --from=bolero_denmark /opt/bolero-denmark/resources/ /resources/

Docker Hub publishing needs one repository Actions secret, DOCKERHUB_TOKEN, containing a write-scoped Docker Hub personal access token. The Docker Hub username is fixed in the workflow. Each release publishes the vVERSION, VERSION, and latest image tags. The Git tag must equal v plus the version in pyproject.toml.

# bump version in pyproject.toml, commit, then:
git tag v0.1.0.post8 && git push origin main v0.1.0.post8

packaging/build-release.sh performs the same local build. No release is made merely by updating main.

Metadata

Release files for bolero-denmark 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bolero-denmark 0.2.3
File Size Uploaded Provenance Actions
bolero_denmark-0.2.3.tar.gz 68.0 MB With provenance Details for bolero_denmark-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bolero-denmark 0.2.3
File Interpreter ABI Platform Actions
bolero_denmark-0.2.3-py3-none-any.whl Python 3 none any Details for bolero_denmark-0.2.3-py3-none-any.whl

Total release size: 136.0 MB

Release files / bolero_denmark-0.2.3.tar.gz

Download URL bolero_denmark-0.2.3.tar.gz
Size 68.0 MB
Tags Source
SHA-256 checksum
How to use checksums
f54845a47daac4a02ad6cb0dc8a86d3e7115a5f13dc52abd82a356739ccc28a0
BLAKE2b-256 checksum
How to use checksums
d6a14a4a1b6d04c92549b3bad43be41399f422da011ad464ad596024ff86b7b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Release files / bolero_denmark-0.2.3-py3-none-any.whl

Download URL bolero_denmark-0.2.3-py3-none-any.whl
Size 68.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1d5b52f6a637a9ebd176cc542462a93cf3130a0eecafe159ddc0e863fea7628a
BLAKE2b-256 checksum
How to use checksums
b18658d5fa6db751beb377afcc000f933b977a824dc4fa57b713c3a3d3538504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Security for bolero-denmark 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bolero_denmark-0.2.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page