diff --git a/CodingAgentContext/BBQImprovementPlan.md b/CodingAgentContext/BBQImprovementPlan.md new file mode 100644 index 0000000000..ce3c5cb295 --- /dev/null +++ b/CodingAgentContext/BBQImprovementPlan.md @@ -0,0 +1,203 @@ +# BBQ reliability and throughput plan + +## Objective and evidence + +Improve sustained net BP/hour on Switch 1 by first preventing stalled boards, +then reducing avoidable overhead, and finally improving target acquisition. +This addresses [ComputerControl #263](https://github.com/PokemonAutomation/ComputerControl/issues/263), +with task visibility related to [#264](https://github.com/PokemonAutomation/ComputerControl/issues/264). + +The October 19–20 logs reconstruct approximately 2,050 BP earned and 90 BP spent +on rerolls. The longest run averaged about 401 net BP/hour before 05:05, then +stalled for 3.2 hours on photo-savanna / pickup-10 / sneak-up. All three were blue +quests: replacing the board would cost 30 BP before replacement difficulty and +menu time. These are inferred quest rewards, not measured balance snapshots; +reward-source disagreements and accounting limits are documented in the +[analysis report](../analysis/bbq-2026-10-20/report.md). + +Build preparation is complete: the local arm64 app compiles and a `bbq-dev` +profile is prepared. The [M0 local baseline](../analysis/bbq-2026-10-20/m0/findings.md) completed +10 quests in 53m47s (~368 inferred net BP/hour). M1 diagnostic logging is now +implemented locally, with Switch validation pending; recovery behavior is unchanged. + +Execution follows the [incremental workplan](BBQWorkplan.md): one behavior change +per milestone, validated before proceeding. The four stages below define scope +and priorities rather than four large implementation batches. + +## 1. Prevent stalls and preserve observability + +First establish that every known blocked quest has a bounded recovery path. + +- Persist the configured retry budget across rounds for an outstanding quest. + With one configured retry, allow two attempts total, not two per round. + Clear that budget after verified completion or replacement, not a board reread. +- Include pickup-10 in the configuration and honor reroll policy for unsupported + pickup/catch-flying/photo-flying quests. Unsupported status should not bypass + the user's selected action. +- Apply a configurable fallback after retry exhaustion (reroll/skip/stop). + Distinguish skipping from recovery: skipping can leave the board unproductive. + Start with blue rerolls; keep an explicit policy for 50-BP red rerolls. +- Verify the board after rerolling. Handle insufficient BP or unchanged/uncertain + state with bounded retries and a clear stop/report, rather than repeated charges. +- Add a board-level no-progress detector to catch combinations of failures and + uncertain OCR that individual limits miss. Re-read and capture evidence before + taking the configured recovery action. An unreadable fourth position can be + an absent bonus quest; it is not automatically a payable reroll target. +- Only run battle handling after confirmed battle entry; only save/reset when + the completion count advances to a save milestone. +- Log requested quest slug, attempt number, phase timings, result/recovery, + reroll target/cost and before/after board. Read BP from the existing board + snapshot to reconcile earnings without another panel-opening sequence. + Capture landing and failure screenshots. Keep detailed inference/controller + traces separate from these user-facing decisions; a global logger redesign + is not a prerequisite for the BBQ fix. + +Validation: reproduce the observed stalled board (photo-savanna / pickup-10 / +sneak-up); demonstrate that retry counters survive a round boundary, policy +rerolls replace blocked quests, and the board resumes progress without an +unbounded retry/spending loop. Check selection/retry transitions offline and +validate UI confirmation/OCR on the Switch. Keep route timing unchanged for +this experiment, so recovery-policy effects can be measured separately. + +## 2. Measure quest velocity and choose work economically + +Primary sample: the continuous **01:22:16–05:05:19** run. The approximate 401 net +BP/hour baseline refers to this period. Tables count outer task batches, each +including internal retries, failed attempts, travel/recovery and verification. +Between-task board management, reroll costs and incidental completions are not +charged into these task-only rates. Do not interpret them as whole-farm speed. + +| Requested quest | Reward BP | Successes / finished batches | Mean batch min | Direct BP per task-hour | +| --- | ---: | ---: | ---: | ---: | +| Rock-type photo, red | 150 | 1 / 1 | 1.54 | 5,834 | +| Sour sandwich, red | 150 | 1 / 1 | 3.03 | 2,975 | +| In-flight photo, blue | 30 | 4 / 4 | 1.14 | 1,578 | +| Polar photo | 30 | 1 / 1 | 1.22 | 1,477 | +| Coastal photo | 30 | 1 / 1 | 1.22 | 1,471 | +| Make TM | 20 | 6 / 6 | 0.82 | 1,469 | +| Wild Tera battle, red | 100 | 1 / 1 | 4.88 | 1,230 | +| Catch Rock-type | 40 | 1 / 1 | 2.13 | 1,128 | +| Catch Ground-type | 40 | 1 / 1 | 2.74 | 877 | +| Travel | 20 | 8 / 8 | 1.38 | 867 | +| Auto-battle 30, red | 130 | 1 / 1 | 9.41 | 829 | +| Swimming photo | 30 | 6 / 7 | 2.13 | 725 | +| Catch-any | 20 | 1 / 1 | 2.91 | 412 | +| Auto-battle 10 | 20 | 9 / 9 | 5.40 | 222 | +| Catch Normal-type | 40 | 1 / 3 | 4.82 | 166 | +| Sneak-up | 20 | 4 / 26 | 3.22 | 57 | + +Earlier pre-stall sessions add important failure cases: Tera-self defeat succeeds +in 1/6 finished batches, consuming 25.47 minutes for 30 BP (71 direct BP/task-hour), +with two more interrupted batches. Catch-poison fails 3/3 finished batches, +consuming 16.38 minutes. These are separate settings/session conditions and +should not be silently pooled into the continuous-run rates. + +Findings and policy implications: + +- Favor fast photos and crafting when available. Several red quests pay very + well, but one observation is a candidate for further measurement, not a + reliable success probability or repeatable farming rate. Reds are scarce. +- Catching is route-specific: Rock/Ground/Any work in this small sample while + Normal performs poorly. Do not blacklist all catching from an aggregate rate. +- Sneak-up consumes 83.6 minutes of the 223-minute pre-stall period while only + four batches succeed. Recovery can improve throughput before any full stall. +- Photo-savanna has no task in this continuous pre-stall sample, then fails + in all 29 later batches. It did succeed once in an earlier session. This + illustrates changing state and correlated retries, not a stationary p=0 or p=1. +- Auto-10 is reliable but expensive. Do not reroll solely because its direct + rate is below 400: blue completion advances the next red quest, and rerolling + does not. Five observed red rewards average 136 BP, suggesting an illustrative + 13.6-BP progress credit per blue completion. That brings auto-10's task-only + value from 222 to about 374 BP/hour before overhead. This model credit is not + extra earned BP and must not be added to the ledger alongside red rewards. +- A completed-only sandwich sample omits setup/fatal interruptions. The broader + sample has two censored bitter-sandwich tasks; investigate before calling the + route reliable despite its high successful-run return. + +Use an observed net earning rate r and an estimated task's expected reward V +(including bonus progress) and duration T to compare: reroll opportunity gain +approximately r*(T - reroll-menu-time) - reroll-cost - V. Include replacement +difficulty and reroll chains; this is an initial decision model, not a guarantee. +At 400 BP/hour, 10 BP is 1.5 minutes and 50 BP is 7.5 minutes of productive time. + +Start with a fixed, interpretable ranking plus live failure fallback. Collect +more outcomes before adding an adaptive scheduler. Measure by requested slug +and shared route, rather than translated labels. Repeat comparable runs, record +gross/spent/net BP, active and wall time, failure time, and empirical 10/30/60-minute +returns. Report small samples and temporal changes rather than treating repeated +attempts at the same missing spawn as independent observations. + +Data: `analysis/bbq-2026-10-20/quest-velocity.csv`, generated by +`quest_velocity.py`; it contains both the continuous and all-pre-stall scopes, +censored counts and an explicitly illustrative bonus-adjusted value column. + +## 3. Reduce avoidable overhead and fix easy route dependencies + +Pickup rerolling belongs in stage 1, not here. After the recovery policy works: + +- Avoid healing when no battle occurred; gate healing/recharging on actual + HP/PP/Tera needs. Log why a visit is required. +- Remove duplicate flights only when the existing state satisfies the next + route's position and camera assumptions. A same-named destination does not + prove equivalence: healing may move the character, and flying again may be + establishing a known anchor. Preserve or explicitly re-establish that anchor. +- Defer Travel if another selected task can complete it incidentally, then + re-read before running a dedicated lap. Measure whether this improves the + observed route mix rather than assuming progress carries over usefully. +- Add a bounded, configurable spawn-loading wait, followed by validation. A + fixed extra delay everywhere can reduce throughput; compare Switch 1 outcomes. +- Inspect the Pride Rock camera-reset asymmetry: catch-any and Sneak-up press L + after their final Switch 1 diagonal movement; the shared photo-savanna route + does not. Treat a heading reset as a controlled experiment, not a proven fix. +- Diagnose radar-ball fallback and selected fly-point verification. Instrument + the failure and test localization/console conditions before relying on + subsequent timed routes. + +Validation: measure phase durations to identify real redundant work, then change +one route/transition at a time. Require improved net BP/hour with preserved +arrival reliability, not merely fewer commands or faster successful cases. + +## 4. Raise the sustainable rate beyond the recovered baseline + +Separate three sources of improvement: more productive board time, less overhead, +and genuinely better target acquisition. Avoid setting 400 BP/hour as a ceiling: +stage 1–3 may already exceed it; stage 4 should be justified by the remaining +measured bottlenecks. + +- Introduce bounded encounter phases: verified arrival → spawn readiness → + camera sweep/lock-on → throw/engage → confirmed battle → result. Preserve + failure reason and screenshots for each transition. +- Replace Tera-self's single Kleavor dependency with an ordinary nearby wild + target. Keep target restrictions for typed catches, Sneak-up positioning, + and shiny detection behavior. +- Recover locally after a miss when safe, try another target or known route, + then return to reroll policy after a shared time budget. Do not convert a + missing-spawn retry loop into an unbounded camera-search loop. +- Track shared route failures (Pride Rock serves Catch-any, Savanna photos and + Sneak-up). Use evidence to decide whether to wait, reset orientation, respawn, + choose a different location, or cool down that route. +- Then consider combining nearby objectives and reducing plaza trips with + explicit navigation entry states. Ground-item collection is a separate later + experiment: first a bounded known route or nearby-target detector, not general + terrain exploration. + +Validation: compare the same quest families on Switch 1 with matched setup, +record median/tail completion times and acquisition failures, and retain a +bounded fallback. A faster single catch is insufficient evidence of a better +overnight farmer. Use repeated long runs to assess sustained net BP/hour and +zero-return windows. + +## Delivery and measurement + +Start with observability, then the independent save/battle-entry guards, retry +persistence, unsupported-quest policy and bounded failed-quest rerolling. Validate +recovery on the actual stalled board before changing routes or scheduling. + +For each behavior change, compare equivalent Switch 1 conditions and record net +BP/hour, time lost to failures, reroll costs and zero-return windows. Distinguish +source-level tests from successful gameplay validation. A single fast success +or one 1/1 sample is not sufficient to claim sustained improvement. + +See [BBQWorkplan.md](BBQWorkplan.md) for commit-sized milestones and acceptance +criteria. Later route work remains conditional on the bottlenecks observed after +recovery fixes; 400 BP/hour is a baseline, not a promised ceiling or target cap. diff --git a/CodingAgentContext/BBQWorkplan.md b/CodingAgentContext/BBQWorkplan.md new file mode 100644 index 0000000000..7bd3b43135 --- /dev/null +++ b/CodingAgentContext/BBQWorkplan.md @@ -0,0 +1,91 @@ +# Incremental BBQ workplan + +Companion to the [improvement plan](BBQImprovementPlan.md) and +[overnight analysis](../analysis/bbq-2026-10-20/report.md). + +## Working agreement + +Implement one milestone at a time, with a separate local commit for each +behavior change. Keep unrelated route/scheduler changes out of that commit. +Record the tested revision, settings, evidence and result before advancing. +Use focused automated checks for state/policy changes and Switch 1 trials for +capture, menu, timing and spawn behavior. Compilation alone does not validate a +route. If a milestone regresses another quest, resolve or revert it before +moving on. Do not bundle the later experiments into the initial stall fix. + +M0 is complete; see the [baseline findings](../analysis/bbq-2026-10-20/m0/findings.md). +M1 diagnostics are implemented locally; their Switch acceptance check remains open. +Later behavior milestones remain pending. + +## Stage 1 — Make blocked boards recover + +| ID | Small change | Done when / validation | +| --- | --- | --- | +| M0 | Establish development baseline. | **Complete.** Local Switch 1 baseline: 53m47s, 10 completions, inferred 330 net BP (~368 BP/h). Default profile was used after reopening. Camera Support was corrected before the run; see M0 findings for comparability limits. | +| M1 | Add task-level diagnostic logging and BP snapshots. | **Implemented; Switch validation pending.** Logs exact slug, numbered attempts, route/verification duration, board/BP, outcome and retry-exhaustion action. Catch entry-timeout and verification-failure images save locally. Validate BP against visible balances, screenshots and one result before proceeding. Navigation, retry and spending policies are unchanged; OCR/image I/O adds diagnostic overhead. Landing-phase images and broader route phase detail remain follow-ups. | +| M2 | Fix save/reset milestone handling. | A newly reached completion milestone saves once; repeated no-progress rounds and the initial zero count do not trigger repeated saves. Verify the state transition with a focused check. | +| M3 | Guard battle handling on confirmed entry. | An entry timeout cannot fall through into Tera/attack commands. A normal encounter still follows its existing battle/shiny-handling path. Exercise both paths. | +| M4 | Persist the outstanding quest's retry budget across rounds. | With one retry configured, the same outstanding quest gets two attempts total. Rereading the board does not reset the budget; confirmed completion/replacement does. Existing skip fallback cannot reattempt the exhausted quest next round. | +| M5 | Honor reroll policy for unsupported quests. | Pickup appears in configuration with unsupported status; its selected action works. Unsupported catch/photo-flying policies are no longer silently ignored. Verify replacement against the next board and BP change; bound unclear/failed confirmations. | +| M6 | Add failed-quest fallback using the verified reroll path. | An exhausted quest follows its configured reroll/skip/stop action. Blue and red costs are handled explicitly; insufficient BP or repeated uncertainty stops/reports instead of repeatedly charging. The replacement receives a fresh attempt budget. | +| M7 | Add board-level no-progress recovery. | The photo-savanna / pickup / sneak-up board cannot loop indefinitely after individual policies run. Refresh OCR and capture evidence before recovery. An absent/unreadable bonus slot is not blindly rerolled. Demonstrate bounded recovery or a clear stop. | + +**Stage gate:** perform a controlled recovery run followed by a longer run. +Verify that completions resume, BP spending reconciles, failure limits persist, +and no flat-count save/reset loop remains. Report any residual zero-return +windows and their causes. Keep navigation unchanged during this comparison. + +## Stage 2 — Re-measure and select economically + +| ID | Small change | Done when / validation | +| --- | --- | --- | +| M8 | Refresh the quest velocity/ROI analysis after recovery fixes. | Update per-slug batch outcomes, time, gross/spent/net BP and 10/30/60-minute returns. Keep small samples, censored tasks and bonus-progress assumptions visible. Identify the next measured bottleneck. This is an analysis milestone, not a scheduler rewrite. | +| M9 | Trial one interpretable quest-priority rule, if M8 supports it. | Compare one rule (for example fast available photos/TM before a dedicated Travel task) with the previous policy. Include red-quest progress and reroll costs. Retain only with improved observed throughput and no new starvation. | + +**Stage gate:** decide which reliable-but-slow tasks need optimization and which +failing routes should be repaired or rerolled. Do not infer automatic blacklist +rules from a single night's pooled success fractions. + +## Stage 3 — Remove measured overhead, one transition at a time + +| ID | Small change | Done when / validation | +| --- | --- | --- | +| M10 | Skip an unnecessary heal/recharge on one verified path. | Start with the no-battle case. Logs show the skipped work and retained position/resource assumptions; successful battle recovery still heals when required. | +| M11 | Remove one verified duplicate flight. | The next route starts from an equivalent position/camera anchor and reaches its destination reliably. Measure time saved; retain re-anchoring when a heal or movement changed the start state. Repeat as separate later commits for other transitions. | +| M12 | Trial spawn-loading wait on one failing route. | Compare entry outcomes and full completion time with/without the bounded Switch 1 delay. Keep fallback active; do not apply an unmeasured blanket delay to all quests. | +| M13 | Trial the Pride Rock photo camera-reset correction. | Capture arrival/heading/target evidence and compare the single camera change. Establish whether it improves actual photo completion; absence of `Photo not taken` alone is insufficient. | + +Radar-ball failures and fly-point OCR verification are separate diagnostic +follow-ups if these trials show incorrect orientation/destinations. First +reproduce each fault; then scope one detector/navigation change and its own +acceptance test. They are not prerequisites for proving the reroll fixes. + +**Stage gate:** update the baseline and identify how much time remains in target +acquisition versus unavoidable travel. Preserve the shared route anchors while +removing overhead. + +## Stage 4 — Improve target acquisition beyond fixed routes + +| ID | Small change | Done when / validation | +| --- | --- | --- | +| M14 | Add bounded local target acquisition to one quest route. | Verified arrival, spawn wait, camera/lock-on attempts and battle confirmation have explicit outcomes and a shared timeout. The route returns to fallback rather than searching forever. | +| M15 | Replace Tera-self's single-Kleavor dependency. | An ordinary nearby wild target can satisfy the quest on Switch 1, with confirmed entry and preserved shiny handling. Compare success rate and full completion time against the prior route. | +| M16 | Apply the proven acquisition approach to one additional catch/Sneak-up route. | Preserve the chosen type or positional requirement. Measure that route independently; do not simultaneously migrate every catch/photo function. Repeat successful migrations in later commits. | + +Only after these results, consider objective combinations, transitions between +nearby tasks and a bounded item-pickup prototype. Each becomes a separately +specified experiment; general terrain navigation is not required for the +initial throughput improvement. + +**Final evaluation:** compare repeated long runs against the recovered baseline, +including net BP/hour, median/tail task duration, zero-return windows, failures +and reroll expenditure. The goal is sustained improvement; a faster successful +catch or a peak interval is not sufficient. + +## Evidence recorded for each milestone + +Record the commit, exact scope, automated checks, Switch/settings context, +elapsed duration, net BP/result, source log range and any unresolved behavior. +If gameplay validation is deferred, say so explicitly and keep that part of the +milestone open. Summarize meaningful results on #263; use #264 for changes to +program-event visibility beyond this BBQ instrumentation. diff --git a/CodingAgentContext/LocalMacDevelopment.md b/CodingAgentContext/LocalMacDevelopment.md new file mode 100644 index 0000000000..c288eab2f0 --- /dev/null +++ b/CodingAgentContext/LocalMacDevelopment.md @@ -0,0 +1,100 @@ +# Local Mac development + +This checkout was configured on Apple Silicon (macOS 26, Apple Clang 21) on +2026-10-20. Start with a baseline build before changing BBQ behavior. + +## Dependencies + +- CMake and Ninja, installed with Homebrew. +- OpenCV **4** (`brew install opencv@4`); Homebrew's unversioned `opencv` is + currently version 5, which this project's pkg-config lookup does not accept. +- Tesseract and Leptonica from Homebrew. +- Qt **6.8.3**, installed in `.cache/qt/6.8.3/macos` with aqtinstall. + Required additional modules include qtmultimedia and qtserialport. +- Runtime data in the ignored `Packages/` checkout of + `https://github.com/PokemonAutomation/Packages` (master). +- ONNX Runtime 1.23.2 is extracted by CMake from the bundled arm64 archive. + +The local installer environment `.cache/build-tools` contains aqtinstall and +PyYAML. PyYAML also allows validation of the repository's log-reading skill. +Dependencies and generated files stay in ignored build/cache/package directories. + +## Configure and build + +From the repository root: + +```sh +env PKG_CONFIG_PATH=/opt/homebrew/opt/opencv@4/lib/pkgconfig \ + cmake -S SerialPrograms -B build-local -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_PREFIX_PATH="$PWD/.cache/qt/6.8.3/macos" \ + -DCMAKE_OSX_ARCHITECTURES=arm64 \ + -DWrapOpenGL_AGL=/Library/Developer/CommandLineTools/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AGL.framework/AGL.tbd \ + -DPA_SOCIAL_SDK=OFF -DCOMMAND_LINE_EXE=OFF +cmake --build build-local --parallel 6 > build-local/build.log 2>&1 +``` + +`RelWithDebInfo` retains optimization and debug symbols. The optional Discord +Social SDK is disabled; DPP is absent and therefore disabled by CMake. Neither +is needed for local BBQ experiments. `COMMAND_LINE_EXE` controls the separate +controller CLI, not the main application's `--command-line-test-mode`. + +When invoked through the agent's sandbox, Qt helper executables abort with +`Incompatible processor ... neon` because CPU-feature queries are restricted. +Configure, compile and launch with the required execution approval outside that +sandbox; do not alter Qt or disable hardware validation to hide the symptom. + +With the macOS 26 SDK, Qt 6.8.3's OpenGL wrapper also requests AGL, whose linker +stub is absent from that SDK. The installed macOS 15.4 SDK has the arm64 stub; +the `WrapOpenGL_AGL` cache override above fixes final linking without changing +the repository or recompiling against an older SDK. Use this local override +only where that installed SDK path exists. + +The complete arm64 build succeeded at checkout `ed29956a8`, with resources, +firmware and scripts deployed beside the app. The linker warns that Homebrew's +Tesseract was built for macOS 26.6.2 while this executable targets 26.0. The +current host is macOS 26.6.2, satisfying that dependency's OS requirement. + +## Development profile + +Launch the built application with: + +```sh +open -n "$PWD/build-local/SerialPrograms.app" --args --profile bbq-dev +``` + +On this version, macOS stores the development profile below: + +```text +~/Library/Application Support/SerialPrograms/Profiles/bbq-dev/ +``` + +The profile contains separate settings, logs, screenshots, error dumps and +downloaded OCR data. A clean profile requires capture/controller/game settings; +alternatively copy the existing settings and downloaded resources into the new +profile before launch, keeping these private local files outside Git. Do not +point two running instances at the same controller or capture device. Close the +release instance before a gameplay experiment. + +The `bbq-dev` profile has been prepared from the existing settings and downloaded +OCR resources. The app was deliberately not launched: the user chose to keep +the installed instance running while continuing analysis. Runtime startup and +capture/controller tests are still pending. + +Launching the UI is a smoke test, not validation of a game route. Verify video, +audio, console type, language and controller connection before running a quest. + +## Validation and experiments + +The main executable accepts `--command-line-test-mode`; many tests require the +external `PokemonAutomation/CommandLineTests` fixtures, located as +`UnitTestResources/` or `CommandLineTests/` near the app. Do not report a missing +fixture run as a clean test pass. The GUI's Unit Test Runner supports selecting +tests; use targeted tests as changes become concrete. + +For BBQ, first establish a baseline with the same game setup. Add structured +quest/attempt identifiers, landing and battle-entry timestamps, screenshots on +entry failure, and outcome/recovery messages before changing routes. Count +reroll BP and elapsed wall time when comparing throughput. Keep interrupted +attempts separate from completed failures. See the +[log-reading skill](../skills/serialprograms-logs/SKILL.md). diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestDetector.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestDetector.cpp index 378cb5236f..68fd546569 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestDetector.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestDetector.cpp @@ -10,6 +10,7 @@ #include "CommonFramework/VideoPipeline/VideoOverlayScopes.h" #include "CommonTools/Images/ImageFilter.h" #include "VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestReader.h" +#include "Tests/ImageUnitTest.h" #include "PokemonSV_BlueberryQuestDetector.h" namespace PokemonAutomation{ @@ -108,8 +109,73 @@ bool BlueberryQuestWatcher::process_frame(const ImageViewRGB32& screen, WallCloc } +// One quest slot on a full frame of the quest panel. +struct BlueberryQuestScenario{ + std::string image; + BlueberryQuestDetector::QuestPosition position; + std::string expected_slug; + size_t width; + size_t height; +}; + +class Test_BlueberryQuestDetector : public ImageUnitTest{ +public: + Test_BlueberryQuestDetector(BlueberryQuestScenario scenario) + : ImageUnitTest( + "PokemonSV::BlueberryQuestDetector - " + scenario.image + + " - slot " + std::to_string((int)scenario.position + 1) + + " - " + std::to_string(scenario.width), + {scenario.image} + ) + , m_scenario(std::move(scenario)) + {} + + virtual UnitTestResult run_on_images( + Logger& logger, CancellableScope&, + const std::vector& images + ) const override{ + ImageRGB32 image = images[0].scale_to(m_scenario.width, m_scenario.height); + BlueberryQuestDetector detector(logger, COLOR_RED, Language::ChineseTraditional, m_scenario.position); + const std::string actual = detector.detect_quest(image); + if (actual != m_scenario.expected_slug){ + return "Expected quest \"" + m_scenario.expected_slug + "\", read \"" + actual + "\""; + } + return true; + } +private: + const BlueberryQuestScenario m_scenario; +}; + +// Every slot of one Traditional Chinese quest panel frame, at 1080p and 720p. +static void add_tests_BlueberryQuestPanel( + UnitTestDatabase& database, + const std::string& image, const std::string (&slugs)[4] +){ + using enum BlueberryQuestDetector::QuestPosition; + const BlueberryQuestDetector::QuestPosition positions[] = {FIRST, SECOND, THIRD, FOURTH}; + const std::pair sizes[] = {{1920, 1080}, {1280, 720}}; + for (size_t slot = 0; slot < 4; slot++){ + for (const auto& [width, height] : sizes){ + database.add(BlueberryQuestScenario{ + .image = image, + .position = positions[slot], + .expected_slug = slugs[slot], + .width = width, + .height = height, + }); + } + } +} +void add_tests_BlueberryQuestDetector(UnitTestDatabase& database){ + // Singleplayer without a red quest shows 3 quests, so the fourth slot reads + // as nothing. "catch-any" reads "捕捉1隻..." on screen where the dictionary + // has "捕捉一隻...". + add_tests_BlueberryQuestPanel(database, "PokemonSV/BlueberryPoints/6750.png", {"catch-any", "sneak-up", "auto-10", ""}); + // The first frame after rerolling the first quest. + add_tests_BlueberryQuestPanel(database, "PokemonSV/BlueberryPoints/6740.png", {"photo-swim", "sneak-up", "auto-10", ""}); +} diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestDetector.h b/SerialPrograms/Source/VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestDetector.h index 2dcb501a2c..414f22e55b 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestDetector.h +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Inference/PokemonSV_BlueberryQuestDetector.h @@ -9,6 +9,7 @@ #include "Common/Cpp/Logging/AbstractLogger.h" #include "Common/Cpp/Color.h" +#include "Common/Cpp/TestRunners/UnitTestDatabase.h" #include "CommonFramework/ImageTools/ImageBoxes.h" #include "CommonFramework/VideoPipeline/VideoOverlayScopes.h" #include "CommonFramework/Language.h" @@ -75,6 +76,9 @@ class BlueberryQuestWatcher : public VisualInferenceCallback{ }; +void add_tests_BlueberryQuestDetector(UnitTestDatabase& database); + + } diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Options/PokemonSV_BBQOption.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/Options/PokemonSV_BBQOption.cpp index 431763d87c..034cb78f8d 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Options/PokemonSV_BBQOption.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Options/PokemonSV_BBQOption.cpp @@ -194,6 +194,12 @@ BBQOption::BBQOption(OCR::LanguageOCROption* language_option) "Fix Time when Done:
Fix the time after the program finishes.", LockMode::UNLOCK_WHILE_RUNNING, false ) + , SAVE_TARGET_DIAGNOSTICS( + "Save Target Diagnostics:
For catch, Sneak Up and photo quests, save a frame at each step of reaching the target to DebugDumps/BBQ/targets/. " + "When the target may not have been reached, also save the stream history there, if it is enabled in the global settings. " + "For finding out why these quests fail. The log records each attempt either way.", + LockMode::UNLOCK_WHILE_RUNNING, false + ) { if (m_language_owner){ PA_ADD_OPTION(LANGUAGE); @@ -211,6 +217,7 @@ BBQOption::BBQOption(OCR::LanguageOCROption* language_option) PA_ADD_OPTION(CATCH_ON_WIN); PA_ADD_OPTION(NUM_RETRIES); PA_ADD_OPTION(FIX_TIME_WHEN_DONE); + PA_ADD_OPTION(SAVE_TARGET_DIAGNOSTICS); } diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Options/PokemonSV_BBQOption.h b/SerialPrograms/Source/VideoGames/PokemonSV/Options/PokemonSV_BBQOption.h index f5715a10c7..c1eaabb1bb 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Options/PokemonSV_BBQOption.h +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Options/PokemonSV_BBQOption.h @@ -101,6 +101,8 @@ class BBQOption : public GroupOption{ BooleanCheckBoxOption FIX_TIME_WHEN_DONE; + BooleanCheckBoxOption SAVE_TARGET_DIAGNOSTICS; + private: BBQOption(OCR::LanguageOCROption* language_option); }; diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/PokemonSV_Tests.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/PokemonSV_Tests.cpp index ef37700f13..936fd59771 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/PokemonSV_Tests.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonSV/PokemonSV_Tests.cpp @@ -29,6 +29,7 @@ #include "Inference/ItemPrinter/PokemonSV_ItemPrinterJobsDetector.h" #include "Programs/Farming/PokemonSV_BBQTests.h" #include "PokemonSV_Tests.h" +#include "Inference/PokemonSV_BlueberryQuestDetector.h" namespace PokemonAutomation{ namespace NintendoSwitch{ @@ -58,6 +59,7 @@ void add_tests(UnitTestDatabase& database){ add_tests_NormalBattleMenus(database); add_tests_LetsGoKillDetector(database); add_tests_BBQ(database); + add_tests_BlueberryQuestDetector(database); } diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTargetDiagnostics.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTargetDiagnostics.cpp new file mode 100644 index 0000000000..4f65662b8d --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTargetDiagnostics.cpp @@ -0,0 +1,160 @@ +/* BBQ Target Diagnostics + * + * From: https://github.com/PokemonAutomation/ + * + */ + +#include +#include +#include "Common/Cpp/PrettyPrint.h" +#include "Common/Cpp/Filesystem/Filesystem.h" +#include "CommonFramework/GlobalAutoPaths.h" +#include "PokemonSV_BBQTargetDiagnostics.h" + +namespace PokemonAutomation{ +namespace NintendoSwitch{ +namespace PokemonSV{ + + +namespace{ + +std::string quest_slug(BBQuests quest){ + const EnumEntry* entry = BBQuests_database().find(quest); + return entry == nullptr ? "unknown" : entry->slug; +} + +std::string seconds_to_string(std::chrono::milliseconds elapsed){ + std::ostringstream out; + out << std::fixed << std::setprecision(1) << elapsed.count() / 1000.0 << "s"; + return out.str(); +} + +std::string target_diagnostics_directory(){ + return DEBUG_PATH() + "BBQ/targets/"; +} + +} + + +TargetAttemptOutcome classify_target_attempt(const TargetAttemptSignals& signals){ + switch (signals.kind){ + case TargetAttemptKind::battle: + if (signals.encounter_detected){ + return TargetAttemptOutcome::battle_entered; + } + return signals.battle_menu_seen + ? TargetAttemptOutcome::battle_menu_without_encounter + : TargetAttemptOutcome::no_battle; + case TargetAttemptKind::photo: + if (signals.encounter_detected){ + return TargetAttemptOutcome::battle_during_photo; + } + return signals.photo_prompt_seen + ? TargetAttemptOutcome::photo_prompt_seen + : TargetAttemptOutcome::photo_prompt_timeout; + } + return TargetAttemptOutcome::no_battle; +} + +const char* target_attempt_outcome_to_string(TargetAttemptOutcome outcome){ + switch (outcome){ + case TargetAttemptOutcome::battle_entered: return "battle-entered"; + case TargetAttemptOutcome::no_battle: return "no-battle"; + case TargetAttemptOutcome::battle_menu_without_encounter: return "battle-menu-without-encounter"; + case TargetAttemptOutcome::photo_prompt_seen: return "photo-prompt-seen"; + case TargetAttemptOutcome::photo_prompt_timeout: return "photo-prompt-timeout"; + case TargetAttemptOutcome::battle_during_photo: return "battle-during-photo"; + } + return "unknown"; +} + +bool target_attempt_needs_history(TargetAttemptOutcome outcome){ + switch (outcome){ + case TargetAttemptOutcome::battle_entered: + case TargetAttemptOutcome::photo_prompt_seen: + return false; + case TargetAttemptOutcome::no_battle: + case TargetAttemptOutcome::battle_menu_without_encounter: + case TargetAttemptOutcome::photo_prompt_timeout: + case TargetAttemptOutcome::battle_during_photo: + return true; + } + return true; +} + +std::string target_attempt_summary( + BBQuests quest, + const TargetAttemptSignals& signals, + std::chrono::milliseconds elapsed +){ + std::ostringstream out; + out << "BBQ event=target-attempt quest=" << quest_slug(quest) + << " outcome=" << target_attempt_outcome_to_string(classify_target_attempt(signals)) + << " encounter=" << signals.encounter_detected; + switch (signals.kind){ + case TargetAttemptKind::battle: + out << " battle_menu=" << signals.battle_menu_seen; + break; + case TargetAttemptKind::photo: + out << " photo_prompt=" << signals.photo_prompt_seen; + break; + } + out << " elapsed=" << seconds_to_string(elapsed); + return out.str(); +} + + +TargetAttemptRecorder::TargetAttemptRecorder(VideoStream& stream, BBQuests quest, bool save_files) + : m_stream(stream) + , m_quest(quest) + , m_save_files(save_files) + , m_start(current_time()) + , m_file_prefix(target_diagnostics_directory() + now_to_filestring() + "-" + quest_slug(quest)) +{} + +void TargetAttemptRecorder::checkpoint(const std::string& name){ + const auto elapsed = std::chrono::duration_cast(current_time() - m_start); + m_stream.log( + "BBQ event=target-checkpoint quest=" + quest_slug(m_quest) + + " checkpoint=" + name + " elapsed=" + seconds_to_string(elapsed) + ); + if (m_save_files){ + m_frames.emplace_back(name, m_stream.video().snapshot()); + } +} + +TargetAttemptOutcome TargetAttemptRecorder::finish(const TargetAttemptSignals& signals){ + const auto elapsed = std::chrono::duration_cast(current_time() - m_start); + m_stream.log(target_attempt_summary(m_quest, signals, elapsed)); + + const TargetAttemptOutcome outcome = classify_target_attempt(signals); + if (!m_save_files){ + return outcome; + } + + try{ + Filesystem::create_directories(Filesystem::Path(target_diagnostics_directory())); + }catch (...){} + + for (const auto& [name, frame] : m_frames){ + const std::string path = m_file_prefix + "-" + name + ".png"; + const bool saved = frame && frame->save(path); + m_stream.log("BBQ event=target-file saved=" + std::to_string(saved) + " path=" + path); + } + m_frames.clear(); + + // The stream history covers the approach that led here, if the user has + // turned it on in the global settings. + if (target_attempt_needs_history(outcome)){ + const std::string path = m_file_prefix + "-approach.mp4"; + const bool saved = m_stream.save_stream_history(path); + m_stream.log("BBQ event=target-file saved=" + std::to_string(saved) + " path=" + path); + } + return outcome; +} + + + +} +} +} diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTargetDiagnostics.h b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTargetDiagnostics.h new file mode 100644 index 0000000000..90b29ae19b --- /dev/null +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTargetDiagnostics.h @@ -0,0 +1,99 @@ +/* BBQ Target Diagnostics + * + * From: https://github.com/PokemonAutomation/ + * + * Records how each attempt to reach a catch, Sneak Up or photo target went, + * to find out why so many attempts never find their target. It only observes: + * it sends no controller commands and changes no decision. + * + */ + +#ifndef PokemonAutomation_PokemonSV_BBQTargetDiagnostics_H +#define PokemonAutomation_PokemonSV_BBQTargetDiagnostics_H + +#include +#include +#include +#include +#include "Common/Cpp/Time.h" +#include "CommonFramework/Tools/VideoStream.h" +#include "CommonFramework/VideoPipeline/VideoFeed.h" +#include "VideoGames/PokemonSV/Options/PokemonSV_BBQOption.h" + +namespace PokemonAutomation{ +namespace NintendoSwitch{ +namespace PokemonSV{ + + +enum class TargetAttemptKind{ + battle, // Catch and Sneak Up: lock on to the target to start a battle. + photo, // Photo: frame the target and take a picture. +}; + +enum class TargetAttemptOutcome{ + battle_entered, + no_battle, + // The battle menu showed up, but the encounter watcher did not fire, so + // the route treats the attempt as if no battle started. + battle_menu_without_encounter, + photo_prompt_seen, + // Not proof the photo failed: some photo quests still complete. + photo_prompt_timeout, + battle_during_photo, +}; + +// What the route's detectors reported for one attempt. +struct TargetAttemptSignals{ + TargetAttemptKind kind = TargetAttemptKind::battle; + bool encounter_detected = false; + bool battle_menu_seen = false; // Battle routes only. + bool photo_prompt_seen = false; // Photo routes only. +}; + +TargetAttemptOutcome classify_target_attempt(const TargetAttemptSignals& signals); +const char* target_attempt_outcome_to_string(TargetAttemptOutcome outcome); + +// Whether the stream history before this outcome is worth keeping: it is, +// whenever the target may not have been reached. +bool target_attempt_needs_history(TargetAttemptOutcome outcome); + +// The log line for an attempt, in the same "BBQ event=..." form as the other +// BBQ logs so run audits can grep for it. +std::string target_attempt_summary( + BBQuests quest, + const TargetAttemptSignals& signals, + std::chrono::milliseconds elapsed +); + + +// Records one attempt: logs each checkpoint and the outcome. With +// "save_files", it also saves the frame at each checkpoint, and the stream +// history when the target may not have been reached, under +// DebugDumps/BBQ/targets/. Files are written in finish(), after the attempt, +// so saving them never delays a controller command during the approach. +class TargetAttemptRecorder{ +public: + TargetAttemptRecorder(VideoStream& stream, BBQuests quest, bool save_files); + + // Logs a checkpoint and keeps the current frame. Call it only where the + // route already waits for its commands to finish, so the frame shows the + // result of the commands sent so far. + void checkpoint(const std::string& name); + + TargetAttemptOutcome finish(const TargetAttemptSignals& signals); + +private: + VideoStream& m_stream; + const BBQuests m_quest; + const bool m_save_files; + const WallClock m_start; + const std::string m_file_prefix; + std::vector> m_frames; +}; + + + +} +} +} +#endif diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTests.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTests.cpp index aa8ef76ecb..62b547b401 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTests.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTests.cpp @@ -9,6 +9,8 @@ #include "Tests/ImageUnitTest.h" #include "VideoGames/PokemonSV/Inference/PokemonSV_BlueberryPointsReader.h" #include "VideoGames/PokemonSV/Options/PokemonSV_BBQuests.h" +#include "PokemonSV_BlueberryCatchPhoto.h" +#include "PokemonSV_BBQTargetDiagnostics.h" #include "PokemonSV_BlueberryQuests.h" #include "PokemonSV_BBQTests.h" @@ -122,21 +124,211 @@ static void add_tests_TeraEncounterAction(UnitTestDatabase& database){ } -void add_tests_BBQ(UnitTestDatabase& database){ - database.add(); +namespace{ - // Full-frame references, in the CommandLineTests repo: they exercise the production - // crop, filter and OCR together. - database.add("PokemonSV/BlueberryPoints/6750.png", 6750, 1920, 1080); - database.add("PokemonSV/BlueberryPoints/6750.png", 6750, 1280, 720); +// A catch quest, whether this attempt already battled, and whether a wild +// battle on the way back to Central Plaza should be caught instead of fled. +struct BBQCatchOnReturnScenario{ + std::string name; + BBQuests quest; + bool battled_this_attempt = false; + bool expected_catch = false; +}; - database.add("PokemonSV/BlueberryPoints/6740.png", 6740, 1920, 1080); - database.add("PokemonSV/BlueberryPoints/6740.png", 6740, 1280, 720); +class Test_BBQCatchOnReturn : public UnitTest{ +public: + Test_BBQCatchOnReturn(BBQCatchOnReturnScenario scenario) + : UnitTest("PokemonSV::BBQCatchOnReturn - " + scenario.name) + , m_scenario(std::move(scenario)) + {} + + virtual UnitTestResult run(Logger&, CancellableScope&) const override{ + const bool got = catch_quest_catches_on_return(m_scenario.quest, m_scenario.battled_this_attempt); + if (got != m_scenario.expected_catch){ + return std::string("Expected ") + (m_scenario.expected_catch ? "catch" : "flee") + + ", got " + (got ? "catch" : "flee"); + } + return true; + } + +private: + const BBQCatchOnReturnScenario m_scenario; +}; + +} + +static void add_tests_BBQCatchOnReturn(UnitTestDatabase& database){ + using enum BBQuests; + const BBQCatchOnReturnScenario scenarios[] = { + { + // The target spawned late or not at all: any wild Pokemon completes the quest. + .name = "catch any without a battle catches", + .quest = catch_any, + .expected_catch = true, + }, + { + // Already caught this attempt: fleeing is faster than a second catch. + .name = "catch any after a battle flees", + .quest = catch_any, + .battled_this_attempt = true, + }, + { + // The type of a wild Pokemon is not read in battle. + .name = "catch normal without a battle flees", + .quest = catch_normal, + }, + { + .name = "catch fire without a battle flees", + .quest = catch_fire, + }, + { + .name = "catch psychic without a battle flees", + .quest = catch_psychic, + }, + { + .name = "catch fighting after a battle flees", + .quest = catch_fighting, + .battled_this_attempt = true, + }, + }; + for (const BBQCatchOnReturnScenario& scenario : scenarios){ + database.add(scenario); + } +} + +namespace{ + +struct BBQTargetAttemptScenario{ + std::string name; + BBQuests quest = BBQuests::catch_any; + TargetAttemptSignals signals; + TargetAttemptOutcome expected_outcome = TargetAttemptOutcome::no_battle; + bool expected_needs_history = false; + std::string expected_summary; +}; + +class Test_BBQTargetAttempt : public UnitTest{ +public: + Test_BBQTargetAttempt(BBQTargetAttemptScenario scenario) + : UnitTest("PokemonSV::BBQTargetAttempt - " + scenario.name) + , m_scenario(std::move(scenario)) + {} + + virtual UnitTestResult run(Logger&, CancellableScope&) const override{ + const TargetAttemptOutcome outcome = classify_target_attempt(m_scenario.signals); + if (outcome != m_scenario.expected_outcome){ + return std::string("Expected outcome ") + target_attempt_outcome_to_string(m_scenario.expected_outcome) + + ", got " + target_attempt_outcome_to_string(outcome); + } + const bool needs_history = target_attempt_needs_history(outcome); + if (needs_history != m_scenario.expected_needs_history){ + return std::string("Expected needs_history=") + (m_scenario.expected_needs_history ? "true" : "false") + + ", got " + (needs_history ? "true" : "false"); + } + const std::string summary = target_attempt_summary( + m_scenario.quest, m_scenario.signals, std::chrono::milliseconds(41300) + ); + if (summary != m_scenario.expected_summary){ + return "Expected summary: " + m_scenario.expected_summary + "\nActual summary: " + summary; + } + return true; + } + +private: + const BBQTargetAttemptScenario m_scenario; +}; - add_tests_TeraEncounterAction(database); } +static void add_tests_BBQTargetAttempt(UnitTestDatabase& database){ + const BBQTargetAttemptScenario scenarios[] = { + { + .name = "catch enters battle", + .signals = { + .kind = TargetAttemptKind::battle, + .encounter_detected = true, + }, + .expected_outcome = TargetAttemptOutcome::battle_entered, + .expected_needs_history = false, + .expected_summary = "BBQ event=target-attempt quest=catch-any outcome=battle-entered encounter=1 battle_menu=0 elapsed=41.3s", + }, + { + // The failure behind "Did not enter battle. Did target spawn?". + .name = "catch finds no battle", + .signals = { + .kind = TargetAttemptKind::battle, + }, + .expected_outcome = TargetAttemptOutcome::no_battle, + .expected_needs_history = true, + .expected_summary = "BBQ event=target-attempt quest=catch-any outcome=no-battle encounter=0 battle_menu=0 elapsed=41.3s", + }, + { + .name = "sneak up finds no battle", + .quest = BBQuests::sneak_up, + .signals = { + .kind = TargetAttemptKind::battle, + }, + .expected_outcome = TargetAttemptOutcome::no_battle, + .expected_needs_history = true, + .expected_summary = "BBQ event=target-attempt quest=sneak-up outcome=no-battle encounter=0 battle_menu=0 elapsed=41.3s", + }, + { + // The route only acts on the encounter watcher, so it treats this + // as no battle: a detector disagreement, not a missing target. + .name = "battle menu without the encounter watcher", + .quest = BBQuests::catch_normal, + .signals = { + .kind = TargetAttemptKind::battle, + .battle_menu_seen = true, + }, + .expected_outcome = TargetAttemptOutcome::battle_menu_without_encounter, + .expected_needs_history = true, + .expected_summary = "BBQ event=target-attempt quest=catch-normal outcome=battle-menu-without-encounter encounter=0 battle_menu=1 elapsed=41.3s", + }, + { + .name = "photo prompt seen", + .quest = BBQuests::photo_savanna, + .signals = { + .kind = TargetAttemptKind::photo, + .photo_prompt_seen = true, + }, + .expected_outcome = TargetAttemptOutcome::photo_prompt_seen, + .expected_needs_history = false, + .expected_summary = "BBQ event=target-attempt quest=photo-savanna outcome=photo-prompt-seen encounter=0 photo_prompt=1 elapsed=41.3s", + }, + { + .name = "photo prompt timeout", + .quest = BBQuests::photo_savanna, + .signals = { + .kind = TargetAttemptKind::photo, + }, + .expected_outcome = TargetAttemptOutcome::photo_prompt_timeout, + .expected_needs_history = true, + .expected_summary = "BBQ event=target-attempt quest=photo-savanna outcome=photo-prompt-timeout encounter=0 photo_prompt=0 elapsed=41.3s", + }, + { + // A wild battle cuts the photo route short; the route retries. + .name = "battle during photo", + .quest = BBQuests::photo_coastal, + .signals = { + .kind = TargetAttemptKind::photo, + .encounter_detected = true, + }, + .expected_outcome = TargetAttemptOutcome::battle_during_photo, + .expected_needs_history = true, + .expected_summary = "BBQ event=target-attempt quest=photo-coastal outcome=battle-during-photo encounter=1 photo_prompt=0 elapsed=41.3s", + }, + }; + for (const BBQTargetAttemptScenario& scenario : scenarios){ + database.add(scenario); + } +} +void add_tests_BBQ(UnitTestDatabase& database){ + add_tests_TeraEncounterAction(database); + add_tests_BBQCatchOnReturn(database); + add_tests_BBQTargetAttempt(database); +} } } diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.cpp index 3a24e1d187..adc23f690e 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.cpp @@ -26,6 +26,8 @@ #include "VideoGames/PokemonSV/Programs/PokemonSV_WorldNavigation.h" #include "VideoGames/PokemonSV/Programs/Battles/PokemonSV_BasicCatcher.h" #include "VideoGames/PokemonSV/Programs/PokemonSV_Terarium.h" +#include "VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.h" +#include "PokemonSV_BBQTargetDiagnostics.h" #include "PokemonSV_BlueberryCatchPhoto.h" namespace PokemonAutomation{ @@ -289,6 +291,8 @@ void quest_photo( CameraAngle move_camera = CameraAngle::none; while(!took_photo){ + TargetAttemptRecorder recorder(console, current_quest, BBQ_OPTIONS.SAVE_TARGET_DIAGNOSTICS); + bool photo_prompt_seen = false; EncounterWatcher encounter_watcher(console, COLOR_RED); int ret = run_until( console, context, @@ -311,6 +315,7 @@ void quest_photo( pbf_move_right_joystick(context, {0, -1}, 400ms, 160ms); } context.wait_for_all_requests(); + recorder.checkpoint("before-shutter"); pbf_press_button(context, BUTTON_A, 160ms, 400ms); @@ -319,9 +324,11 @@ void quest_photo( std::chrono::seconds(10), { photo_prompt } ); + photo_prompt_seen = ret == 0; if (ret != 0){ console.log("Photo not taken."); } + recorder.checkpoint(photo_prompt_seen ? "photo-prompt" : "photo-prompt-timeout"); //Mash B until overworld int exit = run_until( @@ -342,6 +349,11 @@ void quest_photo( static_cast(encounter_watcher), } ); + recorder.finish({ + .kind = TargetAttemptKind::photo, + .encounter_detected = ret >= 0, + .photo_prompt_seen = photo_prompt_seen, + }); encounter_watcher.throw_if_no_sound(); if (ret >= 0){ @@ -893,13 +905,19 @@ void quest_catch_handle_battle( } } +bool catch_quest_catches_on_return(BBQuests current_quest, bool battled_this_attempt){ + return current_quest == BBQuests::catch_any && !battled_this_attempt; +} + void quest_catch( const ProgramInfo& info, ConsoleHandle& console, ProControllerContext& context, const BBQOption& BBQ_OPTIONS, BBQuests current_quest ){ + TargetAttemptRecorder recorder(console, current_quest, BBQ_OPTIONS.SAVE_TARGET_DIAGNOSTICS); EncounterWatcher encounter_watcher(console, COLOR_RED); + bool battle_menu_seen = false; //Navigate to target and start battle int ret = run_until( @@ -908,6 +926,7 @@ void quest_catch( quest_catch_navi(info, console, context, BBQ_OPTIONS, current_quest); context.wait_for_all_requests(); + recorder.checkpoint("after-lock-on"); NormalBattleMenuWatcher battle_menu(COLOR_YELLOW); int ret2 = wait_until( @@ -915,8 +934,12 @@ void quest_catch( std::chrono::seconds(25), { battle_menu } ); + battle_menu_seen = ret2 == 0; if (ret2 != 0){ console.log("Did not enter battle. Did target spawn?"); + recorder.checkpoint("battle-entry-timeout"); + console.log("BBQ quest=" + BBQuests_enum_to_string(current_quest) + " event=battle_entry outcome=timeout"); + log_bbq_snapshot(console, BBQuests_enum_to_string(current_quest) + "-battle-entry-timeout"); } }, { @@ -924,9 +947,15 @@ void quest_catch( static_cast(encounter_watcher), } ); + recorder.finish({ + .kind = TargetAttemptKind::battle, + .encounter_detected = ret >= 0, + .battle_menu_seen = battle_menu_seen, + }); encounter_watcher.throw_if_no_sound(); - if (ret >= 0){ + bool battled = false; + if (ret >= 0 || battle_menu_seen){ console.log("Battle menu detected."); bool is_shiny = (bool)encounter_watcher.shiny_screenshot(); @@ -936,10 +965,22 @@ void quest_catch( throw ProgramFinishedException(); }else{ quest_catch_handle_battle(info, console, context, BBQ_OPTIONS, current_quest); + battled = true; } } - return_to_plaza(info, console, context); + while (true){ + if (!catch_quest_catches_on_return(current_quest, battled)){ + return_to_plaza(info, console, context); + break; + } + if (!return_to_plaza_unless_battle(info, console, context)){ + break; + } + console.log("Battle on the way back to Central Plaza. Any wild Pokemon counts: catching it."); + quest_catch_handle_battle(info, console, context, BBQ_OPTIONS, current_quest); + battled = true; + } //Day skip and attempt to respawn fixed encounters pbf_press_button(context, BUTTON_HOME, 160ms, GameSettings::instance().GAME_TO_HOME_DELAY1); @@ -948,6 +989,15 @@ void quest_catch( pbf_press_button(context, BUTTON_HOME, 160ms, ConsoleSettings::instance().SETTINGS_TO_HOME_DELAY0); resume_game_from_home(console, context); + //Nothing to heal without a battle (return_to_plaza() flees with a Smoke Ball). + //The player is still on the Central Plaza fly point, where return_to_plaza() + //landed, so the central_to_* routes need no re-fly either. + if (!battled){ + console.log("No battle this attempt. Skipping the Pokecenter heal."); + context.wait_for_all_requests(); + return; + } + //Heal up and then reset position again. OverworldWatcher done_healing(console.logger(), COLOR_BLUE); pbf_move_left_joystick(context, {0, +1}, 800ms, 160ms); diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.h b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.h index 862285c3c3..4390d29a74 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.h +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.h @@ -66,6 +66,11 @@ void quest_catch_handle_battle( BBQuests current_quest ); +//Whether quest_catch() catches a wild battle that starts on the way back to Central Plaza +//instead of fleeing it. Any wild pokemon completes catch_any, so until this attempt has +//battled, the battle is a catch. Typed catch quests flee: the type is not read in battle. +bool catch_quest_catches_on_return(BBQuests current_quest, bool battled_this_attempt); + //Catch a pokemon void quest_catch( const ProgramInfo& info, diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.cpp index c90bae7a04..69ed020beb 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.cpp @@ -5,6 +5,9 @@ */ #include +#include +#include "Common/Cpp/PrettyPrint.h" +#include "CommonFramework/GlobalAutoPaths.h" #include "CommonFramework/Exceptions/OperationFailedExceptionWithScreenshot.h" #include "CommonFramework/Tools/ErrorDumper.h" #include "CommonFramework/Exceptions/ProgramFinishedException.h" @@ -42,6 +45,7 @@ #include "VideoGames/PokemonSV/Programs/TeraRaids/PokemonSV_TeraBattler.h" #include "VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.h" #include "VideoGames/PokemonSV/Programs/PokemonSV_Terarium.h" +#include "PokemonSV_BBQTargetDiagnostics.h" #include "PokemonSV_BlueberryQuests.h" @@ -49,6 +53,12 @@ namespace PokemonAutomation{ namespace NintendoSwitch{ namespace PokemonSV{ +void log_bbq_snapshot(VideoStream& stream, const std::string& label){ + const std::string path = DEBUG_PATH() + "BBQ/" + now_to_filestring() + "-" + label + ".png"; + const bool saved = stream.video().snapshot()->save(path); + stream.log("BBQ event=snapshot saved=" + std::to_string(saved) + " path=" + path); +} + int read_BP(const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){ WhiteButtonWatcher right_panel(COLOR_BLUE, WhiteButton::ButtonB, {0.484, 0.117, 0.022, 0.037}); int result = run_until( @@ -118,6 +128,22 @@ std::vector read_quests( quest_list.push_back(BBQuests_string_to_enum(fourth_quest)); } + // Reuse the board snapshot: no extra menu navigation or capture. + // Stop before the BP suffix: its left edge can be misread as an extra 1. + ImageRGB32 BP_value = to_blackwhite_rgb32_range( + extract_box_reference(screen, ImageFloatBox(0.866, 0.019, 0.088, 0.041)), + true, combine_rgb(198, 198, 198), combine_rgb(255, 255, 255) + ); + int bp = result == 0 ? OCR::read_number(stream.logger(), BP_value) : -1; + std::string board; + for (BBQuests quest : quest_list){ + if (!board.empty()) board += ","; + board += BBQuests_enum_to_string(quest); + } + stream.log("BBQ event=board panel_detected=" + std::to_string(result == 0) + + " bp=" + (bp < 0 ? std::string("unknown") : std::to_string(bp)) + + " quests=" + board); + //Close quest list pbf_mash_button(context, BUTTON_B, 800ms); context.wait_for_all_requests(); @@ -316,7 +342,12 @@ bool process_and_do_quest( bool quest_completed = false; int quest_attempts = 0; + const std::string slug = BBQuests_enum_to_string(current_quest); while (!quest_completed){ + const auto attempt_start = std::chrono::steady_clock::now(); + const std::string attempt = "BBQ quest=" + slug + " attempt=" + std::to_string(quest_attempts + 1) + + " limit=" + std::to_string((unsigned)BBQ_OPTIONS.NUM_RETRIES + 1); + console.log(attempt + " event=start"); switch (current_quest){ case BBQuests::make_tm: quest_make_tm(env.program_info(), console, context); @@ -415,10 +446,14 @@ bool process_and_do_quest( break; } + const auto route_end = std::chrono::steady_clock::now(); + console.log(attempt + " event=route_return elapsed_ms=" + std::to_string( + std::chrono::duration_cast(route_end - attempt_start).count())); //Validate quest was completed by checking list std::vector quest_list = read_quests(env.program_info(), console, context, BBQ_OPTIONS); if (std::find(quest_list.begin(), quest_list.end(), current_quest) != quest_list.end()){ console.log("Current quest exists on list. Quest did not complete."); + log_bbq_snapshot(console, slug + "-verification-failed"); quest_attempts++; }else{ console.log("Current quest was not found. Quest completed!"); @@ -430,7 +465,13 @@ bool process_and_do_quest( quest_completed = true; } + console.log(attempt + " event=result outcome=" + (quest_completed ? "absent_from_board" : "still_on_board") + + " verification_ms=" + std::to_string(std::chrono::duration_cast( + std::chrono::steady_clock::now() - route_end).count()) + + " total_ms=" + std::to_string(std::chrono::duration_cast( + std::chrono::steady_clock::now() - attempt_start).count())); if (quest_attempts > BBQ_OPTIONS.NUM_RETRIES){ + console.log("BBQ quest=" + slug + " event=retry_exhausted recovery=skip_current_batch"); console.log("Failed to complete a quest multiple times. Skipping it for now.", COLOR_RED); break; } @@ -441,6 +482,16 @@ bool process_and_do_quest( void quest_make_tm(const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){ stream.log("Quest: Make TM"); + //The index of the last craftable TM in this program run. The machine opens on the first + //TM, and the craftable one moves only a few places between quests as materials run out, + //so starting there saves walking past the same uncraftable TMs (~2.5 s each) every time. + static WallClock last_tm_run = WallClock::min(); + static int last_tm_index = 0; + if (last_tm_run != info.start_time){ + last_tm_run = info.start_time; + last_tm_index = 0; + } + //Mount and then dismount in case you're crouched pbf_press_button(context, BUTTON_PLUS, 160ms, 840ms); pbf_press_button(context, BUTTON_PLUS, 160ms, 840ms); @@ -469,28 +520,62 @@ void quest_make_tm(const ProgramInfo& info, VideoStream& stream, ProControllerCo if (enter_machine == 0){ stream.log("TM machine entered. Finding TM to make."); - int make_tm = run_until( - stream, context, - [&](ProControllerContext& context){ - for (int i = 0; i < 229; i++){ //229 is max number of TMs - //click on tm - pbf_press_button(context, BUTTON_A, 160ms, 400ms); - pbf_wait(context, 800ms); - context.wait_for_all_requests(); - - //not craftable, close and move on to next + int make_tm = -1; + if (last_tm_index > 0){ + stream.log("Trying TM " + std::to_string(last_tm_index + 1) + " first, the last one made."); + make_tm = run_until( + stream, context, + [&](ProControllerContext& context){ + for (int i = 0; i < last_tm_index; i++){ + pbf_press_dpad(context, DPAD_RIGHT, 160ms, 160ms); + } pbf_press_button(context, BUTTON_A, 160ms, 400ms); - pbf_press_dpad(context, DPAD_RIGHT, 160ms, 160ms); pbf_wait(context, 800ms); context.wait_for_all_requests(); + }, + {{ makeTM }} + ); + context.wait_for_all_requests(); + if (make_tm != 0){ + stream.log("Not craftable. Scanning from the first TM."); + pbf_press_button(context, BUTTON_A, 160ms, 400ms); + for (int i = 0; i < last_tm_index; i++){ + pbf_press_dpad(context, DPAD_LEFT, 160ms, 160ms); } - }, - {{ makeTM }} - ); - context.wait_for_all_requests(); + pbf_wait(context, 800ms); + context.wait_for_all_requests(); + } + } + + if (make_tm != 0){ + int tm_index = 0; + make_tm = run_until( + stream, context, + [&](ProControllerContext& context){ + for (int i = 0; i < 229; i++){ //229 is max number of TMs + //click on tm + tm_index = i; + pbf_press_button(context, BUTTON_A, 160ms, 400ms); + pbf_wait(context, 800ms); + context.wait_for_all_requests(); + + //not craftable, close and move on to next + pbf_press_button(context, BUTTON_A, 160ms, 400ms); + pbf_press_dpad(context, DPAD_RIGHT, 160ms, 160ms); + pbf_wait(context, 800ms); + context.wait_for_all_requests(); + } + }, + {{ makeTM }} + ); + context.wait_for_all_requests(); + if (make_tm == 0){ + last_tm_index = tm_index; + } + } if (make_tm == 0){ - stream.log("Craftable TM found. Making TM"); + stream.log("Craftable TM found. Making TM " + std::to_string(last_tm_index + 1) + "."); pbf_mash_button(context, BUTTON_A, 1760ms); context.wait_for_all_requests(); @@ -560,6 +645,36 @@ TeraEncounterAction tera_encounter_action( return TeraEncounterAction::Recover; } +bool send_out_and_look_around( + ConsoleHandle& console, ProControllerContext& context, + std::chrono::seconds first_wait, const std::string& target +){ + auto try_battle = [&](std::chrono::seconds timeout){ + ssf_press_button(context, BUTTON_ZR, 0ms, 1600ms); + ssf_press_button(context, BUTTON_ZL, 800ms, 400ms); + ssf_press_button(context, BUTTON_ZL, 1200ms, 400ms); + + pbf_wait(context, 2400ms); + context.wait_for_all_requests(); + + NormalBattleMenuWatcher battle_menu(COLOR_YELLOW); + return wait_until(console, context, timeout, { battle_menu }) == 0; + }; + + if (try_battle(first_wait)){ + return true; + } + for (int turn = 1; turn <= 3; turn++){ + console.log("Did not enter battle. Did " + target + " spawn? Looking around (" + std::to_string(turn) + "/3)."); + pbf_move_right_joystick(context, {+1, 0}, 480ms, 320ms); + if (try_battle(std::chrono::seconds(6))){ + return true; + } + } + console.log("Did not enter battle after looking around."); + return false; +} + void quest_tera_self_defeat( const ProgramInfo& info, ConsoleHandle& console, ProControllerContext& context, @@ -584,23 +699,9 @@ void quest_tera_self_defeat( jump_glide_fly(console, context, BBQ_OPTIONS.INVERTED_FLIGHT, 8000ms, 12800ms, 2400ms); } - ssf_press_button(context, BUTTON_ZR, 0ms, 1600ms); - ssf_press_button(context, BUTTON_ZL, 800ms, 400ms); - ssf_press_button(context, BUTTON_ZL, 1200ms, 400ms); - - pbf_wait(context, 2400ms); - context.wait_for_all_requests(); - - NormalBattleMenuWatcher battle_menu(COLOR_YELLOW); - int ret2 = wait_until( - console, context, - std::chrono::seconds(15), - { battle_menu } - ); - battle_menu_detected = ret2 == 0; - if (!battle_menu_detected){ - console.log("Did not enter battle. Did Kleavor spawn?"); - } + //The glide lands in the right place, but Kleavor is absent ~40% of the time. + //Any wild Pokemon counts, and Scyther roam the area. + battle_menu_detected = send_out_and_look_around(console, context, std::chrono::seconds(15), "Kleavor"); }, { static_cast(encounter_watcher), @@ -661,6 +762,8 @@ void quest_sneak_up( ConsoleHandle& console, ProControllerContext& context, const BBQOption& BBQ_OPTIONS ){ + TargetAttemptRecorder recorder(console, BBQuests::sneak_up, BBQ_OPTIONS.SAVE_TARGET_DIAGNOSTICS); + bool battle_menu_seen = false; EncounterWatcher encounter_watcher(console, COLOR_RED); console.log("Quest: Sneak up."); //Navigate to target and start battle @@ -693,6 +796,7 @@ void quest_sneak_up( pbf_wait(context, 2400ms); context.wait_for_all_requests(); + recorder.checkpoint("after-lock-on"); NormalBattleMenuWatcher battle_menu(COLOR_YELLOW); int ret2 = wait_until( @@ -700,8 +804,10 @@ void quest_sneak_up( std::chrono::seconds(15), { battle_menu } ); + battle_menu_seen = ret2 == 0; if (ret2 != 0){ console.log("Did not enter battle. Did target spawn?"); + recorder.checkpoint("battle-entry-timeout"); } }, { @@ -709,6 +815,11 @@ void quest_sneak_up( static_cast(encounter_watcher), } ); + recorder.finish({ + .kind = TargetAttemptKind::battle, + .encounter_detected = ret >= 0, + .battle_menu_seen = battle_menu_seen, + }); encounter_watcher.throw_if_no_sound(); if (ret >= 0){ @@ -981,6 +1092,20 @@ void quest_wash_pokemon(const ProgramInfo& info, VideoStream& stream, ProControl context.wait_for_all_requests(); } +namespace{ + +// True if the slot shows the egg icon. Like Egg Hatcher, this reads the slot's +// sprite rather than the summary panel, which only tells eggs apart in the stats +// view. The cursor lifts the sprite under it, so keep it off the slot. +bool box_slot_is_egg(VideoStream& stream, ProControllerContext& context, BoxCursorLocation side, uint8_t row, uint8_t col){ + context.wait_for_all_requests(); + context.wait_for(std::chrono::milliseconds(300)); + BoxEggDetector egg_detector(side, row, col); + return egg_detector.detect(stream.video().snapshot()); +} + +} + void quest_hatch_egg( ProgramEnvironment& env, ConsoleHandle& console, ProControllerContext& context, @@ -1012,27 +1137,25 @@ void quest_hatch_egg( enter_box_system_from_overworld(env.program_info(), console, context); context.wait_for(std::chrono::milliseconds(400)); - //move_to_left_box(context); - BoxCurrentEggDetector egg_detector; - SomethingInBoxSlotDetector sth_in_box_detector(COLOR_RED); + //Read every box slot from one frame, with the cursor on the party lead. + move_box_cursor(env.program_info(), console, context, BoxCursorLocation::PARTY, 0, 0); + context.wait_for_all_requests(); + context.wait_for(std::chrono::milliseconds(300)); + const VideoSnapshot box_screen = console.video().snapshot(); bool egg_found = false; uint8_t row = 0; uint8_t col = 0; - for ( ; row < 5; row++){ - for (uint8_t j_col = 0; j_col < 6; j_col++){ - col = (row % 2 == 0 ? j_col : 5 - j_col); - move_box_cursor(env.program_info(), console, context, BoxCursorLocation::SLOTS, row, col); - context.wait_for_all_requests(); - auto snapshot = console.video().snapshot(); - if (sth_in_box_detector.detect(snapshot) && egg_detector.detect(snapshot)){ - console.log("Found egg."); + for ( ; row < 5 && !egg_found; row++){ + for (col = 0; col < 6; col++){ + if (BoxEggDetector(BoxCursorLocation::SLOTS, row, col).detect(box_screen)){ + console.log("Found egg at row " + std::to_string(row) + ", column " + std::to_string(col) + "."); egg_found = true; break; } } - if (egg_found){ - break; - } + } + if (egg_found){ + row--; } if (!egg_found){ @@ -1042,12 +1165,24 @@ void quest_hatch_egg( BoxCursorLocation::SLOTS, row, col, BoxCursorLocation::PARTY, 0, 0); - leave_box_system_to_overworld(env.program_info(), console, context); - - hatch_eggs_anywhere(env, console, context, true, 1); + //Make sure the party lead is the egg before riding off. Move the cursor off it first. + move_box_cursor(env.program_info(), console, context, BoxCursorLocation::SLOTS, row, col); + if (!box_slot_is_egg(console, context, BoxCursorLocation::PARTY, 0, 0)){ + console.log("Party lead is not an egg after the swap. Swapping it back.", COLOR_RED); + }else{ + leave_box_system_to_overworld(env.program_info(), console, context); + + //If the hatch fails, still put the lead back in its box slot. + //The quest stays on the list, so it counts as a failed attempt. + try{ + hatch_eggs_anywhere(env, console, context, true, 1); + }catch (OperationFailedException& e){ + console.log("Egg hatch failed: " + e.message() + " Restoring the party lead.", COLOR_RED); + } - enter_box_system_from_overworld(env.program_info(), console, context); - context.wait_for(std::chrono::milliseconds(400)); + enter_box_system_from_overworld(env.program_info(), console, context); + context.wait_for(std::chrono::milliseconds(400)); + } swap_two_box_slots(env.program_info(), console, context, BoxCursorLocation::PARTY, 0, 0, diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.h b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.h index 21ad16aa71..9b951deb01 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.h +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryQuests.h @@ -7,6 +7,8 @@ #ifndef PokemonAutomation_PokemonSV_BlueberryQuests_H #define PokemonAutomation_PokemonSV_BlueberryQuests_H +#include +#include #include #include "NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController.h" #include "NintendoSwitch/NintendoSwitch_ConsoleHandle.h" @@ -18,6 +20,8 @@ namespace PokemonAutomation{ namespace NintendoSwitch{ namespace PokemonSV{ +// Save local diagnostic evidence under DEBUG_PATH()/BBQ, without telemetry. +void log_bbq_snapshot(VideoStream& stream, const std::string& label); //Basic blue quests const std::set blue_quests = { BBQuests::auto_10, BBQuests::make_tm, BBQuests::pickup_10, BBQuests::sneak_up, BBQuests::photo_fly, BBQuests::photo_swim, BBQuests::photo_canyon, BBQuests::photo_coastal, BBQuests::photo_polar, BBQuests::photo_savanna, BBQuests::tera_self_defeat, @@ -89,6 +93,14 @@ void quest_travel_500( ); //Run around until you encounter a pokemon. Tera, then defeat it by spamming your first move. +// Send out the lead at whatever is in front and wait for a battle. If none starts, +// turn the camera about a quarter at a time, up to three times, and try again. +// Returns true once the battle menu shows. +bool send_out_and_look_around( + ConsoleHandle& console, ProControllerContext& context, + std::chrono::seconds first_wait, const std::string& target +); + void quest_tera_self_defeat( const ProgramInfo& info, ConsoleHandle& console, ProControllerContext& context, diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/PokemonSV_Terarium.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/PokemonSV_Terarium.cpp index aae34299d3..a0e7f7fadd 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/PokemonSV_Terarium.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/PokemonSV_Terarium.cpp @@ -23,7 +23,14 @@ namespace PokemonAutomation{ namespace NintendoSwitch{ namespace PokemonSV{ -void return_to_plaza(const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){ +namespace{ + +// Returns true if it stopped at a wild battle's menu (only when stop_at_battle +// is set). Otherwise it flees each battle and returns false once at the plaza. +bool return_to_plaza_impl( + const ProgramInfo& info, VideoStream& stream, ProControllerContext& context, + bool stop_at_battle +){ stream.log("Attempting to return to Central Plaza."); //Modified version of handle_battles_and_back_to_pokecenter() bool returned_to_pokecenter = false; @@ -91,6 +98,9 @@ void return_to_plaza(const ProgramInfo& info, VideoStream& stream, ProController stream.log("Shiny detected!"); pbf_press_button(context, BUTTON_CAPTURE, 2000ms, 5000ms); throw ProgramFinishedException(); + }else if (stop_at_battle){ + stream.log("Detected battle. Stopping at the battle menu."); + return true; }else{ stream.log("Detected battle. Running from battle."); try{ @@ -110,6 +120,17 @@ void return_to_plaza(const ProgramInfo& info, VideoStream& stream, ProController } } context.wait_for_all_requests(); + return false; +} + +} + +void return_to_plaza(const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){ + return_to_plaza_impl(info, stream, context, false); +} + +bool return_to_plaza_unless_battle(const ProgramInfo& info, VideoStream& stream, ProControllerContext& context){ + return return_to_plaza_impl(info, stream, context, true); } void map_move_cursor_fly( diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/PokemonSV_Terarium.h b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/PokemonSV_Terarium.h index 8c21530cea..546193bc79 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Programs/PokemonSV_Terarium.h +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Programs/PokemonSV_Terarium.h @@ -18,6 +18,10 @@ namespace PokemonSV{ // Return to Central Plaza from anywhere in the terarium void return_to_plaza(const ProgramInfo& info, VideoStream& stream, ProControllerContext& context); +// Same as return_to_plaza(), but stops at the first wild battle instead of fleeing it. +// Returns true with the battle menu open, or false once at Central Plaza. +bool return_to_plaza_unless_battle(const ProgramInfo& info, VideoStream& stream, ProControllerContext& context); + // Open map from overworld, move cursor to fly location, and fly to location void map_move_cursor_fly( const ProgramInfo& info, diff --git a/SerialPrograms/cmake/SourceFiles.cmake b/SerialPrograms/cmake/SourceFiles.cmake index 1603b71bc5..4580aa7363 100644 --- a/SerialPrograms/cmake/SourceFiles.cmake +++ b/SerialPrograms/cmake/SourceFiles.cmake @@ -2672,6 +2672,8 @@ file(GLOB LIBRARY_SOURCES Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_AuctionFarmer.h Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQSoloFarmer.cpp Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQSoloFarmer.h + Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTargetDiagnostics.cpp + Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTargetDiagnostics.h Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTests.cpp Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BBQTests.h Source/VideoGames/PokemonSV/Programs/Farming/PokemonSV_BlueberryCatchPhoto.cpp diff --git a/analysis/bbq-2026-10-20/boards.csv b/analysis/bbq-2026-10-20/boards.csv new file mode 100644 index 0000000000..45d8751a2d --- /dev/null +++ b/analysis/bbq-2026-10-20/boards.csv @@ -0,0 +1,487 @@ +time,run,source,slots +2026-10-19 23:40:14.264875,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:564806,"[""sneak-up"", ""pickup-10"", ""photo-polar"", null]" +2026-10-19 23:40:25.685826,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:564840,"[""sneak-up"", ""pickup-10"", ""photo-polar"", null]" +2026-10-19 23:42:07.558461,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565075,"[""catch-steel"", ""pickup-10"", ""photo-polar"", null]" +2026-10-19 23:42:10.013462,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565092,"[""catch-steel"", ""pickup-10"", ""photo-polar"", null]" +2026-10-19 23:43:14.672541,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565252,"[""catch-steel"", ""pickup-10"", ""photo-swim"", null]" +2026-10-19 23:43:28.616843,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565313,"[""catch-steel"", ""pickup-10"", ""photo-swim"", null]" +2026-10-19 23:43:30.951174,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565332,"[""catch-steel"", ""pickup-10"", ""photo-swim"", null]" +2026-10-19 23:45:51.015079,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565637,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-19 23:45:53.270728,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565655,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-19 23:46:58.211776,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565814,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-19 23:48:02.570213,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:565972,"[""sneak-up"", ""pickup-10"", ""photo-savanna"", null]" +2026-10-19 23:48:15.746941,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566033,"[""sneak-up"", ""pickup-10"", ""photo-savanna"", null]" +2026-10-19 23:48:17.969658,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566051,"[""sneak-up"", ""pickup-10"", ""photo-savanna"", null]" +2026-10-19 23:50:02.826980,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566280,"[""travel-500"", ""pickup-10"", ""photo-savanna"", null]" +2026-10-19 23:50:04.971923,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566297,"[""travel-500"", ""pickup-10"", ""photo-savanna"", null]" +2026-10-19 23:51:33.456075,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566476,"[""travel-500"", ""pickup-10"", ""make-tm"", null]" +2026-10-19 23:51:46.708544,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566536,"[""travel-500"", ""pickup-10"", ""make-tm"", null]" +2026-10-19 23:51:49.302493,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566556,"[""travel-500"", ""pickup-10"", ""make-tm"", null]" +2026-10-19 23:53:12.120519,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566690,"[""tera-self-defeat"", ""pickup-10"", ""make-tm"", null]" +2026-10-19 23:53:14.571289,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566707,"[""tera-self-defeat"", ""pickup-10"", ""make-tm"", null]" +2026-10-19 23:53:54.611408,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566812,"[""tera-self-defeat"", ""pickup-10"", ""sneak-up"", null]" +2026-10-19 23:54:08.644848,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566873,"[""tera-self-defeat"", ""pickup-10"", ""sneak-up"", null]" +2026-10-19 23:54:11.424196,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:566892,"[""tera-self-defeat"", ""pickup-10"", ""sneak-up"", null]" +2026-10-19 23:56:49.171042,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:567170,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""sneak-up""]" +2026-10-19 23:56:51.383784,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:567189,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""sneak-up""]" +2026-10-19 23:58:35.812499,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:567416,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""tera-self-defeat""]" +2026-10-19 23:58:48.887699,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:567476,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""tera-self-defeat""]" +2026-10-19 23:58:51.121209,2026-10-19 23:40:00.373268,SerialPrograms-20261020-032023983416.log:567496,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""tera-self-defeat""]" +2026-10-20 00:06:47.630219,2026-10-20 00:06:33.895432,SerialPrograms-20261020-032023983416.log:567784,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""tera-self-defeat""]" +2026-10-20 00:06:49.804444,2026-10-20 00:06:33.895432,SerialPrograms-20261020-032023983416.log:567803,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""tera-self-defeat""]" +2026-10-20 00:08:38.743644,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:568099,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""tera-self-defeat""]" +2026-10-20 00:08:40.921784,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:568118,"[""bitter-sandwich"", ""photo-coastal"", ""pickup-10"", ""tera-self-defeat""]" +2026-10-20 00:11:25.620825,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:568936,"[""photo-coastal"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:11:27.843129,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:568953,"[""photo-coastal"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:12:43.028341,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:569123,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:12:45.233291,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:569140,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:15:01.782760,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:569415,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:17:17.478639,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:569688,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:17:30.502349,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:569748,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:17:32.683301,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:569767,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:20:11.862231,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:570053,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:22:48.957646,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:570342,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:22:53.322619,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:570363,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:25:11.794370,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:570636,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:27:27.672713,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:570906,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:27:40.807472,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:570966,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:27:42.990851,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:570984,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:30:23.750228,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:571276,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:33:02.194528,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:571567,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:33:04.916603,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:571584,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:35:23.677467,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:571857,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:37:41.456516,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:572131,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:37:55.495923,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:572193,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:37:58.137645,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:572212,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:41:08.267730,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:572560,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:43:45.941488,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:572844,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:43:48.233571,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:572864,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:46:04.655838,2026-10-20 00:08:25.146857,SerialPrograms-20261020-032023983416.log:573137,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:50:32.018706,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:573397,"[""catch-poison"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:50:42.390080,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:573444,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:53:00.972739,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:573716,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:55:16.931173,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:574021,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:56:36.354478,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:574197,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:56:39.275125,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:574216,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:58:20.814767,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:574449,"[""catch-any"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 00:58:23.217865,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:574466,"[""catch-any"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 01:00:39.074111,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:574739,"[""catch-any"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 01:02:55.571626,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:575012,"[""catch-any"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 01:03:08.972880,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:575072,"[""catch-any"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 01:03:11.354636,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:575091,"[""catch-any"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 01:05:43.971680,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:575403,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 01:05:46.712967,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:575421,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 01:08:05.700072,2026-10-20 00:50:18.125845,SerialPrograms-20261020-032023983416.log:575696,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 01:20:30.647655,2026-10-20 01:20:16.497279,SerialPrograms-20261020-032023983416.log:576035,"[""sneak-up"", ""travel-500"", ""photo-polar"", null]" +2026-10-20 01:20:33.149145,2026-10-20 01:20:16.497279,SerialPrograms-20261020-032023983416.log:576053,"[""sneak-up"", ""travel-500"", ""photo-polar"", null]" +2026-10-20 01:22:30.994855,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:576300,"[""sneak-up"", ""travel-500"", ""photo-polar"", null]" +2026-10-20 01:22:33.404650,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:576318,"[""sneak-up"", ""travel-500"", ""photo-polar"", null]" +2026-10-20 01:24:16.894143,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:576537,"[""sneak-up"", ""travel-500"", ""photo-polar"", null]" +2026-10-20 01:26:00.172162,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:576758,"[""sneak-up"", ""travel-500"", ""photo-polar"", null]" +2026-10-20 01:26:02.453391,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:576776,"[""sneak-up"", ""travel-500"", ""photo-polar"", null]" +2026-10-20 01:27:25.989495,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:576910,"[""sneak-up"", ""tera-self-defeat"", ""photo-polar"", null]" +2026-10-20 01:27:28.398293,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:576927,"[""sneak-up"", ""tera-self-defeat"", ""photo-polar"", null]" +2026-10-20 01:28:40.991946,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:577106,"[""sneak-up"", ""tera-self-defeat"", ""auto-10"", null]" +2026-10-20 01:28:54.909318,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:577168,"[""sneak-up"", ""tera-self-defeat"", ""auto-10"", null]" +2026-10-20 01:29:06.407170,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:577219,"[""sneak-up"", ""catch-bug"", ""auto-10"", null]" +2026-10-20 01:30:49.076787,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:577438,"[""sneak-up"", ""catch-bug"", ""auto-10"", null]" +2026-10-20 01:32:32.505504,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:577660,"[""sneak-up"", ""catch-bug"", ""auto-10"", null]" +2026-10-20 01:32:35.324648,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:577677,"[""sneak-up"", ""catch-bug"", ""auto-10"", null]" +2026-10-20 01:37:55.026819,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:578403,"[""sneak-up"", ""catch-bug"", ""photo-swim"", null]" +2026-10-20 01:38:08.331227,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:578463,"[""sneak-up"", ""catch-bug"", ""photo-swim"", null]" +2026-10-20 01:38:19.849456,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:578515,"[""sneak-up"", ""auto-10"", ""photo-swim"", null]" +2026-10-20 01:40:01.397461,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:578735,"[""sneak-up"", ""auto-10"", ""photo-swim"", null]" +2026-10-20 01:41:43.367712,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:578957,"[""sneak-up"", ""auto-10"", ""photo-swim"", null]" +2026-10-20 01:41:45.988770,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:578974,"[""sneak-up"", ""auto-10"", ""photo-swim"", null]" +2026-10-20 01:42:51.236962,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:579135,"[""sneak-up"", ""auto-10"", ""travel-500"", null]" +2026-10-20 01:43:04.765610,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:579196,"[""sneak-up"", ""auto-10"", ""travel-500"", null]" +2026-10-20 01:43:07.312027,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:579214,"[""sneak-up"", ""auto-10"", ""travel-500"", null]" +2026-10-20 01:44:50.385389,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:579435,"[""sneak-up"", ""auto-10"", ""travel-500"", null]" +2026-10-20 01:46:32.761199,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:579654,"[""sneak-up"", ""auto-10"", ""travel-500"", null]" +2026-10-20 01:46:35.360464,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:579673,"[""sneak-up"", ""auto-10"", ""travel-500"", null]" +2026-10-20 01:53:35.109725,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:580595,"[""sneak-up"", ""photo-coastal"", ""travel-500"", null]" +2026-10-20 01:53:38.009957,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:580613,"[""sneak-up"", ""photo-coastal"", ""travel-500"", null]" +2026-10-20 01:55:01.443711,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:580748,"[""sour-sandwich"", ""sneak-up"", ""photo-coastal"", ""photo-fly""]" +2026-10-20 01:55:15.081336,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:580809,"[""sour-sandwich"", ""sneak-up"", ""photo-coastal"", ""photo-fly""]" +2026-10-20 01:55:17.729357,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:580828,"[""sour-sandwich"", ""sneak-up"", ""photo-coastal"", ""photo-fly""]" +2026-10-20 01:58:19.097687,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:581632,"[""sneak-up"", ""photo-coastal"", ""photo-fly"", null]" +2026-10-20 01:58:22.116738,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:581649,"[""sneak-up"", ""photo-coastal"", ""photo-fly"", null]" +2026-10-20 02:00:04.907041,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:581871,"[""sneak-up"", ""photo-coastal"", ""photo-fly"", null]" +2026-10-20 02:01:48.517751,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582091,"[""sneak-up"", ""photo-coastal"", ""photo-fly"", null]" +2026-10-20 02:01:50.862782,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582108,"[""sneak-up"", ""photo-coastal"", ""photo-fly"", null]" +2026-10-20 02:03:03.824016,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582271,"[""sneak-up"", ""make-tm"", ""photo-fly"", null]" +2026-10-20 02:03:06.523468,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582290,"[""sneak-up"", ""make-tm"", ""photo-fly"", null]" +2026-10-20 02:04:15.285103,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582441,"[""sneak-up"", ""make-tm"", ""travel-500"", null]" +2026-10-20 02:04:28.761141,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582501,"[""sneak-up"", ""make-tm"", ""travel-500"", null]" +2026-10-20 02:04:31.003537,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582519,"[""sneak-up"", ""make-tm"", ""travel-500"", null]" +2026-10-20 02:06:13.221974,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582731,"[""sneak-up"", ""make-tm"", ""travel-500"", null]" +2026-10-20 02:07:54.781293,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582950,"[""sneak-up"", ""make-tm"", ""travel-500"", null]" +2026-10-20 02:07:57.114449,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:582968,"[""sneak-up"", ""make-tm"", ""travel-500"", null]" +2026-10-20 02:08:36.978750,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583070,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:08:39.294468,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583087,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:10:02.197530,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583215,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 02:10:15.332610,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583274,"[""sneak-up"", ""pickup-10"", ""tera-self-defeat"", null]" +2026-10-20 02:10:28.250623,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583329,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 02:12:10.958264,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583539,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 02:13:54.113973,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583755,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 02:14:07.872562,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583814,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 02:14:10.252397,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:583832,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 02:15:53.952658,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:584051,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 02:17:36.133009,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:584262,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 02:17:38.514654,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:584279,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 02:21:31.244622,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:584810,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:21:44.393307,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:584870,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:21:47.745336,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:584889,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:23:28.891146,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:585104,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:25:12.597203,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:585318,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:25:15.601884,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:585335,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:26:21.835708,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:585492,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:31:32.252890,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:586325,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 02:31:45.594074,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:586384,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 02:31:48.249263,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:586402,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 02:33:30.424382,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:586620,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 02:35:12.909893,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:586838,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 02:35:15.176627,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:586855,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 02:36:01.970608,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:586973,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:36:14.995552,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587033,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:36:19.330145,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587054,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:38:00.818909,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587267,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:39:44.048491,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587481,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:39:46.309522,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587498,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:41:09.014578,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587626,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:41:22.009441,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587686,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:41:24.219685,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587704,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:43:07.292763,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:587917,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:44:49.648804,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588133,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:44:51.811172,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588150,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:45:55.616293,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588303,"[""sneak-up"", ""pickup-10"", ""catch-dark"", null]" +2026-10-20 02:46:08.667592,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588364,"[""sneak-up"", ""pickup-10"", ""catch-dark"", null]" +2026-10-20 02:46:21.065880,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588417,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:48:02.872538,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588631,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:49:45.149226,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588846,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:49:58.246657,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588905,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:50:00.388586,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:588923,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:51:41.650942,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:589134,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:53:24.426485,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:589348,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:53:26.566016,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:589365,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 02:54:49.266692,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:589493,"[""wild-tera"", ""sneak-up"", ""pickup-10"", ""photo-swim""]" +2026-10-20 02:55:02.503769,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:589552,"[""wild-tera"", ""sneak-up"", ""pickup-10"", ""photo-swim""]" +2026-10-20 02:55:04.698619,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:589571,"[""wild-tera"", ""sneak-up"", ""pickup-10"", ""photo-swim""]" +2026-10-20 02:57:16.925421,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:589835,"[""wild-tera"", ""sneak-up"", ""pickup-10"", ""photo-swim""]" +2026-10-20 02:59:57.338089,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:590116,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 02:59:59.712025,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:590133,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 03:01:41.385581,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:590347,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 03:03:23.769157,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:590561,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 03:03:26.221593,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:590579,"[""sneak-up"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 03:04:30.793304,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:590738,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:04:44.067928,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:590798,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:04:46.421404,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:590817,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:06:25.149581,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:591038,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:08:06.269060,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:591252,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:08:08.487675,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:591270,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:14:02.189004,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592069,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 03:14:15.484619,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592129,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 03:14:17.983409,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592147,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 03:15:59.288331,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592364,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 03:17:41.538491,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592578,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 03:17:43.813295,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592595,"[""sneak-up"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 03:19:07.129346,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592725,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:19:20.362204,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592784,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:19:22.686241,2026-10-20 01:22:16.704386,SerialPrograms-20261020-032023983416.log:592802,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:21:05.140329,2026-10-20 01:22:16.704386,SerialPrograms.log:131,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:22:47.777573,2026-10-20 01:22:16.704386,SerialPrograms.log:344,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:22:50.304830,2026-10-20 01:22:16.704386,SerialPrograms.log:361,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:25:11.341423,2026-10-20 01:22:16.704386,SerialPrograms.log:631,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:27:32.301697,2026-10-20 01:22:16.704386,SerialPrograms.log:898,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:27:45.600420,2026-10-20 01:22:16.704386,SerialPrograms.log:958,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:27:47.857037,2026-10-20 01:22:16.704386,SerialPrograms.log:977,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:29:30.245591,2026-10-20 01:22:16.704386,SerialPrograms.log:1192,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:31:11.240571,2026-10-20 01:22:16.704386,SerialPrograms.log:1411,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:31:13.536773,2026-10-20 01:22:16.704386,SerialPrograms.log:1428,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:33:33.459446,2026-10-20 01:22:16.704386,SerialPrograms.log:1695,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:35:54.371064,2026-10-20 01:22:16.704386,SerialPrograms.log:1965,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:36:07.593760,2026-10-20 01:22:16.704386,SerialPrograms.log:2024,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:36:10.056604,2026-10-20 01:22:16.704386,SerialPrograms.log:2042,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:37:52.958773,2026-10-20 01:22:16.704386,SerialPrograms.log:2255,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:39:34.397959,2026-10-20 01:22:16.704386,SerialPrograms.log:2469,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:39:36.888082,2026-10-20 01:22:16.704386,SerialPrograms.log:2487,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:41:56.582221,2026-10-20 01:22:16.704386,SerialPrograms.log:2752,"[""sneak-up"", ""pickup-10"", ""catch-normal"", null]" +2026-10-20 03:44:41.753890,2026-10-20 01:22:16.704386,SerialPrograms.log:3076,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:44:55.682285,2026-10-20 01:22:16.704386,SerialPrograms.log:3136,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:44:58.115684,2026-10-20 01:22:16.704386,SerialPrograms.log:3154,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:46:36.928812,2026-10-20 01:22:16.704386,SerialPrograms.log:3378,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:48:19.974756,2026-10-20 01:22:16.704386,SerialPrograms.log:3593,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:48:22.295491,2026-10-20 01:22:16.704386,SerialPrograms.log:3612,"[""sneak-up"", ""pickup-10"", ""auto-10"", null]" +2026-10-20 03:53:43.412398,2026-10-20 01:22:16.704386,SerialPrograms.log:4309,"[""sneak-up"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 03:53:56.655255,2026-10-20 01:22:16.704386,SerialPrograms.log:4369,"[""sneak-up"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 03:53:59.015672,2026-10-20 01:22:16.704386,SerialPrograms.log:4387,"[""sneak-up"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 03:55:41.810725,2026-10-20 01:22:16.704386,SerialPrograms.log:4602,"[""sneak-up"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 03:57:24.596775,2026-10-20 01:22:16.704386,SerialPrograms.log:4818,"[""sneak-up"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 03:57:26.889879,2026-10-20 01:22:16.704386,SerialPrograms.log:4836,"[""sneak-up"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 03:58:34.274770,2026-10-20 01:22:16.704386,SerialPrograms.log:4990,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 03:58:47.494529,2026-10-20 01:22:16.704386,SerialPrograms.log:5050,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 03:58:50.038064,2026-10-20 01:22:16.704386,SerialPrograms.log:5068,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:00:31.356585,2026-10-20 01:22:16.704386,SerialPrograms.log:5283,"[""sneak-up"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:02:14.884244,2026-10-20 01:22:16.704386,SerialPrograms.log:5505,"[""auto-10"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:02:17.093616,2026-10-20 01:22:16.704386,SerialPrograms.log:5522,"[""auto-10"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:03:05.761822,2026-10-20 01:22:16.704386,SerialPrograms.log:5649,"[""auto-10"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:03:19.118057,2026-10-20 01:22:16.704386,SerialPrograms.log:5711,"[""auto-10"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:03:21.508379,2026-10-20 01:22:16.704386,SerialPrograms.log:5729,"[""auto-10"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:10:14.920712,2026-10-20 01:22:16.704386,SerialPrograms.log:6636,"[""make-tm"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:10:17.208132,2026-10-20 01:22:16.704386,SerialPrograms.log:6653,"[""make-tm"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:11:26.527452,2026-10-20 01:22:16.704386,SerialPrograms.log:6806,"[""auto-30"", ""make-tm"", ""pickup-10"", ""sneak-up""]" +2026-10-20 04:11:39.871608,2026-10-20 01:22:16.704386,SerialPrograms.log:6865,"[""auto-30"", ""make-tm"", ""pickup-10"", ""sneak-up""]" +2026-10-20 04:11:42.242202,2026-10-20 01:22:16.704386,SerialPrograms.log:6884,"[""auto-30"", ""make-tm"", ""pickup-10"", ""sneak-up""]" +2026-10-20 04:21:06.552991,2026-10-20 01:22:16.704386,SerialPrograms.log:8121,"[""make-tm"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:21:09.035011,2026-10-20 01:22:16.704386,SerialPrograms.log:8138,"[""make-tm"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:21:57.329910,2026-10-20 01:22:16.704386,SerialPrograms.log:8265,"[""auto-10"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:21:59.767739,2026-10-20 01:22:16.704386,SerialPrograms.log:8282,"[""auto-10"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:23:42.982546,2026-10-20 01:22:16.704386,SerialPrograms.log:8505,"[""auto-10"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 04:23:56.265986,2026-10-20 01:22:16.704386,SerialPrograms.log:8565,"[""auto-10"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 04:23:58.442030,2026-10-20 01:22:16.704386,SerialPrograms.log:8584,"[""auto-10"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 04:29:08.959290,2026-10-20 01:22:16.704386,SerialPrograms.log:9269,"[""tera-self-defeat"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 04:29:11.340594,2026-10-20 01:22:16.704386,SerialPrograms.log:9286,"[""tera-self-defeat"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 04:30:34.434529,2026-10-20 01:22:16.704386,SerialPrograms.log:9412,"[""tera-self-defeat"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:30:47.870666,2026-10-20 01:22:16.704386,SerialPrograms.log:9471,"[""tera-self-defeat"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:30:58.160153,2026-10-20 01:22:16.704386,SerialPrograms.log:9519,"[""auto-10"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:31:51.059668,2026-10-20 01:22:16.704386,SerialPrograms.log:9654,"[""auto-10"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:32:04.242700,2026-10-20 01:22:16.704386,SerialPrograms.log:9714,"[""auto-10"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:32:06.596716,2026-10-20 01:22:16.704386,SerialPrograms.log:9732,"[""auto-10"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:35:46.085098,2026-10-20 01:22:16.704386,SerialPrograms.log:10230,"[""catch-rock"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:35:48.400573,2026-10-20 01:22:16.704386,SerialPrograms.log:10247,"[""catch-rock"", ""pickup-10"", ""photo-fly"", null]" +2026-10-20 04:36:56.146334,2026-10-20 01:22:16.704386,SerialPrograms.log:10403,"[""catch-rock"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:37:09.542781,2026-10-20 01:22:16.704386,SerialPrograms.log:10463,"[""catch-rock"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:37:13.985397,2026-10-20 01:22:16.704386,SerialPrograms.log:10484,"[""catch-rock"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:39:21.137544,2026-10-20 01:22:16.704386,SerialPrograms.log:10770,"[""auto-10"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:39:24.013153,2026-10-20 01:22:16.704386,SerialPrograms.log:10787,"[""auto-10"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:41:07.737638,2026-10-20 01:22:16.704386,SerialPrograms.log:11008,"[""auto-10"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 04:41:21.198449,2026-10-20 01:22:16.704386,SerialPrograms.log:11070,"[""auto-10"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 04:41:23.520737,2026-10-20 01:22:16.704386,SerialPrograms.log:11088,"[""auto-10"", ""pickup-10"", ""photo-swim"", null]" +2026-10-20 04:46:45.661964,2026-10-20 01:22:16.704386,SerialPrograms.log:11806,"[""photo-rock"", ""tera-self-defeat"", ""pickup-10"", ""photo-swim""]" +2026-10-20 04:46:48.192033,2026-10-20 01:22:16.704386,SerialPrograms.log:11823,"[""photo-rock"", ""tera-self-defeat"", ""pickup-10"", ""photo-swim""]" +2026-10-20 04:47:52.713967,2026-10-20 01:22:16.704386,SerialPrograms.log:11982,"[""photo-rock"", ""tera-self-defeat"", ""pickup-10"", ""sneak-up""]" +2026-10-20 04:48:06.342725,2026-10-20 01:22:16.704386,SerialPrograms.log:12042,"[""photo-rock"", ""tera-self-defeat"", ""pickup-10"", ""sneak-up""]" +2026-10-20 04:48:17.916963,2026-10-20 01:22:16.704386,SerialPrograms.log:12093,"[""photo-rock"", ""catch-fairy"", ""pickup-10"", ""sneak-up""]" +2026-10-20 04:49:50.298701,2026-10-20 01:22:16.704386,SerialPrograms.log:12263,"[""catch-fairy"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:49:52.857403,2026-10-20 01:22:16.704386,SerialPrograms.log:12280,"[""catch-fairy"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 04:51:36.615988,2026-10-20 01:22:16.704386,SerialPrograms.log:12503,"[""catch-fairy"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 04:51:49.759256,2026-10-20 01:22:16.704386,SerialPrograms.log:12564,"[""catch-fairy"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 04:52:00.468799,2026-10-20 01:22:16.704386,SerialPrograms.log:12611,"[""tera-self-defeat"", ""pickup-10"", ""travel-500"", null]" +2026-10-20 04:53:23.278347,2026-10-20 01:22:16.704386,SerialPrograms.log:12737,"[""tera-self-defeat"", ""pickup-10"", ""catch-ground"", null]" +2026-10-20 04:53:36.930324,2026-10-20 01:22:16.704386,SerialPrograms.log:12797,"[""tera-self-defeat"", ""pickup-10"", ""catch-ground"", null]" +2026-10-20 04:53:47.331912,2026-10-20 01:22:16.704386,SerialPrograms.log:12844,"[""photo-swim"", ""pickup-10"", ""catch-ground"", null]" +2026-10-20 04:56:31.482989,2026-10-20 01:22:16.704386,SerialPrograms.log:13165,"[""photo-swim"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:56:44.751590,2026-10-20 01:22:16.704386,SerialPrograms.log:13225,"[""photo-swim"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:56:46.990428,2026-10-20 01:22:16.704386,SerialPrograms.log:13243,"[""photo-swim"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:57:51.461970,2026-10-20 01:22:16.704386,SerialPrograms.log:13399,"[""photo-swim"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:58:56.253233,2026-10-20 01:22:16.704386,SerialPrograms.log:13557,"[""photo-swim"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:58:58.612480,2026-10-20 01:22:16.704386,SerialPrograms.log:13574,"[""photo-swim"", ""pickup-10"", ""make-tm"", null]" +2026-10-20 04:59:56.315904,2026-10-20 01:22:16.704386,SerialPrograms.log:13722,"[""photo-swim"", ""pickup-10"", ""catch-any"", null]" +2026-10-20 05:00:09.459604,2026-10-20 01:22:16.704386,SerialPrograms.log:13781,"[""photo-swim"", ""pickup-10"", ""catch-any"", null]" +2026-10-20 05:00:11.712210,2026-10-20 01:22:16.704386,SerialPrograms.log:13799,"[""photo-swim"", ""pickup-10"", ""catch-any"", null]" +2026-10-20 05:01:16.580479,2026-10-20 01:22:16.704386,SerialPrograms.log:13956,"[""photo-swim"", ""pickup-10"", ""catch-any"", null]" +2026-10-20 05:02:21.351098,2026-10-20 01:22:16.704386,SerialPrograms.log:14114,"[""photo-savanna"", ""pickup-10"", ""catch-any"", null]" +2026-10-20 05:02:23.708110,2026-10-20 01:22:16.704386,SerialPrograms.log:14131,"[""photo-savanna"", ""pickup-10"", ""catch-any"", null]" +2026-10-20 05:05:18.456979,2026-10-20 01:22:16.704386,SerialPrograms.log:14458,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:05:31.769409,2026-10-20 01:22:16.704386,SerialPrograms.log:14519,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:05:34.035187,2026-10-20 01:22:16.704386,SerialPrograms.log:14537,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:07:01.543787,2026-10-20 01:22:16.704386,SerialPrograms.log:14714,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:08:29.179850,2026-10-20 01:22:16.704386,SerialPrograms.log:14890,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:08:33.714356,2026-10-20 01:22:16.704386,SerialPrograms.log:14911,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:10:16.974869,2026-10-20 01:22:16.704386,SerialPrograms.log:15127,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:11:58.236769,2026-10-20 01:22:16.704386,SerialPrograms.log:15339,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:12:11.591815,2026-10-20 01:22:16.704386,SerialPrograms.log:15398,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:12:13.861998,2026-10-20 01:22:16.704386,SerialPrograms.log:15416,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:13:40.510594,2026-10-20 01:22:16.704386,SerialPrograms.log:15589,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:15:06.878288,2026-10-20 01:22:16.704386,SerialPrograms.log:15762,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:15:09.213806,2026-10-20 01:22:16.704386,SerialPrograms.log:15779,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:16:50.493253,2026-10-20 01:22:16.704386,SerialPrograms.log:15996,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:18:33.461634,2026-10-20 01:22:16.704386,SerialPrograms.log:16214,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:18:46.997715,2026-10-20 01:22:16.704386,SerialPrograms.log:16273,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:18:51.409994,2026-10-20 01:22:16.704386,SerialPrograms.log:16291,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:20:17.936935,2026-10-20 01:22:16.704386,SerialPrograms.log:16470,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:21:44.707895,2026-10-20 01:22:16.704386,SerialPrograms.log:16643,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:21:47.365575,2026-10-20 01:22:16.704386,SerialPrograms.log:16661,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:23:29.832158,2026-10-20 01:22:16.704386,SerialPrograms.log:16875,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:25:12.817815,2026-10-20 01:22:16.704386,SerialPrograms.log:17086,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:25:26.123951,2026-10-20 01:22:16.704386,SerialPrograms.log:17147,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:25:28.386875,2026-10-20 01:22:16.704386,SerialPrograms.log:17166,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:26:56.248121,2026-10-20 01:22:16.704386,SerialPrograms.log:17339,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:28:24.536436,2026-10-20 01:22:16.704386,SerialPrograms.log:17513,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:28:26.850196,2026-10-20 01:22:16.704386,SerialPrograms.log:17530,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:30:09.687398,2026-10-20 01:22:16.704386,SerialPrograms.log:17744,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:31:50.705471,2026-10-20 01:22:16.704386,SerialPrograms.log:17959,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:32:05.675973,2026-10-20 01:22:16.704386,SerialPrograms.log:18019,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:32:08.513514,2026-10-20 01:22:16.704386,SerialPrograms.log:18037,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:33:37.243143,2026-10-20 01:22:16.704386,SerialPrograms.log:18216,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:35:04.346921,2026-10-20 01:22:16.704386,SerialPrograms.log:18394,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:35:06.905460,2026-10-20 01:22:16.704386,SerialPrograms.log:18412,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:36:48.365585,2026-10-20 01:22:16.704386,SerialPrograms.log:18631,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:38:30.702159,2026-10-20 01:22:16.704386,SerialPrograms.log:18851,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:38:43.882193,2026-10-20 01:22:16.704386,SerialPrograms.log:18912,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:38:46.387450,2026-10-20 01:22:16.704386,SerialPrograms.log:18930,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:40:12.848651,2026-10-20 01:22:16.704386,SerialPrograms.log:19108,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:41:39.323937,2026-10-20 01:22:16.704386,SerialPrograms.log:19289,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:41:41.692317,2026-10-20 01:22:16.704386,SerialPrograms.log:19306,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:43:24.507772,2026-10-20 01:22:16.704386,SerialPrograms.log:19527,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:45:07.257645,2026-10-20 01:22:16.704386,SerialPrograms.log:19748,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:45:20.407160,2026-10-20 01:22:16.704386,SerialPrograms.log:19808,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:45:22.580603,2026-10-20 01:22:16.704386,SerialPrograms.log:19826,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:46:50.006569,2026-10-20 01:22:16.704386,SerialPrograms.log:20006,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:48:15.261420,2026-10-20 01:22:16.704386,SerialPrograms.log:20183,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:48:17.438107,2026-10-20 01:22:16.704386,SerialPrograms.log:20200,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:49:58.961266,2026-10-20 01:22:16.704386,SerialPrograms.log:20423,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:51:39.960728,2026-10-20 01:22:16.704386,SerialPrograms.log:20643,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:51:53.022060,2026-10-20 01:22:16.704386,SerialPrograms.log:20703,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:51:55.245521,2026-10-20 01:22:16.704386,SerialPrograms.log:20721,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:53:21.222308,2026-10-20 01:22:16.704386,SerialPrograms.log:20900,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:54:47.358636,2026-10-20 01:22:16.704386,SerialPrograms.log:21078,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:54:49.583788,2026-10-20 01:22:16.704386,SerialPrograms.log:21096,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:56:32.009935,2026-10-20 01:22:16.704386,SerialPrograms.log:21317,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:58:14.996820,2026-10-20 01:22:16.704386,SerialPrograms.log:21536,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:58:28.159768,2026-10-20 01:22:16.704386,SerialPrograms.log:21596,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:58:30.382352,2026-10-20 01:22:16.704386,SerialPrograms.log:21615,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 05:59:56.403881,2026-10-20 01:22:16.704386,SerialPrograms.log:21793,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:01:22.734299,2026-10-20 01:22:16.704386,SerialPrograms.log:21973,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:01:24.993403,2026-10-20 01:22:16.704386,SerialPrograms.log:21990,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:03:07.182578,2026-10-20 01:22:16.704386,SerialPrograms.log:22211,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:04:49.457301,2026-10-20 01:22:16.704386,SerialPrograms.log:22430,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:05:02.517231,2026-10-20 01:22:16.704386,SerialPrograms.log:22490,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:05:04.702302,2026-10-20 01:22:16.704386,SerialPrograms.log:22508,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:06:33.331834,2026-10-20 01:22:16.704386,SerialPrograms.log:22687,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:08:00.936713,2026-10-20 01:22:16.704386,SerialPrograms.log:22866,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:08:03.155357,2026-10-20 01:22:16.704386,SerialPrograms.log:22883,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:09:45.678920,2026-10-20 01:22:16.704386,SerialPrograms.log:23103,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:11:27.233571,2026-10-20 01:22:16.704386,SerialPrograms.log:23322,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:11:40.377024,2026-10-20 01:22:16.704386,SerialPrograms.log:23382,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:11:42.658968,2026-10-20 01:22:16.704386,SerialPrograms.log:23402,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:13:10.258472,2026-10-20 01:22:16.704386,SerialPrograms.log:23579,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:14:37.134616,2026-10-20 01:22:16.704386,SerialPrograms.log:23760,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:14:39.292665,2026-10-20 01:22:16.704386,SerialPrograms.log:23777,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:16:21.129118,2026-10-20 01:22:16.704386,SerialPrograms.log:23996,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:18:04.370661,2026-10-20 01:22:16.704386,SerialPrograms.log:24218,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:18:17.470628,2026-10-20 01:22:16.704386,SerialPrograms.log:24278,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:18:19.761549,2026-10-20 01:22:16.704386,SerialPrograms.log:24296,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:19:46.083491,2026-10-20 01:22:16.704386,SerialPrograms.log:24475,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:21:14.154237,2026-10-20 01:22:16.704386,SerialPrograms.log:24654,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:21:16.439197,2026-10-20 01:22:16.704386,SerialPrograms.log:24672,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:22:57.492487,2026-10-20 01:22:16.704386,SerialPrograms.log:24892,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:24:29.679100,2026-10-20 01:22:16.704386,SerialPrograms.log:25116,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:24:42.840034,2026-10-20 01:22:16.704386,SerialPrograms.log:25177,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:24:45.129369,2026-10-20 01:22:16.704386,SerialPrograms.log:25195,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:26:13.011563,2026-10-20 01:22:16.704386,SerialPrograms.log:25374,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:27:39.214249,2026-10-20 01:22:16.704386,SerialPrograms.log:25553,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:27:41.682531,2026-10-20 01:22:16.704386,SerialPrograms.log:25571,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:29:24.889602,2026-10-20 01:22:16.704386,SerialPrograms.log:25791,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:31:05.641658,2026-10-20 01:22:16.704386,SerialPrograms.log:26010,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:31:18.876594,2026-10-20 01:22:16.704386,SerialPrograms.log:26070,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:31:21.203876,2026-10-20 01:22:16.704386,SerialPrograms.log:26088,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:32:48.629969,2026-10-20 01:22:16.704386,SerialPrograms.log:26267,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:34:15.915396,2026-10-20 01:22:16.704386,SerialPrograms.log:26445,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:34:18.284796,2026-10-20 01:22:16.704386,SerialPrograms.log:26463,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:36:00.755884,2026-10-20 01:22:16.704386,SerialPrograms.log:26683,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:37:43.968874,2026-10-20 01:22:16.704386,SerialPrograms.log:26904,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:37:57.786927,2026-10-20 01:22:16.704386,SerialPrograms.log:26964,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:38:00.470988,2026-10-20 01:22:16.704386,SerialPrograms.log:26982,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:39:26.267521,2026-10-20 01:22:16.704386,SerialPrograms.log:27162,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:40:53.691428,2026-10-20 01:22:16.704386,SerialPrograms.log:27341,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:40:55.952772,2026-10-20 01:22:16.704386,SerialPrograms.log:27359,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:42:37.628228,2026-10-20 01:22:16.704386,SerialPrograms.log:27579,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:44:19.405120,2026-10-20 01:22:16.704386,SerialPrograms.log:27798,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:44:32.447218,2026-10-20 01:22:16.704386,SerialPrograms.log:27859,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:44:34.753159,2026-10-20 01:22:16.704386,SerialPrograms.log:27878,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:46:01.644402,2026-10-20 01:22:16.704386,SerialPrograms.log:28056,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:47:28.791008,2026-10-20 01:22:16.704386,SerialPrograms.log:28236,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:47:31.109962,2026-10-20 01:22:16.704386,SerialPrograms.log:28253,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:49:11.919044,2026-10-20 01:22:16.704386,SerialPrograms.log:28472,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:50:55.027350,2026-10-20 01:22:16.704386,SerialPrograms.log:28694,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:51:08.726421,2026-10-20 01:22:16.704386,SerialPrograms.log:28755,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:51:11.005866,2026-10-20 01:22:16.704386,SerialPrograms.log:28773,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:52:39.040479,2026-10-20 01:22:16.704386,SerialPrograms.log:28952,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:54:04.642382,2026-10-20 01:22:16.704386,SerialPrograms.log:29131,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:54:06.988942,2026-10-20 01:22:16.704386,SerialPrograms.log:29150,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:55:49.492260,2026-10-20 01:22:16.704386,SerialPrograms.log:29371,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:57:31.827338,2026-10-20 01:22:16.704386,SerialPrograms.log:29592,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:57:45.070603,2026-10-20 01:22:16.704386,SerialPrograms.log:29652,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:57:51.533772,2026-10-20 01:22:16.704386,SerialPrograms.log:29672,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 06:59:19.209877,2026-10-20 01:22:16.704386,SerialPrograms.log:29852,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:00:47.066341,2026-10-20 01:22:16.704386,SerialPrograms.log:30031,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:00:49.391497,2026-10-20 01:22:16.704386,SerialPrograms.log:30049,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:02:31.307730,2026-10-20 01:22:16.704386,SerialPrograms.log:30270,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:04:14.069528,2026-10-20 01:22:16.704386,SerialPrograms.log:30490,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:04:27.220755,2026-10-20 01:22:16.704386,SerialPrograms.log:30550,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:04:29.665650,2026-10-20 01:22:16.704386,SerialPrograms.log:30569,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:05:57.404996,2026-10-20 01:22:16.704386,SerialPrograms.log:30748,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:07:25.036240,2026-10-20 01:22:16.704386,SerialPrograms.log:30927,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:07:27.360694,2026-10-20 01:22:16.704386,SerialPrograms.log:30945,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:09:09.345563,2026-10-20 01:22:16.704386,SerialPrograms.log:31167,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:10:47.199886,2026-10-20 01:22:16.704386,SerialPrograms.log:31393,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:11:00.538061,2026-10-20 01:22:16.704386,SerialPrograms.log:31454,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:11:02.944532,2026-10-20 01:22:16.704386,SerialPrograms.log:31472,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:12:30.579415,2026-10-20 01:22:16.704386,SerialPrograms.log:31652,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:15:27.736998,2026-10-20 01:22:16.704386,SerialPrograms.log:32014,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:15:30.111566,2026-10-20 01:22:16.704386,SerialPrograms.log:32033,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:17:12.508396,2026-10-20 01:22:16.704386,SerialPrograms.log:32254,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:18:49.318324,2026-10-20 01:22:16.704386,SerialPrograms.log:32482,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:19:02.619769,2026-10-20 01:22:16.704386,SerialPrograms.log:32544,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:19:04.879009,2026-10-20 01:22:16.704386,SerialPrograms.log:32562,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:20:31.415392,2026-10-20 01:22:16.704386,SerialPrograms.log:32742,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:21:57.557194,2026-10-20 01:22:16.704386,SerialPrograms.log:32922,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:21:59.939604,2026-10-20 01:22:16.704386,SerialPrograms.log:32940,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:23:41.439773,2026-10-20 01:22:16.704386,SerialPrograms.log:33159,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:25:23.215217,2026-10-20 01:22:16.704386,SerialPrograms.log:33378,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:25:36.360065,2026-10-20 01:22:16.704386,SerialPrograms.log:33439,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:25:38.639502,2026-10-20 01:22:16.704386,SerialPrograms.log:33457,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:27:04.918829,2026-10-20 01:22:16.704386,SerialPrograms.log:33636,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:28:32.455947,2026-10-20 01:22:16.704386,SerialPrograms.log:33817,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:28:34.937605,2026-10-20 01:22:16.704386,SerialPrograms.log:33834,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:30:15.537459,2026-10-20 01:22:16.704386,SerialPrograms.log:34060,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:31:56.443178,2026-10-20 01:22:16.704386,SerialPrograms.log:34280,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:32:10.074844,2026-10-20 01:22:16.704386,SerialPrograms.log:34341,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:32:12.477509,2026-10-20 01:22:16.704386,SerialPrograms.log:34360,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:33:39.515538,2026-10-20 01:22:16.704386,SerialPrograms.log:34538,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:35:07.140377,2026-10-20 01:22:16.704386,SerialPrograms.log:34718,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:35:09.474842,2026-10-20 01:22:16.704386,SerialPrograms.log:34735,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:36:50.332133,2026-10-20 01:22:16.704386,SerialPrograms.log:34962,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:38:32.078507,2026-10-20 01:22:16.704386,SerialPrograms.log:35182,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:38:45.414249,2026-10-20 01:22:16.704386,SerialPrograms.log:35244,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:38:47.675470,2026-10-20 01:22:16.704386,SerialPrograms.log:35262,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:40:14.250385,2026-10-20 01:22:16.704386,SerialPrograms.log:35440,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:41:40.382065,2026-10-20 01:22:16.704386,SerialPrograms.log:35620,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:41:42.819724,2026-10-20 01:22:16.704386,SerialPrograms.log:35638,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:43:25.099100,2026-10-20 01:22:16.704386,SerialPrograms.log:35859,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:45:07.556811,2026-10-20 01:22:16.704386,SerialPrograms.log:36079,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:45:20.826535,2026-10-20 01:22:16.704386,SerialPrograms.log:36139,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:45:23.114175,2026-10-20 01:22:16.704386,SerialPrograms.log:36158,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:46:59.112340,2026-10-20 01:22:16.704386,SerialPrograms.log:36338,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:48:24.927978,2026-10-20 01:22:16.704386,SerialPrograms.log:36519,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:48:27.353868,2026-10-20 01:22:16.704386,SerialPrograms.log:36536,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:50:09.968536,2026-10-20 01:22:16.704386,SerialPrograms.log:36756,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:51:52.375858,2026-10-20 01:22:16.704386,SerialPrograms.log:36975,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:52:05.581220,2026-10-20 01:22:16.704386,SerialPrograms.log:37036,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:52:07.970770,2026-10-20 01:22:16.704386,SerialPrograms.log:37054,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:53:36.072302,2026-10-20 01:22:16.704386,SerialPrograms.log:37234,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:55:02.472964,2026-10-20 01:22:16.704386,SerialPrograms.log:37411,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:55:05.226931,2026-10-20 01:22:16.704386,SerialPrograms.log:37430,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:56:46.349035,2026-10-20 01:22:16.704386,SerialPrograms.log:37649,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:58:27.184592,2026-10-20 01:22:16.704386,SerialPrograms.log:37869,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:58:40.608166,2026-10-20 01:22:16.704386,SerialPrograms.log:37929,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 07:58:42.939787,2026-10-20 01:22:16.704386,SerialPrograms.log:37947,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:00:10.814262,2026-10-20 01:22:16.704386,SerialPrograms.log:38127,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:01:38.093467,2026-10-20 01:22:16.704386,SerialPrograms.log:38307,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:01:40.411191,2026-10-20 01:22:16.704386,SerialPrograms.log:38325,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:03:23.646331,2026-10-20 01:22:16.704386,SerialPrograms.log:38545,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:05:05.404669,2026-10-20 01:22:16.704386,SerialPrograms.log:38766,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:05:18.727203,2026-10-20 01:22:16.704386,SerialPrograms.log:38827,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:05:21.027656,2026-10-20 01:22:16.704386,SerialPrograms.log:38845,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:06:48.773250,2026-10-20 01:22:16.704386,SerialPrograms.log:39024,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:08:15.990071,2026-10-20 01:22:16.704386,SerialPrograms.log:39201,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:08:18.264866,2026-10-20 01:22:16.704386,SerialPrograms.log:39220,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:10:01.092145,2026-10-20 01:22:16.704386,SerialPrograms.log:39441,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:11:42.587742,2026-10-20 01:22:16.704386,SerialPrograms.log:39660,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:11:56.750620,2026-10-20 01:22:16.704386,SerialPrograms.log:39720,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:11:59.230859,2026-10-20 01:22:16.704386,SerialPrograms.log:39739,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:13:26.709022,2026-10-20 01:22:16.704386,SerialPrograms.log:39917,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:14:54.900553,2026-10-20 01:22:16.704386,SerialPrograms.log:40096,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:14:57.461848,2026-10-20 01:22:16.704386,SerialPrograms.log:40114,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" +2026-10-20 08:16:39.458984,2026-10-20 01:22:16.704386,SerialPrograms.log:40334,"[""photo-savanna"", ""pickup-10"", ""sneak-up"", null]" diff --git a/analysis/bbq-2026-10-20/events.csv b/analysis/bbq-2026-10-20/events.csv new file mode 100644 index 0000000000..a3f3919ea9 --- /dev/null +++ b/analysis/bbq-2026-10-20/events.csv @@ -0,0 +1,71 @@ +time,run,kind,quest,bp,source,note +2026-10-19 23:42:07.922672,2026-10-19 23:40:00.373268,reward,sneak-up,20,SerialPrograms-20261020-032023983416.log:565079,inferred from disappearance; completion occurred since 2026-10-19 23:40:25.685826 +2026-10-19 23:43:15.741083,2026-10-19 23:40:00.373268,reward,photo-polar,30,SerialPrograms-20261020-032023983416.log:565256,inferred from disappearance; completion occurred since 2026-10-19 23:42:10.013462 +2026-10-19 23:45:51.180597,2026-10-19 23:40:00.373268,reward,catch-steel,40,SerialPrograms-20261020-032023983416.log:565641,inferred from disappearance; completion occurred since 2026-10-19 23:43:30.951174 +2026-10-19 23:48:02.772036,2026-10-19 23:40:00.373268,reward,photo-swim,30,SerialPrograms-20261020-032023983416.log:565976,inferred from disappearance; completion occurred since 2026-10-19 23:46:58.211776 +2026-10-19 23:50:02.935035,2026-10-19 23:40:00.373268,reward,sneak-up,20,SerialPrograms-20261020-032023983416.log:566284,inferred from disappearance; completion occurred since 2026-10-19 23:48:17.969658 +2026-10-19 23:51:33.719405,2026-10-19 23:40:00.373268,reward,photo-savanna,30,SerialPrograms-20261020-032023983416.log:566480,inferred from disappearance; completion occurred since 2026-10-19 23:50:04.971923 +2026-10-19 23:53:12.472155,2026-10-19 23:40:00.373268,reward,travel-500,20,SerialPrograms-20261020-032023983416.log:566694,inferred from disappearance; completion occurred since 2026-10-19 23:51:49.302493 +2026-10-19 23:53:55.667853,2026-10-19 23:40:00.373268,reward,make-tm,20,SerialPrograms-20261020-032023983416.log:566816,inferred from disappearance; completion occurred since 2026-10-19 23:53:14.571289 +2026-10-19 23:56:49.347248,2026-10-19 23:40:00.373268,reward,tera-self-defeat,30,SerialPrograms-20261020-032023983416.log:567174,inferred from disappearance; completion occurred since 2026-10-19 23:54:11.424196 +2026-10-19 23:58:35.952334,2026-10-19 23:40:00.373268,reward,sneak-up,20,SerialPrograms-20261020-032023983416.log:567420,inferred from disappearance; completion occurred since 2026-10-19 23:56:51.383784 +2026-10-20 00:11:25.756106,2026-10-20 00:08:25.146857,reward,bitter-sandwich,150,SerialPrograms-20261020-032023983416.log:568940,inferred from disappearance; completion occurred since 2026-10-20 00:08:40.921784 +2026-10-20 00:12:43.146412,2026-10-20 00:08:25.146857,reward,photo-coastal,30,SerialPrograms-20261020-032023983416.log:569127,inferred from disappearance; completion occurred since 2026-10-20 00:11:27.843129 +2026-10-20 00:50:33.209342,2026-10-20 00:50:18.125845,reroll,catch-poison,10,SerialPrograms-20261020-032023983416.log:573406,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 00:58:21.131784,2026-10-20 00:50:18.125845,reward,sneak-up,20,SerialPrograms-20261020-032023983416.log:574453,inferred from disappearance; completion occurred since 2026-10-20 00:56:39.275125 +2026-10-20 01:05:44.672725,2026-10-20 00:50:18.125845,reward,catch-any,20,SerialPrograms-20261020-032023983416.log:575407,inferred from disappearance; completion occurred since 2026-10-20 01:03:11.354636 +2026-10-20 01:27:26.312986,2026-10-20 01:22:16.704386,reward,travel-500,20,SerialPrograms-20261020-032023983416.log:576914,inferred from disappearance; completion occurred since 2026-10-20 01:26:02.453391 +2026-10-20 01:28:41.978236,2026-10-20 01:22:16.704386,reward,photo-polar,30,SerialPrograms-20261020-032023983416.log:577111,inferred from disappearance; completion occurred since 2026-10-20 01:27:28.398293 +2026-10-20 01:28:56.100979,2026-10-20 01:22:16.704386,reroll,tera-self-defeat,10,SerialPrograms-20261020-032023983416.log:577178,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 01:37:55.447166,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms-20261020-032023983416.log:578407,inferred from disappearance; completion occurred since 2026-10-20 01:32:35.324648 +2026-10-20 01:38:09.489965,2026-10-20 01:22:16.704386,reroll,catch-bug,10,SerialPrograms-20261020-032023983416.log:578473,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 01:42:51.884897,2026-10-20 01:22:16.704386,reward,photo-swim,30,SerialPrograms-20261020-032023983416.log:579139,inferred from disappearance; completion occurred since 2026-10-20 01:41:45.988770 +2026-10-20 01:53:35.971997,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms-20261020-032023983416.log:580599,inferred from disappearance; completion occurred since 2026-10-20 01:46:35.360464 +2026-10-20 01:55:02.136569,2026-10-20 01:22:16.704386,reward,travel-500,20,SerialPrograms-20261020-032023983416.log:580752,inferred from disappearance; completion occurred since 2026-10-20 01:53:38.009957 +2026-10-20 01:58:20.078717,2026-10-20 01:22:16.704386,reward,sour-sandwich,150,SerialPrograms-20261020-032023983416.log:581636,inferred from disappearance; completion occurred since 2026-10-20 01:55:17.729357 +2026-10-20 02:03:04.486924,2026-10-20 01:22:16.704386,reward,photo-coastal,30,SerialPrograms-20261020-032023983416.log:582275,inferred from disappearance; completion occurred since 2026-10-20 02:01:50.862782 +2026-10-20 02:04:15.732604,2026-10-20 01:22:16.704386,reward,photo-fly,30,SerialPrograms-20261020-032023983416.log:582445,inferred from disappearance; completion occurred since 2026-10-20 02:03:06.523468 +2026-10-20 02:08:37.209118,2026-10-20 01:22:16.704386,reward,make-tm,20,SerialPrograms-20261020-032023983416.log:583074,inferred from disappearance; completion occurred since 2026-10-20 02:07:57.114449 +2026-10-20 02:10:02.413836,2026-10-20 01:22:16.704386,reward,travel-500,20,SerialPrograms-20261020-032023983416.log:583219,inferred from disappearance; completion occurred since 2026-10-20 02:08:39.294468 +2026-10-20 02:10:16.817316,2026-10-20 01:22:16.704386,reroll,tera-self-defeat,10,SerialPrograms-20261020-032023983416.log:583285,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 02:21:31.618986,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms-20261020-032023983416.log:584814,inferred from disappearance; completion occurred since 2026-10-20 02:17:38.514654 +2026-10-20 02:31:32.609603,2026-10-20 01:22:16.704386,reward,photo-swim,30,SerialPrograms-20261020-032023983416.log:586329,inferred from disappearance; completion occurred since 2026-10-20 02:26:21.835708 +2026-10-20 02:36:02.065959,2026-10-20 01:22:16.704386,reward,make-tm,20,SerialPrograms-20261020-032023983416.log:586977,inferred from disappearance; completion occurred since 2026-10-20 02:35:15.176627 +2026-10-20 02:41:09.138149,2026-10-20 01:22:16.704386,reward,travel-500,20,SerialPrograms-20261020-032023983416.log:587630,inferred from disappearance; completion occurred since 2026-10-20 02:39:46.309522 +2026-10-20 02:45:55.731512,2026-10-20 01:22:16.704386,reward,photo-swim,30,SerialPrograms-20261020-032023983416.log:588307,inferred from disappearance; completion occurred since 2026-10-20 02:44:51.811172 +2026-10-20 02:46:09.636122,2026-10-20 01:22:16.704386,reroll,catch-dark,10,SerialPrograms-20261020-032023983416.log:588375,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 02:54:49.472421,2026-10-20 01:22:16.704386,reward,travel-500,20,SerialPrograms-20261020-032023983416.log:589497,inferred from disappearance; completion occurred since 2026-10-20 02:53:26.566016 +2026-10-20 02:59:57.625671,2026-10-20 01:22:16.704386,reward,wild-tera,100,SerialPrograms-20261020-032023983416.log:590120,inferred from disappearance; completion occurred since 2026-10-20 02:57:16.925421 +2026-10-20 03:04:31.086616,2026-10-20 01:22:16.704386,reward,photo-swim,30,SerialPrograms-20261020-032023983416.log:590742,inferred from disappearance; completion occurred since 2026-10-20 03:03:26.221593 +2026-10-20 03:14:02.517471,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms-20261020-032023983416.log:592073,inferred from disappearance; completion occurred since 2026-10-20 03:08:08.487675 +2026-10-20 03:19:07.387529,2026-10-20 01:22:16.704386,reward,travel-500,20,SerialPrograms-20261020-032023983416.log:592729,inferred from disappearance; completion occurred since 2026-10-20 03:17:43.813295 +2026-10-20 03:44:42.613274,2026-10-20 01:22:16.704386,reward,catch-normal,40,SerialPrograms.log:3080,inferred from disappearance; completion occurred since 2026-10-20 03:41:56.582221 +2026-10-20 03:53:43.625986,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms.log:4313,inferred from disappearance; completion occurred since 2026-10-20 03:48:22.295491 +2026-10-20 03:58:34.559569,2026-10-20 01:22:16.704386,reward,photo-fly,30,SerialPrograms.log:4994,inferred from disappearance; completion occurred since 2026-10-20 03:57:26.889879 +2026-10-20 04:02:15.056726,2026-10-20 01:22:16.704386,reward,sneak-up,20,SerialPrograms.log:5509,inferred from disappearance; completion occurred since 2026-10-20 04:00:31.356585 +2026-10-20 04:03:06.189988,2026-10-20 01:22:16.704386,reward,make-tm,20,SerialPrograms.log:5653,inferred from disappearance; completion occurred since 2026-10-20 04:02:17.093616 +2026-10-20 04:10:15.173172,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms.log:6640,inferred from disappearance; completion occurred since 2026-10-20 04:03:21.508379 +2026-10-20 04:11:26.892084,2026-10-20 01:22:16.704386,reward,photo-fly,30,SerialPrograms.log:6810,inferred from disappearance; completion occurred since 2026-10-20 04:10:17.208132 +2026-10-20 04:21:06.947081,2026-10-20 01:22:16.704386,reward,auto-30,130,SerialPrograms.log:8125,inferred from disappearance; completion occurred since 2026-10-20 04:11:42.242202 +2026-10-20 04:21:57.729507,2026-10-20 01:22:16.704386,reward,make-tm,20,SerialPrograms.log:8269,inferred from disappearance; completion occurred since 2026-10-20 04:21:09.035011 +2026-10-20 04:23:43.285679,2026-10-20 01:22:16.704386,reward,sneak-up,20,SerialPrograms.log:8509,inferred from disappearance; completion occurred since 2026-10-20 04:21:59.767739 +2026-10-20 04:29:09.251853,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms.log:9273,inferred from disappearance; completion occurred since 2026-10-20 04:23:58.442030 +2026-10-20 04:30:34.837067,2026-10-20 01:22:16.704386,reward,travel-500,20,SerialPrograms.log:9416,inferred from disappearance; completion occurred since 2026-10-20 04:29:11.340594 +2026-10-20 04:30:48.930291,2026-10-20 01:22:16.704386,reroll,tera-self-defeat,10,SerialPrograms.log:9480,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 04:31:51.314436,2026-10-20 01:22:16.704386,reward,make-tm,20,SerialPrograms.log:9658,inferred from disappearance; completion occurred since 2026-10-20 04:30:58.160153 +2026-10-20 04:35:46.364531,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms.log:10234,inferred from disappearance; completion occurred since 2026-10-20 04:32:06.596716 +2026-10-20 04:36:56.565246,2026-10-20 01:22:16.704386,reward,photo-fly,30,SerialPrograms.log:10407,inferred from disappearance; completion occurred since 2026-10-20 04:35:48.400573 +2026-10-20 04:39:21.978247,2026-10-20 01:22:16.704386,reward,catch-rock,40,SerialPrograms.log:10774,inferred from disappearance; completion occurred since 2026-10-20 04:37:13.985397 +2026-10-20 04:41:08.167448,2026-10-20 01:22:16.704386,reward,sneak-up,20,SerialPrograms.log:11013,inferred from disappearance; completion occurred since 2026-10-20 04:39:24.013153 +2026-10-20 04:46:46.105536,2026-10-20 01:22:16.704386,reward,auto-10,20,SerialPrograms.log:11810,inferred from disappearance; completion occurred since 2026-10-20 04:41:23.520737 +2026-10-20 04:47:53.259133,2026-10-20 01:22:16.704386,reward,photo-swim,30,SerialPrograms.log:11986,inferred from disappearance; completion occurred since 2026-10-20 04:46:48.192033 +2026-10-20 04:48:07.560679,2026-10-20 01:22:16.704386,reroll,tera-self-defeat,10,SerialPrograms.log:12052,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 04:49:50.769101,2026-10-20 01:22:16.704386,reward,photo-rock,150,SerialPrograms.log:12267,inferred from disappearance; completion occurred since 2026-10-20 04:48:17.916963 +2026-10-20 04:51:36.893054,2026-10-20 01:22:16.704386,reward,sneak-up,20,SerialPrograms.log:12507,inferred from disappearance; completion occurred since 2026-10-20 04:49:52.857403 +2026-10-20 04:51:51.282494,2026-10-20 01:22:16.704386,reroll,catch-fairy,10,SerialPrograms.log:12573,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 04:53:23.957831,2026-10-20 01:22:16.704386,reward,travel-500,20,SerialPrograms.log:12741,inferred from disappearance; completion occurred since 2026-10-20 04:52:00.468799 +2026-10-20 04:53:38.295487,2026-10-20 01:22:16.704386,reroll,tera-self-defeat,10,SerialPrograms.log:12806,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 04:56:31.666804,2026-10-20 01:22:16.704386,reward,catch-ground,40,SerialPrograms.log:13169,inferred from disappearance; completion occurred since 2026-10-20 04:53:47.331912 +2026-10-20 04:59:56.483679,2026-10-20 01:22:16.704386,reward,make-tm,20,SerialPrograms.log:13726,inferred from disappearance; completion occurred since 2026-10-20 04:58:58.612480 +2026-10-20 05:02:21.621503,2026-10-20 01:22:16.704386,reward,photo-swim,30,SerialPrograms.log:14118,inferred from disappearance; completion occurred since 2026-10-20 05:01:16.580479 +2026-10-20 05:05:18.733492,2026-10-20 01:22:16.704386,reward,catch-any,20,SerialPrograms.log:14462,inferred from disappearance; completion occurred since 2026-10-20 05:02:23.708110 diff --git a/analysis/bbq-2026-10-20/input-manifest.json b/analysis/bbq-2026-10-20/input-manifest.json new file mode 100644 index 0000000000..3c567dddfe --- /dev/null +++ b/analysis/bbq-2026-10-20/input-manifest.json @@ -0,0 +1,15 @@ +{ + "note": "Current log may continue growing. BBQ reconstruction ends at 2026-10-20 08:17:27; later Flying Trial records are excluded.", + "inputs": [ + { + "filename": "SerialPrograms-20261020-032023983416.log", + "bytes_at_hash_time": 52439179, + "sha256_at_hash_time": "8db344d1f12fec5750a8e572228970876960e98348cf0e580d29709ca0343fde" + }, + { + "filename": "SerialPrograms.log", + "bytes_at_hash_time": 4832421, + "sha256_at_hash_time": "e9889ce8a6467d9d56a10279aff5978690de33a03871a080fb9bb5493203a459" + } + ] +} diff --git a/analysis/bbq-2026-10-20/m0/bp-crop-after.png b/analysis/bbq-2026-10-20/m0/bp-crop-after.png new file mode 100644 index 0000000000..82d46c459e Binary files /dev/null and b/analysis/bbq-2026-10-20/m0/bp-crop-after.png differ diff --git a/analysis/bbq-2026-10-20/m0/bp-crop-before.png b/analysis/bbq-2026-10-20/m0/bp-crop-before.png new file mode 100644 index 0000000000..6ce0b8f6a5 Binary files /dev/null and b/analysis/bbq-2026-10-20/m0/bp-crop-before.png differ diff --git a/analysis/bbq-2026-10-20/m0/findings.md b/analysis/bbq-2026-10-20/m0/findings.md new file mode 100644 index 0000000000..8f3df6dedf --- /dev/null +++ b/analysis/bbq-2026-10-20/m0/findings.md @@ -0,0 +1,97 @@ +# M0 findings — Switch 1 local baseline + +## Result and provenance + +The unchanged local farmer completed **10 quests in 53m47s**, from October 20, +2026 12:26:55.253150 to 13:20:42.394144 PDT. The user stopped it during an +in-flight photo attempt; that attempt is censored, not a failure. + +The board ledger infers **360 BP gross, 30 BP rerolls, 330 BP net**, approximately +**368 net BP/hour**. No starting/ending BP balances were recorded, so these are +inferred rewards, not reconciled balance measurements. Three requested blue +rerolls were followed by changed target slugs. See [events](ledger/events.csv), +[tasks](ledger/tasks.csv), [boards](ledger/boards.csv), and +[10/30/60-minute windows](ledger/windows.csv). Partial windows are marked. + +Source: default-profile `SerialPrograms.log`, original physical lines +46059–55947. CSV source line numbers refer to the bounded extraction +`/private/tmp/bbq-m0.log`, retained outside version control. The extraction covers +12:26:50 through the STOPPED record. Regenerate its ledger with +`skills/serialprograms-logs/scripts/bbq_ledger.py`, the existing +`quest-rewards.json`, and output `m0/ledger`. + +Build source: a7d15b941 (no gameplay changes; untracked macOS helpers do not +alter farmer logic), v0.71.2-user, local arm64 build. The program reopened using +the default profile after the earlier development window disappeared. Camera +Support was corrected from On to Off before this run. These differ from the +overnight run, so this is a new baseline, not a controlled comparison of one fix. +Configuration details and startup uncertainty are in [run notes](run-notes.md). + +## Where the time went + +Times cover dispatch through verification/recovery for finished outer batches, +including retries. They exclude between-task board management and the stopped +final photo. Samples are small and correlated. + +| Requested quest | Successful / finished batches | Total task minutes | Inferred gross BP | +| --- | ---: | ---: | ---: | +| Catch-any | 1 / 4 | 20.23 | 20 | +| Auto-battle 10 | 3 / 3 | 14.59 | 60 | +| Swimming photo | 2 / 3 | 4.90 | 60 | +| Sour sandwich | 1 / 1 | 3.47 | 150 | +| Travel 500 | 1 / 1 | 1.50 | 20 | +| Coastal photo | 1 / 1 | 1.38 | 30 | +| Make TM | 1 / 1 | 1.16 | 20 | + +Catch-any consumed **38% of the whole run**. Three failed two-attempt batches +consumed 14m43s; the fourth batch failed once, then caught successfully. Seven +of eight individual catch attempts logged failure to enter battle. Those are +repeated attempts on the same outstanding quest, not eight independent samples. +The eventual success rules out treating this route as categorically impossible. + +Auto-battle completed reliably here, but averaged 4m52s per completion. It is a +second bottleneck, separate from failure recovery. The two successful swimming +photos each took about 74 seconds; an earlier two-attempt batch failed first. +The sour sandwich supplied 42% of gross earnings, illustrating how much a short +run's return depends on its red-quest mix. + +## Diagnosis supported by source and logs + +1. `process_and_do_quest()` initializes `quest_attempts` to zero on every call. + Its skip after exhaustion lasts only for the current batch. The outer farmer + processes the same board again and invokes it with a fresh budget. This + directly explains the repeated catch batches. +2. Battle-entry timeouts identify an acquisition failure, but do not explain + whether the target was absent, heading was wrong, or loading was late. + Camera Support Off did not eliminate this failure in this run. +3. The catch path already guards battle handling with its encounter-watcher + result. Do not assume every catch timeout executes battle commands. Review + Tera/Sneak-up paths independently before changing them. +4. Pickup remains unsupported. This run does not prove that rerolling pickup + works; unsupported-policy handling needs its own milestone. + +## Decision and execution order + +Keep the existing exclusions and navigation for the next comparison. Start M1 +with exact requested slugs, numbered attempts, route/verification durations, +board/BP snapshots, and local failure screenshots. Read BP from the already +captured quest panel; add no panel-opening sequence. Treat OCR failure as +unknown, and verify the BP crop against the visible balance on the Switch. + +Then follow the workplan: M2 save milestone guard; M3 confirmed-entry guard; +M4 retry persistence; M5 unsupported reroll policy; M6 bounded failed-quest +fallback; M7 no-progress handling. Keep each behavior change separately +committed and checked. M4 alone prevents repeated attempts but can leave a +blocked board, so it is not the complete recovery solution. + +Do not reroll all catches based on this sample. At the illustrative 400 BP/hour +baseline, 10 BP corresponds to 90 seconds. Avoiding a roughly five-minute failed +batch can justify a blue reroll, but replacement difficulty, menu time and lost +bonus progress still matter. Validate the reroll and spending path before using +it automatically. Leave automatic red rerolls to explicit policy. + +M1 acceptance: one new run must show an exact slug and attempt limit, plausible +BP readings across a completion/reroll, durations, and a readable local entry +failure image. Compilation is necessary but does not satisfy that gameplay gate. +Proceed to later behavior milestones after this check; another unchanged hour +is not required to establish that the existing retry budget resets. diff --git a/analysis/bbq-2026-10-20/m0/ledger/boards.csv b/analysis/bbq-2026-10-20/m0/ledger/boards.csv new file mode 100644 index 0000000000..90719d6bc6 --- /dev/null +++ b/analysis/bbq-2026-10-20/m0/ledger/boards.csv @@ -0,0 +1,44 @@ +time,run,source,slots +2026-10-20 12:27:08.854049,2026-10-20 12:26:55.253150,bbq-m0.log:65,"[""auto-10"", ""catch-fairy"", ""pickup-10"", null]" +2026-10-20 12:27:26.595103,2026-10-20 12:26:55.253150,bbq-m0.log:139,"[""auto-10"", ""tera-self-defeat"", ""pickup-10"", null]" +2026-10-20 12:34:26.765184,2026-10-20 12:26:55.253150,bbq-m0.log:3832,"[""photo-coastal"", ""tera-self-defeat"", ""pickup-10"", null]" +2026-10-20 12:34:48.231227,2026-10-20 12:26:55.253150,bbq-m0.log:3896,"[""photo-coastal"", ""tera-self-defeat"", ""pickup-10"", null]" +2026-10-20 12:35:09.116446,2026-10-20 12:26:55.253150,bbq-m0.log:3949,"[""photo-coastal"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:36:32.348236,2026-10-20 12:26:55.253150,bbq-m0.log:4116,"[""auto-10"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:36:53.594084,2026-10-20 12:26:55.253150,bbq-m0.log:4178,"[""auto-10"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:37:02.645528,2026-10-20 12:26:55.253150,bbq-m0.log:4197,"[""auto-10"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:40:41.630490,2026-10-20 12:26:55.253150,bbq-m0.log:4657,"[""make-tm"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:40:53.956820,2026-10-20 12:26:55.253150,bbq-m0.log:4679,"[""make-tm"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:43:20.434340,2026-10-20 12:26:55.253150,bbq-m0.log:4948,"[""make-tm"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:45:47.867694,2026-10-20 12:26:55.253150,bbq-m0.log:5219,"[""make-tm"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:46:08.189195,2026-10-20 12:26:55.253150,bbq-m0.log:5282,"[""make-tm"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:46:15.073868,2026-10-20 12:26:55.253150,bbq-m0.log:5301,"[""make-tm"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:47:20.313766,2026-10-20 12:26:55.253150,bbq-m0.log:5457,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:47:31.710338,2026-10-20 12:26:55.253150,bbq-m0.log:5476,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:49:57.585173,2026-10-20 12:26:55.253150,bbq-m0.log:5745,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:52:25.035682,2026-10-20 12:26:55.253150,bbq-m0.log:6012,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:52:45.120383,2026-10-20 12:26:55.253150,bbq-m0.log:6074,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:52:54.504979,2026-10-20 12:26:55.253150,bbq-m0.log:6093,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:54:08.068117,2026-10-20 12:26:55.253150,bbq-m0.log:6252,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:55:19.833515,2026-10-20 12:26:55.253150,bbq-m0.log:6410,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:55:31.343979,2026-10-20 12:26:55.253150,bbq-m0.log:6430,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 12:57:57.831752,2026-10-20 12:26:55.253150,bbq-m0.log:6702,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 13:00:25.645165,2026-10-20 12:26:55.253150,bbq-m0.log:6969,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 13:00:48.243889,2026-10-20 12:26:55.253150,bbq-m0.log:7031,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 13:00:57.900285,2026-10-20 12:26:55.253150,bbq-m0.log:7050,"[""photo-swim"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 13:02:11.797962,2026-10-20 12:26:55.253150,bbq-m0.log:7209,"[""auto-10"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 13:02:22.395037,2026-10-20 12:26:55.253150,bbq-m0.log:7228,"[""auto-10"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 13:04:51.641501,2026-10-20 12:26:55.253150,bbq-m0.log:7498,"[""auto-10"", ""catch-any"", ""pickup-10"", null]" +2026-10-20 13:07:54.539052,2026-10-20 12:26:55.253150,bbq-m0.log:7853,"[""auto-10"", ""photo-swim"", ""pickup-10"", null]" +2026-10-20 13:08:15.514251,2026-10-20 12:26:55.253150,bbq-m0.log:7915,"[""auto-10"", ""photo-swim"", ""pickup-10"", null]" +2026-10-20 13:08:29.163088,2026-10-20 12:26:55.253150,bbq-m0.log:7935,"[""auto-10"", ""photo-swim"", ""pickup-10"", null]" +2026-10-20 13:12:20.463499,2026-10-20 12:26:55.253150,bbq-m0.log:8411,"[""tera-self-defeat"", ""photo-swim"", ""pickup-10"", null]" +2026-10-20 13:12:31.535452,2026-10-20 12:26:55.253150,bbq-m0.log:8430,"[""tera-self-defeat"", ""photo-swim"", ""pickup-10"", null]" +2026-10-20 13:13:44.613987,2026-10-20 12:26:55.253150,bbq-m0.log:8592,"[""tera-self-defeat"", ""travel-500"", ""pickup-10"", null]" +2026-10-20 13:14:07.909732,2026-10-20 12:26:55.253150,bbq-m0.log:8654,"[""tera-self-defeat"", ""travel-500"", ""pickup-10"", null]" +2026-10-20 13:14:26.158486,2026-10-20 12:26:55.253150,bbq-m0.log:8703,"[""photo-fly"", ""travel-500"", ""pickup-10"", null]" +2026-10-20 13:15:55.834682,2026-10-20 12:26:55.253150,bbq-m0.log:8837,"[""sour-sandwich"", ""photo-fly"", ""auto-10"", ""pickup-10""]" +2026-10-20 13:16:16.257295,2026-10-20 12:26:55.253150,bbq-m0.log:8899,"[""sour-sandwich"", ""photo-fly"", ""auto-10"", ""pickup-10""]" +2026-10-20 13:16:25.733036,2026-10-20 12:26:55.253150,bbq-m0.log:8919,"[""sour-sandwich"", ""photo-fly"", ""auto-10"", ""pickup-10""]" +2026-10-20 13:19:48.572380,2026-10-20 12:26:55.253150,bbq-m0.log:9804,"[""photo-fly"", ""auto-10"", ""pickup-10"", null]" +2026-10-20 13:20:03.137928,2026-10-20 12:26:55.253150,bbq-m0.log:9823,"[""photo-fly"", ""auto-10"", ""pickup-10"", null]" diff --git a/analysis/bbq-2026-10-20/m0/ledger/events.csv b/analysis/bbq-2026-10-20/m0/ledger/events.csv new file mode 100644 index 0000000000..14563b38d4 --- /dev/null +++ b/analysis/bbq-2026-10-20/m0/ledger/events.csv @@ -0,0 +1,14 @@ +time,run,kind,quest,bp,source,note +2026-10-20 12:27:16.345554,2026-10-20 12:26:55.253150,reroll,catch-fairy,10,bbq-m0.log:98,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 12:34:35.253212,2026-10-20 12:26:55.253150,reward,auto-10,20,bbq-m0.log:3837,inferred from disappearance; completion occurred since 2026-10-20 12:27:26.595103 +2026-10-20 12:34:58.856216,2026-10-20 12:26:55.253150,reroll,tera-self-defeat,10,bbq-m0.log:3907,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 12:36:40.658831,2026-10-20 12:26:55.253150,reward,photo-coastal,30,bbq-m0.log:4121,inferred from disappearance; completion occurred since 2026-10-20 12:35:09.116446 +2026-10-20 12:40:49.720920,2026-10-20 12:26:55.253150,reward,auto-10,20,bbq-m0.log:4662,inferred from disappearance; completion occurred since 2026-10-20 12:37:02.645528 +2026-10-20 12:47:29.674247,2026-10-20 12:26:55.253150,reward,make-tm,20,bbq-m0.log:5462,inferred from disappearance; completion occurred since 2026-10-20 12:46:15.073868 +2026-10-20 13:02:20.357160,2026-10-20 12:26:55.253150,reward,photo-swim,30,bbq-m0.log:7213,inferred from disappearance; completion occurred since 2026-10-20 13:00:57.900285 +2026-10-20 13:08:02.400931,2026-10-20 12:26:55.253150,reward,catch-any,20,bbq-m0.log:7858,inferred from disappearance; completion occurred since 2026-10-20 13:04:51.641501 +2026-10-20 13:12:29.449200,2026-10-20 12:26:55.253150,reward,auto-10,20,bbq-m0.log:8416,inferred from disappearance; completion occurred since 2026-10-20 13:08:29.163088 +2026-10-20 13:13:54.861875,2026-10-20 12:26:55.253150,reward,photo-swim,30,bbq-m0.log:8597,inferred from disappearance; completion occurred since 2026-10-20 13:12:31.535452 +2026-10-20 13:14:16.927052,2026-10-20 12:26:55.253150,reroll,tera-self-defeat,10,bbq-m0.log:8664,"requested; button sequence follows, no BP balance confirmation; next board changed target slug" +2026-10-20 13:16:03.260931,2026-10-20 12:26:55.253150,reward,travel-500,20,bbq-m0.log:8842,inferred from disappearance; completion occurred since 2026-10-20 13:14:26.158486 +2026-10-20 13:20:01.050312,2026-10-20 12:26:55.253150,reward,sour-sandwich,150,bbq-m0.log:9809,inferred from disappearance; completion occurred since 2026-10-20 13:16:25.733036 diff --git a/analysis/bbq-2026-10-20/m0/ledger/runs.csv b/analysis/bbq-2026-10-20/m0/ledger/runs.csv new file mode 100644 index 0000000000..a31c0be0bc --- /dev/null +++ b/analysis/bbq-2026-10-20/m0/ledger/runs.csv @@ -0,0 +1,2 @@ +start,end,stop +2026-10-20 12:26:55.253150,2026-10-20 13:20:42.394144,Program State: STOPPED diff --git a/analysis/bbq-2026-10-20/m0/ledger/tasks.csv b/analysis/bbq-2026-10-20/m0/ledger/tasks.csv new file mode 100644 index 0000000000..5a0310ef5c --- /dev/null +++ b/analysis/bbq-2026-10-20/m0/ledger/tasks.csv @@ -0,0 +1,16 @@ +start,end,run,quest,label,outcome,seconds,source,verification_failures,entry_failures,photo_prompt_failures +2026-10-20 12:27:31.544489,2026-10-20 12:34:36.087780,2026-10-20 12:26:55.253150,auto-10,Quest: Auto Battle 10/30,success,424.543291,bbq-m0.log:146,0,0,0 +2026-10-20 12:35:18.970654,2026-10-20 12:36:41.494804,2026-10-20 12:26:55.253150,photo-coastal,Photo: Coastal/Grass/Dragon,success,82.52415,bbq-m0.log:3957,0,0,1 +2026-10-20 12:37:11.046328,2026-10-20 12:40:50.555174,2026-10-20 12:26:55.253150,auto-10,Quest: Auto Battle 10/30,success,219.508846,bbq-m0.log:4205,0,0,0 +2026-10-20 12:41:03.312996,2026-10-20 12:45:56.040135,2026-10-20 12:26:55.253150,catch-any,Catch: Any/Normal/Fire,failure,292.727139,bbq-m0.log:4687,2,2,0 +2026-10-20 12:46:21.032107,2026-10-20 12:47:30.508502,2026-10-20 12:26:55.253150,make-tm,Quest: Make TM,success,69.476395,bbq-m0.log:5309,0,0,0 +2026-10-20 12:47:39.426395,2026-10-20 12:52:32.880080,2026-10-20 12:26:55.253150,catch-any,Catch: Any/Normal/Fire,failure,293.453685,bbq-m0.log:5484,2,2,0 +2026-10-20 12:53:04.334106,2026-10-20 12:55:30.140955,2026-10-20 12:26:55.253150,photo-swim,Photo: Swimming/Water/Polar,failure,145.806849,bbq-m0.log:6101,2,0,2 +2026-10-20 12:55:39.446323,2026-10-20 13:00:36.106728,2026-10-20 12:26:55.253150,catch-any,Catch: Any/Normal/Fire,failure,296.660405,bbq-m0.log:6437,2,2,0 +2026-10-20 13:01:07.952023,2026-10-20 13:02:21.192401,2026-10-20 12:26:55.253150,photo-swim,Photo: Swimming/Water/Polar,success,73.240378,bbq-m0.log:7058,0,0,1 +2026-10-20 13:02:32.225290,2026-10-20 13:08:03.236043,2026-10-20 12:26:55.253150,catch-any,Catch: Any/Normal/Fire,success,331.010753,bbq-m0.log:7236,1,1,0 +2026-10-20 13:08:38.878927,2026-10-20 13:12:30.283499,2026-10-20 12:26:55.253150,auto-10,Quest: Auto Battle 10/30,success,231.404572,bbq-m0.log:7943,0,0,0 +2026-10-20 13:12:40.864260,2026-10-20 13:13:55.700624,2026-10-20 12:26:55.253150,photo-swim,Photo: Swimming/Water/Polar,success,74.836364,bbq-m0.log:8438,0,0,1 +2026-10-20 13:14:34.155584,2026-10-20 13:16:04.095213,2026-10-20 12:26:55.253150,travel-500,Quest: Travel 500 meters.,success,89.939629,bbq-m0.log:8711,0,0,0 +2026-10-20 13:16:33.748920,2026-10-20 13:20:01.886575,2026-10-20 12:26:55.253150,sour-sandwich,Quest: Make a singleplayer sandwich,success,208.137655,bbq-m0.log:8927,0,0,0 +2026-10-20 13:20:11.069468,,2026-10-20 12:26:55.253150,photo-fly,Photo: In-flight/Psychic,censored,,bbq-m0.log:9831,0,0,0 diff --git a/analysis/bbq-2026-10-20/m0/ledger/windows.csv b/analysis/bbq-2026-10-20/m0/ledger/windows.csv new file mode 100644 index 0000000000..c550ad7397 --- /dev/null +++ b/analysis/bbq-2026-10-20/m0/ledger/windows.csv @@ -0,0 +1,13 @@ +minutes,start,end,observed_minutes,active_minutes,gross_bp,spent_bp,net_bp,unknown_events +10,2026-10-20 12:20:00,2026-10-20 12:30:00,3.079,3.079,0,10,-10,0 +10,2026-10-20 12:30:00,2026-10-20 12:40:00,10.0,10.0,50,10,40,0 +10,2026-10-20 12:40:00,2026-10-20 12:50:00,10.0,10.0,40,0,40,0 +10,2026-10-20 12:50:00,2026-10-20 13:00:00,10.0,10.0,0,0,0,0 +10,2026-10-20 13:00:00,2026-10-20 13:10:00,10.0,10.0,50,0,50,0 +10,2026-10-20 13:10:00,2026-10-20 13:20:00,10.0,10.0,70,10,60,0 +10,2026-10-20 13:20:00,2026-10-20 13:30:00,0.707,0.707,150,0,150,0 +30,2026-10-20 12:00:00,2026-10-20 12:30:00,3.079,3.079,0,10,-10,0 +30,2026-10-20 12:30:00,2026-10-20 13:00:00,30.0,30.0,90,10,80,0 +30,2026-10-20 13:00:00,2026-10-20 13:30:00,20.707,20.707,270,10,260,0 +60,2026-10-20 12:00:00,2026-10-20 13:00:00,33.079,33.079,90,20,70,0 +60,2026-10-20 13:00:00,2026-10-20 14:00:00,20.707,20.707,270,10,260,0 diff --git a/analysis/bbq-2026-10-20/m0/m1-validation.md b/analysis/bbq-2026-10-20/m0/m1-validation.md new file mode 100644 index 0000000000..74dd989852 --- /dev/null +++ b/analysis/bbq-2026-10-20/m0/m1-validation.md @@ -0,0 +1,59 @@ +# M1 diagnostic run — initial validation + +Started 2026-10-20 13:45:18.212747 PDT, local build 6214dc51d. +At 14:03:06 the run had lasted 17m48s and logged three requested-task completions. +Final STOPPED record: 14:04:10.198517, **18m52s** elapsed. Three requested-task +completions; catch-any's second attempt was interrupted and is censored. +Post-stop window inspection shows the Switch HOME screen, so no live quest-panel +balance was captured yet. The BP crop cannot be validated from that screenshot. + +- Exact slugs, numbered attempts, limits, route/verification timings, and retry-exhaustion logs are present. +- Local screenshot writes report success. The catch-any entry-timeout image at 14:02:41 was opened and is a readable 1920x1080 overworld frame on the rock plateau, outside battle. It does not alone prove whether the intended target spawned. +- Raw BP OCR is **incorrect**: 66701, 66901, 67101, 67301, 67501. The user's measured checkpoint is **6710 after two completions**, matching the second completion at 13:54:31.786659. This suggests contamination of the crop (extra glyphs); do not blindly strip digits or use these readings as balances. +- The first two requested completions were make-tm and auto-10 (20 BP each), with no logged rerolls before the checkpoint. Under the existing ledger assumptions, starting BP was **6670**. This is inferred from the user's checkpoint, not validated OCR. +- During Sneak-up, the board changed from catch-any/sneak-up/pickup-10 to catch-any/sneak-up/auto-10 and raw BP rose. That suggests an incidental pickup completion. The requested Sneak-up stayed on the board and exhausted two attempts. Requested-task stats therefore undercount total board completions; reconcile actual board changes and balances. + +Enough data is collected to end this diagnostic trial. M1 remains partially validated: BP extraction needs correction and direct screenshot comparison before reliable balance accounting. Keep reroll/retry behavior unchanged until that check. No need to wait for another full baseline hour. + +## BP crop correction and next-run preflight + +After stopping, the game was resumed from HOME and its quest panel opened without +starting the farmer. Window capture `/private/tmp/bbq-bp-panel.png` visibly shows +**6750 BP**, with catch-any, sneak-up and auto-10 outstanding. This is 80 BP above +the inferred 6670 start, consistent with three requested completions plus the +incidental 20-BP pickup completion. No reroll is logged in this run. + +The old normalized crop ends at x=0.957 and includes the left vertical stroke of +the B suffix. The narrowed crop ends at x=0.954 (width 0.088 rather than 0.091), +preserving all four digits and excluding that stroke. Both BP read sites use the +corrected crop. Inspection of the old/new image crops confirms this; offline +Tesseract reads the narrowed screenshot crop as 6750. This is a different OCR +backend from the live PaddleOCR path, so live confirmation remains required. +Temporary crop evidence: `/private/tmp/bbq-bp-old.png` and `bbq-bp-new.png`. + +The next run is a short BP validation, not another hour-long baseline: confirm +the first board reads 6750, then one completion or reroll yields the expected +balance change. Stop early if BP is still wrong. The farmer's spending, retry +policy and navigation remain unchanged. The preflight screenshot is a starting +checkpoint only if no manual play occurs before the run. + +At 14:49:18 PDT the rebuilt app's video and audio were working. Pre-run screenshot +[next-run-starting-board.png](next-run-starting-board.png) confirms **6750 BP** and +catch-any / sneak-up / auto-10, each at zero progress. The quest panel was closed +after capture to restore the overworld. The app is idle and ready for a short +live check of revision 249ba6f28's corrected crop. + +The next run started at **14:53:30.588997 PDT**. Live PaddleOCR board records at +14:53:56.158868 and 14:54:08.585491 both read **6750**, matching the preflight +screenshot. This validates the corrected crop on the initial balance with the +actual application backend. A subsequent balance change remains to be checked. +At 14:56:36.165843, after the first catch attempt failed, the board still read +6750. The attempt took 147667 ms including verification; attempt two then began. +At roughly five minutes elapsed the route was still recovering without a logged +completion. Initial-balance OCR and failure evidence are validated; observing a +changed balance remains open and does not justify an extended failing catch run. + +Final STOPPED: **14:59:14.303107 PDT**, elapsed **5m44s**. Catch-any exhausted +two attempts without completion; the final board still read **6750 BP**. No +reward or reroll was logged. The crop fix passed repeated live reads; balance +change reconciliation remains open for the next trial that makes progress. diff --git a/analysis/bbq-2026-10-20/m0/next-run-starting-board.png b/analysis/bbq-2026-10-20/m0/next-run-starting-board.png new file mode 100644 index 0000000000..4b77136d12 Binary files /dev/null and b/analysis/bbq-2026-10-20/m0/next-run-starting-board.png differ diff --git a/analysis/bbq-2026-10-20/m0/run-notes.md b/analysis/bbq-2026-10-20/m0/run-notes.md new file mode 100644 index 0000000000..a1051f0cd8 --- /dev/null +++ b/analysis/bbq-2026-10-20/m0/run-notes.md @@ -0,0 +1,22 @@ +# M0 local baseline — 2026-10-20 + +- Time zone: America/Los_Angeles (PDT). +- Start requested: 12:26:50; BBQSoloFarmer entered at 12:26:55. +- Local build: v0.71.2-user. Current process uses the default profile, not `bbq-dev`. +- Active log: `/Users/difan/Library/Application Support/SerialPrograms/SerialPrograms.log`. +- Camera Support was changed from On to Off and the game confirmed settings were changed before this run. Other required in-game options were visually checked. +- Existing quest exclusions retained: catch Dark, Poison, Fairy, Water, Ice, Bug, Steel; Terastallize to defeat a wild Pokémon. Each action is Reroll. +- Visible configuration before start: Traditional Chinese, 1,000 quests, save/reset every 50 attempts, normal flight, Quick Ball disabled, Ultra Ball, 30 eggs, reroll when out of eggs. +- Initial BP balance has not been recorded. Do not infer it from estimated quest rewards. +- Initial log progress: overworld detected; map and fly prompts detected normally. +- The previous development window disappeared during program switching around 12:24:47. The former profile log stops during console/video teardown. A new process was subsequently observed with the default profile; no SerialPrograms crash report was found at inspection. Cause remains unconfirmed. + +Compare with the overnight run with care: application version and Camera Support differ. Leave settings unchanged during this baseline. + +## First 37 minutes + +At 13:03:45, five completions were logged. Successful task spans (dispatch to completion, including internal verification) were auto battle 7m05s, coastal/grass/dragon photo 1m23s, auto battle 3m40s, make TM 1m09s, and swimming/water/polar photo 1m13s. These are route-family labels, not necessarily exact quest slugs. + +Three completed catch-any/normal/fire failure batches consumed 4m53s each (12:41:03–12:45:56, 12:47:39–12:52:33, 12:55:39–13:00:36), about 14m42s total, or 40% of elapsed run time. Each batch attempted twice and logged failure to enter battle on both attempts. A fourth batch began at 13:02:32 and logged another battle-entry failure at 13:03:45. Thus skipping after retries does not prevent the same outstanding quest from being selected again in later batches. + +The swimming/water/polar photo additionally failed twice over 2m26s before succeeding in a later batch. Two configured reroll actions were logged. Completion count alone is insufficient for net BP accounting. This sample supports prioritizing persistent failure handling and the battle-entry timeout/recovery path; it does not establish that the catch route never works or that automatic rerolling is always profitable. diff --git a/analysis/bbq-2026-10-20/overnight-timeline.png b/analysis/bbq-2026-10-20/overnight-timeline.png new file mode 100644 index 0000000000..f51ec5c452 Binary files /dev/null and b/analysis/bbq-2026-10-20/overnight-timeline.png differ diff --git a/analysis/bbq-2026-10-20/overnight-timeline.svg b/analysis/bbq-2026-10-20/overnight-timeline.svg new file mode 100644 index 0000000000..eec4d68faa --- /dev/null +++ b/analysis/bbq-2026-10-20/overnight-timeline.svg @@ -0,0 +1,2232 @@ + + + + + + + + 2026-10-20T11:03:18.884611 + image/svg+xml + + + Matplotlib v3.11.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/analysis/bbq-2026-10-20/quest-catalog.csv b/analysis/bbq-2026-10-20/quest-catalog.csv new file mode 100644 index 0000000000..bf39dd4385 --- /dev/null +++ b/analysis/bbq-2026-10-20/quest-catalog.csv @@ -0,0 +1,86 @@ +quest_slug,variant,tier,reward_bp,reroll_bp,reroll_note +auto-10,,blue,20,10, +make-tm,,blue,20,10, +pickup-10,,blue,20,10, +sneak-up,,blue,20,10, +photo-fly,,blue,30,10, +photo-swim,,blue,30,10, +photo-canyon,,blue,30,10, +photo-coastal,,blue,30,10, +photo-polar,,blue,30,10, +photo-savanna,,blue,30,10, +tera-self-defeat,,blue,30,10, +travel-500,,blue,20,10, +catch-any,,blue,20,10, +catch-normal,,blue,40,10, +catch-fighting,,blue,40,10, +catch-flying,,blue,40,10, +catch-poison,,blue,40,10, +catch-ground,,blue,40,10, +catch-rock,,blue,40,10, +catch-bug,,blue,40,10, +catch-ghost,,blue,40,10, +catch-steel,,blue,40,10, +catch-fire,,blue,40,10, +catch-water,,blue,40,10, +catch-grass,,blue,40,10, +catch-electric,,blue,40,10, +catch-psychic,,blue,40,10, +catch-ice,,blue,40,10, +catch-dragon,,blue,40,10, +catch-dark,,blue,40,10, +catch-fairy,,blue,40,10, +wash-pokemon,,red,100,50, +wild-tera,,red,100,50, +auto-30,,red,130,50, +tera-raid,,red,150,50, +sandwich-three,,red,130,50, +bitter-sandwich,,red,150,50, +sweet-sandwich,,red,150,50, +salty-sandwich,,red,150,50, +sour-sandwich,,red,150,50, +spicy-sandwich,,red,150,50, +hatch-egg,,red,200,50, +photo-normal,,red,150,50, +photo-fighting,,red,150,50, +photo-flying,,red,150,50, +photo-poison,,red,150,50, +photo-ground,,red,150,50, +photo-rock,,red,150,50, +photo-bug,,red,150,50, +photo-ghost,,red,150,50, +photo-steel,,red,150,50, +photo-fire,,red,150,50, +photo-water,,red,150,50, +photo-grass,,red,150,50, +photo-electric,,red,150,50, +photo-psychic,,red,150,50, +photo-ice,,red,150,50, +photo-dragon,,red,150,50, +photo-dark,,red,150,50, +photo-fairy,,red,150,50, +ditto-central,3,gold,500,,gold cannot be individually rerolled (see report sources) +ditto-central,4,gold,550,,gold cannot be individually rerolled (see report sources) +ditto-central,5,gold,600,,gold cannot be individually rerolled (see report sources) +ditto-canyon,3,gold,500,,gold cannot be individually rerolled (see report sources) +ditto-canyon,4,gold,550,,gold cannot be individually rerolled (see report sources) +ditto-canyon,5,gold,600,,gold cannot be individually rerolled (see report sources) +ditto-coastal,3,gold,500,,gold cannot be individually rerolled (see report sources) +ditto-coastal,4,gold,550,,gold cannot be individually rerolled (see report sources) +ditto-coastal,5,gold,600,,gold cannot be individually rerolled (see report sources) +ditto-polar,3,gold,500,,gold cannot be individually rerolled (see report sources) +ditto-polar,4,gold,550,,gold cannot be individually rerolled (see report sources) +ditto-polar,5,gold,600,,gold cannot be individually rerolled (see report sources) +ditto-savanna,3,gold,500,,gold cannot be individually rerolled (see report sources) +ditto-savanna,4,gold,550,,gold cannot be individually rerolled (see report sources) +ditto-savanna,5,gold,600,,gold cannot be individually rerolled (see report sources) +group-canyon,,gold,400,,gold cannot be individually rerolled (see report sources) +group-coastal,,gold,400,,gold cannot be individually rerolled (see report sources) +group-polar,,gold,400,,gold cannot be individually rerolled (see report sources) +group-savanna,,gold,400,,gold cannot be individually rerolled (see report sources) +group-eyewear,,gold,400,,gold cannot be individually rerolled (see report sources) +group-nonuniform,,gold,400,,gold cannot be individually rerolled (see report sources) +group-masks,,gold,400,,gold cannot be individually rerolled (see report sources) +sandwich-four,,gold,500,,gold cannot be individually rerolled (see report sources) +catch-hint,,gold,500,,gold cannot be individually rerolled (see report sources) +catch-hint2,,gold,600,,gold cannot be individually rerolled (see report sources) diff --git a/analysis/bbq-2026-10-20/quest-rewards.json b/analysis/bbq-2026-10-20/quest-rewards.json new file mode 100644 index 0000000000..9768254b9c --- /dev/null +++ b/analysis/bbq-2026-10-20/quest-rewards.json @@ -0,0 +1,406 @@ +{ + "source": "https://bulbapedia.bulbagarden.net/wiki/Blueberry_Quest", + "cross_check": "https://www.serebii.net/scarletviolet/blueberryquests.shtml", + "notes": [ + "Serebii disagrees on make-tm (40 vs 20), wild-tera (150 vs 100), washing (20 vs 100), and biome group photos (300 vs 400). Canonical values follow Bulbapedia; report sensitivity for affected observed quests.", + "Gold reroll cost is unspecified; null does not mean free.", + "Ditto variants reward 500/550/600 for 3/4/5 blocks respectively." + ], + "quests": { + "auto-10": { + "reward_bp": 20, + "tier": "blue", + "reroll_bp": 10 + }, + "make-tm": { + "reward_bp": 20, + "tier": "blue", + "reroll_bp": 10 + }, + "pickup-10": { + "reward_bp": 20, + "tier": "blue", + "reroll_bp": 10 + }, + "sneak-up": { + "reward_bp": 20, + "tier": "blue", + "reroll_bp": 10 + }, + "photo-fly": { + "reward_bp": 30, + "tier": "blue", + "reroll_bp": 10 + }, + "photo-swim": { + "reward_bp": 30, + "tier": "blue", + "reroll_bp": 10 + }, + "photo-canyon": { + "reward_bp": 30, + "tier": "blue", + "reroll_bp": 10 + }, + "photo-coastal": { + "reward_bp": 30, + "tier": "blue", + "reroll_bp": 10 + }, + "photo-polar": { + "reward_bp": 30, + "tier": "blue", + "reroll_bp": 10 + }, + "photo-savanna": { + "reward_bp": 30, + "tier": "blue", + "reroll_bp": 10 + }, + "tera-self-defeat": { + "reward_bp": 30, + "tier": "blue", + "reroll_bp": 10 + }, + "travel-500": { + "reward_bp": 20, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-any": { + "reward_bp": 20, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-normal": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-fighting": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-flying": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-poison": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-ground": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-rock": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-bug": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-ghost": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-steel": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-fire": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-water": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-grass": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-electric": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-psychic": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-ice": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-dragon": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-dark": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "catch-fairy": { + "reward_bp": 40, + "tier": "blue", + "reroll_bp": 10 + }, + "wash-pokemon": { + "reward_bp": 100, + "tier": "red", + "reroll_bp": 50 + }, + "wild-tera": { + "reward_bp": 100, + "tier": "red", + "reroll_bp": 50 + }, + "auto-30": { + "reward_bp": 130, + "tier": "red", + "reroll_bp": 50 + }, + "tera-raid": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "sandwich-three": { + "reward_bp": 130, + "tier": "red", + "reroll_bp": 50 + }, + "bitter-sandwich": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "sweet-sandwich": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "salty-sandwich": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "sour-sandwich": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "spicy-sandwich": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "hatch-egg": { + "reward_bp": 200, + "tier": "red", + "reroll_bp": 50 + }, + "photo-normal": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-fighting": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-flying": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-poison": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-ground": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-rock": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-bug": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-ghost": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-steel": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-fire": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-water": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-grass": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-electric": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-psychic": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-ice": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-dragon": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-dark": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "photo-fairy": { + "reward_bp": 150, + "tier": "red", + "reroll_bp": 50 + }, + "ditto-central": { + "reward_bp": [ + 500, + 550, + 600 + ], + "tier": "gold", + "reroll_bp": null + }, + "ditto-canyon": { + "reward_bp": [ + 500, + 550, + 600 + ], + "tier": "gold", + "reroll_bp": null + }, + "ditto-coastal": { + "reward_bp": [ + 500, + 550, + 600 + ], + "tier": "gold", + "reroll_bp": null + }, + "ditto-polar": { + "reward_bp": [ + 500, + 550, + 600 + ], + "tier": "gold", + "reroll_bp": null + }, + "ditto-savanna": { + "reward_bp": [ + 500, + 550, + 600 + ], + "tier": "gold", + "reroll_bp": null + }, + "group-canyon": { + "reward_bp": 400, + "tier": "gold", + "reroll_bp": null + }, + "group-coastal": { + "reward_bp": 400, + "tier": "gold", + "reroll_bp": null + }, + "group-polar": { + "reward_bp": 400, + "tier": "gold", + "reroll_bp": null + }, + "group-savanna": { + "reward_bp": 400, + "tier": "gold", + "reroll_bp": null + }, + "group-eyewear": { + "reward_bp": 400, + "tier": "gold", + "reroll_bp": null + }, + "group-nonuniform": { + "reward_bp": 400, + "tier": "gold", + "reroll_bp": null + }, + "group-masks": { + "reward_bp": 400, + "tier": "gold", + "reroll_bp": null + }, + "sandwich-four": { + "reward_bp": 500, + "tier": "gold", + "reroll_bp": null + }, + "catch-hint": { + "reward_bp": 500, + "tier": "gold", + "reroll_bp": null + }, + "catch-hint2": { + "reward_bp": 600, + "tier": "gold", + "reroll_bp": null + } + } +} diff --git a/analysis/bbq-2026-10-20/quest-velocity.csv b/analysis/bbq-2026-10-20/quest-velocity.csv new file mode 100644 index 0000000000..4bdeb704df --- /dev/null +++ b/analysis/bbq-2026-10-20/quest-velocity.csv @@ -0,0 +1,38 @@ +scope,quest,tier,reward_bp,reroll_bp,batches,successes,censored_batches,total_minutes,mean_batch_minutes,direct_reward_bp,direct_bp_per_task_hour,illustrative_bonus_adjusted_bp_per_task_hour,verification_failures +all-pre-stall,photo-rock,red,150,50,1,1,0,1.543,1.543,150,5833.9,5833.9,0 +all-pre-stall,bitter-sandwich,red,150,50,1,1,2,2.745,2.745,150,3278.8,3278.8,0 +all-pre-stall,sour-sandwich,red,150,50,1,1,0,3.025,3.025,150,2974.9,2974.9,0 +all-pre-stall,photo-fly,blue,30,10,4,4,0,4.562,1.14,120,1578.4,2293.9,0 +all-pre-stall,photo-polar,blue,30,10,2,2,0,2.31,1.155,60,1558.2,2264.6,0 +all-pre-stall,make-tm,blue,20,10,7,7,0,5.575,0.796,140,1506.8,2531.5,0 +all-pre-stall,photo-coastal,blue,30,10,2,2,0,2.477,1.238,60,1453.6,2112.6,0 +all-pre-stall,wild-tera,red,100,50,1,1,0,4.879,4.879,100,1229.7,1229.7,1 +all-pre-stall,photo-savanna,blue,30,10,1,1,0,1.478,1.478,30,1218.1,1770.3,0 +all-pre-stall,catch-rock,blue,40,10,1,1,0,2.128,2.128,40,1127.6,1511.0,0 +all-pre-stall,catch-steel,blue,40,10,1,1,0,2.328,2.328,40,1031.0,1381.5,0 +all-pre-stall,catch-ground,blue,40,10,1,1,0,2.735,2.735,40,877.4,1175.8,0 +all-pre-stall,travel-500,blue,20,10,9,9,0,12.46,1.384,180,866.8,1456.2,0 +all-pre-stall,auto-30,red,130,50,1,1,0,9.407,9.407,130,829.1,829.1,0 +all-pre-stall,photo-swim,blue,30,10,8,7,0,17.046,2.131,210,739.2,1074.3,5 +all-pre-stall,catch-any,blue,20,10,2,2,0,5.467,2.734,40,439.0,737.5,0 +all-pre-stall,auto-10,blue,20,10,9,9,0,48.56,5.396,180,222.4,373.6,0 +all-pre-stall,catch-normal,blue,40,10,3,1,0,14.468,4.823,40,165.9,222.3,5 +all-pre-stall,sneak-up,blue,20,10,30,8,1,90.467,3.016,160,106.1,178.3,45 +all-pre-stall,tera-self-defeat,blue,30,10,6,1,2,25.468,4.245,30,70.7,102.7,10 +all-pre-stall,catch-poison,blue,40,10,3,0,0,16.379,5.46,0,0.0,0.0,6 +continuous-pre-stall,photo-rock,red,150,50,1,1,0,1.543,1.543,150,5833.9,5833.9,0 +continuous-pre-stall,sour-sandwich,red,150,50,1,1,0,3.025,3.025,150,2974.9,2974.9,0 +continuous-pre-stall,photo-fly,blue,30,10,4,4,0,4.562,1.14,120,1578.4,2293.9,0 +continuous-pre-stall,photo-polar,blue,30,10,1,1,0,1.218,1.218,30,1477.4,2147.1,0 +continuous-pre-stall,photo-coastal,blue,30,10,1,1,0,1.223,1.223,30,1471.4,2138.5,0 +continuous-pre-stall,make-tm,blue,20,10,6,6,0,4.903,0.817,120,1468.6,2467.2,0 +continuous-pre-stall,wild-tera,red,100,50,1,1,0,4.879,4.879,100,1229.7,1229.7,1 +continuous-pre-stall,catch-rock,blue,40,10,1,1,0,2.128,2.128,40,1127.6,1511.0,0 +continuous-pre-stall,catch-ground,blue,40,10,1,1,0,2.735,2.735,40,877.4,1175.8,0 +continuous-pre-stall,travel-500,blue,20,10,8,8,0,11.077,1.385,160,866.7,1456.0,0 +continuous-pre-stall,auto-30,red,130,50,1,1,0,9.407,9.407,130,829.1,829.1,0 +continuous-pre-stall,photo-swim,blue,30,10,7,6,0,14.89,2.127,180,725.3,1054.1,4 +continuous-pre-stall,catch-any,blue,20,10,1,1,0,2.914,2.914,20,411.8,691.8,0 +continuous-pre-stall,auto-10,blue,20,10,9,9,0,48.56,5.396,180,222.4,373.6,0 +continuous-pre-stall,catch-normal,blue,40,10,3,1,0,14.468,4.823,40,165.9,222.3,5 +continuous-pre-stall,sneak-up,blue,20,10,26,4,0,83.596,3.215,80,57.4,96.5,45 diff --git a/analysis/bbq-2026-10-20/quest_velocity.py b/analysis/bbq-2026-10-20/quest_velocity.py new file mode 100644 index 0000000000..55c4c8ae72 --- /dev/null +++ b/analysis/bbq-2026-10-20/quest_velocity.py @@ -0,0 +1,44 @@ +"""Per-requested-quest velocity before the stall, including failed retry batches.""" +import csv +import json +from collections import defaultdict +from pathlib import Path + +root = Path(__file__).resolve().parent +tasks = list(csv.DictReader((root/'tasks.csv').open())) +events = list(csv.DictReader((root/'events.csv').open())) +catalog = json.loads((root/'quest-rewards.json').read_text())['quests'] +cutoff = '2026-10-20 05:05:20' +selected_events = [e for e in events if e['time'] < cutoff and e['kind']=='reward'] +reds = [e for e in selected_events if catalog[e['quest']]['tier']=='red'] +bonus_credit = sum(int(e['bp']) for e in reds)/len(reds)/10 +rows = [] +for scope, lower in [('all-pre-stall','2026-10-19 23:39'), ('continuous-pre-stall','2026-10-20 01:22:16')]: + grouped = defaultdict(list) + for task in tasks: + if lower <= task['start'] < cutoff: + grouped[task['quest']].append(task) + for quest, group in grouped.items(): + completed = [t for t in group if t['outcome']!='censored'] + seconds = sum(float(t['seconds']) for t in completed) + success = sum(t['outcome']=='success' for t in completed) + reward = catalog[quest]['reward_bp'] + direct = sum(int(e['bp']) for t in completed for e in selected_events + if e['run']==t['run'] and t['start']<=e['time']<=t['end'] and e['quest']==quest) + assert direct == reward*success, (scope,quest,direct,reward,success) + adjusted = direct + (bonus_credit*success if catalog[quest]['tier']=='blue' else 0) + rows.append(dict(scope=scope,quest=quest,tier=catalog[quest]['tier'],reward_bp=reward, + reroll_bp=catalog[quest]['reroll_bp'],batches=len(completed),successes=success, + censored_batches=len(group)-len(completed),total_minutes=round(seconds/60,3), + mean_batch_minutes=round(seconds/60/len(completed),3) if completed else '', + direct_reward_bp=direct,direct_bp_per_task_hour=round(direct*3600/seconds,1) if seconds else '', + illustrative_bonus_adjusted_bp_per_task_hour=round(adjusted*3600/seconds,1) if seconds else '', + verification_failures=sum(int(t['verification_failures']) for t in completed))) +rows.sort(key=lambda r:(r['scope'], -(r['direct_bp_per_task_hour'] or 0))) +with (root/'quest-velocity.csv').open('w',newline='') as stream: + writer=csv.DictWriter(stream,fieldnames=list(rows[0]),lineterminator="\n") + writer.writeheader();writer.writerows(rows) +print(f'Illustrative bonus credit: {bonus_credit:.1f} BP per blue completion (not extra ledger earnings).') +for row in rows: + if row['scope']=='all-pre-stall': + print(row['quest'],f"{row['successes']}/{row['batches']}",row['total_minutes'],row['direct_bp_per_task_hour'],row['illustrative_bonus_adjusted_bp_per_task_hour'],f"censored={row['censored_batches']}") diff --git a/analysis/bbq-2026-10-20/render_report.py b/analysis/bbq-2026-10-20/render_report.py new file mode 100644 index 0000000000..759ab0abdd --- /dev/null +++ b/analysis/bbq-2026-10-20/render_report.py @@ -0,0 +1,82 @@ +"""Render distribution figures and machine-readable summary from the ledger.""" +import csv +from collections import Counter +from datetime import datetime +import json +from pathlib import Path + +import matplotlib +matplotlib.use('Agg') +import matplotlib.dates as mdates +import matplotlib.pyplot as plt +import numpy as np + +root = Path(__file__).resolve().parent +windows = list(csv.DictReader((root/'windows.csv').open())) +events = list(csv.DictReader((root/'events.csv').open())) +runs = list(csv.DictReader((root/'runs.csv').open())) +rewards = json.loads((root/'quest-rewards.json').read_text())['quests'] +summaries = [] +fig, axes = plt.subplots(1, 3, figsize=(13, 4)) +for minutes, ax in zip([10,30,60], axes): + selected = [r for r in windows if int(r['minutes']) == minutes and float(r['observed_minutes']) >= minutes-.001] + values = np.array([int(r['net_bp']) for r in selected]) + row = dict(minutes=minutes, windows=len(values), mean=float(values.mean()), + median=float(np.median(values)), p10=float(np.quantile(values,.1)), + p90=float(np.quantile(values,.9)), minimum=int(values.min()), + maximum=int(values.max()), zero_windows=int((values==0).sum())) + summaries.append(row) + freq = Counter(values) + ax.bar(list(freq),list(freq.values()),width={10:8,30:15,60:25}[minutes],color='#236b8e') + ax.set(title=f'{minutes}-minute windows (n={len(values)})',xlabel='Net BP per window',ylabel='Window count') + ax.axvline(row['mean'],color='#d05c36',linestyle='--',label=f"Mean {row['mean']:.1f}") + ax.legend() +fig.suptitle('Estimated overnight BBQ returns — full clock-aligned windows, including pauses') +fig.tight_layout() +fig.savefig(root/'return-distributions.png',dpi=170) +fig.savefig(root/'return-distributions.svg') +plt.close(fig) + +fig,(ax,bar)=plt.subplots(2,1,figsize=(13,7),sharex=True,gridspec_kw={'height_ratios':[2,1]}) +total=0 +xs=[datetime.fromisoformat(runs[0]['start'])];ys=[0] +for e in events: + total += int(e['bp'])*(1 if e['kind']=='reward' else -1) + xs.append(datetime.fromisoformat(e['time']));ys.append(total) +xs.append(datetime.fromisoformat(runs[-1]['end']));ys.append(total) +ax.step(xs,ys,where='post',color='#236b8e') +ax.set(ylabel='Cumulative net BP',title='Inferred BBQ rewards minus rerolls, Oct 19–20, 2026 (local log timestamps)') +stall=datetime(2026,10,20,5,5,19) +for a in [ax,bar]: + a.axvspan(stall,xs[-1],color='#d05c36',alpha=.12) +ax.annotate('No further observed completions',xy=(stall,total),xytext=(datetime(2026,10,20,5,25),total*.7),arrowprops={'arrowstyle':'->'}) +ww=[r for r in windows if r['minutes']=='10'] +bar.bar([datetime.fromisoformat(r['start']) for r in ww],[int(r['net_bp']) for r in ww],width=10/(24*60)*.9,align='edge',color='#236b8e') +bar.set(ylabel='Net BP / 10 min',xlabel='Local time') +bar.xaxis.set_major_formatter(mdates.DateFormatter('%H:%M')) +fig.tight_layout() +fig.savefig(root/'overnight-timeline.png',dpi=170) +fig.savefig(root/'overnight-timeline.svg') +plt.close(fig) + +gross=sum(int(e['bp']) for e in events if e['kind']=='reward') +spent=sum(int(e['bp']) for e in events if e['kind']=='reroll') +active=sum((datetime.fromisoformat(r['end'])-datetime.fromisoformat(r['start'])).total_seconds() for r in runs)/3600 +elapsed=(datetime.fromisoformat(runs[-1]['end'])-datetime.fromisoformat(runs[0]['start'])).total_seconds()/3600 +summary=dict(gross_bp=gross,spent_bp=spent,net_bp=gross-spent,active_hours=active,elapsed_hours=elapsed, + net_bp_per_active_hour=(gross-spent)/active,net_bp_per_elapsed_hour=(gross-spent)/elapsed, + distributions=summaries) +(root/'summary.json').write_text(json.dumps(summary,indent=2)+'\n') +with (root/'quest-catalog.csv').open('w',newline='') as stream: + writer=csv.writer(stream,lineterminator="\n") + writer.writerow(['quest_slug','variant','tier','reward_bp','reroll_bp','reroll_note']) + for slug,q in rewards.items(): + options=list(zip([3,4,5],q['reward_bp'])) if isinstance(q['reward_bp'],list) else [('',q['reward_bp'])] + for variant,reward in options: + writer.writerow([slug,variant,q['tier'],reward,q['reroll_bp'] if q['reroll_bp'] is not None else '', + 'gold cannot be individually rerolled (see report sources)' if q['tier']=='gold' else '']) +print(json.dumps(summary,indent=2)) + +# Keep generated SVG text clean in repository diffs. +for svg in root.glob("*.svg"): + svg.write_text("\n".join(line.rstrip() for line in svg.read_text().splitlines()) + "\n") diff --git a/analysis/bbq-2026-10-20/report.md b/analysis/bbq-2026-10-20/report.md new file mode 100644 index 0000000000..749ee45e0b --- /dev/null +++ b/analysis/bbq-2026-10-20/report.md @@ -0,0 +1,211 @@ +# Overnight BBQ BP reconstruction, October 19–20, 2026 + +The inferred ledger contains **2,050 BP earned, 90 BP rerolled, and 1,960 net BP**. +The largest loss was a roughly 3.2-hour stall after 05:05, not excessive reroll spending. + +## Coverage and interpretation + +Inputs are `SerialPrograms-20261020-032023983416.log` and `SerialPrograms.log`, in +that order. The October 17 archive has no BBQ runs. This analysis includes only +BBQ sessions from **Oct 19 23:39:08 through Oct 20 08:17:27**, including setup +failures and pauses. It excludes the later Flying Trial runs. Log timestamps +are used as local timestamps without timezone conversion. + +This is a reconstruction of **automated quest earnings**, not an observed bank +balance. Rewards are assigned when a quest disappears between successive board +reads within the same run. Reroll replacements are excluded from rewards. +Incidental completions are included. Each event is dated at its first observed +disappearance; its true completion time is between two reads. There are no +BP balance snapshots to reconcile against, and manual actions between runs +cannot be reconstructed. OCR mistakes, same-type replacements and unobserved +completions can affect the estimate. The 61 inferred completions match the +sum of the recorded run completion counters (10 + 2 + 2 + 47), which is useful +consistency evidence, not independent proof of the game balance. + +## Quest catalog and costs + +[quest-catalog.csv](quest-catalog.csv) enumerates 85 variants, expanding all 18 +types and the 3/4/5-block Ditto variants. Its 75 underlying slugs match the +repository's quest map. [quest-rewards.json](quest-rewards.json) is the join table. + +| Family | Reward BP | Reroll BP | +| --- | ---: | ---: | +| Sneak-up, auto-10, travel, pickup-10, TM, catch-any | 20 | 10 | +| Flight/swimming/biome photos, Tera-self defeat | 30 | 10 | +| Catch a specified type | 40 | 10 | +| Wash, battle a wild Tera Pokémon | 100 | 50 | +| Auto-30, sandwich with three fillings | 130 | 50 | +| Tera Raid, flavored sandwich, specified-type photo | 150 | 50 | +| Hatch | 200 | 50 | +| Group photos | 400 | Not individually rerollable | +| Group four-star sandwich; full-hint catch | 500 | Not individually rerollable | +| Limited-hint catch | 600 | Not individually rerollable | +| Ditto blocks: 3 / 4 / 5 in any listed area | 500 / 550 / 600 | Not individually rerollable | + +Values follow [Bulbapedia's quest table](https://bulbapedia.bulbagarden.net/wiki/Blueberry_Quest). +The 20-BP TM value is also supported by [Pro Game Guides](https://progameguides.com/pokemon-scarlet-and-violet/all-blueberry-quests-and-their-rewards-in-the-indigo-disk-pokemon-scarlet-violet/), +and the 100-BP wild-Tera/washing values by [Gamepur](https://www.gamepur.com/guides/how-to-get-blueberry-quests-in-pokemon-scarlet-violet-bbq-points-special-quests-explained). +The gold reroll limitation is described in [this GameFAQs Q&A](https://gamefaqs.gamespot.com/switch/359435-pokemon-scarlet/answers/637027-is-it-possible-to-turn-away-bb-point-tasks). +Gold quests do not occur in this solo run. + +[Serebii](https://www.serebii.net/scarletviolet/blueberryquests.shtml) disagrees +on TM, wild-Tera, washing and biome group-photo values. Only TM (seven observed) +and wild-Tera (one observed) affect this ledger: using Serebii's alternatives +adds **190 BP**, giving **2,150 net BP**. This is a source-value sensitivity +calculation, not a statistical confidence interval. + +## By run + +| Start → stop | Inferred completions | Earned | Rerolled | Net BP | +| --- | ---: | ---: | ---: | ---: | +| 23:39:08 → 23:39:08, setup failure | 0 | 0 | 0 | 0 | +| 23:40:00 → 23:59:25 | 10 | 260 | 0 | 260 | +| 00:06:05 → 00:06:16, setup failure | 0 | 0 | 0 | 0 | +| 00:06:33 → 00:07:26, interrupted | 0 | 0 | 0 | 0 | +| 00:08:25 → 00:47:47 | 2 | 180 | 0 | 180 | +| 00:50:18 → 01:08:58 | 2 | 40 | 10 | 30 | +| 01:20:16 → 01:22:16, interrupted | 0 | 0 | 0 | 0 | +| 01:22:16 → 08:17:27 | 47 | 1,570 | 80 | 1,490 | +| Total | 61 | 2,050 | 90 | 1,960 | + +All nine logged rerolls cost 10 BP and have a subsequent board change in the +target quest slug. Targets: Tera-self defeat five times; catch-poison, catch-bug, +catch-dark and catch-fairy once each. No 50-BP rerolls were observed. + +## Return distributions + +Returns below are **net BP per nonoverlapping clock-aligned interval**, including +program pauses. Only complete observed windows enter this table. Partial windows +are retained in [windows.csv](windows.csv), with observed and active minutes. +For 10 minutes, full windows cover 23:40–08:10; for 30/60 minutes, 00:00–08:00. +Thus sample means at different granularities cover slightly different periods. +P10/P90 use linear interpolation between ordered observations. These are empirical +distributions from one nonstationary night, not forecasts or confidence bounds. + +| Window | N | Mean BP | Median BP | P10 | P90 | Min–max | Zero-return windows | +| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 10 min | 51 | 38.43 | 10 | 0 | 120 | 0–210 | 25 (49.0%) | +| 30 min | 16 | 106.25 | 65 | 0 | 255 | 0–410 | 5 (31.3%) | +| 60 min | 8 | 212.50 | 175 | 0 | 431 | 0–690 | 2 (25.0%) | + +![Return distributions](return-distributions.png) + +![Overnight timeline](overnight-timeline.png) + +## What caused the low overnight return? + +The longest run earned 1,490 net BP in 6.92 hours, about **215 BP/hour**. +Before the stall it earned those points in 3.72 hours, about **401 BP/hour**. +The whole overnight observation, including pauses, averaged about **227 BP/hour**. +The first 19-minute productive run was about **803 BP/hour**, a short sample that +should not be treated as sustainable throughput. + +After the catch-any completion around **05:05:19**, the board remains +`photo-savanna`, `pickup-10`, `sneak-up`, fourth slot unreadable/absent. It is +unchanged over **203 board reads** through the last read at 08:16:39, before +stopping at 08:17:27. There are no further inferred rewards or rerolls. +During this period there are 29 photo batches and 29 Sneak-up batches (the final +Sneak-up batch is interrupted). Completed photo batches consume about **85.8 +minutes**, and completed Sneak-up batches about **95.0 minutes**; none succeed. +The shared photo route logs `Photo: Normal/Fire` even though the requested board +quest is photo-savanna, so task-log route labels must not be mistaken for quest +identities. After the cutoff there are 59 `Taking photo.` messages and 59 +`Photo not taken.` messages, plus 52 failed-battle-entry messages. The photo +routine uses absence of its expected photo prompt to emit `Photo not taken.`; +this does not by itself identify whether the target, camera state, or detector +was wrong. + +The slot transitions explain the precise onset: + +| Completion time | Quest removed | Board afterward | +| --- | --- | --- | +| 04:56:31 | catch-ground | photo-swim / pickup-10 / make-tm | +| 04:59:56 | make-tm | photo-swim / pickup-10 / catch-any | +| 05:02:21 | photo-swim | photo-savanna / pickup-10 / catch-any | +| 05:05:18 | catch-any | photo-savanna / pickup-10 / sneak-up | + +Thus the last productive slot disappears at 05:05. This was not a simultaneous +failure of all quest types: travel, crafting, other photos and auto-battle had +continued producing new quests before the board became stuck. + +Source inspection reveals a shared dependency: photo-savanna, catch-any and +sneak-up all use the timed **Savanna Plaza → Pride Rock** route. A common spawn +or positioning issue is a stronger lead than treating the two failing quests +as unrelated. Catch-any just succeeded there before the plateau; capturing a +shared target is a candidate explanation. However, both catching and Sneak-up +attempt a date skip to respawn fixed encounters. Depletion, a failed respawn, +loading delay and inaccurate positioning remain hypotheses requiring gameplay +screenshots. Photo-savanna also succeeded once earlier, at 23:51, and Sneak-up +last completed at 04:51. + +Within the final continuous run, attempted-task mix changes as follows. Outcomes +are outer retry batches, not single button throws, and shared route labels are +kept grouped. Incidental completions may occur during other tasks. + +| Task/route | 01:22–05:05 batches / successes | Minutes | 05:05–08:17 batches / successes | Minutes | +| --- | ---: | ---: | ---: | ---: | +| Sneak-up | 26 / 4 | 83.6 | 29 / 0 | 95.0 | +| Photo, Swimming/Water/Polar route | 8 / 7 | 16.1 | 0 | 0 | +| Auto-battle 10/30 | 10 / 10 | 58.0 | 0 | 0 | +| Travel | 8 / 8 | 11.1 | 0 | 0 | +| TM | 6 / 6 | 4.9 | 0 | 0 | +| In-flight/Psychic photo route | 4 / 4 | 4.6 | 0 | 0 | +| Any/Normal/Fire catch route | 4 / 2 | 17.4 | 0 | 0 | +| Other routes | 6 / 6 | 15.4 | 0 | 0 | +| Savanna/Normal/Fire photo route | 0 | 0 | 29 / 0 | 85.8 | + +The final Sneak-up batch is censored; its partial time is not included in the +95.0 minutes. Even before the complete stall, Sneak-up consumes 83.6 minutes +while only four of its 26 batches succeed. Failure recovery therefore has +potential value beyond avoiding the final plateau. + +Rerolling only pickup opens one slot but still leaves the same two failing +tasks consuming about six minutes per round. Rerolling only failed routes opens +two slots but leaves pickup unavailable. Doing both restores all three blue +slots for **30 BP at this particular board**, provided replacement quests are +productive; it does not require implementing pickup or free navigation. + +At the pre-stall 401 BP/hour rate, three 10-BP rerolls cost only about **4.5 +minutes** of productive opportunity, versus a 192-minute stall. Recovery that +restored that rate could recover around **1,250 net BP** after 30 BP of rerolls, +before menu time and replacement difficulty. This is a conditional estimate; +reroll chains and another bad route can reduce the gain. + +For #263, prioritize persistent per-quest failure limits plus a board-level +no-progress policy. Fixing battle entry alone leaves the photo failure and +unsupported pickup slot. Keep the no-progress policy bounded: known bad quests +should be rerolled according to user policy, OCR should be retried, and uncertain +slots should not silently incur repeated charges. Then investigate landing, +spawn waits and target search using screenshots and timestamped attempt IDs. + +## Reproduce + +Run from the repository root (the raw logs remain local, outside Git): + +```sh +python3 skills/serialprograms-logs/scripts/bbq_ledger.py \ + '/Users/difan/Library/Application Support/SerialPrograms/SerialPrograms-20261020-032023983416.log' \ + '/Users/difan/Library/Application Support/SerialPrograms/SerialPrograms.log' \ + --rewards analysis/bbq-2026-10-20/quest-rewards.json \ + --output analysis/bbq-2026-10-20 +env MPLCONFIGDIR=/private/tmp/bbq-matplotlib \ + .cache/build-tools/bin/python analysis/bbq-2026-10-20/render_report.py +``` + +[events.csv](events.csv) contains 70 ledger entries with original filename/line +references; [boards.csv](boards.csv) contains 486 board reads; +[tasks.csv](tasks.csv) records task durations and censored tasks; +[runs.csv](runs.csv) preserves session boundaries. These derived files contain +timestamps and game quest identifiers, not private settings or raw logs. + +For the requested quest-type velocity comparison, run +`python3 analysis/bbq-2026-10-20/quest_velocity.py` after rebuilding the ledger. +[quest-velocity.csv](quest-velocity.csv) separates the continuous pre-stall run +from all earlier sessions, including failed and censored batches. Requested +quest identity is reconstructed from the processing queue, rather than inferred +from shared route labels. Direct reward totals are checked against successful +batch counts. The optional bonus-progress credit column is a decision-model +illustration and is not part of earned BP. + +The staged implementation proposal is in +[BBQImprovementPlan.md](../../CodingAgentContext/BBQImprovementPlan.md). diff --git a/analysis/bbq-2026-10-20/return-distributions.png b/analysis/bbq-2026-10-20/return-distributions.png new file mode 100644 index 0000000000..9980088086 Binary files /dev/null and b/analysis/bbq-2026-10-20/return-distributions.png differ diff --git a/analysis/bbq-2026-10-20/return-distributions.svg b/analysis/bbq-2026-10-20/return-distributions.svg new file mode 100644 index 0000000000..84bba61a5f --- /dev/null +++ b/analysis/bbq-2026-10-20/return-distributions.svg @@ -0,0 +1,2249 @@ + + + + + + + + 2026-10-20T11:03:17.709749 + image/svg+xml + + + Matplotlib v3.11.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/analysis/bbq-2026-10-20/runs.csv b/analysis/bbq-2026-10-20/runs.csv new file mode 100644 index 0000000000..46c0520eda --- /dev/null +++ b/analysis/bbq-2026-10-20/runs.csv @@ -0,0 +1,9 @@ +start,end,stop +2026-10-19 23:39:08.322594,2026-10-19 23:39:08.329817,Program State: STOPPED +2026-10-19 23:40:00.373268,2026-10-19 23:59:25.112130,Program State: STOPPED +2026-10-20 00:06:05.891091,2026-10-20 00:06:16.049698,Program State: STOPPED +2026-10-20 00:06:33.895432,2026-10-20 00:07:26.797681,Program State: STOPPED +2026-10-20 00:08:25.146857,2026-10-20 00:47:47.616161,Program State: STOPPED +2026-10-20 00:50:18.125845,2026-10-20 01:08:58.914499,Program State: STOPPED +2026-10-20 01:20:16.497279,2026-10-20 01:22:16.053638,Program State: STOPPED +2026-10-20 01:22:16.704386,2026-10-20 08:17:27.193874,Program State: STOPPED diff --git a/analysis/bbq-2026-10-20/summary.json b/analysis/bbq-2026-10-20/summary.json new file mode 100644 index 0000000000..539b4a2159 --- /dev/null +++ b/analysis/bbq-2026-10-20/summary.json @@ -0,0 +1,44 @@ +{ + "gross_bp": 2050, + "spent_bp": 90, + "net_bp": 1960, + "active_hours": 8.261419651666666, + "elapsed_hours": 8.638575355555556, + "net_bp_per_active_hour": 237.24735973248713, + "net_bp_per_elapsed_hour": 226.88926348712164, + "distributions": [ + { + "minutes": 10, + "windows": 51, + "mean": 38.431372549019606, + "median": 10.0, + "p10": 0.0, + "p90": 120.0, + "minimum": 0, + "maximum": 210, + "zero_windows": 25 + }, + { + "minutes": 30, + "windows": 16, + "mean": 106.25, + "median": 65.0, + "p10": 0.0, + "p90": 255.0, + "minimum": 0, + "maximum": 410, + "zero_windows": 5 + }, + { + "minutes": 60, + "windows": 8, + "mean": 212.5, + "median": 175.0, + "p10": 0.0, + "p90": 430.99999999999994, + "minimum": 0, + "maximum": 690, + "zero_windows": 2 + } + ] +} diff --git a/analysis/bbq-2026-10-20/tasks.csv b/analysis/bbq-2026-10-20/tasks.csv new file mode 100644 index 0000000000..5da13e198e --- /dev/null +++ b/analysis/bbq-2026-10-20/tasks.csv @@ -0,0 +1,158 @@ +start,end,run,quest,label,outcome,seconds,source,verification_failures,entry_failures,photo_prompt_failures +2026-10-19 23:40:27.123270,2026-10-19 23:42:08.762174,2026-10-19 23:40:00.373268,sneak-up,Quest: Sneak up.,success,101.638904,SerialPrograms-20261020-032023983416.log:564848,0,0,0 +2026-10-19 23:42:11.059342,2026-10-19 23:43:16.575267,2026-10-19 23:40:00.373268,photo-polar,Photo: Swimming/Water/Polar,success,65.515925,SerialPrograms-20261020-032023983416.log:565099,0,0,1 +2026-10-19 23:43:32.348832,2026-10-19 23:45:52.019202,2026-10-19 23:40:00.373268,catch-steel,Catch: Steel,success,139.67037,SerialPrograms-20261020-032023983416.log:565339,0,0,0 +2026-10-19 23:45:54.261187,2026-10-19 23:48:03.606208,2026-10-19 23:40:00.373268,photo-swim,Photo: Swimming/Water/Polar,success,129.345021,SerialPrograms-20261020-032023983416.log:565662,1,0,2 +2026-10-19 23:48:18.980305,2026-10-19 23:50:03.769432,2026-10-19 23:40:00.373268,sneak-up,Quest: Sneak up.,success,104.789127,SerialPrograms-20261020-032023983416.log:566059,0,0,0 +2026-10-19 23:50:05.895054,2026-10-19 23:51:34.555685,2026-10-19 23:40:00.373268,photo-savanna,Photo: Normal/Fire,success,88.660631,SerialPrograms-20261020-032023983416.log:566304,0,0,1 +2026-10-19 23:51:50.321454,2026-10-19 23:53:13.309078,2026-10-19 23:40:00.373268,travel-500,Quest: Travel 500 meters.,success,82.987624,SerialPrograms-20261020-032023983416.log:566563,0,0,0 +2026-10-19 23:53:16.187939,2026-10-19 23:53:56.502173,2026-10-19 23:40:00.373268,make-tm,Quest: Make TM,success,40.314234,SerialPrograms-20261020-032023983416.log:566714,0,0,0 +2026-10-19 23:54:12.593977,2026-10-19 23:56:50.182341,2026-10-19 23:40:00.373268,tera-self-defeat,Quest: Tera-self and defeat any wild.,success,157.588364,SerialPrograms-20261020-032023983416.log:566899,0,0,0 +2026-10-19 23:56:52.436600,2026-10-19 23:58:36.786738,2026-10-19 23:40:00.373268,sneak-up,Quest: Sneak up.,success,104.350138,SerialPrograms-20261020-032023983416.log:567196,0,0,0 +2026-10-19 23:58:52.083593,,2026-10-19 23:40:00.373268,bitter-sandwich,Quest: Make a singleplayer sandwich,censored,,SerialPrograms-20261020-032023983416.log:567503,0,0,0 +2026-10-20 00:06:50.760274,,2026-10-20 00:06:33.895432,bitter-sandwich,Quest: Make a singleplayer sandwich,censored,,SerialPrograms-20261020-032023983416.log:567810,0,0,0 +2026-10-20 00:08:41.895429,2026-10-20 00:11:26.590264,2026-10-20 00:08:25.146857,bitter-sandwich,Quest: Make a singleplayer sandwich,success,164.694835,SerialPrograms-20261020-032023983416.log:568126,0,0,0 +2026-10-20 00:11:28.784036,2026-10-20 00:12:43.980602,2026-10-20 00:08:25.146857,photo-coastal,Photo: Coastal/Grass/Dragon,success,75.196566,SerialPrograms-20261020-032023983416.log:568960,0,0,1 +2026-10-20 00:12:46.186197,2026-10-20 00:17:18.417761,2026-10-20 00:08:25.146857,tera-self-defeat,Quest: Tera-self and defeat any wild.,failure,272.231564,SerialPrograms-20261020-032023983416.log:569147,2,2,0 +2026-10-20 00:17:33.622614,2026-10-20 00:22:49.920559,2026-10-20 00:08:25.146857,catch-poison,Catch: Poison/Dark,failure,316.297945,SerialPrograms-20261020-032023983416.log:569774,2,2,0 +2026-10-20 00:22:54.277342,2026-10-20 00:27:28.658492,2026-10-20 00:08:25.146857,tera-self-defeat,Quest: Tera-self and defeat any wild.,failure,274.38115,SerialPrograms-20261020-032023983416.log:570371,2,2,0 +2026-10-20 00:27:43.944623,2026-10-20 00:33:03.665051,2026-10-20 00:08:25.146857,catch-poison,Catch: Poison/Dark,failure,319.720428,SerialPrograms-20261020-032023983416.log:570991,2,2,0 +2026-10-20 00:33:06.424842,2026-10-20 00:37:43.305266,2026-10-20 00:08:25.146857,tera-self-defeat,Quest: Tera-self and defeat any wild.,failure,276.880424,SerialPrograms-20261020-032023983416.log:571592,2,2,0 +2026-10-20 00:38:00.244465,2026-10-20 00:43:46.981427,2026-10-20 00:08:25.146857,catch-poison,Catch: Poison/Dark,failure,346.736962,SerialPrograms-20261020-032023983416.log:572219,2,1,0 +2026-10-20 00:43:49.221550,,2026-10-20 00:08:25.146857,tera-self-defeat,Quest: Tera-self and defeat any wild.,censored,,SerialPrograms-20261020-032023983416.log:572871,1,2,0 +2026-10-20 00:50:43.494468,2026-10-20 00:55:18.037449,2026-10-20 00:50:18.125845,tera-self-defeat,Quest: Tera-self and defeat any wild.,failure,274.542981,SerialPrograms-20261020-032023983416.log:573451,2,2,0 +2026-10-20 00:56:40.504652,2026-10-20 00:58:21.965921,2026-10-20 00:50:18.125845,sneak-up,Quest: Sneak up.,success,101.461269,SerialPrograms-20261020-032023983416.log:574223,0,0,0 +2026-10-20 00:58:24.288096,2026-10-20 01:02:56.771036,2026-10-20 00:50:18.125845,tera-self-defeat,Quest: Tera-self and defeat any wild.,failure,272.48294,SerialPrograms-20261020-032023983416.log:574473,2,2,0 +2026-10-20 01:03:12.333589,2026-10-20 01:05:45.511287,2026-10-20 00:50:18.125845,catch-any,Catch: Any/Normal/Fire,success,153.177698,SerialPrograms-20261020-032023983416.log:575098,0,0,0 +2026-10-20 01:05:49.116436,,2026-10-20 00:50:18.125845,tera-self-defeat,Quest: Tera-self and defeat any wild.,censored,,SerialPrograms-20261020-032023983416.log:575428,1,1,0 +2026-10-20 01:20:34.750061,,2026-10-20 01:20:16.497279,sneak-up,Quest: Sneak up.,censored,,SerialPrograms-20261020-032023983416.log:576060,0,1,0 +2026-10-20 01:22:34.586354,2026-10-20 01:26:01.250975,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,206.664621,SerialPrograms-20261020-032023983416.log:576325,2,2,0 +2026-10-20 01:26:04.057905,2026-10-20 01:27:27.147013,2026-10-20 01:22:16.704386,travel-500,Quest: Travel 500 meters.,success,83.089108,SerialPrograms-20261020-032023983416.log:576783,0,0,0 +2026-10-20 01:27:29.710853,2026-10-20 01:28:42.812461,2026-10-20 01:22:16.704386,photo-polar,Photo: Swimming/Water/Polar,success,73.101608,SerialPrograms-20261020-032023983416.log:576934,0,0,1 +2026-10-20 01:29:07.480730,2026-10-20 01:32:34.073179,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,206.592449,SerialPrograms-20261020-032023983416.log:577226,2,2,0 +2026-10-20 01:32:36.459011,2026-10-20 01:37:56.281475,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,319.822464,SerialPrograms-20261020-032023983416.log:577684,0,0,0 +2026-10-20 01:38:20.991373,2026-10-20 01:41:44.685496,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,203.694123,SerialPrograms-20261020-032023983416.log:578522,2,2,0 +2026-10-20 01:41:47.197960,2026-10-20 01:42:52.719158,2026-10-20 01:22:16.704386,photo-swim,Photo: Swimming/Water/Polar,success,65.521198,SerialPrograms-20261020-032023983416.log:578981,0,0,1 +2026-10-20 01:43:08.426471,2026-10-20 01:46:34.209308,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.782837,SerialPrograms-20261020-032023983416.log:579221,2,2,0 +2026-10-20 01:46:36.501926,2026-10-20 01:53:36.806441,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,420.304515,SerialPrograms-20261020-032023983416.log:579680,0,0,0 +2026-10-20 01:53:39.401435,2026-10-20 01:55:02.972367,2026-10-20 01:22:16.704386,travel-500,Quest: Travel 500 meters.,success,83.570932,SerialPrograms-20261020-032023983416.log:580620,0,0,0 +2026-10-20 01:55:19.396109,2026-10-20 01:58:20.914671,2026-10-20 01:22:16.704386,sour-sandwich,Quest: Make a singleplayer sandwich,success,181.518562,SerialPrograms-20261020-032023983416.log:580835,0,0,0 +2026-10-20 01:58:23.407839,2026-10-20 02:01:49.611544,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,206.203705,SerialPrograms-20261020-032023983416.log:581656,2,2,0 +2026-10-20 02:01:51.923780,2026-10-20 02:03:05.321120,2026-10-20 01:22:16.704386,photo-coastal,Photo: Coastal/Grass/Dragon,success,73.39734,SerialPrograms-20261020-032023983416.log:582115,0,0,1 +2026-10-20 02:03:07.633474,2026-10-20 02:04:16.566688,2026-10-20 01:22:16.704386,photo-fly,Photo: In-flight/Psychic,success,68.933214,SerialPrograms-20261020-032023983416.log:582297,0,0,1 +2026-10-20 02:04:32.445093,2026-10-20 02:07:55.913501,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,203.468408,SerialPrograms-20261020-032023983416.log:582526,2,2,0 +2026-10-20 02:07:58.213577,2026-10-20 02:08:38.043331,2026-10-20 01:22:16.704386,make-tm,Quest: Make TM,success,39.829754,SerialPrograms-20261020-032023983416.log:582975,0,0,0 +2026-10-20 02:08:40.320509,2026-10-20 02:10:03.248032,2026-10-20 01:22:16.704386,travel-500,Quest: Travel 500 meters.,success,82.927523,SerialPrograms-20261020-032023983416.log:583094,0,0,0 +2026-10-20 02:10:29.398579,2026-10-20 02:13:55.674569,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,206.27599,SerialPrograms-20261020-032023983416.log:583336,2,2,0 +2026-10-20 02:14:11.397585,2026-10-20 02:17:37.262274,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.864689,SerialPrograms-20261020-032023983416.log:583839,2,2,0 +2026-10-20 02:17:39.634041,2026-10-20 02:21:32.453531,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,232.81949,SerialPrograms-20261020-032023983416.log:584286,0,0,0 +2026-10-20 02:21:48.945208,2026-10-20 02:25:14.358446,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.413238,SerialPrograms-20261020-032023983416.log:584896,2,2,0 +2026-10-20 02:25:17.623259,2026-10-20 02:31:33.444271,2026-10-20 01:22:16.704386,photo-swim,Photo: Swimming/Water/Polar,success,375.821012,SerialPrograms-20261020-032023983416.log:585342,1,0,2 +2026-10-20 02:31:49.396367,2026-10-20 02:35:13.970650,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.574283,SerialPrograms-20261020-032023983416.log:586409,2,2,0 +2026-10-20 02:35:16.449718,2026-10-20 02:36:02.900043,2026-10-20 01:22:16.704386,make-tm,Quest: Make TM,success,46.450325,SerialPrograms-20261020-032023983416.log:586862,0,0,0 +2026-10-20 02:36:20.273374,2026-10-20 02:39:45.058386,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.785012,SerialPrograms-20261020-032023983416.log:587061,2,2,0 +2026-10-20 02:39:47.234017,2026-10-20 02:41:09.972237,2026-10-20 01:22:16.704386,travel-500,Quest: Travel 500 meters.,success,82.73822,SerialPrograms-20261020-032023983416.log:587505,0,0,0 +2026-10-20 02:41:25.167146,2026-10-20 02:44:50.608609,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.441463,SerialPrograms-20261020-032023983416.log:587711,2,2,0 +2026-10-20 02:44:52.764054,2026-10-20 02:45:56.565640,2026-10-20 01:22:16.704386,photo-swim,Photo: Swimming/Water/Polar,success,63.801586,SerialPrograms-20261020-032023983416.log:588157,0,0,1 +2026-10-20 02:46:21.998405,2026-10-20 02:49:46.092640,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.094235,SerialPrograms-20261020-032023983416.log:588424,2,2,0 +2026-10-20 02:50:01.316329,2026-10-20 02:53:25.363862,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.047533,SerialPrograms-20261020-032023983416.log:588930,2,2,0 +2026-10-20 02:53:27.495562,2026-10-20 02:54:50.306560,2026-10-20 01:22:16.704386,travel-500,Quest: Travel 500 meters.,success,82.810998,SerialPrograms-20261020-032023983416.log:589373,0,0,0 +2026-10-20 02:55:05.708390,2026-10-20 02:59:58.459975,2026-10-20 01:22:16.704386,wild-tera,Quest: Defeat a wild tera.,success,292.751585,SerialPrograms-20261020-032023983416.log:589578,1,2,0 +2026-10-20 03:00:00.956645,2026-10-20 03:03:25.020091,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.063446,SerialPrograms-20261020-032023983416.log:590140,2,2,0 +2026-10-20 03:03:27.323155,2026-10-20 03:04:31.920803,2026-10-20 01:22:16.704386,photo-swim,Photo: Swimming/Water/Polar,success,64.597648,SerialPrograms-20261020-032023983416.log:590586,0,0,1 +2026-10-20 03:04:47.579090,2026-10-20 03:08:07.235370,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,199.65628,SerialPrograms-20261020-032023983416.log:590824,2,1,0 +2026-10-20 03:08:09.422890,2026-10-20 03:14:03.352531,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,353.929641,SerialPrograms-20261020-032023983416.log:591277,0,0,0 +2026-10-20 03:14:19.035916,2026-10-20 03:17:42.560520,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,203.524604,SerialPrograms-20261020-032023983416.log:592154,2,2,0 +2026-10-20 03:17:45.309377,2026-10-20 03:19:08.221966,2026-10-20 01:22:16.704386,travel-500,Quest: Travel 500 meters.,success,82.912589,SerialPrograms-20261020-032023983416.log:592602,0,0,0 +2026-10-20 03:19:23.832138,2026-10-20 03:22:49.052113,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.219975,SerialPrograms-20261020-032023983416.log:592809,2,2,0 +2026-10-20 03:22:51.434231,2026-10-20 03:27:33.448825,2026-10-20 01:22:16.704386,catch-normal,Catch: Any/Normal/Fire,failure,282.014594,SerialPrograms.log:368,2,2,0 +2026-10-20 03:27:49.001961,2026-10-20 03:31:12.335433,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,203.333472,SerialPrograms.log:984,2,1,0 +2026-10-20 03:31:14.570367,2026-10-20 03:35:55.395489,2026-10-20 01:22:16.704386,catch-normal,Catch: Any/Normal/Fire,failure,280.825122,SerialPrograms.log:1435,2,2,0 +2026-10-20 03:36:11.152686,2026-10-20 03:39:35.633288,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.480602,SerialPrograms.log:2049,2,2,0 +2026-10-20 03:39:38.179442,2026-10-20 03:44:43.448860,2026-10-20 01:22:16.704386,catch-normal,Catch: Any/Normal/Fire,success,305.269418,SerialPrograms.log:2494,1,1,0 +2026-10-20 03:44:59.394396,2026-10-20 03:48:21.093238,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,201.698842,SerialPrograms.log:3161,2,1,0 +2026-10-20 03:48:23.391569,2026-10-20 03:53:44.460673,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,321.069104,SerialPrograms.log:3619,0,0,0 +2026-10-20 03:54:00.248719,2026-10-20 03:57:25.684210,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.435491,SerialPrograms.log:4394,2,2,0 +2026-10-20 03:57:27.938771,2026-10-20 03:58:35.397048,2026-10-20 01:22:16.704386,photo-fly,Photo: In-flight/Psychic,success,67.458277,SerialPrograms.log:4843,0,0,1 +2026-10-20 03:58:51.155461,2026-10-20 04:02:15.890850,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,success,204.735389,SerialPrograms.log:5075,1,1,0 +2026-10-20 04:02:18.064806,2026-10-20 04:03:07.024076,2026-10-20 01:22:16.704386,make-tm,Quest: Make TM,success,48.95927,SerialPrograms.log:5529,0,0,0 +2026-10-20 04:03:22.550260,2026-10-20 04:10:16.007535,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,413.457275,SerialPrograms.log:5736,0,0,0 +2026-10-20 04:10:18.406591,2026-10-20 04:11:27.728629,2026-10-20 01:22:16.704386,photo-fly,Photo: In-flight/Psychic,success,69.322038,SerialPrograms.log:6660,0,0,1 +2026-10-20 04:11:43.339974,2026-10-20 04:21:07.781967,2026-10-20 01:22:16.704386,auto-30,Quest: Auto Battle 10/30,success,564.441993,SerialPrograms.log:6891,0,0,0 +2026-10-20 04:21:10.124914,2026-10-20 04:21:58.563578,2026-10-20 01:22:16.704386,make-tm,Quest: Make TM,success,48.438664,SerialPrograms.log:8145,0,0,0 +2026-10-20 04:22:00.817681,2026-10-20 04:23:44.119794,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,success,103.302113,SerialPrograms.log:8289,0,0,0 +2026-10-20 04:23:59.510798,2026-10-20 04:29:10.087611,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,310.576813,SerialPrograms.log:8591,0,0,0 +2026-10-20 04:29:12.452630,2026-10-20 04:30:35.676036,2026-10-20 01:22:16.704386,travel-500,Quest: Travel 500 meters.,success,83.223406,SerialPrograms.log:9293,0,0,0 +2026-10-20 04:30:59.402899,2026-10-20 04:31:52.148570,2026-10-20 01:22:16.704386,make-tm,Quest: Make TM,success,52.745671,SerialPrograms.log:9526,0,0,0 +2026-10-20 04:32:07.579194,2026-10-20 04:35:47.199038,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,219.619844,SerialPrograms.log:9740,0,0,0 +2026-10-20 04:35:49.422569,2026-10-20 04:36:57.403480,2026-10-20 01:22:16.704386,photo-fly,Photo: In-flight/Psychic,success,67.980911,SerialPrograms.log:10254,0,0,1 +2026-10-20 04:37:15.110955,2026-10-20 04:39:22.812327,2026-10-20 01:22:16.704386,catch-rock,Catch: Rock/Electric,success,127.701372,SerialPrograms.log:10491,0,0,0 +2026-10-20 04:39:25.246692,2026-10-20 04:41:09.001594,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,success,103.754902,SerialPrograms.log:10794,0,0,0 +2026-10-20 04:41:24.947066,2026-10-20 04:46:46.939731,2026-10-20 01:22:16.704386,auto-10,Quest: Auto Battle 10/30,success,321.992665,SerialPrograms.log:11095,0,0,0 +2026-10-20 04:46:49.295322,2026-10-20 04:47:54.093484,2026-10-20 01:22:16.704386,photo-swim,Photo: Swimming/Water/Polar,success,64.798162,SerialPrograms.log:11830,0,0,1 +2026-10-20 04:48:19.040923,2026-10-20 04:49:51.603674,2026-10-20 01:22:16.704386,photo-rock,Photo: Bug/Rock,success,92.562751,SerialPrograms.log:12100,0,0,1 +2026-10-20 04:49:54.058923,2026-10-20 04:51:37.727244,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,success,103.668321,SerialPrograms.log:12287,0,0,0 +2026-10-20 04:52:01.461299,2026-10-20 04:53:24.791968,2026-10-20 01:22:16.704386,travel-500,Quest: Travel 500 meters.,success,83.330669,SerialPrograms.log:12618,0,0,0 +2026-10-20 04:53:48.385717,2026-10-20 04:56:32.500893,2026-10-20 01:22:16.704386,catch-ground,Catch: Ghost/Ground,success,164.115176,SerialPrograms.log:12851,0,0,0 +2026-10-20 04:56:48.187195,2026-10-20 04:58:57.410496,2026-10-20 01:22:16.704386,photo-swim,Photo: Swimming/Water/Polar,failure,129.223301,SerialPrograms.log:13250,2,0,2 +2026-10-20 04:58:59.580559,2026-10-20 04:59:57.317914,2026-10-20 01:22:16.704386,make-tm,Quest: Make TM,success,57.737355,SerialPrograms.log:13581,0,0,0 +2026-10-20 05:00:12.815482,2026-10-20 05:02:22.455549,2026-10-20 01:22:16.704386,photo-swim,Photo: Swimming/Water/Polar,success,129.640067,SerialPrograms.log:13806,1,0,2 +2026-10-20 05:02:24.707448,2026-10-20 05:05:19.567787,2026-10-20 01:22:16.704386,catch-any,Catch: Any/Normal/Fire,success,174.860339,SerialPrograms.log:14138,0,0,0 +2026-10-20 05:05:35.127348,2026-10-20 05:08:30.361893,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,175.234545,SerialPrograms.log:14544,2,0,2 +2026-10-20 05:08:34.699946,2026-10-20 05:11:59.488908,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.788962,SerialPrograms.log:14918,2,2,0 +2026-10-20 05:12:14.910874,2026-10-20 05:15:08.012485,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,173.101611,SerialPrograms.log:15423,2,0,2 +2026-10-20 05:15:10.474236,2026-10-20 05:18:34.485426,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.01119,SerialPrograms.log:15786,2,2,0 +2026-10-20 05:18:52.634306,2026-10-20 05:21:46.113563,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,173.479257,SerialPrograms.log:16298,2,0,2 +2026-10-20 05:21:48.576838,2026-10-20 05:25:13.933353,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.356515,SerialPrograms.log:16668,2,2,0 +2026-10-20 05:25:29.537191,2026-10-20 05:28:25.598151,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,176.06096,SerialPrograms.log:17173,2,0,2 +2026-10-20 05:28:27.959033,2026-10-20 05:31:52.242409,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.283376,SerialPrograms.log:17537,2,2,0 +2026-10-20 05:32:12.059911,2026-10-20 05:35:05.654673,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,173.594762,SerialPrograms.log:18045,2,0,2 +2026-10-20 05:35:07.961064,2026-10-20 05:38:31.735401,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,203.774337,SerialPrograms.log:18419,2,2,0 +2026-10-20 05:38:47.510130,2026-10-20 05:41:40.491323,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,172.981193,SerialPrograms.log:18938,2,0,2 +2026-10-20 05:41:42.832422,2026-10-20 05:45:08.212606,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.380184,SerialPrograms.log:19313,2,2,0 +2026-10-20 05:45:23.550235,2026-10-20 05:48:16.235444,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,172.685209,SerialPrograms.log:19833,2,0,2 +2026-10-20 05:48:18.405677,2026-10-20 05:51:40.966241,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,202.560564,SerialPrograms.log:20208,2,2,0 +2026-10-20 05:51:56.213925,2026-10-20 05:54:48.331884,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,172.117959,SerialPrograms.log:20728,2,0,2 +2026-10-20 05:54:50.545628,2026-10-20 05:58:15.963734,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.418106,SerialPrograms.log:21103,2,2,0 +2026-10-20 05:58:31.336670,2026-10-20 06:01:23.742204,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,172.405534,SerialPrograms.log:21622,2,0,2 +2026-10-20 06:01:25.975285,2026-10-20 06:04:50.425229,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.449944,SerialPrograms.log:21997,2,2,0 +2026-10-20 06:05:05.695661,2026-10-20 06:08:01.953890,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,176.258229,SerialPrograms.log:22515,2,0,2 +2026-10-20 06:08:04.204888,2026-10-20 06:11:28.233421,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.028533,SerialPrograms.log:22890,2,2,0 +2026-10-20 06:11:43.646122,2026-10-20 06:14:38.090706,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.444584,SerialPrograms.log:23409,2,0,2 +2026-10-20 06:14:40.260878,2026-10-20 06:18:05.422863,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.161985,SerialPrograms.log:23784,2,2,0 +2026-10-20 06:18:20.904225,2026-10-20 06:21:15.238446,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.334221,SerialPrograms.log:24303,2,0,2 +2026-10-20 06:21:17.528628,2026-10-20 06:24:30.747949,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,193.219321,SerialPrograms.log:24679,2,1,0 +2026-10-20 06:24:46.184994,2026-10-20 06:27:40.423133,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.238139,SerialPrograms.log:25202,2,0,2 +2026-10-20 06:27:43.005635,2026-10-20 06:31:06.779383,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,203.773748,SerialPrograms.log:25579,2,2,0 +2026-10-20 06:31:22.417680,2026-10-20 06:34:17.031573,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.613893,SerialPrograms.log:26095,2,0,2 +2026-10-20 06:34:19.498542,2026-10-20 06:37:45.442575,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.944033,SerialPrograms.log:26470,2,2,0 +2026-10-20 06:38:01.774155,2026-10-20 06:40:54.750202,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,172.976047,SerialPrograms.log:26989,2,0,2 +2026-10-20 06:40:57.036394,2026-10-20 06:44:20.460080,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,203.423686,SerialPrograms.log:27366,2,2,0 +2026-10-20 06:44:35.999161,2026-10-20 06:47:29.857261,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,173.8581,SerialPrograms.log:27886,2,0,2 +2026-10-20 06:47:32.183943,2026-10-20 06:50:56.582676,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.398733,SerialPrograms.log:28260,2,2,0 +2026-10-20 06:51:12.123402,2026-10-20 06:54:05.737526,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,173.614124,SerialPrograms.log:28780,2,0,2 +2026-10-20 06:54:08.113518,2026-10-20 06:57:32.994491,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.880973,SerialPrograms.log:29157,2,2,0 +2026-10-20 06:57:53.809020,2026-10-20 07:00:48.139107,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.330087,SerialPrograms.log:29679,2,0,2 +2026-10-20 07:00:50.561014,2026-10-20 07:04:15.127438,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.566424,SerialPrograms.log:30056,2,2,0 +2026-10-20 07:04:30.927147,2026-10-20 07:07:26.157730,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,175.230583,SerialPrograms.log:30576,2,0,2 +2026-10-20 07:07:28.404342,2026-10-20 07:10:48.393756,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,199.989414,SerialPrograms.log:30953,2,1,0 +2026-10-20 07:11:04.043423,2026-10-20 07:15:28.908701,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,264.865278,SerialPrograms.log:31479,2,0,3 +2026-10-20 07:15:31.278276,2026-10-20 07:18:50.423626,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,199.14535,SerialPrograms.log:32041,2,1,0 +2026-10-20 07:19:06.043948,2026-10-20 07:21:58.736980,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,172.693032,SerialPrograms.log:32569,2,0,2 +2026-10-20 07:22:01.055952,2026-10-20 07:25:24.323236,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,203.267284,SerialPrograms.log:32947,2,2,0 +2026-10-20 07:25:39.801104,2026-10-20 07:28:33.736653,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,173.935549,SerialPrograms.log:33464,2,0,2 +2026-10-20 07:28:36.044423,2026-10-20 07:31:57.919440,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,201.875017,SerialPrograms.log:33841,2,1,0 +2026-10-20 07:32:13.581822,2026-10-20 07:35:08.272075,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.690253,SerialPrograms.log:34367,2,0,2 +2026-10-20 07:35:10.565951,2026-10-20 07:38:33.318051,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,202.7521,SerialPrograms.log:34742,2,1,0 +2026-10-20 07:38:48.735052,2026-10-20 07:41:41.619195,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,172.884143,SerialPrograms.log:35269,2,0,2 +2026-10-20 07:41:44.249794,2026-10-20 07:45:08.631787,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,204.381993,SerialPrograms.log:35645,2,2,0 +2026-10-20 07:45:24.409819,2026-10-20 07:48:26.099986,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,181.690167,SerialPrograms.log:36165,2,0,2 +2026-10-20 07:48:28.391528,2026-10-20 07:51:53.537406,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.145878,SerialPrograms.log:36543,2,2,0 +2026-10-20 07:52:09.067290,2026-10-20 07:55:04.024459,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.957169,SerialPrograms.log:37061,2,0,2 +2026-10-20 07:55:06.307752,2026-10-20 07:58:28.412925,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,202.105173,SerialPrograms.log:37437,2,2,0 +2026-10-20 07:58:44.033827,2026-10-20 08:01:39.159512,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,175.125685,SerialPrograms.log:37954,2,0,2 +2026-10-20 08:01:41.426101,2026-10-20 08:05:06.592756,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.166655,SerialPrograms.log:38332,2,2,0 +2026-10-20 08:05:22.077616,2026-10-20 08:08:17.062179,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.984563,SerialPrograms.log:38852,2,0,2 +2026-10-20 08:08:19.404235,2026-10-20 08:11:44.560267,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,failure,205.156032,SerialPrograms.log:39227,2,2,0 +2026-10-20 08:12:01.339993,2026-10-20 08:14:56.260365,2026-10-20 01:22:16.704386,photo-savanna,Photo: Normal/Fire,failure,174.920372,SerialPrograms.log:39746,2,0,2 +2026-10-20 08:14:59.081558,,2026-10-20 01:22:16.704386,sneak-up,Quest: Sneak up.,censored,,SerialPrograms.log:40121,1,1,0 diff --git a/analysis/bbq-2026-10-20/windows.csv b/analysis/bbq-2026-10-20/windows.csv new file mode 100644 index 0000000000..9096f3e393 --- /dev/null +++ b/analysis/bbq-2026-10-20/windows.csv @@ -0,0 +1,82 @@ +minutes,start,end,observed_minutes,active_minutes,gross_bp,spent_bp,net_bp,unknown_events +10,2026-10-19 23:30:00,2026-10-19 23:40:00,0.861,0.0,0,0,0,0 +10,2026-10-19 23:40:00,2026-10-19 23:50:00,10.0,9.994,120,0,120,0 +10,2026-10-19 23:50:00,2026-10-20 00:00:00,10.0,9.419,140,0,140,0 +10,2026-10-20 00:00:00,2026-10-20 00:10:00,10.0,2.632,0,0,0,0 +10,2026-10-20 00:10:00,2026-10-20 00:20:00,10.0,10.0,180,0,180,0 +10,2026-10-20 00:20:00,2026-10-20 00:30:00,10.0,10.0,0,0,0,0 +10,2026-10-20 00:30:00,2026-10-20 00:40:00,10.0,10.0,0,0,0,0 +10,2026-10-20 00:40:00,2026-10-20 00:50:00,10.0,7.794,0,0,0,0 +10,2026-10-20 00:50:00,2026-10-20 01:00:00,10.0,9.698,20,10,10,0 +10,2026-10-20 01:00:00,2026-10-20 01:10:00,10.0,8.982,20,0,20,0 +10,2026-10-20 01:10:00,2026-10-20 01:20:00,10.0,0.0,0,0,0,0 +10,2026-10-20 01:20:00,2026-10-20 01:30:00,10.0,9.714,50,10,40,0 +10,2026-10-20 01:30:00,2026-10-20 01:40:00,10.0,10.0,20,10,10,0 +10,2026-10-20 01:40:00,2026-10-20 01:50:00,10.0,10.0,30,0,30,0 +10,2026-10-20 01:50:00,2026-10-20 02:00:00,10.0,10.0,190,0,190,0 +10,2026-10-20 02:00:00,2026-10-20 02:10:00,10.0,10.0,80,0,80,0 +10,2026-10-20 02:10:00,2026-10-20 02:20:00,10.0,10.0,20,10,10,0 +10,2026-10-20 02:20:00,2026-10-20 02:30:00,10.0,10.0,20,0,20,0 +10,2026-10-20 02:30:00,2026-10-20 02:40:00,10.0,10.0,50,0,50,0 +10,2026-10-20 02:40:00,2026-10-20 02:50:00,10.0,10.0,50,10,40,0 +10,2026-10-20 02:50:00,2026-10-20 03:00:00,10.0,10.0,120,0,120,0 +10,2026-10-20 03:00:00,2026-10-20 03:10:00,10.0,10.0,30,0,30,0 +10,2026-10-20 03:10:00,2026-10-20 03:20:00,10.0,10.0,40,0,40,0 +10,2026-10-20 03:20:00,2026-10-20 03:30:00,10.0,10.0,0,0,0,0 +10,2026-10-20 03:30:00,2026-10-20 03:40:00,10.0,10.0,0,0,0,0 +10,2026-10-20 03:40:00,2026-10-20 03:50:00,10.0,10.0,40,0,40,0 +10,2026-10-20 03:50:00,2026-10-20 04:00:00,10.0,10.0,50,0,50,0 +10,2026-10-20 04:00:00,2026-10-20 04:10:00,10.0,10.0,40,0,40,0 +10,2026-10-20 04:10:00,2026-10-20 04:20:00,10.0,10.0,50,0,50,0 +10,2026-10-20 04:20:00,2026-10-20 04:30:00,10.0,10.0,190,0,190,0 +10,2026-10-20 04:30:00,2026-10-20 04:40:00,10.0,10.0,130,10,120,0 +10,2026-10-20 04:40:00,2026-10-20 04:50:00,10.0,10.0,220,10,210,0 +10,2026-10-20 04:50:00,2026-10-20 05:00:00,10.0,10.0,100,20,80,0 +10,2026-10-20 05:00:00,2026-10-20 05:10:00,10.0,10.0,50,0,50,0 +10,2026-10-20 05:10:00,2026-10-20 05:20:00,10.0,10.0,0,0,0,0 +10,2026-10-20 05:20:00,2026-10-20 05:30:00,10.0,10.0,0,0,0,0 +10,2026-10-20 05:30:00,2026-10-20 05:40:00,10.0,10.0,0,0,0,0 +10,2026-10-20 05:40:00,2026-10-20 05:50:00,10.0,10.0,0,0,0,0 +10,2026-10-20 05:50:00,2026-10-20 06:00:00,10.0,10.0,0,0,0,0 +10,2026-10-20 06:00:00,2026-10-20 06:10:00,10.0,10.0,0,0,0,0 +10,2026-10-20 06:10:00,2026-10-20 06:20:00,10.0,10.0,0,0,0,0 +10,2026-10-20 06:20:00,2026-10-20 06:30:00,10.0,10.0,0,0,0,0 +10,2026-10-20 06:30:00,2026-10-20 06:40:00,10.0,10.0,0,0,0,0 +10,2026-10-20 06:40:00,2026-10-20 06:50:00,10.0,10.0,0,0,0,0 +10,2026-10-20 06:50:00,2026-10-20 07:00:00,10.0,10.0,0,0,0,0 +10,2026-10-20 07:00:00,2026-10-20 07:10:00,10.0,10.0,0,0,0,0 +10,2026-10-20 07:10:00,2026-10-20 07:20:00,10.0,10.0,0,0,0,0 +10,2026-10-20 07:20:00,2026-10-20 07:30:00,10.0,10.0,0,0,0,0 +10,2026-10-20 07:30:00,2026-10-20 07:40:00,10.0,10.0,0,0,0,0 +10,2026-10-20 07:40:00,2026-10-20 07:50:00,10.0,10.0,0,0,0,0 +10,2026-10-20 07:50:00,2026-10-20 08:00:00,10.0,10.0,0,0,0,0 +10,2026-10-20 08:00:00,2026-10-20 08:10:00,10.0,10.0,0,0,0,0 +10,2026-10-20 08:10:00,2026-10-20 08:20:00,7.453,7.453,0,0,0,0 +30,2026-10-19 23:30:00,2026-10-20 00:00:00,20.861,19.412,260,0,260,0 +30,2026-10-20 00:00:00,2026-10-20 00:30:00,30.0,22.632,180,0,180,0 +30,2026-10-20 00:30:00,2026-10-20 01:00:00,30.0,27.492,20,10,10,0 +30,2026-10-20 01:00:00,2026-10-20 01:30:00,30.0,18.696,70,10,60,0 +30,2026-10-20 01:30:00,2026-10-20 02:00:00,30.0,30.0,240,10,230,0 +30,2026-10-20 02:00:00,2026-10-20 02:30:00,30.0,30.0,120,10,110,0 +30,2026-10-20 02:30:00,2026-10-20 03:00:00,30.0,30.0,220,10,210,0 +30,2026-10-20 03:00:00,2026-10-20 03:30:00,30.0,30.0,70,0,70,0 +30,2026-10-20 03:30:00,2026-10-20 04:00:00,30.0,30.0,90,0,90,0 +30,2026-10-20 04:00:00,2026-10-20 04:30:00,30.0,30.0,280,0,280,0 +30,2026-10-20 04:30:00,2026-10-20 05:00:00,30.0,30.0,450,40,410,0 +30,2026-10-20 05:00:00,2026-10-20 05:30:00,30.0,30.0,50,0,50,0 +30,2026-10-20 05:30:00,2026-10-20 06:00:00,30.0,30.0,0,0,0,0 +30,2026-10-20 06:00:00,2026-10-20 06:30:00,30.0,30.0,0,0,0,0 +30,2026-10-20 06:30:00,2026-10-20 07:00:00,30.0,30.0,0,0,0,0 +30,2026-10-20 07:00:00,2026-10-20 07:30:00,30.0,30.0,0,0,0,0 +30,2026-10-20 07:30:00,2026-10-20 08:00:00,30.0,30.0,0,0,0,0 +30,2026-10-20 08:00:00,2026-10-20 08:30:00,17.453,17.453,0,0,0,0 +60,2026-10-19 23:00:00,2026-10-20 00:00:00,20.861,19.412,260,0,260,0 +60,2026-10-20 00:00:00,2026-10-20 01:00:00,60.0,50.123,200,10,190,0 +60,2026-10-20 01:00:00,2026-10-20 02:00:00,60.0,48.696,310,20,290,0 +60,2026-10-20 02:00:00,2026-10-20 03:00:00,60.0,60.0,340,20,320,0 +60,2026-10-20 03:00:00,2026-10-20 04:00:00,60.0,60.0,160,0,160,0 +60,2026-10-20 04:00:00,2026-10-20 05:00:00,60.0,60.0,730,40,690,0 +60,2026-10-20 05:00:00,2026-10-20 06:00:00,60.0,60.0,50,0,50,0 +60,2026-10-20 06:00:00,2026-10-20 07:00:00,60.0,60.0,0,0,0,0 +60,2026-10-20 07:00:00,2026-10-20 08:00:00,60.0,60.0,0,0,0,0 +60,2026-10-20 08:00:00,2026-10-20 09:00:00,17.453,17.453,0,0,0,0 diff --git a/skills/serialprograms-logs/SKILL.md b/skills/serialprograms-logs/SKILL.md new file mode 100644 index 0000000000..97dde1723b --- /dev/null +++ b/skills/serialprograms-logs/SKILL.md @@ -0,0 +1,37 @@ +--- +name: serialprograms-logs +description: Inspect Pokemon Automation SerialPrograms logs, extract run boundaries and BBQ events, and distinguish program decisions from controller and inference noise. +--- + +# SerialPrograms logs + +Read local logs without modifying the application's settings or files. On this Mac they live in `/Users/difan/Library/Application Support/SerialPrograms/`. Quote paths containing spaces. Logs can contain settings and personal information; keep raw logs outside the repository. + +Use the streaming helper for a bounded overview, then narrow by timestamps and event patterns: + +```sh +python3 skills/serialprograms-logs/scripts/read_logs.py '/path/to/SerialPrograms.log' +python3 skills/serialprograms-logs/scripts/read_logs.py '/path/to/SerialPrograms.log' --events --since '2026-10-20 00:08:25' --until '2026-10-20 00:47:48' --limit 100 +``` + +The default summarizes the whole file; `--events` prints selected events with original physical line numbers. Add `--match 'pattern'` for an explicit regex, including OCR or low-level commands. Read [observations.md](references/observations.md) for known examples and interpretation traps. + +For BP accounting, `scripts/bbq_ledger.py` accepts ordered logs, a quest reward JSON map (`quests` keyed by slug with `reward_bp` and `reroll_bp`), and an output directory. It exports board snapshots, inferred reward/reroll events, task timings, run boundaries and midnight-aligned 10/30/60-minute windows. See `analysis/bbq-2026-10-20/` in this repository for an example and its assumptions. The ledger infers rewards from board disappearances, not measured BP balances; same-slug replacements, OCR misses and manual activity can invalidate that inference. Windows retain partial observation and active-time fields; choose full windows explicitly for distribution summaries. Photo/catch task logs use `Photo:` and `Catch:` rather than `Quest:`. + +## Parsing and filtering + +- Files are UTF-8 with an optional BOM and CRLF. A timestamped record generally starts `YYYY-MM-DD HH:MM:SS.ffffff - [tag]: message`. Messages may contain HTML and untimestamped continuation lines. Preserve continuations with their parent record and source line numbers. +- Determine coverage from contents. Archive filenames reflect rotation time, not the start time. Runs may span files, and one archive may contain several programs and restarts. +- Locate `Starting Program:`, `Program State:`, stop requests and exceptions before attributing events to a run. `RUNNING` can precede the actual start banner; setup failures are not productive gameplay time. +- Tags are not severity levels. `[Console 0]` contains quest decisions and errors; `[Program]` also contains sound-detector noise. Do not use `[Program]` alone as an INFO filter. +- Suppress `issue_*()`, `wait_for_all()`, inference `Count = ... Mean = ...`, rendering/conversion timing, and repeated sound-candidate messages for an initial overview. Retain them when investigating timing or detection. +- BBQ anchors: `Quest:`, `Processing quests.`, `Quest not possible`, `Current quest exists on list`, `Quest completed successfully.`, `Failed to complete a quest`, `Did not enter battle`, radar-ball fallback, saves, exceptions and current stats. Include `String Match Result:` only in a narrowed quest-reading interval: other programs use it for unrelated OCR too. +- Quest OCR includes original text, normalized text, candidate, stable slug and score. Prefer slugs such as `(pickup-10)` over translated strings. `no matches` alone does not establish a missing bonus quest: inspect the slot detector and screenshot; an absent fourth slot may be normal. +- Count messages as messages, not unique quests, battles or rewards. Recursive fallbacks may log another `Quest:`; a quest may disappear incidentally. Stats repeat during audio callbacks and reset across runs. Deduplicate unchanged stats, segment by run and verify completion attribution before calculating success rates. +- Measure attempt time from quest start through verification/recovery. Preserve stopped or rotated attempts as censored, rather than marking them failures. Net BP/hour requires actual reward and reroll accounting, not just quest completion counts. + +Update this skill with verified new formats and useful filters; separate source-confirmed behavior from hypotheses based on log wording. + +## Local M1 diagnostics + +Filter `BBQ ` to see exact quest slugs, per-call attempt/limit, `event=route_return`, `event=result` route/verification durations, `event=retry_exhausted recovery=skip_current_batch`, and `event=board` with `panel_detected`, raw OCR BP (`unknown` on failure), and ordered quest slugs. An attempt number restarting at 1 in a later batch is still expected until M4 lands. `absent_from_board` is the existing completion heuristic, not an independent reward confirmation. Screenshots are saved locally under the runtime Debug/BBQ directory with their full paths logged; no telemetry is used by this helper. Catch battle-entry timeout images precede recovery; verification-failure images show the later recovered state. BP uses the existing quest-panel crop and needs live validation before balance reconciliation. diff --git a/skills/serialprograms-logs/references/observations.md b/skills/serialprograms-logs/references/observations.md new file mode 100644 index 0000000000..8d88e082d9 --- /dev/null +++ b/skills/serialprograms-logs/references/observations.md @@ -0,0 +1,76 @@ +# Observed archives, inspected 2026-10-20 + +Source directory: `/Users/difan/Library/Application Support/SerialPrograms/`. + +| File | Actual first–last timestamps | Physical lines | +| --- | --- | ---: | +| SerialPrograms-20261017-101045350858.log | Oct 14 17:07:29.174500 – Oct 17 10:10:45.346557 | 604030 | +| SerialPrograms-20261020-032023983416.log | Oct 17 10:10:45.350070 – Oct 20 03:20:13.936042 | 592888 | + +Timestamps have no explicit timezone. Do not add UTC or convert without confirming application behavior. + +The first archive contains extensive Dynamax Adventure output and no `Quest:` messages. The second begins in the same adventure output, then includes BBQ runs late October 19–20. Both are around 50 MiB, so avoid dumping broad tag matches into the conversation. + +Second archive, file-wide literal message counts (not unique task outcomes): + +- 75 `Quest:` starts: Sneak up 40; Tera-self 15; Travel 7; Sandwich 4; Auto Battle 4; Make TM 3; Wild Tera 2. +- 54 `Did not enter battle` messages: 13 mention Kleavor, 39 say `Did target spawn?`, and 2 use other wording. Do not attribute these solely by the most recent quest-start message: fallback execution can cross task boundaries. +- 35 `Quest completed successfully.` and 25 `Quest did not complete successfully.` messages. +- 25 retry-exhaustion/skip messages. +- 98 radar-ball fallbacks across the whole file, including before the first BBQ run. Do not label all 98 BBQ errors. +- One `Saving and resetting.` message. These archives alone do not demonstrate the repeated-save bug. + +Useful source locations in the second archive: + +- Line 564730: first BBQ banner; immediately fails because console type was unspecified. STOPPED at 564737. +- Line 564747: BBQ start at Oct 19 23:40:00. +- Lines 564822–564825: quest OCR, including Traditional Chinese normalization, `(sneak-up)`, `(pickup-10)`, `(photo-polar)` and `no matches` for the fourth read. +- Lines 567639–567649: Oct 19 23:59:25 fatal picnic menu-navigation error, followed by error-report creation. Stream history was not enabled, so no stream history was saved. +- Line 568049: BBQ start Oct 20 00:08:25; stop at 573323 (00:47:47). +- Line 576241: BBQ start Oct 20 01:22:16; continues beyond the archive boundary, with last visible stats reaching 21 completed quests. +- Lines 592155–592587: Sneak-up attempts at 03:14:19 and 03:16:00; both fail battle entry; retry exhaustion at 03:17:42. Travel quest then succeeds at 03:19:08; Sneak-up starts again at 03:19:23 (592810). This is direct evidence that skipping does not prevent later-round retries. + +For issue 264: `Quest: Sneak up.` is tagged `[Console 0]`, whereas repeated `Let's Go Kill Sound found, score ...` messages are tagged `[Program]`. Color/severity cannot be recovered reliably from these plain-text tags. Existing logger APIs accept message and color, while overlay messages use a separate `add_log` API; tags are insufficient to infer what appeared on-screen. + +## Task-duration analysis + +Measure an outer task from `[Program]: Current quest exists on list. Doing quest.` to the next `[Program]: Quest completed successfully.` or `Quest did not complete successfully.`. Internal `Quest:` messages include retries, so do not treat each as an independent outer task. Reset pending attribution on a new program banner or STOPPED. A stop or archive ending with a pending task is censored; exclude it from completed-task success ratios and report its time separately if needed. Some photo/catch functions do not emit the same `Quest:` prefix, so keep unlabelled tasks unclassified until inspecting their actual messages/OCR. + +Using these boundaries in the Oct 20 archive: + +| Outer task, first Quest label | Completed outer calls | Reported successes | Total minutes | Failed-call minutes | +| --- | ---: | ---: | ---: | ---: | +| Sneak up | 21 | 4 | 64.87 | 58.00 | +| Tera-self | 6 | 1 | 25.47 | 22.84 | +| Travel 500 meters | 7 | 7 | 9.68 | 0 | +| Make TM | 3 | 3 | 2.11 | 0 | +| Auto Battle 10/30 | 4 | 4 | 22.11 | 0 | + +These counts exclude interrupted outer tasks and do not imply unbiased success probabilities. All four completed Sneak-up successes occur before the final run. The final run (01:22:16 to archive end 03:20:13, about 118 minutes) contains 17 completed Sneak-up batches, all failures, consuming 58 minutes. The latest visible quest-completion stat is 21. Roughly 49% of this observed run is spent on those failed batches. Removing that time alone gives an optimistic throughput multiplier around 118/(118-58) = 1.97, before reroll costs, replacement-quest time and changed quest distribution. + +Five completed Tera-self batches fail, each about 272–277 seconds (two internal attempts); one earlier call succeeds in about 158 seconds. Other Tera tasks were interrupted. Thus both routes demonstrably worked earlier but later failed persistently; logs do not establish whether spawn depletion, loading, orientation, route drift or another condition caused it. + +For conditional reroll economics use net opportunity rate r (BP/min), saved time D, reroll cost C and menu time t: net gain approximately r*(D-t)-C, assuming replacement work can sustain r. At the user's estimated 300–400 BP/hour, a 10 BP reroll costs 1.5–2 minutes of opportunity; a 50 BP reroll costs 7.5–10 minutes. These are counterfactual estimates, not measured gains. Preserve red-quest bonus progress and account for replacement/reroll chains; the log does not directly measure net BP. + +Issue 264 evidence posted with explicit user authorization: https://github.com/PokemonAutomation/ComputerControl/issues/264#issuecomment-6296691270 + +## Continuation through the current log + +`SerialPrograms.log` continues the same BBQ session after the Oct 20 archive +and stops at 08:17:27. Ignoring the current file would miss nearly five hours. +The complete reconstruction and source-value assumptions are in +`analysis/bbq-2026-10-20/report.md`, with a slug reward catalog and audit CSVs. + +The board stalls after 05:05:19 on photo-savanna / pickup-10 / sneak-up, with no +further inferred rewards for 3.2 hours. The fixed Pride Rock navigation route is +shared by photo-savanna, catch-any and sneak-up. Catch-any succeeds immediately +before the stall. This is a useful shared-dependency hypothesis, not proof of +spawn depletion: catch and Sneak-up both try date skipping to respawn targets. + +`Photo: Normal/Fire` is a shared route label that also handles photo-savanna. +`Catch: Any/Normal/Fire` likewise covers multiple requested quests. Join task +labels to the OCR board and processing decisions rather than assuming labels +uniquely identify rewards. `Photo not taken.` means the expected prompt was not +detected; it does not distinguish missing targets, camera state and a detector +failure. Board transitions and a successful control quest help discriminate +general application failure from a set of routes failing together. diff --git a/skills/serialprograms-logs/scripts/bbq_ledger.py b/skills/serialprograms-logs/scripts/bbq_ledger.py new file mode 100644 index 0000000000..dfe92e1758 --- /dev/null +++ b/skills/serialprograms-logs/scripts/bbq_ledger.py @@ -0,0 +1,155 @@ +"""Reconstruct inferred BP from quest-board differences; retain an audit trail.""" +import argparse +from collections import Counter +import csv +from datetime import datetime, timedelta +import json +from pathlib import Path +import re +from read_logs import records + + +def save_csv(path, rows, fields): + with path.open('w', newline='') as stream: + writer = csv.DictWriter(stream, fieldnames=fields, lineterminator="\n") + writer.writeheader() + writer.writerows(rows) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument('logs', nargs='+', type=Path) + parser.add_argument('--rewards', required=True, type=Path) + parser.add_argument('--output', required=True, type=Path) + args = parser.parse_args() + rewards = json.loads(args.rewards.read_text())['quests'] + events, boards, runs, tasks = [], [], [], [] + run = None + board = previous = collecting = task = None + processing = None + todo = [] + pending_rerolls = [] + last_time = None + + def event(ts, kind, slug, source, note=''): + value = rewards.get(slug, {}) + bp = value.get('reward_bp') if kind == 'reward' else value.get('reroll_bp') + events.append(dict(time=ts, run=run['start'], kind=kind, quest=slug, + bp=bp if isinstance(bp, int) else '', source=source, note=note)) + + for path in args.logs: + for n, ts, tag, message, lines in records(path): + last_time = ts + source = f'{path.name}:{n}' + if 'Starting Program:' in message: + run = None + if 'BBQSoloFarmer' in message: + run = dict(start=ts, end='', stop='') + runs.append(run) + board = previous = collecting = task = processing = None + pending_rerolls = [] + todo = [] + if not run: + continue + if message == 'Reading quests.': + collecting = dict(time=ts, run=run['start'], source=source, slots=[]) + processing = None + elif collecting is not None and message.startswith('String Match Result:'): + matches = re.findall(r'\(([a-z][a-z0-9-]+)\) \(log10p', message) + collecting['slots'].append(matches[-1] if matches and matches[-1] in rewards else None) + if len(collecting['slots']) == 4: + board = collecting + collecting = None + boards.append(board) + if previous: + removed = Counter(x for x in previous['slots'] if x) - Counter(x for x in board['slots'] if x) + for reroll in pending_rerolls: + slug = reroll['quest'] + reroll['note'] += '; next board ' + ('changed target slug' if removed[slug] else 'does not prove target changed') + if removed[slug]: + removed[slug] -= 1 + for slug, count in removed.items(): + for _ in range(count): + event(ts, 'reward', slug, source, + 'inferred from disappearance; completion occurred since ' + previous['time']) + pending_rerolls = [] + previous = board + if message == 'Processing quests.': + processing = 0 + todo = [] + elif processing is not None and board: + action = message in { + 'Quest not possible', 'Quest not in inclusion/exclusions table. Adding to list.', + 'Run selected. Adding quest to list.', 'Skip selected. Skipping quest.', + 'Keep Going selected. Ignoring quest.' + } + reroll = message.startswith('Reroll selected.') + if message in ['Quest not in inclusion/exclusions table. Adding to list.', 'Run selected. Adding quest to list.']: + todo.append(board['slots'][processing] if processing < len(board['slots']) else None) + if reroll and processing < len(board['slots']): + slug = board['slots'][processing] + event(ts, 'reroll', slug, source, 'requested; button sequence follows, no BP balance confirmation') + pending_rerolls.append(events[-1]) + if action or reroll: + processing += 1 + if message == 'No possible quests! Rerolling all quests.': + for slug in board['slots']: + if slug: + event(ts, 'reroll', slug, source, 'reroll-all requested; no BP balance confirmation') + pending_rerolls.append(events[-1]) + if message == 'Current quest exists on list. Doing quest.': + task = dict(start=ts, end='', run=run['start'], quest=todo.pop(0) if todo else None, + label='', outcome='censored', seconds='', source=source, + verification_failures=0,entry_failures=0,photo_prompt_failures=0) + tasks.append(task) + elif message == 'Current quest does not exist on list. Quest completed at some point.': + if todo: + todo.pop(0) + if task: + if message == 'Current quest exists on list. Quest did not complete.': + task['verification_failures'] += 1 + if message.startswith('Did not enter battle.'): + task['entry_failures'] += 1 + if message == 'Photo not taken.': + task['photo_prompt_failures'] += 1 + if not task['label'] and message.startswith(('Quest: ', 'Photo: ', 'Catch: ')): + task['label'] = message + if message in ['Quest completed successfully.', 'Quest did not complete successfully.']: + task.update(end=ts, outcome='success' if message == 'Quest completed successfully.' else 'failure', + seconds=(datetime.fromisoformat(ts)-datetime.fromisoformat(task['start'])).total_seconds()) + task = None + if message == 'Program State: STOPPED': + run.update(end=ts, stop=message) + run = None + task = None + if run: + run.update(end=last_time, stop='archive ended; censored') + args.output.mkdir(parents=True, exist_ok=True) + save_csv(args.output/'events.csv', events, ['time','run','kind','quest','bp','source','note']) + save_csv(args.output/'tasks.csv', tasks, ['start','end','run','quest','label','outcome','seconds','source','verification_failures','entry_failures','photo_prompt_failures']) + save_csv(args.output/'runs.csv', runs, ['start','end','stop']) + save_csv(args.output/'boards.csv', [dict(time=b['time'],run=b['run'],source=b['source'],slots=json.dumps(b['slots'])) for b in boards], ['time','run','source','slots']) + # Fixed, nonoverlapping windows aligned to local midnight. Keep partial and + # inactive windows visible; do not silently annualize partial exposures. + observed_start = datetime.fromisoformat(min(r['start'] for r in runs)) + start = observed_start.replace(hour=0,minute=0,second=0,microsecond=0) + end = max(datetime.fromisoformat(r['end']) for r in runs if r['end']) + windows = [] + for minutes in [10,30,60]: + t = start + while t < end: + upper = t + timedelta(minutes=minutes) + active = sum(max(0,(min(upper,datetime.fromisoformat(r['end']))-max(t,datetime.fromisoformat(r['start']))).total_seconds()) for r in runs if r['end']) + observed = max(0, (min(upper,end)-max(t,observed_start)).total_seconds()) + if observed: + ee = [e for e in events if t <= datetime.fromisoformat(e['time']) < upper] + gross = sum(e['bp'] for e in ee if e['kind']=='reward' and isinstance(e['bp'],int)) + spent = sum(e['bp'] for e in ee if e['kind']=='reroll' and isinstance(e['bp'],int)) + windows.append(dict(minutes=minutes,start=t.isoformat(' '),end=upper.isoformat(' '),observed_minutes=round(observed/60,3),active_minutes=round(active/60,3),gross_bp=gross,spent_bp=spent,net_bp=gross-spent,unknown_events=sum(not isinstance(e['bp'],int) for e in ee))) + t = upper + save_csv(args.output/'windows.csv',windows,['minutes','start','end','observed_minutes','active_minutes','gross_bp','spent_bp','net_bp','unknown_events']) + print(json.dumps(dict(runs=len(runs),boards=len(boards),events=len(events),gross=sum(e['bp'] for e in events if e['kind']=='reward' and isinstance(e['bp'],int)),spent=sum(e['bp'] for e in events if e['kind']=='reroll' and isinstance(e['bp'],int)),unknown_events=[e for e in events if not isinstance(e['bp'],int)]),indent=2)) + + +if __name__ == '__main__': + main() diff --git a/skills/serialprograms-logs/scripts/read_logs.py b/skills/serialprograms-logs/scripts/read_logs.py new file mode 100644 index 0000000000..692d69cf47 --- /dev/null +++ b/skills/serialprograms-logs/scripts/read_logs.py @@ -0,0 +1,71 @@ +"""Stream SerialPrograms records; summarize or print bounded event excerpts.""" +import argparse +from collections import Counter +from pathlib import Path +import re + +HEADER = re.compile(r"^(\d{4}-\d\d-\d\d \d\d:\d\d:\d\d\.\d+) - \[([^]]+)\]: (.*)") +EVENT = re.compile(r"BBQ |Photo:|Catch:|Starting Program:|Program State:|Received Stop Request|Quest:|Processing quests\.|Quest not possible|Current quest exists on list|Quest completed successfully\.|Quest did not complete successfully\.|Failed to complete a quest|Did not enter battle|Unable to locate the overworld radar ball|Saving and resetting\.|Exception|UserSetupError|Program stopped with an exception") + + +def records(path): + pending = None + with path.open(encoding="utf-8-sig") as source: + for number, line in enumerate(source, 1): + line = line.rstrip("\r\n") + match = HEADER.match(line) + if match: + if pending: + yield pending + pending = (number, match[1], match[2], match[3], [line]) + elif pending: + pending[4].append(line) + if pending: + yield pending + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("paths", type=Path, nargs="+") + parser.add_argument("--since", default="") + parser.add_argument("--until", default="") + parser.add_argument("--events", action="store_true") + parser.add_argument("--match", help="Override event selection with this regex") + parser.add_argument("--limit", type=int, default=80) + args = parser.parse_args() + selector = re.compile(args.match) if args.match else EVENT + for path in args.paths: + tags, quests, messages = Counter(), Counter(), Counter() + first = last = None + selected = printed = total = 0 + for number, timestamp, tag, message, lines in records(path): + if args.since and timestamp < args.since: + continue + if args.until and timestamp[:len(args.until)] > args.until: + continue + first = first or timestamp + last = timestamp + total += 1 + tags[tag] += 1 + if message.startswith("Quest: "): + quests[message[7:]] += 1 + if selector.search("\n".join(lines)): + selected += 1 + # Aggregate event messages, retaining no potentially huge payloads. + if not message.startswith("Starting Program:"): + messages[message] += 1 + if args.events and printed < args.limit: + for offset, line in enumerate(lines): + print(f"{path.name}:{number + offset}: {line}") + printed += 1 + print(f"{path.name}: {first} .. {last}; {total} records; {selected} selected") + print("Tags:", dict(tags)) + print("Quest start messages:", dict(quests)) + if not args.events: + print("Most common selected messages:", messages.most_common(15)) + elif selected > printed: + print(f"Showing {printed}/{selected} selected records; narrow the interval or raise --limit.") + + +if __name__ == "__main__": + main()