Skip to content

BEAST3 gold standard migration#3

Open
alexeid wants to merge 4 commits intomasterfrom
beast3
Open

BEAST3 gold standard migration#3
alexeid wants to merge 4 commits intomasterfrom
beast3

Conversation

@alexeid
Copy link
Copy Markdown
Collaborator

@alexeid alexeid commented Apr 1, 2026

Summary

  • Restructures bdtree as a single-module Maven project targeting BEAST 3 / JPMS (Java 25)
  • Source code already uses beast3 spec types (RealScalarParam with PositiveReal, UnitInterval, NonNegativeReal domains)
  • FXTemplate migrated from parameter.RealParameter to spec RealScalarParam, spec Exponential distributions (no Prior wrapper), and spec ScaleOperator
  • Adds ci-publish.yml (CI + Maven Central publish on v* tag), release.sh, and LGPL 3.0 LICENSE
  • Full Maven Central metadata: io.github.compevol:bdtree, release profile with GPG signing and central-publishing-maven-plugin
  • 1/1 JUnit 5 test passes

Reviewers

@Rong419 @fkmendes

Test plan

  • mvn verify passes (1/1 test)
  • Package ZIP builds correctly via mvn package
  • Verify BEAUti BDSS template loads correctly in BEAST 3

🤖 Generated with Claude Code

alexeid and others added 4 commits March 20, 2026 14:04
- git mv source to beast-bdtree/src/main/java (Maven standard layout)
- Add Maven POMs with beast3 dependencies
- Only depends on beast-base
- Remove Ant build files
Flatten from multi-module (beast-bdtree child) to single-module project
following the morph-models convention. Rename artifact to bdtree, switch
to beast-base 2.8.0-beta2 from Maven Central, add JPMS module-info and
assembly descriptor.

Migrate BirthDeathSequentialSampling and BirthDeathSerialSamplingTree
inputs from RealParameter to RealScalar spec types. Migrate test to
JUnit 5 with RealScalarParam.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
BDSSLikelihood.xml and BDSSTreeSimulator.xml now use RealScalarParam
instead of RealParameter, and target BEAST v2.8.0. Shankarappa.xml
has many old-type references beyond BDSS so moved to legacy-2.7/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…emplate

Add ci-publish.yml (CI on push/PR, Maven Central publish on v* tag),
release.sh for BEAST package ZIP builds, and LGPL 3.0 LICENSE file.
Migrate BDSS.xml FXTemplate from beast2 parameter.RealParameter to
beast3 spec types (RealScalarParam with domains), spec distributions
(Exponential with param), and spec ScaleOperator for parameter operators.
@alexeid alexeid requested a review from Rong419 April 7, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant