Skip to content

Adapt test_jittability to renamed ttsim target raw_results.columns_with_internal_p_ids#1196

Merged
MImmesberger merged 3 commits into
mainfrom
rename-raw-results-target
Jun 7, 2026
Merged

Adapt test_jittability to renamed ttsim target raw_results.columns_with_internal_p_ids#1196
MImmesberger merged 3 commits into
mainfrom
rename-raw-results-target

Conversation

@MImmesberger
Copy link
Copy Markdown
Member

@MImmesberger MImmesberger commented Jun 6, 2026

…th_internal_p_ids

ttsim-dev/ttsim#131 splits raw_results.columns into
columns_with_internal_p_ids / columns_with_original_p_ids. The former is
computable from processed_data alone again, which is what this test
relies on (see ttsim-dev/ttsim#130 for the breakage in 1.2.2.dev11).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented Jun 6, 2026

Documentation build overview

📚 gettsim | 🛠️ Build #33026466 | 📁 Comparing f0a16bf against latest (019027a)

  🔍 Preview build  

2 files changed
± how_to_guides/modifications_of_policy_environments.html
± tutorials/visualizing_the_system.html

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@MImmesberger
Copy link
Copy Markdown
Member Author

TODO: SWITCH TO TTSIM MAIN BEFORE MERGING (maybe capslock works 😄)

@MImmesberger MImmesberger marked this pull request as ready for review June 6, 2026 22:46
@MImmesberger MImmesberger requested a review from hmgaudecker June 6, 2026 22:47
@hmgaudecker
Copy link
Copy Markdown
Collaborator

TODO: SWITCH TO TTSIM MAIN BEFORE MERGING (maybe capslock works 😄)

I'll just wait with the approval 😜

MImmesberger added a commit to ttsim-dev/ttsim that referenced this pull request Jun 7, 2026
…with_original_p_ids (#131)

Closes #130.

- Split `raw_results.columns` into
`raw_results.columns_with_internal_p_ids` (computable from
`processed_data` alone, endogenous `p_id_*` columns hold internal
indices) and `raw_results.columns_with_original_p_ids` (the
reverse-translation from #108, consumed by `results.tree`, so all
`results.*` outputs keep returning user-space `p_id`s).
- Both nodes are exposed via `MainTarget` and the `RawResults` main arg.
- New `src_mettsim/tests_middle_earth/test_jittability.py` exercises the
`processed_data`-only path over all mettsim column functions.
- Breaking: the target `raw_results.columns` no longer exists;
downstream switches to `columns_with_internal_p_ids`
(ttsim-dev/gettsim#1196).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Hans-Martin von Gaudecker <hmgaudecker@gmail.com>
Copy link
Copy Markdown
Collaborator

@hmgaudecker hmgaudecker left a comment

Choose a reason for hiding this comment

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

Thanks!

@MImmesberger MImmesberger merged commit 4c4de10 into main Jun 7, 2026
14 checks passed
@MImmesberger MImmesberger deleted the rename-raw-results-target branch June 7, 2026 14:32
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