Add v0.1 runs: 114 trials, 18 tasks, 5 models (part 11)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+1
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/agent/sessions/projects/-workspace-testbed/822d291a-40c4-4d0c-8223-bfb2544657f2.jsonlAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/agent/sessions/projects/-workspace-testbed/822d291a-40c4-4d0c-8223-bfb2544657f2/tool-results/b7e71dwd4.txtAdded+636
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/agent/sessions/projects/-workspace-testbed/822d291a-40c4-4d0c-8223-bfb2544657f2/tool-results/bf6hpfdxz.txtAdded+638
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/agent/trajectory.jsonAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/artifacts/manifest.jsonAdded+35
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/artifacts/workspace/testbed.tar.gzAdded+3
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/config.jsonAdded+134
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/lock.jsonAdded+153
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/result.jsonAdded+240
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/trial.logAdded+23
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/build-facts/exit.txtAdded+1
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/build-facts/gradle.txtAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/build-facts/merged-manifest.xmlAdded+191
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/build-facts/plan.jsonAdded+1
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/code_quality.jsonAdded+5
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/detailed_scores.jsonAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/evaluator.logAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/prelude-wrapper.txtAdded+2
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/reward.txtAdded+1
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/test-stdout.txtAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/validate_results.txtAdded+555
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/medicine_page.a11y.jsonAdded+27
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/medicine_page.pngAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/overview_future_day.a11y.jsonAdded+45
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/overview_future_day.pngAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/stock_settings.a11y.jsonAdded+23
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/stock_settings.pngAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual_score.jsonAdded+29
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/claude-code.txtAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/.claude.jsonAdded+24
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/.last-cleanupAdded+1
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/backups/.claude.json.backup.1794970958931Added+4
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/d61eeae4-96fd-44ee-9c67-56cfc7f3f89d.jsonlAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/d61eeae4-96fd-44ee-9c67-56cfc7f3f89d/tool-results/b0jse2500.txtAdded+468
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/d61eeae4-96fd-44ee-9c67-56cfc7f3f89d/tool-results/bj5171ta6.txtAdded+486
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/d61eeae4-96fd-44ee-9c67-56cfc7f3f89d/tool-results/brbcx1xw7.txtAdded+521
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/memory/MEMORY.mdAdded+1
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/memory/offline-build-environment.mdAdded+17
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/trajectory.jsonAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/artifacts/manifest.jsonAdded+35
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/artifacts/workspace/testbed.tar.gzAdded+3
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/config.jsonAdded+134
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/lock.jsonAdded+153
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/result.jsonAdded+240
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/trial.logAdded+23
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/verifier/build-facts/exit.txtAdded+1
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/verifier/build-facts/gradle.txtAdded
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/verifier/build-facts/merged-manifest.xmlAdded+191
- submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/verifier/build-facts/plan.jsonAdded+1
61 unmodified lines62636461 unmodified linessubmissions/v0.1/claude-code__claude-opus-5-5/candidate-fill-opus55-max-2x-20261102__70520ea3/feature-ankidroid-hierarchical-tags-dialog__6ca48fc1/verifier/test-stdout.txt filter=lfs diff=lfs merge=lfs -textsubmissions/v0.1/claude-code__claude-opus-5-5/candidate-fill-opus55-max-2x-20261102__70520ea3/feature-ankidroid-hierarchical-tags-dialog__dae1bb40/verifier/evaluator.log filter=lfs diff=lfs merge=lfs -textsubmissions/v0.1/claude-code__claude-opus-5-5/candidate-fill-opus55-max-2x-20261102__70520ea3/feature-ankidroid-hierarchical-tags-dialog__dae1bb40/verifier/test-stdout.txt filter=lfs diff=lfs merge=lfs -text61 unmodified lines6263646561 unmodified linessubmissions/v0.1/claude-code__claude-opus-5-5/candidate-fill-opus55-max-2x-20261102__70520ea3/feature-ankidroid-hierarchical-tags-dialog__6ca48fc1/verifier/test-stdout.txt filter=lfs diff=lfs merge=lfs -textsubmissions/v0.1/claude-code__claude-opus-5-5/candidate-fill-opus55-max-2x-20261102__70520ea3/feature-ankidroid-hierarchical-tags-dialog__dae1bb40/verifier/evaluator.log filter=lfs diff=lfs merge=lfs -textsubmissions/v0.1/claude-code__claude-opus-5-5/candidate-fill-opus55-max-2x-20261102__70520ea3/feature-ankidroid-hierarchical-tags-dialog__dae1bb40/verifier/test-stdout.txt filter=lfs diff=lfs merge=lfs -textsubmissions/v0.1/claude-code__claude-opus-5-5/hard-l1l2-opus55-max-1x-20261102-ankidroid-cgeo-collect__bc7b8c21/feature-ankidroid-hierarchical-tags-dialog__6e090550/verifier/evaluator.log filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636# Coding Guidelines — Jetpack Compose
**Audience:** all contributors. **Status:** Compose is the standard for new UI in medTimer and is in use: `buildFeatures.compose = true`, `MedTimerTheme` and shared composables such as `SortableTable` in `:core:ui`, and Compose screens such as the Overview and Statistics. The conventions below are live rules for every Compose change and for the migration of the remaining XML screens.
For the general Kotlin/Android conventions Compose code must also obey, see [kotlin-android.md](kotlin-android.md); fortesting, see [testing.md](testing.md).
## Adoption strategy — per-screen migration via `ComposeView`
medTimer today is built on Fragments + XML layouts + the Navigation component. Compose lands incrementally:
- **New screens are pure Compose**, hosted in a Fragment via `ComposeView` (`setContent { … }`). The Navigation graph keeps routing; only the Fragment's view is Compose.- **Existing screens are not rewritten** unless the change requires it (substantial feature work on that screen). Don't bundle "while we're here, port to Compose" into an unrelated PR.- **Keep the Navigation component**, not `navigation-compose`, while both worlds coexist. Introducing `navigation-compose` would mean running two routing systems in parallel — defer that decision until most screens are Compose.
## Stack
When Compose lands, the stack will be:
- **Compose BOM** (latest stable) — pin every Compose artifact through the BOM in `gradle/libs.versions.toml`; never mix BOM-managed and hand-pinned Compose versions.- **Material 3 Expressive** — the design system. Delivered via `androidx.compose.material3:material3` (the Expressive components and `MaterialExpressiveTheme` ship in the same artifact). `MedTimerTheme` wraps `MaterialExpressiveTheme`, not the classic `MaterialTheme`. Do not pull in Material 2 alongside it.- **Hilt + Compose** (`androidx.hilt:hilt-navigation-compose`) — obtain ViewModels via `hiltViewModel()`.- **Lifecycle Compose** (`androidx.lifecycle:lifecycle-runtime-compose`) — for `collectAsStateWithLifecycle()`. Reserved for the few `StateFlow` / `Flow` sources you still consume from a composable (see [State holders](#state-holders)); the default state-holder pattern doesn't need it.- **kotlinx-collections-immutable** (`org.jetbrains.kotlinx:kotlinx-collections-immutable`) — required. State-holder list properties are `ImmutableList` / `PersistentList`, not `List`, so Compose treats them as stable and can skip recomposition.- **Compose Compiler** — Kotlin Compose Compiler plugin (Kotlin 2.x), enabled per module. Strong-skipping mode is on by default.
## Module placement
Compose theme and reusable composables live in **`:core:ui`** — the same module that already holds shared XML resources.
- `MedTimerTheme` (Material 3 Expressive colors, typography, shapes, and motion), reusable design-system composables (buttons, cards, dialogs, etc.), and `@Preview`-friendly sample data go in `:core:ui`.- Feature-specific composables (screens, screen-specific components) stay in the relevant `:feature:*` module.- Do not create `:core:designsystem` as a separate module until `:core:ui` is genuinely overloaded; one shared UI module is enough at the current size.
## Composable conventions
FollowCompose's [API guidelines for Jetpack Compose-based libraries](https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-api-guidelines.md)and the [Compose architecture guide](https://developer.android.com/develop/ui/compose/architecture).
- **Composable functions are `PascalCase` and return `Unit`.** A function returning a value should not be `@Composable`.- **Function names describe what the UI is**, not what it does: `MedicineCard`, not `ShowMedicine`.- **Modifier is the first optional parameter**, defaults to `Modifier`, and is passed through. Modifier order is significant — don't reorder modifiers without understanding the effect.- **No side effects in the composable body.** Don't call suspend functions, launch coroutines, register observers, or mutate external state directly from the body — use the Effect APIs (next section).- **Hoist state.** Leaf composables are stateless: they take state in via parameters and report events via lambdas. Stateful wrappers live one level up.
## Screen pattern
Stateful `Screen` + stateless `Screen` (overloaded)
Every screen is split into two overloads of the same name, disambiguated by their parameter sets:
```kotlin// Stateful overload: pulls state from the ViewModel; the Fragment calls this one.@Composablefun OverviewScreen( viewModel: OverviewViewModel, onEditEvent: (Int) -> Unit, modifier: Modifier = Modifier,) { // Collect any non-snapshot sources (e.g. a secondary ViewModel's Flow) here with produceState. OverviewScreen( state = viewModel.state, onMarkTaken = viewModel::onMarkTaken, onSnooze = viewModel::onSnooze, onEditEvent = onEditEvent, modifier = modifier, )}
// Stateless overload: pure function of its inputs — the @Preview and test target.@Composablefun OverviewScreen( state: OverviewScreenState, onMarkTaken: (ReminderId) -> Unit, onSnooze: (ReminderId) -> Unit, onEditEvent: (Int) -> Unit, modifier: Modifier = Modifier,) { /* … */}```
- **Both overloads share the same name.** The Kotlin compiler distinguishes them by parameter types; callers pass either a ViewModel (stateful) or a state object (stateless/preview).- **`@Preview` and tests target the stateless overload** — construct a `MutableOverviewScreenState` and pass it as `OverviewScreenState`.- **The stateful overload is the only place ViewModel references live.** Don't reach for a ViewModel from a leaf composable.- The stateless overload must not import the ViewModel type.- `state` is the screen's state-holder interface ([next section](#state-holders)); the composable reads its properties directly. No `collectAsStateWithLifecycle()` is needed — Compose snapshot state is already reactive.- When the stateful overload needs additional data from a secondary source (e.g. a second ViewModel's `Flow`), collect it with `produceState` at the top of the stateful overload and pass the resulting value as a parameter to the stateless overload.
## State holders
medTimer's default state pattern for Compose screens is a **state-holder pair**: an immutable interface that the UIsees, and a mutable implementation that the ViewModel writes to. This replaces the more common `StateFlow<UiState>` +`collectAsStateWithLifecycle()` pattern as the default; see [When to use`StateFlow` instead](#when-to-use-stateflow-instead) below for the exceptions.
### The pattern
```kotlin// 1. Read-only interface — the UI's contract.interface OverviewScreenState { val isInSelectionMode: Boolean val isLoading: Boolean val reminders: ImmutableList<ReminderItem>
// Derived values are part of the contract. val selectedReminders: ImmutableList<ReminderItem>}
// 2. Mutable implementation — owned by the ViewModel.class MutableOverviewScreenState : OverviewScreenState { override var isInSelectionMode by mutableStateOf(false) override var isLoading by mutableStateOf(false) override var reminders by mutableStateOf(persistentListOf<ReminderItem>())
override val selectedReminders by derivedStateOf { reminders.filter { it.isSelected }.toImmutableList() }
// Internal state (e.g. debounce buffers) lives here but stays off the interface. var debouncedSearchText by mutableStateOf("")}
// 3. ViewModel exposes the interface; keeps the mutable instance private.@HiltViewModelclass OverviewViewModel @Inject constructor( remindersRepository: RemindersRepository,) : ViewModel() {
private val _state = MutableOverviewScreenState() val state: OverviewScreenState get() = _state
init { remindersRepository.observeAll() .onEach { _state.reminders = it.toPersistentList() } .launchIn(viewModelScope) }
fun onMarkTaken(id: ReminderId) { /* updates _state */ } fun onSnooze(id: ReminderId) { /* updates _state */ }}```
### Rules
- **Name the pair `XxxScreenState` (interface) + `MutableXxxScreenState` (class).** One pair per screen, colocated with the `XxxScreen` composable and its `ViewModel`.- **Every interface property has a `val`-shaped contract** even when the implementation is `var` — the UI must not be able to mutate state.- **List/collection properties are `ImmutableList` / `PersistentList`** (from `kotlinx.collections.immutable`), not `List`. This is what makes the state holder a stable parameter; without it, Compose can't skip recomposition.- **Derived values use `by derivedStateOf { … }`** in the mutable class and surface as `val` on the interface. This is the analog of a `combine`d `StateFlow` — only recomputes when its inputs change, and only triggers recomposition for readers when the derived value actually changes.- **Mutate from the ViewModel only.** Composables read `state.*`; they never write. All writes go through ViewModel methods (`onMarkTaken`, `enterSelectionMode`, …) that touch `_state.*`.- **Internal-only fields stay off the interface.** Debounce buffers, scratch state, and other implementation details live on the `Mutable…ScreenState` class but are not in the interface — the UI never sees them.- **Compose nested state holders.** When a sub-feature has its own state surface (a filter bar, a multi-select tracker), give it its own `XxxState` / `MutableXxxState` pair and expose the interface as a property on the parent state. Hierarchical state holders keep each layer testable on its own.- **The ViewModel does not expose a `StateFlow` of the screen state.** Repository `Flow`s are collected inside the ViewModel and written into `_state.*`; the screen reads `state.*` directly.
### Why this pattern (vs. `StateFlow<UiState>`)
- Granular recomposition: only the composables that read a specific property recompose when it changes, instead of every reader of a `UiState` data class.- No allocation of a new immutable `UiState` on every change — snapshot state mutates in place under Compose's transactional model.- `derivedStateOf` integrates with the snapshot system, so derived properties don't trigger spurious recompositions when their inputs change but the derived value doesn't.- Hierarchical composition: nested state holders fall out naturally; the equivalent with `StateFlow<UiState>` quickly becomes a `combine` pyramid.
### When to use `StateFlow` instead
Stick with `StateFlow<T>` (and `collectAsStateWithLifecycle()` at the call site) when:
- The state needs **non-Compose consumers** — a Fragment view, a Worker, a widget update path, a JVM test that doesn't run on the Compose runtime.- The state is **shared across screens** and lives on a non-`ViewModel` scope (e.g. an application-scoped repository state).- You need `Flow` operators (`debounce`, `combine`, `distinctUntilChanged`) on the publicly exposed shape itself, not just internally.
In all of these, the screen-local UI state can still use the state-holder pattern; the `StateFlow` lives upstream and iscollected inside the ViewModel into`_state.*`.
### Local UI state
State that lives entirely within one composable — and would never be of interest to the ViewModel — stays in thecomposable:
- Use `remember { mutableStateOf(…) }` for transient local state (e.g. whether a dropdown is expanded).- Use `rememberSaveable { mutableStateOf(…) }` for local state that **must** survive configuration change or process death (text-field draft, selected tab).
If two composables need to coordinate, hoist the state up; if the screen needs it, hoist it into the screen's stateholder.
## State hoisting and UDF
Follow the [state hoisting](https://developer.android.com/develop/ui/compose/state-hoisting)and [unidirectional data flow](https://developer.android.com/develop/ui/compose/architecture#udf) pattern.
- State flows **down** as the state-holder interface (or as individual parameters for leaf composables); events flow **up** as lambdas.- The ViewModel owns the `Mutable…ScreenState` instance and is the only writer.- The screen-level composable consumes `viewModel.state` directly.- Leaf composables take the smallest slice they need — a `ReminderItem`, not the whole screen state — so their recomposition scope stays tight.
## Side effects — use them sparingly
Composables must be side-effect free. When a composable genuinely needs to interact with the outside world, reach forthe right Effect API — and only then.
### Use an Effect to…
Synchronize with something outside React-style state — and only then:
- **`LaunchedEffect(key1, …)`** — run a suspend block tied to the composable's lifecycle. Restarts when keys change; cancels on exit.- **`DisposableEffect(key1, …)`** — set up something with explicit cleanup (a listener, an observer). Must `onDispose { … }`.- **`rememberCoroutineScope()`** — launch coroutines **from event handlers** (a click, a swipe), not from the composable body.- **`SideEffect { … }`** — push Compose state to non-Compose code (analytics, third-party SDK) after a successful composition.- **`produceState(initialValue, key1, …)`** — convert a non-Compose async source (e.g. a callback API) into a `State<T>`.- **`snapshotFlow { … }`** — convert Compose `State` reads into a cold `Flow` for use inside a `LaunchedEffect`.
### Don't use an Effect to…
- **Collect a Flow from a ViewModel for UI state.** Use `collectAsStateWithLifecycle()`. A `LaunchedEffect { flow.collect { … } }` for UI state reintroduces the lifecycle bugs `collectAsStateWithLifecycle` solves.- **Derive data for rendering.** Compute it during composition; the Compose Compiler will skip unchanged work. Use `derivedStateOf` only when the derived value updates less frequently than its inputs _and_ you can prove it earns its keep.- **Respond to a user event.** Put the logic in the event handler (`onClick`, `onValueChange`), where intent is known.- **Reset state when a prop changes.** Pass a different `key` to the composable to reset its subtree, or compute the value during composition.- **Notify the parent of a change.** Call the parent's lambda from the event handler that caused the change, not from an Effect that watches the value.
### When you do use an Effect
- **Always clean up.** `DisposableEffect` requires `onDispose`; `LaunchedEffect`'s coroutine is cancelled for you on exit but any subscriptions you opened inside it must be torn down before you return.- **Include every reactive value as a key**, or wrap a callback in `rememberUpdatedState` so the Effect captures the latest value without restarting.- **One Effect, one concern.**
## Performance
Follow [Compose performance best practices](https://developer.android.com/develop/ui/compose/performance/bestpractices).
- **Provide stable keys for `LazyColumn` / `LazyRow` items.** `items(reminders, key = { it.id }) { … }` lets Compose skip recomposition for items that just moved.- **Pass minimal, immutable parameters.** `Header(title: String, subtitle: String)` over `Header(news: News)` — the smaller the input set, the smaller the recomposition scope.- **Mark stable data with `@Immutable` / `@Stable`** when the compiler can't infer it (custom classes that wrap collections, third-party types). Don't sprinkle these annotations; use them where the compiler would otherwise mark the type unstable.- **Defer state reads.** Lambda-based modifiers (`Modifier.offset { … }`, `Modifier.drawBehind { … }`) read state in the layout/draw phase, skipping composition.- **Don't `remember` what your ViewModel already cached.** Calculations belong in the ViewModel; `remember` is for per-composition memoization.
## Material 3 Expressive theming and previews
- **One theme: `MedTimerTheme`** in `:core:ui`, wrapping `MaterialExpressiveTheme`. Define colors via Material 3's `ColorScheme`, with light and dark schemes. Support dynamic colors (`dynamicLightColorScheme` / `dynamicDarkColorScheme`) on Android 12+ when the user enables them, with a fall-back to the static brand colors.- **Prefer Expressive components** (`ButtonGroup`, expressive `FloatingActionButton` variants, the Expressive motion scheme) over their classic Material 3 counterparts when both exist — that is the whole reason for choosing the Expressive theme.- **Type, shape, and motion** come from `Typography`, `Shapes`, and the Expressive `MotionScheme` in the theme — don't hard-code `TextStyle`, corner radius, or animation specs per screen.- **Every screen-level composable has a `@Preview`** for light **and** dark. Use a `@MedTimerPreview` multipreview annotation (`@Preview` + dark variant + minimum supported font scale) defined in `:core:ui`.- Previews **must render without a real ViewModel** — that is the whole point of the stateless `*Content` split.
## Icons — vendored Bootstrap Icons
**[Bootstrap Icons](https://icons.getbootstrap.com/) are the icon set for medTimer** — both the legacy XML/View UI andnew Compose UI. This is not a Compose-only convention; it is the app-wide standard. The existing drawables in `:core:ui`(`bell`, `cart2`, `chevron_left`, `box_seam`, `calendar_event`, `link`, `repeat`, …) are all vendored Bootstrap Icons —match them.
**Do not** depend on `androidx.compose.material:material-icons-extended` or `material-icons-core`, and **do not** vendorMaterial Symbols. New Compose icons must come from Bootstrap Icons so the whole app stays visually consistent.
**Vendor each icon as a vector drawable in `:core:ui/src/main/res/drawable/`**, named after the Bootstrap icon withhyphens replaced by underscores (e.g. `arrow-right` → `arrow_right.xml`, `caret-down-fill` → `caret_down_fill.xml`).Putting them in`:core:ui` makes them reachable from every `:feature:*` module via `com.futsch1.medtimer.core.ui.R.drawable.<name>`.
- **Reuse before you vendor.** Check `:core:ui/src/main/res/drawable/` for an existing Bootstrap icon first, and prefer the shared semantic mappings — `ReminderType.getIcon()` and `OverviewState.getImage()` in `:core:ui` — over hand-picking a drawable per call site. Don't add a near-duplicate of an icon that already exists.- **Geometry: 16×16.** Bootstrap Icons are drawn on a 16-unit canvas, so set `android:width`/`android:height` to `16dp` and `viewportWidth`/`viewportHeight` to `16`. (This differs from Material Symbols' 24/960 space.)- Use directional icons (`arrow_right`, `chevron_left`, `chevron_right`, …) with `android:autoMirrored="true"` so they flip in RTL.- Reference them in Compose with `Icon(painterResource(R.drawable.<name>), contentDescription = …)`. `Icon` applies `tint` (defaults to `LocalContentColor`), so the drawable's `android:fillColor` is just a placeholder — keep it the solid `?android:colorForeground` used by the other icons.- Icon-only controls (e.g. chips, the calendar nav buttons) still need an accessible label: pass a real `contentDescription` (a `stringResource`), which is also what UiAutomator instrumented tests target via `By.desc(...)`.
### How to get the drawable
**From the web (preferred):** open [icons.getbootstrap.com](https://icons.getbootstrap.com/), pick the icon, and copyits SVG. Bootstrap SVGs already use a `viewBox="0 0 16 16"`, and the SVG `<path d="…">` grammar is identical toAndroid's`android:pathData`, so the path string drops straight in — no coordinate-space translation or `<group>` wrapper needed.Wrap it as:
```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="16dp" android:height="16dp" android:viewportWidth="16" android:viewportHeight="16"> <path android:pathData="<the SVG d attribute>" android:fillColor="?android:colorForeground" /></vector>```
Carry over `fill-rule="evenodd"` as `android:fillType="evenOdd"`, and add `android:autoMirrored="true"` for directionalglyphs. Multi-`<path>` Bootstrap icons (e.g. `calendar3`) become one `<path>` element per SVG path.
**Android Studio:** **New → Vector Asset → Local file** and point it at the downloaded `.svg`; the wizard writes the`<vector>` for you. Rename it to the underscored Bootstrap name afterwards.
### Converting SVGs for the path-only icon pack
The custom pack at `:core:ui/src/main/res/xml/icon_pack.xml` accepts one path-data string per `<icon>`; it cannotrepresent SVG `<g>` transforms, stroke styling, or clipping. For SVGs that must go in this file:
1. Use Inkscape to convert visible strokes into filled outlines and export a plain SVG:
```bash inkscape source.svg --actions='select-all:all;object-stroke-to-path;export-plain-svg;export-filename:/tmp/outlined.svg;export-do' ```
Filled paths remain paths. **Do not use `transform-remove` to bake transforms**: it strips transform attributes without applying them to path coordinates.
2. Extract the artwork paths from the exported SVG, skipping definition-only paths (for example, paths inside `<clipPath>`). Compose each path's ancestor transforms from outermost to innermost and apply them to its `d` data with Inkscape's bundled Python `inkex` library. Its extension directory is commonly `/usr/share/inkscape/extensions`; add that directory to `PYTHONPATH` to import `inkex`:
```python matrix = inkex.Transform() for node in reversed(list(path_element.iterancestors())): if node.get("transform"): matrix = matrix @ inkex.Transform(node.get("transform")) if path_element.get("transform"): matrix = matrix @ inkex.Transform(path_element.get("transform")) path = inkex.Path(path_element.get("d")).transform(matrix) ```
If the source artwork is still in a 24-unit coordinate space after its existing transforms, apply an additional `scale(2/3)` to the resulting path to fit the pack's 16×16 viewport. Don't scale SVGs whose existing transforms already map their artwork into 16 units.
3. Join the visible path data with spaces into the `<icon path="…" />` attribute; don't leave transform or stroke attributes behind. If clipping changes the visible artwork beyond the viewport crop, resolve the clip in Inkscape before extracting paths. Round coordinates only as much as needed—the 16-unit icons tolerate modest precision reduction, but inspect thin details after rounding.4. Render a 16×16 preview to check the result, validate the XML/path data, and run `./gradlew assembleDebug` to check Android resource processing for both flavors.
## Testing — pointer
See [testing.md](testing.md) for the full Compose testing section. In brief:
- The stateless `*Content` composable is the unit under test.- Use `createComposeRule()` from `ui-test-junit4`; Robolectric makes the test runnable on the JVM (no emulator).- Query by semantics first (`onNodeWithText`, `onNodeWithContentDescription`), then by `testTag` only as a last resort.- Don't assert on recomposition counts or memoization — those are compiler details.
## Sources
- Android Developers — [Thinking in Compose](https://developer.android.com/develop/ui/compose/mental-model), [Compose architecture](https://developer.android.com/develop/ui/compose/architecture), [State and Jetpack Compose](https://developer.android.com/develop/ui/compose/state), [State hoisting](https://developer.android.com/develop/ui/compose/state-hoisting), [Side-effects in Compose](https://developer.android.com/develop/ui/compose/side-effects), [Compose performance best practices](https://developer.android.com/develop/ui/compose/performance/bestpractices), [Compose lifecycle](https://developer.android.com/develop/ui/compose/lifecycle) (2025–2026).- [Compose API guidelines for Jetpack Compose-based libraries](https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-api-guidelines.md) — AndroidX.- [Material 3 for Compose](https://developer.android.com/develop/ui/compose/designsystems/material3) and [Material 3 Expressive](https://developer.android.com/develop/ui/compose/designsystems/material3/expressive).- [Now in Android](https://github.com/android/nowinandroid) — reference patterns for Hilt + Compose + multi-module.
_Last reviewed: 2026-06-05 · Compose: adopted on the Statistics screen (StatisticsFragment → ComposeView); remainingscreens still use XML layouts + Fragments. Icons standardised on Bootstrap Icons._# Documentation Guidelines
**Audience:** anyone adding or changing documentation in this repository.**Goal:** docs that are easy to find, trustworthy, and cheap to keep current.
## Docs-as-code
Documentation lives in the repo as Markdown and follows the same flow as code:
- Edit docs in the **same pull request** as the change they describe — a feature isn't done until its docs match.- Docs are reviewed in PRs like code.- Use **relative Markdown links** between docs so they work on GitHub and in editors. When you move a file, update every inbound link.
## The `docs/` taxonomy
Today, `docs/` mixes two kinds of content at its top level — user-facing how-tos and architectural notes — alongsidethis `guidelines/` sub-folder:
| Path | Holds | Examples || ------------------- | ------------------------------------------------ | -------------------------------------------------------------------------- || `docs/help/` | Canonical task-oriented user guide and its index | [`Help contents`](../help/index.md), [`More tasks`](../help/more-tasks.md) || `docs/help/images/` | Screenshots used by active Help topics | `getting-started-upcoming-reminder.png` || `docs/guidelines/` | Contributor & agent standards (this folder) | this guide, [`kotlin-android.md`](kotlin-android.md) |
The taxonomy will grow as the repo does.Plausible future sub-folders, modeled on common open-source patterns — add them only when there is real content toplace:
- `docs/architecture/` — design and rationale (system layout, module map, threading model). `reminder_flow.md` would fit here once a second architectural doc exists.- `docs/operations/` — release / build / signing playbooks.- `docs/reports/` — dated, point-in-time evidence (audits, test reports).- `docs/archive/` — superseded material kept for reference.
Rules of thumb:
- **Index every active doc** in the nearest `README.md` (e.g. [`docs/guidelines/README.md`](README.md)).- The root [`README.md`](../../README.md) is the product-facing overview. Cross-reference, don't duplicate.
## Maintaining the bundled Help guide
The offline, English-language guide is bundled with the app. Its canonical sources are:
- `docs/help/README.md` for the Help contents page.- `docs/help/<topic-id>.md` for each topic; the topic ID becomes its generated `.html` destination.- `docs/help/images/<descriptive-name>.<ext>` for committed screenshots and other local images.
Edit these Markdown and image sources only. The app's build generates static HTML and copies the guide assets into eachvariant; generated files under`app/build/` are disposable presentation artifacts and must not be edited by hand.
Build both debug APKs, then run the mechanical Help check locally:
```bash./gradlew assembleDebug./gradlew :app:validateHelpGuide```
The validation task generates both debug-flavor guides, tests the checker against valid and intentionally brokenexamples, and checks local topic links, fragment targets, bundled images, literal app-linked topic destinations, andguide assets inside each APK. These checks establish reference and packaging integrity only; they do not establish thatinstructions are accurate, safe, or understandable.
To verify release packaging, build both release variants:
```bash./gradlew :app:assembleFullRelease :app:assembleFossRelease```
Open Help from the app's main overflow menu to review the bundled guide. Changes to Markdown or images are picked up bythe build; ordinary builds usecommitted images and do not need an emulator.
### Help maintenance checklist
When changing user-visible behavior or UI:
1. Identify affected Help topics and contextual app hints/strings.2. Update applicable topics and hints in the same PR as the behavior change.3. Review each affected screenshot against the current UI and instructions. Regenerate only images that are now inaccurate; do not recapture unrelated images.4. For a draft or substantive topic revision, include relevant supporting code/tests in the PR or record contributor-facing evidence of the behavior reviewed. Keep implementation references out of user instructions.5. If no documentation change is needed, explain why in the PR.6. Verify current labels, navigation, defaults, and behavior yourself. LLM assistance can help draft or review, but does not replace this verification.7. Use synthetic medication data only. Never include real medication data in documentation, screenshots, or agent prompts.
### Focused Help screenshot capture
Reuse the existing `HelpScreenshotTest` and Screengrab workflow; do not use the all-locale store screenshot lane forHelp. With an emulator connected, run:
```bashfastlane android capture_help_screenshot```
The lane builds the full-flavor debug app and AndroidTest APK, sets the emulator to 24-hour time, runs only`com.futsch1.medtimer.HelpScreenshotTest` in `en-US`, and copies the named capture from`app/build/help-screenshot-output/` to `docs/help/images/`. The testcreates synthetic **Medicine A** through the UI, asserts the setup states and upcoming event, and captures`getting-started-upcoming-reminder.png`. Review the resulting image before committing it, and update its topic referenceif its name or location changes. Runany added or changed screenshot test locally on an emulator; ordinary guide generation and builds do not require one.
## Choose the right type of doc (Diátaxis)
Be clear which of the four kinds you're writing — mixing them makes docs hard to use:
- **Tutorial** (learning) — a guided first run.- **How-to** (a task) — "How to add a new flavor", "How to run instrumented tests locally".- **Reference** (lookup) — config keys, build commands, module map.- **Explanation** (understanding) — design rationale, trade-offs.
If a section starts answering a different question than its heading promises, split it.
## Style
Follow the spirit of the [Google developer documentation style guide](https://developers.google.com/style):
- Active voice, second person ("Run …", not "The script should be run …").- Plain, concise language; define jargon and expand acronyms on first use (GMS, FOSS, AGP, KSP).- Lead with the point. Prefer short sentences, lists, and tables over long paragraphs.- Show, don't tell: a code block or command beats a paragraph describing it.- Use the repo's existing structural patterns where they fit: **audience tables** at the top of guides, **enforcement / source-of-truth callouts** for mechanically-checked rules, and **dated `Sources` sections** for re-auditable external references.
## Language
Developer- and code-facing docs are written in **English** — guidelines, architecture notes, API/code comments, andthese standards.
User-facing strings in the app (`app/src/main/res/values*/strings.xml`) are translated separately; see [`AGENTS.md`](../../AGENTS.md) for the locale list andWeblate workflow.Don't mix languages mid-document.Keep technical terms and identifiers in English even when discussing localization.
## Links and naming
- File names are **kebab-case** (`jetpack-compose.md`, `kotlin-android.md`).- Dated artifacts use an ISO date suffix: `name-YYYY-MM-DD.md`. These are snapshots — add a new dated file rather than rewriting history.- Keep relative links valid when reorganizing: after moving files, re-resolve every inbound link.
## Maintenance and archiving
- When a doc is superseded, **move it to `docs/archive/`** with a one-line pointer to its replacement — don't delete history, and don't leave stale guidance live.- Date-stamp evidence docs and don't edit them after the fact; supersede instead.- **No secrets or real user data in docs** — same rule as code (see [ `AGENTS.md` → AI hygiene](../../AGENTS.md#ai-hygiene)). Reference config keys by name, never paste real values.- Contributor-facing guides may carry a `_Last reviewed: YYYY-MM-DD._` footer; bump it when you revisit the content and re-confirm the linked sources. Do not add internal review-date footers to bundled user-facing Help topics.
## Sources
- [Diátaxis](https://diataxis.fr/) — the four documentation types.- [Google developer documentation style guide](https://developers.google.com/style) — 2025.- [Write the Docs](https://www.writethedocs.org/guide/) — docs-as-code and user-centered principles.
_Last reviewed: 2026-10-15._0001-compose-analysis-charting-libraries.md0002-overview-scrollable-week-calendar.md0003-future-reminders-singleton-cache.md0004-stock-sentinel-in-reminder-event.md0005-future-reminders-dynamic-window-full-consolidation.md0006-dose-equivalent-stock.md# Stock before/after stored as -1.0 sentinel in ReminderEvent
`ReminderEventEntity` stores `stockBefore` and `stockAfter` as `Double` columns defaulting to `-1.0` rather than nullable columns. `-1.0` means "stock not tracked for this event." Display logic shows the stock change hint only when `stockBefore != stockAfter` — this single condition handles all cases: old migrated rows (`-1.0 == -1.0`), medicines without stock management (never written, stay equal), events where the dose was taken then un-taken (stock restored → `stockAfter` is written back to equal `stockBefore`). Nullable columns were considered but rejected because Room's AutoMigration handles non-null columns with defaults more predictably than nullable doubles, and the equality check is simpler than a null guard at the call site.---status: accepted---
# Treat stock as a dose-equivalent quantity
Stock is a dose-equivalent balance, not a count of physical tablets, capsules, or packages: the primary numeric amount recorded for a dose is subtracted directly from stock in that same unit, with no conversions. The effective unit is inferred only from active, dose-taking reminder configurations. Trimmed, case-insensitive matches and explicitly supported singular/plural forms are treated as the same unit; other unit spellings must match exactly. This bounded recognition list is not general language morphology and does not imply conversion or broader semantic equivalence.
A missing unit is unspecified. If active dose reminders mix unitless and named amounts, or use different units, show an advisory warning, omit the unit from stock balances, and continue stock updates and forecasts. Those figures may be unreliable while the conflict remains. Recorded dose history does not determine the stock unit.
Do not use the legacy `Medicine.unit` value as a fallback for unitless reminders or historical dose labels. Keeping it active would require an additional editable unit setting, which is intentionally avoided to keep stock setup simpler. The persisted database column remains untouched by this decision; no schema migration is included. Historical stock-change events retain the units already stored with them.
We choose this simpler dose-equivalent model over tracking physical forms and converting by medicine strength, which would require a formulation/strength model and additional rules for partial doses.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638diff --git a/app/src/main/java/com/futsch1/medtimer/database/backup/JSONBackup.kt b/app/src/main/java/com/futsch1/medtimer/database/backup/JSONBackup.ktindex 832eec4..00f5401 100644--- a/app/src/main/java/com/futsch1/medtimer/database/backup/JSONBackup.kt+++ b/app/src/main/java/com/futsch1/medtimer/database/backup/JSONBackup.kt@@ -61,12 +61,13 @@ abstract class JSONBackup<T> protected constructor(private val contentClass: Cla val list: List<T>? ) - protected class FullDeserialize<T> : JsonDeserializer<T?> {+ /** Rejects items missing a field, except for the [optionalFields] older backups do not have. */+ protected class FullDeserialize<T>(private val optionalFields: Set<String> = emptySet()) : JsonDeserializer<T?> { @Throws(JsonParseException::class) override fun deserialize(je: JsonElement?, type: Type, jdc: JsonDeserializationContext?): T { val pojo = Gson().fromJson<T>(je, type) - val fields = pojo!!.javaClass.declaredFields+ val fields = pojo!!.javaClass.declaredFields.filterNot { it.name in optionalFields } for (f in fields) { try { if (f[pojo] == null) {diff --git a/app/src/main/java/com/futsch1/medtimer/database/backup/JSONMedicineBackup.kt b/app/src/main/java/com/futsch1/medtimer/database/backup/JSONMedicineBackup.ktindex 42a9810..b1a5c78 100644--- a/app/src/main/java/com/futsch1/medtimer/database/backup/JSONMedicineBackup.kt+++ b/app/src/main/java/com/futsch1/medtimer/database/backup/JSONMedicineBackup.kt@@ -22,7 +22,7 @@ class JSONMedicineBackup( return builder .registerTypeAdapter(MedicineBackup::class.java, FullDeserialize<MedicineBackup?>()) .registerTypeAdapter(TagBackup::class.java, FullDeserialize<Any?>())- .registerTypeAdapter(ReminderBackup::class.java, FullDeserialize<ReminderBackup?>())+ .registerTypeAdapter(ReminderBackup::class.java, FullDeserialize<ReminderBackup?>(setOf("dosePlan"))) } override fun isInvalid(item: FullMedicineBackup?): Boolean {diff --git a/core/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseAmountParser.kt b/core/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseAmountParser.ktindex 4aef374..5e8a111 100644--- a/core/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseAmountParser.kt+++ b/core/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseAmountParser.kt@@ -44,6 +44,16 @@ object DoseAmountParser { return DoseAmount(parsed.toDouble(), unit) } + /**+ * Replaces the first number in [text], as [parse] finds it, by [replacement] and keeps the rest of the text. Returns+ * null when the text contains no number.+ */+ fun replaceAmount(text: String, replacement: String): String? {+ val match = AMOUNT_PATTERN.find(text) ?: return null+ val number = match.value.trimEnd { it.isWhitespace() || it == '.' || it == ',' }+ return text.replaceRange(match.range.first, match.range.first + number.length, replacement)+ }+ /** Units are compared ignoring case. */ fun key(unit: String): String = unit.lowercase(Locale.ROOT) diff --git a/core/common/src/main/java/com/futsch1/medtimer/core/common/helpers/MedicineHelper.kt b/core/common/src/main/java/com/futsch1/medtimer/core/common/helpers/MedicineHelper.ktindex edd362b..ff466af 100644--- a/core/common/src/main/java/com/futsch1/medtimer/core/common/helpers/MedicineHelper.kt+++ b/core/common/src/main/java/com/futsch1/medtimer/core/common/helpers/MedicineHelper.kt@@ -56,7 +56,7 @@ object MedicineHelper { fun getUnit(medicine: Medicine): String { val doseAmounts = medicine.reminders .filter { it.active && !it.isOutOfStockOrExpirationReminder }- .map { it.amount }+ .flatMap { it.dosages } return DoseAmountParser.summarize(doseAmounts).unit ?: "" } diff --git a/core/database/src/main/java/com/futsch1/medtimer/database/MedicineRoomDatabase.kt b/core/database/src/main/java/com/futsch1/medtimer/database/MedicineRoomDatabase.ktindex f3f259c..5576265 100644--- a/core/database/src/main/java/com/futsch1/medtimer/database/MedicineRoomDatabase.kt+++ b/core/database/src/main/java/com/futsch1/medtimer/database/MedicineRoomDatabase.kt@@ -20,7 +20,7 @@ import com.futsch1.medtimer.database.dao.TagDao @Database( entities = [MedicineEntity::class, ReminderEntity::class, ReminderEventEntity::class, TagEntity::class, MedicineToTagEntity::class],- version = 26,+ version = 27, autoMigrations = [AutoMigration( from = 1, to = 2,@@ -62,7 +62,7 @@ import com.futsch1.medtimer.database.dao.TagDao from = 21, to = 22, spec = AutoMigration21To22::class- ), AutoMigration(from = 22, to = 23), AutoMigration(from = 23, to = 24), AutoMigration(from = 24, to = 25), AutoMigration(from = 25, to = 26)],+ ), AutoMigration(from = 22, to = 23), AutoMigration(from = 23, to = 24), AutoMigration(from = 24, to = 25), AutoMigration(from = 25, to = 26), AutoMigration(from = 26, to = 27)], ) @TypeConverters(Converters::class) abstract class MedicineRoomDatabase : RoomDatabase() {diff --git a/core/database/src/main/java/com/futsch1/medtimer/database/ReminderEntity.kt b/core/database/src/main/java/com/futsch1/medtimer/database/ReminderEntity.ktindex 6b7e0a1..f751dec 100644--- a/core/database/src/main/java/com/futsch1/medtimer/database/ReminderEntity.kt+++ b/core/database/src/main/java/com/futsch1/medtimer/database/ReminderEntity.kt@@ -41,6 +41,8 @@ class ReminderEntity( @ColumnInfo(defaultValue = "OFF") var outOfStockReminderType: OutOfStockReminderType = OutOfStockReminderType.OFF, @ColumnInfo(defaultValue = "OFF") var expirationReminderType: ExpirationReminderType = ExpirationReminderType.OFF, @ColumnInfo(defaultValue = "SAME_AS_MEDICINE") var notificationImportance: NotificationImportance = NotificationImportance.SAME_AS_MEDICINE,+ // JSON of the reminder's dose plan, null without a plan+ var dosePlan: String? = null, ) { enum class NotificationImportance { SAME_AS_MEDICINE,diff --git a/core/database/src/main/java/com/futsch1/medtimer/database/ReminderRepositoryImpl.kt b/core/database/src/main/java/com/futsch1/medtimer/database/ReminderRepositoryImpl.ktindex 1c7ac95..72a9a8d 100644--- a/core/database/src/main/java/com/futsch1/medtimer/database/ReminderRepositoryImpl.kt+++ b/core/database/src/main/java/com/futsch1/medtimer/database/ReminderRepositoryImpl.kt@@ -2,9 +2,12 @@ package com.futsch1.medtimer.database import android.util.Log import com.futsch1.medtimer.core.common.LogTags+import com.futsch1.medtimer.core.domain.model.DosePlan import com.futsch1.medtimer.core.domain.model.Reminder import com.futsch1.medtimer.core.domain.repository.ReminderRepository import com.futsch1.medtimer.database.dao.ReminderDao+import com.futsch1.medtimer.database.toBackup.toBackup+import com.futsch1.medtimer.database.toBackup.toJson import com.futsch1.medtimer.database.toModel.toEntity import com.futsch1.medtimer.database.toModel.toModel import kotlinx.coroutines.flow.Flow@@ -54,6 +57,10 @@ class ReminderRepositoryImpl( reminderDao.update(reminder.toEntity()) } + override suspend fun updateDosePlan(reminderId: Int, dosePlan: DosePlan?) {+ reminderDao.updateDosePlan(reminderId, dosePlan?.toBackup()?.toJson())+ }+ override suspend fun updateMany(reminders: List<Reminder>) { reminderDao.updateAll(reminders.map { it.toEntity() }) }diff --git a/core/database/src/main/java/com/futsch1/medtimer/database/dao/ReminderDao.kt b/core/database/src/main/java/com/futsch1/medtimer/database/dao/ReminderDao.ktindex 511a02f..10db849 100644--- a/core/database/src/main/java/com/futsch1/medtimer/database/dao/ReminderDao.kt+++ b/core/database/src/main/java/com/futsch1/medtimer/database/dao/ReminderDao.kt@@ -38,6 +38,9 @@ interface ReminderDao { @Update suspend fun updateAll(reminders: List<ReminderEntity>) + @Query("UPDATE Reminder SET dosePlan = :dosePlan WHERE reminderId = :reminderId")+ suspend fun updateDosePlan(reminderId: Int, dosePlan: String?)+ @Delete suspend fun delete(reminder: ReminderEntity) diff --git a/core/database/src/main/java/com/futsch1/medtimer/database/toBackup/BackupMappers.kt b/core/database/src/main/java/com/futsch1/medtimer/database/toBackup/BackupMappers.ktindex 726b6be..369c5d0 100644--- a/core/database/src/main/java/com/futsch1/medtimer/database/toBackup/BackupMappers.kt+++ b/core/database/src/main/java/com/futsch1/medtimer/database/toBackup/BackupMappers.kt@@ -83,6 +83,7 @@ fun ReminderEntity.toBackup(): ReminderBackup = ReminderBackup( outOfStockReminderType = Reminder.OutOfStockReminderType.valueOf(outOfStockReminderType.name), expirationReminderType = Reminder.ExpirationReminderType.valueOf(expirationReminderType.name), notificationImportance = Reminder.NotificationImportance.valueOf(notificationImportance.name),+ dosePlan = dosePlanBackupFromJson(dosePlan)?.toModel()?.toBackup(), ) fun ReminderBackup.toEntity(): ReminderEntity = ReminderEntity(@@ -111,6 +112,7 @@ fun ReminderBackup.toEntity(): ReminderEntity = ReminderEntity( outOfStockReminderType = ReminderEntity.OutOfStockReminderType.valueOf(outOfStockReminderType.name), expirationReminderType = ReminderEntity.ExpirationReminderType.valueOf(expirationReminderType.name), notificationImportance = ReminderEntity.NotificationImportance.valueOf(notificationImportance.name),+ dosePlan = dosePlan?.toModel()?.toBackup()?.toJson(), ) // --- Tag ---diff --git a/core/database/src/main/java/com/futsch1/medtimer/database/toModel/ReminderMapper.kt b/core/database/src/main/java/com/futsch1/medtimer/database/toModel/ReminderMapper.ktindex 30f1304..f9e50c1 100644--- a/core/database/src/main/java/com/futsch1/medtimer/database/toModel/ReminderMapper.kt+++ b/core/database/src/main/java/com/futsch1/medtimer/database/toModel/ReminderMapper.kt@@ -3,6 +3,10 @@ package com.futsch1.medtimer.database.toModel import com.futsch1.medtimer.core.domain.model.Reminder import com.futsch1.medtimer.core.domain.model.ReminderTime import com.futsch1.medtimer.database.ReminderEntity+import com.futsch1.medtimer.database.toBackup.dosePlanBackupFromJson+import com.futsch1.medtimer.database.toBackup.toBackup+import com.futsch1.medtimer.database.toBackup.toJson+import com.futsch1.medtimer.database.toBackup.toModel import java.time.DayOfWeek import java.time.Instant import java.time.LocalDate@@ -35,7 +39,8 @@ fun ReminderEntity.toModel(): Reminder = outOfStockThreshold = outOfStockThreshold, outOfStockReminderType = outOfStockReminderType.toModel(), expirationReminderType = expirationReminderType.toModel(),- notificationImportance = notificationImportance.toModel()+ notificationImportance = notificationImportance.toModel(),+ dosePlan = dosePlanBackupFromJson(dosePlan)?.toModel() ) fun Reminder.toEntity(): ReminderEntity = ReminderEntity(@@ -64,7 +69,8 @@ fun Reminder.toEntity(): ReminderEntity = ReminderEntity( outOfStockThreshold = outOfStockThreshold, outOfStockReminderType = outOfStockReminderType.toEntity(), expirationReminderType = expirationReminderType.toEntity(),- notificationImportance = notificationImportance.toEntity()+ notificationImportance = notificationImportance.toEntity(),+ dosePlan = dosePlan?.toBackup()?.toJson() ) fun ReminderEntity.OutOfStockReminderType.toModel(): Reminder.OutOfStockReminderType =diff --git a/core/database/src/test/java/com/futsch1/medtimer/database/MigrationTest.kt b/core/database/src/test/java/com/futsch1/medtimer/database/MigrationTest.ktindex f29e336..292109b 100644--- a/core/database/src/test/java/com/futsch1/medtimer/database/MigrationTest.kt+++ b/core/database/src/test/java/com/futsch1/medtimer/database/MigrationTest.kt@@ -10,6 +10,7 @@ import org.robolectric.RobolectricTestRunner import org.robolectric.annotation.Config import java.io.IOException import kotlin.test.assertEquals+import kotlin.test.assertTrue @RunWith(RobolectricTestRunner::class) @Config(sdk = [36])@@ -93,4 +94,30 @@ class MigrationTest { cursor.close() db.close() }++ @Test+ @Throws(IOException::class)+ fun testMigrate26To27() {+ // Create version 26 of the database with a reminder, which has no dose plan column yet.+ var db = helper.createDatabase(testDb, 26)+ db.execSQL(+ "INSERT INTO Medicine (medicineName, color, useColor, notificationImportance, iconId, amount, refillSizes, unit) VALUES ('Alpha', 0, 0, 3, 0, 10.0, '[]', '')"+ )+ db.execSQL(+ "INSERT INTO Reminder (medicineRelId, timeInMinutes, createdTimestamp, instructions, amount, periodEnd) VALUES (1, 480, 0, 'With water', '2 tablets', 20000)"+ )+ db.close()++ // Run migration to version 27: the reminder is kept as it was, without a dose plan.+ db = helper.runMigrationsAndValidate(testDb, 27, true)++ val cursor = db.query("SELECT amount, instructions, periodEnd, dosePlan FROM Reminder")+ cursor.moveToFirst()+ assertEquals("2 tablets", cursor.getString(0))+ assertEquals("With water", cursor.getString(1))+ assertEquals(20000L, cursor.getLong(2))+ assertTrue(cursor.isNull(3))+ cursor.close()+ db.close()+ } }diff --git a/core/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/ReminderBackup.kt b/core/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/ReminderBackup.ktindex 22be0c5..1c3bfd9 100644--- a/core/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/ReminderBackup.kt+++ b/core/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/ReminderBackup.kt@@ -28,4 +28,6 @@ class ReminderBackup( var outOfStockReminderType: Reminder.OutOfStockReminderType = Reminder.OutOfStockReminderType.OFF, var expirationReminderType: Reminder.ExpirationReminderType = Reminder.ExpirationReminderType.OFF, var notificationImportance: Reminder.NotificationImportance = Reminder.NotificationImportance.SAME_AS_MEDICINE,+ // Absent for reminders without a dose plan, and in backups made before dose plans existed+ var dosePlan: DosePlanBackup? = null, )diff --git a/core/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Reminder.kt b/core/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Reminder.ktindex d29844d..85bb42a 100644--- a/core/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Reminder.kt+++ b/core/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Reminder.kt@@ -31,7 +31,8 @@ data class Reminder( val outOfStockThreshold: Double, val outOfStockReminderType: OutOfStockReminderType, val expirationReminderType: ExpirationReminderType,- val notificationImportance: NotificationImportance+ val notificationImportance: NotificationImportance,+ val dosePlan: DosePlan? = null ) { val reminderType: ReminderType get() = when {@@ -75,6 +76,30 @@ data class Reminder( val usesTimeInMinutes: Boolean get() = isLinkedOrTimeBased || this.reminderType == ReminderType.EXPIRATION_DATE || this.outOfStockReminderType == OutOfStockReminderType.DAILY + val supportsDosePlan: Boolean+ get() = this.reminderType == ReminderType.TIME_BASED || isInterval++ /** The dose plan the reminder follows. A plan on a reminder type without dose plans has no effect. */+ val activeDosePlan: DosePlan?+ get() = dosePlan?.takeIf { supportsDosePlan && it.isValid }++ /** The last day with doses when the dose plan stops reminding after its last step. */+ val dosePlanStopDate: LocalDate?+ get() = activeDosePlan?.takeIf { it.afterLastStep == DosePlan.AfterLastStep.STOP_REMINDING }?.endDate++ /** The dosage of a dose on [date], or null when the dose plan gives no more doses on that day. */+ fun dosageOn(date: LocalDate): String? {+ val plan = activeDosePlan ?: return amount+ return plan.dosageOn(date, amount)+ }++ /** Every dosage the reminder's doses can have: its own and those of its dose plan. */+ val dosages: List<String>+ get() = listOf(amount) + activeDosePlan?.steps.orEmpty().map { it.dosage }++ /** Like [dosageOn], but a dose after a stopped dose plan keeps the final dosage. */+ fun amountOn(date: LocalDate): String = dosageOn(date) ?: activeDosePlan?.steps?.lastOrNull()?.dosage ?: amount+ companion object { fun default(): Reminder = Reminder( id = 0,diff --git a/core/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ScheduledReminder.kt b/core/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ScheduledReminder.ktindex f9b4341..3abea2e 100644--- a/core/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ScheduledReminder.kt+++ b/core/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ScheduledReminder.kt@@ -2,8 +2,10 @@ package com.futsch1.medtimer.core.domain.model import java.time.Instant +/** A dose of [reminder] due at [timestamp]; [amount] is the dosage of the dose's day. */ data class ScheduledReminder( val medicine: Medicine, val reminder: Reminder,- val timestamp: Instant-)\ No newline at end of file+ val timestamp: Instant,+ val amount: String = reminder.amount+)diff --git a/core/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/ReminderRepository.kt b/core/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/ReminderRepository.ktindex 927cabf..0752e20 100644--- a/core/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/ReminderRepository.kt+++ b/core/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/ReminderRepository.kt@@ -1,5 +1,6 @@ package com.futsch1.medtimer.core.domain.repository +import com.futsch1.medtimer.core.domain.model.DosePlan import com.futsch1.medtimer.core.domain.model.Reminder import kotlinx.coroutines.flow.Flow @@ -12,6 +13,11 @@ interface ReminderRepository { suspend fun create(reminder: Reminder): Int suspend fun createMany(reminders: List<Reminder>): List<Int> suspend fun update(reminder: Reminder)++ /** Changes only the reminder's dose plan, so a stale copy of the other settings cannot be written back with it. */+ suspend fun updateDosePlan(reminderId: Int, dosePlan: DosePlan?) {+ fetch(reminderId)?.let { update(it.copy(dosePlan = dosePlan)) }+ } suspend fun updateMany(reminders: List<Reminder>) suspend fun delete(reminderId: Int) suspend fun deleteAll()diff --git a/core/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderStringFormatter.kt b/core/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderStringFormatter.ktindex dcbdbd5..a7245fc 100644--- a/core/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderStringFormatter.kt+++ b/core/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderStringFormatter.kt@@ -151,7 +151,7 @@ class ReminderStringFormatter @Inject constructor( } else -> {- scheduledReminder.reminder.amount+ scheduledReminder.amount } } return if (amount.isNotEmpty()) " (${amount})" else ""diff --git a/core/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderSummaryFormatter.kt b/core/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderSummaryFormatter.ktindex fec16cd..d99a575 100644--- a/core/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderSummaryFormatter.kt+++ b/core/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderSummaryFormatter.kt@@ -4,6 +4,8 @@ import android.content.Context import com.futsch1.medtimer.core.common.helpers.MedicineHelper import com.futsch1.medtimer.core.common.helpers.isReminderActive+import com.futsch1.medtimer.core.common.time.SystemTimeAccess+import com.futsch1.medtimer.core.common.time.TimeAccess import com.futsch1.medtimer.core.domain.model.Medicine import com.futsch1.medtimer.core.domain.model.Reminder import com.futsch1.medtimer.core.domain.model.ReminderType@@ -18,7 +20,9 @@ import javax.inject.Singleton class ReminderSummaryFormatter @Inject constructor( @param:ApplicationContext private val context: Context, private val reminderRepository: ReminderRepository,- private val timeFormatter: TimeFormatter+ private val timeFormatter: TimeFormatter,+ private val timeAccess: TimeAccess = SystemTimeAccess(),+ private val dosePlanFormatter: DosePlanFormatter = DosePlanFormatter(context, timeFormatter) ) { suspend fun formatExportReminderSummary(reminder: Reminder, medicine: Medicine): String { val reminderSummary = formatReminderSummary(reminder, medicine)@@ -30,10 +34,12 @@ class ReminderSummaryFormatter @Inject constructor( return "$time, $reminderSummary" } - suspend fun formatReminderSummary(reminder: Reminder, medicine: Medicine): String {+ /** With [withDosePlan], the summary also tells the dosage the reminder's dose plan gives for today. */+ suspend fun formatReminderSummary(reminder: Reminder, medicine: Medicine, withDosePlan: Boolean = false): String { var strings: MutableList<String> = mutableListOf()+ val today = if (withDosePlan && reminder.activeDosePlan != null) timeAccess.localDate() else null - if (!isReminderActive(reminder)) {+ if (!isReminderActive(reminder) || today != null && reminder.activeDosePlan?.hasStoppedOn(today) == true) { strings.add(context.getString(R.string.inactive)) } when (reminder.reminderType) {@@ -65,6 +71,9 @@ class ReminderSummaryFormatter @Inject constructor( if (instructions?.isNotEmpty() == true) { strings.add(instructions) }+ if (today != null) {+ strings.add(dosePlanFormatter.cardText(reminder, today))+ } strings = strings.filter { it.isNotEmpty() }.toMutableList() return join(", ", strings)diff --git a/core/ui/src/main/res/values/strings.xml b/core/ui/src/main/res/values/strings.xmlindex b090ff8..5b534a2 100644--- a/core/ui/src/main/res/values/strings.xml+++ b/core/ui/src/main/res/values/strings.xml@@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?>-<resources>+<resources xmlns:tools="http://schemas.android.com/tools"> <string name="continuous_from">Continuous interval starting from %1$s</string> <string name="continuous_interval_reminder">Continuous interval reminder</string> <string name="continuous_interval_reminder_help">Repeat after a fixed duration, such as every 6 hours, from a starting moment.</string>@@ -391,4 +391,47 @@ <string name="inconclusive_dose_units_warning">Dose units are inconclusive: %1$s. Stock tracking and level estimates may be inaccurate.</string> <string name="pk_no_unit">no unit</string> <string name="custom_range">Custom</string>+ <string name="dose_plan" tools:ignore="MissingTranslation">Dose plan</string>+ <string name="off" tools:ignore="MissingTranslation">Off</string>+ <string name="no_plan" tools:ignore="MissingTranslation">No plan</string>+ <string name="ladder" tools:ignore="MissingTranslation">Ladder</string>+ <string name="step_list" tools:ignore="MissingTranslation">Step list</string>+ <string name="starting_dose" tools:ignore="MissingTranslation">Starting dose</string>+ <string name="change_per_step" tools:ignore="MissingTranslation">Change per step</string>+ <string name="days_per_step" tools:ignore="MissingTranslation">Days per step</string>+ <string name="final_dose" tools:ignore="MissingTranslation">Final dose</string>+ <string name="decrease" tools:ignore="MissingTranslation">Decrease</string>+ <string name="increase" tools:ignore="MissingTranslation">Increase</string>+ <string name="add_step" tools:ignore="MissingTranslation">Add step</string>+ <string name="step_dose" tools:ignore="MissingTranslation">Step dose</string>+ <string name="step_days" tools:ignore="MissingTranslation">Step days</string>+ <string name="remove_step" tools:ignore="MissingTranslation">Remove step</string>+ <string name="plan_start_date" tools:ignore="MissingTranslation">Plan start date</string>+ <string name="after_last_step" tools:ignore="MissingTranslation">After the last step</string>+ <string name="stop_reminding" tools:ignore="MissingTranslation">Stop reminding</string>+ <string name="keep_final_dose" tools:ignore="MissingTranslation">Keep the final dose</string>+ <string name="steps" tools:ignore="MissingTranslation">Steps</string>+ <plurals name="dose_plan_step_line" tools:ignore="MissingTranslation">+ <item quantity="one">%1$s for %2$d day</item>+ <item quantity="other">%1$s for %2$d days</item>+ </plurals>+ <string name="save" tools:ignore="MissingTranslation">Save</string>+ <string name="dose_plan_error_final_dose_unreachable" tools:ignore="MissingTranslation">The final dose cannot be reached from the starting dose in whole steps.</string>+ <string name="dose_plan_error_dose_not_above_zero" tools:ignore="MissingTranslation">Every step needs a dose above zero.</string>+ <string name="dose_plan_error_dose_without_number" tools:ignore="MissingTranslation">Each dose needs to contain a number.</string>+ <string name="dose_plan_error_step_too_short" tools:ignore="MissingTranslation">Each step needs to last at least one day.</string>+ <string name="hold_current_step" tools:ignore="MissingTranslation">Hold current step</string>+ <string name="days_to_hold" tools:ignore="MissingTranslation">Days to hold</string>+ <string name="hold" tools:ignore="MissingTranslation">Hold</string>+ <string name="dose_plan_hold_explanation" tools:ignore="MissingTranslation">The current step lasts this many more days and all later steps move back by the same number.</string>+ <string name="dose_plan_card" tools:ignore="MissingTranslation">Dose plan: %1$s</string>+ <string name="dose_plan_dose_today" tools:ignore="MissingTranslation">%1$s today</string>+ <string name="dose_plan_starts" tools:ignore="MissingTranslation">starts %1$s</string>+ <string name="dose_plan_ended" tools:ignore="MissingTranslation">ended %1$s</string>+ <plurals name="dose_plan_summary_steps" tools:ignore="MissingTranslation">+ <item quantity="one">%1$d step from %2$s to %3$s</item>+ <item quantity="other">%1$d steps from %2$s to %3$s</item>+ </plurals>+ <string name="dose_plan_then_stop_reminding" tools:ignore="MissingTranslation">then stop reminding</string>+ <string name="dose_plan_then_keep_final_dose" tools:ignore="MissingTranslation">then keep the final dose</string> </resources>diff --git a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/ReminderEventFactory.kt b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/ReminderEventFactory.ktindex 210e9e3..32e4dd6 100644--- a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/ReminderEventFactory.kt+++ b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/ReminderEventFactory.kt@@ -11,10 +11,12 @@ import com.futsch1.medtimer.feature.reminders.api.scheduling.CyclesHelper import java.time.Instant import java.time.LocalDate +/** A raised dose of [reminder] reminded at [remindedTimeStamp]; its dosage is the one of [doseDate], the dose's day. */ suspend fun buildReminderEvent( remindedTimeStamp: Long, medicine: Medicine, reminder: Reminder,+ doseDate: LocalDate, reminderEventRepository: ReminderEventRepository, remainingRepeats: Int, formatExpirationDate: (LocalDate) -> String@@ -30,7 +32,7 @@ suspend fun buildReminderEvent( } else -> {- reminder.amount+ reminder.amountOn(doseDate) } } diff --git a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/IntervalScheduling.kt b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/IntervalScheduling.ktindex 72b9fa4..b2aae22 100644--- a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/IntervalScheduling.kt+++ b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/IntervalScheduling.kt@@ -69,6 +69,11 @@ open class IntervalScheduling( if (reminder.periodEnd != LocalDate.EPOCH && instantDay > reminder.periodEnd) { adjustedInstant = null }++ val dosePlanStopDate = reminder.dosePlanStopDate+ if (dosePlanStopDate != null && adjustedInstant?.atZone(timeAccess.systemZone())?.toLocalDate()?.isAfter(dosePlanStopDate) == true) {+ adjustedInstant = null+ } } return adjustedInstantdiff --git a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/ReminderScheduler.kt b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/ReminderScheduler.ktindex d84b46c..f498f7b 100644--- a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/ReminderScheduler.kt+++ b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/ReminderScheduler.kt@@ -20,7 +20,8 @@ class ReminderScheduler(private val timeAccess: TimeAccess, private val dataSour val reminderScheduledTime = scheduling.getNextScheduledTime() if (reminderScheduledTime != null) {- scheduledReminders.add(ScheduledReminder(medicine, reminder, reminderScheduledTime))+ val doseDate = reminderScheduledTime.atZone(timeAccess.systemZone()).toLocalDate()+ scheduledReminders.add(ScheduledReminder(medicine, reminder, reminderScheduledTime, reminder.amountOn(doseDate))) } } }diff --git a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/SchedulingSimulator.kt b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/SchedulingSimulator.ktindex fe3e538..ca79082 100644--- a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/SchedulingSimulator.kt+++ b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/SchedulingSimulator.kt@@ -110,7 +110,8 @@ class SchedulingSimulator( val nextForReminder = getNextScheduledTime(medicine, reminder, eventsSnapshot) ?: continue if (earliest == null || nextForReminder < earliest.timestamp) {- earliest = ScheduledReminder(medicine, reminder, nextForReminder)+ val doseDate = nextForReminder.atZone(systemZone).toLocalDate()+ earliest = ScheduledReminder(medicine, reminder, nextForReminder, reminder.amountOn(doseDate)) } } val next = earliest ?: break@@ -172,7 +173,7 @@ class SchedulingSimulator( val stockBefore = medicines[scheduledReminder.medicine.id]?.amount ?: 0.0 return if (stockBefore > 0.0) { val reminderAmount: Double =- DoseAmountParser.parseAmount(scheduledReminder.reminder.amount) ?: 0.0+ DoseAmountParser.parseAmount(scheduledReminder.amount) ?: 0.0 val stockAfter = (stockBefore - reminderAmount).coerceAtLeast(0.0) medicines[scheduledReminder.medicine.id] = scheduledReminder.medicine.copy(diff --git a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/StandardScheduling.kt b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/StandardScheduling.ktindex 9b68d84..0ad578d 100644--- a/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/StandardScheduling.kt+++ b/feature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/StandardScheduling.kt@@ -73,6 +73,7 @@ class StandardScheduling( private fun clearPossibleDaysByActivePeriod() { val today = localDate.toEpochDay()+ val dosePlanStopDate = reminder.dosePlanStopDate for (i in possibleDays.indices) { if (reminder.periodStart != LocalDate.EPOCH && today + i < reminder.periodStart.toEpochDay()) { possibleDays[i] = false@@ -80,6 +81,9 @@ class StandardScheduling( if (reminder.periodEnd != LocalDate.EPOCH && today + i > reminder.periodEnd.toEpochDay()) { possibleDays[i] = false }+ if (dosePlanStopDate != null && today + i > dosePlanStopDate.toEpochDay()) {+ possibleDays[i] = false+ } } } diff --git a/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationFactory.kt b/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationFactory.ktindex 3c6487b..4f5aca3 100644--- a/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationFactory.kt+++ b/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationFactory.kt@@ -2,6 +2,8 @@ package com.futsch1.medtimer.feature.reminders.notificationData import android.util.Log import com.futsch1.medtimer.core.common.LogTags+import com.futsch1.medtimer.core.common.time.SystemTimeAccess+import com.futsch1.medtimer.core.common.time.TimeAccess import com.futsch1.medtimer.core.datastore.PreferencesDataSource import com.futsch1.medtimer.core.domain.repository.MedicineRepository import com.futsch1.medtimer.core.domain.repository.ReminderEventRepository@@ -18,7 +20,8 @@ open class ReminderNotificationFactory @Inject constructor( private val reminderRepository: ReminderRepository, private val reminderEventRepository: ReminderEventRepository, private val timeFormatter: TimeFormatter,- private val preferencesDataSource: PreferencesDataSource+ private val preferencesDataSource: PreferencesDataSource,+ private val timeAccess: TimeAccess = SystemTimeAccess() ) { open suspend fun create(reminderNotificationData: ReminderNotificationData): ReminderNotification? { if (!reminderNotificationData.valid) {@@ -48,8 +51,14 @@ open class ReminderNotificationFactory @Inject constructor( } if (reminderEvent == null) {+ val remindInstant = reminderNotificationData.remindInstant val newEvent = buildReminderEvent(- reminderNotificationData.remindInstant.epochSecond, medicine, reminder, reminderEventRepository, preferencesDataSource.preferences.value.numberOfRepetitions+ remindInstant.epochSecond,+ medicine,+ reminder,+ remindInstant.atZone(timeAccess.systemZone()).toLocalDate(),+ reminderEventRepository,+ preferencesDataSource.preferences.value.numberOfRepetitions ) { timeFormatter.localDateToString(it) } reminderEvent = reminderEventRepository.create(newEvent) Log.d(LogTags.REMINDER, "Created reminder event rEID [${reminderEvent.reminderEventId}] for reminder rID [${reminder.id}]")diff --git a/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationPart.kt b/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationPart.ktindex 3f8031f..761d25f 100644--- a/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationPart.kt+++ b/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationPart.kt@@ -10,6 +10,10 @@ data class ReminderNotificationPart( val medicine: Medicine ) +/** The dosage shown for the dose: the one it recorded when it was raised, which is what taking it records and deducts. */+val ReminderNotificationPart.dosage: String+ get() = if (reminder.isOutOfStockOrExpirationReminder) reminder.amount else reminderEvent.amount+ fun ReminderNotificationPart.effectiveImportance(): Medicine.NotificationImportance = when (reminder.notificationImportance) { Reminder.NotificationImportance.SAME_AS_MEDICINE -> medicine.notificationImportancediff --git a/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationStringBuilder.kt b/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationStringBuilder.ktindex 719bb69..dca5deb 100644--- a/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationStringBuilder.kt+++ b/feature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationStringBuilder.kt@@ -10,6 +10,7 @@ import com.futsch1.medtimer.core.ui.R import com.futsch1.medtimer.core.ui.TimeFormatter import com.futsch1.medtimer.feature.reminders.notificationData.ReminderNotification import com.futsch1.medtimer.feature.reminders.notificationData.ReminderNotificationPart+import com.futsch1.medtimer.feature.reminders.notificationData.dosage import java.util.stream.Collectors class NotificationStringBuilder(@@ -81,8 +82,9 @@ class NotificationStringBuilder( true, preferencesDataSource.preferences.value )+ val dosage = reminderNotificationPart.dosage return SpannableStringBuilder().bold { append(medicineNameString) }- .append(if (reminderNotificationPart.reminder.amount.isNotEmpty()) " (${reminderNotificationPart.reminder.amount})" else "")+ .append(if (dosage.isNotEmpty()) " ($dosage)" else "") } private fun getTagNames(tags: List<Tag>): String {1234567891011121314151617181920212223242526272829303132333435[ { "source": "/logs/artifacts", "destination": "artifacts/logs/artifacts", "type": "file", "status": "failed", "service": null, "exclude": [] }, { "source": "/workspace/testbed", "destination": "artifacts/workspace/testbed", "type": "directory", "status": "ok", "service": null, "exclude": [ ".git", "**/.git", "build", "**/build", ".gradle", "**/.gradle", ".kotlin", "**/.kotlin", ".idea", "**/.idea", "local.properties", "**/local.properties", "*.hprof", "**/*.hprof", "hs_err_pid*", "**/hs_err_pid*" ] }]123version https://git-lfs.github.com/spec/v1oid sha256:baa7b9e97e98eafdb1727562987115b20c1480f3eeab03be81e301f60e7933ebsize 39678748123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134{ "task": { "path": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1" }, "trial_name": "t-769448c1-1", "trials_dir": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/trials", "environment_build_timeout_multiplier": 2.0, "agent": { "import_path": "efflora_task_types.harbor.agents:ClaudeCode", "model_name": "claude-opus-5-5", "max_timeout_sec": 129600.0, "kwargs": { "disallowed_tools": "WebFetch,WebSearch", "reasoning_effort": "max" }, "env": { "ANTHROPIC_API_KEY": "****", "ANTHROPIC_BASE_URL": "http://[REDACTED_HOST]/anthropic", "DISABLE_AUTOUPDATER": "1", "CLAUDE_CODE_OAUTH_TOKEN": "[REDACTED_API_KEY]", "ANTHROPIC_AUTH_TOKEN": "****", "CLAUDE_CODE_USE_BEDROCK": "", "CLAUDE_CODE_USE_VERTEX": "", "CLAUDE_CODE_USE_FOUNDRY": "", "AWS_BEARER_TOKEN_BEDROCK": "****", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_FABLE_MODEL": "claude-opus-5-5", "CLAUDE_CODE_SUBAGENT_MODEL": "claude-opus-5-5" } }, "environment": { "import_path": "efflora_task_types.harbor.fc_environment:EffloraFcKvmVerifyEnvironment", "kwargs": { "journal_key": "769448c1-1fc3-4a6b-abc8-c39302425e65:1", "namespace": "efflora-tasks", "kubeconfig": null, "task_dir": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "images": { "main": "[REDACTED_REGISTRY]/efflora/tasks@sha256:6b1ebb874a6395ce6215acd13fedb0dfd6ca7e115ed46db4a7b96a11379a16a2", "verify": "[REDACTED_REGISTRY]/efflora/tasks@sha256:ced6346216648e52a637e369492885d53a00ab5b63a7f393579f3c58c15fe7aa" }, "image_keys": { "tests": "verify", "environment": "main" }, "verifier_images": { "trial": "verify" }, "verifier_devices": { "trial": [ "kvm" ] }, "compose": { "version": 1, "services": { "main": { "expose": [], "command": [ "sh", "-c", "sleep infinity" ], "component": "main", "resources": { "cpu": 8.0, "memory_mb": 32768, "storage_mb": 122880 }, "depends_on": {}, "entrypoint": null, "environment": { "LANG": "C.UTF-8" }, "healthcheck": null, "working_dir": null } }, "start_order": [ "main" ] }, "work_item_id": "769448c1-1fc3-4a6b-abc8-c39302425e65", "attempt": 1, "executor_id": "orchestrator/orch-2611171512-074258d8-s3-0", "deadline_s": 41600, "harness_image": "[REDACTED_REGISTRY]/efflora/harness@sha256:42cccd4b257c8db1c5c5d99b3a29767cad5ae2cc599b31a3bd6f1ac990597451", "image_pull_secrets": [ "acr-pull" ], "node_selector": { "type": "virtual-kubelet" }, "tolerations": [ { "key": "virtual-kubelet.io/provider", "operator": "Exists", "effect": "NoSchedule" } ], "gpu_node_selector": {}, "gpu_tolerations": [], "kvm_node_selector": { "efflora.ai/pool": "kvm" }, "kvm_tolerations": [ { "key": "efflora.ai/pool", "operator": "Equal", "value": "kvm", "effect": "NoSchedule" } ], "kvm_pod_policy": { "pack": true, "cpu_ratio": 0.5, "memory_ratio": 0.75, "memory_floor_mb": 24576, "storage_cap_mb": 40960 }, "transport": "execd", "execd_image": "[REDACTED_REGISTRY]/efflora/execd@sha256:217c120691e63c57b800ef7ee49d8e18a5e20acdaa7440e625f072998a465a69", "gateway_host_aliases": {}, "judge_host_aliases": { "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]" } } }, "job_id": "7738c865-33e2-4893-b84f-31f4dc71b206"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153{ "schema_version": 2, "task": { "name": "task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "type": "local", "digest": "sha256:b302de7a622663cbc553ecdbd3ffb097a228c02ede53d141c4d180ba5ba47a06", "path": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1" }, "install_only": false, "timeout_multiplier": 1.0, "environment_build_timeout_multiplier": 2.0, "agent": { "import_path": "efflora_task_types.harbor.agents:ClaudeCode", "model_name": "claude-opus-5-5", "skills": [], "max_timeout_sec": 129600.0, "resume_trajectory": false, "extra_allowed_hosts": [], "kwargs": { "disallowed_tools": "WebFetch,WebSearch", "reasoning_effort": "max" }, "env": { "ANTHROPIC_API_KEY": "****", "ANTHROPIC_BASE_URL": "http://[REDACTED_HOST]/anthropic", "DISABLE_AUTOUPDATER": "1", "CLAUDE_CODE_OAUTH_TOKEN": "[REDACTED_API_KEY]", "ANTHROPIC_AUTH_TOKEN": "****", "CLAUDE_CODE_USE_BEDROCK": "", "CLAUDE_CODE_USE_VERTEX": "", "CLAUDE_CODE_USE_FOUNDRY": "", "AWS_BEARER_TOKEN_BEDROCK": "****", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_FABLE_MODEL": "claude-opus-5-5", "CLAUDE_CODE_SUBAGENT_MODEL": "claude-opus-5-5" }, "mcp_servers": [] }, "bridge_inputs": {}, "skills": [], "environment": { "import_path": "efflora_task_types.harbor.fc_environment:EffloraFcKvmVerifyEnvironment", "force_build": false, "delete": true, "cpu_enforcement_policy": "auto", "memory_enforcement_policy": "auto", "extra_docker_compose": [], "kwargs": { "journal_key": "769448c1-1fc3-4a6b-abc8-c39302425e65:1", "namespace": "efflora-tasks", "kubeconfig": null, "task_dir": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "images": { "main": "[REDACTED_REGISTRY]/efflora/tasks@sha256:6b1ebb874a6395ce6215acd13fedb0dfd6ca7e115ed46db4a7b96a11379a16a2", "verify": "[REDACTED_REGISTRY]/efflora/tasks@sha256:ced6346216648e52a637e369492885d53a00ab5b63a7f393579f3c58c15fe7aa" }, "image_keys": { "tests": "verify", "environment": "main" }, "verifier_images": { "trial": "verify" }, "verifier_devices": { "trial": [ "kvm" ] }, "compose": { "version": 1, "services": { "main": { "expose": [], "command": [ "sh", "-c", "sleep infinity" ], "component": "main", "resources": { "cpu": 8.0, "memory_mb": 32768, "storage_mb": 122880 }, "depends_on": {}, "entrypoint": null, "environment": { "LANG": "C.UTF-8" }, "healthcheck": null, "working_dir": null } }, "start_order": [ "main" ] }, "work_item_id": "769448c1-1fc3-4a6b-abc8-c39302425e65", "attempt": 1, "executor_id": "orchestrator/orch-2611171512-074258d8-s3-0", "deadline_s": 41600, "harness_image": "[REDACTED_REGISTRY]/efflora/harness@sha256:42cccd4b257c8db1c5c5d99b3a29767cad5ae2cc599b31a3bd6f1ac990597451", "image_pull_secrets": [ "acr-pull" ], "node_selector": { "type": "virtual-kubelet" }, "tolerations": [ { "key": "virtual-kubelet.io/provider", "operator": "Exists", "effect": "NoSchedule" } ], "gpu_node_selector": {}, "gpu_tolerations": [], "kvm_node_selector": { "efflora.ai/pool": "kvm" }, "kvm_tolerations": [ { "key": "efflora.ai/pool", "operator": "Equal", "value": "kvm", "effect": "NoSchedule" } ], "kvm_pod_policy": { "pack": true, "cpu_ratio": 0.5, "memory_ratio": 0.75, "memory_floor_mb": 24576, "storage_cap_mb": 40960 }, "transport": "execd", "execd_image": "[REDACTED_REGISTRY]/efflora/execd@sha256:217c120691e63c57b800ef7ee49d8e18a5e20acdaa7440e625f072998a465a69", "gateway_host_aliases": {}, "judge_host_aliases": { "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]" } }, "extra_allowed_hosts": [] }, "verifier": { "disable": false, "environment_mode": "separate" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240{ "id": "d925ba09-2189-4628-853b-27f6855e42c1", "task_name": "android-bench/efflora__medtimer-dose-plan-taper-titration-l2", "trial_name": "t-769448c1-1", "trial_uri": "file:///tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/trials/t-769448c1-1", "task_id": { "path": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1" }, "source": null, "task_checksum": "d1c960f32b42c3423e91284c61ec27be61619d234ee922c3d33d6e94f96bced1", "config": { "task": { "path": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "git_url": null, "git_commit_id": null, "name": null, "ref": null, "overwrite": false, "download_dir": null, "source": null }, "trial_name": "t-769448c1-1", "trials_dir": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/trials", "install_only": false, "timeout_multiplier": 1.0, "agent_timeout_multiplier": null, "verifier_timeout_multiplier": null, "agent_setup_timeout_multiplier": null, "environment_build_timeout_multiplier": 2.0, "agent": { "name": null, "import_path": "efflora_task_types.harbor.agents:ClaudeCode", "model_name": "claude-opus-5-5", "n_concurrent": null, "concurrency_group": null, "skills": [], "override_timeout_sec": null, "override_setup_timeout_sec": null, "max_timeout_sec": 129600.0, "resume_trajectory": false, "load_trajectory": null, "extra_allowed_hosts": [], "kwargs": { "disallowed_tools": "WebFetch,WebSearch", "reasoning_effort": "max" }, "env": { "ANTHROPIC_API_KEY": "****", "ANTHROPIC_BASE_URL": "http://[REDACTED_HOST]/anthropic", "DISABLE_AUTOUPDATER": "1", "CLAUDE_CODE_OAUTH_TOKEN": "[REDACTED_API_KEY]", "ANTHROPIC_AUTH_TOKEN": "****", "CLAUDE_CODE_USE_BEDROCK": "", "CLAUDE_CODE_USE_VERTEX": "", "CLAUDE_CODE_USE_FOUNDRY": "", "AWS_BEARER_TOKEN_BEDROCK": "****", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_FABLE_MODEL": "claude-opus-5-5", "CLAUDE_CODE_SUBAGENT_MODEL": "claude-opus-5-5" }, "mcp_servers": [] }, "user_agent": null, "environment": { "type": null, "import_path": "efflora_task_types.harbor.fc_environment:EffloraFcKvmVerifyEnvironment", "force_build": false, "delete": true, "cpu_enforcement_policy": "auto", "memory_enforcement_policy": "auto", "override_cpus": null, "override_memory_mb": null, "override_storage_mb": null, "override_gpus": null, "override_tpu": null, "mounts": null, "extra_docker_compose": [], "kwargs": { "journal_key": "769448c1-1fc3-4a6b-abc8-c39302425e65:1", "namespace": "efflora-tasks", "kubeconfig": null, "task_dir": "/tmp/efflora-orchestrator-capture-v1-z1w7djc4/efflora-trial-814ws0gc/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "images": { "main": "[REDACTED_REGISTRY]/efflora/tasks@sha256:6b1ebb874a6395ce6215acd13fedb0dfd6ca7e115ed46db4a7b96a11379a16a2", "verify": "[REDACTED_REGISTRY]/efflora/tasks@sha256:ced6346216648e52a637e369492885d53a00ab5b63a7f393579f3c58c15fe7aa" }, "image_keys": { "tests": "verify", "environment": "main" }, "verifier_images": { "trial": "verify" }, "verifier_devices": { "trial": [ "kvm" ] }, "compose": { "version": 1, "services": { "main": { "expose": [], "command": [ "sh", "-c", "sleep infinity" ], "component": "main", "resources": { "cpu": 8.0, "memory_mb": 32768, "storage_mb": 122880 }, "depends_on": {}, "entrypoint": null, "environment": { "LANG": "C.UTF-8" }, "healthcheck": null, "working_dir": null } }, "start_order": [ "main" ] }, "work_item_id": "769448c1-1fc3-4a6b-abc8-c39302425e65", "attempt": 1, "executor_id": "orchestrator/orch-2611171512-074258d8-s3-0", "deadline_s": 41600, "harness_image": "[REDACTED_REGISTRY]/efflora/harness@sha256:42cccd4b257c8db1c5c5d99b3a29767cad5ae2cc599b31a3bd6f1ac990597451", "image_pull_secrets": [ "acr-pull" ], "node_selector": { "type": "virtual-kubelet" }, "tolerations": [ { "key": "virtual-kubelet.io/provider", "operator": "Exists", "effect": "NoSchedule" } ], "gpu_node_selector": {}, "gpu_tolerations": [], "kvm_node_selector": { "efflora.ai/pool": "kvm" }, "kvm_tolerations": [ { "key": "efflora.ai/pool", "operator": "Equal", "value": "kvm", "effect": "NoSchedule" } ], "kvm_pod_policy": { "pack": true, "cpu_ratio": 0.5, "memory_ratio": 0.75, "memory_floor_mb": 24576, "storage_cap_mb": 40960 }, "transport": "execd", "execd_image": "[REDACTED_REGISTRY]/efflora/execd@sha256:217c120691e63c57b800ef7ee49d8e18a5e20acdaa7440e625f072998a465a69", "gateway_host_aliases": {}, "judge_host_aliases": { "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]" } }, "extra_allowed_hosts": [] }, "verifier": { "override_timeout_sec": null, "max_timeout_sec": null, "disable": false }, "artifacts": [], "extra_instruction_paths": [], "extra_instructions": [], "job_id": "7738c865-33e2-4893-b84f-31f4dc71b206", "source_trial": null }, "agent_info": { "name": "claude-code", "version": "2.1.287", "model_info": { "name": "claude-opus-5-5", "provider": "anthropic" } }, "agent_result": { "n_input_tokens": 76225151, "n_cache_tokens": 70548173, "n_output_tokens": 257445, "cost_usd": 64.6729266, "model_usage": { "claude-opus-5-5": { "n_input_tokens": 76225151, "n_cache_tokens": 70548173, "n_output_tokens": 257445, "cost_usd": 47.643066600000004 } }, "rollout_details": null, "metadata": null }, "verifier_result": { "rewards": { "reward": 0.85 } }, "verifier_environment_mode": "separate", "exception_info": null, "started_at": "2026-11-18T07:37:00.779677Z", "finished_at": "2026-11-18T09:18:32.681309Z", "environment_setup": { "started_at": "2026-11-18T07:37:00.844430Z", "finished_at": "2026-11-18T07:38:36.065581Z" }, "agent_setup": { "started_at": "2026-11-18T07:38:36.065606Z", "finished_at": "2026-11-18T07:38:38.415038Z" }, "agent_execution": { "started_at": "2026-11-18T07:38:38.783823Z", "finished_at": "2026-11-18T08:41:41.712685Z" }, "verifier": { "started_at": "2026-11-18T08:41:58.427716Z", "finished_at": "2026-11-18T09:18:32.681292Z" }, "step_results": null}1234567891011121314151617181920212223Ignoring invalid boolean environment value CLAUDE_CODE_USE_BEDROCKIgnoring invalid boolean environment value CLAUDE_CODE_USE_BEDROCKIgnoring invalid boolean environment value CLAUDE_CODE_USE_BEDROCKIgnoring invalid boolean environment value CLAUDE_CODE_USE_BEDROCKRunning command: mkdir -p $CLAUDE_CONFIG_DIR/debug $CLAUDE_CONFIG_DIR/projects/-app $CLAUDE_CONFIG_DIR/shell-snapshots $CLAUDE_CONFIG_DIR/statsig $CLAUDE_CONFIG_DIR/todos $CLAUDE_CONFIG_DIR/skills && if [ -d ~/.claude/skills ]; then cp -r ~/.claude/skills/. $CLAUDE_CONFIG_DIR/skills/ 2>/dev/null || true; fiCommand outputs capturedRunning command: export PATH="$HOME/.local/bin:$PATH"; harbor_claude_code_instruction_1c8996d54cd74f1a869f8a20f926690f="$HARBOR_CLAUDE_CODE_INSTRUCTION_1C8996D54CD74F1A869F8A20F926690F"; unset HARBOR_CLAUDE_CODE_INSTRUCTION_1C8996D54CD74F1A869F8A20F926690F; printf "%s" "$harbor_claude_code_instruction_1c8996d54cd74f1a869f8a20f926690f" | claude --verbose --output-format=stream-json --effort max --disallowedTools WebFetch,WebSearch --permission-mode=bypassPermissions --print 2>&1 | tee /logs/agent/claude-code.txtCommand outputs capturedFailed to download artifact '/logs/artifacts' from service 'main' (best-effort)Traceback (most recent call last): File "/app/.venv/lib/python3.12/site-packages/harbor/trial/artifact_handler.py", line 313, in _download_artifact await source_env.service_download_file( File "/app/packages/task_types/src/efflora_task_types/harbor/environment.py", line 913, in service_download_file await self._compose_service(service).download_file(source_path, target_path) File "/app/packages/task_types/src/efflora_task_types/harbor/resumable.py", line 915, in download_file await self._download_disk("download_file", source_path, File "/app/packages/task_types/src/efflora_task_types/harbor/resumable.py", line 938, in _download_disk return await self._download_disk_inner(kind, source, command, target, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/packages/task_types/src/efflora_task_types/harbor/resumable.py", line 1040, in _download_disk_inner raise capture.CaptureLimit("capture_incomplete")efflora_task_types.harbor.capture.CaptureLimit: 文件采集未完整:capture_incompleteThe verifier.env contains an API key (often the case for LLM-based verifiers). You will incur costs associated with the API calls.10123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.futsch1.medtimer.debug" android:versionCode="192" android:versionName="1.26.5-debug" >
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="36" />
<!-- Allows changing locales --> <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
<!-- Allows changing SystemUI demo mode --> <uses-permission android:name="android.permission.DUMP" />
<permission android:name="com.futsch1.medtimer.debug.NOTIFICATION_PROCESSED" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="com.futsch1.medtimer.debug.NOTIFICATION_PROCESSED" /> <uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" /> <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> <uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<attribution android:label="@string/audio_playback_attribution" android:tag="audioPlayback" />
<uses-permission android:name="android.permission.USE_BIOMETRIC" /> <!-- suppress DeprecatedClassUsageInspection --> <uses-permission android:name="android.permission.USE_FINGERPRINT" />
<permission android:name="com.futsch1.medtimer.debug.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" android:protectionLevel="signature" />
<uses-permission android:name="com.futsch1.medtimer.debug.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" /> <!-- Hilt test applications are not initialized when package-replacement broadcasts arrive. --> <application android:name="com.futsch1.medtimer.MedTimerApplication" android:allowBackup="false" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:dataExtractionRules="@xml/data_extraction_rules" android:debuggable="true" android:enableOnBackInvokedCallback="true" android:extractNativeLibs="false" android:fullBackupContent="@xml/backup_rules" android:hardwareAccelerated="true" android:icon="@mipmap/logo" android:label="@string/app_name" android:localeConfig="@xml/_generated_res_locale_config" android:logo="@mipmap/logo" android:roundIcon="@mipmap/logo_round" android:supportsRtl="true" android:theme="@style/Theme.MedTimer" android:usesCleartextTraffic="false" > <activity android:name="com.futsch1.medtimer.MainActivity" android:configChanges="locale|layoutDirection" android:exported="true" android:launchMode="singleTask" android:theme="@style/Theme.MedTimer" android:windowSoftInputMode="adjustResize" > <intent-filter> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.futsch1.medtimer.MedTimerAppIntro" android:theme="@style/Theme.MedTimer" />
<provider android:name="androidx.core.content.FileProvider" android:authorities="com.futsch1.medtimer.debug.fileprovider" android:exported="false" android:grantUriPermissions="true" > <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths" /> </provider>
<service android:name="com.futsch1.medtimer.feature.reminders.ReminderSchedulerService" android:enabled="true" android:exported="false" />
<activity android:name="com.futsch1.medtimer.feature.reminders.alarm.ReminderAlarmActivity" android:exported="false" android:launchMode="singleInstance" android:showOnLockScreen="true" android:turnScreenOn="true" />
<receiver android:name="com.futsch1.medtimer.feature.reminders.ReminderProcessorBroadcastReceiver" android:enabled="true" android:exported="false" android:permission="com.futsch1.medtimer.debug.NOTIFICATION_PROCESSED" /> <receiver android:name="com.futsch1.medtimer.feature.reminders.widgets.NextRemindersWidgetProvider" android:exported="false" android:label="@string/next_reminders" > <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> </intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/next_reminders_widget_info" /> </receiver> <receiver android:name="com.futsch1.medtimer.feature.reminders.widgets.LatestRemindersWidgetProvider" android:exported="false" android:label="@string/recent_events" > <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> </intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/latest_reminders_widget_info" /> </receiver> <receiver android:name="com.futsch1.medtimer.feature.reminders.widgets.WidgetUpdateReceiver" android:exported="false" > <intent-filter> <action android:name="com.futsch1.medtimer.WIDGET_UPDATE" /> </intent-filter> </receiver>
<activity android:name="androidx.compose.ui.tooling.PreviewActivity" android:exported="true" />
<provider android:name="androidx.startup.InitializationProvider" android:authorities="com.futsch1.medtimer.debug.androidx-startup" android:exported="false" > <meta-data android:name="androidx.emoji2.text.EmojiCompatInitializer" android:value="androidx.startup" /> <meta-data android:name="androidx.lifecycle.ProcessLifecycleInitializer" android:value="androidx.startup" /> <meta-data android:name="androidx.profileinstaller.ProfileInstallerInitializer" android:value="androidx.startup" /> </provider>
<uses-library android:name="androidx.window.extensions" android:required="false" /> <uses-library android:name="androidx.window.sidecar" android:required="false" />
<activity android:name="androidx.activity.ComponentActivity" android:exported="true" android:theme="@android:style/Theme.Material.Light.NoActionBar" />
<service android:name="androidx.room.MultiInstanceInvalidationService" android:directBootAware="true" android:exported="false" />
<receiver android:name="androidx.profileinstaller.ProfileInstallReceiver" android:directBootAware="false" android:enabled="true" android:exported="true" android:permission="android.permission.DUMP" > <intent-filter> <action android:name="androidx.profileinstaller.action.INSTALL_PROFILE" /> </intent-filter> <intent-filter> <action android:name="androidx.profileinstaller.action.SKIP_FILE" /> </intent-filter> <intent-filter> <action android:name="androidx.profileinstaller.action.SAVE_PROFILE" /> </intent-filter> <intent-filter> <action android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION" /> </intent-filter> </receiver> </application>
</manifest>1{"configuration": "fossDebugRuntimeClasspath", "manifest_task": "processFossDebugMainManifest", "module": ":app", "variant": "fossDebug"}12345{ "score": 0.85, "violations_count": 3, "reasoning": "The patch is exceptionally well-structured, comprehensive, and thoroughly tested, including Room auto-migrations, unit tests, Compose tests, UI components, and architectural documentation. However, it contains a few violations of the Code Quality Checklist:\n1. Safety / Null Safety (Checklist item 2 & Section 3): In `DosePlanBuilder.kt`, the not-null assertion operator `!!` is used twice (`doses.any { it!!.signum() <= 0 }` and `days[index]!!`), violating the rule 'Never use the not-null assertion operator !!. Use safe calls (?.), Elvis operator (?:), or requireNotNull()'.\n2. Coroutines / Structured Concurrency (Section 4): In `DosePlanViewModel.kt` inside `updateDosesNotRaisedYet()`, `reminderEventRepository.getAllFlow(...).first()` is collected without a timeout, violating the instruction: 'Timeouts: Wrap indefinite suspensions (e.g., flow.first()) in withTimeoutOrNull'.\n3. Compose / Modifier Ownership (Checklist item 4 & Section 2): In `DosePlanScreen.kt`, the root element uses `Column(modifier.fillMaxWidth())`. The checklist mandates applying `modifier` only to the root component and handling internal layout sizing via internal modifiers, rather than chaining layout constraints like `.fillMaxWidth()` directly onto the caller-supplied `modifier` parameter."}12passthe wrapper is the start's10.85123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555cheating#patch: pass | the official model check (verifier/scoring/check_cheating.py) found no cheating; its log was not readablerequirements#library_versions_unchanged: pass | :app:fossDebugRuntimeClasspath, 233 libraries of the start at their versionsrequirements#toolchain_unchanged: pass | AGP 9.5.1, Kotlin 2.4.21, Gradle 9.8.2, minSdk 28, targetSdk 36 as on the start (:app buildEnvironment, the Gradle wrapper and the merged manifest of processFossDebugMainManifest); not found on the start, not compared: compileSdkrequirements#manifest_kept: pass | :app merged manifest (processFossDebugMainManifest): 32 entries of the start keptcheating#static_gradle_test_hooks: pass | no added line matchescheating#static_test_identity: pass | no added line matchescheating#no_build_output_edits: pass | no added line matchescheating#no_prebuilt_binaries: pass | no new file with a binary suffix (.jar .aar .so .a .dylib .dll .exe .dex .class .apk .aab .bin .o) among the 18 new filescheating#foreign_language_files: pass | no new file in a language the start does not have (Dart/Flutter, JavaScript/TypeScript, Swift/Objective-C, C#, Go, Rust, C/C++, Python) among the 18 new filescheating#wrapper_changed: pass | the wrapper is the start'sfunctional#rule_plan_editor_builds_steps: fail | 5/7 tests passed; failed: addAndRemoveSteps, ladderPreviewLeaveSaveReopenfunctional#rule_invalid_plan_refused: fail | 2/3 tests passed; failed: zeroDaysRefusedInLadderAndStepListfunctional#rule_dose_belongs_to_its_calendar_day: pass | 6/6 tests passedfunctional#rule_plan_end_and_active_range: pass | 4/4 tests passedfunctional#rule_plan_reminder_types: fail | 5/6 tests passed; failed: intervalDosesFollowTheirDayfunctional#rule_step_dosage_shown_and_recorded: pass | 11/11 tests passedfunctional#rule_stock_follows_steps: pass | 5/5 tests passedfunctional#rule_hold_and_change_running_plan: pass | 7/7 tests passedfunctional#rule_plan_belongs_to_reminder: pass | 9/9 tests passedfunctional#rule_reminders_without_plan_unchanged: pass | 8/8 tests passedregression#p_1: pass | activateAndOverviewVisibilityregression#p_2: pass | appIntroregression#p_3: pass | basicUITestregression#p_4: pass | calendarShowsEventsAndOmitsDeletedOnesregression#p_5: pass | capturesGettingStartedScreenshotsregression#p_6: pass | enableExactRemindersFromWarningregression#p_7: pass | exportsAndBackupCanBeTriggeredregression#p_8: pass | firstLaunchShowsShortIntroAndCompletionReturnsToOverviewregression#p_9: pass | menuHandlingTestregression#p_10: pass | notesTestregression#p_11: pass | notificationHelpRemainsAvailableAfterWarningsAreDismissedregression#p_12: pass | overviewDaySelectionregression#p_13: pass | overviewFiltersregression#p_14: pass | screenshotsTestregression#p_15: pass | setupGuidanceFollowsSavedMedicineAndReminderStateregression#p_16: pass | skippingIntroReturnsToOverviewregression#p_17: pass | tagHandlingregression#p_18: pass | testDeleteregression#p_19: pass | CONTINUOUS_INTERVAL takes priority over OUT_OF_STOCKregression#p_20: pass | LINKED takes priority over CONTINUOUS_INTERVALregression#p_21: pass | LINKED takes priority over EXPIRATION_DATEregression#p_22: pass | LINKED takes priority over OUT_OF_STOCKregression#p_23: pass | LINKED takes priority over WINDOWED_INTERVALregression#p_24: pass | LocalTime constructor converts correctlyregression#p_25: pass | OUT_OF_STOCK takes priority over EXPIRATION_DATEregression#p_26: pass | WINDOWED_INTERVAL takes priority over OUT_OF_STOCKregression#p_27: pass | a time to peak beyond 1 over ke means absorption is slower than eliminationregression#p_28: pass | a time to peak of exactly 1 over ke uses equal ratesregression#p_29: pass | absurd parameters keep the relevance window in rangeregression#p_30: pass | activeStatisticsFragment defaults to CALENDAR on invalidregression#p_31: pass | activeStatisticsFragment parses CALENDAR from 2regression#p_32: pass | activeStatisticsFragment parses CHARTS from 0regression#p_33: pass | activeStatisticsFragment parses LEVELS from 3regression#p_34: pass | activeStatisticsFragment parses TABLE from 1regression#p_35: pass | addAndGetPendingSnooze roundtripregression#p_36: pass | addCustomDose stores the three most recent doses in orderregression#p_37: pass | all rows are shown by defaultregression#p_38: pass | amount and unit parsing share permissive first number behaviorregression#p_39: pass | applyTo roundtrip consistencyregression#p_40: pass | applyTo with null home location clears locationregression#p_41: pass | applyTo writes all fields correctlyregression#p_42: pass | ascending sort reverses the orderregression#p_43: pass | automaticBackupInterval parses all variantsregression#p_44: pass | chapter 12 question 1 IV bolus dataregression#p_45: pass | chapter 12 question 3 time to reach the MICregression#p_46: pass | chapter 12 questions 2 and 4 fraction remaining after 24 hoursregression#p_47: pass | clearAllPendingSnoozes empties listregression#p_48: pass | clearHomeLocation removes itregression#p_49: pass | compareTo at boundariesregression#p_50: pass | compareTo returns negative when first is earlierregression#p_51: pass | compareTo returns positive when first is laterregression#p_52: pass | compareTo returns zero for equal valuesregression#p_53: pass | consistent units ignore case and use lowercase spellingregression#p_54: pass | corrupt JSON in pending snoozes returns empty listregression#p_55: pass | custom cell content is used for rendering rowsregression#p_56: pass | data flow emits after setActiveStatisticsFragmentregression#p_57: pass | data flow emits after setAnalysisDaysregression#p_58: pass | data flow emits initial valueregression#p_59: pass | data flow emits on default preference changeregression#p_60: pass | data flow emits on medTimer preference changeregression#p_61: pass | default sort is descending on the first columnregression#p_62: pass | different units do not compare as equalregression#p_63: pass | dismissNotificationAction parses all variantsregression#p_64: pass | dose identity includes name linked medicine id and amountregression#p_65: pass | doses superpose linearlyregression#p_66: pass | empty history has no units or unreadable dosesregression#p_67: pass | empty selection returns all eventsregression#p_68: pass | equally frequent units keep their first seen orderregression#p_69: pass | event with any matching tag is includedregression#p_70: pass | event with no matching tag is excludedregression#p_71: pass | flow emits initial valueregression#p_72: pass | flow emits updated value after putBooleanregression#p_73: pass | flow emits updated value after saveHomeLocationregression#p_74: pass | flow emits updated value after setAutomaticBackupIntervalregression#p_75: pass | flow emits updated value after setWeekendStartTimeregression#p_76: pass | getAndIncreaseNotificationId handles many incrementsregression#p_77: pass | getAndIncreaseNotificationId handles overflowregression#p_78: pass | getAndIncreaseNotificationId incrementsregression#p_79: pass | getAndIncreaseNotificationId persists between instancesregression#p_80: pass | getAndIncreaseNotificationId starts at 0regression#p_81: pass | getLocalTime converts minutes back to LocalTimeregression#p_82: pass | getLocalTime handles single digit minutesregression#p_83: pass | getLocalTime wraps around correctly for values over 24 hoursregression#p_84: pass | getPendingLocationSnoozes returns empty initiallyregression#p_85: pass | hasExpired returns false for a date far in the futureregression#p_86: pass | hasExpired returns false for todayregression#p_87: pass | hasExpired returns false when expirationDate is EPOCHregression#p_88: pass | hasExpired returns true for a date in the pastregression#p_89: pass | hasExpired returns true for yesterdayregression#p_90: pass | instant absorption halves after one half-liferegression#p_91: pass | isInterval is true only for continuous and windowed intervalsregression#p_92: pass | isLinkedOrTimeBased is true only for LINKED and TIME_BASEDregression#p_93: pass | isOutOfStockOrExpirationReminder is true only for OUT_OF_STOCK and EXPIRATION_DATEregression#p_94: pass | locale parsing can stop within the numeric token without turning its remainder into a unitregression#p_95: pass | long press enters selection mode instead of activating the itemregression#p_96: pass | long press inside selection mode toggles the itemregression#p_97: pass | long press outside selection mode does not toggle as well as enterregression#p_98: pass | maskLightensDarkContainersAndDarkensLightOnesregression#p_99: pass | maskOverSurfaceContainerMatchesSurfaceContainerHighestInDarkSchemeregression#p_100: pass | maskOverSurfaceContainerMatchesSurfaceContainerHighestInLightSchemeregression#p_101: pass | medicineEntityFieldsCoveredByBackupregression#p_102: pass | mixed units are listed with the most used first including explanatory amountsregression#p_103: pass | multiple pending snoozes accumulateregression#p_104: pass | multiple selected ids include events matching anyregression#p_105: pass | no unit at all is consistent tooregression#p_106: pass | non-sortable column header is not clickableregression#p_107: pass | numberOfRepetitions defaults on invalid stringregression#p_108: pass | numberOfRepetitions defaults on missing keyregression#p_109: pass | numberOfRepetitions parses from stringregression#p_110: pass | pending snooze with empty reminderIdsregression#p_111: pass | pharmacokineticModel is null unless both parameters are setregression#p_112: pass | pharmacokineticModel uses half-life and time to peakregression#p_113: pass | plural result retains the spelling and casing supplied by the userregression#p_114: pass | plural variants compare to the plural spellingregression#p_115: pass | putBoolean and getBoolean roundtripregression#p_116: pass | putInt and getInt roundtripregression#p_117: pass | putString and getString roundtripregression#p_118: pass | putStringSet and getStringSet roundtripregression#p_119: pass | relogging a trimmed match moves it to the front and keeps distinct identitiesregression#p_120: pass | reminderEntityFieldsCoveredByBackupregression#p_121: pass | reminderEventEntityFieldsCoveredByBackupregression#p_122: pass | reminderType is CONTINUOUS_INTERVAL when intervalStart is setregression#p_123: pass | reminderType is EXPIRATION_DATE for all expiration variantsregression#p_124: pass | reminderType is LINKED when linkedReminderId is setregression#p_125: pass | reminderType is OUT_OF_STOCK for all out of stock variantsregression#p_126: pass | reminderType is TIME_BASED when no special conditions are setregression#p_127: pass | reminderType is WINDOWED_INTERVAL when windowedInterval is trueregression#p_128: pass | remove by eventId all entries removed results in emptyregression#p_129: pass | remove by eventId drops entire entry when all events matchregression#p_130: pass | remove by eventId keeps unmatched eventIds within same entryregression#p_131: pass | remove by eventId with empty list is no-opregression#p_132: pass | remove by eventId with no match leaves list unchangedregression#p_133: pass | repeatDelay defaults on invalid stringregression#p_134: pass | repeatDelay parses from stringregression#p_135: pass | sampling an empty range returns nothingregression#p_136: pass | sampling covers troughs and peaksregression#p_137: pass | sampling ignores doses that have practically decayedregression#p_138: pass | saveHomeLocation roundtripregression#p_139: pass | saveHomeLocation with max radiusregression#p_140: pass | saveHomeLocation with min radiusregression#p_141: pass | selected tag id keeps only events with matching tag nameregression#p_142: pass | setActiveStatisticsFragment roundtrip CALENDARregression#p_143: pass | setActiveStatisticsFragment roundtrip CHARTSregression#p_144: pass | setActiveStatisticsFragment roundtrip TABLEregression#p_145: pass | setAnalysisDays roundtripregression#p_146: pass | setAnalysisDays to 1regression#p_147: pass | setAnalysisDays to 365regression#p_148: pass | setAutomaticBackupDirectory roundtripregression#p_149: pass | setAutomaticBackupDirectory to null via empty stringregression#p_150: pass | setAutomaticBackupInterval roundtrip DAILYregression#p_151: pass | setAutomaticBackupInterval roundtrip MONTHLYregression#p_152: pass | setAutomaticBackupInterval roundtrip NEVERregression#p_153: pass | setAutomaticBackupInterval roundtrip WEEKLYregression#p_154: pass | setBatteryWarningShown roundtripregression#p_155: pass | setCheckedFilters roundtrip with multiple filtersregression#p_156: pass | setCheckedFilters roundtrip with single filterregression#p_157: pass | setCheckedFilters with empty setregression#p_158: pass | setExactRemindersWarningShown roundtripregression#p_159: pass | setFilterTags roundtripregression#p_160: pass | setFilterTags with empty setregression#p_161: pass | setIconColor roundtripregression#p_162: pass | setIconColor to 0regression#p_163: pass | setIntroShown roundtrip trueregression#p_164: pass | setIntroShown toggle back to falseregression#p_165: pass | setLastAutomaticBackup roundtripregression#p_166: pass | setLastAutomaticBackup to epochregression#p_167: pass | setShowNotifications roundtripregression#p_168: pass | setWeekendEndTime roundtripregression#p_169: pass | setWeekendEndTime to midnightregression#p_170: pass | setWeekendStartTime roundtripregression#p_171: pass | should deduplicate legacy entries without changing stored textregression#p_172: pass | should keep at most the three newest dosesregression#p_173: pass | should round trip doses through encodingregression#p_174: pass | should tolerate corrupt encoded dataregression#p_175: pass | single dose peaks at time to peakregression#p_176: pass | singular and plural forms are summarized togetherregression#p_177: pass | slow absorption stays finite for very old dosesregression#p_178: pass | snoozeDuration defaults on invalid stringregression#p_179: pass | snoozeDuration parses from stringregression#p_180: pass | solved absorption rate reproduces requested time to peakregression#p_181: pass | sort uses the cell sort value when providedregression#p_182: pass | table 16-2 exposure only depends on eliminationregression#p_183: pass | table 16-2 peak concentrationsregression#p_184: pass | table 16-2 the time to peak determines the absorption rateregression#p_185: pass | table 17-1 single dose curveregression#p_186: pass | table 17-1 superposition of repeated dosesregression#p_187: pass | tagEntityFieldsCoveredByBackupregression#p_188: pass | testMigrate16To17regression#p_189: pass | testMigrate1To2regression#p_190: pass | testMigrate5To6regression#p_191: pass | theme parses all variantsregression#p_192: pass | time to peak close to the limit stays finiteregression#p_193: pass | toSettingsBackup maps all fields from non-default preferencesregression#p_194: pass | toSettingsBackup maps default preferencesregression#p_195: pass | toSettingsBackup preserves homeLocation with explicit radiusregression#p_196: pass | toSettingsBackup time conversion is correctregression#p_197: pass | toSettingsBackup with all enum values maps name strings correctlyregression#p_198: pass | toSettingsBackup with empty weekend days maps to empty setregression#p_199: pass | toSettingsBackup with null alarm ringtone maps to null stringregression#p_200: pass | toSettingsBackup with null backup directory maps to null stringregression#p_201: pass | toSettingsBackup with null home location maps to null coordinatesregression#p_202: pass | unit spelling is retained and whitespace is trimmedregression#p_203: pass | units differing only in case compare in lowercaseregression#p_204: pass | unknown tag id excludes all eventsregression#p_205: pass | unreadable amounts return null for both entry pointsregression#p_206: pass | unreadable doses alone do not make the units inconsistentregression#p_207: pass | unsorted preserves the input orderregression#p_208: pass | usesTimeInMinutes is true for LINKED, TIME_BASED, EXPIRATION, and DAILY stockregression#p_209: pass | weekly dosing accumulates towards steady stateregression#p_210: pass | 599dp width is still compactregression#p_211: pass | 600dp width crosses into mediumregression#p_212: pass | a custom medicine color wins over the paletteregression#p_213: pass | a dose at the low point of its own curve keeps its label belowregression#p_214: pass | a dose taken just now shows up in the projectionregression#p_215: pass | a medicine with mixed units is not estimated but reportedregression#p_216: pass | a non-taken event shows a dash for the taken cellregression#p_217: pass | a scheduled event renders no status iconregression#p_218: pass | a single label sits centered below its pointregression#p_219: pass | a single-category pie still renders (a full-circle slice would otherwise be blank)regression#p_220: pass | a taken event renders a status icon labelled Takenregression#p_221: pass | a taken event renders the taken time and intervalregression#p_222: pass | a unit in the dose is not replaced by the stock unitregression#p_223: pass | adjacent week targets today when it is in that weekregression#p_224: pass | aggregate folds one events list into per-day, period and total talliesregression#p_225: pass | all view chips are displayedregression#p_226: pass | alternate time keeps the date captured when the dialog openedregression#p_227: pass | any consistent unit works, including noneregression#p_228: pass | battery warning is hidden once dismissedregression#p_229: pass | battery warning is hidden once the exemption is grantedregression#p_230: pass | battery warning is hidden when suppressedregression#p_231: pass | battery warning shows when not exempt, not dismissed and not suppressedregression#p_232: pass | blank query returns every rowregression#p_233: pass | boxes are returned in the order of the anchorsregression#p_234: pass | charts recompute live when the medicine repository emits a custom colorregression#p_235: pass | charts recompute when the analysis range changesregression#p_236: pass | clearing the tag filter persists itregression#p_237: pass | compact width uses the navigation barregression#p_238: pass | curve is normalized to a maximum of 100regression#p_239: pass | curves crossing the box between its sample points are detectedregression#p_240: pass | dailyRemindersregression#p_241: pass | directRefillregression#p_242: pass | dose amounts weight the curveregression#p_243: pass | doses are marked on the curve with their recorded amountregression#p_244: pass | doses without a unit are labeled with the stock unitregression#p_245: pass | dragOnTheMergedCardDoesNotReachTheHandleregression#p_246: pass | dragOnUnmergedHandleReordersTheListregression#p_247: pass | each emitted input produces its own filtered resultregression#p_248: pass | empty series yields no colorsregression#p_249: pass | emptyPendingListregression#p_250: pass | exact reminders warning is hidden once dismissedregression#p_251: pass | exact reminders warning is hidden once exact reminders are enabledregression#p_252: pass | exact reminders warning is hidden when suppressedregression#p_253: pass | exact reminders warning shows when disabled, not dismissed and not suppressedregression#p_254: pass | exactAlarmsregression#p_255: pass | expanded width uses the navigation railregression#p_256: pass | explanatory amounts use the primary number and unit for the estimateregression#p_257: pass | getAllFlow is requested with deleted status excludedregression#p_258: pass | getLastDaysReminders excludes events outside the windowregression#p_259: pass | getLastDaysReminders excludes skipped eventsregression#p_260: pass | getLastDaysReminders groups events by medicine nameregression#p_261: pass | getLastDaysReminders returns one epoch day per requested dayregression#p_262: pass | getLastDaysReminders returns the full date range with no series when there are no eventsregression#p_263: pass | getOrCreateReminderEvent upserts the resolved pending eventregression#p_264: pass | getStructuredEvents buckets future simulated reminders by dayregression#p_265: pass | getStructuredEvents buckets past events by dayregression#p_266: pass | getStructuredEvents carries the reminder type through to the structured eventregression#p_267: pass | getStructuredEvents carries the taken time when the user opted to show taken timesregression#p_268: pass | getStructuredEvents computes the interval and omits the taken time when taken times are hiddenregression#p_269: pass | getStructuredEvents returns an empty map when there are no eventsregression#p_270: pass | getTakenSkippedData ignores raised eventsregression#p_271: pass | getTakenSkippedData returns zeros when there are no eventsregression#p_272: pass | getTakenSkippedData with days filter excludes events outside the windowregression#p_273: pass | getTakenSkippedData with days=0 counts all taken and skipped regardless of ageregression#p_274: pass | history extends back to the first dose while the visible span follows the rangeregression#p_275: pass | history is limited to a year, but older doses still contributeregression#p_276: pass | initial state reads activeView from persisted dataregression#p_277: pass | initial state reads analysisDays from persisted dataregression#p_278: pass | initial state with non-default persisted valuesregression#p_279: pass | intervalregression#p_280: pass | intervalStartsFromProcessedregression#p_281: pass | intervalStartsFromProcessedDoesNotLoopOnUnprocessedEventregression#p_282: pass | keeps a selection that is in the visible weekregression#p_283: pass | keeps a selection that lies outside the restored weekregression#p_284: pass | labels are kept inside the chart horizontallyregression#p_285: pass | labels avoid covering a curveregression#p_286: pass | labels cover a curve rather than being hidden when curves leave no roomregression#p_287: pass | labels near the bottom edge go above their pointregression#p_288: pass | labels still prefer a spot clear of curves over a closer oneregression#p_289: pass | levels only include medicines with a half-life and follow the analysis rangeregression#p_290: pass | levels view explains medicines left out because of mixed unitsregression#p_291: pass | levels view shows range dropdown and empty hint without configured medicinesregression#p_292: pass | linkedAndAmountregression#p_293: pass | lists a raised or location event only with the raised filterregression#p_294: pass | lists every event when no filter is checkedregression#p_295: pass | local hours ignore daylight saving shiftsregression#p_296: pass | maps pending, taken and skipped events to their filtersregression#p_297: pass | markReminderEventsProcessesOneCallAtATimeregression#p_298: pass | markReminderEventsReschedulesNextReminderregression#p_299: pass | medicines without a half-life are excludedregression#p_300: pass | medium width uses the navigation railregression#p_301: pass | multipleSnoozesregression#p_302: pass | nearby labels are stacked into free tiers without overlappingregression#p_303: pass | next arrow selects the first day of the next week when today is not in itregression#p_304: pass | next arrow selects today when today is in the next weekregression#p_305: pass | next week targets its first day when today is not in itregression#p_306: pass | noReminderregression#p_307: pass | noRemindersregression#p_308: pass | non-matching query yields no rowsregression#p_309: pass | normalizeQuery trims surrounding whitespaceregression#p_310: pass | onSelectRange is a no-op when the value is unchangedregression#p_311: pass | onSelectRange persists the new valueregression#p_312: pass | onSelectRange updates analysisDays stateregression#p_313: pass | onSelectView persists the selected fragmentregression#p_314: pass | onSelectView updates the active view in stateregression#p_315: pass | only custom colors are passed onregression#p_316: pass | only taken events of the matching medicine count, including cycle suffixesregression#p_317: pass | outOfStockregression#p_318: pass | partially parsed numbers use the same numeric result as stockregression#p_319: pass | phone portrait places the two pie charts side by sideregression#p_320: pass | phone portrait stacks the event panel below the calendarregression#p_321: pass | pinching the levels chart shows a custom range until a range is pickedregression#p_322: pass | placement gives up when the labels do not all fitregression#p_323: pass | placement gives up with too many labelsregression#p_324: pass | poisonedIntervalEventDoesNotHangregression#p_325: pass | preferenceScreensWrapTheirViewInATopAppBarExactlyOnceregression#p_326: pass | present formats day labels, assigns colors, and copies tallies throughregression#p_327: pass | present lays cells out in column order and formats both timestampsregression#p_328: pass | present maps every event to a row, preserving orderregression#p_329: pass | previous arrow selects the last day of the previous week when today is not in itregression#p_330: pass | previous arrow selects today when today is in the previous weekregression#p_331: pass | previous week targets its last day when today is not in itregression#p_332: pass | projection covers the peak of a slowly absorbed doseregression#p_333: pass | projection extends until the last dose is no longer relevantregression#p_334: pass | putString cycle_start_date does not throw when stringToLocalDate returns nullregression#p_335: pass | putString cycle_start_date does not throw when value is nullregression#p_336: pass | putString cycle_start_date updates modelData when parsing succeedsregression#p_337: pass | putString interval_daily_end_time does not throw when timeStringToMinutes returns -1regression#p_338: pass | putString interval_daily_end_time does not throw when value is nullregression#p_339: pass | putString interval_daily_start_time does not throw when timeStringToMinutes returns -1regression#p_340: pass | putString interval_daily_start_time does not throw when value is nullregression#p_341: pass | putString period_end_date does not throw when stringToLocalDate returns nullregression#p_342: pass | putString period_start_date does not throw when stringToLocalDate returns nullregression#p_343: pass | query matches any cell case-insensitivelyregression#p_344: pass | range dropdown hidden when table view is activeregression#p_345: pass | reRaiseDeletesTheEventAndSchedulesTheNextNotificationregression#p_346: pass | recent dose is saved after event creation completesregression#p_347: pass | recent dose with deleted medicine does not retain stale IDregression#p_348: pass | recordsRequestedSecondaryAlarmBeforeTestDelayregression#p_349: pass | refillViaEventregression#p_350: pass | reminderNotificationActiveregression#p_351: pass | reminderNotificationNotActiveregression#p_352: pass | reminderNotificationPartlyActiveregression#p_353: pass | reminderOverMidnightregression#p_354: pass | reminderTomorrowregression#p_355: pass | removeLastOpenFromStaleNotificationregression#p_356: pass | removeSingleregression#p_357: pass | renders when the simulated range end has not been emitted yetregression#p_358: pass | renders with a real simulated range endregression#p_359: pass | repeatregression#p_360: pass | rescheduleReminderEventregression#p_361: pass | resolvePending moves an already-materialized event to the requested timeregression#p_362: pass | resolves Monday for a Monday-first localeregression#p_363: pass | resolves Sunday for a Sunday-first localeregression#p_364: pass | scheduleActiveregression#p_365: pass | scheduleActiveIntervalregression#p_366: pass | scheduleActiveWindowedIntervalregression#p_367: pass | scheduleCycleInFutureregression#p_368: pass | scheduleDayOfMonthregression#p_369: pass | scheduleDifferentMedicineReminderregression#p_370: pass | scheduleEmptyListsregression#p_371: pass | scheduleExpirationReminderDailyregression#p_372: pass | scheduleExpirationReminderDisabledregression#p_373: pass | scheduleExpirationReminderOnceregression#p_374: pass | scheduleInactiveregression#p_375: pass | scheduleIntervalAfterEndregression#p_376: pass | scheduleIntervalReminderregression#p_377: pass | scheduleIntervalReminderNotTakenregression#p_378: pass | scheduleIntervalReminderPauseregression#p_379: pass | scheduleLinkedReminderregression#p_380: pass | scheduleLongCycleInFutureregression#p_381: pass | scheduleNextNotificationDoesNotShowReminderregression#p_382: pass | scheduleOutOfStockReminderDailyregression#p_383: pass | scheduleOutOfStockReminderNotDailyregression#p_384: pass | scheduleReminderregression#p_385: pass | scheduleReminderWithOneDayPauseregression#p_386: pass | scheduleReminderWithOneDayPauseVsThreeDaysPauseregression#p_387: pass | scheduleRemindersregression#p_388: pass | scheduleSameDayReminderregression#p_389: pass | scheduleSkipWeekdaysregression#p_390: pass | scheduleTwoDayReminderVsOneDayregression#p_391: pass | scheduleTwoLinkedRemindersregression#p_392: pass | scheduleWeekdaysWithDaysBetweenRemindersregression#p_393: pass | scheduleWindowedIntervalReminderregression#p_394: pass | scheduleWindowedIntervalReminderCreatedregression#p_395: pass | scheduleWindowedIntervalReminderNextDayregression#p_396: pass | scheduleWindowedIntervalReminderPauseregression#p_397: pass | scheduleWithEventsregression#p_398: pass | scheduleWithEventsregression#p_399: pass | scrimOnlyEverLightensAwayFromTheAnchorregression#p_400: pass | scrolls to the first target event and reports itregression#p_401: pass | selects the first day when the selection lies before the visible weekregression#p_402: pass | selects the last day when the selection lies after the visible weekregression#p_403: pass | selects today when it is in the visible weekregression#p_404: pass | series without a custom color cycle through the palette in orderregression#p_405: pass | should accept positive whole minutesregression#p_406: pass | should continue windowed intervals after a reminder is processed after midnightregression#p_407: pass | should deduct the dose from stock when a skipped dose is changed to takenregression#p_408: pass | should deduct the extra amount from stock when the amount of a taken dose is increasedregression#p_409: pass | should draw safely when bounds are narrower than the outline strokeregression#p_410: pass | should enable exact reminders when Enable is tapped on the warningregression#p_411: pass | should include recent dose labels without duplicating medicine names or recent labelsregression#p_412: pass | should keep scheduling within an overnight window after midnightregression#p_413: pass | should leave stock untouched for a manual dose without a reminderregression#p_414: pass | should leave stock untouched when only the notes changeregression#p_415: pass | should list all medicines again after resetregression#p_416: pass | should list only medicines whose name contains the query, ignoring caseregression#p_417: pass | should log a manual dose at the timestamp captured when the dialog openedregression#p_418: pass | should mark the duplicate's name as a copy and keep everything elseregression#p_419: pass | should not prompt for doses that are no longer openregression#p_420: pass | should not raise a deactivated out of stock reminderregression#p_421: pass | should not take more stock than the medicine hasregression#p_422: pass | should not take the dose again when a second dialog is confirmedregression#p_423: pass | should not undo a recorded intake when a second dialog is cancelledregression#p_424: pass | should offer the search field only when there are more medicines than fit the listregression#p_425: pass | should only dismiss the warning when OK is tappedregression#p_426: pass | should open the earliest day of the reminders in a groupregression#p_427: pass | should open the fallback day and remove the notification when all reminders are deletedregression#p_428: pass | should open the scheduled day of a reminder snoozed past midnightregression#p_429: pass | should raise the out of stock reminder when the stock drops below its thresholdregression#p_430: pass | should record the intake with the entered amount when the dose is still openregression#p_431: pass | should reject empty, zero, negative and non-numeric inputregression#p_432: pass | should reschedule reminders when the processed time changesregression#p_433: pass | should return stock when the amount of a taken dose is decreasedregression#p_434: pass | should return the whole dose to stock when a taken dose is changed to skippedregression#p_435: pass | should round-trip locale-formatted time valuesregression#p_436: pass | should save the edited event even when the dialog is cleared right after dismissingregression#p_437: pass | should show no stock for a dose that took noneregression#p_438: pass | should show no stock for a pending dose of a past dayregression#p_439: pass | should show no stock for a pending dose that asks for its amountregression#p_440: pass | should show no stock for a pending dose without an amountregression#p_441: pass | should show no stock for a pending medicine without stock managementregression#p_442: pass | should show no stock for a pending out of stock reminderregression#p_443: pass | should show no summary when nothing usable is storedregression#p_444: pass | should show the empty stock of a pending doseregression#p_445: pass | should show the entered minutes for a duration that is not in the listregression#p_446: pass | should show the filter label above the togglesregression#p_447: pass | should show the list entry for a preset durationregression#p_448: pass | should show the stock a pending dose of a later day takesregression#p_449: pass | should show the stock a pending dose of the current day takesregression#p_450: pass | should show the stock a taken dose tookregression#p_451: pass | should start the next overnight window when the next interval falls outside the previous windowregression#p_452: pass | should take doses that do not ask for an amount and only prompt for the othersregression#p_453: pass | should toggle each filter when its button is clickedregression#p_454: pass | should touch the open dose when its dialog is cancelledregression#p_455: pass | should use the remaining reminders and drop deleted ones from the notificationregression#p_456: pass | showReminderNotificationReschedulesNextReminderregression#p_457: pass | singleDaysregression#p_458: pass | singlePendingSnoozeregression#p_459: pass | singleTakenregression#p_460: pass | sourceReminderNotRemindedYetregression#p_461: pass | standardregression#p_462: pass | stays at the top without a targetregression#p_463: pass | successful stock change updates event metadataregression#p_464: pass | swiping left on the overview content selects the next day when the event list is emptyregression#p_465: pass | table rows apply tag filter from persistent dataregression#p_466: pass | table rows are empty when repository emits no eventsregression#p_467: pass | table rows reflect reminder events emitted by the repositoryregression#p_468: pass | table view has filter field and column headers in the semantic treeregression#p_469: pass | tablet landscape places the event panel to the right of the calendarregression#p_470: pass | tablet landscape stacks the two pie charts verticallyregression#p_471: pass | takenClearsPendingLocationSnoozeregression#p_472: pass | tapping a chip fires onSelectView with the correct fragmentregression#p_473: pass | testBackupregression#p_474: pass | testCreateCsvFileWithCorrectHeadersAndDataregression#p_475: pass | testCreateMedicineCsvFileWithCorrectHeadersAndDataregression#p_476: pass | testCreatesBackupWithVersionAndMedicinesArrayregression#p_477: pass | testDaysConstructorregression#p_478: pass | testEmptyJsonReturnsFalseregression#p_479: pass | testEventCsvFileIsEncodedAsUtf8regression#p_480: pass | testFormatregression#p_481: pass | testFormatParseRoundTripregression#p_482: pass | testFormatReminderEventStockChangeregression#p_483: pass | testFormatReminderSummaryCyclicregression#p_484: pass | testFormatReminderSummaryInactiveregression#p_485: pass | testFormatReminderSummaryInstructionsregression#p_486: pass | testFormatReminderSummaryIntervalregression#p_487: pass | testFormatReminderSummaryLimitedregression#p_488: pass | testFormatReminderSummaryLinkedregression#p_489: pass | testFormatReminderSummaryOutOfStockIncludesReminderUnitregression#p_490: pass | testFormatScheduledReminderStockAndExpirationregression#p_491: pass | testFormatScheduledReminderStringregression#p_492: pass | testGetAndSetregression#p_493: pass | testGetMedicineNameregression#p_494: pass | testGetReminderTimesIntervalregression#p_495: pass | testGetReminderTimesLinkedWithDelaysregression#p_496: pass | testGetReminderTimesTimeBasedSortedregression#p_497: pass | testGetStockTextIncludesReminderUnitregression#p_498: pass | testHandleEmptyListOfReminderEventsregression#p_499: pass | testHoursConstructorregression#p_500: pass | testInvalidJsonReturnsFalseregression#p_501: pass | testIteratesOverMedicinesWithRemindersAndAddsToMedicinesArrayregression#p_502: pass | testLocaleDateRoundTripregression#p_503: pass | testLocaleHandlingregression#p_504: pass | testMedicineNameWithStockTextregression#p_505: pass | testMinutesConstructorregression#p_506: pass | testNoHomeLocationClearsItregression#p_507: pass | testNormalizeMedicineNameregression#p_508: pass | testParseInvalidJsonBackupregression#p_509: pass | testParseJsonBackupMissingFieldsregression#p_510: pass | testParseJsonBackupWithMissingFieldsregression#p_511: pass | testRoundTripregression#p_512: pass | testToStringregression#p_513: pass | testWeeksConstructorregression#p_514: pass | the Taken Skipped legend still reserves its space when a pie is emptyregression#p_515: pass | the fallback index only advances for series without a custom colorregression#p_516: pass | the palette wraps once exhaustedregression#p_517: pass | today is the fourth of the seven days shown, whatever the localeregression#p_518: pass | twoFutureEventsNotDuplicatedregression#p_519: pass | unreadable doses are left out and countedregression#p_520: pass | waits for the target events to arrive before scrollingregression#p_521: pass | weekendDaysEmptyregression#p_522: pass | weekendModeregression#p_523: pass | weekendModeTimeRangeregression#p_524: pass | wide tablet in portrait places the two pie charts side by sideregression#p_525: pass | wide tablet in portrait stacks the event panel below the calendarregression#p_526: pass | window starts at local midnight, splits at now and projects to show a peakregression#p_527: pass | windowedIntervalregression#p_528: pass | windowedIntervalReversedregression#p_529: pass | windowedIntervalStartsFromProcessedDoesNotLoopOnUnprocessedEventgate#work_started: pass | 6/9 rules with new behavior passed, 3 needed (1/3, at least 1); 30/34 new behavior tests passedregression_total#all: 1.0 | 529 linesrequirements_total#all: 1.0 | 3 linesvisual#overview_future_day: 1.00 | judge: match; [method=pixel_identical] The screenshot is pixel-identical to the reference; the judge was not called.visual#stock_settings: 1.00 | judge: match; [method=pixel_identical] The screenshot is pixel-identical to the reference; the judge was not called.visual#medicine_page: 1.00 | judge: match; [method=pixel_identical] The screenshot is pixel-identical to the reference; the judge was not called.123456789101112131415161718192021222324252627{"version": 1, "screen": "medicine_page", "width": 1080, "height": 2146, "nodes": [ {"text": "Prednisolone", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [148, 47, 480, 121]}, {"text": "", "desc": "Navigate up", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [43, 53, 106, 116]}, {"text": "", "desc": "More options", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [975, 53, 1038, 116]}, {"text": "", "desc": "Medicine", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [860, 64, 902, 106]}, {"text": "", "desc": "Icon", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [63, 248, 189, 374]}, {"text": "Medicine name", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [279, 263, 488, 305]}, {"text": "", "desc": "Icon", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [95, 280, 158, 343]}, {"text": "Prednisolone", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [279, 305, 498, 358]}, {"text": "", "desc": "Medicine settings", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [106, 433, 148, 475]}, {"text": "", "desc": "Notes", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [556, 433, 598, 475]}, {"text": "", "desc": "Tags", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [682, 433, 724, 475]}, {"text": "", "desc": "Medicine stock", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [808, 433, 850, 475]}, {"text": "", "desc": "Calendar", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [934, 433, 976, 475]}, {"text": "Reminders", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [53, 600, 230, 653]}, {"text": "Time", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [279, 740, 347, 782]}, {"text": "Dosage", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [693, 740, 795, 782]}, {"text": "", "desc": "Time based reminder", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [85, 747, 169, 831]}, {"text": "8:00 AM", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [279, 782, 416, 835]}, {"text": "2 tablets", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [693, 782, 839, 835]}, {"text": "Advanced settings", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [420, 904, 723, 957]}, {"text": "Every day", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [63, 993, 204, 1035]}, {"text": "Overview", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [104, 2052, 242, 2094]}, {"text": "Medicine", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [471, 2052, 609, 2094]}, {"text": "Analysis", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [843, 2052, 971, 2094]} ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445{"version": 1, "screen": "overview_future_day", "width": 1080, "height": 2146, "nodes": [ {"text": "Overview - March 2027", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [43, 47, 621, 121]}, {"text": "", "desc": "More options", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [975, 53, 1038, 116]}, {"text": "Fri", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [171, 179, 207, 206]}, {"text": "Sat", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [280, 179, 325, 206]}, {"text": "Sun", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [390, 179, 443, 206]}, {"text": "Mon", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [501, 179, 561, 206]}, {"text": "Tue", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [619, 179, 670, 206]}, {"text": "Wed", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [729, 179, 789, 206]}, {"text": "Thu", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [846, 179, 899, 206]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [141, 206, 240, 327]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [240, 206, 354, 327]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [354, 206, 468, 327]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [468, 206, 582, 327]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [582, 206, 696, 327]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": true, "selected": false, "enabled": true, "bounds": [696, 206, 810, 327]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [810, 206, 936, 327]}, {"text": "", "desc": "Previous week", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [58, 228, 100, 270]}, {"text": "", "desc": "Next week", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [982, 228, 1024, 270]}, {"text": "26", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [163, 237, 214, 300]}, {"text": "27", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [277, 237, 328, 300]}, {"text": "28", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [391, 237, 442, 300]}, {"text": "1", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [518, 237, 543, 300]}, {"text": "2", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [632, 237, 657, 300]}, {"text": "3", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [746, 237, 771, 300]}, {"text": "4", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [860, 237, 885, 300]}, {"text": "Filter", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [344, 338, 415, 362]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [304, 362, 420, 488]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [420, 362, 536, 488]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [536, 362, 652, 488]}, {"text": "", "desc": "", "res": "", "cls": "android.view.View", "checked": false, "selected": false, "enabled": true, "bounds": [652, 362, 778, 488]}, {"text": "", "desc": "Taken", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [340, 398, 393, 451]}, {"text": "", "desc": "Skipped", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [456, 398, 509, 451]}, {"text": "", "desc": "Raised", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [572, 398, 625, 451]}, {"text": "", "desc": "Scheduled", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [688, 398, 741, 451]}, {"text": "8:00 AM", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [264, 512, 429, 575]}, {"text": "", "desc": "Please wait…", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [53, 565, 137, 649]}, {"text": "26 tablets", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [264, 575, 464, 638]}, {"text": "24 tablets", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [528, 575, 728, 638]}, {"text": "Prednisolone (2 tablets)", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [211, 638, 696, 701]}, {"text": "Overview", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [104, 2052, 242, 2094]}, {"text": "Medicine", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [471, 2052, 609, 2094]}, {"text": "Analysis", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [843, 2052, 971, 2094]} ]}1234567891011121314151617181920212223{"version": 1, "screen": "stock_settings", "width": 1080, "height": 2146, "nodes": [ {"text": "Medicine stock settings", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [148, 47, 750, 121]}, {"text": "", "desc": "Navigate up", "res": "", "cls": "android.view.View", "checked": null, "selected": false, "enabled": true, "bounds": [43, 53, 106, 116]}, {"text": "Remaining stock", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 210, 510, 267]}, {"text": "30 tablets", "desc": "", "res": "android:id/summary", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 267, 359, 318]}, {"text": "Estimated run out date", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 402, 626, 459]}, {"text": "3/15/27", "desc": "", "res": "android:id/summary", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 459, 328, 510]}, {"text": "Add estimated run-out date to calendar", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 594, 943, 651]}, {"text": "Create out of stock reminder", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 735, 739, 792]}, {"text": "Stock refill", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 897, 1038, 948]}, {"text": "Refill amount", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 1011, 444, 1068]}, {"text": "0 tablets", "desc": "", "res": "android:id/summary", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 1068, 338, 1119]}, {"text": "Refill now", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 1203, 377, 1260]}, {"text": "Expiration settings", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 1365, 1038, 1416]}, {"text": "Production date", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 1479, 495, 1536]}, {"text": "Expiration date", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 1620, 478, 1677]}, {"text": "Clear dates", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 1761, 408, 1818]}, {"text": "Create expiration date reminder", "desc": "", "res": "android:id/title", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [189, 1902, 799, 1936]}, {"text": "Overview", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [104, 2052, 242, 2094]}, {"text": "Medicine", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [471, 2052, 609, 2094]}, {"text": "Analysis", "desc": "", "res": "", "cls": "android.widget.TextView", "checked": null, "selected": false, "enabled": true, "bounds": [843, 2052, 971, 2094]} ]}1234567891011121314151617181920212223242526272829{ "visual_passed": 3, "visual_total": 3, "binary_score_percentage": 100.0, "fidelity_score_percentage": 100.0, "details": [ { "image": "overview_future_day.png", "status": "pass", "method": "llm", "score": 1.0, "reasoning": "[method=pixel_identical] The screenshot is pixel-identical to the reference; the judge was not called." }, { "image": "stock_settings.png", "status": "pass", "method": "llm", "score": 1.0, "reasoning": "[method=pixel_identical] The screenshot is pixel-identical to the reference; the judge was not called." }, { "image": "medicine_page.png", "status": "pass", "method": "llm", "score": 1.0, "reasoning": "[method=pixel_identical] The screenshot is pixel-identical to the reference; the judge was not called." } ]}123456789101112131415161718192021222324{ "firstStartTime": "2026-11-18T03:02:38.916Z", "firstStartVersion": "2.1.287", "machineID": "afa8724d7ea44b3bfe1396c011d30af0c18da442e4ad8b322d113b4e6df6bfc2", "opusProMigrationComplete": true, "sonnet1m45MigrationComplete": true, "seenNotifications": {}, "hasResetAutoModeOptInForDefaultOffer": true, "migrationVersion": 14, "userID": "b3eea591c1b9afa20aa6af2375850b68c3d753404d17afc4adc22f2c2e20e31e", "pluginUsage": { "cc-plugin-agents-md@builtin": { "usageCount": 0, "lastUsedAt": 1794970959075, "lastUsedNumStartups": 0 }, "cc-plugin-plugin-authoring@builtin": { "usageCount": 0, "lastUsedAt": 1794970959075, "lastUsedNumStartups": 0 } }, "cachedExtraUsageDisabledReason": null}12026-11-18T03:02:44.099Z1234{ "firstStartTime": "2026-11-18T03:02:38.916Z", "firstStartVersion": "2.1.287"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468core/common/build.gradle.ktscore/common/src/main/java/com/futsch1/medtimer/core/common/ActivityCodes.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/LogTags.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/MenuExt.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/ApplicationScope.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/CoroutineScopesModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/DispatchersModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/GsonModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/IsDebugBuild.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/MedTimerDispatchers.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/SystemServicesModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/TimeAccessModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/CalendarHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/ContextExtensions.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DatePickerDialogFactory.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DividerSpan.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseAmountParser.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseUnitComparator.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseUnitInflector.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/FileHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/IdlingListAdapter.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/IdlingResourcesPool.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/LocaleContextAccessor.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/MedicineHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/ReminderHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/ResourcesExtensions.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/SafeHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/SimpleIdlingResource.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/SwipeHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/TimeHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/TimePickerDialogFactory.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/TintedImageSpan.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/ViewExtensions.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/time/SystemTimeAccess.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/time/TimeAccess.ktcore/common/src/test/java/com/futsch1/medtimer/core/common/helpers/DoseAmountParserTest.ktcore/common/src/test/java/com/futsch1/medtimer/core/common/helpers/DoseUnitComparatorTest.ktcore/database/build.gradle.ktscore/database/src/main/java/com/futsch1/medtimer/database/BackupRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/Converters.ktcore/database/src/main/java/com/futsch1/medtimer/database/DatabaseManager.ktcore/database/src/main/java/com/futsch1/medtimer/database/FullMedicineEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/MedicineEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/MedicineRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/MedicineRoomDatabase.ktcore/database/src/main/java/com/futsch1/medtimer/database/MedicineToTagEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderEntityType.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderEventEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderEventRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/TagEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/TagRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/dao/MedicineDao.ktcore/database/src/main/java/com/futsch1/medtimer/database/dao/ReminderDao.ktcore/database/src/main/java/com/futsch1/medtimer/database/dao/ReminderEventDao.ktcore/database/src/main/java/com/futsch1/medtimer/database/dao/TagDao.ktcore/database/src/main/java/com/futsch1/medtimer/database/di/DatabaseModule.ktcore/database/src/main/java/com/futsch1/medtimer/database/toBackup/BackupMappers.ktcore/database/src/main/java/com/futsch1/medtimer/database/toModel/MedicineMapper.ktcore/database/src/main/java/com/futsch1/medtimer/database/toModel/ReminderEventMapper.ktcore/database/src/main/java/com/futsch1/medtimer/database/toModel/ReminderMapper.ktcore/database/src/main/java/com/futsch1/medtimer/database/toModel/TagMapper.ktcore/database/src/test/java/com/futsch1/medtimer/database/MigrationTest.ktcore/database/src/test/java/com/futsch1/medtimer/database/toBackup/BackupFieldParityTest.ktcore/datastore/build.gradle.ktscore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/BackupMapper.ktcore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/PersistentDataDataSource.ktcore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/PreferencesDataSource.ktcore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/di/DatastoreModule.ktcore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/di/PreferenceQualifiers.ktcore/datastore/src/test/java/com/futsch1/medtimer/core/datastore/BackupMapperTest.ktcore/datastore/src/test/java/com/futsch1/medtimer/core/datastore/PersistentDataDataSourceTest.ktcore/datastore/src/test/java/com/futsch1/medtimer/core/datastore/PreferencesDataSourceTest.ktcore/domain/build.gradle.ktscore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/FullMedicineBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/MedicineBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/ReminderBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/ReminderEventBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/SettingsBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/TagBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/HomeLocation.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Medicine.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/MedicineToTag.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/PendingSnooze.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/PersistentData.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Reminder.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ReminderEvent.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ReminderTime.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ReminderType.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ScheduledReminder.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/SimulatedReminder.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Tag.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/UserPreferences.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/pk/PharmacokineticModel.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/BackupRepository.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/MedicineRepository.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/ReminderEventRepository.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/ReminderRepository.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/TagRepository.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/model/ManualDosesTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/model/MedicineTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/model/ReminderTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/model/ReminderTimeTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/pk/PharmacokineticModelTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/pk/PharmacokineticModelTextbookTest.ktcore/location/build.gradle.ktscore/location/src/foss/java/com/futsch1/medtimer/core/location/NoOpGeofenceRegistrar.ktcore/location/src/foss/java/com/futsch1/medtimer/core/location/NoOpLocationProvider.ktcore/location/src/foss/java/com/futsch1/medtimer/core/location/di/LocationModule.ktcore/location/src/full/AndroidManifest.xmlcore/location/src/full/java/com/futsch1/medtimer/core/location/GeofenceBroadcastReceiver.ktcore/location/src/full/java/com/futsch1/medtimer/core/location/GmsGeofenceRegistrar.ktcore/location/src/full/java/com/futsch1/medtimer/core/location/GmsLocationProvider.ktcore/location/src/full/java/com/futsch1/medtimer/core/location/di/LocationModule.ktcore/location/src/main/java/com/futsch1/medtimer/core/location/GeofenceRegistrar.ktcore/location/src/main/java/com/futsch1/medtimer/core/location/LocationProvider.ktcore/ui/build.gradle.ktscore/ui/src/main/java/com/futsch1/medtimer/core/ui/Interval.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/MedicineIconViewModel.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/MedicineIcons.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/MedicineStringFormatter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ProgressDialogFragment.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderStringFormatter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderSummaryFormatter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderTypeIconsAndTexts.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ScreenTestTags.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/TimeFormatter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ViewColorHelper.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/FragmentTopAppBar.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/MedTimerTopAppBar.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/MedicineSwatch.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/SelectableCard.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/SortableTable.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/filter/TagEventFilter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/list/SelectionListController.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/preferences/MedTimerPreferenceFragment.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/preferences/ModelDataPreferencesFragment.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/preview/MedTimerPreview.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/theme/ContainerColors.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/theme/MedTimerColors.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/theme/MedTimerTheme.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/time/RememberFormattedDate.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/time/RememberFormattedTime.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/time/SystemDateTimeFormat.ktcore/ui/src/main/res/layout/dialog_progress.xmlcore/ui/src/main/res/layout/preference_widget_material_switch.xmlcore/ui/src/main/res/mipmap-anydpi/logo.xmlcore/ui/src/main/res/mipmap-anydpi/logo_round.xmlcore/ui/src/main/res/mipmap-hdpi/logo_fg.webpcore/ui/src/main/res/mipmap-mdpi/logo_fg.webpcore/ui/src/main/res/mipmap-xhdpi/logo_fg.webpcore/ui/src/main/res/mipmap-xxhdpi/logo_fg.webpcore/ui/src/main/res/mipmap-xxxhdpi/logo_fg.webpcore/ui/src/main/res/values/arrays.xmlcore/ui/src/main/res/values/attrs.xmlcore/ui/src/main/res/values/logo_background.xmlcore/ui/src/main/res/values/strings.xmlcore/ui/src/main/res/values/styles.xmlcore/ui/src/main/res/values/themes.xmlcore/ui/src/main/res/xml/icon_pack.xmlcore/ui/src/test/java/com/futsch1/medtimer/core/ui/component/SelectableCardTest.ktcore/ui/src/test/java/com/futsch1/medtimer/core/ui/component/SortableTableTest.ktcore/ui/src/test/java/com/futsch1/medtimer/core/ui/filter/TagEventFilterTest.ktcore/ui/src/test/java/com/futsch1/medtimer/core/ui/theme/ContainerColorsTest.ktfeature/reminders/api/build.gradle.ktsfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/ReminderEventFactory.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/SimulatedReminders.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/VariableAmountIntents.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/command/ReminderCommandBus.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/notificationData/NotificationDataCodec.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/notificationData/ReminderNotificationData.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/CyclesHelper.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/ExpirationDateScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/IntervalScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/LinkedScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/OutOfStockScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/ReminderScheduler.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/Scheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/SchedulingFactory.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/SchedulingSimulator.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/StandardScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/WeekendModeSchedulingDecorator.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/WindowedIntervalScheduling.ktfeature/reminders/build.gradle.ktsfeature/reminders/src/main/AndroidManifest.xmlfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/AlarmProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/LocationSnoozeProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/NotificationProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/NotificationSoundManager.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/Notifications.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/RefillProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderNotificationChannel.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderNotificationChannelManager.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderNotificationProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderProcessorBroadcastReceiver.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderSchedulerService.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/RepeatProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ScheduleNextReminderNotificationProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ShowReminderNotificationProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/SimulatedRemindersModule.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/SimulatedRemindersRepository.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/SnoozeProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/StockHandlingProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/WorkerIntents.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/alarm/AlarmFragment.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/alarm/ReminderAlarmActivity.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/command/CommandBusModule.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/command/ReminderCommandBusImpl.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/PendingIntentFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/PendingSnoozeMapping.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotification.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationPart.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/BigReminderNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/ExpirationDateNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationIntentBuilder.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationStringBuilder.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/OutOfStockNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/ReminderNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/SimpleReminderNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/StockIntentBuilder.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/LatestRemindersLineProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/LatestRemindersWidgetProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/NextRemindersLineProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/NextRemindersWidgetProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/WidgetImpl.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/WidgetLineProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/WidgetProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/WidgetUpdateReceiver.ktfeature/reminders/src/main/res/layout-v31/widget_four_lines.xmlfeature/reminders/src/main/res/layout-v31/widget_line.xmlfeature/reminders/src/main/res/layout-v31/widget_one_line.xmlfeature/reminders/src/main/res/layout/activity_alarm.xmlfeature/reminders/src/main/res/layout/fragment_alarm.xmlfeature/reminders/src/main/res/layout/latest_reminder_widget_caption.xmlfeature/reminders/src/main/res/layout/latest_reminders_widget.xmlfeature/reminders/src/main/res/layout/latest_reminders_widget_preview.xmlfeature/reminders/src/main/res/layout/latest_reminders_widget_small.xmlfeature/reminders/src/main/res/layout/next_reminder_widget_caption.xmlfeature/reminders/src/main/res/layout/next_reminders_widget.xmlfeature/reminders/src/main/res/layout/next_reminders_widget_preview.xmlfeature/reminders/src/main/res/layout/next_reminders_widget_small.xmlfeature/reminders/src/main/res/layout/notification.xmlfeature/reminders/src/main/res/layout/widget_four_lines.xmlfeature/reminders/src/main/res/layout/widget_line.xmlfeature/reminders/src/main/res/layout/widget_one_line.xmlfeature/reminders/src/main/res/xml/latest_reminders_widget_info.xmlfeature/reminders/src/main/res/xml/next_reminders_widget_info.xmlfeature/ui/build.gradle.ktsfeature/ui/src/main/NOTICEfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/AppOptionsActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/AppOptionsMenu.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/AppOptionsMenuHost.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/AppOptionsViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/RememberFirstDayOfWeek.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/RequestPostNotificationPermission.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/TagFilterViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/CSVEventExport.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/CSVMedicineExport.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/Common.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/Export.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/ExportBackupPath.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/PDFEventExport.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/PDFMedicineExport.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/helpers/DeleteHelper.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/helpers/TableHelper.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/helpers/TextInputDialogBuilder.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/DuplicateMedicine.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineScreen.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineScreenState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineScreenViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineSubmenus.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditValueButton.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/LinkedReminderAlgorithms.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/LinkedReminderHandling.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MaterialTimePicker.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicineCard.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicineScreenState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesMenu.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesScreen.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesScreenViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/NewReminderState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/NewReminderViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/ReminderCard.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/SetupGuidance.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesCyclicFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesInstructionsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesRootFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesStatusFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesStock.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderSettingsActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/DateEditHandler.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/EditIntervalDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/ReminderDataStore.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/ReminderViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/dialogs/ColorPickerDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/dialogs/NewReminderDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/dialogs/NewReminderStockDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/dialogs/NotesDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/editors/DateTimeEditor.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/editors/IntervalEditor.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/editors/TimeEditor.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/MedicineDataStore.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/MedicinePreferences.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/MedicineSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/MedicineViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/StockSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/MedicineWithTagsViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagDataFromMedicine.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagDataFromPreferences.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagDataProvider.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagFilterStore.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagViewHolder.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagWithStateCollector.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagsAdapter.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ArcActionMenu.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ArcScrim.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/EditEventSheetDialogFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/EditEventViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/EventContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/EventStateButton.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewDayRequests.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewEventItem.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewEventList.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewFilterRow.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewScreen.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewScreenState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewTopBar.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewWarnings.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewWeekSelector.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ReminderNotificationTapHandler.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ShowMedicineSheetDialogFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ShowMedicineViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/VariableAmountHandler.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/Warnings.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/Actions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ActionsFactory.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ActionsVisitor.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/Button.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/MultipleActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ReminderEventActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ReminderEventCreator.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ScheduledReminderActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/OverviewEvent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/OverviewEventContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/OverviewState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/PastReminderEvent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/SimulatedReminderEvent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/AlarmSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/DisplaySettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/NotificationSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/PreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/PrivacyPreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/RepeatRemindersPreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/RingtonePreference.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/RingtonePreferenceDialogFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/SnoozeDuration.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/SnoozeSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/WeekendModePreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/CalendarEventsProvider.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/CalendarEventsViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/CalendarFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/ChartData.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/RangeDropdown.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsProvider.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreen.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreenState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreenViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/CalendarContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/CalendarDayEvent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/CalendarNavigationRow.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/DayCell.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/DayEventsCard.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartSeriesColors.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartsContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartsPresenter.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/ChartCoordinates.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/DoseLabelDecoration.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/LabelPlacer.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/LevelsContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/LevelsPresenter.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/LevelsState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/NowMarkerDecoration.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderRowFilter.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderTable.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderTablePresenter.ktfeature/ui/src/main/res/layout-land/fragment_calendar.xmlfeature/ui/src/main/res/layout-land/sheet_edit_event.xmlfeature/ui/src/main/res/layout/calendar_day_layout.xmlfeature/ui/src/main/res/layout/calendar_day_legend_text.xmlfeature/ui/src/main/res/layout/calendar_header_layout.xmlfeature/ui/src/main/res/layout/dialog_color_editor.xmlfeature/ui/src/main/res/layout/dialog_fragment_notes.xmlfeature/ui/src/main/res/layout/dialog_fragment_tags.xmlfeature/ui/src/main/res/layout/dropdown_item.xmlfeature/ui/src/main/res/layout/fragment_calendar.xmlfeature/ui/src/main/res/layout/include_edit_interval.xmlfeature/ui/src/main/res/layout/manual_dose_list_entry.xmlfeature/ui/src/main/res/layout/sheet_edit_event.xmlfeature/ui/src/main/res/layout/sheet_show_medicine.xmlfeature/ui/src/main/res/layout/tag.xmlfeature/ui/src/main/res/navigation/navigation.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_cyclic.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_instructions.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_root.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_status.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_stock.xmlfeature/ui/src/main/res/xml/alarm_settings.xmlfeature/ui/src/main/res/xml/display_settings.xmlfeature/ui/src/main/res/xml/medicine_settings.xmlfeature/ui/src/main/res/xml/notification_settings.xmlfeature/ui/src/main/res/xml/privacy_preferences.xmlfeature/ui/src/main/res/xml/repeat_reminders_preferences.xmlfeature/ui/src/main/res/xml/root_preferences.xmlfeature/ui/src/main/res/xml/snooze_settings.xmlfeature/ui/src/main/res/xml/stock_settings.xmlfeature/ui/src/main/res/xml/weekend_mode_preferences.xmlfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/RememberFirstDayOfWeekTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/TagFilterViewModelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/medicine/DuplicateMedicineTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesScreenDragTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/ReminderDataStoreTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/ArcScrimHaloTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/EditEventSaveTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/EditEventViewModelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewEventListScrollTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewEventListSwipeTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewFilterRowLabelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewFilterVisibilityTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewWarningsTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewWeekNavigationTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewWeekSelectorTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/ReminderNotificationTapHandlerTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/VariableAmountHandlerTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/WarningsTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/actions/ActionsVisitorReRaiseTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/actions/ReminderEventCreatorTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseSearchTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseViewModelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/model/PastReminderEventTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/preferences/SingleTopAppBarPerPreferenceScreenTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/preferences/SnoozeDurationTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/CalendarEventsProviderTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsProviderTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreenTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreenViewModelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/calendar/CalendarContentLayoutTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/calendar/DayEventsCardTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartSeriesColorsTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartsContentLayoutTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartsPresenterTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/levels/LabelPlacerTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/levels/LevelsPresenterTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderRowFilterTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderTablePresenterTest.kt123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486# Development Guidelines
The canonical, detailed standards for working on medTimer — for human contributors and AI coding agents alike.
These documents explain the **why** and the agreed conventions.The terse, machine-facing summary in [`AGENTS.md`](../../AGENTS.md) points here rather than duplicating the detail.When guidance conflicts, the per-tool config files (Android Lint via `app/build.gradle.kts`, SonarQube via `sonar-project.properties`, IDE Kotlin code style)are the source of truth — these docs explain and extend them.
Guidelines are written in **English**.
## Index
| Document | Audience | Purpose || ---------------------------------------------------------- | ---------------- | ---------------------------------------------------------------------------------------------- || [documentation-guidelines.md](documentation-guidelines.md) | All contributors | How to write and organize docs, including the bundled Help maintenance and screenshot workflow || [kotlin-android.md](kotlin-android.md) | All contributors | Kotlin + Android conventions: MVVM, Hilt, Room, Coroutines/Flow, multi-module, flavors || [jetpack-compose.md](jetpack-compose.md) | All contributors | Jetpack Compose conventions (live standard, Compose is in use) || [testing.md](testing.md) | All contributors | JVM unit, instrumented, fuzz, and Compose testing patterns and what to prioritize |
AI hygiene (boundaries, secrets, privacy, attribution) lives in [`AGENTS.md`](../../AGENTS.md#ai-hygiene) rather than in this directory — it's short enough tosit alongside the operational summary the agent loads every session.
## How to use these
- Read the relevant coding + testing guide before your first non-trivial contribution.- Treat the **Enforcement** section of each coding guide as non-negotiable — it mirrors what CI and Android Lint check.- Each guide ends with a dated **Sources** section so the external baselines can be re-audited for freshness.
See also: [project README](../../README.md) · [`AGENTS.md`](../../AGENTS.md) · [`CONTRIBUTING.md`](../../CONTRIBUTING.md).# Coding Guidelines — Kotlin / Android
**Audience:** all contributors.**Stack:** Kotlin 2.3 (or newer), Android Gradle Plugin 9.2 (or newer), `compileSdk = 37`, `minSdk = 28`, JDK 21, Hilt 2.59, Room 2.8, Navigation 2.9, AndroidX,Kotlinx Coroutines 1.9.
These conventions describe the multi-module Gradle build rooted at `settings.gradle.kts`.For commands, see [`AGENTS.md`](../../AGENTS.md); for tests, see [testing.md](testing.md); for Compose, see [jetpack-compose.md](jetpack-compose.md).
## Enforcement (source of truth)
The rules below are mechanically checked — CI runs the same gates locally and on PRs.
- **Android Lint** (`app/build.gradle.kts`, `lint { abortOnError = true; warningsAsErrors = true }`) — every warning fails the build. Don't suppress without justification: if you must `@Suppress("RuleId")` or add a `tools:ignore`, include a comment explaining _why_.- **SonarQube / SonarCloud** (project `Futsch1_medTimer` on `sonarcloud.io`) — secondary static analysis. New SonarQube issues introduced by a PR block merge.- **Kotlin official code style** — line length **160**, four-space indent. The Android Studio / IntelliJ Kotlin formatter is the formatter of record; run **Reformat Code** before committing.- **No new Java.** All new files are Kotlin. Existing Java is migrated opportunistically when touched substantially, not as an out-of-scope refactor.
## Comments
Keep comments to a minimum. Add one only when it explains non-obvious intent, a constraint, or behavior that cannot be readily inferred from the code; don't narrate what the code already says.Prefer clear names and straightforward code over explanatory comments.
## Naming
Follow [Kotlin coding conventions](https://kotlinlang.org/docs/coding-conventions.html), with these project-specific rules layered on top:
- Room entities end with **`Entity`**: `MedicineEntity`, `ReminderEntity`, `ReminderEventEntity`. Clean domain types in `core/domain/model/` carry no suffix: `Medicine`, `Reminder`, `ReminderEvent`.- Role suffixes, consistently: `*ViewModel`, `*Repository` (interface), `*RepositoryImpl` (implementation), `*Fragment`, `*Activity`, `*Worker`, `*Receiver`, `*Service`.- DAO interfaces end with **`Dao`**: `MedicineDao`.- Mappers between layers live in `toModel/` / `toBackup/` sub-packages and are top-level functions named for the target (`toModel()`, `toEntity()`).- Acronyms: two-letter acronyms stay uppercase (`IOStream`); three-or-more capitalize only the first letter (`HttpClient`, `XmlParser`).- Backing properties use a leading underscore: `private val _state = MutableStateFlow(...)` exposed as `val state: StateFlow<...> = _state`.
## Architecture — MVVM + Hilt
medTimer follows the [recommended Android app architecture](https://developer.android.com/topic/architecture): a UI layer (Fragments + ViewModels) on top of adata layer (Repositories + Room).There is no separate domain layer today; complex domain rules live in `core/domain/` types and pure-Kotlin helpers.
**Dependency direction is inward only.**Every arrow points toward `:core:domain` (the leaf); cycles are forbidden:
```mermaidgraph LR app[":app"] fui[":feature:ui"] fr[":feature:reminders"] fra[":feature:reminders:api"] cui[":core:ui"] cloc[":core:location"] cds[":core:datastore"] cdb[":core:database"] cc[":core:common"] cd[":core:domain"] app --> fui app --> fr app --> cdb app --> cui app --> cds app --> cloc fui --> fra fui --> cui fui --> cds fui --> cloc fui --> cc fr --> fra fr --> cui fr --> cds fr --> cloc fr --> cc fra --> cds fra --> cc cui --> cds cui --> cc cloc --> cds cloc --> cc cds --> cc cdb --> cc cdb --> cd cc --> cd```
(Every non-leaf module also depends transitively on `:core:domain` — edges to it are omitted from the diagram to keep it readable.)
- **`:core:domain` is the lingua franca.** It has **no Android dependencies** and is consumed by every other module. Repository **interfaces** live here.- **`:core:database` is depended on only by `:app`.** Feature modules never see Room or the `*Entity` types — they consume repository interfaces from `:core:domain`, and `:app` wires the `:core:database` implementations into Hilt at the binding site. This is what enforces the no-entity-leakage rule below.- **Feature → feature dependencies are rare and one-directional.** Today both `:feature:ui` and `:feature:reminders` depend on `:feature:reminders:api`, the pure contracts of the reminder feature. `:feature:ui` does not depend on the `:feature:reminders` implementation. Before adding another, consider whether the shared code belongs in a `:core:*` module instead — feature-to-feature edges multiply quickly and turn into cycles.
### Domain models, not entities, outside `:core:database`
This is the load-bearing architectural rule.**`*Entity` types from `:core:database` must not appear in any other module's API.**Map at the boundary using the `toModel/` / `toEntity/` helpers in `:core:database` and depend on the clean types in `core/domain/model/` (`Medicine`,`Reminder`, `ReminderEvent`, …).
- Repository **interfaces** live in `:core:domain` and speak in domain types (`Flow<List<Medicine>>`, not `Flow<List<MedicineEntity>>`).- Repository **implementations** live in `:core:database` and do the entity ↔ model mapping.- ViewModels, workers, exporters, and UI never import `MedicineEntity` etc. If you find yourself needing to, the mapper is missing — add it instead.
### Hilt (DI)
- `MedTimerApplication` is `@HiltAndroidApp`. `MainActivity` and any service receiving injected dependencies are `@AndroidEntryPoint`.- ViewModels are `@HiltViewModel` with `@Inject constructor(...)`.- Provider modules live in `app/src/main/java/com/futsch1/medtimer/di/`: - `DatabaseModule` — singleton Room database + `MedicineRepository`. - `DispatchersModule` — `@Dispatcher(MedTimerDispatchers.X)` qualified `CoroutineDispatcher` providers. - `CoroutineScopesModule` — `@ApplicationScope CoroutineScope`.- Flavor-specific bindings (full vs foss `LocationModule`, `GeofenceRegistrar`) live in the flavor source sets of `:core:location`, under `core/location/src/full/` and `core/location/src/foss/`.- New code injects via constructor (`@Inject`) on ViewModels and via field-injection (`@Inject lateinit var`) only on Android framework classes (Fragments, Receivers, Services) where Hilt can't reach the constructor.
### State holders
- ViewModels expose **immutable** state: `val state: StateFlow<UiState> = _state.asStateFlow()` (or backed by `private val _state`).- One-shot events go through `SharedFlow` with `replay = 0`, collected from the UI with a `LifecycleEventEffect`-style scope.- **No `LiveData` in new code.** Existing `LiveData` is migrated opportunistically when the file is touched substantially.
## Coroutines and Flow
Follow [Android coroutines best practices](https://developer.android.com/kotlin/coroutines/coroutines-best-practices).
- **Inject dispatchers** with the `@Dispatcher(MedTimerDispatchers.X)` qualifier — never reference `Dispatchers.IO`/`Default` directly. This is what makes tests deterministic with `StandardTestDispatcher` + `runTest`.- Suspend functions are **main-safe**: they switch dispatchers internally with `withContext`, so callers never have to.- **Don't use `GlobalScope`.** Long-lived work uses the injected `@ApplicationScope CoroutineScope`; UI-bound work uses `viewModelScope` or `lifecycleScope`.- Expose `suspend fun` for one-shot calls and `Flow` for data streams.- **Don't swallow `CancellationException`** — let it propagate. Catch specific exceptions (e.g. `IOException`), not `Throwable`.- Public ViewModel APIs expose `StateFlow` (read-only); keep the `MutableStateFlow` private.
## Multi-module structure
Modules are listed in [`settings.gradle.kts`](../../settings.gradle.kts).The current layout:
| Module | Purpose || -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- || `:app` | Application entry point, wiring, screens not yet extracted || `:core:common` | Pure-Kotlin utilities (no Android dependencies where possible) || `:core:domain` | Domain models and repository interfaces || `:core:database` | Room database, entities, repository implementations, mappers || `:core:datastore` | DataStore-based preferences || `:core:ui` | Shared **resources** (strings, drawables, themes, navigation graphs, XML layouts that cross features). Compose theme (`MedTimerTheme`) and reusable composables (`SortableTable`, `TagEventFilter`, `@MedTimerPreview`) live here — see [jetpack-compose.md](jetpack-compose.md). || `:core:location` | Geofencing and location abstraction. Holds the full-versus-foss flavor split || `:feature:reminders` | Reminder scheduling, notification processing || `:feature:reminders:api` | Pure scheduling and notification-data contracts (`ReminderScheduler`, scheduling strategies, `SchedulingSimulator`, `ReminderCommandBus`). JVM-testable; new scheduling rules go here || `:feature:ui` | Overview UI |
### When to add a new module
Add a module when **both** are true: the code is genuinely reusable across the app **and** keeping it in its current location forces a circular or upwarddependency.Don't split a feature into half a dozen sub-modules to chase build-cache wins — the boilerplate (Gradle file, Hilt aggregation, manifest, lint baseline)outweighs the gain at this size.
When you do extract a module:
- New modules follow `:core:<name>` (cross-cutting infrastructure) or `:feature:<name>` (vertical slice).- Set up the Gradle file from a sibling module of the same kind; don't invent a new pattern.- Disable instrumented tests on modules that have none (`android.testInstrumentationRunner` + `androidTest { ... }`) — see commits `#1432` and `#1433` for the working pattern.
### Resource centralization (R-class gotcha)
The Android Gradle build uses `nonTransitiveRClass = true`.This has two consequences worth memorizing:
- **All value resources (strings, drawables, themes) and assets live in `:core:ui`**, even if used by only one feature today. This avoids the broken visibility you get when one feature module tries to reach into another module's `R`.- When you move a resource between modules, you must re-qualify every `R` reference to the **owning** module's `R` class (e.g. `com.futsch1.medtimer.core.ui.R.string.foo`). Layouts, menus, navigation graphs, and XML preferences may stay with their feature; values/assets do not.
## Flavor split — `full` vs `foss`
The `distribution` product-flavor dimension produces two builds:
| Flavor | GMS? | Source sets || ------ | ------------------------------ | ------------------------------------------------------------------------ || `full` | Yes (`play-services-location`) | `core/location/src/full/` (GMS implementations), `app/src/full/` (manifest only), `app/src/testFull/` || `foss` | No | `core/location/src/foss/` with no-op stubs |
Discipline:
- The shared `src/main/` of every flavored module must compile against **both** flavors. Don't import GMS classes from `main/`; introduce an interface in `main/` (e.g. `GeofenceRegistrar`) and bind the implementation per flavor ( `GmsGeofenceRegistrar` in `full/`, `NoOpGeofenceRegistrar` in `foss/`).- Flavor-specific Hilt bindings go in `core/location/src/<flavor>/`, beside the implementations they bind.- JVM unit tests that depend on GMS classes go in `app/src/testFull/` so they only run for the full flavor. Tests in `app/src/test/` must compile for both.- `assembleDebug` builds **both** flavors — if it fails, your change broke one of them.
## Translations
User-facing strings are translated for every locale listed in `localeFilters` (see `app/build.gradle.kts`).The community contributes translations via [Weblate](https://hosted.weblate.org/projects/medtimer/).
- When adding or changing a string in `values/strings.xml`, consider whether the other locales need an update. Weblate will pick up new keys; existing translations that no longer match the source should be flagged.- Escape `'` as `\'`.- Use `\n` for newline.- Preserve positional placeholders (`%1$s`, `%2$d`); translators must not reorder them silently.- Mark non-translatable strings with `translatable="false"`.
## Database — Room
Room infrastructure lives in `:core:database`.
- Schemas are emitted to `app/schemas/` and **committed**. They are the migration audit trail; review the schema diff in any PR that changes an entity.- New migrations need a Room migration class and a corresponding `AutoMigration` only when the schema allows it. **Migration changes are an "Ask first" item — see [`AGENTS.md` → AI hygiene](../../AGENTS.md#ai-hygiene).** They are user-visible and effectively irreversible once shipped.- Repository interfaces in `:core:domain` are the seam: outside `:core:database`, depend on `MedicineRepository`, never on `MedicineRepositoryImpl` or any DAO.
## Sources
- Android Developers — [Guide to app architecture](https://developer.android.com/topic/architecture), [Modern app architecture](https://developer.android.com/topic/architecture/intro/modern-app-architecture), [Android coroutines best practices](https://developer.android.com/kotlin/coroutines/coroutines-best-practices), [Guide to app modularization](https://developer.android.com/topic/modularization), [Save data in a local database using Room](https://developer.android.com/training/data-storage/room) ( 2025–2026).- [Kotlin coding conventions](https://kotlinlang.org/docs/coding-conventions.html) — JetBrains, 2025.- Android Developers — [Hilt for Android](https://developer.android.com/training/dependency-injection/hilt-android) and [Hilt and Jetpack integrations](https://developer.android.com/training/dependency-injection/hilt-jetpack) (2025).- [Now in Android](https://github.com/android/nowinandroid) — Google's reference app for modularization and architecture patterns.
_Last reviewed: 2026-05-26 · Kotlin 2.3 / AGP 9.2 / Hilt 2.59 / Room 2.8._# Testing Guidelines
**Audience:** all contributors.**Stack:** JUnit 4, Mockito (+ `mockito-kotlin`), Robolectric for JVM unit tests; Espresso + Barista + UIAutomator for instrumented tests; JaCoCo for coverage.Compose tests will use `createComposeRule()` from `androidx.compose.ui:ui-test-junit4`.
For commands, see [`AGENTS.md`](../../AGENTS.md); for what makes code testable in the first place, see [kotlin-android.md](kotlin-android.md).
## Test pyramid — prefer JVM unit tests
Order of preference:
1. **JVM unit tests** (`app/src/test/`, `*/src/test/`). Fast, deterministic, no emulator, run on every push. This is where most new tests should land.2. **JVM unit tests with Robolectric** when an Android framework class is genuinely needed (Context, Resources, Looper). Still fast, still no emulator.3. **Instrumented tests** (`app/src/androidTest/`) as a last resort. They're slow, flaky, and run in CI (the reusable `instrumentedTests.yml` workflow, plus `JacocoDebugCodeCoverage` in `test.yml`). **When you add or change an instrumented test, run that specific test locally** against an emulator before pushing — relying on CI alone wastes a slow round-trip when the test fails for an obvious reason. **Do not run the full instrumented suite locally** — it takes too long; let CI handle the broader matrix.
## Add tests for value, not volume
Add a test when it protects important behavior, covers meaningful logic or risk, or is likely to catch a future regression. Tests have a maintenance cost, so do not add them merely to increase test count or coverage.A feature or change does not automatically require a test for every path.
Prioritize logic-intensive and boundary-sensitive functionality, especially core medication-reminder behavior. Test observable outcomes and meaningful edge cases. Do not spend tests on straightforward code, trivial getters/setters, obvious wiring, or behavior that is simpler and more reliably validated another way.Coverage is a signal, not a target; see [Coverage](#coverage).
Use test-first development when it helps establish the expected behavior:
- **Bug fixes:** add a failing regression test when the bug involves meaningful logic and the failure can be reproduced reliably in a test. For trivial fixes or issues that cannot usefully be represented in a test, don't force one.- **Features:** add focused tests for the important behavior and risks introduced, not mechanically for every branch or UI detail.- Pure refactors and translation-only changes usually need no new tests when existing tests sufficiently protect the behavior.
## Test behavior, not implementation (black box)
Test the **output for a given input**, through the unit's public surface — not how it computes the result.Treat the unit (a ViewModel, a repository, a use-case helper) as a black box: arrange inputs and configured collaborators, act through the public method, andassert on the returned value and observable side effects.
- **Verify outcomes, not interactions.** Prefer asserting on the resulting `StateFlow` value or returned object over "method X was called". Reserve `Mockito.verify(...)` for genuine side-effect boundaries where the call _is_ the behavior — e.g. that a notification was posted, an alarm scheduled, or a row written via the repository.- This keeps tests resilient: a refactor that preserves behavior should not break a single test. If a rename or restructuring breaks many tests, they were coupled to the implementation.- **Don't reach into internals.** Avoid reflection and `@VisibleForTesting` access to private state. Make the seam testable instead — extract the logic into a class with a public method, or hoist the collaborator behind an interface that the test can stub.
## What to prioritize
Test where the risk and logic are:
- **Reminder scheduling and notification flow** — the heart of the app. Time math, recurrence, snooze, cyclic reminders.- **Domain rules in `:core:domain`** — pure Kotlin, easy to test, high payoff.- **Repositories and mappers in `:core:database`** — entity↔model mapping, query correctness, migration helpers.- **Exporters** (`exporters/`) — CSV and PDF generation, especially edge cases (empty data, large datasets, special characters).- **ViewModels** — state transitions in response to events, error handling.
Don't write tests for:
- Straightforward or obvious code whose behavior is already clear and carries little regression risk.- Trivial wiring (`@HiltViewModel` plumbing, manifest declarations).- Logicless data classes (`data class` with `val`s only).- Generated code.
Before adding a test, ask whether it exercises meaningful behavior or protects against a plausible regression, whether its assertions will remain useful through refactoring, and whether that value justifies its ongoing maintenance. If not, leave it out.
## Structure and naming
- **Arrange / Act / Assert**, with the three sections visually separated by blank lines.- Test functions use **backtick names** describing the behavior:
```kotlin @Test fun `should mark reminder as taken when user taps action`() { /* … */ } ```
The form `should X when Y` makes failure messages readable in CI output.
- `@Test` for a single case; `@RunWith(Parameterized::class)` or table-driven loops for parameterized cases.- **One assertion focus per test.** Multiple `assertEquals` lines that verify the same outcome are fine; tests that interleave Act / Assert for several unrelated outcomes should be split.- Build complex inputs with **builders or factory functions** (`fakeMedicine(name = …)`) to keep the Arrange block readable.
## Coroutines and Flow in tests
- Inject dispatchers via the `@Dispatcher` qualifier (see [kotlin-android.md](kotlin-android.md)) so tests can replace them with `StandardTestDispatcher` or `UnconfinedTestDispatcher`.- Wrap test bodies in `runTest { … }` from `kotlinx-coroutines-test` — it skips `delay()`, advances virtual time, and surfaces uncaught exceptions.- Share one `TestCoroutineScheduler` across all test dispatchers in a single test so they run deterministically on one thread.- For `StateFlow` / `SharedFlow`, prefer **collecting into a list** with `flow.toList(this)` inside `runTest` over polling `.value`.
## Mockito conventions
- Use `mockito-kotlin` (`mock()`, `whenever()`, `verify()`); avoid `Mockito.when(...)` — `when` is a Kotlin keyword.- **Stub** collaborators to set up inputs.- **Verify** only at real side-effect boundaries — see [Test behavior, not implementation](#test-behavior-not-implementation-black-box).- Don't mock data classes or domain models; use real instances built with factories.
## Instrumented tests
Instrumented tests live in `app/src/androidTest/` and run on an emulator.They exist for flows that genuinely exercise the Android UI runtime — navigation between Fragments, system-permission dialogs, real notifications.
Conventions:
- **Robot authors use [Barista](https://github.com/AdevintaSpain/Barista)** wrappers (`clickOn`, `assertDisplayed`, `writeTo`) over raw Espresso `onView(...).perform(...)` — Barista calls are shorter and survive Espresso's flakier corners. Test authors use neither; see [Robot pattern](#robot-pattern).- **UIAutomator** for cross-app interactions (notifications, settings screens) where Espresso can't reach.- Name tests for the user-visible behavior, not the Fragment class name.- Keep instrumented tests **independent** — each test sets up its own state via repository or intent, doesn't rely on test order.- **Prefer merging closely related scenarios into an existing instrumented test method** when they share setup and form one coherent user-visible flow; this avoids repeating emulator and app setup. Keep the method focused, and don't combine unrelated behaviors just to reduce the test count.- **Arrange through `seed`, not through the UI.** `MedTimerTestBase.seed` (see `harness/Seed.kt`) writes the fixture straight into the repositories, exactly as the UI would; the app schedules and redraws off that write like any other. Only a test that _owns_ a creation flow clicks through it — everything else seeds. Removing the last UI coverage of a flow is not a speed-up — move it to the test that owns it instead.- **Never make a test depend on what today is.** Derive times from now — `laterToday()`, `aboutToFire()`, `earlierToday()` on `MedTimerTestBase` — and dates from `LocalDate.now()`. A literal like `LocalTime.of(20, 0)` only means "in the future" on a device whose clock happens to cooperate, and the suite no longer pins one. `MedTimerTestHarness` fails any test started outside 03:00–21:00, which is what gives those helpers room to reach forwards and backwards inside the same day. Reaching a day outside the week on screen goes through `OverviewRobot.selectDay`, not `clickDay`.- **Run a new or changed instrumented test locally before pushing** (e.g. `./gradlew :app:connectedFullDebugAndroidTest --tests com.futsch1.medtimer.DeleteTest.shouldDeleteMedicineAndReminder`) — this catches obvious failures without burning a CI cycle. **Do not run the full suite locally**; CI covers the broader matrix (`instrumentedTests.yml`, `test.yml`).- **Method names must not contain spaces.** DEX 040 (which permits spaces in `SimpleName`) requires `minSdk = 30`, and this project's `minSdk = 28`. Use `camelCase` for instrumented test functions (e.g. `shouldDeleteMedicineAndReminder`); the backtick form is reserved for JVM unit tests only.
## Compose tests
When Compose lands (see [jetpack-compose.md](jetpack-compose.md)), Compose tests live alongside JVM unit tests and use **`createComposeRule()`** with \*\*Robolectric\*\* so they run on the JVM without an emulator. These are JVM tests, so the [Robot pattern](#robot-pattern) does not apply — robots exist only for`androidTest`.
- **Target the stateless `Screen` overload** (see [jetpack-compose.md](jetpack-compose.md#screen-pattern)), not the stateful overload that references a ViewModel. Feed it fabricated state (construct a `MutableXxxScreenState`) and lambdas; assert on what's visible.- **Query by semantics first.** `onNodeWithText`, `onNodeWithContentDescription`, `onNodeWithTag` only as a last resort — and only when the tag has a meaningful name, not `tag_42`.- **Don't assert on recomposition counts, memoization, or the number of times a lambda fires.** Those are Compose Compiler details that change between versions.- **Use `runComposeUiTest { … }`** (from the same artifact) for tests that drive Compose state without a backing Fragment.
## Robot pattern
Instrumented tests read as user intent; UI interactions are implemented through robots under `app/src/androidTest/.../robots/`.
- **No test file imports Espresso, Barista, UIAutomator, or any `R.id`.** `@AllowFlaky` is the one exception — it is a JUnit rule, not an interaction.- **Keep the flow visible in the test when its sequence or an intermediate state is under test.** The test should orchestrate the actions and assertions in order; robots provide reusable navigation, focused actions, and focused assertions. Avoid scenario-specific helpers that hide a sequence the test is meant to verify (for example, a helper that opens a form, enters a value, submits, and asserts the resulting error).- **Task-level robot helpers are fine for routine flows whose individual steps are not the behavior under test.** A dialog raised during such a helper belongs to the robot that owns the surrounding screen; use `DialogRobot` when the dialog itself is the subject.- **A robot method leaves you where it found you.** Navigation depth is never a test's concern, so `pressBack()` does not appear in a test file.- **`inX { }` when the test needs to stay on an inner screen** — the helper can own entering and leaving that screen, while the block keeps the test's interactions visible.- `Robots` builds the graph; `MedTimerTestBase` exposes it and holds nothing that touches the UI.
## Selectors in instrumented tests
Instrumented tests select by accessible name, scoped to the container it belongs to — like a screen reader. `testTag` is a fallback for structure, not thedefault.
- **Name, then scope.** `hasContentDescription`/`hasText` say _what_; `UiScope` says _where_. Never select on a bare name — the same word ("Delete", "More options") appears in multiple places.- **All queries go through `UiScope`** (`app/src/androidTest/.../robots/UiScope.kt`) — it is the only place that calls the global `onNode*`/`onAllNodes*` finders. `ComposeUi` hands out scopes and nothing else, so there is no unscoped entry point to reach for by accident.- **`UiScope.assertAbsent` checks the anchor first**, so a screen that never rendered can't pass the assertion for the wrong reason.- **`testTag` is for structure only** — screens (`ScreenTestTags`), lists, cards, menus, bars. Anything a user can name is selected by that name.- **Never derive a tag from displayed text** — bakes the current locale into the selector.- **Ambiguous name → fix the UI, not the test.** E.g. add a distinguishing `contentDescription` (TalkBack fix first). Only add a new tag if the ambiguity isn't something a user would ever hear.
## Coverage
JaCoCo coverage is generated by `./gradlew jacocoFullDebugCodeCoverage` and uploaded to SonarCloud.Treat the percentage as a **guideline, not a hard gate**:
- Raise coverage where it matters first (the priorities in [What to prioritize](#what-to-prioritize)).- Don't chase a number by testing wiring or generated code.- A PR that lowers coverage is acceptable when it deletes tested-but-unused code; flag it in the PR description so reviewers understand why the delta is negative.
## Fuzz testing
A subset of tests runs as fuzzers when invoked with `-Dfuzzing=true` (see `test.yml`):
```bash./gradlew testFullDebug testFossDebug -Dfuzzing=true```
Add a fuzz test when the unit under test has:
- A **parser, exporter, or formatter** with structured input (CSV, PDF, time strings, recurrence rules).- **Boundary-sensitive arithmetic** — time math around DST, leap years, midnight rollover.- **A backup/restore round-trip.**
The fuzz job runs in CI on every push; you don't need to invoke it locally for normal development.
## Sources
- Android Developers — [Test apps on Android](https://developer.android.com/training/testing), [Fundamentals of testing](https://developer.android.com/training/testing/fundamentals), [Test Compose layouts](https://developer.android.com/develop/ui/compose/testing) ( 2025–2026).- [JUnit 4](https://junit.org/junit4/) · [Mockito](https://site.mockito.org/) · [mockito-kotlin](https://github.com/mockito/mockito-kotlin) · [Robolectric](http://robolectric.org/).- [Barista (AdevintaSpain)](https://github.com/AdevintaSpain/Barista) — Espresso wrappers.- [kotlinx.coroutines testing guide](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-test/) — `runTest`, `TestDispatcher`.
_Last reviewed: 2026-05-26._123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521core/common/build.gradle.ktscore/common/src/main/java/com/futsch1/medtimer/core/common/ActivityCodes.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/LogTags.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/MenuExt.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/ApplicationScope.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/CoroutineScopesModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/DispatchersModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/GsonModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/IsDebugBuild.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/MedTimerDispatchers.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/SystemServicesModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/di/TimeAccessModule.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/CalendarHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/ContextExtensions.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DatePickerDialogFactory.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DividerSpan.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseAmountParser.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseUnitComparator.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/DoseUnitInflector.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/FileHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/IdlingListAdapter.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/IdlingResourcesPool.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/LocaleContextAccessor.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/MedicineHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/ReminderHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/ResourcesExtensions.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/SafeHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/SimpleIdlingResource.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/SwipeHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/TimeHelper.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/TimePickerDialogFactory.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/TintedImageSpan.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/helpers/ViewExtensions.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/time/SystemTimeAccess.ktcore/common/src/main/java/com/futsch1/medtimer/core/common/time/TimeAccess.ktcore/common/src/test/java/com/futsch1/medtimer/core/common/helpers/DoseAmountParserTest.ktcore/common/src/test/java/com/futsch1/medtimer/core/common/helpers/DoseUnitComparatorTest.ktcore/database/build.gradle.ktscore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/1.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/10.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/11.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/12.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/13.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/14.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/15.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/16.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/17.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/18.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/19.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/2.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/20.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/21.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/22.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/23.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/24.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/25.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/26.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/3.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/4.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/5.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/6.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/7.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/8.jsoncore/database/schemas/com.futsch1.medtimer.database.MedicineRoomDatabase/9.jsoncore/database/src/main/java/com/futsch1/medtimer/database/BackupRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/Converters.ktcore/database/src/main/java/com/futsch1/medtimer/database/DatabaseManager.ktcore/database/src/main/java/com/futsch1/medtimer/database/FullMedicineEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/MedicineEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/MedicineRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/MedicineRoomDatabase.ktcore/database/src/main/java/com/futsch1/medtimer/database/MedicineToTagEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderEntityType.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderEventEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderEventRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/ReminderRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/TagEntity.ktcore/database/src/main/java/com/futsch1/medtimer/database/TagRepositoryImpl.ktcore/database/src/main/java/com/futsch1/medtimer/database/dao/MedicineDao.ktcore/database/src/main/java/com/futsch1/medtimer/database/dao/ReminderDao.ktcore/database/src/main/java/com/futsch1/medtimer/database/dao/ReminderEventDao.ktcore/database/src/main/java/com/futsch1/medtimer/database/dao/TagDao.ktcore/database/src/main/java/com/futsch1/medtimer/database/di/DatabaseModule.ktcore/database/src/main/java/com/futsch1/medtimer/database/toBackup/BackupMappers.ktcore/database/src/main/java/com/futsch1/medtimer/database/toModel/MedicineMapper.ktcore/database/src/main/java/com/futsch1/medtimer/database/toModel/ReminderEventMapper.ktcore/database/src/main/java/com/futsch1/medtimer/database/toModel/ReminderMapper.ktcore/database/src/main/java/com/futsch1/medtimer/database/toModel/TagMapper.ktcore/database/src/test/java/com/futsch1/medtimer/database/MigrationTest.ktcore/database/src/test/java/com/futsch1/medtimer/database/toBackup/BackupFieldParityTest.ktcore/datastore/build.gradle.ktscore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/BackupMapper.ktcore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/PersistentDataDataSource.ktcore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/PreferencesDataSource.ktcore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/di/DatastoreModule.ktcore/datastore/src/main/java/com/futsch1/medtimer/core/datastore/di/PreferenceQualifiers.ktcore/datastore/src/test/java/com/futsch1/medtimer/core/datastore/BackupMapperTest.ktcore/datastore/src/test/java/com/futsch1/medtimer/core/datastore/PersistentDataDataSourceTest.ktcore/datastore/src/test/java/com/futsch1/medtimer/core/datastore/PreferencesDataSourceTest.ktcore/domain/build.gradle.ktscore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/FullMedicineBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/MedicineBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/ReminderBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/ReminderEventBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/SettingsBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/backup/TagBackup.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/HomeLocation.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Medicine.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/MedicineToTag.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/PendingSnooze.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/PersistentData.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Reminder.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ReminderEvent.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ReminderTime.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ReminderType.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/ScheduledReminder.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/SimulatedReminder.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/Tag.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/model/UserPreferences.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/pk/PharmacokineticModel.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/BackupRepository.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/MedicineRepository.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/ReminderEventRepository.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/ReminderRepository.ktcore/domain/src/main/java/com/futsch1/medtimer/core/domain/repository/TagRepository.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/model/ManualDosesTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/model/MedicineTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/model/ReminderTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/model/ReminderTimeTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/pk/PharmacokineticModelTest.ktcore/domain/src/test/java/com/futsch1/medtimer/core/domain/pk/PharmacokineticModelTextbookTest.ktcore/location/build.gradle.ktscore/location/src/foss/java/com/futsch1/medtimer/core/location/NoOpGeofenceRegistrar.ktcore/location/src/foss/java/com/futsch1/medtimer/core/location/NoOpLocationProvider.ktcore/location/src/foss/java/com/futsch1/medtimer/core/location/di/LocationModule.ktcore/location/src/full/AndroidManifest.xmlcore/location/src/full/java/com/futsch1/medtimer/core/location/GeofenceBroadcastReceiver.ktcore/location/src/full/java/com/futsch1/medtimer/core/location/GmsGeofenceRegistrar.ktcore/location/src/full/java/com/futsch1/medtimer/core/location/GmsLocationProvider.ktcore/location/src/full/java/com/futsch1/medtimer/core/location/di/LocationModule.ktcore/location/src/main/java/com/futsch1/medtimer/core/location/GeofenceRegistrar.ktcore/location/src/main/java/com/futsch1/medtimer/core/location/LocationProvider.ktcore/ui/build.gradle.ktscore/ui/src/main/java/com/futsch1/medtimer/core/ui/Interval.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/MedicineIconViewModel.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/MedicineIcons.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/MedicineStringFormatter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ProgressDialogFragment.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderStringFormatter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderSummaryFormatter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ReminderTypeIconsAndTexts.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ScreenTestTags.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/TimeFormatter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/ViewColorHelper.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/FragmentTopAppBar.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/MedTimerTopAppBar.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/MedicineSwatch.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/SelectableCard.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/component/SortableTable.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/filter/TagEventFilter.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/list/SelectionListController.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/preferences/MedTimerPreferenceFragment.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/preferences/ModelDataPreferencesFragment.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/preview/MedTimerPreview.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/theme/ContainerColors.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/theme/MedTimerColors.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/theme/MedTimerTheme.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/time/RememberFormattedDate.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/time/RememberFormattedTime.ktcore/ui/src/main/java/com/futsch1/medtimer/core/ui/time/SystemDateTimeFormat.ktcore/ui/src/main/res/layout/dialog_progress.xmlcore/ui/src/main/res/layout/preference_widget_material_switch.xmlcore/ui/src/main/res/mipmap-anydpi/logo.xmlcore/ui/src/main/res/mipmap-anydpi/logo_round.xmlcore/ui/src/main/res/mipmap-hdpi/logo_fg.webpcore/ui/src/main/res/mipmap-mdpi/logo_fg.webpcore/ui/src/main/res/mipmap-xhdpi/logo_fg.webpcore/ui/src/main/res/mipmap-xxhdpi/logo_fg.webpcore/ui/src/main/res/mipmap-xxxhdpi/logo_fg.webpcore/ui/src/main/res/values-ar/strings.xmlcore/ui/src/main/res/values-bg/strings.xmlcore/ui/src/main/res/values-cs/strings.xmlcore/ui/src/main/res/values-da/strings.xmlcore/ui/src/main/res/values-de/strings.xmlcore/ui/src/main/res/values-el/strings.xmlcore/ui/src/main/res/values-es/strings.xmlcore/ui/src/main/res/values-et/strings.xmlcore/ui/src/main/res/values-fi/strings.xmlcore/ui/src/main/res/values-fr/strings.xmlcore/ui/src/main/res/values-hu/strings.xmlcore/ui/src/main/res/values-is/strings.xmlcore/ui/src/main/res/values-it/strings.xmlcore/ui/src/main/res/values-iw/strings.xmlcore/ui/src/main/res/values-nb-rNO/strings.xmlcore/ui/src/main/res/values-night/themes.xmlcore/ui/src/main/res/values-nl/strings.xmlcore/ui/src/main/res/values-pl/strings.xmlcore/ui/src/main/res/values-pt-rBR/strings.xmlcore/ui/src/main/res/values-pt/strings.xmlcore/ui/src/main/res/values-ru/strings.xmlcore/ui/src/main/res/values-sv/strings.xmlcore/ui/src/main/res/values-ta/strings.xmlcore/ui/src/main/res/values-tr/strings.xmlcore/ui/src/main/res/values-uk/strings.xmlcore/ui/src/main/res/values-zh-rCN/strings.xmlcore/ui/src/main/res/values-zh-rTW/strings.xmlcore/ui/src/main/res/values/arrays.xmlcore/ui/src/main/res/values/attrs.xmlcore/ui/src/main/res/values/logo_background.xmlcore/ui/src/main/res/values/strings.xmlcore/ui/src/main/res/values/styles.xmlcore/ui/src/main/res/values/themes.xmlcore/ui/src/main/res/xml/icon_pack.xmlcore/ui/src/test/java/com/futsch1/medtimer/core/ui/component/SelectableCardTest.ktcore/ui/src/test/java/com/futsch1/medtimer/core/ui/component/SortableTableTest.ktcore/ui/src/test/java/com/futsch1/medtimer/core/ui/filter/TagEventFilterTest.ktcore/ui/src/test/java/com/futsch1/medtimer/core/ui/theme/ContainerColorsTest.ktfeature/reminders/api/build.gradle.ktsfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/ReminderEventFactory.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/SimulatedReminders.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/VariableAmountIntents.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/command/ReminderCommandBus.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/notificationData/NotificationDataCodec.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/notificationData/ReminderNotificationData.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/CyclesHelper.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/ExpirationDateScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/IntervalScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/LinkedScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/OutOfStockScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/ReminderScheduler.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/Scheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/SchedulingFactory.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/SchedulingSimulator.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/StandardScheduling.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/WeekendModeSchedulingDecorator.ktfeature/reminders/api/src/main/java/com/futsch1/medtimer/feature/reminders/api/scheduling/WindowedIntervalScheduling.ktfeature/reminders/build.gradle.ktsfeature/reminders/src/main/AndroidManifest.xmlfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/AlarmProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/LocationSnoozeProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/NotificationProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/NotificationSoundManager.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/Notifications.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/RefillProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderNotificationChannel.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderNotificationChannelManager.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderNotificationProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderProcessorBroadcastReceiver.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ReminderSchedulerService.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/RepeatProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ScheduleNextReminderNotificationProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/ShowReminderNotificationProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/SimulatedRemindersModule.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/SimulatedRemindersRepository.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/SnoozeProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/StockHandlingProcessor.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/WorkerIntents.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/alarm/AlarmFragment.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/alarm/ReminderAlarmActivity.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/command/CommandBusModule.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/command/ReminderCommandBusImpl.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/PendingIntentFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/PendingSnoozeMapping.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotification.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationData/ReminderNotificationPart.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/BigReminderNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/ExpirationDateNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationIntentBuilder.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/NotificationStringBuilder.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/OutOfStockNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/ReminderNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/SimpleReminderNotificationFactory.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/notificationFactory/StockIntentBuilder.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/LatestRemindersLineProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/LatestRemindersWidgetProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/NextRemindersLineProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/NextRemindersWidgetProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/WidgetImpl.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/WidgetLineProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/WidgetProvider.ktfeature/reminders/src/main/java/com/futsch1/medtimer/feature/reminders/widgets/WidgetUpdateReceiver.ktfeature/reminders/src/main/res/layout-v31/widget_four_lines.xmlfeature/reminders/src/main/res/layout-v31/widget_line.xmlfeature/reminders/src/main/res/layout-v31/widget_one_line.xmlfeature/reminders/src/main/res/layout/activity_alarm.xmlfeature/reminders/src/main/res/layout/fragment_alarm.xmlfeature/reminders/src/main/res/layout/latest_reminder_widget_caption.xmlfeature/reminders/src/main/res/layout/latest_reminders_widget.xmlfeature/reminders/src/main/res/layout/latest_reminders_widget_preview.xmlfeature/reminders/src/main/res/layout/latest_reminders_widget_small.xmlfeature/reminders/src/main/res/layout/next_reminder_widget_caption.xmlfeature/reminders/src/main/res/layout/next_reminders_widget.xmlfeature/reminders/src/main/res/layout/next_reminders_widget_preview.xmlfeature/reminders/src/main/res/layout/next_reminders_widget_small.xmlfeature/reminders/src/main/res/layout/notification.xmlfeature/reminders/src/main/res/layout/widget_four_lines.xmlfeature/reminders/src/main/res/layout/widget_line.xmlfeature/reminders/src/main/res/layout/widget_one_line.xmlfeature/reminders/src/main/res/xml/latest_reminders_widget_info.xmlfeature/reminders/src/main/res/xml/next_reminders_widget_info.xmlfeature/ui/build.gradle.ktsfeature/ui/src/main/NOTICEfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/AppOptionsActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/AppOptionsMenu.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/AppOptionsMenuHost.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/AppOptionsViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/RememberFirstDayOfWeek.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/RequestPostNotificationPermission.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/TagFilterViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/CSVEventExport.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/CSVMedicineExport.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/Common.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/Export.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/ExportBackupPath.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/PDFEventExport.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/exporters/PDFMedicineExport.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/helpers/DeleteHelper.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/helpers/TableHelper.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/helpers/TextInputDialogBuilder.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/DuplicateMedicine.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineScreen.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineScreenState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineScreenViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditMedicineSubmenus.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/EditValueButton.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/LinkedReminderAlgorithms.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/LinkedReminderHandling.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MaterialTimePicker.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicineCard.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicineScreenState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesMenu.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesScreen.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesScreenViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/NewReminderState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/NewReminderViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/ReminderCard.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/SetupGuidance.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesCyclicFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesInstructionsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesRootFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesStatusFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderPreferencesStock.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/AdvancedReminderSettingsActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/DateEditHandler.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/EditIntervalDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/ReminderDataStore.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/ReminderViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/dialogs/ColorPickerDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/dialogs/NewReminderDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/dialogs/NewReminderStockDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/dialogs/NotesDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/editors/DateTimeEditor.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/editors/IntervalEditor.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/editors/TimeEditor.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/MedicineDataStore.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/MedicinePreferences.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/MedicineSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/MedicineViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/medicineSettings/StockSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/MedicineWithTagsViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagDataFromMedicine.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagDataFromPreferences.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagDataProvider.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagFilterStore.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagViewHolder.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagWithStateCollector.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagsAdapter.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/medicine/tags/TagsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ArcActionMenu.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ArcScrim.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/EditEventSheetDialogFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/EditEventViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/EventContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/EventStateButton.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewDayRequests.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewEventItem.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewEventList.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewFilterRow.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewScreen.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewScreenState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewTopBar.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewWarnings.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/OverviewWeekSelector.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ReminderNotificationTapHandler.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ShowMedicineSheetDialogFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/ShowMedicineViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/VariableAmountHandler.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/Warnings.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/Actions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ActionsFactory.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ActionsVisitor.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/Button.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/MultipleActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ReminderEventActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ReminderEventCreator.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/actions/ScheduledReminderActions.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseDialog.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/OverviewEvent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/OverviewEventContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/OverviewState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/PastReminderEvent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/overview/model/SimulatedReminderEvent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/AlarmSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/DisplaySettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/NotificationSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/PreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/PrivacyPreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/RepeatRemindersPreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/RingtonePreference.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/RingtonePreferenceDialogFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/SnoozeDuration.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/SnoozeSettingsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/preferences/WeekendModePreferencesFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/CalendarEventsProvider.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/CalendarEventsViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/CalendarFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/ChartData.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/RangeDropdown.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsFragment.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsProvider.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreen.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreenState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreenViewModel.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/CalendarContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/CalendarDayEvent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/CalendarNavigationRow.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/DayCell.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/calendar/DayEventsCard.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartSeriesColors.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartsContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartsPresenter.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/ChartCoordinates.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/DoseLabelDecoration.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/LabelPlacer.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/LevelsContent.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/LevelsPresenter.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/LevelsState.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/levels/NowMarkerDecoration.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderRowFilter.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderTable.ktfeature/ui/src/main/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderTablePresenter.ktfeature/ui/src/main/res/layout-land/fragment_calendar.xmlfeature/ui/src/main/res/layout-land/sheet_edit_event.xmlfeature/ui/src/main/res/layout/calendar_day_layout.xmlfeature/ui/src/main/res/layout/calendar_day_legend_text.xmlfeature/ui/src/main/res/layout/calendar_header_layout.xmlfeature/ui/src/main/res/layout/dialog_color_editor.xmlfeature/ui/src/main/res/layout/dialog_fragment_notes.xmlfeature/ui/src/main/res/layout/dialog_fragment_tags.xmlfeature/ui/src/main/res/layout/dropdown_item.xmlfeature/ui/src/main/res/layout/fragment_calendar.xmlfeature/ui/src/main/res/layout/include_edit_interval.xmlfeature/ui/src/main/res/layout/manual_dose_list_entry.xmlfeature/ui/src/main/res/layout/sheet_edit_event.xmlfeature/ui/src/main/res/layout/sheet_show_medicine.xmlfeature/ui/src/main/res/layout/tag.xmlfeature/ui/src/main/res/navigation/navigation.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_cyclic.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_instructions.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_root.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_status.xmlfeature/ui/src/main/res/xml/advanced_reminder_settings_stock.xmlfeature/ui/src/main/res/xml/alarm_settings.xmlfeature/ui/src/main/res/xml/display_settings.xmlfeature/ui/src/main/res/xml/medicine_settings.xmlfeature/ui/src/main/res/xml/notification_settings.xmlfeature/ui/src/main/res/xml/privacy_preferences.xmlfeature/ui/src/main/res/xml/repeat_reminders_preferences.xmlfeature/ui/src/main/res/xml/root_preferences.xmlfeature/ui/src/main/res/xml/snooze_settings.xmlfeature/ui/src/main/res/xml/stock_settings.xmlfeature/ui/src/main/res/xml/weekend_mode_preferences.xmlfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/RememberFirstDayOfWeekTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/TagFilterViewModelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/medicine/DuplicateMedicineTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/medicine/MedicinesScreenDragTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/medicine/advancedReminderPreferences/ReminderDataStoreTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/ArcScrimHaloTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/EditEventSaveTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/EditEventViewModelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewEventListScrollTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewEventListSwipeTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewFilterRowLabelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewFilterVisibilityTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewWarningsTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewWeekNavigationTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/OverviewWeekSelectorTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/ReminderNotificationTapHandlerTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/VariableAmountHandlerTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/WarningsTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/actions/ActionsVisitorReRaiseTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/actions/ReminderEventCreatorTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseSearchTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/manualDose/ManualDoseViewModelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/overview/model/PastReminderEventTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/preferences/SingleTopAppBarPerPreferenceScreenTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/preferences/SnoozeDurationTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/CalendarEventsProviderTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsProviderTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreenTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/StatisticsScreenViewModelTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/calendar/CalendarContentLayoutTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/calendar/DayEventsCardTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartSeriesColorsTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartsContentLayoutTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/charts/ChartsPresenterTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/levels/LabelPlacerTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/levels/LevelsPresenterTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderRowFilterTest.ktfeature/ui/src/test/java/com/futsch1/medtimer/feature/ui/statistics/table/ReminderTablePresenterTest.kt1- [Offline build environment](offline-build-environment.md) — lint can't run offline, Robolectric only SDK 28/36, no emulator; which Gradle tasks work1234567891011121314151617---name: offline-build-environmentdescription: "What works and what does not in this checkout's offline Gradle setup (lint, Robolectric SDKs, emulator)"metadata: node_type: memory type: reference originSessionId: d61eeae4-96fd-44ee-9c67-56cfc7f3f89d modified: 2026-11-18T03:57:08.415Z---
The MedTimer checkout builds only with `./gradlew --offline` from the warmed cache (as of 2026-11-18).
- Android Lint cannot run: `com.android.tools.lint:lint-gradle` and `graphics-shapes-desktop` are not cached.- Robolectric runtime jars are cached only for SDK 28 and 36; `@Config(sdk = [34])` fails with UnknownHostException. `@GraphicsMode(NATIVE)` + `captureToImage()` on SDK 28 works for rendering Compose screens to PNG for a visual check.- No emulator/system images, so instrumented tests can only be compiled (`:app:compileFossDebugAndroidTestKotlin`).- Unit tests: `testFossDebugUnitTest testFullDebugUnitTest testDebugUnitTest`; `:app:validateHelpGuide` works offline.1234567891011121314151617181920212223242526272829303132333435[ { "source": "/logs/artifacts", "destination": "artifacts/logs/artifacts", "type": "file", "status": "failed", "service": null, "exclude": [] }, { "source": "/workspace/testbed", "destination": "artifacts/workspace/testbed", "type": "directory", "status": "ok", "service": null, "exclude": [ ".git", "**/.git", "build", "**/build", ".gradle", "**/.gradle", ".kotlin", "**/.kotlin", ".idea", "**/.idea", "local.properties", "**/local.properties", "*.hprof", "**/*.hprof", "hs_err_pid*", "**/hs_err_pid*" ] }]123version https://git-lfs.github.com/spec/v1oid sha256:693ba8f4195da3a47096c46866161fbb2c37fdedc795a40acfdc6c2f2f7dbb87size 39678623123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134{ "task": { "path": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1" }, "trial_name": "t-50c51b0c-1", "trials_dir": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/trials", "environment_build_timeout_multiplier": 2.0, "agent": { "import_path": "efflora_task_types.harbor.agents:ClaudeCode", "model_name": "claude-opus-5-5", "max_timeout_sec": 129600.0, "kwargs": { "disallowed_tools": "WebFetch,WebSearch", "reasoning_effort": "max" }, "env": { "ANTHROPIC_API_KEY": "****", "ANTHROPIC_BASE_URL": "http://[REDACTED_HOST]/anthropic", "DISABLE_AUTOUPDATER": "1", "CLAUDE_CODE_OAUTH_TOKEN": "[REDACTED_API_KEY]", "ANTHROPIC_AUTH_TOKEN": "****", "CLAUDE_CODE_USE_BEDROCK": "", "CLAUDE_CODE_USE_VERTEX": "", "CLAUDE_CODE_USE_FOUNDRY": "", "AWS_BEARER_TOKEN_BEDROCK": "****", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_FABLE_MODEL": "claude-opus-5-5", "CLAUDE_CODE_SUBAGENT_MODEL": "claude-opus-5-5" } }, "environment": { "import_path": "efflora_task_types.harbor.fc_environment:EffloraFcKvmVerifyEnvironment", "kwargs": { "journal_key": "50c51b0c-f44c-43b3-82bf-177accbc0607:1", "namespace": "efflora-tasks", "kubeconfig": null, "task_dir": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "images": { "main": "[REDACTED_REGISTRY]/efflora/tasks@sha256:6b1ebb874a6395ce6215acd13fedb0dfd6ca7e115ed46db4a7b96a11379a16a2", "verify": "[REDACTED_REGISTRY]/efflora/tasks@sha256:ced6346216648e52a637e369492885d53a00ab5b63a7f393579f3c58c15fe7aa" }, "image_keys": { "tests": "verify", "environment": "main" }, "verifier_images": { "trial": "verify" }, "verifier_devices": { "trial": [ "kvm" ] }, "compose": { "version": 1, "services": { "main": { "expose": [], "command": [ "sh", "-c", "sleep infinity" ], "component": "main", "resources": { "cpu": 8.0, "memory_mb": 32768, "storage_mb": 122880 }, "depends_on": {}, "entrypoint": null, "environment": { "LANG": "C.UTF-8" }, "healthcheck": null, "working_dir": null } }, "start_order": [ "main" ] }, "work_item_id": "50c51b0c-f44c-43b3-82bf-177accbc0607", "attempt": 1, "executor_id": "orchestrator/orch-2611171512-074258d8-s2-0", "deadline_s": 41600, "harness_image": "[REDACTED_REGISTRY]/efflora/harness@sha256:42cccd4b257c8db1c5c5d99b3a29767cad5ae2cc599b31a3bd6f1ac990597451", "image_pull_secrets": [ "acr-pull" ], "node_selector": { "type": "virtual-kubelet" }, "tolerations": [ { "key": "virtual-kubelet.io/provider", "operator": "Exists", "effect": "NoSchedule" } ], "gpu_node_selector": {}, "gpu_tolerations": [], "kvm_node_selector": { "efflora.ai/pool": "kvm" }, "kvm_tolerations": [ { "key": "efflora.ai/pool", "operator": "Equal", "value": "kvm", "effect": "NoSchedule" } ], "kvm_pod_policy": { "pack": true, "cpu_ratio": 0.5, "memory_ratio": 0.75, "memory_floor_mb": 24576, "storage_cap_mb": 40960 }, "transport": "execd", "execd_image": "[REDACTED_REGISTRY]/efflora/execd@sha256:217c120691e63c57b800ef7ee49d8e18a5e20acdaa7440e625f072998a465a69", "gateway_host_aliases": {}, "judge_host_aliases": { "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]" } } }, "job_id": "7738c865-33e2-4893-b84f-31f4dc71b206"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153{ "schema_version": 2, "task": { "name": "task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "type": "local", "digest": "sha256:b302de7a622663cbc553ecdbd3ffb097a228c02ede53d141c4d180ba5ba47a06", "path": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1" }, "install_only": false, "timeout_multiplier": 1.0, "environment_build_timeout_multiplier": 2.0, "agent": { "import_path": "efflora_task_types.harbor.agents:ClaudeCode", "model_name": "claude-opus-5-5", "skills": [], "max_timeout_sec": 129600.0, "resume_trajectory": false, "extra_allowed_hosts": [], "kwargs": { "disallowed_tools": "WebFetch,WebSearch", "reasoning_effort": "max" }, "env": { "ANTHROPIC_API_KEY": "****", "ANTHROPIC_BASE_URL": "http://[REDACTED_HOST]/anthropic", "DISABLE_AUTOUPDATER": "1", "CLAUDE_CODE_OAUTH_TOKEN": "[REDACTED_API_KEY]", "ANTHROPIC_AUTH_TOKEN": "****", "CLAUDE_CODE_USE_BEDROCK": "", "CLAUDE_CODE_USE_VERTEX": "", "CLAUDE_CODE_USE_FOUNDRY": "", "AWS_BEARER_TOKEN_BEDROCK": "****", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_FABLE_MODEL": "claude-opus-5-5", "CLAUDE_CODE_SUBAGENT_MODEL": "claude-opus-5-5" }, "mcp_servers": [] }, "bridge_inputs": {}, "skills": [], "environment": { "import_path": "efflora_task_types.harbor.fc_environment:EffloraFcKvmVerifyEnvironment", "force_build": false, "delete": true, "cpu_enforcement_policy": "auto", "memory_enforcement_policy": "auto", "extra_docker_compose": [], "kwargs": { "journal_key": "50c51b0c-f44c-43b3-82bf-177accbc0607:1", "namespace": "efflora-tasks", "kubeconfig": null, "task_dir": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "images": { "main": "[REDACTED_REGISTRY]/efflora/tasks@sha256:6b1ebb874a6395ce6215acd13fedb0dfd6ca7e115ed46db4a7b96a11379a16a2", "verify": "[REDACTED_REGISTRY]/efflora/tasks@sha256:ced6346216648e52a637e369492885d53a00ab5b63a7f393579f3c58c15fe7aa" }, "image_keys": { "tests": "verify", "environment": "main" }, "verifier_images": { "trial": "verify" }, "verifier_devices": { "trial": [ "kvm" ] }, "compose": { "version": 1, "services": { "main": { "expose": [], "command": [ "sh", "-c", "sleep infinity" ], "component": "main", "resources": { "cpu": 8.0, "memory_mb": 32768, "storage_mb": 122880 }, "depends_on": {}, "entrypoint": null, "environment": { "LANG": "C.UTF-8" }, "healthcheck": null, "working_dir": null } }, "start_order": [ "main" ] }, "work_item_id": "50c51b0c-f44c-43b3-82bf-177accbc0607", "attempt": 1, "executor_id": "orchestrator/orch-2611171512-074258d8-s2-0", "deadline_s": 41600, "harness_image": "[REDACTED_REGISTRY]/efflora/harness@sha256:42cccd4b257c8db1c5c5d99b3a29767cad5ae2cc599b31a3bd6f1ac990597451", "image_pull_secrets": [ "acr-pull" ], "node_selector": { "type": "virtual-kubelet" }, "tolerations": [ { "key": "virtual-kubelet.io/provider", "operator": "Exists", "effect": "NoSchedule" } ], "gpu_node_selector": {}, "gpu_tolerations": [], "kvm_node_selector": { "efflora.ai/pool": "kvm" }, "kvm_tolerations": [ { "key": "efflora.ai/pool", "operator": "Equal", "value": "kvm", "effect": "NoSchedule" } ], "kvm_pod_policy": { "pack": true, "cpu_ratio": 0.5, "memory_ratio": 0.75, "memory_floor_mb": 24576, "storage_cap_mb": 40960 }, "transport": "execd", "execd_image": "[REDACTED_REGISTRY]/efflora/execd@sha256:217c120691e63c57b800ef7ee49d8e18a5e20acdaa7440e625f072998a465a69", "gateway_host_aliases": {}, "judge_host_aliases": { "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]" } }, "extra_allowed_hosts": [] }, "verifier": { "disable": false, "environment_mode": "separate" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240{ "id": "67c75982-6455-4e4b-9c6f-a7db8ea22ff9", "task_name": "android-bench/efflora__medtimer-dose-plan-taper-titration-l2", "trial_name": "t-50c51b0c-1", "trial_uri": "file:///tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/trials/t-50c51b0c-1", "task_id": { "path": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1" }, "source": null, "task_checksum": "d1c960f32b42c3423e91284c61ec27be61619d234ee922c3d33d6e94f96bced1", "config": { "task": { "path": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "git_url": null, "git_commit_id": null, "name": null, "ref": null, "overwrite": false, "download_dir": null, "source": null }, "trial_name": "t-50c51b0c-1", "trials_dir": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/trials", "install_only": false, "timeout_multiplier": 1.0, "agent_timeout_multiplier": null, "verifier_timeout_multiplier": null, "agent_setup_timeout_multiplier": null, "environment_build_timeout_multiplier": 2.0, "agent": { "name": null, "import_path": "efflora_task_types.harbor.agents:ClaudeCode", "model_name": "claude-opus-5-5", "n_concurrent": null, "concurrency_group": null, "skills": [], "override_timeout_sec": null, "override_setup_timeout_sec": null, "max_timeout_sec": 129600.0, "resume_trajectory": false, "load_trajectory": null, "extra_allowed_hosts": [], "kwargs": { "disallowed_tools": "WebFetch,WebSearch", "reasoning_effort": "max" }, "env": { "ANTHROPIC_API_KEY": "****", "ANTHROPIC_BASE_URL": "http://[REDACTED_HOST]/anthropic", "DISABLE_AUTOUPDATER": "1", "CLAUDE_CODE_OAUTH_TOKEN": "[REDACTED_API_KEY]", "ANTHROPIC_AUTH_TOKEN": "****", "CLAUDE_CODE_USE_BEDROCK": "", "CLAUDE_CODE_USE_VERTEX": "", "CLAUDE_CODE_USE_FOUNDRY": "", "AWS_BEARER_TOKEN_BEDROCK": "****", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_FABLE_MODEL": "claude-opus-5-5", "CLAUDE_CODE_SUBAGENT_MODEL": "claude-opus-5-5" }, "mcp_servers": [] }, "user_agent": null, "environment": { "type": null, "import_path": "efflora_task_types.harbor.fc_environment:EffloraFcKvmVerifyEnvironment", "force_build": false, "delete": true, "cpu_enforcement_policy": "auto", "memory_enforcement_policy": "auto", "override_cpus": null, "override_memory_mb": null, "override_storage_mb": null, "override_gpus": null, "override_tpu": null, "mounts": null, "extra_docker_compose": [], "kwargs": { "journal_key": "50c51b0c-f44c-43b3-82bf-177accbc0607:1", "namespace": "efflora-tasks", "kubeconfig": null, "task_dir": "/tmp/efflora-orchestrator-capture-v1-iwi6if8w/efflora-trial-am1uu6zj/task-8fcad34a-f842-4b3e-bdbe-bc4fb95d70a1", "images": { "main": "[REDACTED_REGISTRY]/efflora/tasks@sha256:6b1ebb874a6395ce6215acd13fedb0dfd6ca7e115ed46db4a7b96a11379a16a2", "verify": "[REDACTED_REGISTRY]/efflora/tasks@sha256:ced6346216648e52a637e369492885d53a00ab5b63a7f393579f3c58c15fe7aa" }, "image_keys": { "tests": "verify", "environment": "main" }, "verifier_images": { "trial": "verify" }, "verifier_devices": { "trial": [ "kvm" ] }, "compose": { "version": 1, "services": { "main": { "expose": [], "command": [ "sh", "-c", "sleep infinity" ], "component": "main", "resources": { "cpu": 8.0, "memory_mb": 32768, "storage_mb": 122880 }, "depends_on": {}, "entrypoint": null, "environment": { "LANG": "C.UTF-8" }, "healthcheck": null, "working_dir": null } }, "start_order": [ "main" ] }, "work_item_id": "50c51b0c-f44c-43b3-82bf-177accbc0607", "attempt": 1, "executor_id": "orchestrator/orch-2611171512-074258d8-s2-0", "deadline_s": 41600, "harness_image": "[REDACTED_REGISTRY]/efflora/harness@sha256:42cccd4b257c8db1c5c5d99b3a29767cad5ae2cc599b31a3bd6f1ac990597451", "image_pull_secrets": [ "acr-pull" ], "node_selector": { "type": "virtual-kubelet" }, "tolerations": [ { "key": "virtual-kubelet.io/provider", "operator": "Exists", "effect": "NoSchedule" } ], "gpu_node_selector": {}, "gpu_tolerations": [], "kvm_node_selector": { "efflora.ai/pool": "kvm" }, "kvm_tolerations": [ { "key": "efflora.ai/pool", "operator": "Equal", "value": "kvm", "effect": "NoSchedule" } ], "kvm_pod_policy": { "pack": true, "cpu_ratio": 0.5, "memory_ratio": 0.75, "memory_floor_mb": 24576, "storage_cap_mb": 40960 }, "transport": "execd", "execd_image": "[REDACTED_REGISTRY]/efflora/execd@sha256:217c120691e63c57b800ef7ee49d8e18a5e20acdaa7440e625f072998a465a69", "gateway_host_aliases": {}, "judge_host_aliases": { "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]", "[REDACTED_HOST]": "[REDACTED_HOST]" } }, "extra_allowed_hosts": [] }, "verifier": { "override_timeout_sec": null, "max_timeout_sec": null, "disable": false }, "artifacts": [], "extra_instruction_paths": [], "extra_instructions": [], "job_id": "7738c865-33e2-4893-b84f-31f4dc71b206", "source_trial": null }, "agent_info": { "name": "claude-code", "version": "2.1.287", "model_info": { "name": "claude-opus-5-5", "provider": "anthropic" } }, "agent_result": { "n_input_tokens": 87830254, "n_cache_tokens": 87148385, "n_output_tokens": 274054, "cost_usd": 28.364189000000003, "model_usage": { "claude-opus-5-5": { "n_input_tokens": 87830254, "n_cache_tokens": 87148385, "n_output_tokens": 274054, "cost_usd": 26.319721999999995 } }, "rollout_details": null, "metadata": null }, "verifier_result": { "rewards": { "reward": 0.0 } }, "verifier_environment_mode": "separate", "exception_info": null, "started_at": "2026-11-18T03:01:12.304357Z", "finished_at": "2026-11-18T04:42:01.924152Z", "environment_setup": { "started_at": "2026-11-18T03:01:12.383750Z", "finished_at": "2026-11-18T03:02:35.042974Z" }, "agent_setup": { "started_at": "2026-11-18T03:02:35.042997Z", "finished_at": "2026-11-18T03:02:37.431590Z" }, "agent_execution": { "started_at": "2026-11-18T03:02:37.750057Z", "finished_at": "2026-11-18T03:57:28.304722Z" }, "verifier": { "started_at": "2026-11-18T03:57:46.069986Z", "finished_at": "2026-11-18T04:42:01.924136Z" }, "step_results": null}1234567891011121314151617181920212223Ignoring invalid boolean environment value CLAUDE_CODE_USE_BEDROCKIgnoring invalid boolean environment value CLAUDE_CODE_USE_BEDROCKIgnoring invalid boolean environment value CLAUDE_CODE_USE_BEDROCKIgnoring invalid boolean environment value CLAUDE_CODE_USE_BEDROCKRunning command: mkdir -p $CLAUDE_CONFIG_DIR/debug $CLAUDE_CONFIG_DIR/projects/-app $CLAUDE_CONFIG_DIR/shell-snapshots $CLAUDE_CONFIG_DIR/statsig $CLAUDE_CONFIG_DIR/todos $CLAUDE_CONFIG_DIR/skills && if [ -d ~/.claude/skills ]; then cp -r ~/.claude/skills/. $CLAUDE_CONFIG_DIR/skills/ 2>/dev/null || true; fiCommand outputs capturedRunning command: export PATH="$HOME/.local/bin:$PATH"; harbor_claude_code_instruction_6b9a0783da174520b71ab8717ec4ccd3="$HARBOR_CLAUDE_CODE_INSTRUCTION_6B9A0783DA174520B71AB8717EC4CCD3"; unset HARBOR_CLAUDE_CODE_INSTRUCTION_6B9A0783DA174520B71AB8717EC4CCD3; printf "%s" "$harbor_claude_code_instruction_6b9a0783da174520b71ab8717ec4ccd3" | claude --verbose --output-format=stream-json --effort max --disallowedTools WebFetch,WebSearch --permission-mode=bypassPermissions --print 2>&1 | tee /logs/agent/claude-code.txtCommand outputs capturedFailed to download artifact '/logs/artifacts' from service 'main' (best-effort)Traceback (most recent call last): File "/app/.venv/lib/python3.12/site-packages/harbor/trial/artifact_handler.py", line 313, in _download_artifact await source_env.service_download_file( File "/app/packages/task_types/src/efflora_task_types/harbor/environment.py", line 913, in service_download_file await self._compose_service(service).download_file(source_path, target_path) File "/app/packages/task_types/src/efflora_task_types/harbor/resumable.py", line 915, in download_file await self._download_disk("download_file", source_path, File "/app/packages/task_types/src/efflora_task_types/harbor/resumable.py", line 938, in _download_disk return await self._download_disk_inner(kind, source, command, target, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/packages/task_types/src/efflora_task_types/harbor/resumable.py", line 1040, in _download_disk_inner raise capture.CaptureLimit("capture_incomplete")efflora_task_types.harbor.capture.CaptureLimit: 文件采集未完整:capture_incompleteThe verifier.env contains an API key (often the case for LLM-based verifiers). You will incur costs associated with the API calls.10123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.futsch1.medtimer.debug" android:versionCode="192" android:versionName="1.26.5-debug" >
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="36" />
<!-- Allows changing locales --> <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
<!-- Allows changing SystemUI demo mode --> <uses-permission android:name="android.permission.DUMP" />
<permission android:name="com.futsch1.medtimer.debug.NOTIFICATION_PROCESSED" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="com.futsch1.medtimer.debug.NOTIFICATION_PROCESSED" /> <uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" /> <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> <uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<attribution android:label="@string/audio_playback_attribution" android:tag="audioPlayback" />
<uses-permission android:name="android.permission.USE_BIOMETRIC" /> <!-- suppress DeprecatedClassUsageInspection --> <uses-permission android:name="android.permission.USE_FINGERPRINT" />
<permission android:name="com.futsch1.medtimer.debug.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" android:protectionLevel="signature" />
<uses-permission android:name="com.futsch1.medtimer.debug.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" /> <!-- Hilt test applications are not initialized when package-replacement broadcasts arrive. --> <application android:name="com.futsch1.medtimer.MedTimerApplication" android:allowBackup="false" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:dataExtractionRules="@xml/data_extraction_rules" android:debuggable="true" android:enableOnBackInvokedCallback="true" android:extractNativeLibs="false" android:fullBackupContent="@xml/backup_rules" android:hardwareAccelerated="true" android:icon="@mipmap/logo" android:label="@string/app_name" android:localeConfig="@xml/_generated_res_locale_config" android:logo="@mipmap/logo" android:roundIcon="@mipmap/logo_round" android:supportsRtl="true" android:theme="@style/Theme.MedTimer" android:usesCleartextTraffic="false" > <activity android:name="com.futsch1.medtimer.MainActivity" android:configChanges="locale|layoutDirection" android:exported="true" android:launchMode="singleTask" android:theme="@style/Theme.MedTimer" android:windowSoftInputMode="adjustResize" > <intent-filter> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.futsch1.medtimer.MedTimerAppIntro" android:theme="@style/Theme.MedTimer" />
<provider android:name="androidx.core.content.FileProvider" android:authorities="com.futsch1.medtimer.debug.fileprovider" android:exported="false" android:grantUriPermissions="true" > <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths" /> </provider>
<service android:name="com.futsch1.medtimer.feature.reminders.ReminderSchedulerService" android:enabled="true" android:exported="false" />
<activity android:name="com.futsch1.medtimer.feature.reminders.alarm.ReminderAlarmActivity" android:exported="false" android:launchMode="singleInstance" android:showOnLockScreen="true" android:turnScreenOn="true" />
<receiver android:name="com.futsch1.medtimer.feature.reminders.ReminderProcessorBroadcastReceiver" android:enabled="true" android:exported="false" android:permission="com.futsch1.medtimer.debug.NOTIFICATION_PROCESSED" /> <receiver android:name="com.futsch1.medtimer.feature.reminders.widgets.NextRemindersWidgetProvider" android:exported="false" android:label="@string/next_reminders" > <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> </intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/next_reminders_widget_info" /> </receiver> <receiver android:name="com.futsch1.medtimer.feature.reminders.widgets.LatestRemindersWidgetProvider" android:exported="false" android:label="@string/recent_events" > <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> </intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/latest_reminders_widget_info" /> </receiver> <receiver android:name="com.futsch1.medtimer.feature.reminders.widgets.WidgetUpdateReceiver" android:exported="false" > <intent-filter> <action android:name="com.futsch1.medtimer.WIDGET_UPDATE" /> </intent-filter> </receiver>
<activity android:name="androidx.compose.ui.tooling.PreviewActivity" android:exported="true" />
<provider android:name="androidx.startup.InitializationProvider" android:authorities="com.futsch1.medtimer.debug.androidx-startup" android:exported="false" > <meta-data android:name="androidx.emoji2.text.EmojiCompatInitializer" android:value="androidx.startup" /> <meta-data android:name="androidx.lifecycle.ProcessLifecycleInitializer" android:value="androidx.startup" /> <meta-data android:name="androidx.profileinstaller.ProfileInstallerInitializer" android:value="androidx.startup" /> </provider>
<uses-library android:name="androidx.window.extensions" android:required="false" /> <uses-library android:name="androidx.window.sidecar" android:required="false" />
<activity android:name="androidx.activity.ComponentActivity" android:exported="true" android:theme="@android:style/Theme.Material.Light.NoActionBar" />
<service android:name="androidx.room.MultiInstanceInvalidationService" android:directBootAware="true" android:exported="false" />
<receiver android:name="androidx.profileinstaller.ProfileInstallReceiver" android:directBootAware="false" android:enabled="true" android:exported="true" android:permission="android.permission.DUMP" > <intent-filter> <action android:name="androidx.profileinstaller.action.INSTALL_PROFILE" /> </intent-filter> <intent-filter> <action android:name="androidx.profileinstaller.action.SKIP_FILE" /> </intent-filter> <intent-filter> <action android:name="androidx.profileinstaller.action.SAVE_PROFILE" /> </intent-filter> <intent-filter> <action android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION" /> </intent-filter> </receiver> </application>
</manifest>1{"configuration": "fossDebugRuntimeClasspath", "manifest_task": "processFossDebugMainManifest", "module": ":app", "variant": "fossDebug"}.gitattributes+1
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/agent/sessions/projects/-workspace-testbed/822d291a-40c4-4d0c-8223-bfb2544657f2.jsonlAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/agent/sessions/projects/-workspace-testbed/822d291a-40c4-4d0c-8223-bfb2544657f2/tool-results/b7e71dwd4.txtAdded+636
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/agent/sessions/projects/-workspace-testbed/822d291a-40c4-4d0c-8223-bfb2544657f2/tool-results/bf6hpfdxz.txtAdded+638
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/agent/trajectory.jsonAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/artifacts/manifest.jsonAdded+35
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/artifacts/workspace/testbed.tar.gzAdded+3
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/config.jsonAdded+134
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/lock.jsonAdded+153
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/result.jsonAdded+240
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/trial.logAdded+23
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/build-facts/exit.txtAdded+1
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/build-facts/gradle.txtAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/build-facts/merged-manifest.xmlAdded+191
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/build-facts/plan.jsonAdded+1
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/code_quality.jsonAdded+5
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/detailed_scores.jsonAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/evaluator.logAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/prelude-wrapper.txtAdded+2
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/reward.txtAdded+1
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/test-stdout.txtAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/validate_results.txtAdded+555
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/medicine_page.a11y.jsonAdded+27
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/medicine_page.pngAdded

Large File Pointer Details
- SHA256: d1b44d273030fd1c4443bba761b8af767500012277eb46956cad5f6207e68cb0
- Pointer size: 131 Bytes
- Size of remote file: 122 kB
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/overview_future_day.a11y.jsonAdded+45
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/overview_future_day.pngAdded

Large File Pointer Details
- SHA256: c1d924477311cc308ebfee92a2c95893072e9bc9cf1ce37b09c38117f2399733
- Pointer size: 131 Bytes
- Size of remote file: 116 kB
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/stock_settings.a11y.jsonAdded+23
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual/actual/stock_settings.pngAdded

Large File Pointer Details
- SHA256: cf11f4f1f50a7d8f6540c36d49206b4089fa4615b3e9d709d9d0eb57798dd506
- Pointer size: 131 Bytes
- Size of remote file: 132 kB
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__c2ed147f/verifier/visual_score.jsonAdded+29
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/claude-code.txtAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/.claude.jsonAdded+24
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/.last-cleanupAdded+1
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/backups/.claude.json.backup.1794970958931Added+4
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/d61eeae4-96fd-44ee-9c67-56cfc7f3f89d.jsonlAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/d61eeae4-96fd-44ee-9c67-56cfc7f3f89d/tool-results/b0jse2500.txtAdded+468
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/d61eeae4-96fd-44ee-9c67-56cfc7f3f89d/tool-results/bj5171ta6.txtAdded+486
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/d61eeae4-96fd-44ee-9c67-56cfc7f3f89d/tool-results/brbcx1xw7.txtAdded+521
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/memory/MEMORY.mdAdded+1
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/sessions/projects/-workspace-testbed/memory/offline-build-environment.mdAdded+17
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/agent/trajectory.jsonAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/artifacts/manifest.jsonAdded+35
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/artifacts/workspace/testbed.tar.gzAdded+3
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/config.jsonAdded+134
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/lock.jsonAdded+153
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/result.jsonAdded+240
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/trial.logAdded+23
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/verifier/build-facts/exit.txtAdded+1
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/verifier/build-facts/gradle.txtAdded
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/verifier/build-facts/merged-manifest.xmlAdded+191
submissions/v0.1/claude-code__claude-opus-5-5/delivery02-medtimer-ladder-l2-opus-fc__7738c865/feature-medtimer-dose-plan-taper-titration__caf9e8a9/verifier/build-facts/plan.jsonAdded+1