Skip to content

fix: regenerate FONcpp reference CSVs missed by #404#405

Open
Lgz-tud wants to merge 1 commit into
pymanga:masterfrom
Lgz-tud:fix/jabowa-foncpp-reference
Open

fix: regenerate FONcpp reference CSVs missed by #404#405
Lgz-tud wants to merge 1 commit into
pymanga:masterfrom
Lgz-tud:fix/jabowa-foncpp-reference

Conversation

@Lgz-tud

@Lgz-tud Lgz-tud commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

What

Regenerate the three reference CSVs for the Jabowa + FONcpp benchmarks:

  • Benchmarks/ModuleBenchmarks/PlantModules/Jabowa/Belowground/FON/ReferenceFiles/FONcpp_CI/Population_t_0002000000.0.csv
  • Benchmarks/ModuleBenchmarks/PlantModules/Jabowa/Belowground/FON/ReferenceFiles/FONcpp/Population_t_0002000000.0.csv
  • Benchmarks/ModuleBenchmarks/PlantModules/Jabowa/Belowground/FON/ReferenceFiles/FONcpp/Population_t_0500000000.0.csv

Why

#404 changed Jabowa.self.grow to cm/step and regenerated reference CSVs for 11 Jabowa benchmarks, but missed the FONcpp / FONcpp_CI references introduced by #400. master CI has been failing on these two benchmarks since #404 was merged — only the growth column mismatched (cm/yr in the reference, cm/step in the simulation).

#404 was branched off master before #400 merged, so its head's BenchmarkList.xml did not yet register FONcpp_CI. PR-level CI (pull_request trigger) therefore never ran the FONcpp benchmarks, and the mismatch only surfaced once both PRs landed on master.

PR pymanga#404 changed Jabowa.self.grow to cm/step and regenerated 11 Jabowa
benchmark references, but missed the FONcpp/FONcpp_CI ones introduced
by PR pymanga#400. master CI has been failing on these two since the merges
(see GitHub Actions run 27071948305).

Why the gap: PR pymanga#404 was branched off master before PR pymanga#400 merged, so
its own CI never included the FONcpp benchmarks (they were registered
in BenchmarkList.xml only after PR pymanga#400 landed). The mismatch only
surfaced once both PRs were merged on master.

Only the `growth` column changes (cm/yr -> cm/step); all other fields
(r_stem, height, x, y, ag_factor, bg_factor) are bit-for-bit identical.
Verified locally with `pytest Benchmarks/test_Benchmarks_CI.py`:
56 subtests passed.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Regenerates the Jabowa + FONcpp/FONcpp_CI benchmark reference CSVs so the growth column matches the post-#404 convention (cm/step), unblocking CI failures on the C++-backend FON benchmarks.

Changes:

  • Updated growth values in FONcpp and FONcpp_CI reference population CSVs at the affected timestamps.
  • Aligns FONcpp/FONcpp_CI reference outputs with the already-correct per-step convention used by the simulation output on master.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
Benchmarks/ModuleBenchmarks/PlantModules/Jabowa/Belowground/FON/ReferenceFiles/FONcpp/Population_t_0002000000.0.csv Regenerated reference values (notably growth) to match cm/step.
Benchmarks/ModuleBenchmarks/PlantModules/Jabowa/Belowground/FON/ReferenceFiles/FONcpp/Population_t_0500000000.0.csv Regenerated reference values (notably growth) to match cm/step.
Benchmarks/ModuleBenchmarks/PlantModules/Jabowa/Belowground/FON/ReferenceFiles/FONcpp_CI/Population_t_0002000000.0.csv Regenerated CI reference values (notably growth) to match cm/step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants