Skip to content

Use case: does this variety fit the product profile? - #22

Open
kauedesousa wants to merge 9 commits into
mainfrom
claude-kauedesousa
Open

kauedesousa wants to merge 9 commits into
mainfrom
claude-kauedesousa

Conversation

@kauedesousa

Copy link
Copy Markdown
Member

New use case does this variety fit the product profile? and decision record decisions/product-profile.md.

It takes a tricot trial from rankings to a selection decision against a GloMIP target product profile, in four steps.

  1. Beat the check, gosset::reliability() per season and pooled.
  2. What drives choice, gosset::kendallTau() with overall preference.
  3. Does it hold, a Plackett-Luce tree on season, rainfall and temperature, plus prespecified groups.
  4. Gate on essential traits, then two indices, profile weights and farmer weights.

Worked example on the TARI groundnut trials in Tanzania (2023-24 and 2024-25, tricot-data), GloMIP TPP00413, TPP00414 and TPP00420, CHIRPS v3 and CHIRTS-ERA5 from the maniva environmental data server.

The numbers in the README come from the Python reference in script/other-language/. tests/test-open-data.R runs script/02-groundnut-tanzania.R in CI and checks that R reproduces the Python point estimates within 0.005. The tree result exists only in R (output/groundnut-tanzania-R/tree.txt in the CI artifact).

Built for the tricot training session "From results to decisions".


Generated by Claude Code

From rankings to a selection decision against GloMIP target product
profiles. Reliability against the check per trait, Kendall tau with
overall preference, a Plackett-Luce tree on season and climate, a gate on
essential traits and two indices (profile and farmer weights).

Worked example on the TARI groundnut trials in Tanzania (2023-24 and
2024-25) with GloMIP TPP00413, TPP00414 and TPP00420, CHIRPS and
CHIRTS-ERA5. New decision record decisions/product-profile.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpE9sW9rksjeynKtQoA5yH
Larger fonts and clearer legends in the Python reference figures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpE9sW9rksjeynKtQoA5yH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpE9sW9rksjeynKtQoA5yH
Region of each site from the 2024-25 record or the nearest recorded site,
zones as TARI groups regions. The tree and prespecified groups use season
and zone instead of rainfall and temperature. The gate gives no verdict
to entries that fewer than 50 farmers ranked for an essential trait.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpE9sW9rksjeynKtQoA5yH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpE9sW9rksjeynKtQoA5yH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpE9sW9rksjeynKtQoA5yH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpE9sW9rksjeynKtQoA5yH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpE9sW9rksjeynKtQoA5yH
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