diff --git a/LICENSE.code b/LICENSE.code new file mode 100644 index 0000000000000000000000000000000000000000..d645695673349e3947e8e5ae42332d0ac3164cd7 --- /dev/null +++ b/LICENSE.code @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..b307bfb464a1d62d2ac1b9b36da37c1a8a3a629d --- /dev/null +++ b/README.md @@ -0,0 +1,211 @@ +--- +pretty_name: ProWM-Bench +license: other +license_name: apache-2.0-code-upstream-data +license_link: https://huggingface.co/datasets/simonlqy/ProWM-Bench/blob/main/LICENSE.code +language: + - en +task_categories: + - other +tags: + - coding-agents + - world-models + - software-engineering + - multimodal + - benchmark + - swe-bench +size_categories: + - n<1K +viewer: false +--- + +# ProWM-Bench + +**Product-Level World Model Benchmark for Coding Agents** + +Official benchmark release for **"Predict the Product, Not the Observation: Product-Level World Models for Coding Agents"** (**PreVision**). + +- **Code & full pipeline:** [github.com/SIMONLQY/PreVision](https://github.com/SIMONLQY/PreVision) +- **Benchmark dataset:** [huggingface.co/datasets/simonlqy/ProWM-Bench](https://huggingface.co/datasets/simonlqy/ProWM-Bench) +- **Schema version:** `prowm-bench-release.v1` (v1.0.0) + +## Overview + +**ProWM-Bench** evaluates product-level world modeling on real software engineering trajectories. Given the initial repository state $s_0$, the issue description (including issue screenshots), the public agent trajectory up to an action (tool calls and observations, without private reasoning), and a target action, a model predicts **without tools**: + +1. **`observation_repository`**: the next tool output text and repository change. +2. **`official_tests`**: whether the hidden official tests resolve the issue and the pass/fail status of each opaque official test oracle. +3. **`render_product`**: the rendered behavior of the software product measured by a fixed per-issue render probe (decision-relevant fields and DOM changes). + +This release packages the **frozen, label-free model inputs**, **verified ground-truth targets**, **per-issue render probes**, **frozen reference predictions**, and a **zero-dependency Python loader and deterministic scorer** (`prowm_bench`, Python 3.9+ standard library only; no `datasets` SDK, Docker, or GPU required to load or score). + +## Dataset Statistics + +| Subset | Source | Split | Tasks | Items | Branch Prompts | Input Images | Additional Gold Images | Render Probes | +|---|---|---|---:|---:|---:|---:|---:|---:| +| `swemm` | SWE-bench Multimodal (dev, render-eligible) | `test` | 96 | 369 | 1,107 | 234 | 92 | 96 | +| `rs` | SWE-rebench V2 + ScaleSWE (held-out repos) | `test` | 200 | 200 | 600 | 229 | 116 | 200 | +| **Total** | | | **296** | **569** | **1,707** | **463** | **208** | **296** | + +### Five Paper Metrics & Denominators + +All metrics are reported on a `0` to `1` scale in JSON output (multiply by `100` for paper percentages): + +| Metric | Definition | `swemm` Eligible ($n$) | `rs` Eligible ($n$) | +|---|---|---:|---:| +| **Obs EM** | Conservatively normalized tool-output exact match over all items | 369 | 200 | +| **Test Resolved** | Boolean accuracy on whether official tests resolve the issue | 369 | 200 | +| **Test All-EM** | Exact match across all scoreable official-test statuses in an item | 369 | 200 | +| **Render Field-EM** | Exact match across all declared scoreable probe decision fields | 359 | 200 | +| **Render DOM-$\Delta$F1** | Macro F1 of DOM change events relative to $s_0$ (items with DOM changes) | 31 | 21 | + +## Quickstart + +### 1. Download the release + +```bash +hf download simonlqy/ProWM-Bench --repo-type dataset --local-dir ProWM-Bench +cd ProWM-Bench +``` + +Or via Python (`huggingface_hub`): + +```python +from huggingface_hub import snapshot_download + +snapshot_download( + repo_id="simonlqy/ProWM-Bench", + repo_type="dataset", + local_dir="ProWM-Bench", +) +``` + +### 2. Verify checksums, reconstructed prompts, and scorer + +All commands below use only the Python standard library (Python 3.9+): + +```bash +# Verify SHA-256 checksums of all 996 packaged files and all 1,707 reconstructed prompts +python3 -B -m prowm_bench verify + +# Re-score frozen reference predictions (Qwen3.6-27B base) and verify exact match to paper Table 1 +python3 -B -m prowm_bench selfcheck + +# Run offline unit tests (15 tests) +python3 -B -m unittest discover -s tests -v +``` + +### 3. Evaluate a model + +Run against any OpenAI-compatible `/v1/chat/completions` endpoint that supports base64 PNG data URLs: + +```bash +# Evaluate on SWE-bench Multimodal (replace swemm with rs for SWE-rebench V2 + ScaleSWE) +python3 -B examples/run_model.py \ + --subset swemm \ + --base-url http://localhost:8000/v1 \ + --model YOUR_MODEL \ + --output predictions_swemm.jsonl + +python3 -B -m prowm_bench score \ + --subset swemm \ + --predictions predictions_swemm.jsonl \ + --output scores_swemm.json +``` + +Or export label-free chat requests directly and score your own prediction JSONL: + +```bash +python3 -B -m prowm_bench export --subset swemm --output requests_swemm.jsonl +``` + +Python API (strictly label-free: never reads targets, probes, or post-action images): + +```python +from prowm_bench import load_dataset, score + +ds = load_dataset("swemm") +for req in ds.requests(): + # req = {"item_id": ..., "branch": ..., "messages": [...]} + # Send req["messages"] to your model without tools. + ... +``` + +Each prediction row in `predictions.jsonl` has the format: + +```json +{"item_id": "...", "branch": "official_tests", "response": "{\"resolved\": true, ...}", "finish_reason": "stop"} +``` + +(Alternatively, provide `"prediction": {...}`.) + +## Evaluation Protocol + +Defined formally in `evaluation_protocol.json`: + +- **Context & output budget:** 131,072-token context window and 32,768-token output budget. Prompts exceeding `131072 - 32768` tokens are counted as unsubmitted zeros with no extra truncation. +- **Tool-free, single-shot:** `tools_available = false`. One completion per `(item_id, branch)`; transport retries only, with no correctness filtering or best-of-$N$ resampling. +- **Full frozen denominator:** Missing, truncated (`finish_reason == "length"`), or schema-invalid branch predictions receive `0`. +- **Response format:** One final raw JSON object per branch. Markdown ```` ```json ```` fences are rejected by default; pass `--allow-json-fences` to `score` to record an explicit alternative evaluation. +- **Data-leakage contract:** Only frozen `messages` and `data//images/` are model inputs. `targets.jsonl`, `gold_images/`, `probes/`, and `examples/reference_predictions/` are scoring and audit material only. + +## Reference Results (Paper Table 1) + +Cumulative product-level world-model metrics (%) on ProWM-Bench (SWE / R+S): + +| Model | Obs EM | Test Resolved | Test All-EM | Render Field-EM | Render DOM-$\Delta$F1 | +|---|---:|---:|---:|---:|---:| +| Qwen3.8-Flash-Next | 15.7 / 7.5 | 77.0 / 78.0 | 75.1 / 61.0 | 63.5 / 64.0 | 48.6 / 44.6 | +| DeepSeek-V4.1-Flash | 10.8 / 14.5 | 67.5 / 60.0 | 66.7 / 51.0 | 60.7 / 54.0 | 19.8 / 15.4 | +| Kimi-K2.7-Code | 7.9 / 6.0 | 67.2 / 57.5 | 66.1 / 49.5 | 65.2 / 71.0 | 45.9 / 49.6 | +| Kimi-K2.6 | 9.5 / 8.0 | 72.4 / 68.0 | 71.3 / 56.0 | 62.7 / 66.0 | 41.4 / 45.6 | +| Qwen3.8-27B (teacher) | 8.1 / 8.5 | 79.4 / 75.5 | 77.2 / 57.5 | 66.6 / 71.5 | 47.2 / 44.1 | +| Qwen3.6-27B (base, `selfcheck` ref) | 6.5 / 5.5 | 63.7 / 59.5 | 61.5 / 49.0 | 55.2 / 53.0 | 30.7 / 23.8 | +| Agent-SFT | 6.2 / 6.5 | 75.1 / 69.5 | 72.9 / 57.5 | 68.8 / 64.5 | 27.6 / 35.6 | +| WM-Mix | 7.6 / 7.5 | 78.0 / 75.0 | 75.9 / 59.0 | 64.4 / 68.5 | 32.8 / 42.3 | +| **PreVision (ours)** | **7.9 / 7.5** | **77.5 / 77.0** | **75.6 / 59.0** | **70.2 / 71.0** | **35.0 / 45.9** | + +## Repository Structure + +```text +ProWM-Bench/ +├── manifest.json # Release metadata, subset populations, and CLI usage +├── checksums.json # SHA-256 digests and sizes for all 996 packaged files +├── evaluation_protocol.json # Frozen inference and scoring protocol +├── source_provenance.json # Provenance hashes linking to the paper artifacts +├── swemm_scoring_amendments.json # Audited label amendments on two Chart.js items +├── LICENSE.code # Apache-2.0 license (applies to packaged code only) +├── prowm_bench/ # Zero-dependency Python loader, verifier, and scorer +├── examples/ +│ ├── run_model.py # Runnable HTTP chat-completions evaluation client +│ ├── reference_metrics.json # Expected deterministic selfcheck metrics +│ └── reference_predictions/ # Frozen Qwen3.6-27B predictions for selfcheck +├── tests/ # 15 offline verification and contract tests +└── data/ + ├── swemm/ # 369 items (96 SWE-bench Multimodal tasks) + │ ├── items.jsonl # Public item metadata and protocol specification + │ ├── prompts.jsonl # Frozen model input messages (3 branches/item) + │ ├── images/ # 234 input PNGs referenced by prompts + │ ├── targets.jsonl # Ground-truth scoring targets (scoring/audit only) + │ ├── gold_images/ # 92 additional post-action PNGs (audit only) + │ ├── probes/ # 96 per-issue render probes (audit only) + │ └── {evidence,provenance,probes,gold_images}.jsonl + └── rs/ # 200 items (200 held-out SWE-rebench V2 + ScaleSWE tasks) +``` + +*Note on HF Dataset Viewer:* The auto-generated Hugging Face Dataset Viewer is intentionally disabled (`viewer: false`) because this package contains multiple distinct JSONL schemas, PNG image directories, Python render probes, and a checksum-verified offline loader. Use `prowm_bench` after downloading the repository snapshot. + +## License & Data Rights + +- **Code** (`prowm_bench/`, `examples/run_model.py`, `tests/`): released under the [Apache-2.0](LICENSE.code) license. +- **Upstream Data**: issue descriptions, repository excerpts, and screenshots derive from SWE-bench Multimodal, SWE-rebench V2, and ScaleSWE and retain their original upstream rights; source identifiers and URLs are preserved in each item. + +## Citation + +```bibtex +@article{li2026prevision, + title = {Predict the Product, Not the Observation: Product-Level World Models for Coding Agents}, + author = {Li, Qingyao and Dai, Xinyi and Yin, Di and Sun, Xing and Liu, Weiwen and Zhang, Weinan and Yu, Yong}, + year = {2026} +} +``` diff --git a/checksums.json b/checksums.json new file mode 100644 index 0000000000000000000000000000000000000000..3e4f3f7a2c21d7ae252cc96177e2224a74c072a7 --- /dev/null +++ b/checksums.json @@ -0,0 +1,3989 @@ +{ + "algorithm": "sha256", + "files": { + "LICENSE.code": { + "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", + "size_bytes": 11358 + }, + "data/rs/evidence.jsonl": { + "sha256": "4923e09535af56b6aeafa0b2f8788563daf3bf5d981da2bb9e6bbedaf329b988", + "size_bytes": 1004565 + }, + "data/rs/gold_images/02c55d37fa5ca0401255372436d334c3d835a6cb4393c07e9837a8ef16de384a.png": { + "sha256": "02c55d37fa5ca0401255372436d334c3d835a6cb4393c07e9837a8ef16de384a", + "size_bytes": 6155 + }, + "data/rs/gold_images/0385f14cff2789d0a4f547b4cb48d867f01dd2961815504005300aad31f74d20.png": { + "sha256": "0385f14cff2789d0a4f547b4cb48d867f01dd2961815504005300aad31f74d20", + "size_bytes": 24269 + }, + "data/rs/gold_images/0460c999343f5f54aa258dc8ab2dc852b393be70b4a7fd1ae7caf5154f1f4bf8.png": { + "sha256": "0460c999343f5f54aa258dc8ab2dc852b393be70b4a7fd1ae7caf5154f1f4bf8", + "size_bytes": 89660 + }, + "data/rs/gold_images/04eb0be5140f05e20a429a8062013683f443c6ee7147ba7bf42ec02ae0ef7e2c.png": { + "sha256": "04eb0be5140f05e20a429a8062013683f443c6ee7147ba7bf42ec02ae0ef7e2c", + "size_bytes": 24925 + }, + "data/rs/gold_images/0690ea74ed39c57dac349e0fbc780df2b9b795e3ed3e51a4a3052cb154087fb6.png": { + "sha256": "0690ea74ed39c57dac349e0fbc780df2b9b795e3ed3e51a4a3052cb154087fb6", + "size_bytes": 10485 + }, + "data/rs/gold_images/0690f8eb4f7eb1cabe1eeaf7b4f1f319e211bca5dca8bec77970d60ecc84aa90.png": { + "sha256": "0690f8eb4f7eb1cabe1eeaf7b4f1f319e211bca5dca8bec77970d60ecc84aa90", + "size_bytes": 19626 + }, + "data/rs/gold_images/0b287c63448c2aa0aafb00353081afb0164eea045e6354d45390bb8f15fb8d8d.png": { + "sha256": "0b287c63448c2aa0aafb00353081afb0164eea045e6354d45390bb8f15fb8d8d", + "size_bytes": 39260 + }, + "data/rs/gold_images/0b6dd249a850c5450a76a188ee98e83cfca1623b51ea521a4a55fdea17f3fab3.png": { + "sha256": "0b6dd249a850c5450a76a188ee98e83cfca1623b51ea521a4a55fdea17f3fab3", + "size_bytes": 16810 + }, + "data/rs/gold_images/0dd35125bef2fbaec3e3e72d131514c2536397bf7a22207c29b2caeaebb34be5.png": { + "sha256": "0dd35125bef2fbaec3e3e72d131514c2536397bf7a22207c29b2caeaebb34be5", + "size_bytes": 20112 + }, + "data/rs/gold_images/0f59168dfdc2b7c2b50c07fcaa839c93a54351224a054809e9cde3d087932058.png": { + "sha256": "0f59168dfdc2b7c2b50c07fcaa839c93a54351224a054809e9cde3d087932058", + "size_bytes": 179207 + }, + "data/rs/gold_images/158048080a63cff76505f5b13901a750d6b232683cddf8f9bbeb4233a348ae32.png": { + "sha256": "158048080a63cff76505f5b13901a750d6b232683cddf8f9bbeb4233a348ae32", + "size_bytes": 13298 + }, + "data/rs/gold_images/1586493fd21912508217900d4e8f04d0f018c788231c46778ed085cac9d47a5c.png": { + "sha256": "1586493fd21912508217900d4e8f04d0f018c788231c46778ed085cac9d47a5c", + "size_bytes": 16290 + }, + "data/rs/gold_images/15e171a71b0971f2f0e37fdbaa0cda89954ddc9739a245a06f281d152c3f4fc4.png": { + "sha256": "15e171a71b0971f2f0e37fdbaa0cda89954ddc9739a245a06f281d152c3f4fc4", + "size_bytes": 8393 + }, + "data/rs/gold_images/186d0a7625696f0f310b53e369e712433caba54b1c677fe7f3afadedc01d2178.png": { + "sha256": "186d0a7625696f0f310b53e369e712433caba54b1c677fe7f3afadedc01d2178", + "size_bytes": 14354 + }, + "data/rs/gold_images/1a63f0784ff072db33482933ae1ad08d68c45a9e5722c66c25c12f141ffa8e3a.png": { + "sha256": "1a63f0784ff072db33482933ae1ad08d68c45a9e5722c66c25c12f141ffa8e3a", + "size_bytes": 36754 + }, + "data/rs/gold_images/1cbfa873dd981a73dc33a9e05cb2d8e71c13deab74db9b2ceedc0ecf4b1abcda.png": { + "sha256": "1cbfa873dd981a73dc33a9e05cb2d8e71c13deab74db9b2ceedc0ecf4b1abcda", + "size_bytes": 33289 + }, + "data/rs/gold_images/22178c15950895642cae1346e286ff08ed56ee98e65994e47a3435a1290765be.png": { + "sha256": "22178c15950895642cae1346e286ff08ed56ee98e65994e47a3435a1290765be", + "size_bytes": 14991 + }, + "data/rs/gold_images/22636f2b9f9c7157febad77e655a6e8af25166340f3b2ae079b6faad46606d00.png": { + "sha256": "22636f2b9f9c7157febad77e655a6e8af25166340f3b2ae079b6faad46606d00", + "size_bytes": 9387 + }, + "data/rs/gold_images/239eb97ab556b4ad90835f74ff29060ec36551747d6c941bb84fe9b44a2ab3e6.png": { + "sha256": "239eb97ab556b4ad90835f74ff29060ec36551747d6c941bb84fe9b44a2ab3e6", + "size_bytes": 25373 + }, + "data/rs/gold_images/2857cf1e976d2d7012c4fda918e54242dac328acdd3d9528dbb6edd5b879cbcc.png": { + "sha256": "2857cf1e976d2d7012c4fda918e54242dac328acdd3d9528dbb6edd5b879cbcc", + "size_bytes": 12336 + }, + "data/rs/gold_images/2b7d88f39fdc046195494b9b02d0a9c1fa87c868e9cc82867571aadecc4af8f2.png": { + "sha256": "2b7d88f39fdc046195494b9b02d0a9c1fa87c868e9cc82867571aadecc4af8f2", + "size_bytes": 44348 + }, + "data/rs/gold_images/3005ab6f9092f5722ecf4dcccba9e28be59c42c41e0efe92fc03b1882a4355ee.png": { + "sha256": "3005ab6f9092f5722ecf4dcccba9e28be59c42c41e0efe92fc03b1882a4355ee", + "size_bytes": 14610 + }, + "data/rs/gold_images/322d0097f0368b91f9965ec518bdfb441c015ab4210c2f8b424f579e1e0a3830.png": { + "sha256": "322d0097f0368b91f9965ec518bdfb441c015ab4210c2f8b424f579e1e0a3830", + "size_bytes": 37908 + }, + "data/rs/gold_images/3242392f3f2156bde659614a2c3b464da3b1b176f72553dcf3116298b7b83ab1.png": { + "sha256": "3242392f3f2156bde659614a2c3b464da3b1b176f72553dcf3116298b7b83ab1", + "size_bytes": 14727 + }, + "data/rs/gold_images/357d73f9dbac65e7d8a6edb2df805d5de66a7eef1a2ed865bd9a5ba7add8f0cf.png": { + "sha256": "357d73f9dbac65e7d8a6edb2df805d5de66a7eef1a2ed865bd9a5ba7add8f0cf", + "size_bytes": 33652 + }, + "data/rs/gold_images/3af90bfe6b873bdd272b87634b2366004c62ee5208e669e6d1cbddf7286ce09d.png": { + "sha256": "3af90bfe6b873bdd272b87634b2366004c62ee5208e669e6d1cbddf7286ce09d", + "size_bytes": 25180 + }, + "data/rs/gold_images/3c66684e228a4aabd3bd663616cb6372c3b95eaa988fea4b62ca50eb31eb4b87.png": { + "sha256": "3c66684e228a4aabd3bd663616cb6372c3b95eaa988fea4b62ca50eb31eb4b87", + "size_bytes": 26130 + }, + "data/rs/gold_images/3f82cf21bf6ba23b87993c6f6d550f52531660fce9f442c9d9ac7009d66d2608.png": { + "sha256": "3f82cf21bf6ba23b87993c6f6d550f52531660fce9f442c9d9ac7009d66d2608", + "size_bytes": 7816 + }, + "data/rs/gold_images/405a0054807a2cff34f2a5ab5f2efb8a8db157eadd0717acacf0db8fc49ecf6e.png": { + "sha256": "405a0054807a2cff34f2a5ab5f2efb8a8db157eadd0717acacf0db8fc49ecf6e", + "size_bytes": 20913 + }, + "data/rs/gold_images/40ec6973a9ba8a2a433b565e97d6408eb7c35dd78e33454e3f746f46f20a84a3.png": { + "sha256": "40ec6973a9ba8a2a433b565e97d6408eb7c35dd78e33454e3f746f46f20a84a3", + "size_bytes": 11290 + }, + "data/rs/gold_images/410b0a0ed8577024a3669a8a9044295fe2282b8b0ee94f9431b35376be7531d9.png": { + "sha256": "410b0a0ed8577024a3669a8a9044295fe2282b8b0ee94f9431b35376be7531d9", + "size_bytes": 21076 + }, + "data/rs/gold_images/44ba7bdeab02619ea348e1b520ce43d1bf484750a78bd4ad1a33a520d3d3d3ac.png": { + "sha256": "44ba7bdeab02619ea348e1b520ce43d1bf484750a78bd4ad1a33a520d3d3d3ac", + "size_bytes": 16739 + }, + "data/rs/gold_images/457a49073b2c3e5bcaba5ec0fa7c3fcf237d8bb632e82090e24cae6c4a8a1255.png": { + "sha256": "457a49073b2c3e5bcaba5ec0fa7c3fcf237d8bb632e82090e24cae6c4a8a1255", + "size_bytes": 37704 + }, + "data/rs/gold_images/476d7f733c8c007ace09e23ea9dc108ad85c6c2a3ce1795f88c2bd487af8529f.png": { + "sha256": "476d7f733c8c007ace09e23ea9dc108ad85c6c2a3ce1795f88c2bd487af8529f", + "size_bytes": 11704 + }, + "data/rs/gold_images/478c40bd2ccb2e43d000c790786af0fcb1522f98b088189e6953fb5ac17af589.png": { + "sha256": "478c40bd2ccb2e43d000c790786af0fcb1522f98b088189e6953fb5ac17af589", + "size_bytes": 7450 + }, + "data/rs/gold_images/49f8725361f25c81a71261cebbec9e7f23d19bcf5b30d828a1cfab8784462cde.png": { + "sha256": "49f8725361f25c81a71261cebbec9e7f23d19bcf5b30d828a1cfab8784462cde", + "size_bytes": 26592 + }, + "data/rs/gold_images/4c36ca757cd236d91166fe92d2d97a27a6c6592465ea01e5b2bbcc98cb487107.png": { + "sha256": "4c36ca757cd236d91166fe92d2d97a27a6c6592465ea01e5b2bbcc98cb487107", + "size_bytes": 13821 + }, + "data/rs/gold_images/50416985fca6ba3399bc08df987f6b72f9241485b531e24219483581839218c1.png": { + "sha256": "50416985fca6ba3399bc08df987f6b72f9241485b531e24219483581839218c1", + "size_bytes": 8213 + }, + "data/rs/gold_images/5820c687c39cf271ced514ee86be5c7f94c8b84677cf331c237ed521052bafac.png": { + "sha256": "5820c687c39cf271ced514ee86be5c7f94c8b84677cf331c237ed521052bafac", + "size_bytes": 14624 + }, + "data/rs/gold_images/5b5a6d5dee0f54a6b051a19b2a49bfd90a446294e39273b128178b586831c91e.png": { + "sha256": "5b5a6d5dee0f54a6b051a19b2a49bfd90a446294e39273b128178b586831c91e", + "size_bytes": 44742 + }, + "data/rs/gold_images/6074878f4eb838d7ecc7e3716e3bf3983034371ee02d9a5be5a98890b08af121.png": { + "sha256": "6074878f4eb838d7ecc7e3716e3bf3983034371ee02d9a5be5a98890b08af121", + "size_bytes": 7680 + }, + "data/rs/gold_images/612e28c48b17765c8582983cd23198616223dcf9d491c96d3a1b6f553477f6c0.png": { + "sha256": "612e28c48b17765c8582983cd23198616223dcf9d491c96d3a1b6f553477f6c0", + "size_bytes": 19824 + }, + "data/rs/gold_images/63efa81147fbf4e499471d43cef45d0448ac109dbf27b9e8f01226a1a2e5efa5.png": { + "sha256": "63efa81147fbf4e499471d43cef45d0448ac109dbf27b9e8f01226a1a2e5efa5", + "size_bytes": 26423 + }, + "data/rs/gold_images/69a8dc794808d329419c2ac2419dd323d4b19a9c555ea7f2e155cf3ac10b3f10.png": { + "sha256": "69a8dc794808d329419c2ac2419dd323d4b19a9c555ea7f2e155cf3ac10b3f10", + "size_bytes": 9592 + }, + "data/rs/gold_images/6c9700946dda9bdbf42b30a30de608b8181c2e7e008189a040614434bc6055f8.png": { + "sha256": "6c9700946dda9bdbf42b30a30de608b8181c2e7e008189a040614434bc6055f8", + "size_bytes": 17213 + }, + "data/rs/gold_images/6f4ed79d42cfdbf0a0f9d50b30d38d9b9cb4506db12c827cf8ba7cab06a744ec.png": { + "sha256": "6f4ed79d42cfdbf0a0f9d50b30d38d9b9cb4506db12c827cf8ba7cab06a744ec", + "size_bytes": 64024 + }, + "data/rs/gold_images/73fa2de51cad0705e1d98455037cd5d18a30956ae6b6349b08a70578a4b696d2.png": { + "sha256": "73fa2de51cad0705e1d98455037cd5d18a30956ae6b6349b08a70578a4b696d2", + "size_bytes": 22916 + }, + "data/rs/gold_images/745abb3d5231cdea020c8bc542a0e958a8a263bf1197e03df256ba918c639fcb.png": { + "sha256": "745abb3d5231cdea020c8bc542a0e958a8a263bf1197e03df256ba918c639fcb", + "size_bytes": 16730 + }, + "data/rs/gold_images/74ba3c34acf352677383f5c43cb0e48193e475940470c094ca9f6a58eb5beca7.png": { + "sha256": "74ba3c34acf352677383f5c43cb0e48193e475940470c094ca9f6a58eb5beca7", + "size_bytes": 78364 + }, + "data/rs/gold_images/78214187133f247e4c1314fbe3e7139b237d762d609eb20c6a36320640d26ed8.png": { + "sha256": "78214187133f247e4c1314fbe3e7139b237d762d609eb20c6a36320640d26ed8", + "size_bytes": 8637 + }, + "data/rs/gold_images/7f25a771c477df2a685ec831eaa3945f2b6ab0ba35499d4f08f30b5b7280970f.png": { + "sha256": "7f25a771c477df2a685ec831eaa3945f2b6ab0ba35499d4f08f30b5b7280970f", + "size_bytes": 9884 + }, + "data/rs/gold_images/7feafa516dbde343b60e6c918884c05071ef1a7c109f35f6c5d6d1ec25e919f7.png": { + "sha256": "7feafa516dbde343b60e6c918884c05071ef1a7c109f35f6c5d6d1ec25e919f7", + "size_bytes": 16238 + }, + "data/rs/gold_images/7ff8d02cf900faba75f0637041dfd06035ff2a30da2b9c4c596d734a7b2c8121.png": { + "sha256": "7ff8d02cf900faba75f0637041dfd06035ff2a30da2b9c4c596d734a7b2c8121", + "size_bytes": 19746 + }, + "data/rs/gold_images/80c99ad3553cafb71f27cf7420bde86197be182001f89cdb4a578d8002dd8206.png": { + "sha256": "80c99ad3553cafb71f27cf7420bde86197be182001f89cdb4a578d8002dd8206", + "size_bytes": 23254 + }, + "data/rs/gold_images/81a6f1452580e94a86f4f9a27b586d0ea7479795d1aa325a6265e154cf591799.png": { + "sha256": "81a6f1452580e94a86f4f9a27b586d0ea7479795d1aa325a6265e154cf591799", + "size_bytes": 18459 + }, + "data/rs/gold_images/83a335bbd01d199c2652bd8aba1a55b7646fce750e2e33eeebde24847ca7667e.png": { + "sha256": "83a335bbd01d199c2652bd8aba1a55b7646fce750e2e33eeebde24847ca7667e", + "size_bytes": 32816 + }, + "data/rs/gold_images/8668b8e79ac90357e6d1c9cb400f477f6a7af5d065619bb1d044f1b3ed32d6b4.png": { + "sha256": "8668b8e79ac90357e6d1c9cb400f477f6a7af5d065619bb1d044f1b3ed32d6b4", + "size_bytes": 6673 + }, + "data/rs/gold_images/86a4902409ff55fe95f98f1db407c179812e32cae8665e90521331500dd4e72c.png": { + "sha256": "86a4902409ff55fe95f98f1db407c179812e32cae8665e90521331500dd4e72c", + "size_bytes": 10028 + }, + "data/rs/gold_images/87422de7b15483268ba5ed2c39d779b24e3bbb4d11d64008b4dd15b75f6ab453.png": { + "sha256": "87422de7b15483268ba5ed2c39d779b24e3bbb4d11d64008b4dd15b75f6ab453", + "size_bytes": 11660 + }, + "data/rs/gold_images/8a3c1df8710f0e6aed68ac0432a27caf7ef040afa12af58c8d2badd4b0a03ee8.png": { + "sha256": "8a3c1df8710f0e6aed68ac0432a27caf7ef040afa12af58c8d2badd4b0a03ee8", + "size_bytes": 9792 + }, + "data/rs/gold_images/8a5ec5f8e59f8593542bfa5fc1546eeda6a35e90085b0ca021ee9b696e95793f.png": { + "sha256": "8a5ec5f8e59f8593542bfa5fc1546eeda6a35e90085b0ca021ee9b696e95793f", + "size_bytes": 17114 + }, + "data/rs/gold_images/8a75d98c9fc4d3563914639b6d63c58073fefdbf06457e28473bbb5ea0550631.png": { + "sha256": "8a75d98c9fc4d3563914639b6d63c58073fefdbf06457e28473bbb5ea0550631", + "size_bytes": 24998 + }, + "data/rs/gold_images/8e289a408eb5aa977e79d237278a84dfe8bf07c39af7bc008e3bfccc98706c99.png": { + "sha256": "8e289a408eb5aa977e79d237278a84dfe8bf07c39af7bc008e3bfccc98706c99", + "size_bytes": 94124 + }, + "data/rs/gold_images/8e8d00dcbfa427abda59336b7ef912b1b04c0c77e880edc550bd29b9933388f3.png": { + "sha256": "8e8d00dcbfa427abda59336b7ef912b1b04c0c77e880edc550bd29b9933388f3", + "size_bytes": 25185 + }, + "data/rs/gold_images/8f6cd6d99f0fda2671ce36c8032946a96a5272ca845dda8c936d2629e88791f3.png": { + "sha256": "8f6cd6d99f0fda2671ce36c8032946a96a5272ca845dda8c936d2629e88791f3", + "size_bytes": 10802 + }, + "data/rs/gold_images/938ea3e08d6e42e08317be9e2eeff6c33f9a0b19fe2b7956881e8de92f69dbeb.png": { + "sha256": "938ea3e08d6e42e08317be9e2eeff6c33f9a0b19fe2b7956881e8de92f69dbeb", + "size_bytes": 18200 + }, + "data/rs/gold_images/946907f33b739751ec256809c22c1bbb8991dd52ddb7b5fd52328867f57ae6e9.png": { + "sha256": "946907f33b739751ec256809c22c1bbb8991dd52ddb7b5fd52328867f57ae6e9", + "size_bytes": 79339 + }, + "data/rs/gold_images/9534a866b05edf38491fdfe2c04eb5d778a259a3a0e4c20f96fd8479fd88f56e.png": { + "sha256": "9534a866b05edf38491fdfe2c04eb5d778a259a3a0e4c20f96fd8479fd88f56e", + "size_bytes": 10986 + }, + "data/rs/gold_images/98e38274ecae7dbba8e5e3885dde030cf4c123268cb46dde4eabe822a8c74e05.png": { + "sha256": "98e38274ecae7dbba8e5e3885dde030cf4c123268cb46dde4eabe822a8c74e05", + "size_bytes": 33444 + }, + "data/rs/gold_images/9bcde61ec01ea25c7a1dc4f6f7d27ffb8652b08457f254fc3d126dfdef2db30d.png": { + "sha256": "9bcde61ec01ea25c7a1dc4f6f7d27ffb8652b08457f254fc3d126dfdef2db30d", + "size_bytes": 70702 + }, + "data/rs/gold_images/a0773ca599dae91d4af8263cc2e454e14709020ac4ab308a37b550edee5a6f3c.png": { + "sha256": "a0773ca599dae91d4af8263cc2e454e14709020ac4ab308a37b550edee5a6f3c", + "size_bytes": 14120 + }, + "data/rs/gold_images/a5b802978d09d3b5f98435d8012a5aec0743b3312756d6121225c92bd8b2726b.png": { + "sha256": "a5b802978d09d3b5f98435d8012a5aec0743b3312756d6121225c92bd8b2726b", + "size_bytes": 17306 + }, + "data/rs/gold_images/a5fff2289c1d7912f905fcd6abc00b527938c874bd54accf873178a683232c2f.png": { + "sha256": "a5fff2289c1d7912f905fcd6abc00b527938c874bd54accf873178a683232c2f", + "size_bytes": 16573 + }, + "data/rs/gold_images/a602d0b09b96d5262702e1eec9237092124aada9d3acfef06f2f05eb1350c809.png": { + "sha256": "a602d0b09b96d5262702e1eec9237092124aada9d3acfef06f2f05eb1350c809", + "size_bytes": 14035 + }, + "data/rs/gold_images/a652dac1357a5ef13fb69135759b7758b308a88c618455334f42d457dfa58f26.png": { + "sha256": "a652dac1357a5ef13fb69135759b7758b308a88c618455334f42d457dfa58f26", + "size_bytes": 8020 + }, + "data/rs/gold_images/a979bc90a962b6cc1bdfeb578d66b8d9a785b1162bdf79c7cc44ab7f30bf5eb5.png": { + "sha256": "a979bc90a962b6cc1bdfeb578d66b8d9a785b1162bdf79c7cc44ab7f30bf5eb5", + "size_bytes": 11247 + }, + "data/rs/gold_images/a9973b04d01afeaa2a2541c9fc35c1b34e35d099cda6c8496ac079307e4407d4.png": { + "sha256": "a9973b04d01afeaa2a2541c9fc35c1b34e35d099cda6c8496ac079307e4407d4", + "size_bytes": 16098 + }, + "data/rs/gold_images/abbdf270bf4d36856cef640286c9dba27b67272d57d3d890a69315d34668a22f.png": { + "sha256": "abbdf270bf4d36856cef640286c9dba27b67272d57d3d890a69315d34668a22f", + "size_bytes": 12435 + }, + "data/rs/gold_images/b225d1fcc233f65ae8aef82a37ee25051120ad9b5f0b9890f5036e316df3b50c.png": { + "sha256": "b225d1fcc233f65ae8aef82a37ee25051120ad9b5f0b9890f5036e316df3b50c", + "size_bytes": 13972 + }, + "data/rs/gold_images/b34af75307a99a69009df9ac6b753c883683ca4a9f46a1104bed81eb123ad450.png": { + "sha256": "b34af75307a99a69009df9ac6b753c883683ca4a9f46a1104bed81eb123ad450", + "size_bytes": 9678 + }, + "data/rs/gold_images/b6e8378fa8a44525acbbdb53baee23c6c94027dd6e42b8e3392c377c41eb4598.png": { + "sha256": "b6e8378fa8a44525acbbdb53baee23c6c94027dd6e42b8e3392c377c41eb4598", + "size_bytes": 8308 + }, + "data/rs/gold_images/b8fb207a538ab6cae736eeec4b929ed00676043a152f88de66141d9ccb6a2304.png": { + "sha256": "b8fb207a538ab6cae736eeec4b929ed00676043a152f88de66141d9ccb6a2304", + "size_bytes": 14723 + }, + "data/rs/gold_images/bb613f06d4b5a686bda75944c6b9c80a910f5ab4bcf3cf7ef1c4cc4130ce3ad9.png": { + "sha256": "bb613f06d4b5a686bda75944c6b9c80a910f5ab4bcf3cf7ef1c4cc4130ce3ad9", + "size_bytes": 12280 + }, + "data/rs/gold_images/be0a938f76c6fb361c2e129c280faf97741737b33296e26a6efe703a5131b2b8.png": { + "sha256": "be0a938f76c6fb361c2e129c280faf97741737b33296e26a6efe703a5131b2b8", + "size_bytes": 7179 + }, + "data/rs/gold_images/c3384ed7416610d7280967783ac285b6892a5d8773c12a5687afe6862186029c.png": { + "sha256": "c3384ed7416610d7280967783ac285b6892a5d8773c12a5687afe6862186029c", + "size_bytes": 21080 + }, + "data/rs/gold_images/c4d53ca546478138d98336667e553f2eeb0d992b9bf0834accf2016b5a517a9b.png": { + "sha256": "c4d53ca546478138d98336667e553f2eeb0d992b9bf0834accf2016b5a517a9b", + "size_bytes": 19106 + }, + "data/rs/gold_images/c814a9733cfa28945680f0722377d3b94720b100670834505edc5855f33802df.png": { + "sha256": "c814a9733cfa28945680f0722377d3b94720b100670834505edc5855f33802df", + "size_bytes": 12788 + }, + "data/rs/gold_images/c9f58487ed2846b621da04a181f1613f0cafff7e1a67e282278de685586eb79c.png": { + "sha256": "c9f58487ed2846b621da04a181f1613f0cafff7e1a67e282278de685586eb79c", + "size_bytes": 15407 + }, + "data/rs/gold_images/cd408f53e0d23bdbb3668ffd48968becd5a2997b211be76995c6ae68bd01072f.png": { + "sha256": "cd408f53e0d23bdbb3668ffd48968becd5a2997b211be76995c6ae68bd01072f", + "size_bytes": 78201 + }, + "data/rs/gold_images/ce46798de996ca12a5d62e249d60a213d8c028156d1e81c95c9afa2837ba4366.png": { + "sha256": "ce46798de996ca12a5d62e249d60a213d8c028156d1e81c95c9afa2837ba4366", + "size_bytes": 8572 + }, + "data/rs/gold_images/cfc97ae01a8f2c6f23bac9be56159c8ac86ba596d530080d33b052729a1e6275.png": { + "sha256": "cfc97ae01a8f2c6f23bac9be56159c8ac86ba596d530080d33b052729a1e6275", + "size_bytes": 11459 + }, + "data/rs/gold_images/cfd3ca6dafea05ddd4844e798880c1a732416565dd7d7514d9a20cfd0ce5c861.png": { + "sha256": "cfd3ca6dafea05ddd4844e798880c1a732416565dd7d7514d9a20cfd0ce5c861", + "size_bytes": 7746 + }, + "data/rs/gold_images/d00216e9bfece6c4ea919d8456cf2794b0e792d3ed376be9892fbd3935de1428.png": { + "sha256": "d00216e9bfece6c4ea919d8456cf2794b0e792d3ed376be9892fbd3935de1428", + "size_bytes": 96964 + }, + "data/rs/gold_images/d0ec47889a318292a47d4cfd36cfae2b42cecf94e2c94eea0ce7b21717ece1f2.png": { + "sha256": "d0ec47889a318292a47d4cfd36cfae2b42cecf94e2c94eea0ce7b21717ece1f2", + "size_bytes": 81680 + }, + "data/rs/gold_images/d359c5f765c625b2a7e5195a800b5467bb2d5fe69380a214f5d0a50612ed56cb.png": { + "sha256": "d359c5f765c625b2a7e5195a800b5467bb2d5fe69380a214f5d0a50612ed56cb", + "size_bytes": 26002 + }, + "data/rs/gold_images/d41525b52d1c20e61ab0e41f11d22496325bade1298bff86af7dacbe747db493.png": { + "sha256": "d41525b52d1c20e61ab0e41f11d22496325bade1298bff86af7dacbe747db493", + "size_bytes": 434106 + }, + "data/rs/gold_images/d7f6d1daac32a2be624dd010ad34e0b2ed82c2f2596c4cc996f2e28e31460863.png": { + "sha256": "d7f6d1daac32a2be624dd010ad34e0b2ed82c2f2596c4cc996f2e28e31460863", + "size_bytes": 12928 + }, + "data/rs/gold_images/da8a8ffbdcf2636444e19ce1eb50867a5c61f555b50fa6cfcb4b41a432846b9f.png": { + "sha256": "da8a8ffbdcf2636444e19ce1eb50867a5c61f555b50fa6cfcb4b41a432846b9f", + "size_bytes": 7175 + }, + "data/rs/gold_images/e2e4a1429901d1be6456839e487b023d99765d1b3dd9291ebb29bc3a2f745adf.png": { + "sha256": "e2e4a1429901d1be6456839e487b023d99765d1b3dd9291ebb29bc3a2f745adf", + "size_bytes": 18350 + }, + "data/rs/gold_images/e55d2ca4ff25bea3539b1d574c70882d4440ee406d4951265fd93078290fba59.png": { + "sha256": "e55d2ca4ff25bea3539b1d574c70882d4440ee406d4951265fd93078290fba59", + "size_bytes": 13701 + }, + "data/rs/gold_images/e62e48b156b6c957895a7a2d264357c1088de501bd4bed71fa1d35aa4910a516.png": { + "sha256": "e62e48b156b6c957895a7a2d264357c1088de501bd4bed71fa1d35aa4910a516", + "size_bytes": 26709 + }, + "data/rs/gold_images/e6b16c46837a48b00fcc47c23ef7df256b0835363880fd93a58cd97a316543eb.png": { + "sha256": "e6b16c46837a48b00fcc47c23ef7df256b0835363880fd93a58cd97a316543eb", + "size_bytes": 9032 + }, + "data/rs/gold_images/e8488f4a9687aa7c15e8014dd5dbc86afd891f548bd39bb8848bcdc25a503fc6.png": { + "sha256": "e8488f4a9687aa7c15e8014dd5dbc86afd891f548bd39bb8848bcdc25a503fc6", + "size_bytes": 10128 + }, + "data/rs/gold_images/e948b3374ab70089c921b6a81bdc8325bf7c08e5840175118ea23014a4f3b7d5.png": { + "sha256": "e948b3374ab70089c921b6a81bdc8325bf7c08e5840175118ea23014a4f3b7d5", + "size_bytes": 10282 + }, + "data/rs/gold_images/ea1d5392b3c935343c3edeab3c0e4d44aec1ef4fcb26886c372bce96e8b97f50.png": { + "sha256": "ea1d5392b3c935343c3edeab3c0e4d44aec1ef4fcb26886c372bce96e8b97f50", + "size_bytes": 8454 + }, + "data/rs/gold_images/eb5e2157a011e08f5ba93fadd0dec699dba719ff7308fdedc7275c703f9b0a6f.png": { + "sha256": "eb5e2157a011e08f5ba93fadd0dec699dba719ff7308fdedc7275c703f9b0a6f", + "size_bytes": 58703 + }, + "data/rs/gold_images/f084ccb16d538d938f6da6e3c9a3ea95485415ae70b1902905d84bbd0e91bf5f.png": { + "sha256": "f084ccb16d538d938f6da6e3c9a3ea95485415ae70b1902905d84bbd0e91bf5f", + "size_bytes": 23957 + }, + "data/rs/gold_images/f1ccae0cd67e187bb0efd873863d624f38bf2c9fa6100a2e37a6c3988155fe7f.png": { + "sha256": "f1ccae0cd67e187bb0efd873863d624f38bf2c9fa6100a2e37a6c3988155fe7f", + "size_bytes": 18724 + }, + "data/rs/gold_images/f3479233410c32b05db9543d956e27c7fbf9f30ea462947ac4a1ccdc2ac07c8e.png": { + "sha256": "f3479233410c32b05db9543d956e27c7fbf9f30ea462947ac4a1ccdc2ac07c8e", + "size_bytes": 16386 + }, + "data/rs/gold_images/f7ae62140e8a0b76d88764e7fa096fe5330db5ab080f161c24829b282286561b.png": { + "sha256": "f7ae62140e8a0b76d88764e7fa096fe5330db5ab080f161c24829b282286561b", + "size_bytes": 18477 + }, + "data/rs/gold_images/f7e4a45a6e897b84afc2be1bbb885c102c13e8fbd0f40cc616a1fc249b205eff.png": { + "sha256": "f7e4a45a6e897b84afc2be1bbb885c102c13e8fbd0f40cc616a1fc249b205eff", + "size_bytes": 21424 + }, + "data/rs/gold_images/fa64f99c711642035bb642639ea47a13b174db129671896ec26e106b05685861.png": { + "sha256": "fa64f99c711642035bb642639ea47a13b174db129671896ec26e106b05685861", + "size_bytes": 18270 + }, + "data/rs/gold_images/fdf1f0e88ce266d278f99f9ea56e1b987579a71cf06bad355dfc05396f0a94ec.png": { + "sha256": "fdf1f0e88ce266d278f99f9ea56e1b987579a71cf06bad355dfc05396f0a94ec", + "size_bytes": 5893 + }, + "data/rs/gold_images/fe1bcf6eb035ecc76dcff9f7a445e09a1dffa321f415e3b920c622c50b0829aa.png": { + "sha256": "fe1bcf6eb035ecc76dcff9f7a445e09a1dffa321f415e3b920c622c50b0829aa", + "size_bytes": 11895 + }, + "data/rs/gold_images/feb4a5e2f7bb59db32a3ea730cf82082efbaf3391e6203c10df8b30090d8856f.png": { + "sha256": "feb4a5e2f7bb59db32a3ea730cf82082efbaf3391e6203c10df8b30090d8856f", + "size_bytes": 13634 + }, + "data/rs/gold_images/ff2bf9cc19d5cfb7111d0262fc1ccf15f2ecc27b04ecae7cc11804afe699dcc7.png": { + "sha256": "ff2bf9cc19d5cfb7111d0262fc1ccf15f2ecc27b04ecae7cc11804afe699dcc7", + "size_bytes": 17785 + }, + "data/rs/gold_images.jsonl": { + "sha256": "de037533606c19b9458723b9fe3449629c22866593bc7ba092036368f8bba697", + "size_bytes": 48774 + }, + "data/rs/images/0031cccbb8c884a195bc11e0d2c3af49c6bb80a9fdf5c1c812d19dc8c0393f06.png": { + "sha256": "0031cccbb8c884a195bc11e0d2c3af49c6bb80a9fdf5c1c812d19dc8c0393f06", + "size_bytes": 10992 + }, + "data/rs/images/007787e293cd426b9821a6218a31020d52bcc4d4f86efe26e699c64d96d98224.png": { + "sha256": "007787e293cd426b9821a6218a31020d52bcc4d4f86efe26e699c64d96d98224", + "size_bytes": 12545 + }, + "data/rs/images/015d3fcdac886f2ae0542d24493fb00e21e451c1ffddce882efbf1cf17da5e6e.png": { + "sha256": "015d3fcdac886f2ae0542d24493fb00e21e451c1ffddce882efbf1cf17da5e6e", + "size_bytes": 16984 + }, + "data/rs/images/03996ede21f2a9b5c244648127a7db557f0fb3c84b751633195b5b790a6a38a8.png": { + "sha256": "03996ede21f2a9b5c244648127a7db557f0fb3c84b751633195b5b790a6a38a8", + "size_bytes": 8390 + }, + "data/rs/images/0421616187ae114e05021b7d91ce6228dbf9d9e6902380673ae169a48a45e239.png": { + "sha256": "0421616187ae114e05021b7d91ce6228dbf9d9e6902380673ae169a48a45e239", + "size_bytes": 18264 + }, + "data/rs/images/059b2ac3c28f9a69a43d186dea79c0f2a4d9a0b5e147c9133f739c349c24293f.png": { + "sha256": "059b2ac3c28f9a69a43d186dea79c0f2a4d9a0b5e147c9133f739c349c24293f", + "size_bytes": 20791 + }, + "data/rs/images/06816d37370901c38e4581641bf62b6d428feb354e184c425763cf8a3e20835d.png": { + "sha256": "06816d37370901c38e4581641bf62b6d428feb354e184c425763cf8a3e20835d", + "size_bytes": 18245 + }, + "data/rs/images/075748b5e772e240de6a1dc7fb79d0cbaf89e9fc80ae0b6b55b537463d71da9f.png": { + "sha256": "075748b5e772e240de6a1dc7fb79d0cbaf89e9fc80ae0b6b55b537463d71da9f", + "size_bytes": 28280 + }, + "data/rs/images/08ac8152084b99a4dd7e0157ab92d0560e06e4e1f8f88bc6d7d014fc3fd371ad.png": { + "sha256": "08ac8152084b99a4dd7e0157ab92d0560e06e4e1f8f88bc6d7d014fc3fd371ad", + "size_bytes": 10969 + }, + "data/rs/images/0982d1a4026171d380791baba4c5bfb8f876b1282c801650598b894eeccfef7c.png": { + "sha256": "0982d1a4026171d380791baba4c5bfb8f876b1282c801650598b894eeccfef7c", + "size_bytes": 19540 + }, + "data/rs/images/0993a691b7a4b01872355defc270864d6aed3e6729e3fee6b8d8298009d4a3d7.png": { + "sha256": "0993a691b7a4b01872355defc270864d6aed3e6729e3fee6b8d8298009d4a3d7", + "size_bytes": 17859 + }, + "data/rs/images/09cc969d2fa1f58275e3e2b2c2cd87605fe4723c97b4070077524046363c5ba1.png": { + "sha256": "09cc969d2fa1f58275e3e2b2c2cd87605fe4723c97b4070077524046363c5ba1", + "size_bytes": 13196 + }, + "data/rs/images/09d1913fce4c92e88bec8132828b7d7bafc63cb7bcea4358f174967bb6e4c594.png": { + "sha256": "09d1913fce4c92e88bec8132828b7d7bafc63cb7bcea4358f174967bb6e4c594", + "size_bytes": 23860 + }, + "data/rs/images/0a44f111200d096500f8f74df55168d1d210126d650d2256c97007dc2706fca5.png": { + "sha256": "0a44f111200d096500f8f74df55168d1d210126d650d2256c97007dc2706fca5", + "size_bytes": 211080 + }, + "data/rs/images/0abbd357fc55eaedc83c3bb0d39185de08ee81d4801ab1da470f0957873cd720.png": { + "sha256": "0abbd357fc55eaedc83c3bb0d39185de08ee81d4801ab1da470f0957873cd720", + "size_bytes": 12889 + }, + "data/rs/images/0ae95b8e74bac420a21cf332bdaec86cdc5083410634fc3ef8d13a29a299c143.png": { + "sha256": "0ae95b8e74bac420a21cf332bdaec86cdc5083410634fc3ef8d13a29a299c143", + "size_bytes": 7624 + }, + "data/rs/images/0b1397b814193d7b79d887920037e59b9adc84b821a34a48ffb6ca7f7c2324af.png": { + "sha256": "0b1397b814193d7b79d887920037e59b9adc84b821a34a48ffb6ca7f7c2324af", + "size_bytes": 34754 + }, + "data/rs/images/0be995ea2ffdfa8748165c9c1d4105e93a1a83530f6f4c6b7029df91e9a5e39c.png": { + "sha256": "0be995ea2ffdfa8748165c9c1d4105e93a1a83530f6f4c6b7029df91e9a5e39c", + "size_bytes": 17196 + }, + "data/rs/images/0c2cafdcb3d4c1f9a6359957f764a27bf7f21ac0588ff5ab9bd0285371dff7b2.png": { + "sha256": "0c2cafdcb3d4c1f9a6359957f764a27bf7f21ac0588ff5ab9bd0285371dff7b2", + "size_bytes": 18708 + }, + "data/rs/images/0f065950e1c7384aba968c0101210beb4c6931e35038a669327b69e2b8df69ed.png": { + "sha256": "0f065950e1c7384aba968c0101210beb4c6931e35038a669327b69e2b8df69ed", + "size_bytes": 16290 + }, + "data/rs/images/0f89686c77c80d2a181b69c1a1e2229ecd98a03703eb3799f688d9cd8d2ed3cf.png": { + "sha256": "0f89686c77c80d2a181b69c1a1e2229ecd98a03703eb3799f688d9cd8d2ed3cf", + "size_bytes": 9946 + }, + "data/rs/images/12e5d053fec226abaa6f15348c6a464eb38f0137574c2d979755309108827970.png": { + "sha256": "12e5d053fec226abaa6f15348c6a464eb38f0137574c2d979755309108827970", + "size_bytes": 12443 + }, + "data/rs/images/135086066d44f2c2466d35ffb23bcb232c25fdf1bd7345ec0c6c8fbe26f074cf.png": { + "sha256": "135086066d44f2c2466d35ffb23bcb232c25fdf1bd7345ec0c6c8fbe26f074cf", + "size_bytes": 7734 + }, + "data/rs/images/141b5028e1e48dad7d60f1bcf9146399c55b6807fe7c8c5e2c512c78c62a52f6.png": { + "sha256": "141b5028e1e48dad7d60f1bcf9146399c55b6807fe7c8c5e2c512c78c62a52f6", + "size_bytes": 12418 + }, + "data/rs/images/161f510bb3c382c0be8568d9183c920d2d7b89c7fd9e77b8abb9e0a27e6e19d8.png": { + "sha256": "161f510bb3c382c0be8568d9183c920d2d7b89c7fd9e77b8abb9e0a27e6e19d8", + "size_bytes": 9724 + }, + "data/rs/images/1631f4c6db5b8abe048b2dc74cdfb6324ba7bbf633305a964e9b277d12213a1b.png": { + "sha256": "1631f4c6db5b8abe048b2dc74cdfb6324ba7bbf633305a964e9b277d12213a1b", + "size_bytes": 17280 + }, + "data/rs/images/18fb50097789df788fad67140a02d64752008776457a8a8534d2f0a4756a4ee2.png": { + "sha256": "18fb50097789df788fad67140a02d64752008776457a8a8534d2f0a4756a4ee2", + "size_bytes": 12235 + }, + "data/rs/images/1a0c5f672e3fb36a3f78cc8371e11a7783cac7b99d15ba21d9578b0ec2f95f60.png": { + "sha256": "1a0c5f672e3fb36a3f78cc8371e11a7783cac7b99d15ba21d9578b0ec2f95f60", + "size_bytes": 15435 + }, + "data/rs/images/1bd8c4ef5d2733c4f9a85129c07d3f1d950d3ea4e01b470d1ca70a9f872c3fe7.png": { + "sha256": "1bd8c4ef5d2733c4f9a85129c07d3f1d950d3ea4e01b470d1ca70a9f872c3fe7", + "size_bytes": 19940 + }, + "data/rs/images/1bf00d041fde785520ab42b672a284b37af231dbbc6ff89d14b63c1c7946f806.png": { + "sha256": "1bf00d041fde785520ab42b672a284b37af231dbbc6ff89d14b63c1c7946f806", + "size_bytes": 24082 + }, + "data/rs/images/1c03db30e1361d7c4a403b26157577c7b32176ca3e00dfc9a47d3d691a162b1d.png": { + "sha256": "1c03db30e1361d7c4a403b26157577c7b32176ca3e00dfc9a47d3d691a162b1d", + "size_bytes": 18341 + }, + "data/rs/images/1c10456ed98c05a7b3726db653ceea92223092f99648a4182ab3b2c8663eae7b.png": { + "sha256": "1c10456ed98c05a7b3726db653ceea92223092f99648a4182ab3b2c8663eae7b", + "size_bytes": 34364 + }, + "data/rs/images/1e325e21c29c799d2a16967d6f6026bd3f9ce9acbaf09487073c53482831725e.png": { + "sha256": "1e325e21c29c799d2a16967d6f6026bd3f9ce9acbaf09487073c53482831725e", + "size_bytes": 16109 + }, + "data/rs/images/1eac77674868bfaa91ef99ae9af365eb100be8ccbc80691dbc643fbfdc592088.png": { + "sha256": "1eac77674868bfaa91ef99ae9af365eb100be8ccbc80691dbc643fbfdc592088", + "size_bytes": 26354 + }, + "data/rs/images/21a9f0bb043360287d48dd8ddc9796f4412476ab7c2140aeb27b49a5496c8188.png": { + "sha256": "21a9f0bb043360287d48dd8ddc9796f4412476ab7c2140aeb27b49a5496c8188", + "size_bytes": 26519 + }, + "data/rs/images/223cb371f58f424fc7ca6ccb1e85c40b447109fa317f5497d644de8b4628dccb.png": { + "sha256": "223cb371f58f424fc7ca6ccb1e85c40b447109fa317f5497d644de8b4628dccb", + "size_bytes": 20604 + }, + "data/rs/images/22bef666acd006dc5d5f46713a7347104dd7f9a093c1d1667c6ef1a846e47cdc.png": { + "sha256": "22bef666acd006dc5d5f46713a7347104dd7f9a093c1d1667c6ef1a846e47cdc", + "size_bytes": 13582 + }, + "data/rs/images/23c387158e9fc5cabf8ba2a2bfc1d4ef5ca1d1fdd61aba0c38afeb0f38791e28.png": { + "sha256": "23c387158e9fc5cabf8ba2a2bfc1d4ef5ca1d1fdd61aba0c38afeb0f38791e28", + "size_bytes": 20243 + }, + "data/rs/images/242f4ea723e6edb10846ba79ef91472d0d40e8aea184b384577ad07f3af74b5b.png": { + "sha256": "242f4ea723e6edb10846ba79ef91472d0d40e8aea184b384577ad07f3af74b5b", + "size_bytes": 22870 + }, + "data/rs/images/289590ccdac6714e595eb0b070e867dc4885fac9a3228aebdf1f89bcc13b649f.png": { + "sha256": "289590ccdac6714e595eb0b070e867dc4885fac9a3228aebdf1f89bcc13b649f", + "size_bytes": 71984 + }, + "data/rs/images/29c380d8eb5549de3a3e0b933668680b467559cb185c1976877474cd2e8b4020.png": { + "sha256": "29c380d8eb5549de3a3e0b933668680b467559cb185c1976877474cd2e8b4020", + "size_bytes": 18926 + }, + "data/rs/images/2ccb29718173f666297b18be248fe9cb25cccf48560a66307eeae44f27e93671.png": { + "sha256": "2ccb29718173f666297b18be248fe9cb25cccf48560a66307eeae44f27e93671", + "size_bytes": 27707 + }, + "data/rs/images/30416dab8ab35d9e1d4fb4866230d0718d93014a0ddf9bd7f07edbda7f21f623.png": { + "sha256": "30416dab8ab35d9e1d4fb4866230d0718d93014a0ddf9bd7f07edbda7f21f623", + "size_bytes": 37880 + }, + "data/rs/images/3172b7a1ac0773a9ef837122bdb847738d0d81524e8a91be17e6c923afe62af8.png": { + "sha256": "3172b7a1ac0773a9ef837122bdb847738d0d81524e8a91be17e6c923afe62af8", + "size_bytes": 13393 + }, + "data/rs/images/32a6429de39252fd6ac83ddf174b3e7a5c57f05c76de596b55028ecd407f7e55.png": { + "sha256": "32a6429de39252fd6ac83ddf174b3e7a5c57f05c76de596b55028ecd407f7e55", + "size_bytes": 22907 + }, + "data/rs/images/32fb6455acdc326ad739150df8c2306d63b20eab7ab55e96fa03dafb762e8b45.png": { + "sha256": "32fb6455acdc326ad739150df8c2306d63b20eab7ab55e96fa03dafb762e8b45", + "size_bytes": 23247 + }, + "data/rs/images/3302c58bbb02e4544b9f99d3ed9f3275bd003e08e7cc341973cb520ab9adba14.png": { + "sha256": "3302c58bbb02e4544b9f99d3ed9f3275bd003e08e7cc341973cb520ab9adba14", + "size_bytes": 20006 + }, + "data/rs/images/34b8edc0cf953fe67c4a52df6b0fe5e449abf7ed7a9bbe13f8e44c0f83d8f8ad.png": { + "sha256": "34b8edc0cf953fe67c4a52df6b0fe5e449abf7ed7a9bbe13f8e44c0f83d8f8ad", + "size_bytes": 13213 + }, + "data/rs/images/35c02979b29335ed119a8dd4d22ef2cbbe99127eb6e1b5f831a80a942915b9b5.png": { + "sha256": "35c02979b29335ed119a8dd4d22ef2cbbe99127eb6e1b5f831a80a942915b9b5", + "size_bytes": 29032 + }, + "data/rs/images/37865ebf95d5026f41759e71252228a83b6e90ad2cb4d9e562a6fd6960400300.png": { + "sha256": "37865ebf95d5026f41759e71252228a83b6e90ad2cb4d9e562a6fd6960400300", + "size_bytes": 8591 + }, + "data/rs/images/3881d2dea6a11ce90e3ad0055d2473214305eb5a45db07bc70f20a5c7a102a0e.png": { + "sha256": "3881d2dea6a11ce90e3ad0055d2473214305eb5a45db07bc70f20a5c7a102a0e", + "size_bytes": 5634 + }, + "data/rs/images/3991a3acda3f2e2bafb3a9516ac23879fa0c8841339746c3862a58dc5c13cf55.png": { + "sha256": "3991a3acda3f2e2bafb3a9516ac23879fa0c8841339746c3862a58dc5c13cf55", + "size_bytes": 40655 + }, + "data/rs/images/3aadba7cb54f7f5a008d89cc9a5cecf1148bf0014e4b7981089a7492c06ac9ed.png": { + "sha256": "3aadba7cb54f7f5a008d89cc9a5cecf1148bf0014e4b7981089a7492c06ac9ed", + "size_bytes": 202854 + }, + "data/rs/images/3c01ea8f3896fcee2525f12860421c9e7d2ee759127be41f75d2f776427ca208.png": { + "sha256": "3c01ea8f3896fcee2525f12860421c9e7d2ee759127be41f75d2f776427ca208", + "size_bytes": 28513 + }, + "data/rs/images/3c3ea5642333d721bc33b9eddfae8687615ab7a7d529a78560ea293f0bd2c212.png": { + "sha256": "3c3ea5642333d721bc33b9eddfae8687615ab7a7d529a78560ea293f0bd2c212", + "size_bytes": 24742 + }, + "data/rs/images/3c864135f46e0f21dccbdb6f9d6aceef1c02f6707fb40784ee9b9d47c1089cab.png": { + "sha256": "3c864135f46e0f21dccbdb6f9d6aceef1c02f6707fb40784ee9b9d47c1089cab", + "size_bytes": 63814 + }, + "data/rs/images/3d31639f2627665eddaec0ebb06a7aadb5f6263356b2072d9b3c002f51ebaf1d.png": { + "sha256": "3d31639f2627665eddaec0ebb06a7aadb5f6263356b2072d9b3c002f51ebaf1d", + "size_bytes": 10380 + }, + "data/rs/images/409c932a4695be91d4fef49fa350b2d7059850b630776f88110b84cf3c064a77.png": { + "sha256": "409c932a4695be91d4fef49fa350b2d7059850b630776f88110b84cf3c064a77", + "size_bytes": 15032 + }, + "data/rs/images/412c5a811512931fb4edf1067f420a5522c58f7e2943589076fe1b9320d10e7f.png": { + "sha256": "412c5a811512931fb4edf1067f420a5522c58f7e2943589076fe1b9320d10e7f", + "size_bytes": 15846 + }, + "data/rs/images/42c5639d5a499e58e522d3c118ccc7eedde1d430a2831d21ffaecd8f5324bcd6.png": { + "sha256": "42c5639d5a499e58e522d3c118ccc7eedde1d430a2831d21ffaecd8f5324bcd6", + "size_bytes": 37271 + }, + "data/rs/images/449d94fd55c2716a77bd007a7d701181ce3637fd2588d2233f439ed1b89700b2.png": { + "sha256": "449d94fd55c2716a77bd007a7d701181ce3637fd2588d2233f439ed1b89700b2", + "size_bytes": 21033 + }, + "data/rs/images/465ae9b02a5a4e342f77f43793eda8c4fdc1ad3e79d4dd5d1d77b86fedae85fc.png": { + "sha256": "465ae9b02a5a4e342f77f43793eda8c4fdc1ad3e79d4dd5d1d77b86fedae85fc", + "size_bytes": 21906 + }, + "data/rs/images/46dee678030970726eb80c54430438f2072d5cd5568a7e58202001c7659c79a0.png": { + "sha256": "46dee678030970726eb80c54430438f2072d5cd5568a7e58202001c7659c79a0", + "size_bytes": 48278 + }, + "data/rs/images/4859b6a875c523e82e39a03920b5056a615c32d6be16e71655b9c431db499d4f.png": { + "sha256": "4859b6a875c523e82e39a03920b5056a615c32d6be16e71655b9c431db499d4f", + "size_bytes": 20315 + }, + "data/rs/images/49e93a888554cd26e5d258fcd4e9055bb1aaf59458c77032258d684d67d60cbc.png": { + "sha256": "49e93a888554cd26e5d258fcd4e9055bb1aaf59458c77032258d684d67d60cbc", + "size_bytes": 27148 + }, + "data/rs/images/4b663d9c69ffea24db408a4335788c1d89b070f795fc0c58d316bb115705b1c0.png": { + "sha256": "4b663d9c69ffea24db408a4335788c1d89b070f795fc0c58d316bb115705b1c0", + "size_bytes": 25692 + }, + "data/rs/images/4c4878111491786dbc3e079f68c999ab0f82c11a86667f71ecd14e3471d8e501.png": { + "sha256": "4c4878111491786dbc3e079f68c999ab0f82c11a86667f71ecd14e3471d8e501", + "size_bytes": 12883 + }, + "data/rs/images/4d50fe20adbf03cf6df1f8d1bc6c1ecc818a515854c9a9776855fdc985e90ed9.png": { + "sha256": "4d50fe20adbf03cf6df1f8d1bc6c1ecc818a515854c9a9776855fdc985e90ed9", + "size_bytes": 10135 + }, + "data/rs/images/4e15bd62469987a7bb863b78ceb42b59f3a77ebc8e49d5296fa393bdc7d2a728.png": { + "sha256": "4e15bd62469987a7bb863b78ceb42b59f3a77ebc8e49d5296fa393bdc7d2a728", + "size_bytes": 42386 + }, + "data/rs/images/4e650ac2a3b4ac0a1aee13dd03446d5b8ac9a2018a63d4f70f2172b4c8a7d65e.png": { + "sha256": "4e650ac2a3b4ac0a1aee13dd03446d5b8ac9a2018a63d4f70f2172b4c8a7d65e", + "size_bytes": 11347 + }, + "data/rs/images/50752426129e135cbd880a22b981a3ab2e8ca96de26f5cd3402635f7857e40be.png": { + "sha256": "50752426129e135cbd880a22b981a3ab2e8ca96de26f5cd3402635f7857e40be", + "size_bytes": 110318 + }, + "data/rs/images/51e7a5fc428876ada5722dcc2ef9405fdc5720d0c2ae38c44e1ebca5fcf03b2d.png": { + "sha256": "51e7a5fc428876ada5722dcc2ef9405fdc5720d0c2ae38c44e1ebca5fcf03b2d", + "size_bytes": 13204 + }, + "data/rs/images/55952c6cf1533bc2032972c78ee1d25000b7ec387f98109c9481e89e9f590120.png": { + "sha256": "55952c6cf1533bc2032972c78ee1d25000b7ec387f98109c9481e89e9f590120", + "size_bytes": 35077 + }, + "data/rs/images/57a6ba40afd0f2e4b669fd7461b3b2be62d877023b085592e82ae91d6d671386.png": { + "sha256": "57a6ba40afd0f2e4b669fd7461b3b2be62d877023b085592e82ae91d6d671386", + "size_bytes": 16938 + }, + "data/rs/images/5a411b7de49f3e5a9bb697c4ed5da665f3f5b64aa0b842fe15c23ff8f110d1a4.png": { + "sha256": "5a411b7de49f3e5a9bb697c4ed5da665f3f5b64aa0b842fe15c23ff8f110d1a4", + "size_bytes": 9504 + }, + "data/rs/images/5ab20afb75f711d51d219f493e1ac49e0bb65a5228b9bc0da25feec9a5025d2f.png": { + "sha256": "5ab20afb75f711d51d219f493e1ac49e0bb65a5228b9bc0da25feec9a5025d2f", + "size_bytes": 78298 + }, + "data/rs/images/5d7da27656777a579096b113e65654988ea3e3afad34a46349d1f55ad87382fd.png": { + "sha256": "5d7da27656777a579096b113e65654988ea3e3afad34a46349d1f55ad87382fd", + "size_bytes": 94337 + }, + "data/rs/images/5e4a93433ba21506c28ed756e4d5d20d8b3eedb72b6c2c7c1b445e802ec852b2.png": { + "sha256": "5e4a93433ba21506c28ed756e4d5d20d8b3eedb72b6c2c7c1b445e802ec852b2", + "size_bytes": 40961 + }, + "data/rs/images/5f9169aebcc127d8f115884ed495b13b38e3f2821dd1366c9b12b7661e79c3a2.png": { + "sha256": "5f9169aebcc127d8f115884ed495b13b38e3f2821dd1366c9b12b7661e79c3a2", + "size_bytes": 316997 + }, + "data/rs/images/5fa4aa578f4511f854041bd135e678ca7b20f2de27e17fe964d7c850d49d5600.png": { + "sha256": "5fa4aa578f4511f854041bd135e678ca7b20f2de27e17fe964d7c850d49d5600", + "size_bytes": 48622 + }, + "data/rs/images/5febe9bff1c2d75a0d265d3f750b6b24dc7dd928a821cbeab066da2c431df506.png": { + "sha256": "5febe9bff1c2d75a0d265d3f750b6b24dc7dd928a821cbeab066da2c431df506", + "size_bytes": 15232 + }, + "data/rs/images/608a6f76f3ca1a6f79d43216a13eb254a2381027ed1f6cc7a952609d27bbf68e.png": { + "sha256": "608a6f76f3ca1a6f79d43216a13eb254a2381027ed1f6cc7a952609d27bbf68e", + "size_bytes": 28298 + }, + "data/rs/images/61d1f3bcca5faee281f6b45ebe7f1f642f92778c9bb86232c94463881d347206.png": { + "sha256": "61d1f3bcca5faee281f6b45ebe7f1f642f92778c9bb86232c94463881d347206", + "size_bytes": 9224 + }, + "data/rs/images/61dbf3d36bfab972078d311ab601015e4387550d8fd9f8e531a3e77c2fa8d5e6.png": { + "sha256": "61dbf3d36bfab972078d311ab601015e4387550d8fd9f8e531a3e77c2fa8d5e6", + "size_bytes": 18206 + }, + "data/rs/images/62e7cd03bb9c77444f1ab6e047ec8e5f40bdcf76a782a90c27252174aa9e05e1.png": { + "sha256": "62e7cd03bb9c77444f1ab6e047ec8e5f40bdcf76a782a90c27252174aa9e05e1", + "size_bytes": 10271 + }, + "data/rs/images/62f108381fbd81acce5182f2efbe55601868a47aff52153f2385abc223b45dc1.png": { + "sha256": "62f108381fbd81acce5182f2efbe55601868a47aff52153f2385abc223b45dc1", + "size_bytes": 23053 + }, + "data/rs/images/63e3847195452cc64f7e56f5fb4e386aaf16d6f07b136311f45acc62b9584289.png": { + "sha256": "63e3847195452cc64f7e56f5fb4e386aaf16d6f07b136311f45acc62b9584289", + "size_bytes": 14541 + }, + "data/rs/images/6466345727db1cc2106027f4458b4a222a2fa53743f406ead39425363018dcd8.png": { + "sha256": "6466345727db1cc2106027f4458b4a222a2fa53743f406ead39425363018dcd8", + "size_bytes": 58516 + }, + "data/rs/images/65f7d4909260a99d2a8ca2ea02a8b7e932531ee696b8be5cda20a9f1efc01b8b.png": { + "sha256": "65f7d4909260a99d2a8ca2ea02a8b7e932531ee696b8be5cda20a9f1efc01b8b", + "size_bytes": 10013 + }, + "data/rs/images/671d87e793a34dba601177a27e0c3d4d5b215e1f122bd2daff630db549c15954.png": { + "sha256": "671d87e793a34dba601177a27e0c3d4d5b215e1f122bd2daff630db549c15954", + "size_bytes": 12913 + }, + "data/rs/images/6795d5c3d792024160a04e995efbac958848d12096ce9036a928ffc81d37cd76.png": { + "sha256": "6795d5c3d792024160a04e995efbac958848d12096ce9036a928ffc81d37cd76", + "size_bytes": 15438 + }, + "data/rs/images/67974db7cd098b24f6134abb055053470202a2c285d2cc9ce24a5953ed639698.png": { + "sha256": "67974db7cd098b24f6134abb055053470202a2c285d2cc9ce24a5953ed639698", + "size_bytes": 11956 + }, + "data/rs/images/686d6886fa9dbbcfb90022725e38d977f86513a06980af146b9b8f834c7d4481.png": { + "sha256": "686d6886fa9dbbcfb90022725e38d977f86513a06980af146b9b8f834c7d4481", + "size_bytes": 7562 + }, + "data/rs/images/68cc352ea4cb675b9499f95c642ba2fa70cbbc5ba96a1c0ac37d228c60321564.png": { + "sha256": "68cc352ea4cb675b9499f95c642ba2fa70cbbc5ba96a1c0ac37d228c60321564", + "size_bytes": 15657 + }, + "data/rs/images/6af099b3063c90600a43b9855b5c0895414d37b6929ff046d5baac39ec65dc79.png": { + "sha256": "6af099b3063c90600a43b9855b5c0895414d37b6929ff046d5baac39ec65dc79", + "size_bytes": 17588 + }, + "data/rs/images/6b9edcc607b4c45b00f357b01811170cc5abda00e005eb516f1f296791f5ad07.png": { + "sha256": "6b9edcc607b4c45b00f357b01811170cc5abda00e005eb516f1f296791f5ad07", + "size_bytes": 166038 + }, + "data/rs/images/6bc8dd813e1ad322e7e808e85642b4f42165f1385c6752e71a4248590e36d48d.png": { + "sha256": "6bc8dd813e1ad322e7e808e85642b4f42165f1385c6752e71a4248590e36d48d", + "size_bytes": 17222 + }, + "data/rs/images/6c7ad5c54664da7554ef393cc1ec3bd43e35d06519bab4f4af0b157a27c127b0.png": { + "sha256": "6c7ad5c54664da7554ef393cc1ec3bd43e35d06519bab4f4af0b157a27c127b0", + "size_bytes": 10388 + }, + "data/rs/images/6da67ef0940fa3b85833e11128f633c0b9a2cb4d10f0867be4b7d9bb84d4580d.png": { + "sha256": "6da67ef0940fa3b85833e11128f633c0b9a2cb4d10f0867be4b7d9bb84d4580d", + "size_bytes": 176688 + }, + "data/rs/images/6e73491ff999c2aaef56bed6f11673b36f78c053ce18f5b5f9f6c55333462922.png": { + "sha256": "6e73491ff999c2aaef56bed6f11673b36f78c053ce18f5b5f9f6c55333462922", + "size_bytes": 9245 + }, + "data/rs/images/7061f103638abb61947f36e389b6ee5e9856dd3887dba7903096f2528b656f88.png": { + "sha256": "7061f103638abb61947f36e389b6ee5e9856dd3887dba7903096f2528b656f88", + "size_bytes": 105027 + }, + "data/rs/images/71025f037a460e901f760e6abf0111b896b420a8a30f3f8c0eba6f01a64b528b.png": { + "sha256": "71025f037a460e901f760e6abf0111b896b420a8a30f3f8c0eba6f01a64b528b", + "size_bytes": 31211 + }, + "data/rs/images/7200135807012a08d6fd2b18369c6e0676f92eb223d75f28d6cc208383f99d9a.png": { + "sha256": "7200135807012a08d6fd2b18369c6e0676f92eb223d75f28d6cc208383f99d9a", + "size_bytes": 74954 + }, + "data/rs/images/7347e29001483bea37ffff9487abb796c2b9852256bf30a2fde9c4f36c08192f.png": { + "sha256": "7347e29001483bea37ffff9487abb796c2b9852256bf30a2fde9c4f36c08192f", + "size_bytes": 12495 + }, + "data/rs/images/74addf4e021468bf9e6af5285f6fb2ad3498b674c046a86a4a609e8e881a5918.png": { + "sha256": "74addf4e021468bf9e6af5285f6fb2ad3498b674c046a86a4a609e8e881a5918", + "size_bytes": 16929 + }, + "data/rs/images/7574c0b8e4e6ee0fa88b2c0eae1c7898de14fb931704e6c133e686ccc41bbc22.png": { + "sha256": "7574c0b8e4e6ee0fa88b2c0eae1c7898de14fb931704e6c133e686ccc41bbc22", + "size_bytes": 8154 + }, + "data/rs/images/75832bbdc3f36252137c9b251f4a09ef7d97865735e57156c44a130346db1762.png": { + "sha256": "75832bbdc3f36252137c9b251f4a09ef7d97865735e57156c44a130346db1762", + "size_bytes": 10785 + }, + "data/rs/images/769a37e64c626cec65c6358217c54c512b1681b71eb519251863e6c9ad17b8c1.png": { + "sha256": "769a37e64c626cec65c6358217c54c512b1681b71eb519251863e6c9ad17b8c1", + "size_bytes": 20201 + }, + "data/rs/images/76a532d4c0766c9c3f657993665d014a230a06837d15fbaf692d097f40c45a34.png": { + "sha256": "76a532d4c0766c9c3f657993665d014a230a06837d15fbaf692d097f40c45a34", + "size_bytes": 13387 + }, + "data/rs/images/79282ade7c0b3f8efe22db2d01fb9fc642569d5ce7ad41c5105d2a14ddb10bc3.png": { + "sha256": "79282ade7c0b3f8efe22db2d01fb9fc642569d5ce7ad41c5105d2a14ddb10bc3", + "size_bytes": 15362 + }, + "data/rs/images/7a4319e4ef762b838ce75a025e39a3130f6bd6452d05efeb88202449c072d0e5.png": { + "sha256": "7a4319e4ef762b838ce75a025e39a3130f6bd6452d05efeb88202449c072d0e5", + "size_bytes": 14630 + }, + "data/rs/images/7ad16b5a9fc11887bab16b822badc6eae6630945617170c7c1ab5231daf231cd.png": { + "sha256": "7ad16b5a9fc11887bab16b822badc6eae6630945617170c7c1ab5231daf231cd", + "size_bytes": 21467 + }, + "data/rs/images/7d55f4458229ccd337683c468495e2e055a8e7214d76be059859befe21cf5753.png": { + "sha256": "7d55f4458229ccd337683c468495e2e055a8e7214d76be059859befe21cf5753", + "size_bytes": 39248 + }, + "data/rs/images/7da67de7b1e3212d91b0f24d8f706daf3c41da4aa3f83d613c4ff6e92ddba2aa.png": { + "sha256": "7da67de7b1e3212d91b0f24d8f706daf3c41da4aa3f83d613c4ff6e92ddba2aa", + "size_bytes": 15277 + }, + "data/rs/images/7e79bb0267952322c4599edeca1081baface385479060f81fa9a23b3487d84df.png": { + "sha256": "7e79bb0267952322c4599edeca1081baface385479060f81fa9a23b3487d84df", + "size_bytes": 18395 + }, + "data/rs/images/7fb755c155a80496e3fcd2337798f09b18f2a72ba5325f9f86854fedbaf410cb.png": { + "sha256": "7fb755c155a80496e3fcd2337798f09b18f2a72ba5325f9f86854fedbaf410cb", + "size_bytes": 22372 + }, + "data/rs/images/8477ef43154b91fc69f90e9d09f21040e56790cbd668f21d54e3d0e9eecd92c0.png": { + "sha256": "8477ef43154b91fc69f90e9d09f21040e56790cbd668f21d54e3d0e9eecd92c0", + "size_bytes": 26750 + }, + "data/rs/images/84a070919091e2ca4d4abc1236d5d3f0c6ab3d6759fd5bdc68857b759e19e1b0.png": { + "sha256": "84a070919091e2ca4d4abc1236d5d3f0c6ab3d6759fd5bdc68857b759e19e1b0", + "size_bytes": 8295 + }, + "data/rs/images/854722686c46a2da359a02ed0995e9f00cc88c2dfd680c5a9c6d61dd5b814a88.png": { + "sha256": "854722686c46a2da359a02ed0995e9f00cc88c2dfd680c5a9c6d61dd5b814a88", + "size_bytes": 16296 + }, + "data/rs/images/858dfe098acd20a7eb77cd92511a2fbb24a99593bb7dafa8d68109bf49704ef9.png": { + "sha256": "858dfe098acd20a7eb77cd92511a2fbb24a99593bb7dafa8d68109bf49704ef9", + "size_bytes": 8341 + }, + "data/rs/images/8d23f6db6e03e8118dc4cc6653ef3c5a2c607289fdb1ddffce5c109174468429.png": { + "sha256": "8d23f6db6e03e8118dc4cc6653ef3c5a2c607289fdb1ddffce5c109174468429", + "size_bytes": 16071 + }, + "data/rs/images/8e82106998ad34b61007d1aac5c8ea3473b2609c60e86857d00f011bc3e1729b.png": { + "sha256": "8e82106998ad34b61007d1aac5c8ea3473b2609c60e86857d00f011bc3e1729b", + "size_bytes": 10453 + }, + "data/rs/images/91d34a530263cbc553a8f70ffab276813898e0744d279cc06210f55611c12bde.png": { + "sha256": "91d34a530263cbc553a8f70ffab276813898e0744d279cc06210f55611c12bde", + "size_bytes": 18577 + }, + "data/rs/images/92232f858af48b209c8365aded65e5bf2cdd91788307b17d141e9d6845d1c29a.png": { + "sha256": "92232f858af48b209c8365aded65e5bf2cdd91788307b17d141e9d6845d1c29a", + "size_bytes": 11029 + }, + "data/rs/images/928dfd28355e5d26a04d8bcd5a1fdd67cd0ed614febd6ab962a680811f960b44.png": { + "sha256": "928dfd28355e5d26a04d8bcd5a1fdd67cd0ed614febd6ab962a680811f960b44", + "size_bytes": 17209 + }, + "data/rs/images/93943d680d5faca69fb0a64cfe01288d1d1740f00c66c00e1d5ad55642f8c5e7.png": { + "sha256": "93943d680d5faca69fb0a64cfe01288d1d1740f00c66c00e1d5ad55642f8c5e7", + "size_bytes": 23522 + }, + "data/rs/images/93ba9fb08b0713fa6d3d33727e5460a9d4f20c30d4357f1fc8ab44a567968278.png": { + "sha256": "93ba9fb08b0713fa6d3d33727e5460a9d4f20c30d4357f1fc8ab44a567968278", + "size_bytes": 12195 + }, + "data/rs/images/93e75139ad69442b4869276e3f1e910d76f6237db5ae4a9707be5567493275e9.png": { + "sha256": "93e75139ad69442b4869276e3f1e910d76f6237db5ae4a9707be5567493275e9", + "size_bytes": 71980 + }, + "data/rs/images/94b0242f4df4f31bab06daa3785c9324d55c6798d3f7e27b98804f32360b7407.png": { + "sha256": "94b0242f4df4f31bab06daa3785c9324d55c6798d3f7e27b98804f32360b7407", + "size_bytes": 6995 + }, + "data/rs/images/94f055d448f166184ec94531e000483ff23893ccfa92e50d862973a516fa3157.png": { + "sha256": "94f055d448f166184ec94531e000483ff23893ccfa92e50d862973a516fa3157", + "size_bytes": 13004 + }, + "data/rs/images/97dfda7cf3478eb41140de581e0436894751704f8354cfdbd7d1f789281c5702.png": { + "sha256": "97dfda7cf3478eb41140de581e0436894751704f8354cfdbd7d1f789281c5702", + "size_bytes": 22668 + }, + "data/rs/images/98cb57e6f5a846cd9309cbaa9da91ba824120dd5b844a35a0e270ddc283d6b45.png": { + "sha256": "98cb57e6f5a846cd9309cbaa9da91ba824120dd5b844a35a0e270ddc283d6b45", + "size_bytes": 13854 + }, + "data/rs/images/998e0447abc4730d270394471b8c4bdf72b3cb7aba5b52423cdf5cafe4ab30f8.png": { + "sha256": "998e0447abc4730d270394471b8c4bdf72b3cb7aba5b52423cdf5cafe4ab30f8", + "size_bytes": 27106 + }, + "data/rs/images/9e364f1a6ba6fd1b188c0a2f21247ed6cef8438a43aaca4daf05401a14ac4667.png": { + "sha256": "9e364f1a6ba6fd1b188c0a2f21247ed6cef8438a43aaca4daf05401a14ac4667", + "size_bytes": 27225 + }, + "data/rs/images/9f0ccdfa66d28bbfb6f12e97a41d96e2a28692fed208e91734314947d2367f11.png": { + "sha256": "9f0ccdfa66d28bbfb6f12e97a41d96e2a28692fed208e91734314947d2367f11", + "size_bytes": 25536 + }, + "data/rs/images/9fdd909994610be3713614169f1329d7cedfc07fe36a4f6f175ae86b7b118571.png": { + "sha256": "9fdd909994610be3713614169f1329d7cedfc07fe36a4f6f175ae86b7b118571", + "size_bytes": 11386 + }, + "data/rs/images/9ff94eca9516a0a837e41fe46eea0c39af3d8b057088d3c618e92f0d78941d4c.png": { + "sha256": "9ff94eca9516a0a837e41fe46eea0c39af3d8b057088d3c618e92f0d78941d4c", + "size_bytes": 39301 + }, + "data/rs/images/a02b21e8e8b5ee48d90e5f453d5c7507783a3abbd67e0c16dd53ba662f5e673f.png": { + "sha256": "a02b21e8e8b5ee48d90e5f453d5c7507783a3abbd67e0c16dd53ba662f5e673f", + "size_bytes": 72147 + }, + "data/rs/images/a07185d425063699136054cc2b5513c23e35de9ed286812fa57a5e2b2f5b2af9.png": { + "sha256": "a07185d425063699136054cc2b5513c23e35de9ed286812fa57a5e2b2f5b2af9", + "size_bytes": 18521 + }, + "data/rs/images/a0a05696fa5d2fca6e22979876a7e5248cc97f153b870fa5f26afba4b31e19c3.png": { + "sha256": "a0a05696fa5d2fca6e22979876a7e5248cc97f153b870fa5f26afba4b31e19c3", + "size_bytes": 26801 + }, + "data/rs/images/a26701206351ac71883425979d60ffe5539962aee216681a9c4d22f9959823f6.png": { + "sha256": "a26701206351ac71883425979d60ffe5539962aee216681a9c4d22f9959823f6", + "size_bytes": 18071 + }, + "data/rs/images/a556097fa57582b1b2abf38b6c7b45381ee7b217ca181514a29e46ff054f2f10.png": { + "sha256": "a556097fa57582b1b2abf38b6c7b45381ee7b217ca181514a29e46ff054f2f10", + "size_bytes": 17305 + }, + "data/rs/images/a5dc4607cbf53eb4b63293ba72f51e996a8de25feed9ed5bcc63b9d2f737012d.png": { + "sha256": "a5dc4607cbf53eb4b63293ba72f51e996a8de25feed9ed5bcc63b9d2f737012d", + "size_bytes": 19817 + }, + "data/rs/images/a6cbc0d8b8e75ed24212e958692293f66b46f79da00f57de9831f80e5e3acce1.png": { + "sha256": "a6cbc0d8b8e75ed24212e958692293f66b46f79da00f57de9831f80e5e3acce1", + "size_bytes": 12193 + }, + "data/rs/images/a88ac94cce10abe867f403e1c0edf287998470880a479d3959b5f4576ebc5e2e.png": { + "sha256": "a88ac94cce10abe867f403e1c0edf287998470880a479d3959b5f4576ebc5e2e", + "size_bytes": 14986 + }, + "data/rs/images/aa03d2b1e5c594dfde63e2dd23d5da8559293199fa05fbb3110990a232ab0bea.png": { + "sha256": "aa03d2b1e5c594dfde63e2dd23d5da8559293199fa05fbb3110990a232ab0bea", + "size_bytes": 9302 + }, + "data/rs/images/aac705d8caec80541bea4acb3aaab7476c0ae2641b962d8774a52e557a8257c7.png": { + "sha256": "aac705d8caec80541bea4acb3aaab7476c0ae2641b962d8774a52e557a8257c7", + "size_bytes": 162220 + }, + "data/rs/images/ac3c922bcc5ccc110395d3d7dc19b5b5927fcc030141a18d9925905a8c35d93f.png": { + "sha256": "ac3c922bcc5ccc110395d3d7dc19b5b5927fcc030141a18d9925905a8c35d93f", + "size_bytes": 80652 + }, + "data/rs/images/ac6d9545aa733f6a48d3fc6dc3431c5e7573278b04f9a7c96ec70210400dbf7e.png": { + "sha256": "ac6d9545aa733f6a48d3fc6dc3431c5e7573278b04f9a7c96ec70210400dbf7e", + "size_bytes": 26968 + }, + "data/rs/images/aceba251152c378efea78100292ff9c2a585b61d91603d6366debbef04b4a2ad.png": { + "sha256": "aceba251152c378efea78100292ff9c2a585b61d91603d6366debbef04b4a2ad", + "size_bytes": 13231 + }, + "data/rs/images/b04d3dc501914b84104dc5c08b81b68f1d26510179071fab80433dc112753807.png": { + "sha256": "b04d3dc501914b84104dc5c08b81b68f1d26510179071fab80433dc112753807", + "size_bytes": 20253 + }, + "data/rs/images/b0bee412dbdbfac15ac2a01f105ecb3d597a2ad2ef61e1db44cc398270ffdbe0.png": { + "sha256": "b0bee412dbdbfac15ac2a01f105ecb3d597a2ad2ef61e1db44cc398270ffdbe0", + "size_bytes": 17539 + }, + "data/rs/images/b1328e6ff3e8df6bdd59aa40fbfd4d53b0585c11dbddbc44b17a3a663feb02a5.png": { + "sha256": "b1328e6ff3e8df6bdd59aa40fbfd4d53b0585c11dbddbc44b17a3a663feb02a5", + "size_bytes": 9174 + }, + "data/rs/images/b1b9aee205733d6160bbbd1a7837c0fbe7a08a8501309d7169ab72ad84b6492c.png": { + "sha256": "b1b9aee205733d6160bbbd1a7837c0fbe7a08a8501309d7169ab72ad84b6492c", + "size_bytes": 37929 + }, + "data/rs/images/b41a33b4028dba5b8f7f344676623d5be4bd9c4fb61fdae418bab326991d3320.png": { + "sha256": "b41a33b4028dba5b8f7f344676623d5be4bd9c4fb61fdae418bab326991d3320", + "size_bytes": 25754 + }, + "data/rs/images/b41a77d972598af9dfc1efc85cb362c3dfdbe5e0075c2ac699f6017fabf05ecb.png": { + "sha256": "b41a77d972598af9dfc1efc85cb362c3dfdbe5e0075c2ac699f6017fabf05ecb", + "size_bytes": 25459 + }, + "data/rs/images/b6bcf1e1fe599071b10db4543c99a7ea5d3edf148926315e7bace65779eb4702.png": { + "sha256": "b6bcf1e1fe599071b10db4543c99a7ea5d3edf148926315e7bace65779eb4702", + "size_bytes": 14097 + }, + "data/rs/images/b7dd721e67f3422d0d9819c607817e2cbb61500e2eb8d259dccf6d21d5acada6.png": { + "sha256": "b7dd721e67f3422d0d9819c607817e2cbb61500e2eb8d259dccf6d21d5acada6", + "size_bytes": 23806 + }, + "data/rs/images/b8b7bcae7a10f6fb236312c3111ad7c7473cfc5d4f3a5e45d6ee25f540bfc281.png": { + "sha256": "b8b7bcae7a10f6fb236312c3111ad7c7473cfc5d4f3a5e45d6ee25f540bfc281", + "size_bytes": 7729 + }, + "data/rs/images/b8d4d218ae1504e679a9995e242dab33aea586045e94c0649c13f4631a71ce95.png": { + "sha256": "b8d4d218ae1504e679a9995e242dab33aea586045e94c0649c13f4631a71ce95", + "size_bytes": 63750 + }, + "data/rs/images/b8fb6a96d9999ebaac32f547f78891f9b24290f2ff629a8a959fc41063c36c04.png": { + "sha256": "b8fb6a96d9999ebaac32f547f78891f9b24290f2ff629a8a959fc41063c36c04", + "size_bytes": 11713 + }, + "data/rs/images/b9cc5d5a30a48fe3e9fefaa23c0c6ff4e8cbb50b0b9703429cb706f345cbdb55.png": { + "sha256": "b9cc5d5a30a48fe3e9fefaa23c0c6ff4e8cbb50b0b9703429cb706f345cbdb55", + "size_bytes": 24338 + }, + "data/rs/images/bb66263d7d643f511d9276e7300be5fd315d537d888ae3e8ef3ec4f2335a438f.png": { + "sha256": "bb66263d7d643f511d9276e7300be5fd315d537d888ae3e8ef3ec4f2335a438f", + "size_bytes": 85823 + }, + "data/rs/images/bc2f9cd72a3c69fdc27738c8e99bf189652b30e64260e5b4808cae2da9a254d5.png": { + "sha256": "bc2f9cd72a3c69fdc27738c8e99bf189652b30e64260e5b4808cae2da9a254d5", + "size_bytes": 11535 + }, + "data/rs/images/bdc79c644a72f06c0a7945481ef4f1a31a9e9f5486cb445f18f6b731a6b5ff38.png": { + "sha256": "bdc79c644a72f06c0a7945481ef4f1a31a9e9f5486cb445f18f6b731a6b5ff38", + "size_bytes": 36087 + }, + "data/rs/images/bdd222e4e0b95ecaa2deec7fe397b684e92873ebbca0b02916dcbaa41a5c36b1.png": { + "sha256": "bdd222e4e0b95ecaa2deec7fe397b684e92873ebbca0b02916dcbaa41a5c36b1", + "size_bytes": 13391 + }, + "data/rs/images/be8890ce73d4a30031c951bf73f212a043bfaa03780e646b2ccc312c3a68b899.png": { + "sha256": "be8890ce73d4a30031c951bf73f212a043bfaa03780e646b2ccc312c3a68b899", + "size_bytes": 11484 + }, + "data/rs/images/bf492590e56f5892ad5fd2705467f5b695b614c96ae61dc93d8f23ab22f3d96c.png": { + "sha256": "bf492590e56f5892ad5fd2705467f5b695b614c96ae61dc93d8f23ab22f3d96c", + "size_bytes": 33189 + }, + "data/rs/images/bf91f31b1d709e9c2121579c0a8a71f309d50c97836f84b008d637a05e76d899.png": { + "sha256": "bf91f31b1d709e9c2121579c0a8a71f309d50c97836f84b008d637a05e76d899", + "size_bytes": 38350 + }, + "data/rs/images/c214dca478eda3ec4e6bb3455df878e4ff07c83a2e7d4596b6d7aa75fe087425.png": { + "sha256": "c214dca478eda3ec4e6bb3455df878e4ff07c83a2e7d4596b6d7aa75fe087425", + "size_bytes": 11091 + }, + "data/rs/images/c23a53e8e5f5507ded695016c0c6464dfefd964a665538259141a376547ba1b8.png": { + "sha256": "c23a53e8e5f5507ded695016c0c6464dfefd964a665538259141a376547ba1b8", + "size_bytes": 30186 + }, + "data/rs/images/c2ae5933d5ce01399cd9e659c8cc1a4693dfdab7c1e2eeaaa4da720241230728.png": { + "sha256": "c2ae5933d5ce01399cd9e659c8cc1a4693dfdab7c1e2eeaaa4da720241230728", + "size_bytes": 14577 + }, + "data/rs/images/c418b169b80de6d9d103e70fec5cb267b1f65ee7f52fc4aaebfac9752b3304c6.png": { + "sha256": "c418b169b80de6d9d103e70fec5cb267b1f65ee7f52fc4aaebfac9752b3304c6", + "size_bytes": 29066 + }, + "data/rs/images/c4869d4d35cd9ca27e531624a0f9c9936fc8ec652daa7ac24c2dea9711d7a02d.png": { + "sha256": "c4869d4d35cd9ca27e531624a0f9c9936fc8ec652daa7ac24c2dea9711d7a02d", + "size_bytes": 11107 + }, + "data/rs/images/c4eef5ff66c58ff432b1e0d7f559cec610ac3ad70c9d420e561c217f018f461c.png": { + "sha256": "c4eef5ff66c58ff432b1e0d7f559cec610ac3ad70c9d420e561c217f018f461c", + "size_bytes": 26161 + }, + "data/rs/images/c60fa507f727cce8c914113962d01b052920fe6334ce110324a483794d3e9b57.png": { + "sha256": "c60fa507f727cce8c914113962d01b052920fe6334ce110324a483794d3e9b57", + "size_bytes": 30724 + }, + "data/rs/images/c630b3cc1c9f46bb4c6bdf349796606a68671777cf1e040a5a8c8203859245de.png": { + "sha256": "c630b3cc1c9f46bb4c6bdf349796606a68671777cf1e040a5a8c8203859245de", + "size_bytes": 13589 + }, + "data/rs/images/c665cb2c88d157de9b0026d48927a15e78dd43bd79384169474969b2b0a89557.png": { + "sha256": "c665cb2c88d157de9b0026d48927a15e78dd43bd79384169474969b2b0a89557", + "size_bytes": 19264 + }, + "data/rs/images/c7bd5f5b4d1cd47c06b93f7d2f1380c0194f21590b61ba1e06683ef321a3235c.png": { + "sha256": "c7bd5f5b4d1cd47c06b93f7d2f1380c0194f21590b61ba1e06683ef321a3235c", + "size_bytes": 6669 + }, + "data/rs/images/cde83e360533f9cdae76e62c65d32235e89a56f918e98cc448665b40ea8eaa33.png": { + "sha256": "cde83e360533f9cdae76e62c65d32235e89a56f918e98cc448665b40ea8eaa33", + "size_bytes": 17878 + }, + "data/rs/images/cf6698657d8c091ed27c69fa0cb2c633785f3ff33812d5b3c5f3bbf81b72b97f.png": { + "sha256": "cf6698657d8c091ed27c69fa0cb2c633785f3ff33812d5b3c5f3bbf81b72b97f", + "size_bytes": 459693 + }, + "data/rs/images/cf8fcd1bbf34562814aedcbc2f0087613e956a9e7e1f11009e74e7506b974275.png": { + "sha256": "cf8fcd1bbf34562814aedcbc2f0087613e956a9e7e1f11009e74e7506b974275", + "size_bytes": 11187 + }, + "data/rs/images/d11606097ed58a572add9d703fc6a90832f19a60ae3991148198f8dc45f63e27.png": { + "sha256": "d11606097ed58a572add9d703fc6a90832f19a60ae3991148198f8dc45f63e27", + "size_bytes": 18616 + }, + "data/rs/images/d1a41ea8a715e6b6ce0c136816a0c01560f71c82ff17a6359c3f657b0c7d5473.png": { + "sha256": "d1a41ea8a715e6b6ce0c136816a0c01560f71c82ff17a6359c3f657b0c7d5473", + "size_bytes": 17383 + }, + "data/rs/images/d21f3bd6f7de75e2c3859f89ac5169340486a820b7a61ade7c656bd8d9fff969.png": { + "sha256": "d21f3bd6f7de75e2c3859f89ac5169340486a820b7a61ade7c656bd8d9fff969", + "size_bytes": 136994 + }, + "data/rs/images/d321f09155a956d405f4d495975cc16284e6f59d39f0fc9fa0907814fb7902b0.png": { + "sha256": "d321f09155a956d405f4d495975cc16284e6f59d39f0fc9fa0907814fb7902b0", + "size_bytes": 12579 + }, + "data/rs/images/d38ea1059d9d2f30b48a2f5752e9faa3bf07aadc53d3f016f4e65c044c42fa03.png": { + "sha256": "d38ea1059d9d2f30b48a2f5752e9faa3bf07aadc53d3f016f4e65c044c42fa03", + "size_bytes": 6320 + }, + "data/rs/images/d40f4fd59423a8301f4cd4584a051c001498f24878a4867629dba60db43690a3.png": { + "sha256": "d40f4fd59423a8301f4cd4584a051c001498f24878a4867629dba60db43690a3", + "size_bytes": 16113 + }, + "data/rs/images/d715f09c1998c07cc0c5ad88298742e056e61c59d432bff6e3b71040ff57750c.png": { + "sha256": "d715f09c1998c07cc0c5ad88298742e056e61c59d432bff6e3b71040ff57750c", + "size_bytes": 13199 + }, + "data/rs/images/d81d9f7c5b3c515bed9e0f54a37dcd7e692eebab939a55c54377e5771fbfc44d.png": { + "sha256": "d81d9f7c5b3c515bed9e0f54a37dcd7e692eebab939a55c54377e5771fbfc44d", + "size_bytes": 12529 + }, + "data/rs/images/da008a554821693f8606af18f358053eaea2b25be98a47cf38a5bbac50ee3119.png": { + "sha256": "da008a554821693f8606af18f358053eaea2b25be98a47cf38a5bbac50ee3119", + "size_bytes": 78364 + }, + "data/rs/images/daa414df55d61b9a24222fb21398ca8b07b56450c594713ec6dbeb4a608ba637.png": { + "sha256": "daa414df55d61b9a24222fb21398ca8b07b56450c594713ec6dbeb4a608ba637", + "size_bytes": 15176 + }, + "data/rs/images/db987ad43476f44002c4e17f74c12586159ef615e06cd174a77065ff78191ef5.png": { + "sha256": "db987ad43476f44002c4e17f74c12586159ef615e06cd174a77065ff78191ef5", + "size_bytes": 34956 + }, + "data/rs/images/ddfca796e6994e88b3fcd413b691e0cdac33d1ffa8334ff656fcb52e106a8842.png": { + "sha256": "ddfca796e6994e88b3fcd413b691e0cdac33d1ffa8334ff656fcb52e106a8842", + "size_bytes": 20070 + }, + "data/rs/images/de16842ef4ddea9554349b107e9716689cff6b9bc2e91ad4a26e287ade05365b.png": { + "sha256": "de16842ef4ddea9554349b107e9716689cff6b9bc2e91ad4a26e287ade05365b", + "size_bytes": 20392 + }, + "data/rs/images/debe5ff6a5efcd94aff937ea61d4529ba4c73fe9cb2e11382abfc12b547801e8.png": { + "sha256": "debe5ff6a5efcd94aff937ea61d4529ba4c73fe9cb2e11382abfc12b547801e8", + "size_bytes": 13559 + }, + "data/rs/images/df8570be01cd1384fe67561d65b5ac95292554c337c45807fc9a57417e08abcd.png": { + "sha256": "df8570be01cd1384fe67561d65b5ac95292554c337c45807fc9a57417e08abcd", + "size_bytes": 40563 + }, + "data/rs/images/e0949bc99bd619ea719a23faf916f84923456759bf64d67953b443697d40bfde.png": { + "sha256": "e0949bc99bd619ea719a23faf916f84923456759bf64d67953b443697d40bfde", + "size_bytes": 6724 + }, + "data/rs/images/e3129477620b599916ed0a8f8dc42cb2fb4d8ba0de9c442cead63d60dd64addc.png": { + "sha256": "e3129477620b599916ed0a8f8dc42cb2fb4d8ba0de9c442cead63d60dd64addc", + "size_bytes": 32499 + }, + "data/rs/images/e404953bdb9d711a6fa036ef56ee23b76c46dfd1f78b58944187ca896bde6733.png": { + "sha256": "e404953bdb9d711a6fa036ef56ee23b76c46dfd1f78b58944187ca896bde6733", + "size_bytes": 7372 + }, + "data/rs/images/eb2a6fa5107d8b30bb0c65fb33f695b6f88401a2feba3519098fb55a420fa796.png": { + "sha256": "eb2a6fa5107d8b30bb0c65fb33f695b6f88401a2feba3519098fb55a420fa796", + "size_bytes": 34677 + }, + "data/rs/images/eb70f8d9397449e8c7058c7f5ef4928cf4ece612991064868d855783252f41b1.png": { + "sha256": "eb70f8d9397449e8c7058c7f5ef4928cf4ece612991064868d855783252f41b1", + "size_bytes": 16058 + }, + "data/rs/images/ebb23d6a3fb47c923854950b21fe6746454c174027a3370e72ee1bfcba9d6e16.png": { + "sha256": "ebb23d6a3fb47c923854950b21fe6746454c174027a3370e72ee1bfcba9d6e16", + "size_bytes": 13028 + }, + "data/rs/images/ebf455c416afe5c680fc174e8d8d703e93ddf5934e309fbe6625055cbe7a4caa.png": { + "sha256": "ebf455c416afe5c680fc174e8d8d703e93ddf5934e309fbe6625055cbe7a4caa", + "size_bytes": 328188 + }, + "data/rs/images/ec391072817a41fb446e0953d810d915bf8cafae5cf01cee90eeccc585348a41.png": { + "sha256": "ec391072817a41fb446e0953d810d915bf8cafae5cf01cee90eeccc585348a41", + "size_bytes": 38775 + }, + "data/rs/images/ed50bc84e19be29bf2475fb2dcb12f609c7e6c4608a52d5b759cae4b2b38faf4.png": { + "sha256": "ed50bc84e19be29bf2475fb2dcb12f609c7e6c4608a52d5b759cae4b2b38faf4", + "size_bytes": 21243 + }, + "data/rs/images/ed8989353027330142e76891e7fd5f583e5aa19ff6fb4ba20f048c4352ed3d79.png": { + "sha256": "ed8989353027330142e76891e7fd5f583e5aa19ff6fb4ba20f048c4352ed3d79", + "size_bytes": 14501 + }, + "data/rs/images/edb18648af336993cc76bc96dff918be3c1f653eee326a0c42197e0f3088d1df.png": { + "sha256": "edb18648af336993cc76bc96dff918be3c1f653eee326a0c42197e0f3088d1df", + "size_bytes": 18472 + }, + "data/rs/images/ee48cb2b5c74e85a5ab7da0a076a10ba45fd4249d3b61346d31df008d9a0e34a.png": { + "sha256": "ee48cb2b5c74e85a5ab7da0a076a10ba45fd4249d3b61346d31df008d9a0e34a", + "size_bytes": 17401 + }, + "data/rs/images/ef5f4f6c8fb3b942a8cd485d0ab88f353e5f5d266a6984b30b87da5c390f2dc8.png": { + "sha256": "ef5f4f6c8fb3b942a8cd485d0ab88f353e5f5d266a6984b30b87da5c390f2dc8", + "size_bytes": 22330 + }, + "data/rs/images/f0300f7f4bf289a4ef63188bbdfee8987ec9cfbd7d00d616fce340b4afd3c2a4.png": { + "sha256": "f0300f7f4bf289a4ef63188bbdfee8987ec9cfbd7d00d616fce340b4afd3c2a4", + "size_bytes": 9018 + }, + "data/rs/images/f39e46a1afdc7959977864214f2786025637d474271273e584515ae0bd15d3c3.png": { + "sha256": "f39e46a1afdc7959977864214f2786025637d474271273e584515ae0bd15d3c3", + "size_bytes": 8657 + }, + "data/rs/images/f42da73fe16c5479a6f1f5e40e15f01968abac65e37ea64ec6ac64561ea876f5.png": { + "sha256": "f42da73fe16c5479a6f1f5e40e15f01968abac65e37ea64ec6ac64561ea876f5", + "size_bytes": 15497 + }, + "data/rs/images/f4921d4b7e0c663698ea876797d9aecaaaed91c0513ba1be8a051398b9fed23f.png": { + "sha256": "f4921d4b7e0c663698ea876797d9aecaaaed91c0513ba1be8a051398b9fed23f", + "size_bytes": 28201 + }, + "data/rs/images/f573cab1891f198e92fa408e2ce38892f2b8124a2d37249ff907b2aba394e35f.png": { + "sha256": "f573cab1891f198e92fa408e2ce38892f2b8124a2d37249ff907b2aba394e35f", + "size_bytes": 14912 + }, + "data/rs/images/f650571b1d7cbd6ebe0688cfd594cb93c11ae0c0970f2d7afe4c41072eb031ba.png": { + "sha256": "f650571b1d7cbd6ebe0688cfd594cb93c11ae0c0970f2d7afe4c41072eb031ba", + "size_bytes": 10183 + }, + "data/rs/images/f6648736003fa36d0de27bfcf37a59ce61085990f56fe34ac8e38f079a0725e5.png": { + "sha256": "f6648736003fa36d0de27bfcf37a59ce61085990f56fe34ac8e38f079a0725e5", + "size_bytes": 21575 + }, + "data/rs/images/f6b41415bb727bcbf9218a7636a3c6d6c7f39b5a7268a05529f08e1b12dd3f93.png": { + "sha256": "f6b41415bb727bcbf9218a7636a3c6d6c7f39b5a7268a05529f08e1b12dd3f93", + "size_bytes": 14613 + }, + "data/rs/images/f6c7f0c2b441026eb3d80a91fd7ac0408a8b917ffaaf3d736ac9272135d3390f.png": { + "sha256": "f6c7f0c2b441026eb3d80a91fd7ac0408a8b917ffaaf3d736ac9272135d3390f", + "size_bytes": 41292 + }, + "data/rs/images/f6f19666f22f8853b7adb02316ec056510fad40fef8f5bf058cea789f217f164.png": { + "sha256": "f6f19666f22f8853b7adb02316ec056510fad40fef8f5bf058cea789f217f164", + "size_bytes": 29607 + }, + "data/rs/images/f7a8ee5e8a736de4592faeeb19817803e14070763696690378d21b94f43e60e8.png": { + "sha256": "f7a8ee5e8a736de4592faeeb19817803e14070763696690378d21b94f43e60e8", + "size_bytes": 23141 + }, + "data/rs/images/f7e7de8883b5431205f42ad9a345d5b18c847003aacb8f34d61dc7e05e9bd332.png": { + "sha256": "f7e7de8883b5431205f42ad9a345d5b18c847003aacb8f34d61dc7e05e9bd332", + "size_bytes": 50122 + }, + "data/rs/images/f8217bb79f37a4c6579420570b37a0101d07541072d304c72c2261a83ad8c524.png": { + "sha256": "f8217bb79f37a4c6579420570b37a0101d07541072d304c72c2261a83ad8c524", + "size_bytes": 16451 + }, + "data/rs/images/f9d4d3fe36592f7a045f4873bc14e35c75c39306270994ca5a32225778da44f7.png": { + "sha256": "f9d4d3fe36592f7a045f4873bc14e35c75c39306270994ca5a32225778da44f7", + "size_bytes": 22538 + }, + "data/rs/images/fa11b59ddb2e8fa5b505f062e94916194f72e0c6e9dddffa3a5aeca7d758ee5a.png": { + "sha256": "fa11b59ddb2e8fa5b505f062e94916194f72e0c6e9dddffa3a5aeca7d758ee5a", + "size_bytes": 117454 + }, + "data/rs/images/fa37c7bcb3bbd715adc56c99d301fad4ab918b9561f2d65eba3254927b618cad.png": { + "sha256": "fa37c7bcb3bbd715adc56c99d301fad4ab918b9561f2d65eba3254927b618cad", + "size_bytes": 21277 + }, + "data/rs/images/fc4e158f83f54414dff94f1aab2b634d82c8dc789a94b4c486002614e4704c82.png": { + "sha256": "fc4e158f83f54414dff94f1aab2b634d82c8dc789a94b4c486002614e4704c82", + "size_bytes": 13154 + }, + "data/rs/images/fd577e70e7ba04753bed3a88742593b77cecad56b3453290ecdeca0d1ce06334.png": { + "sha256": "fd577e70e7ba04753bed3a88742593b77cecad56b3453290ecdeca0d1ce06334", + "size_bytes": 38805 + }, + "data/rs/images/fd973fe79c81e1915485f5fe6141569f63fcae5428197d0188723f68d589153a.png": { + "sha256": "fd973fe79c81e1915485f5fe6141569f63fcae5428197d0188723f68d589153a", + "size_bytes": 18547 + }, + "data/rs/items.jsonl": { + "sha256": "5979079d38eb8cf5ffbcae8d9c804bdd43a89f6254b4bcf75e814e28aded6012", + "size_bytes": 20469376 + }, + "data/rs/probes/adamchainz_treepoem_pr437.json": { + "sha256": "b85b788c72fa6bed7cba3cd20d22620cd17c0f89b1a5b446f48d2c99946f87d6", + "size_bytes": 3732 + }, + "data/rs/probes/adamchainz_treepoem_pr587.json": { + "sha256": "f34bfcbee0108ab5f7835233a6a4766f913b2673100f74dd16b34352f2311d09", + "size_bytes": 3742 + }, + "data/rs/probes/altair-viz__altair-3068.json": { + "sha256": "0a7ba72b59e583432497304c5864a4da494a55bae80342b88e34b0d360b73702", + "size_bytes": 5325 + }, + "data/rs/probes/bids-standard_pybids_pr463.json": { + "sha256": "1e35787112c60c010833e6d65c64afa37ff499c793ef05b40d170192b992bd48", + "size_bytes": 4864 + }, + "data/rs/probes/bids-standard_pybids_pr607.json": { + "sha256": "d984ac71fbf1af4b729af1084f99b9b8c6b6a950942dc9dadc058e5d68f41a84", + "size_bytes": 4462 + }, + "data/rs/probes/buriy_python-readability_pr190.json": { + "sha256": "90f6ed5cfaa9970373b4adca9a60381ab1668b8dd4fa7e697aead4616bca3581", + "size_bytes": 5200 + }, + "data/rs/probes/cloud-custodian_cel-python_pr130.json": { + "sha256": "04c2914efd68ab78c5327ec5e27926f1a6d3fab7c7133fb58c4f46663225ec9d", + "size_bytes": 4232 + }, + "data/rs/probes/cobrateam_django-htmlmin_pr150.json": { + "sha256": "48551f579325d5bcec75ddf0306d40e546baaf86411c6db34324ef5f8f40fa80", + "size_bytes": 3360 + }, + "data/rs/probes/coveragepy_coveragepy_pr1608.json": { + "sha256": "1547f05c4c6138aafe109261cdf51f53815dede80511db672545864de337e064", + "size_bytes": 4229 + }, + "data/rs/probes/googleapis_proto-plus-python_pr336.json": { + "sha256": "5e7c846c2454b8fd063cd10c8c005b3d0c50fc4a50948507eab85f13608acf1d", + "size_bytes": 5087 + }, + "data/rs/probes/goose3_goose3_pr119.json": { + "sha256": "bc80a6f7358cb16c52d6208ae8dd3d96ed141b4515c52183bfe829f858eedce0", + "size_bytes": 4297 + }, + "data/rs/probes/hacker0x01__react-datepicker-4394.json": { + "sha256": "95300685665351637b232497febc4ced56a4f5fe156399d07d01bad1c53d1057", + "size_bytes": 3575 + }, + "data/rs/probes/hacker0x01__react-datepicker-4457.json": { + "sha256": "436f655b44f7dd327597e6a037ad2761aad79ec9cf31ec4e71adf4278bc0c10e", + "size_bytes": 6064 + }, + "data/rs/probes/hacker0x01__react-datepicker-4601.json": { + "sha256": "add91eadd8410606f20497d6a24cec28e95fca6c50d448616e9dd66f95432b0b", + "size_bytes": 4226 + }, + "data/rs/probes/hacker0x01__react-datepicker-4609.json": { + "sha256": "e514aa46fff63b87457ad1007faafd6d32c15de56416718698a8c3ce6d959970", + "size_bytes": 2910 + }, + "data/rs/probes/hacker0x01__react-datepicker-4610.json": { + "sha256": "d205db0f573810b8ef83b06b73b9a11489617424379960a7f99fe8b97b641d2b", + "size_bytes": 4050 + }, + "data/rs/probes/hacker0x01__react-datepicker-4634.json": { + "sha256": "a82583eda0aadd5ed3380e0982531f6444bf40892d65912a31751ac32ec8e93c", + "size_bytes": 3349 + }, + "data/rs/probes/hacker0x01__react-datepicker-4643.json": { + "sha256": "5cfde48002fd78f87bbf22773a3790c80ae7e1b06154e8b80024fa4fa82848d9", + "size_bytes": 4300 + }, + "data/rs/probes/hacker0x01__react-datepicker-4652.json": { + "sha256": "ca9c17f3943acb4d13ab2850770cbc9e27f5930adc63981a49a3a7f2ea66c365", + "size_bytes": 4037 + }, + "data/rs/probes/hacker0x01__react-datepicker-4848.json": { + "sha256": "afb87be23825cdad37bcef9b6e24e35aa83355502a5d424e6312217e0c9ebcc6", + "size_bytes": 5565 + }, + "data/rs/probes/hacker0x01__react-datepicker-4903.json": { + "sha256": "a0a4bf01b54c02a1a17f09a485f50418661356afc8435af9c5d1fcd1f40adea0", + "size_bytes": 4298 + }, + "data/rs/probes/hacker0x01__react-datepicker-5088.json": { + "sha256": "71009b3f59526da11d5008f680c8b8513c1bbf1c8a9efdaff7ab75f18e304e07", + "size_bytes": 3959 + }, + "data/rs/probes/hacker0x01__react-datepicker-5503.json": { + "sha256": "2b2367dd7259f44e1d0925b683e70a44e9a6e63c0eed81c7b2f0d33100281779", + "size_bytes": 3130 + }, + "data/rs/probes/hacker0x01__react-datepicker-5524.json": { + "sha256": "342167c9ef90837fec434a06bdb4f369fe603cd32d8ea66b7855d46607a7796e", + "size_bytes": 3906 + }, + "data/rs/probes/hacker0x01__react-datepicker-5584.json": { + "sha256": "cd4ecc533f4ad7ee8785251548d749e32df73861d8e4262a96583e5cbecfebd2", + "size_bytes": 3527 + }, + "data/rs/probes/iterative__dvc-9212.json": { + "sha256": "9467721751e5e610447a34f8f7ae2ba478410fe57238c3edc7687a66a7a9ea13", + "size_bytes": 3643 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1050.json": { + "sha256": "faae348a111520fe6d78210c412429ad42934df45e6c1a144ddc82d0b575eb88", + "size_bytes": 4195 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1094.json": { + "sha256": "9eb1e0fd8026e5712df720dfbc9143acabe6e44f50f4c49070d5780b35f97707", + "size_bytes": 4936 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1100.json": { + "sha256": "268f02fef08b6759c2fa18d1c8f7c193b421af838fa3f00e59667769634fc4e4", + "size_bytes": 4000 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1105.json": { + "sha256": "ac1583062aeaaa5866b050d15cd6a1031c5d6318702ae32ac85fd28b97711385", + "size_bytes": 5468 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1128.json": { + "sha256": "87ea7840a5fc598a65b7d4948d976e689be2c45e9d04f0fdca3ca6765853c75a", + "size_bytes": 4079 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1129.json": { + "sha256": "bd777ebd0b8c4b0f7205ed3cdac33c2b56ea5e605c7d5a8cb7ce46e81e0cdc6a", + "size_bytes": 6521 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1136.json": { + "sha256": "927600aa606c4da358ba7821bdc30667c0922b0ea76a07fca151e6814e2f1b23", + "size_bytes": 4015 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1195.json": { + "sha256": "5cfb3ef616df8570400de1db261214bd93f53967974c080009910c6d900d1677", + "size_bytes": 4383 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1251.json": { + "sha256": "443f5f694cf8bf2e0101fcb42a3ea548ff84788e5386d12babd4d10c008f5c45", + "size_bytes": 5932 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1408.json": { + "sha256": "1a1099801f1cf148aaa9b27ce08f08907fffdeb6057498a503711e41bd72012c", + "size_bytes": 4110 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1457.json": { + "sha256": "5d91b4a91e79dc6c1c4b37144cfcece3912dabe9fd8eb09f9e0cee2812d7e68b", + "size_bytes": 4636 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1465.json": { + "sha256": "79d1a14e6ca2688116d953ff45a3d7507eb2d1b204afd9ec40c1243d8140c5fe", + "size_bytes": 4094 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr1483.json": { + "sha256": "13c353d845d46aa2ccf535fb78bb02cc8af0ff9ade634e01ddea277353502eea", + "size_bytes": 4805 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr274.json": { + "sha256": "67a3d245f906913e1f83f8dc7bc212afb42e0adeb396bec471acca210d78067c", + "size_bytes": 5440 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr291.json": { + "sha256": "6799ee29066bf00593379832be08430f5b6df69be6a389d34d30c1d38942e728", + "size_bytes": 4374 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr433.json": { + "sha256": "ac27a2b0a7ac8d3a5edb7f857aa546d4b09e8debe5f037a8b3dc87405d2e29b0", + "size_bytes": 3722 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr462.json": { + "sha256": "eb7168c907413f93f4e8bccf1fdb328e9d568fd8ac05f58454b7d173af6aa215", + "size_bytes": 4401 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr466.json": { + "sha256": "18af2382bdea04e240a1aa42079a2c0a3d2cccdd5509a4e66b443848508906d9", + "size_bytes": 5373 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr472.json": { + "sha256": "3683087a2548291b0cba983ae607209587dbb30f1430635dd4a115eeeb995092", + "size_bytes": 4561 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr481.json": { + "sha256": "ed8d22ca79375af050d9689389066baf2b673dfd465b9f3771e04c9f45708151", + "size_bytes": 3643 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr487.json": { + "sha256": "3ea97a8bfc3c64708ab960f9f27cc6b90696ad3965ac6269804355fe405635e6", + "size_bytes": 4719 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr508.json": { + "sha256": "ea10decac3642590dfcf4beb274abbbb2938d970039ad0cd44ab5cb20ad6c5de", + "size_bytes": 4797 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr511.json": { + "sha256": "0a2351e27e41022b9bd478b98e3d88e91e54a996feb0f2f57f4c4f935342f70e", + "size_bytes": 4324 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr515.json": { + "sha256": "2ecccd10f86cadfc7da361fef57f0eb4ad0601fc6fd27eec65ebb04914cce735", + "size_bytes": 4869 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr518.json": { + "sha256": "96418495a82e4b2c5910bb050da7cd8bc2a0078b406b1e69bf2226683bfaf3b2", + "size_bytes": 4030 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr528.json": { + "sha256": "98569b5e5677e5b7c20a05585d33b93ff389d0ae98bd7c76ca3aa1ab8367ed6f", + "size_bytes": 4152 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr533.json": { + "sha256": "d526ea3a397fe9d1280def55f854e1188a6c168c2dbcfd08e674fa7fc552bfdb", + "size_bytes": 5019 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr559.json": { + "sha256": "74f498558ccc000e9d72b782ba644cc44374982e6d7c5f17d29010bd03d00dc3", + "size_bytes": 5361 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr619.json": { + "sha256": "6d4be82ee4f090206cc2e057fa3e62ebbf7030c7e2e9365075e76db64de7b5e1", + "size_bytes": 4288 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr621.json": { + "sha256": "0da09486d6096efdd9c8c324764a7d28f3bf1c0c096f87a9f61921930c45ee12", + "size_bytes": 3792 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr624.json": { + "sha256": "1dad64cbde48c5421698fb5c00a2c3d6f477fc286cb61c8f0bbc3e9878b9a402", + "size_bytes": 4890 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr636.json": { + "sha256": "d5f1a201bcb1c0b47d7efcf6cd5805ce7727286b71a5b8532815dd5c6354ce75", + "size_bytes": 4323 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr645.json": { + "sha256": "24624302bac6147cf1885f8b0d4fd91c0e4cfcfce72f792ee7045a3b3c59ea36", + "size_bytes": 4692 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr853.json": { + "sha256": "5dba4b53a9efe3524698acec26ce2036a6e19784651a3fc87a8712e6ed187e42", + "size_bytes": 4410 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr862.json": { + "sha256": "a7f330bd3bd047922b01c4915e67b214f0c231e05a97c16e6be86c3115dbed55", + "size_bytes": 8033 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr884.json": { + "sha256": "ceeb4ed8e6a116cad89831515e933293ad61e8a0dcb7b85c4a6708b6b8dc5c5b", + "size_bytes": 3917 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr890.json": { + "sha256": "fb59ff6151ab76bcf14859ccb68c727ed4abe479b7ae7bbedc26544521bbfa33", + "size_bytes": 4120 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr900.json": { + "sha256": "72ee4268a8b294cdc351d05d0c00942d2dcfabfd58d39c57784574e3366765f6", + "size_bytes": 4671 + }, + "data/rs/probes/jackdewinter_pymarkdown_pr903.json": { + "sha256": "630a450d0ed5b6872bebeb7bc1f292fe3400d04257ed7e0e5e41f919f15b52dd", + "size_bytes": 4353 + }, + "data/rs/probes/jonathf_numpoly_pr21.json": { + "sha256": "db67fed07d5d3fef9652618e9a2d80b69a2e667614e3e4aa5c84370dc41a67b8", + "size_bytes": 5826 + }, + "data/rs/probes/katex__katex-1814.json": { + "sha256": "6631c9b08ebb6afcff2050d8cbb27577f2b6d4b298742cc19e8c4787d16e9eab", + "size_bytes": 5771 + }, + "data/rs/probes/katex__katex-1841.json": { + "sha256": "f3bd063b1d5424e2db83c3ed42e8edca65515641f596fd1497717ddbce0e4b18", + "size_bytes": 9215 + }, + "data/rs/probes/katex__katex-2116.json": { + "sha256": "a4ea1e1dfeec34c2fc49dcecae03213ceb89e8202bd3c31d10238bc93c90124c", + "size_bytes": 8689 + }, + "data/rs/probes/katex__katex-2118.json": { + "sha256": "5d035a418cf1d958a34f579655577c5eb0aa2a14d5e840b75d65b5b3a256fd15", + "size_bytes": 2783 + }, + "data/rs/probes/katex__katex-2220.json": { + "sha256": "9f0163b24eec44ea7f878dc642b19c0534231f61f61b4fa58e4d3a6d22d653da", + "size_bytes": 2924 + }, + "data/rs/probes/katex__katex-2618.json": { + "sha256": "45726fb46bccccf52aa5d7ced15eecbc084c063760ef6cf6dda253d2e26932e5", + "size_bytes": 3036 + }, + "data/rs/probes/katex__katex-2679.json": { + "sha256": "53c682855ffa85325acea84ab46837cc3895968b7a95b6ed18f311e0f72a9952", + "size_bytes": 7915 + }, + "data/rs/probes/katex__katex-2877.json": { + "sha256": "731dd7b32b3afb5dac7e88fe22b21e7180a6b76171e2e556da389b09fabdf3d5", + "size_bytes": 3023 + }, + "data/rs/probes/katex__katex-2947.json": { + "sha256": "c2dd6333b4af24d038d244aad983333bf2b45be3c53f15fc8ce678cef61c1469", + "size_bytes": 2807 + }, + "data/rs/probes/katex__katex-3018.json": { + "sha256": "097bace87dc5a3bd3aaf57e407ad500263991641923689f5a799c4d1fd11a8ed", + "size_bytes": 3392 + }, + "data/rs/probes/katex__katex-3997.json": { + "sha256": "0e55b4a4677568f038f4f722233b2ac52c410a22d5343d552eefe855328c418d", + "size_bytes": 2626 + }, + "data/rs/probes/katex__katex-4000.json": { + "sha256": "58d86c9ed2a664a2826223dbc20b9a1cdacd9d8c86c4031390bef56410d5d906", + "size_bytes": 3019 + }, + "data/rs/probes/kyeotic__raviger-25.json": { + "sha256": "2d45c78d177484cfb9f5e5403eab38fa3343d0e4a683654a0f2addf04d825b2e", + "size_bytes": 4548 + }, + "data/rs/probes/kyeotic__raviger-51.json": { + "sha256": "a09a3a02f5ef527d09689584dc1f4e4ae9a5946f4921a425fae8ab5990745bc8", + "size_bytes": 5517 + }, + "data/rs/probes/kyeotic__raviger-59.json": { + "sha256": "4e5a1baa56e490da41c6a99cfdf0dd6fdb1e6131395e646bb51620b7281f6992", + "size_bytes": 5323 + }, + "data/rs/probes/kyeotic__raviger-72.json": { + "sha256": "04596725f04b8fbf8724d61390ed54ba7fc1d448585336ae7e15e98941e60d9d", + "size_bytes": 3762 + }, + "data/rs/probes/martinblech_xmltodict_pr180.json": { + "sha256": "a5a829f6222bfde90ce87b0961fd698f8267f67f669894f8c7af898475793307", + "size_bytes": 3500 + }, + "data/rs/probes/martinblech_xmltodict_pr92.json": { + "sha256": "2d34b479b3a72bab4ad93aaafbc9689d7607c1898b627f0ff378e81d5a616347", + "size_bytes": 4107 + }, + "data/rs/probes/masci_banks_pr20.json": { + "sha256": "35aee35794ebf2e6322d9839cd5e1c9c5ce7168c199f9e19e7ce7d3270d2de24", + "size_bytes": 5073 + }, + "data/rs/probes/masci_banks_pr30.json": { + "sha256": "eef7c7d68bc56836226398d3ec9f86a99c00f67c2f9635a65e9fa2da3c18bdaa", + "size_bytes": 4568 + }, + "data/rs/probes/masci_banks_pr32.json": { + "sha256": "3d9ab16b13bded17cf327073bd68f1c06253e328cbefa5813b4c7267aa6fba31", + "size_bytes": 3804 + }, + "data/rs/probes/meadsteve_lagom_pr170.json": { + "sha256": "c937596c03ad38e0de9f5d9b21825073835d286777cb4739ceeda2096cebd26a", + "size_bytes": 3857 + }, + "data/rs/probes/meerk40t_svgelements_pr209.json": { + "sha256": "5404a93a4bd0fd470e4ed7e87e49ff5afb1ab8d294c8a40292e45218e0ac29db", + "size_bytes": 3464 + }, + "data/rs/probes/mercedes-benz_odxtools_pr109.json": { + "sha256": "256f44d518ace89ed374897d14ab80a49406db27946a12e9a2a2da70e19f7ff4", + "size_bytes": 7767 + }, + "data/rs/probes/mercedes-benz_odxtools_pr45.json": { + "sha256": "ebe87f57cd235fe70d5e4316bb10a4b82eadd77a48bb2527b44658c9daa8760e", + "size_bytes": 5421 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr25.json": { + "sha256": "9c57392dea1d2d2c81c1a7e6bd1800c8ef58d1761613b70e95cd67b30aae12e9", + "size_bytes": 4048 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr29.json": { + "sha256": "6c53498e5f88dbbb3f1a1efe86d1e9b4f621923d073aeb727757f5bede993a6a", + "size_bytes": 3247 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr36.json": { + "sha256": "7db85b5e53073a03a254993b149344f59f98221207ad5560d2e56a9415d6b40b", + "size_bytes": 5402 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr45.json": { + "sha256": "2fbff80f562fb427e68340cfab93a93421246eb3ff5a156706a98ab3b4fb6137", + "size_bytes": 3906 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr52.json": { + "sha256": "bed61bff1f2add4c6631a301214f38e40d632beb90a4517dac5b031b4a733859", + "size_bytes": 4438 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr79.json": { + "sha256": "5222f0afa4b4d2fbbe1eb3b5f96816430104a6e943616937537dc7f1e3db2ffc", + "size_bytes": 4021 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr82.json": { + "sha256": "4270509351a6e33b9ea1ade2fdb65a4a2aac3624513aa92295e6826a7c366043", + "size_bytes": 4932 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr84.json": { + "sha256": "6196e73053643b1ad546c739daf03aab0baff5f510c7248caf4c0daeb1350011", + "size_bytes": 3869 + }, + "data/rs/probes/mkdocs_mkdocs-click_pr90.json": { + "sha256": "c0ff66cc19b79c0c87c0a78ca2de5d3ffbfcb199fb1945bf57189bea880421ae", + "size_bytes": 2888 + }, + "data/rs/probes/mmore500_alifedata-phyloinformatics-convert_pr24.json": { + "sha256": "6a1811dd7c98310d9676c696b6b2dfa69727174baf0d07b0ee418486e8a13048", + "size_bytes": 3810 + }, + "data/rs/probes/mmore500_alifedata-phyloinformatics-convert_pr3.json": { + "sha256": "1cca56ea0b721daf1da09a19a47cff2c1af2e21c82f7d1223b76838a7f10c270", + "size_bytes": 4763 + }, + "data/rs/probes/pennylaneai__pennylane-5277.json": { + "sha256": "e02a971bc6be2a3fcee33984d11ed6b50b662593e7942f60836c43a4d82b8518", + "size_bytes": 4386 + }, + "data/rs/probes/pennylaneai__pennylane-7164.json": { + "sha256": "4aaedbdd205a94bc72df303122a8919f2a7b948b12fd6e3fad94e8661ae61545", + "size_bytes": 4415 + }, + "data/rs/probes/pennylaneai__pennylane-7668.json": { + "sha256": "705f20ac02e342c50d9e14f994867e70f3c43d67e4ea9fcfa985e9e212aaea5d", + "size_bytes": 3632 + }, + "data/rs/probes/phpoffice__phpspreadsheet-4076.json": { + "sha256": "6a95a8f7c60215b420419ad67038fd29eaed028647011e85c58e68fc1b31bad8", + "size_bytes": 4189 + }, + "data/rs/probes/phpoffice__phpspreadsheet-4151.json": { + "sha256": "8e43de473bb2a43aa5590370262bb14d07ce25e0f5b214097149fe56cbb82720", + "size_bytes": 3851 + }, + "data/rs/probes/phpoffice__phpspreadsheet-4322.json": { + "sha256": "123048304e3a1f2cdec55bd25d79ef05cbe56061623265e5dc6c2e5439119b68", + "size_bytes": 3420 + }, + "data/rs/probes/phpoffice__phpspreadsheet-4465.json": { + "sha256": "b51815398e4d24e0185550dafe67051a79ecc25d9bcbcd320eaa9285d7a0b052", + "size_bytes": 6035 + }, + "data/rs/probes/phpoffice__phpspreadsheet-4487.json": { + "sha256": "0d98e636c18fd872b577c30f0d50b860c5d86fd66a7f223ccc55b103586b7755", + "size_bytes": 4423 + }, + "data/rs/probes/phpoffice__phpspreadsheet-4541.json": { + "sha256": "9f49dac22d3dd31353a019cb3c96e7e71d0f512f9c0fab2e08b11fa6c51aecae", + "size_bytes": 5102 + }, + "data/rs/probes/pypa_pyproject-metadata_pr150.json": { + "sha256": "172376896349c71321e52409509173a2073d9b3e704340eb1f3df36480401173", + "size_bytes": 4726 + }, + "data/rs/probes/pypa_pyproject-metadata_pr157.json": { + "sha256": "411780200fcbc25162c0736baee3952df0dfc45de1753e2a119f320cc846d3a1", + "size_bytes": 5357 + }, + "data/rs/probes/pypa_pyproject-metadata_pr201.json": { + "sha256": "2a3267013ffb9ab834338ee3a5cc6f978588d4224fa04a7407addff4e312163c", + "size_bytes": 4750 + }, + "data/rs/probes/pypa_pyproject-metadata_pr206.json": { + "sha256": "025a3a652813be8cc5801ae22d2b392ec23d05ce533ae33545dfc46d26806196", + "size_bytes": 3973 + }, + "data/rs/probes/pypa_pyproject-metadata_pr232.json": { + "sha256": "4078a485e2a9e600739f85a50b4880d2d736e4f6970bccb3d87b48e58c2614fb", + "size_bytes": 4227 + }, + "data/rs/probes/pypa_pyproject-metadata_pr27.json": { + "sha256": "5f32e9527eaf704c633d01b21842b05e77340f452cac83c0417cef357ba3eccd", + "size_bytes": 2539 + }, + "data/rs/probes/pypa_pyproject-metadata_pr65.json": { + "sha256": "85563e0d89f97ca76baad1f9c6459dc344caacd544d79ca4656d6c364b9cf85d", + "size_bytes": 3704 + }, + "data/rs/probes/pypa_pyproject-metadata_pr83.json": { + "sha256": "94b512b8306b79090d42dcf59af13df3a1c9f23eeeaf17f06872b353d39ac487", + "size_bytes": 3328 + }, + "data/rs/probes/pypa_pyproject-metadata_pr91.json": { + "sha256": "d795c2af9b830999140a84834491660678f480ab9bbb342d069dec5f667c80f5", + "size_bytes": 4494 + }, + "data/rs/probes/pysal_pointpats_pr116.json": { + "sha256": "6a8e38f1303dab65dbd2efab2fee681021d9834825cc4bc20a67c9cf3e664456", + "size_bytes": 8372 + }, + "data/rs/probes/python-babel__babel-420.json": { + "sha256": "3c88c89cb64eefea2a3fbef6e7a61c819e89db7cb5b4d0d64def777deb35400c", + "size_bytes": 3728 + }, + "data/rs/probes/python-babel__babel-482.json": { + "sha256": "4a1f65b7fe4f6a23a75a8e951c735ae7176d8670b74f76449cde63fc284c4bd6", + "size_bytes": 3850 + }, + "data/rs/probes/python-babel__babel-488.json": { + "sha256": "a90bf16ae1b97dd6883d10d5aa803c28229cb84217ede8ab52fd4f38d0987304", + "size_bytes": 5158 + }, + "data/rs/probes/pyvisa_pyvisa-py_pr292.json": { + "sha256": "455c7e10eaa77427f0d854d34f2805d5530fbc9b275506789a020bf7aa4ccd6b", + "size_bytes": 6736 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr10.json": { + "sha256": "7393d6ecff36de088fe12fe417adb2aa4e996a3b6f731f2c01d4fc9ba5fcf6d3", + "size_bytes": 3137 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr111.json": { + "sha256": "c168b7b77c977428be51394e49ec286a5543bfcc6564010c446812e57fb7461e", + "size_bytes": 4453 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr114.json": { + "sha256": "6b8ff819760154c2fa44385c8bf596c413020964a5240aad191f118fe9417809", + "size_bytes": 2811 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr116.json": { + "sha256": "a83c032dd5a8393846f3f363623488986b558cabbc1cff21674bfbd5bbb430b4", + "size_bytes": 3602 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr119.json": { + "sha256": "df5e88a1fe34e64d17b616f546dec009261806dfe094666f402f5fce2e32814a", + "size_bytes": 3204 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr121.json": { + "sha256": "9d97bb50eaa94a209e11cc59d7d460d620b14512c5b5dda9c72b56f866e5ec67", + "size_bytes": 3770 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr132.json": { + "sha256": "b1f95e367ce4d457e3ba61f54aed2a4e619fe4b1d375c721152c32086914a1f9", + "size_bytes": 4067 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr136.json": { + "sha256": "9f3f86666d0da17f7920f390795b6190cf37f846d0babb140b777cad71e9a233", + "size_bytes": 3009 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr137.json": { + "sha256": "02786a5528e5108b80e45cd84f882ac99b16dd074fb63236c54c383a4bd4c4d5", + "size_bytes": 3891 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr138.json": { + "sha256": "4c020bfb4b4475e451868f7d9f9340b06e00851ed048e3073cc2eb7fddb329f2", + "size_bytes": 3767 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr139.json": { + "sha256": "e499f982ab42962b88f8a6920153049091dd66e9320e2b8c39f6ca6fb7f39035", + "size_bytes": 4688 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr140.json": { + "sha256": "dca0a6c5c25199fe1348eaf11e225bb29d0e576b1bbaf741cbe388f336c54028", + "size_bytes": 2952 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr143.json": { + "sha256": "f64eb848a824178cb767229bf140632682942efb96506fcc4788fb4900508f8a", + "size_bytes": 4623 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr144.json": { + "sha256": "3ad15fbb4ef5effddf0636ea7e2311cdae846851aca572e2a0c09ddb612ddcb1", + "size_bytes": 3787 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr145.json": { + "sha256": "34e25e1ccedc5ca7927803fa32f28c1e9f4be211d5e0e8b3b14a15e49a33276d", + "size_bytes": 4069 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr146.json": { + "sha256": "1fbc661e1c263dabacb5df370620ef1d201538b6672dda50ecf6322929a1c56c", + "size_bytes": 4515 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr148.json": { + "sha256": "c9ef7018e8cc6dd6752633c64cd7a7994462b76ccfd9952ea20bfc3842dfff11", + "size_bytes": 3643 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr149.json": { + "sha256": "469f753f11f3a5ed26b372b99625cac7a020b7a559160b3b4d7de02eac3125f3", + "size_bytes": 2784 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr153.json": { + "sha256": "e38052b4c9e06ed6b68eb3cda31d91b87086ebefa78f62a5d96077fc2e82d4eb", + "size_bytes": 4839 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr154.json": { + "sha256": "f67361c062ee28246714e1cdd0ed787eb4f02e2579f39376f713dedaa0aa7662", + "size_bytes": 3243 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr157.json": { + "sha256": "e1a1beceac128f2fc76f62047e6a598ef77951baa1d9f9894c25726776658d47", + "size_bytes": 3028 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr159.json": { + "sha256": "65d11ade184528028d77cbbebd5eb4ea144e59421a4c75dce5c981f2bcc8a8e4", + "size_bytes": 4347 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr163.json": { + "sha256": "419b04b209c0641559463cb21054934b2af19c3d9e02be8c19f4445d54a649ac", + "size_bytes": 4389 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr164.json": { + "sha256": "cdd3fdbc8408eefe4d51cc6413a5ee4b768ab7bb93cce05ae2f673dedc68b186", + "size_bytes": 3103 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr166.json": { + "sha256": "bd32876e8993cacde5c2d7948a2778e5b73af2136add831cc0e084ae4abf5d2f", + "size_bytes": 3924 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr168.json": { + "sha256": "83f6548ab23336b50fdab028f800a8192f9821704802a5ddf5b792835dfefa36", + "size_bytes": 3435 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr169.json": { + "sha256": "88fd4b7b361a7004a33b9e5c165ada275b4f7f4996b2bc4d788ae738aaf8f8e4", + "size_bytes": 4554 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr172.json": { + "sha256": "593dc5c624959405b67a86d0df778cddcccd108b1de004384e9a38b75d60319f", + "size_bytes": 2940 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr177.json": { + "sha256": "7325d39bccac5fa512e85c88f4562a7b6b5d0150c2050307a93270a57209ced1", + "size_bytes": 2833 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr180.json": { + "sha256": "89f97cf1c75c39e3063f33f6fb55ba742c805fa1b8834173f59cbe3dcd8f9a14", + "size_bytes": 5264 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr181.json": { + "sha256": "730c36d97edbe595c6d454cffebbcb72ec6b2b4edc4d20b2df7fd9d95bcbf184", + "size_bytes": 3082 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr182.json": { + "sha256": "2609617213eb51e0cf53a61a493a5c9f8b9c663f374f5515ff39acee8cf48946", + "size_bytes": 3366 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr183.json": { + "sha256": "e6373c1b4875b257d14e0218450cfa120b52c014c3c2d4ee7101ea369b14756b", + "size_bytes": 3925 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr184.json": { + "sha256": "a4ea5971beea7bd963e7fd31c5fae2827351dea1741df4084772fb4323650e54", + "size_bytes": 3190 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr192.json": { + "sha256": "5ffb2bf59d2e4318d59ce1563d5e0bbbe1b150242b836cb2d9ca909a4435a65c", + "size_bytes": 3078 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr195.json": { + "sha256": "58eab8bc3c2c67057811eb5f31567333f9f9baa4c5ada3d8e69b16b8cb17ed81", + "size_bytes": 4135 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr199.json": { + "sha256": "9ac789f16c39c833869948d4cc8f93c1261de10cdc7af34588426549738ffc98", + "size_bytes": 4466 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr200.json": { + "sha256": "f672c4da0c8260822b8beb343b70584cbe751c5db4e270436c2d1ebb10a2f601", + "size_bytes": 4432 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr201.json": { + "sha256": "e8b6bb8325552f60581f5f1b80a89c7601fec06fcf657b5534bea8d040d1a95f", + "size_bytes": 4180 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr204.json": { + "sha256": "981379335fe5c10c053565dacfaf6acca685fc8eb21556046a2f4ffc62748531", + "size_bytes": 4128 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr205.json": { + "sha256": "0b58524102bad27bff995e9223799e63431b3c640d21ebdec65be47db5045451", + "size_bytes": 5910 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr206.json": { + "sha256": "ee403599119cc835bfb91ec24bdbe678ed879b074daf0d8c22e059a995765f01", + "size_bytes": 3980 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr207.json": { + "sha256": "db7076ab31503fb70a0a66a012b86b9fb51745aab245684d8e267a2949def713", + "size_bytes": 3180 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr209.json": { + "sha256": "ca7694ed0b28979abe8bf26e4a2c0c4964e1f2ab5a45cf03d6abb52285af00fb", + "size_bytes": 4535 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr210.json": { + "sha256": "6d70b0c67b3719903622b6c7f8f1e9245c887f21647566c1dce0d75cafaa0d08", + "size_bytes": 6282 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr212.json": { + "sha256": "f1939418d772e4aabadc00f97e869173860c0510869b64976a178478dcd1de5c", + "size_bytes": 6332 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr213.json": { + "sha256": "6b522e2dfad77a9703114d223a0703e9ce9f7907e41345ddf2447ebe0f7e93d8", + "size_bytes": 4161 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr216.json": { + "sha256": "96b5a58f963e929377500ad64cf25e4d14a9f5c7349b32ca28b810ba343edbb0", + "size_bytes": 4937 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr218.json": { + "sha256": "803f86e586c51c1634335e68139af69a995dc0469e1acd5e581dc19b292e256b", + "size_bytes": 3256 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr258.json": { + "sha256": "63fc024a901425c6b2a6239fa718fd60499a52311e3115da1be588fa94ff7b81", + "size_bytes": 3874 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr304.json": { + "sha256": "650dbb9b73a86e04003081ea89f0b24e16fc86b552bbfac661de8a9862733e16", + "size_bytes": 2820 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr306.json": { + "sha256": "30ecf7b75070364ce6f863eb80073ecf66e4802a9bb7daa48472442ad2335243", + "size_bytes": 4223 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr308.json": { + "sha256": "cd76a618fbd212ef01c35a5cb0d0957c9daa8d212ff56036e1f2729bca3aea87", + "size_bytes": 4171 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr309.json": { + "sha256": "44fa0a81173b31d290fc83b8304390b4d593245880afbecf06d7dcf30b767a59", + "size_bytes": 4833 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr311.json": { + "sha256": "bafc32971104cd6dc6ddd8fc7d078a528dab095487d506173de74024db49e96f", + "size_bytes": 4161 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr315.json": { + "sha256": "cb7a1d61b22466527933cdc5bb1ee1a34dc35ff943e9511c5332a9f5523e9ad2", + "size_bytes": 4132 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr316.json": { + "sha256": "2aeace60b73746184356fc9def02817471283362d23a962f07d7795da5dd527d", + "size_bytes": 3784 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr43.json": { + "sha256": "04fb74a36182801c156c7ae5fb80ea25e0e041114efaa93d2421fb7ab85a70de", + "size_bytes": 3010 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr47.json": { + "sha256": "61a1d1579449484f5a1ef09759fbe092692d5bef96d597895657a85377b6cdc0", + "size_bytes": 4834 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr48.json": { + "sha256": "1555887deff9a5cb0a1eb024ed9f04d5bac844fb6e3f5ccf7b4adc7b03354d09", + "size_bytes": 3506 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr529.json": { + "sha256": "e9a6130d72877af06000aeddfb8ad023ead873bfcdcb630cf8e9c01b13024f9a", + "size_bytes": 4120 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr65.json": { + "sha256": "88d39e89145d99890210284d322b6d38068968f6d68a3a5ee16ce17c50ddc419", + "size_bytes": 4876 + }, + "data/rs/probes/roniemartinez_latex2mathml_pr93.json": { + "sha256": "1322eb20cc3fe3b310895d39a1130c50aaa9278df1674fd72958a7e351dcd88f", + "size_bytes": 3946 + }, + "data/rs/probes/single-spa__single-spa-layout-24.json": { + "sha256": "9b5d9dbb891eb4efa507dab71fc90326244b3cea330b43bc94bae056b2b4f742", + "size_bytes": 4538 + }, + "data/rs/probes/single-spa__single-spa-layout-70.json": { + "sha256": "3e7e528a3cb1171467c3176c32c84141ea0ec77504890ffae13249fb7b37e6d9", + "size_bytes": 4989 + }, + "data/rs/probes/solid__community-server-806.json": { + "sha256": "3c8c1d2e9b5e7a9d4a7bae558dc51c9cc7bceaf12a6912a85ce51bfa7782e598", + "size_bytes": 4791 + }, + "data/rs/probes/textualize__rich-2247.json": { + "sha256": "840373249eca3b0dc38ee25f8712c2178a88e29b19816a5d24945c82878123d9", + "size_bytes": 4194 + }, + "data/rs/probes/textualize__rich-2642.json": { + "sha256": "c324b1c1b71d124793ba9a52ae9ea1140e7f6f51c3f622aa763ededfe3ba0d69", + "size_bytes": 5154 + }, + "data/rs/probes/textualize__rich-2804.json": { + "sha256": "a6f3112c6ef6116c18d4be90f6d7c2b899b2e52797aece9680544d3f4a79574c", + "size_bytes": 5043 + }, + "data/rs/probes/textualize__rich-3105.json": { + "sha256": "4355164781cc1c5731499553bd4c48bcf236d5bf8833069da3d706ef59c2ed6b", + "size_bytes": 4471 + }, + "data/rs/probes/textualize__rich-3518.json": { + "sha256": "1452f44d4c9a1234eafd464eedbdc7b50abf0a827b722ffe2f9d41de30d64411", + "size_bytes": 4491 + }, + "data/rs/probes/twigjs__twig.js-879.json": { + "sha256": "42ad5b5b773ae23af0026a6b8b7e57105fc94b5d176aace30c55d7f1441a01f9", + "size_bytes": 2217 + }, + "data/rs/probes/twigjs__twig.js-911.json": { + "sha256": "eb8c84165939e20470c5b61011bb109f5184984429dea82cb11bab1b4eda5cff", + "size_bytes": 3583 + }, + "data/rs/probes/useblocks__sphinx-needs-1102.json": { + "sha256": "fe1e273f219a9386085d59ffed598d9dd906b0a3ffefa9644d924125671ebeac", + "size_bytes": 5790 + }, + "data/rs/probes/wireservice_agate_pr753.json": { + "sha256": "150fe6940410520fce17d9db0cee1538131b72c2ae46bd6279fc0a72be3d07c3", + "size_bytes": 3558 + }, + "data/rs/probes.jsonl": { + "sha256": "9f7f1ee6a29a7c14b3fcd08d7689462bc8b32cbc2781219740e1f47e492d134c", + "size_bytes": 53324 + }, + "data/rs/prompts.jsonl": { + "sha256": "b7665a05c2f179293ac5c3a4f6a6209358777f5c21bb804c6ae40bd26c23cbae", + "size_bytes": 30194169 + }, + "data/rs/provenance.jsonl": { + "sha256": "0d1a4b5fcaccfb47d0db588da0c401d42e89d2ae642ee8c8ad1fcfceb53332cd", + "size_bytes": 324114 + }, + "data/rs/targets.jsonl": { + "sha256": "0d24c7b0e37a9eafd6d8ada088dc04497ad9fc20dd64fda555584b5474e8a56f", + "size_bytes": 6446072 + }, + "data/swemm/evidence.jsonl": { + "sha256": "c7b511d168ca5fd1a3d35e8416432925151af4f37218195035bae0b60c511948", + "size_bytes": 1597497 + }, + "data/swemm/gold_images/04085bddd51479a674916a9178716f99b241c167776ee233844289ba89dd43fc.png": { + "sha256": "04085bddd51479a674916a9178716f99b241c167776ee233844289ba89dd43fc", + "size_bytes": 13691 + }, + "data/swemm/gold_images/0703406994a1f041e62248d752f73594966458017b016daf1cfa66849e98edb5.png": { + "sha256": "0703406994a1f041e62248d752f73594966458017b016daf1cfa66849e98edb5", + "size_bytes": 15082 + }, + "data/swemm/gold_images/0769fa77697f31ec10e961d8e95c77097b7d4137f8d08a12233beadf1e94b893.png": { + "sha256": "0769fa77697f31ec10e961d8e95c77097b7d4137f8d08a12233beadf1e94b893", + "size_bytes": 21087 + }, + "data/swemm/gold_images/0d3dd4f1daa9178a905b35e05ba5e25a757f5c8aeab2465a641ed0fbcd6772bf.png": { + "sha256": "0d3dd4f1daa9178a905b35e05ba5e25a757f5c8aeab2465a641ed0fbcd6772bf", + "size_bytes": 8630 + }, + "data/swemm/gold_images/0d9113a531c159040bc6e0691356357ecda51bb33bc002c890d051edc41f6188.png": { + "sha256": "0d9113a531c159040bc6e0691356357ecda51bb33bc002c890d051edc41f6188", + "size_bytes": 7848 + }, + "data/swemm/gold_images/0dcc7a9e8920739a1600dd628d396ff2412036e30b90f21b9f6afb2f1e0958d0.png": { + "sha256": "0dcc7a9e8920739a1600dd628d396ff2412036e30b90f21b9f6afb2f1e0958d0", + "size_bytes": 16006 + }, + "data/swemm/gold_images/0ed5df4a1eb1dd67252abd46e626a129d0843a2cac5e6548787161af3cb6b9fa.png": { + "sha256": "0ed5df4a1eb1dd67252abd46e626a129d0843a2cac5e6548787161af3cb6b9fa", + "size_bytes": 6698 + }, + "data/swemm/gold_images/14efac822a31ace0e0e3e9651b1e40f4a498e53c8f59d425c4658707edfd4e12.png": { + "sha256": "14efac822a31ace0e0e3e9651b1e40f4a498e53c8f59d425c4658707edfd4e12", + "size_bytes": 9568 + }, + "data/swemm/gold_images/15824b7267e16c3e0244ab0a880a5d235a966803b48256eb892aec18bdb8bc5a.png": { + "sha256": "15824b7267e16c3e0244ab0a880a5d235a966803b48256eb892aec18bdb8bc5a", + "size_bytes": 26089 + }, + "data/swemm/gold_images/16890adfe87f87786b80311a75e8e982491c525c5736cb33e1e0788637defbfa.png": { + "sha256": "16890adfe87f87786b80311a75e8e982491c525c5736cb33e1e0788637defbfa", + "size_bytes": 19163 + }, + "data/swemm/gold_images/1a35c506d1c7e413020e1bd8bd8e08096e62da473cf7eae241c00a5883f836dc.png": { + "sha256": "1a35c506d1c7e413020e1bd8bd8e08096e62da473cf7eae241c00a5883f836dc", + "size_bytes": 31014 + }, + "data/swemm/gold_images/1a38ab9bb63e347c2be6a85ef8d9f697ea234e304ed7eefa558ae29923662f8d.png": { + "sha256": "1a38ab9bb63e347c2be6a85ef8d9f697ea234e304ed7eefa558ae29923662f8d", + "size_bytes": 6525 + }, + "data/swemm/gold_images/1be5d74d3dcc1645a83fb874ae18287eb22ab5579eb77f97233b6d1cdfb6aafe.png": { + "sha256": "1be5d74d3dcc1645a83fb874ae18287eb22ab5579eb77f97233b6d1cdfb6aafe", + "size_bytes": 7349 + }, + "data/swemm/gold_images/1c01197b183ed7ab7e77efb391b7880866be925865e7cf9ba3c8f373b3c77a79.png": { + "sha256": "1c01197b183ed7ab7e77efb391b7880866be925865e7cf9ba3c8f373b3c77a79", + "size_bytes": 31065 + }, + "data/swemm/gold_images/1cfc33fec6b124bd7d1319ae29667af7c4d3ba0253a4a582ba12775bd9e11a44.png": { + "sha256": "1cfc33fec6b124bd7d1319ae29667af7c4d3ba0253a4a582ba12775bd9e11a44", + "size_bytes": 19201 + }, + "data/swemm/gold_images/1ddc77b470a413e05fe878266e5e3ba7e81bcac88d8c036d30b703638df1bb54.png": { + "sha256": "1ddc77b470a413e05fe878266e5e3ba7e81bcac88d8c036d30b703638df1bb54", + "size_bytes": 41823 + }, + "data/swemm/gold_images/1df4b1c86e6d9aa84e571000aecd0566518f718b3014943184775b59ed48492b.png": { + "sha256": "1df4b1c86e6d9aa84e571000aecd0566518f718b3014943184775b59ed48492b", + "size_bytes": 31774 + }, + "data/swemm/gold_images/1e7ff7b4b58d1c50b372e52addcac7d1a6a2702c251eb15b3664e90dec5e5e2e.png": { + "sha256": "1e7ff7b4b58d1c50b372e52addcac7d1a6a2702c251eb15b3664e90dec5e5e2e", + "size_bytes": 31762 + }, + "data/swemm/gold_images/25f7ddc7e6ae60a8c8e81c1bbea9ca978faaf3503b2a6ef01603268e74d616e4.png": { + "sha256": "25f7ddc7e6ae60a8c8e81c1bbea9ca978faaf3503b2a6ef01603268e74d616e4", + "size_bytes": 31244 + }, + "data/swemm/gold_images/2b8454bc13338d077a409db3b63a9f4f759f11c4fd1c8829891cae24ba526f12.png": { + "sha256": "2b8454bc13338d077a409db3b63a9f4f759f11c4fd1c8829891cae24ba526f12", + "size_bytes": 7397 + }, + "data/swemm/gold_images/2e1c3540c01c2ac67dfc9a02b989fdd95b5142bb692883544fbf80858b046170.png": { + "sha256": "2e1c3540c01c2ac67dfc9a02b989fdd95b5142bb692883544fbf80858b046170", + "size_bytes": 61609 + }, + "data/swemm/gold_images/3a3768c199b7d92648f2fee8e4fc2ee1b481d048b89418b4fd10e80f6461f665.png": { + "sha256": "3a3768c199b7d92648f2fee8e4fc2ee1b481d048b89418b4fd10e80f6461f665", + "size_bytes": 8630 + }, + "data/swemm/gold_images/3cbae45bfb41134e05125f647d5e1984298a4fab1dc3f62f9d1203073a6b260c.png": { + "sha256": "3cbae45bfb41134e05125f647d5e1984298a4fab1dc3f62f9d1203073a6b260c", + "size_bytes": 11712 + }, + "data/swemm/gold_images/3d3ba777a0b752f1d0ad564c59e020370b1c2ffdd9c32ef7bfc0a60dd3107512.png": { + "sha256": "3d3ba777a0b752f1d0ad564c59e020370b1c2ffdd9c32ef7bfc0a60dd3107512", + "size_bytes": 10516 + }, + "data/swemm/gold_images/406a4be2399d4fd98925517c062355934b9659353b45a403bc464f16dcba31a2.png": { + "sha256": "406a4be2399d4fd98925517c062355934b9659353b45a403bc464f16dcba31a2", + "size_bytes": 15879 + }, + "data/swemm/gold_images/42a186dbc6b21ab4004a0b33569ad012431aba3b7be3d87db91ebb099963d99f.png": { + "sha256": "42a186dbc6b21ab4004a0b33569ad012431aba3b7be3d87db91ebb099963d99f", + "size_bytes": 7732 + }, + "data/swemm/gold_images/434a409b7d1cd8050f2067591b4821235075420d67e259c7d8f7330389fbb0e9.png": { + "sha256": "434a409b7d1cd8050f2067591b4821235075420d67e259c7d8f7330389fbb0e9", + "size_bytes": 21490 + }, + "data/swemm/gold_images/43fc2d8ac627a9baa0f254ecdf589687cc07617063f001fdb76e17a775f62507.png": { + "sha256": "43fc2d8ac627a9baa0f254ecdf589687cc07617063f001fdb76e17a775f62507", + "size_bytes": 12556 + }, + "data/swemm/gold_images/45a300073f0d9f7305fdcaaa466ae63b7e1f2cd7b7b4f403288393bc99b7472f.png": { + "sha256": "45a300073f0d9f7305fdcaaa466ae63b7e1f2cd7b7b4f403288393bc99b7472f", + "size_bytes": 12119 + }, + "data/swemm/gold_images/45a5aea5accba6746b77b1fac71b29ee792a6ec84f83a71e974d747b2fc29e73.png": { + "sha256": "45a5aea5accba6746b77b1fac71b29ee792a6ec84f83a71e974d747b2fc29e73", + "size_bytes": 9407 + }, + "data/swemm/gold_images/46b2e2dc21a8a9ab75f76923706498515d72268efe88332256aa8c39d4729dd5.png": { + "sha256": "46b2e2dc21a8a9ab75f76923706498515d72268efe88332256aa8c39d4729dd5", + "size_bytes": 16926 + }, + "data/swemm/gold_images/478d5a0837e9b0a4206abbf01997cafc013315a05878c1400a138d684aa18ea0.png": { + "sha256": "478d5a0837e9b0a4206abbf01997cafc013315a05878c1400a138d684aa18ea0", + "size_bytes": 8997 + }, + "data/swemm/gold_images/47d1cf716ca7792fa7ac7a25fe600ee389f4ff7fb9a2e8dfd7823a71c40a8963.png": { + "sha256": "47d1cf716ca7792fa7ac7a25fe600ee389f4ff7fb9a2e8dfd7823a71c40a8963", + "size_bytes": 26727 + }, + "data/swemm/gold_images/4ca13bfea2381381417f37cff4b34bcecfc3a1f24c15d1c0c42d9fa63982cac6.png": { + "sha256": "4ca13bfea2381381417f37cff4b34bcecfc3a1f24c15d1c0c42d9fa63982cac6", + "size_bytes": 13712 + }, + "data/swemm/gold_images/4ed6127757a54eed1b237ae3be0a642a90437afc333c1714c25581861bea02e5.png": { + "sha256": "4ed6127757a54eed1b237ae3be0a642a90437afc333c1714c25581861bea02e5", + "size_bytes": 5775 + }, + "data/swemm/gold_images/53a536cd09acabef5cbdbf9f62ed562b68ebfb2ce6f845f860f4115026e5c1da.png": { + "sha256": "53a536cd09acabef5cbdbf9f62ed562b68ebfb2ce6f845f860f4115026e5c1da", + "size_bytes": 6690 + }, + "data/swemm/gold_images/56cb6d976e99e74377d57b1d2799603a0ea69e7f6aee8a875c0b2734bb3e9733.png": { + "sha256": "56cb6d976e99e74377d57b1d2799603a0ea69e7f6aee8a875c0b2734bb3e9733", + "size_bytes": 21865 + }, + "data/swemm/gold_images/598c69d5d47e58c541812b90fa297e30dd3cb2b8a253a85a2eaedb48aa682bb5.png": { + "sha256": "598c69d5d47e58c541812b90fa297e30dd3cb2b8a253a85a2eaedb48aa682bb5", + "size_bytes": 41100 + }, + "data/swemm/gold_images/5aaa7351329a61138fe6377783a42e10ddadd000ba8e949b47d45c00efd7b40b.png": { + "sha256": "5aaa7351329a61138fe6377783a42e10ddadd000ba8e949b47d45c00efd7b40b", + "size_bytes": 6508 + }, + "data/swemm/gold_images/63d7609e547433e1245002aa5e53c0f370a78a37171d20b935908fc7fe4137c6.png": { + "sha256": "63d7609e547433e1245002aa5e53c0f370a78a37171d20b935908fc7fe4137c6", + "size_bytes": 36728 + }, + "data/swemm/gold_images/680b3f39af1e3ff9d9ec6a75cd404df5e269547766fabfbd71c2cf4161ad49cc.png": { + "sha256": "680b3f39af1e3ff9d9ec6a75cd404df5e269547766fabfbd71c2cf4161ad49cc", + "size_bytes": 17502 + }, + "data/swemm/gold_images/69e958d9d95ba31a1412f4ff0fa3eed612fbff9b8c184774311ccd4a4a5107a5.png": { + "sha256": "69e958d9d95ba31a1412f4ff0fa3eed612fbff9b8c184774311ccd4a4a5107a5", + "size_bytes": 31666 + }, + "data/swemm/gold_images/70764c619c7b3b01e5ad81bf4728acaa296000bc5d1fbd2d70bce724e9a2af64.png": { + "sha256": "70764c619c7b3b01e5ad81bf4728acaa296000bc5d1fbd2d70bce724e9a2af64", + "size_bytes": 15171 + }, + "data/swemm/gold_images/77f8320bf0f58e954661e9cc7c6dbd45b456b17d91324e17bd74287eaba71b17.png": { + "sha256": "77f8320bf0f58e954661e9cc7c6dbd45b456b17d91324e17bd74287eaba71b17", + "size_bytes": 26619 + }, + "data/swemm/gold_images/7906f3ce13df8f13ce970366682ea69b50e23fc876873ea40cb8444afeea2fb4.png": { + "sha256": "7906f3ce13df8f13ce970366682ea69b50e23fc876873ea40cb8444afeea2fb4", + "size_bytes": 26674 + }, + "data/swemm/gold_images/79c8cc262b4865bc0f8ae944342834d68bb5b210c54ec2947e6b54d4491bf99f.png": { + "sha256": "79c8cc262b4865bc0f8ae944342834d68bb5b210c54ec2947e6b54d4491bf99f", + "size_bytes": 11454 + }, + "data/swemm/gold_images/8197dfb50b5e5fa3214e3b52e85329df4fe412281436dc456614ff0fee7170c1.png": { + "sha256": "8197dfb50b5e5fa3214e3b52e85329df4fe412281436dc456614ff0fee7170c1", + "size_bytes": 66422 + }, + "data/swemm/gold_images/84d5980817c8b201611d302668ec0e10bc22c57528e3c47be6392ff7c38b7583.png": { + "sha256": "84d5980817c8b201611d302668ec0e10bc22c57528e3c47be6392ff7c38b7583", + "size_bytes": 8305 + }, + "data/swemm/gold_images/8b2843743403ea8dda13e4e02c1fdf9073ebb26fc8039b2149e0dc0090eea53d.png": { + "sha256": "8b2843743403ea8dda13e4e02c1fdf9073ebb26fc8039b2149e0dc0090eea53d", + "size_bytes": 20365 + }, + "data/swemm/gold_images/8c13c6eb920ac55044740907f10c0f98d97af598ae7a92112aba37ee6147bfbb.png": { + "sha256": "8c13c6eb920ac55044740907f10c0f98d97af598ae7a92112aba37ee6147bfbb", + "size_bytes": 26322 + }, + "data/swemm/gold_images/8ec13e084d00aadf9b0da6be371e010b33ea2d31cd414bb7ba06b27b10a799bc.png": { + "sha256": "8ec13e084d00aadf9b0da6be371e010b33ea2d31cd414bb7ba06b27b10a799bc", + "size_bytes": 14570 + }, + "data/swemm/gold_images/918322b8fe046e4c819ca62ef0e051b264a224b584222296cced416d8ab13af1.png": { + "sha256": "918322b8fe046e4c819ca62ef0e051b264a224b584222296cced416d8ab13af1", + "size_bytes": 15173 + }, + "data/swemm/gold_images/98fae927b9ed6455e0b99b5e701f97cec029629d9026908515a68b72df5d168f.png": { + "sha256": "98fae927b9ed6455e0b99b5e701f97cec029629d9026908515a68b72df5d168f", + "size_bytes": 37295 + }, + "data/swemm/gold_images/991fe8306f9d155f49152e52dfa1e8b8f5adaebc2b0045616cfaaf00d836a03c.png": { + "sha256": "991fe8306f9d155f49152e52dfa1e8b8f5adaebc2b0045616cfaaf00d836a03c", + "size_bytes": 5771 + }, + "data/swemm/gold_images/9b2e46bd57f2fd8147b23255dabb0ad345c662a13f5a0ce4526c24f6e34d6f01.png": { + "sha256": "9b2e46bd57f2fd8147b23255dabb0ad345c662a13f5a0ce4526c24f6e34d6f01", + "size_bytes": 12776 + }, + "data/swemm/gold_images/a221034e35e88d3d647d1bc576de57eb3a6bdf7a082d1ef0e6be6da4b9a1d90c.png": { + "sha256": "a221034e35e88d3d647d1bc576de57eb3a6bdf7a082d1ef0e6be6da4b9a1d90c", + "size_bytes": 27292 + }, + "data/swemm/gold_images/a75703c85434d317f564574ae5a63caa0f5a3d065dac810e31cf3e85d2e4169f.png": { + "sha256": "a75703c85434d317f564574ae5a63caa0f5a3d065dac810e31cf3e85d2e4169f", + "size_bytes": 67260 + }, + "data/swemm/gold_images/acb977a18f5ddc200db0fa243c85d03377231aace210bf4e46d37d4bd5d4e1ae.png": { + "sha256": "acb977a18f5ddc200db0fa243c85d03377231aace210bf4e46d37d4bd5d4e1ae", + "size_bytes": 50873 + }, + "data/swemm/gold_images/ad397383c989bb4146b105fb4c54ba4ee4d593208f30902b36827ab628e1d60c.png": { + "sha256": "ad397383c989bb4146b105fb4c54ba4ee4d593208f30902b36827ab628e1d60c", + "size_bytes": 5771 + }, + "data/swemm/gold_images/ad66b4060943f71951574c7b2f8d70394c3aca569913e42d12d6f7fe6d09e559.png": { + "sha256": "ad66b4060943f71951574c7b2f8d70394c3aca569913e42d12d6f7fe6d09e559", + "size_bytes": 49508 + }, + "data/swemm/gold_images/b22325c3ea5ce69f11971a9bae970595e570aef1b6eaf08aad1afc258e0eff88.png": { + "sha256": "b22325c3ea5ce69f11971a9bae970595e570aef1b6eaf08aad1afc258e0eff88", + "size_bytes": 16988 + }, + "data/swemm/gold_images/b3d79cdc4c4a62f8251ec320232f4628254d43dfc7b3c48ae32bcf9126143856.png": { + "sha256": "b3d79cdc4c4a62f8251ec320232f4628254d43dfc7b3c48ae32bcf9126143856", + "size_bytes": 17766 + }, + "data/swemm/gold_images/b8a22d100e997e8eb6a818642b65918ddefea080169c6e467d9bc61e03b32a91.png": { + "sha256": "b8a22d100e997e8eb6a818642b65918ddefea080169c6e467d9bc61e03b32a91", + "size_bytes": 25974 + }, + "data/swemm/gold_images/b952355d0ec2a8684fd688f8ad7a9c5ddb0b3e22a8b95a101ef9fedc471825e6.png": { + "sha256": "b952355d0ec2a8684fd688f8ad7a9c5ddb0b3e22a8b95a101ef9fedc471825e6", + "size_bytes": 22257 + }, + "data/swemm/gold_images/be4215621a3f58535232ac450dd2c880e4f943d1f08e52910a97cc0aff8f3f12.png": { + "sha256": "be4215621a3f58535232ac450dd2c880e4f943d1f08e52910a97cc0aff8f3f12", + "size_bytes": 56243 + }, + "data/swemm/gold_images/bfcc3a492d2c040a1c29262bf440b2b7aada93d057043d62d76c173a0c0280bf.png": { + "sha256": "bfcc3a492d2c040a1c29262bf440b2b7aada93d057043d62d76c173a0c0280bf", + "size_bytes": 19040 + }, + "data/swemm/gold_images/c188c356ad1a7b0ee8d0bf0ecc1d84d90a0818ef5090cbf61dc7cfe2b2532434.png": { + "sha256": "c188c356ad1a7b0ee8d0bf0ecc1d84d90a0818ef5090cbf61dc7cfe2b2532434", + "size_bytes": 18497 + }, + "data/swemm/gold_images/cc84a0ecd263c16ade178f93cb782805bdaf4c7a3c6e49afb63cac001b586ee7.png": { + "sha256": "cc84a0ecd263c16ade178f93cb782805bdaf4c7a3c6e49afb63cac001b586ee7", + "size_bytes": 15311 + }, + "data/swemm/gold_images/ce51a6ef2b7d64eb13a558ba87c2ae0190700776f7fbeeedc299582009211015.png": { + "sha256": "ce51a6ef2b7d64eb13a558ba87c2ae0190700776f7fbeeedc299582009211015", + "size_bytes": 42790 + }, + "data/swemm/gold_images/d1188e3fd326089b07d538ef88daa41e7ab4f89a0557d314b2dba2c71e70ac39.png": { + "sha256": "d1188e3fd326089b07d538ef88daa41e7ab4f89a0557d314b2dba2c71e70ac39", + "size_bytes": 17824 + }, + "data/swemm/gold_images/d60d669a6ca9ddb491ae41adfac28606e9d600e029f96212a52911c3c95a0ade.png": { + "sha256": "d60d669a6ca9ddb491ae41adfac28606e9d600e029f96212a52911c3c95a0ade", + "size_bytes": 22623 + }, + "data/swemm/gold_images/d92deec99f63b866bba39767e452e3e581b4940b29d46e24d9c9158d3c188ca2.png": { + "sha256": "d92deec99f63b866bba39767e452e3e581b4940b29d46e24d9c9158d3c188ca2", + "size_bytes": 32991 + }, + "data/swemm/gold_images/dad7ed9b335a1bad8f23773b69ca33a3b0a7109b18d4fb7a80efe7e733fa5e64.png": { + "sha256": "dad7ed9b335a1bad8f23773b69ca33a3b0a7109b18d4fb7a80efe7e733fa5e64", + "size_bytes": 38663 + }, + "data/swemm/gold_images/deb8455617081a1fec631e27f60ca4369cff88d01781183ab1dcc6c1ba116c28.png": { + "sha256": "deb8455617081a1fec631e27f60ca4369cff88d01781183ab1dcc6c1ba116c28", + "size_bytes": 27721 + }, + "data/swemm/gold_images/dfeed84ec2512047f2ce828a77f7fc4863ea4c3cc59230dbdac2e81c3a0c0137.png": { + "sha256": "dfeed84ec2512047f2ce828a77f7fc4863ea4c3cc59230dbdac2e81c3a0c0137", + "size_bytes": 23510 + }, + "data/swemm/gold_images/e313f0a579758fdcbe165b55bf88a77b90e07cb5c0cabccf41023717df643fbf.png": { + "sha256": "e313f0a579758fdcbe165b55bf88a77b90e07cb5c0cabccf41023717df643fbf", + "size_bytes": 34019 + }, + "data/swemm/gold_images/e39ed34c50f769a411363bcb2f2032f183189a1188fa1274864268250be0a096.png": { + "sha256": "e39ed34c50f769a411363bcb2f2032f183189a1188fa1274864268250be0a096", + "size_bytes": 33494 + }, + "data/swemm/gold_images/e50a28b39985440d45e87322618cd62dd7707b3091202d058ec617bdafcf1f78.png": { + "sha256": "e50a28b39985440d45e87322618cd62dd7707b3091202d058ec617bdafcf1f78", + "size_bytes": 18092 + }, + "data/swemm/gold_images/e69e7bcc5d9e3f88e981ca682d2cd31252ed87761667047850f6d80c40298a13.png": { + "sha256": "e69e7bcc5d9e3f88e981ca682d2cd31252ed87761667047850f6d80c40298a13", + "size_bytes": 5452 + }, + "data/swemm/gold_images/e74d6cfd44cf272c7797fae1edf1639c33d51f038f8f7faef79858110d4c112c.png": { + "sha256": "e74d6cfd44cf272c7797fae1edf1639c33d51f038f8f7faef79858110d4c112c", + "size_bytes": 6229 + }, + "data/swemm/gold_images/e79067f558fad1d9ec2441002306fee331af0c71e65fc42d5238a828c2e6c4d2.png": { + "sha256": "e79067f558fad1d9ec2441002306fee331af0c71e65fc42d5238a828c2e6c4d2", + "size_bytes": 47741 + }, + "data/swemm/gold_images/ecaddb6d640c3b7a1ea2a6b0c9fd86c426208c6339feb56afdeae30f18e7a4e3.png": { + "sha256": "ecaddb6d640c3b7a1ea2a6b0c9fd86c426208c6339feb56afdeae30f18e7a4e3", + "size_bytes": 53885 + }, + "data/swemm/gold_images/ee1c58a2cf27297fec92688845d06b4298a844b17453f0f331b13010486c394e.png": { + "sha256": "ee1c58a2cf27297fec92688845d06b4298a844b17453f0f331b13010486c394e", + "size_bytes": 11580 + }, + "data/swemm/gold_images/f46910be8d6e8bde12eae4d8bab3625a0829091f62ea80c907e233d83b9d8814.png": { + "sha256": "f46910be8d6e8bde12eae4d8bab3625a0829091f62ea80c907e233d83b9d8814", + "size_bytes": 51699 + }, + "data/swemm/gold_images/f49d65e8a498ec34575f51d2f8d6387e3f4d29a6a4c9b50518e4514499fd2c01.png": { + "sha256": "f49d65e8a498ec34575f51d2f8d6387e3f4d29a6a4c9b50518e4514499fd2c01", + "size_bytes": 11852 + }, + "data/swemm/gold_images/f4a0372864dff576f99565d6c435ee309393ad4682e017d4bddd6182869aef87.png": { + "sha256": "f4a0372864dff576f99565d6c435ee309393ad4682e017d4bddd6182869aef87", + "size_bytes": 11645 + }, + "data/swemm/gold_images/f5e3cf46de58c70bb8c276e11d11f82b38765a0f1593d5ab7f5ededeea5ab829.png": { + "sha256": "f5e3cf46de58c70bb8c276e11d11f82b38765a0f1593d5ab7f5ededeea5ab829", + "size_bytes": 20779 + }, + "data/swemm/gold_images/f61609d4f91a04c87516f817392cdf46da1562328ebd6d63b1ec14e0a945af63.png": { + "sha256": "f61609d4f91a04c87516f817392cdf46da1562328ebd6d63b1ec14e0a945af63", + "size_bytes": 42776 + }, + "data/swemm/gold_images/facdce87c6f66901fe378322da4a17bcf518759ac9ed42c4766f150646c5c073.png": { + "sha256": "facdce87c6f66901fe378322da4a17bcf518759ac9ed42c4766f150646c5c073", + "size_bytes": 31568 + }, + "data/swemm/gold_images/fc3c109c6486d422e863ab26f8d883a43ddce41442ae1e4243152c7982045385.png": { + "sha256": "fc3c109c6486d422e863ab26f8d883a43ddce41442ae1e4243152c7982045385", + "size_bytes": 6788 + }, + "data/swemm/gold_images/fce4a1fa8d25c117b58da8fa8f9e546884c8afdb0ba0be9602ede248005c223c.png": { + "sha256": "fce4a1fa8d25c117b58da8fa8f9e546884c8afdb0ba0be9602ede248005c223c", + "size_bytes": 16839 + }, + "data/swemm/gold_images/fdd44dbfd8efd095414080df62b236a614f3225bf2daa3c72dce6213410dc4af.png": { + "sha256": "fdd44dbfd8efd095414080df62b236a614f3225bf2daa3c72dce6213410dc4af", + "size_bytes": 41063 + }, + "data/swemm/gold_images.jsonl": { + "sha256": "7eec9b86b6d211ac4dfb25bd99e42bcd49c798e48de08e75048bb4190b8616b7", + "size_bytes": 88119 + }, + "data/swemm/images/01389475a98a431a2aa12393e901dee6354255ae4b5510073f65cdef5e595117.png": { + "sha256": "01389475a98a431a2aa12393e901dee6354255ae4b5510073f65cdef5e595117", + "size_bytes": 10385 + }, + "data/swemm/images/013fd8d4b7a7a11a0fc6cf34f5f196362e6ebceb416778309424ee65aa09bd90.png": { + "sha256": "013fd8d4b7a7a11a0fc6cf34f5f196362e6ebceb416778309424ee65aa09bd90", + "size_bytes": 71827 + }, + "data/swemm/images/016c379b0a74ed7b7e47e384f8413139da1802523bd7b1f11695f1b606b3700d.png": { + "sha256": "016c379b0a74ed7b7e47e384f8413139da1802523bd7b1f11695f1b606b3700d", + "size_bytes": 29211 + }, + "data/swemm/images/0340897215eefddd7d6f352e690cdbafbe56184f7fdc47efb11f80ec5db21a21.png": { + "sha256": "0340897215eefddd7d6f352e690cdbafbe56184f7fdc47efb11f80ec5db21a21", + "size_bytes": 22648 + }, + "data/swemm/images/0566aac34ce2ed3ffcf9fb96d44b0b3dca746620ec4f94ffdadfb1b9bcabda72.png": { + "sha256": "0566aac34ce2ed3ffcf9fb96d44b0b3dca746620ec4f94ffdadfb1b9bcabda72", + "size_bytes": 49190 + }, + "data/swemm/images/06130ae5a410f4f23c6e28334884bf62b50aea6f1c7400aace878795f99e7b89.png": { + "sha256": "06130ae5a410f4f23c6e28334884bf62b50aea6f1c7400aace878795f99e7b89", + "size_bytes": 6976 + }, + "data/swemm/images/067c0121647bddec8f9c9f21f1a2194b6f5375740d92585c8a73afcf72961ae4.png": { + "sha256": "067c0121647bddec8f9c9f21f1a2194b6f5375740d92585c8a73afcf72961ae4", + "size_bytes": 107173 + }, + "data/swemm/images/0680194d33920c0d28beb74ed2672718a18ee911e84a1923a2070659aac21048.png": { + "sha256": "0680194d33920c0d28beb74ed2672718a18ee911e84a1923a2070659aac21048", + "size_bytes": 3455 + }, + "data/swemm/images/09599a036647ab15a6a605174545249adee6cafc10f9ef407b15a80935e03505.png": { + "sha256": "09599a036647ab15a6a605174545249adee6cafc10f9ef407b15a80935e03505", + "size_bytes": 47791 + }, + "data/swemm/images/09b52d110dc4381a62a152a4cc1a6c4dcc7918c7b97291256fa70966a1117a92.png": { + "sha256": "09b52d110dc4381a62a152a4cc1a6c4dcc7918c7b97291256fa70966a1117a92", + "size_bytes": 6880 + }, + "data/swemm/images/0af91b1480bdc03a78a11879cf8ea2f51823b1dde885ae7366291ad7afbef77f.png": { + "sha256": "0af91b1480bdc03a78a11879cf8ea2f51823b1dde885ae7366291ad7afbef77f", + "size_bytes": 116558 + }, + "data/swemm/images/0bab904f8474c505252a20b716fd2009bf8bb1fc9719208aa8bc0babcbfb5166.png": { + "sha256": "0bab904f8474c505252a20b716fd2009bf8bb1fc9719208aa8bc0babcbfb5166", + "size_bytes": 14518 + }, + "data/swemm/images/0d8923f9125485d5e232abe04ddbef53a75a30d1ba4cfcd6fbd7ce3564f253de.png": { + "sha256": "0d8923f9125485d5e232abe04ddbef53a75a30d1ba4cfcd6fbd7ce3564f253de", + "size_bytes": 85429 + }, + "data/swemm/images/0e918ab955a8f7ddcd6d55d8e3ca0c9eb03c31fab696c62ff5424da4812dc170.png": { + "sha256": "0e918ab955a8f7ddcd6d55d8e3ca0c9eb03c31fab696c62ff5424da4812dc170", + "size_bytes": 110712 + }, + "data/swemm/images/0eb6d1a50cb4f781e6755e28962d778910c49d1d98cfe27efd1214bf0faf1225.png": { + "sha256": "0eb6d1a50cb4f781e6755e28962d778910c49d1d98cfe27efd1214bf0faf1225", + "size_bytes": 74975 + }, + "data/swemm/images/10a6bfc306ad9346e96aab7bc12207a9874b28e4fbcb770349c4729016405cab.png": { + "sha256": "10a6bfc306ad9346e96aab7bc12207a9874b28e4fbcb770349c4729016405cab", + "size_bytes": 130587 + }, + "data/swemm/images/1383fa11d218764d70690ab28db37d034bdad86596c9f4ed7b96bfc7d635ba38.png": { + "sha256": "1383fa11d218764d70690ab28db37d034bdad86596c9f4ed7b96bfc7d635ba38", + "size_bytes": 5778 + }, + "data/swemm/images/14e191beba542b59a865f5f27b88c9b47243dc6de25e16399709f98475d6d5bd.png": { + "sha256": "14e191beba542b59a865f5f27b88c9b47243dc6de25e16399709f98475d6d5bd", + "size_bytes": 88816 + }, + "data/swemm/images/1526c7a6b5840b6cc90290f0e6696098141a12ca3cce8574dd9354f2d4499df7.png": { + "sha256": "1526c7a6b5840b6cc90290f0e6696098141a12ca3cce8574dd9354f2d4499df7", + "size_bytes": 38233 + }, + "data/swemm/images/15e5e5cb1235f9cd3484e1b2e82f8606e6c7f7a0837f3848a3a83b347fd854b0.png": { + "sha256": "15e5e5cb1235f9cd3484e1b2e82f8606e6c7f7a0837f3848a3a83b347fd854b0", + "size_bytes": 37436 + }, + "data/swemm/images/16c890379f224d1b9710891a512d28dfef762aa9325c5b20191da53d836ff8ec.png": { + "sha256": "16c890379f224d1b9710891a512d28dfef762aa9325c5b20191da53d836ff8ec", + "size_bytes": 42415 + }, + "data/swemm/images/18591f7d3153877bf1299a2337ab9daf503dd010549235c3b17a9cc2b73d2faf.png": { + "sha256": "18591f7d3153877bf1299a2337ab9daf503dd010549235c3b17a9cc2b73d2faf", + "size_bytes": 7172 + }, + "data/swemm/images/1885a11515cf3212f534cb0289d410e6f4190431011c534435532b3f7f7848fa.png": { + "sha256": "1885a11515cf3212f534cb0289d410e6f4190431011c534435532b3f7f7848fa", + "size_bytes": 62179 + }, + "data/swemm/images/1a9dcb3d36fa7ed34385deaa8e86a5f4f07dc7c98e4493812a2a57d77ff09b0b.png": { + "sha256": "1a9dcb3d36fa7ed34385deaa8e86a5f4f07dc7c98e4493812a2a57d77ff09b0b", + "size_bytes": 4681 + }, + "data/swemm/images/1ac4cfbe19963e6f852dd7668586634f6f55d948a52d39b4b9793805a9a5110a.png": { + "sha256": "1ac4cfbe19963e6f852dd7668586634f6f55d948a52d39b4b9793805a9a5110a", + "size_bytes": 26308 + }, + "data/swemm/images/1c1e5f6dcf4e76abc40cfe9b5b6d327585cce301725b5958f716fe5ba3e7a1b8.png": { + "sha256": "1c1e5f6dcf4e76abc40cfe9b5b6d327585cce301725b5958f716fe5ba3e7a1b8", + "size_bytes": 41562 + }, + "data/swemm/images/1c98f3ef22e3eb5284a3c570769f644ee697a16d5384032a456224651b47b3a9.png": { + "sha256": "1c98f3ef22e3eb5284a3c570769f644ee697a16d5384032a456224651b47b3a9", + "size_bytes": 91767 + }, + "data/swemm/images/1de250889b11113c914a614981d73a8598c2b8709993999f88efcdfe9fd8c839.png": { + "sha256": "1de250889b11113c914a614981d73a8598c2b8709993999f88efcdfe9fd8c839", + "size_bytes": 4533 + }, + "data/swemm/images/1de6fae8c2bb15b9822d5d320cab20f91d29c83233bd48b0b71b9b366526eaa5.png": { + "sha256": "1de6fae8c2bb15b9822d5d320cab20f91d29c83233bd48b0b71b9b366526eaa5", + "size_bytes": 19063 + }, + "data/swemm/images/1f8e43e370de7e649798a86ccd80851d8d5612842e58d25b78e26f5c62e5698e.png": { + "sha256": "1f8e43e370de7e649798a86ccd80851d8d5612842e58d25b78e26f5c62e5698e", + "size_bytes": 40898 + }, + "data/swemm/images/2041e72fb84e0b40acd8ad481a025d610d224b46c21ecce8bf1f88ebb6afa68f.png": { + "sha256": "2041e72fb84e0b40acd8ad481a025d610d224b46c21ecce8bf1f88ebb6afa68f", + "size_bytes": 9084 + }, + "data/swemm/images/20af9590b6a2fae931a4e9cd0427ee2991c9dbae8ad28b6ed91f958cbc7107a6.png": { + "sha256": "20af9590b6a2fae931a4e9cd0427ee2991c9dbae8ad28b6ed91f958cbc7107a6", + "size_bytes": 14738 + }, + "data/swemm/images/20d64e577aaff0e91af0119c7662fd5c190405e2464cd79f67848b6d7de8ca56.png": { + "sha256": "20d64e577aaff0e91af0119c7662fd5c190405e2464cd79f67848b6d7de8ca56", + "size_bytes": 123588 + }, + "data/swemm/images/21a8cc9eb0141d39cd653b9733d2be81cb5a5cec5b5ec3f6e402360cbaf81934.png": { + "sha256": "21a8cc9eb0141d39cd653b9733d2be81cb5a5cec5b5ec3f6e402360cbaf81934", + "size_bytes": 35197 + }, + "data/swemm/images/21f0c001eab1d401e95f37764ba3db682379d35507f0a2cf42ee078af89f84cf.png": { + "sha256": "21f0c001eab1d401e95f37764ba3db682379d35507f0a2cf42ee078af89f84cf", + "size_bytes": 28132 + }, + "data/swemm/images/22bcc570f658021c14c5135f9ea40d4d6c78089cbcc737b303a586dfee850396.png": { + "sha256": "22bcc570f658021c14c5135f9ea40d4d6c78089cbcc737b303a586dfee850396", + "size_bytes": 18763 + }, + "data/swemm/images/239c49d83a6da045f5e2557d98348f7a2954fdb837c70d1e907ffa6669377cdb.png": { + "sha256": "239c49d83a6da045f5e2557d98348f7a2954fdb837c70d1e907ffa6669377cdb", + "size_bytes": 3559 + }, + "data/swemm/images/23a49c08aa03416a75f7af641db2e442f1b59adf4369078c331782d9eef83865.png": { + "sha256": "23a49c08aa03416a75f7af641db2e442f1b59adf4369078c331782d9eef83865", + "size_bytes": 36297 + }, + "data/swemm/images/243fe39559eed72614fd7a04b48ec56d49783a3f66c746bf85cb462a3563b097.png": { + "sha256": "243fe39559eed72614fd7a04b48ec56d49783a3f66c746bf85cb462a3563b097", + "size_bytes": 8971 + }, + "data/swemm/images/24ea4dd04f2cc356d4357835d2eca350a79b46fbdf1bd0814380db94dc534dec.png": { + "sha256": "24ea4dd04f2cc356d4357835d2eca350a79b46fbdf1bd0814380db94dc534dec", + "size_bytes": 52324 + }, + "data/swemm/images/255da6ab1ebbd9d4b1414b8d873e51d726c2e47762151bfb7c0b514d4c4fa28b.png": { + "sha256": "255da6ab1ebbd9d4b1414b8d873e51d726c2e47762151bfb7c0b514d4c4fa28b", + "size_bytes": 91375 + }, + "data/swemm/images/27a1a72e756eba4ed02ada7afe7dcffb61d4b752bea2a44a3f9c4824a63985da.png": { + "sha256": "27a1a72e756eba4ed02ada7afe7dcffb61d4b752bea2a44a3f9c4824a63985da", + "size_bytes": 15055 + }, + "data/swemm/images/27d9032f9cb76ac3d124cbfb9df5b2be87db517b7ebb168599617244e4424881.png": { + "sha256": "27d9032f9cb76ac3d124cbfb9df5b2be87db517b7ebb168599617244e4424881", + "size_bytes": 13465 + }, + "data/swemm/images/288271be78ae3b95b02bb02d3562230eee6347eabe6b68ad53164458f1d45947.png": { + "sha256": "288271be78ae3b95b02bb02d3562230eee6347eabe6b68ad53164458f1d45947", + "size_bytes": 7417 + }, + "data/swemm/images/2962bd948c23b45041b99a69736f728caff7b1a178d259dd7b2cbdab3ef75f5b.png": { + "sha256": "2962bd948c23b45041b99a69736f728caff7b1a178d259dd7b2cbdab3ef75f5b", + "size_bytes": 15710 + }, + "data/swemm/images/2aa1fe51a04a3741dba0ec22049845b8e0115ff1e668c57c40d34cf7db7c1bfa.png": { + "sha256": "2aa1fe51a04a3741dba0ec22049845b8e0115ff1e668c57c40d34cf7db7c1bfa", + "size_bytes": 26696 + }, + "data/swemm/images/2d15067affa8f55267bc5fb452be9243c89174ad391cb97b1b1fe01efffb30e4.png": { + "sha256": "2d15067affa8f55267bc5fb452be9243c89174ad391cb97b1b1fe01efffb30e4", + "size_bytes": 126357 + }, + "data/swemm/images/30e45d67e7efcba49af4e977e4ffd1cfda61f678ace0fc000c7450db9d37a201.png": { + "sha256": "30e45d67e7efcba49af4e977e4ffd1cfda61f678ace0fc000c7450db9d37a201", + "size_bytes": 42445 + }, + "data/swemm/images/31e97e4864733cc170f0fa127d911c6b64743f92af9b322faa968a5963cec70c.png": { + "sha256": "31e97e4864733cc170f0fa127d911c6b64743f92af9b322faa968a5963cec70c", + "size_bytes": 120118 + }, + "data/swemm/images/325c2195c4d53033d3c872d7c782f10a19aeeffa4acba91289d4e6052b1f94d5.png": { + "sha256": "325c2195c4d53033d3c872d7c782f10a19aeeffa4acba91289d4e6052b1f94d5", + "size_bytes": 28561 + }, + "data/swemm/images/32779e5487422cafef7eac410010096b6904bb71c731a72cc7031de49e5aea7a.png": { + "sha256": "32779e5487422cafef7eac410010096b6904bb71c731a72cc7031de49e5aea7a", + "size_bytes": 31296 + }, + "data/swemm/images/33533da88b34238dd41f6894ee1a8d5f8fcb8c794f7c9dd7e781bf64eb1680cf.png": { + "sha256": "33533da88b34238dd41f6894ee1a8d5f8fcb8c794f7c9dd7e781bf64eb1680cf", + "size_bytes": 33503 + }, + "data/swemm/images/3486e17472cd47dce9bc4557935f3cff98e91a9144ee39d06eafc48824ec32ef.png": { + "sha256": "3486e17472cd47dce9bc4557935f3cff98e91a9144ee39d06eafc48824ec32ef", + "size_bytes": 96100 + }, + "data/swemm/images/368228b504f99389c33e826ddd7076869722791c181abd4634369abde153dc9e.png": { + "sha256": "368228b504f99389c33e826ddd7076869722791c181abd4634369abde153dc9e", + "size_bytes": 51165 + }, + "data/swemm/images/36c38d1687b39839395b1ebbf7925f8a6361437b7709d7c7e0ac9a445409a657.png": { + "sha256": "36c38d1687b39839395b1ebbf7925f8a6361437b7709d7c7e0ac9a445409a657", + "size_bytes": 53049 + }, + "data/swemm/images/399f33cd3ddc35be27115457fcf881f5dba09a9a5e19efcc96592c13ecfdac43.png": { + "sha256": "399f33cd3ddc35be27115457fcf881f5dba09a9a5e19efcc96592c13ecfdac43", + "size_bytes": 49439 + }, + "data/swemm/images/3a32a47bcd6e3c0120cbf96669b7a318862964aa254b590d78ffc5638c12c23a.png": { + "sha256": "3a32a47bcd6e3c0120cbf96669b7a318862964aa254b590d78ffc5638c12c23a", + "size_bytes": 17492 + }, + "data/swemm/images/3c28e63c7b80d19a7e73b258574f7ee7469d7273cc7d8d63810093e2e792d02a.png": { + "sha256": "3c28e63c7b80d19a7e73b258574f7ee7469d7273cc7d8d63810093e2e792d02a", + "size_bytes": 33117 + }, + "data/swemm/images/3cf1583804ca0bb8cab68b797a75ece3a475f315d03918964d2cd6975064dd40.png": { + "sha256": "3cf1583804ca0bb8cab68b797a75ece3a475f315d03918964d2cd6975064dd40", + "size_bytes": 23172 + }, + "data/swemm/images/3dad4c3df42b90670ada13779736b1b43d3670b3e2c132c7c41d38c9188abb4f.png": { + "sha256": "3dad4c3df42b90670ada13779736b1b43d3670b3e2c132c7c41d38c9188abb4f", + "size_bytes": 68321 + }, + "data/swemm/images/3edbe57cd52edbd5e9f2321a80ccbd5640bad83d0637e4fcbbdd02a92d9a816f.png": { + "sha256": "3edbe57cd52edbd5e9f2321a80ccbd5640bad83d0637e4fcbbdd02a92d9a816f", + "size_bytes": 19675 + }, + "data/swemm/images/3f0727a127f5e2068264c012d9aeae98caeb9e03901978ee38a81e5b2aadb49b.png": { + "sha256": "3f0727a127f5e2068264c012d9aeae98caeb9e03901978ee38a81e5b2aadb49b", + "size_bytes": 265527 + }, + "data/swemm/images/3f7e8d93c826954084332459b54c80a456cfd3989f2b80b5a6de0821c7e86fb7.png": { + "sha256": "3f7e8d93c826954084332459b54c80a456cfd3989f2b80b5a6de0821c7e86fb7", + "size_bytes": 172888 + }, + "data/swemm/images/3fa0e3efa3d38174c2f70fd0cf87f8a687a9903209e54b340b0a47081cdacd5f.png": { + "sha256": "3fa0e3efa3d38174c2f70fd0cf87f8a687a9903209e54b340b0a47081cdacd5f", + "size_bytes": 183287 + }, + "data/swemm/images/4070845075fa777dd8b3e880c65089dc2b91386fdb6611dc88cdfe46b5e2ef1d.png": { + "sha256": "4070845075fa777dd8b3e880c65089dc2b91386fdb6611dc88cdfe46b5e2ef1d", + "size_bytes": 375902 + }, + "data/swemm/images/420e8064535ff6e3b3ac14e87bc290ec26516381418790e4dbc75c053fff02f1.png": { + "sha256": "420e8064535ff6e3b3ac14e87bc290ec26516381418790e4dbc75c053fff02f1", + "size_bytes": 11487 + }, + "data/swemm/images/4383d319254ce0fc4ba8f93bb2141dc9cb1380308be8abbabc33a0d0b77148f2.png": { + "sha256": "4383d319254ce0fc4ba8f93bb2141dc9cb1380308be8abbabc33a0d0b77148f2", + "size_bytes": 65609 + }, + "data/swemm/images/4461dfcc149e4331a2e107d4ea9f308c17efffaee6624326f60a93505ed420c4.png": { + "sha256": "4461dfcc149e4331a2e107d4ea9f308c17efffaee6624326f60a93505ed420c4", + "size_bytes": 32017 + }, + "data/swemm/images/44d8cdd221c9da4cf2f544dabb4565412ba3fc36b0386e86a6e1561ebc256407.png": { + "sha256": "44d8cdd221c9da4cf2f544dabb4565412ba3fc36b0386e86a6e1561ebc256407", + "size_bytes": 11593 + }, + "data/swemm/images/45428436da53e1932078af016fffcd6ebd3ba35ef96913c12827fb6a70149389.png": { + "sha256": "45428436da53e1932078af016fffcd6ebd3ba35ef96913c12827fb6a70149389", + "size_bytes": 11065 + }, + "data/swemm/images/45f8f29a163b087af0b1ded25d922e3bffa58abaf48616eee4e8f0ad541b2e8f.png": { + "sha256": "45f8f29a163b087af0b1ded25d922e3bffa58abaf48616eee4e8f0ad541b2e8f", + "size_bytes": 9389 + }, + "data/swemm/images/46182b4fa8cbc3923f7f4e85229e40d0e6bf997bc3c06a3ef48cc7f8ba31bbc6.png": { + "sha256": "46182b4fa8cbc3923f7f4e85229e40d0e6bf997bc3c06a3ef48cc7f8ba31bbc6", + "size_bytes": 37878 + }, + "data/swemm/images/461927b6c11a64a3397f8f8cb2e845a3b25afc0dbb3f224cc17247a4a4a4b8b9.png": { + "sha256": "461927b6c11a64a3397f8f8cb2e845a3b25afc0dbb3f224cc17247a4a4a4b8b9", + "size_bytes": 7923 + }, + "data/swemm/images/46c9622d41ed9e9285deb6c5ef6a4bac66858e43689a5a17ed802b78417dd7d0.png": { + "sha256": "46c9622d41ed9e9285deb6c5ef6a4bac66858e43689a5a17ed802b78417dd7d0", + "size_bytes": 170857 + }, + "data/swemm/images/48bbbad63eef1b457d08b697aa23568e27867628c1fe52a9aafb3745bbabf0f1.png": { + "sha256": "48bbbad63eef1b457d08b697aa23568e27867628c1fe52a9aafb3745bbabf0f1", + "size_bytes": 5911 + }, + "data/swemm/images/48c8ee24b4bf8cf4d91d09bf7e75f7bae51922d38860cf0a74059f965c7474d4.png": { + "sha256": "48c8ee24b4bf8cf4d91d09bf7e75f7bae51922d38860cf0a74059f965c7474d4", + "size_bytes": 42127 + }, + "data/swemm/images/4a71899cd673dec0731e2aa9c092796ee4af5b8e6ce13b2e9f771301b9308746.png": { + "sha256": "4a71899cd673dec0731e2aa9c092796ee4af5b8e6ce13b2e9f771301b9308746", + "size_bytes": 312401 + }, + "data/swemm/images/4aacdc83276d631f6f5dc6a37cc55a6a26aa50142bc535adfe205d5eb072435f.png": { + "sha256": "4aacdc83276d631f6f5dc6a37cc55a6a26aa50142bc535adfe205d5eb072435f", + "size_bytes": 30720 + }, + "data/swemm/images/4be43a2c37788a0ce4c2b2d1793b53a88f242f7796adb205b004e51a22de1fbb.png": { + "sha256": "4be43a2c37788a0ce4c2b2d1793b53a88f242f7796adb205b004e51a22de1fbb", + "size_bytes": 19738 + }, + "data/swemm/images/4d506636466e8b7cd88f1c46bf24533ef138d292f9c33785fb1c3b893af2954c.png": { + "sha256": "4d506636466e8b7cd88f1c46bf24533ef138d292f9c33785fb1c3b893af2954c", + "size_bytes": 8404 + }, + "data/swemm/images/4d7efed2eb149e6a1be84a3e44824acd5637032ad7ed7c483e078c2cb70b8b5c.png": { + "sha256": "4d7efed2eb149e6a1be84a3e44824acd5637032ad7ed7c483e078c2cb70b8b5c", + "size_bytes": 18582 + }, + "data/swemm/images/4d816304208f7dc23c9ae36927ccb41366f3fd66362172e565dd7d84276643f6.png": { + "sha256": "4d816304208f7dc23c9ae36927ccb41366f3fd66362172e565dd7d84276643f6", + "size_bytes": 50631 + }, + "data/swemm/images/4d990714c82be316c88dd41c7dd8711b36799b8c6fe84f39e7e5feb183293e71.png": { + "sha256": "4d990714c82be316c88dd41c7dd8711b36799b8c6fe84f39e7e5feb183293e71", + "size_bytes": 24796 + }, + "data/swemm/images/4e7a3c5a59be865a5711f69c3a677f1e16fbb1b25924fb93adb36680b86f3f92.png": { + "sha256": "4e7a3c5a59be865a5711f69c3a677f1e16fbb1b25924fb93adb36680b86f3f92", + "size_bytes": 18785 + }, + "data/swemm/images/4ee802c1cf0a2c30037e9e75c09ca0a051bf016996c7ae391479d25305863eb9.png": { + "sha256": "4ee802c1cf0a2c30037e9e75c09ca0a051bf016996c7ae391479d25305863eb9", + "size_bytes": 19344 + }, + "data/swemm/images/518c0a1391791a63215596df2074223a2b255da5fa92471a201d654e6ab40e1d.png": { + "sha256": "518c0a1391791a63215596df2074223a2b255da5fa92471a201d654e6ab40e1d", + "size_bytes": 7666 + }, + "data/swemm/images/51c711d08c697c5028773600149e7f2f83bb00438f8cef9eebe1f30fbcb0698d.png": { + "sha256": "51c711d08c697c5028773600149e7f2f83bb00438f8cef9eebe1f30fbcb0698d", + "size_bytes": 3453 + }, + "data/swemm/images/55f0198b07bacfe354b9a898d51f8cfd20dc171f2c50d04e277d88879878b70d.png": { + "sha256": "55f0198b07bacfe354b9a898d51f8cfd20dc171f2c50d04e277d88879878b70d", + "size_bytes": 5991 + }, + "data/swemm/images/58e9b61eceff5a82997865ec1cd3d36e3906c35ab2524304d4ec9289ab57b8a8.png": { + "sha256": "58e9b61eceff5a82997865ec1cd3d36e3906c35ab2524304d4ec9289ab57b8a8", + "size_bytes": 3319 + }, + "data/swemm/images/5997753040db350500cdc1e6de24e53716a91e8491ca7a442c5bb494fc6f04e5.png": { + "sha256": "5997753040db350500cdc1e6de24e53716a91e8491ca7a442c5bb494fc6f04e5", + "size_bytes": 43026 + }, + "data/swemm/images/5aa0a3048eec03f888f40bcec9bbf644244802a9755d26ed454644d3daf7d083.png": { + "sha256": "5aa0a3048eec03f888f40bcec9bbf644244802a9755d26ed454644d3daf7d083", + "size_bytes": 197937 + }, + "data/swemm/images/5ada8749f851c9ef2b1aef04309ec6d446a21a7fde8280b66b6d0c9566856323.png": { + "sha256": "5ada8749f851c9ef2b1aef04309ec6d446a21a7fde8280b66b6d0c9566856323", + "size_bytes": 53595 + }, + "data/swemm/images/5ba0732c68b3f6031e3a9eaa91bd3bdf2cbc8fc87e7e891456ed239bb6f484e2.png": { + "sha256": "5ba0732c68b3f6031e3a9eaa91bd3bdf2cbc8fc87e7e891456ed239bb6f484e2", + "size_bytes": 53339 + }, + "data/swemm/images/5c3cdd14a073857d045ba872531c35b8335da5c441b3ebad4119af4f65c1436d.png": { + "sha256": "5c3cdd14a073857d045ba872531c35b8335da5c441b3ebad4119af4f65c1436d", + "size_bytes": 158748 + }, + "data/swemm/images/5cf639c9b28c08bb161a8bb359e41d1002e51f586a92de3b709d120871823a30.png": { + "sha256": "5cf639c9b28c08bb161a8bb359e41d1002e51f586a92de3b709d120871823a30", + "size_bytes": 24929 + }, + "data/swemm/images/5d12dd75eb37b824c9b50a96a79641de98d70cd63d6a314d4f903ac50a7efc02.png": { + "sha256": "5d12dd75eb37b824c9b50a96a79641de98d70cd63d6a314d4f903ac50a7efc02", + "size_bytes": 4983 + }, + "data/swemm/images/5d1923280dc29e29af1a67f485e9165b0aa196822e287cf3f2d0176e3190cdf7.png": { + "sha256": "5d1923280dc29e29af1a67f485e9165b0aa196822e287cf3f2d0176e3190cdf7", + "size_bytes": 15125 + }, + "data/swemm/images/5d90564fdea2dcd715b63b42e1805bd890496d0bfa29cdcd82c8e53399d56b16.png": { + "sha256": "5d90564fdea2dcd715b63b42e1805bd890496d0bfa29cdcd82c8e53399d56b16", + "size_bytes": 2215286 + }, + "data/swemm/images/5e13e1527c66e41a454c091e4067386553452fb7dc0eaa798f3cd2e24b9ea4dd.png": { + "sha256": "5e13e1527c66e41a454c091e4067386553452fb7dc0eaa798f3cd2e24b9ea4dd", + "size_bytes": 27278 + }, + "data/swemm/images/5f05721a830c298825ac5fa97d07a81726ff169b4c77d59beaa4fb66ca4a6031.png": { + "sha256": "5f05721a830c298825ac5fa97d07a81726ff169b4c77d59beaa4fb66ca4a6031", + "size_bytes": 66451 + }, + "data/swemm/images/636513b61beff009bf39db71844e619583b855a9d12673181ee491d7cada8b39.png": { + "sha256": "636513b61beff009bf39db71844e619583b855a9d12673181ee491d7cada8b39", + "size_bytes": 91330 + }, + "data/swemm/images/636d83f261fcb8c36c278403d4ab44d75fa67b6ebb10d7046c56af15c3047041.png": { + "sha256": "636d83f261fcb8c36c278403d4ab44d75fa67b6ebb10d7046c56af15c3047041", + "size_bytes": 34482 + }, + "data/swemm/images/64ab6dad5b24e965764f59b44786c8a9c8493b9ed61c9fa7f5161119178e5833.png": { + "sha256": "64ab6dad5b24e965764f59b44786c8a9c8493b9ed61c9fa7f5161119178e5833", + "size_bytes": 36155 + }, + "data/swemm/images/69a855d2c20a7aed7d6f3d2f5c0b851d81dc08e38387997492b655acd068877b.png": { + "sha256": "69a855d2c20a7aed7d6f3d2f5c0b851d81dc08e38387997492b655acd068877b", + "size_bytes": 215208 + }, + "data/swemm/images/6a1a0d8460c441f36b125b28575aabcd6e7d3f39908664ce0d7de21d734dd5c6.png": { + "sha256": "6a1a0d8460c441f36b125b28575aabcd6e7d3f39908664ce0d7de21d734dd5c6", + "size_bytes": 18110 + }, + "data/swemm/images/6b5c48baf294d0ccb64e8fe65d201750a4dc12656d0cdb2f6b3adc708f6c256c.png": { + "sha256": "6b5c48baf294d0ccb64e8fe65d201750a4dc12656d0cdb2f6b3adc708f6c256c", + "size_bytes": 10543 + }, + "data/swemm/images/6d2fd1a3584cdf604ede3ab21ae4f0264e63b2d7032a29f6913c04e4acf8c4b6.png": { + "sha256": "6d2fd1a3584cdf604ede3ab21ae4f0264e63b2d7032a29f6913c04e4acf8c4b6", + "size_bytes": 25018 + }, + "data/swemm/images/6eb1187e7f452354e27cd00dab1a69589fc0d892937bad14fe416c215f9d6a25.png": { + "sha256": "6eb1187e7f452354e27cd00dab1a69589fc0d892937bad14fe416c215f9d6a25", + "size_bytes": 12591 + }, + "data/swemm/images/70fb9e405fe27c453e469181e9d3ed82549765089b35557d6d668543b3a671d2.png": { + "sha256": "70fb9e405fe27c453e469181e9d3ed82549765089b35557d6d668543b3a671d2", + "size_bytes": 12232 + }, + "data/swemm/images/72a35c084064a9ae720e362e58516dcf11ce77d2c6ba0535834103dd55bfb859.png": { + "sha256": "72a35c084064a9ae720e362e58516dcf11ce77d2c6ba0535834103dd55bfb859", + "size_bytes": 239627 + }, + "data/swemm/images/73e67f6b035745364e34e189e10d5cd53fcba254031813508c34a8a6e53aaae1.png": { + "sha256": "73e67f6b035745364e34e189e10d5cd53fcba254031813508c34a8a6e53aaae1", + "size_bytes": 53365 + }, + "data/swemm/images/73f81d2f8240f27086883d00e3bbc7acec3ff0370819c9ae82fd35e29a420c69.png": { + "sha256": "73f81d2f8240f27086883d00e3bbc7acec3ff0370819c9ae82fd35e29a420c69", + "size_bytes": 12931 + }, + "data/swemm/images/7546b7c55051856974ddb022beb3885808bc1870861d64e16d062e0ea5b24f45.png": { + "sha256": "7546b7c55051856974ddb022beb3885808bc1870861d64e16d062e0ea5b24f45", + "size_bytes": 93231 + }, + "data/swemm/images/77cbaa1c4310c6b18aa812c90f7745858cc52a493f7745a8b69ddaa872c6d8d1.png": { + "sha256": "77cbaa1c4310c6b18aa812c90f7745858cc52a493f7745a8b69ddaa872c6d8d1", + "size_bytes": 3562 + }, + "data/swemm/images/78d7562a297c7e85d08498fd9f561965144af13f22f8ae30cd3ae5a136618262.png": { + "sha256": "78d7562a297c7e85d08498fd9f561965144af13f22f8ae30cd3ae5a136618262", + "size_bytes": 26731 + }, + "data/swemm/images/7a2f3e7f3ebefdfa1e9d1b34fa5236ebdfe775ebf0d63eb4ecca03fd0ffc92b0.png": { + "sha256": "7a2f3e7f3ebefdfa1e9d1b34fa5236ebdfe775ebf0d63eb4ecca03fd0ffc92b0", + "size_bytes": 76088 + }, + "data/swemm/images/7b961d53d29201b35221662003edbc76c4829caac57c20137749956b3574fdc0.png": { + "sha256": "7b961d53d29201b35221662003edbc76c4829caac57c20137749956b3574fdc0", + "size_bytes": 51102 + }, + "data/swemm/images/7cdb2edccf1d18196c756c834cc1442b8e140ed92299b9ae772830f9202dafd1.png": { + "sha256": "7cdb2edccf1d18196c756c834cc1442b8e140ed92299b9ae772830f9202dafd1", + "size_bytes": 291296 + }, + "data/swemm/images/7d6b1e34249ef44f63f48998cc4b71b54ba6ab815670eb7e6e256d98b5ea08d3.png": { + "sha256": "7d6b1e34249ef44f63f48998cc4b71b54ba6ab815670eb7e6e256d98b5ea08d3", + "size_bytes": 218141 + }, + "data/swemm/images/7e6dcdebc8a0618535349d7f28c6a9399e7b2c5987c442cf9c74d469e0ca0478.png": { + "sha256": "7e6dcdebc8a0618535349d7f28c6a9399e7b2c5987c442cf9c74d469e0ca0478", + "size_bytes": 213908 + }, + "data/swemm/images/7e79b1d7d017b90450b01ee01370e8c3888bb93d1c1ddf8da829f60d3e693b25.png": { + "sha256": "7e79b1d7d017b90450b01ee01370e8c3888bb93d1c1ddf8da829f60d3e693b25", + "size_bytes": 8101 + }, + "data/swemm/images/7f7ca42c0a913e11cb25aacf31cbb6a2fa3e3176c68fdbe89cc6b09b55850a27.png": { + "sha256": "7f7ca42c0a913e11cb25aacf31cbb6a2fa3e3176c68fdbe89cc6b09b55850a27", + "size_bytes": 10944 + }, + "data/swemm/images/80550fec6c99e146751989f312ee74d8710516f5f63f2a6a3a9564ffb5cbc84c.png": { + "sha256": "80550fec6c99e146751989f312ee74d8710516f5f63f2a6a3a9564ffb5cbc84c", + "size_bytes": 43456 + }, + "data/swemm/images/814ba63ebbef08144ef0b2bf132b40fff6cb7eea2bf1439dd15ed1364995ffb0.png": { + "sha256": "814ba63ebbef08144ef0b2bf132b40fff6cb7eea2bf1439dd15ed1364995ffb0", + "size_bytes": 19075 + }, + "data/swemm/images/8246badfbd810a27c8772c8e37ff94c36df3889c4d51ca13f351024cac92abb2.png": { + "sha256": "8246badfbd810a27c8772c8e37ff94c36df3889c4d51ca13f351024cac92abb2", + "size_bytes": 89827 + }, + "data/swemm/images/828fbdc01556f9b69b11d5ba375f9df54086a702176b6134bdced36915d068c7.png": { + "sha256": "828fbdc01556f9b69b11d5ba375f9df54086a702176b6134bdced36915d068c7", + "size_bytes": 162231 + }, + "data/swemm/images/82d51cd7ddc634f2213e480807cfa71f0542774e0864c6e1888bb2ced41e3456.png": { + "sha256": "82d51cd7ddc634f2213e480807cfa71f0542774e0864c6e1888bb2ced41e3456", + "size_bytes": 130202 + }, + "data/swemm/images/8303f0f9e4b77a527869c9f3134310883a0361c10c0d8c03eb70aeef827fd367.png": { + "sha256": "8303f0f9e4b77a527869c9f3134310883a0361c10c0d8c03eb70aeef827fd367", + "size_bytes": 53691 + }, + "data/swemm/images/831264f8dc8f310fd1537316e6900531669be8c759c06a32a0a89fa72122cff0.png": { + "sha256": "831264f8dc8f310fd1537316e6900531669be8c759c06a32a0a89fa72122cff0", + "size_bytes": 19173 + }, + "data/swemm/images/833d1834a398810fdf4fddcd9d235504668898c36a842b396caadf60660073ac.png": { + "sha256": "833d1834a398810fdf4fddcd9d235504668898c36a842b396caadf60660073ac", + "size_bytes": 66859 + }, + "data/swemm/images/85864cc01cb0ad3378b3001466b6cc7d6b3f319b534ec6fc3cda9b8973ef2702.png": { + "sha256": "85864cc01cb0ad3378b3001466b6cc7d6b3f319b534ec6fc3cda9b8973ef2702", + "size_bytes": 59812 + }, + "data/swemm/images/87faf1a3727989b488977727030921043362229ac3251a6388909e4dc259c9ec.png": { + "sha256": "87faf1a3727989b488977727030921043362229ac3251a6388909e4dc259c9ec", + "size_bytes": 18722 + }, + "data/swemm/images/8827fc65bebb79ffd800edd9835967838f6cce4dff89daf6ac613a44d268bbf4.png": { + "sha256": "8827fc65bebb79ffd800edd9835967838f6cce4dff89daf6ac613a44d268bbf4", + "size_bytes": 132444 + }, + "data/swemm/images/8864c60270d1d8b49c9443d2891a2f8a3bcc3795421b7f81f9243a44c140e02d.png": { + "sha256": "8864c60270d1d8b49c9443d2891a2f8a3bcc3795421b7f81f9243a44c140e02d", + "size_bytes": 24846 + }, + "data/swemm/images/8b1a881c23aaf8101ac4a5094102b9a1c92217296987aed230841bf83889fc10.png": { + "sha256": "8b1a881c23aaf8101ac4a5094102b9a1c92217296987aed230841bf83889fc10", + "size_bytes": 81258 + }, + "data/swemm/images/8baa141f64aa54122a7f6ed4d6c58c4ec4a22b81a5607c3843cf13745fafeb32.png": { + "sha256": "8baa141f64aa54122a7f6ed4d6c58c4ec4a22b81a5607c3843cf13745fafeb32", + "size_bytes": 239280 + }, + "data/swemm/images/8d5b28c3c99bb782e1e64824bd31e84da2a85d77fcd8a7b277510ca07373d3cd.png": { + "sha256": "8d5b28c3c99bb782e1e64824bd31e84da2a85d77fcd8a7b277510ca07373d3cd", + "size_bytes": 4999 + }, + "data/swemm/images/8dbec69e2445bad743356465836be84ec91ef9247fdd73ac318d4d186ff0b80a.png": { + "sha256": "8dbec69e2445bad743356465836be84ec91ef9247fdd73ac318d4d186ff0b80a", + "size_bytes": 34919 + }, + "data/swemm/images/8eb12e58d3bbf0d30e389a6a505b7fb61a7354f2c2400877cfa216c6c63026ff.png": { + "sha256": "8eb12e58d3bbf0d30e389a6a505b7fb61a7354f2c2400877cfa216c6c63026ff", + "size_bytes": 16241 + }, + "data/swemm/images/8fdd4d79edf4dd7e7685896fee04c917866f16d3962a98b6d466041e5be6a0dd.png": { + "sha256": "8fdd4d79edf4dd7e7685896fee04c917866f16d3962a98b6d466041e5be6a0dd", + "size_bytes": 75414 + }, + "data/swemm/images/9274feabc3c7165edbf2227f290f027a2be59e1272d76ab6f17cd7a8bb61ec69.png": { + "sha256": "9274feabc3c7165edbf2227f290f027a2be59e1272d76ab6f17cd7a8bb61ec69", + "size_bytes": 100964 + }, + "data/swemm/images/92a0c2401ba50877b71cdb09d2c1ab1166da6c1d5f3ff105a3f977381da1d252.png": { + "sha256": "92a0c2401ba50877b71cdb09d2c1ab1166da6c1d5f3ff105a3f977381da1d252", + "size_bytes": 17582 + }, + "data/swemm/images/970a1c70a214acaeeb3e2617335bc78117d60e158e7c900d6e6f1fedacb565a6.png": { + "sha256": "970a1c70a214acaeeb3e2617335bc78117d60e158e7c900d6e6f1fedacb565a6", + "size_bytes": 406144 + }, + "data/swemm/images/9807c7a78d4c2460f63384e6224572f68bc18cca5ad6bd1c66aee3016220725b.png": { + "sha256": "9807c7a78d4c2460f63384e6224572f68bc18cca5ad6bd1c66aee3016220725b", + "size_bytes": 17025 + }, + "data/swemm/images/989a1a24e522658df0dc6a63a2065d0839e355f4d7ee3c9c967d61fad26dbe4d.png": { + "sha256": "989a1a24e522658df0dc6a63a2065d0839e355f4d7ee3c9c967d61fad26dbe4d", + "size_bytes": 17129 + }, + "data/swemm/images/9908b99678302d5da7640c623d4cb02081fb299b60c6db8acfc5bba0139fad53.png": { + "sha256": "9908b99678302d5da7640c623d4cb02081fb299b60c6db8acfc5bba0139fad53", + "size_bytes": 48265 + }, + "data/swemm/images/9beeac5d71fd4f3a94210d54ed97ba4c6139cc555bbc9a1d833f5b31e24fc5bd.png": { + "sha256": "9beeac5d71fd4f3a94210d54ed97ba4c6139cc555bbc9a1d833f5b31e24fc5bd", + "size_bytes": 7219 + }, + "data/swemm/images/9cb07042b17fd0400ea3342944f31776a0b0da09f8ece5083fefeeca776222a2.png": { + "sha256": "9cb07042b17fd0400ea3342944f31776a0b0da09f8ece5083fefeeca776222a2", + "size_bytes": 67665 + }, + "data/swemm/images/9ee94f5c8a6bfe7c9fabce69d4cdbb32943985457d10679f6ad956340dcad50e.png": { + "sha256": "9ee94f5c8a6bfe7c9fabce69d4cdbb32943985457d10679f6ad956340dcad50e", + "size_bytes": 14500 + }, + "data/swemm/images/a01ded1d813731d5bdba6da117cae46b4473bcb2a812a6a9d6df6fa18ce41e4a.png": { + "sha256": "a01ded1d813731d5bdba6da117cae46b4473bcb2a812a6a9d6df6fa18ce41e4a", + "size_bytes": 15391 + }, + "data/swemm/images/a090a400ddcf8a1d9400e42adac422a14438be7dd3b83b242fa2ef2d3fea1bd3.png": { + "sha256": "a090a400ddcf8a1d9400e42adac422a14438be7dd3b83b242fa2ef2d3fea1bd3", + "size_bytes": 21853 + }, + "data/swemm/images/a0a7a8a1f61eefb5460f6111926902084473e3247cea6c22ba8ca348c399f17d.png": { + "sha256": "a0a7a8a1f61eefb5460f6111926902084473e3247cea6c22ba8ca348c399f17d", + "size_bytes": 182294 + }, + "data/swemm/images/a13eeb02d7d1c79990fb90e53eee62caa1628dd7c76eb0b61eb221679d84ab49.png": { + "sha256": "a13eeb02d7d1c79990fb90e53eee62caa1628dd7c76eb0b61eb221679d84ab49", + "size_bytes": 5471 + }, + "data/swemm/images/a17b71d3e114a2f0466526c1256c4886a9b0353b5a40c3054320ff8059ec9653.png": { + "sha256": "a17b71d3e114a2f0466526c1256c4886a9b0353b5a40c3054320ff8059ec9653", + "size_bytes": 31519 + }, + "data/swemm/images/a616e09990b8c58c94ede6abe079297e6b1840a4c190645a90b968ea95e2fdbb.png": { + "sha256": "a616e09990b8c58c94ede6abe079297e6b1840a4c190645a90b968ea95e2fdbb", + "size_bytes": 41579 + }, + "data/swemm/images/a686fbaa6058ccd1747bfddecfd969d316888cc17edf3d7b1412a661f237fa3a.png": { + "sha256": "a686fbaa6058ccd1747bfddecfd969d316888cc17edf3d7b1412a661f237fa3a", + "size_bytes": 54727 + }, + "data/swemm/images/a93faf6706ed0927e71e22120e376f09f89eae633bddf65ed935afda0333fbb6.png": { + "sha256": "a93faf6706ed0927e71e22120e376f09f89eae633bddf65ed935afda0333fbb6", + "size_bytes": 33700 + }, + "data/swemm/images/a98f5bad865bf33feea95d88c129c799e1e3ffb34a9fd7e69a828c41feb7ad8b.png": { + "sha256": "a98f5bad865bf33feea95d88c129c799e1e3ffb34a9fd7e69a828c41feb7ad8b", + "size_bytes": 6220 + }, + "data/swemm/images/aa3120625f9ed39bfe91d52be01e402ac21f41ab0eecc6857781c0644d31ba49.png": { + "sha256": "aa3120625f9ed39bfe91d52be01e402ac21f41ab0eecc6857781c0644d31ba49", + "size_bytes": 1018434 + }, + "data/swemm/images/ab556cad4e8d8f128a390318e31da55a9cf82601309758395720872afe3520e3.png": { + "sha256": "ab556cad4e8d8f128a390318e31da55a9cf82601309758395720872afe3520e3", + "size_bytes": 85952 + }, + "data/swemm/images/ac202bee81d5ba99a141d2b53ba00ac4dfe3084aae6b3b11c8e5c32823047c37.png": { + "sha256": "ac202bee81d5ba99a141d2b53ba00ac4dfe3084aae6b3b11c8e5c32823047c37", + "size_bytes": 13090 + }, + "data/swemm/images/ae2583ca9eb8abac91b251f4ad0741bfb3c56a7c99b7b86031876a1c38dc2e9f.png": { + "sha256": "ae2583ca9eb8abac91b251f4ad0741bfb3c56a7c99b7b86031876a1c38dc2e9f", + "size_bytes": 1148 + }, + "data/swemm/images/b0148da95264eb0762a6c49d1bc5d322d491c104221554a2e5aadf68fb084841.png": { + "sha256": "b0148da95264eb0762a6c49d1bc5d322d491c104221554a2e5aadf68fb084841", + "size_bytes": 4382 + }, + "data/swemm/images/b1b23137704c4ed9358031b91106991cf9689ba1e16c17da8d2b7236dc8009d5.png": { + "sha256": "b1b23137704c4ed9358031b91106991cf9689ba1e16c17da8d2b7236dc8009d5", + "size_bytes": 94509 + }, + "data/swemm/images/b1f21dd97ea0ca252c4e89621ac1391811ce15611e24d156774f26fd3eb24458.png": { + "sha256": "b1f21dd97ea0ca252c4e89621ac1391811ce15611e24d156774f26fd3eb24458", + "size_bytes": 20471 + }, + "data/swemm/images/b28ad8babcbc97812b49e3afd040d7d26470bace4952c19981aabe90e5ab2b6e.png": { + "sha256": "b28ad8babcbc97812b49e3afd040d7d26470bace4952c19981aabe90e5ab2b6e", + "size_bytes": 13405 + }, + "data/swemm/images/b33f80650d070d8749a630487a5fa4af6d5dd6844f9fd7bdd2d34c48211f933a.png": { + "sha256": "b33f80650d070d8749a630487a5fa4af6d5dd6844f9fd7bdd2d34c48211f933a", + "size_bytes": 168177 + }, + "data/swemm/images/b4d8565d76ee23c978b03d58bd4165e6cbeaa85325819c79e662841a5bc8ce0e.png": { + "sha256": "b4d8565d76ee23c978b03d58bd4165e6cbeaa85325819c79e662841a5bc8ce0e", + "size_bytes": 58505 + }, + "data/swemm/images/b809c43cbd90c9608ad455632ab44bd14ef9df90bd3626aa23e4ba27f59aa3b5.png": { + "sha256": "b809c43cbd90c9608ad455632ab44bd14ef9df90bd3626aa23e4ba27f59aa3b5", + "size_bytes": 16093 + }, + "data/swemm/images/b96d96fe83937540177f336684db1a8372d0305780c95d200914b8742b984c0d.png": { + "sha256": "b96d96fe83937540177f336684db1a8372d0305780c95d200914b8742b984c0d", + "size_bytes": 108938 + }, + "data/swemm/images/b9fc4777b368a37ca71063f2b170a78edb9f9c9c81218e9f7d0501e788a62afe.png": { + "sha256": "b9fc4777b368a37ca71063f2b170a78edb9f9c9c81218e9f7d0501e788a62afe", + "size_bytes": 67923 + }, + "data/swemm/images/bd8dc0e48b83ee5a02f970a8023e42da2f0d004868de64b1b125381cc4ac23cc.png": { + "sha256": "bd8dc0e48b83ee5a02f970a8023e42da2f0d004868de64b1b125381cc4ac23cc", + "size_bytes": 15235 + }, + "data/swemm/images/bdf28791d1db1f1efcbf7fe16d8d40f419a933c627c66d34f9673c08d93c834e.png": { + "sha256": "bdf28791d1db1f1efcbf7fe16d8d40f419a933c627c66d34f9673c08d93c834e", + "size_bytes": 5389 + }, + "data/swemm/images/bea690085873849f64d56df820afd87892dccae6017a1017f034bbc20c30066f.png": { + "sha256": "bea690085873849f64d56df820afd87892dccae6017a1017f034bbc20c30066f", + "size_bytes": 47654 + }, + "data/swemm/images/beac75ded2235257075d5fe8728e33f9d4c4409fce09b3355e90caff04ab5c9b.png": { + "sha256": "beac75ded2235257075d5fe8728e33f9d4c4409fce09b3355e90caff04ab5c9b", + "size_bytes": 100740 + }, + "data/swemm/images/bf626cb6706994232477eee08ca8cc0ece1312146bb6786cbb31db9b4e35da3f.png": { + "sha256": "bf626cb6706994232477eee08ca8cc0ece1312146bb6786cbb31db9b4e35da3f", + "size_bytes": 14614 + }, + "data/swemm/images/c1600be51ad3a92a9e12438f437487fb88786e79730af3a1bd6af02021e12136.png": { + "sha256": "c1600be51ad3a92a9e12438f437487fb88786e79730af3a1bd6af02021e12136", + "size_bytes": 12003 + }, + "data/swemm/images/c2d957d7d1959a14c6d595fa9fa3f7d853ece5a5d4b5146cb727a75396cc0ad2.png": { + "sha256": "c2d957d7d1959a14c6d595fa9fa3f7d853ece5a5d4b5146cb727a75396cc0ad2", + "size_bytes": 29292 + }, + "data/swemm/images/c3ae919f69f8a264476163b6120f7206c95d7b855ac8582560016a374d783265.png": { + "sha256": "c3ae919f69f8a264476163b6120f7206c95d7b855ac8582560016a374d783265", + "size_bytes": 3619 + }, + "data/swemm/images/c48020cd34d5d1544d27e42f5bf97012c0f471544ea0ccb0eb9ae795fe3d9abb.png": { + "sha256": "c48020cd34d5d1544d27e42f5bf97012c0f471544ea0ccb0eb9ae795fe3d9abb", + "size_bytes": 21328 + }, + "data/swemm/images/c4b25ed4ce083b55dc7c107d8b93b94c13dbf5b93a2e8b6295e6bf3311fbc53b.png": { + "sha256": "c4b25ed4ce083b55dc7c107d8b93b94c13dbf5b93a2e8b6295e6bf3311fbc53b", + "size_bytes": 36019 + }, + "data/swemm/images/c546776d4aa6e3e8bd93f1d5b00a3dc02b03c01f21b6de927da2cd37aa33435c.png": { + "sha256": "c546776d4aa6e3e8bd93f1d5b00a3dc02b03c01f21b6de927da2cd37aa33435c", + "size_bytes": 3916 + }, + "data/swemm/images/c873a726c765df130650c0a2f92995a16960d15a8290a1008bb24ab5604867d7.png": { + "sha256": "c873a726c765df130650c0a2f92995a16960d15a8290a1008bb24ab5604867d7", + "size_bytes": 4712 + }, + "data/swemm/images/c970c61fe73d55829bb5bd3538792974c527a7fc083fb046aa57c38380c6b3f9.png": { + "sha256": "c970c61fe73d55829bb5bd3538792974c527a7fc083fb046aa57c38380c6b3f9", + "size_bytes": 9172 + }, + "data/swemm/images/ca277bbd1394e0ef53f556bbf24699691e26f1af0b14f9bbeb7cb7a256690dff.png": { + "sha256": "ca277bbd1394e0ef53f556bbf24699691e26f1af0b14f9bbeb7cb7a256690dff", + "size_bytes": 1878 + }, + "data/swemm/images/ca6104555969ddfa750ec1b6c268ecec7ab1e4c02e801ac94eedcbcb7dec1457.png": { + "sha256": "ca6104555969ddfa750ec1b6c268ecec7ab1e4c02e801ac94eedcbcb7dec1457", + "size_bytes": 2061 + }, + "data/swemm/images/cb25ee2712d58436174e7bfc1866098d3b5fb708fbad4a972fe642708a65b1da.png": { + "sha256": "cb25ee2712d58436174e7bfc1866098d3b5fb708fbad4a972fe642708a65b1da", + "size_bytes": 8679 + }, + "data/swemm/images/cb9ed83ccccde52b86bac1179a72435a261dfadb231668dac4faf6437292eda0.png": { + "sha256": "cb9ed83ccccde52b86bac1179a72435a261dfadb231668dac4faf6437292eda0", + "size_bytes": 35139 + }, + "data/swemm/images/cbf2d2b78bd4f4948e3ad49c60c9a22efb7311cce3e8e6fa50efb296a876a7fa.png": { + "sha256": "cbf2d2b78bd4f4948e3ad49c60c9a22efb7311cce3e8e6fa50efb296a876a7fa", + "size_bytes": 20386 + }, + "data/swemm/images/ce7192a2681003a8e89e7113dbdbcb28cae71c8c2e3b0fbe82d78deabb6134d0.png": { + "sha256": "ce7192a2681003a8e89e7113dbdbcb28cae71c8c2e3b0fbe82d78deabb6134d0", + "size_bytes": 27158 + }, + "data/swemm/images/cecea410f595a3cd2fff73138ed3e6bacbf8e370dd4807476df3c3691d192c6b.png": { + "sha256": "cecea410f595a3cd2fff73138ed3e6bacbf8e370dd4807476df3c3691d192c6b", + "size_bytes": 7648 + }, + "data/swemm/images/d6057712c61d3859bbce220af73e7a67bbcb720959271df4fe65ef29babbdb64.png": { + "sha256": "d6057712c61d3859bbce220af73e7a67bbcb720959271df4fe65ef29babbdb64", + "size_bytes": 2920 + }, + "data/swemm/images/d62379b4a20ca64ba40bc0a3c0a480c8101b8cf0cc6e6d7aa8ef7e4d22d2c58c.png": { + "sha256": "d62379b4a20ca64ba40bc0a3c0a480c8101b8cf0cc6e6d7aa8ef7e4d22d2c58c", + "size_bytes": 19723 + }, + "data/swemm/images/d77129a0517381e9a580a0d5d5302af26ee4626d69e94cac9edbf80e4f4d20c7.png": { + "sha256": "d77129a0517381e9a580a0d5d5302af26ee4626d69e94cac9edbf80e4f4d20c7", + "size_bytes": 11352 + }, + "data/swemm/images/d85da9d726a0c7309d6b6eb7d94f1135bd7204509df06a7b359b5872fbb16ba1.png": { + "sha256": "d85da9d726a0c7309d6b6eb7d94f1135bd7204509df06a7b359b5872fbb16ba1", + "size_bytes": 13644 + }, + "data/swemm/images/d9784efc73f061e34cac610071aa9635f5e0c15079ac6720529773fd0ac474a0.png": { + "sha256": "d9784efc73f061e34cac610071aa9635f5e0c15079ac6720529773fd0ac474a0", + "size_bytes": 133043 + }, + "data/swemm/images/da1eef9fcfdc7ae2b0ecc6f4dee3ab49d74b311b6750a6942d51ed00ffcf37c1.png": { + "sha256": "da1eef9fcfdc7ae2b0ecc6f4dee3ab49d74b311b6750a6942d51ed00ffcf37c1", + "size_bytes": 19955 + }, + "data/swemm/images/db809273acc1425ef93ad16e840290ae2b97bfd7c080326b2a6025192b92c86a.png": { + "sha256": "db809273acc1425ef93ad16e840290ae2b97bfd7c080326b2a6025192b92c86a", + "size_bytes": 11409 + }, + "data/swemm/images/de079de239a01c980f5aac8ead2989386e26376426a0d453680ed50ccd5bcd07.png": { + "sha256": "de079de239a01c980f5aac8ead2989386e26376426a0d453680ed50ccd5bcd07", + "size_bytes": 143542 + }, + "data/swemm/images/dfe0d811e5426e764e88232dd13fb963d81a3676d993e30030be63257645d6db.png": { + "sha256": "dfe0d811e5426e764e88232dd13fb963d81a3676d993e30030be63257645d6db", + "size_bytes": 15999 + }, + "data/swemm/images/e0b7162b1396749e5da83b300156bd83c66d6a07e4f04df58ac46e2144b0cd16.png": { + "sha256": "e0b7162b1396749e5da83b300156bd83c66d6a07e4f04df58ac46e2144b0cd16", + "size_bytes": 2315 + }, + "data/swemm/images/e28a6f3b458887e9e9d7b080d63e2c743339653d4bb619c727feb5c5e69c8947.png": { + "sha256": "e28a6f3b458887e9e9d7b080d63e2c743339653d4bb619c727feb5c5e69c8947", + "size_bytes": 11772 + }, + "data/swemm/images/e364fe444f6dcbc99ed6fd86c9bf25eab60e9ef8470273d6b87db8fa3b5c33e1.png": { + "sha256": "e364fe444f6dcbc99ed6fd86c9bf25eab60e9ef8470273d6b87db8fa3b5c33e1", + "size_bytes": 31624 + }, + "data/swemm/images/e39467e3445606891189ecf54cc516fdc93d1c7ec1a707c3a206d8e2bfde1f5a.png": { + "sha256": "e39467e3445606891189ecf54cc516fdc93d1c7ec1a707c3a206d8e2bfde1f5a", + "size_bytes": 30329 + }, + "data/swemm/images/e3a560409512956d96629f4b2e026a7ff376872d91f6e5025a5107235ab37ff9.png": { + "sha256": "e3a560409512956d96629f4b2e026a7ff376872d91f6e5025a5107235ab37ff9", + "size_bytes": 333539 + }, + "data/swemm/images/e42c5d81cb1306a3889ee6004f93c642ae72d6cb19c69424b036d495d6b8fb9e.png": { + "sha256": "e42c5d81cb1306a3889ee6004f93c642ae72d6cb19c69424b036d495d6b8fb9e", + "size_bytes": 9508 + }, + "data/swemm/images/e4abd17655d2ff5e7be162b0d1be9e6647a850e11b33c5b25faf5b3493492d63.png": { + "sha256": "e4abd17655d2ff5e7be162b0d1be9e6647a850e11b33c5b25faf5b3493492d63", + "size_bytes": 3285 + }, + "data/swemm/images/e73f569011335765df3c17ca967081eac0e400216c85cb7bfd9850a0897d6e73.png": { + "sha256": "e73f569011335765df3c17ca967081eac0e400216c85cb7bfd9850a0897d6e73", + "size_bytes": 36644 + }, + "data/swemm/images/e7403cc73ffe13a597fdf9f4258f637caa3e4fed6957ce8b3ca829ce2a3247a6.png": { + "sha256": "e7403cc73ffe13a597fdf9f4258f637caa3e4fed6957ce8b3ca829ce2a3247a6", + "size_bytes": 32256 + }, + "data/swemm/images/e85291f75a6a4fb8b9d1568b957493fbd9488d93c0183ef7bf531e0acb5092b2.png": { + "sha256": "e85291f75a6a4fb8b9d1568b957493fbd9488d93c0183ef7bf531e0acb5092b2", + "size_bytes": 23456 + }, + "data/swemm/images/e871ce31a47d769f22230c2c99ff5d3486c38734752980780475ac45cde133b4.png": { + "sha256": "e871ce31a47d769f22230c2c99ff5d3486c38734752980780475ac45cde133b4", + "size_bytes": 12533 + }, + "data/swemm/images/ea0a5da7257020cfa8b3722d548306b8c4cd599acfc2fbf93b9954cf2a4e292f.png": { + "sha256": "ea0a5da7257020cfa8b3722d548306b8c4cd599acfc2fbf93b9954cf2a4e292f", + "size_bytes": 236008 + }, + "data/swemm/images/ed96171f22a0d861fd56dc6e733669c7767526ed90e8ea03b6b51ecc8db7f143.png": { + "sha256": "ed96171f22a0d861fd56dc6e733669c7767526ed90e8ea03b6b51ecc8db7f143", + "size_bytes": 10054 + }, + "data/swemm/images/ef0bbc53ca6161d3c0e67adc99cf00c1cc0b80699bc3219b975575b03f269385.png": { + "sha256": "ef0bbc53ca6161d3c0e67adc99cf00c1cc0b80699bc3219b975575b03f269385", + "size_bytes": 71738 + }, + "data/swemm/images/ef24c705bc1b220b4e88bdc7730e96d14428c328e3b9b6af61acb8d4c6d04617.png": { + "sha256": "ef24c705bc1b220b4e88bdc7730e96d14428c328e3b9b6af61acb8d4c6d04617", + "size_bytes": 17799 + }, + "data/swemm/images/f024aa5e626537795c832a040f2495133842b7fc60d5150814e1205496b696fb.png": { + "sha256": "f024aa5e626537795c832a040f2495133842b7fc60d5150814e1205496b696fb", + "size_bytes": 5337 + }, + "data/swemm/images/f0ecb3e9f27f36214561fae1cc005ac7fe7fa35b265fc12db068ca60f9a19007.png": { + "sha256": "f0ecb3e9f27f36214561fae1cc005ac7fe7fa35b265fc12db068ca60f9a19007", + "size_bytes": 7443 + }, + "data/swemm/images/f2184904f6ea79309c7661c2c376575bb2453703104ff8c60e1e9b3c57e11dea.png": { + "sha256": "f2184904f6ea79309c7661c2c376575bb2453703104ff8c60e1e9b3c57e11dea", + "size_bytes": 10825 + }, + "data/swemm/images/f2983ac7cf095946450fda1c63748bcb076e783fa40c531cb86c16f97a41e66d.png": { + "sha256": "f2983ac7cf095946450fda1c63748bcb076e783fa40c531cb86c16f97a41e66d", + "size_bytes": 41581 + }, + "data/swemm/images/f2a268439e622456c84c0d4fc9fd40410a6ad310fc0e9c603b22d5875c242cd0.png": { + "sha256": "f2a268439e622456c84c0d4fc9fd40410a6ad310fc0e9c603b22d5875c242cd0", + "size_bytes": 66738 + }, + "data/swemm/images/f2f95f561965d3b004e0ca720ac2edbbf0cd02eaeeb7e8dde9d19fdadbefcada.png": { + "sha256": "f2f95f561965d3b004e0ca720ac2edbbf0cd02eaeeb7e8dde9d19fdadbefcada", + "size_bytes": 28795 + }, + "data/swemm/images/f31646e73cb87ace7690e2a2c80bea8310ff572ec5779297fe575682cffa55da.png": { + "sha256": "f31646e73cb87ace7690e2a2c80bea8310ff572ec5779297fe575682cffa55da", + "size_bytes": 307407 + }, + "data/swemm/images/f3a9b2891c33868f4be84b02d6a317387f8016d59e2167e30b57979202006104.png": { + "sha256": "f3a9b2891c33868f4be84b02d6a317387f8016d59e2167e30b57979202006104", + "size_bytes": 33805 + }, + "data/swemm/images/f4c21578ec58001a4d7ed10177596b0f05c4e65bcdcea9245920e40c8dd6f03a.png": { + "sha256": "f4c21578ec58001a4d7ed10177596b0f05c4e65bcdcea9245920e40c8dd6f03a", + "size_bytes": 33744 + }, + "data/swemm/images/f5bdcab0588d5f48016c0556b245e9a1ad6d29c2a04b85b0c307f2e7ca039c59.png": { + "sha256": "f5bdcab0588d5f48016c0556b245e9a1ad6d29c2a04b85b0c307f2e7ca039c59", + "size_bytes": 25544 + }, + "data/swemm/images/f6db8eeb1b41d391cf26581e4d5aa7ac86a6e45bc74d2203ae98c0989d2d91b4.png": { + "sha256": "f6db8eeb1b41d391cf26581e4d5aa7ac86a6e45bc74d2203ae98c0989d2d91b4", + "size_bytes": 35046 + }, + "data/swemm/images/f755509d10f0a123be00cfd940a2276c662a6dd618d0390a69ce91f78e22b7e2.png": { + "sha256": "f755509d10f0a123be00cfd940a2276c662a6dd618d0390a69ce91f78e22b7e2", + "size_bytes": 61144 + }, + "data/swemm/images/f7f78ed869f3a2d97754b48ca988739d0e44b152b283b48f603221b4f0057bf3.png": { + "sha256": "f7f78ed869f3a2d97754b48ca988739d0e44b152b283b48f603221b4f0057bf3", + "size_bytes": 9629 + }, + "data/swemm/images/fc5fb352987b041a33e0b5ff5a894fe0e12a277bc62affdc74cf5168dee2e90c.png": { + "sha256": "fc5fb352987b041a33e0b5ff5a894fe0e12a277bc62affdc74cf5168dee2e90c", + "size_bytes": 23251 + }, + "data/swemm/images/fc930f299155132632529ee55dc636a1ccd91602ddc6e8e9afa4e00ca57ae772.png": { + "sha256": "fc930f299155132632529ee55dc636a1ccd91602ddc6e8e9afa4e00ca57ae772", + "size_bytes": 12484 + }, + "data/swemm/images/fd27097937c1644e59911ec1cdce476e32c8d4583565a255d3ac00098bf6ff2e.png": { + "sha256": "fd27097937c1644e59911ec1cdce476e32c8d4583565a255d3ac00098bf6ff2e", + "size_bytes": 34850 + }, + "data/swemm/images/fd5a5a5c2b77968d5b6a395907258edbadcaf31d7a2654f2128c11d762ee3ec2.png": { + "sha256": "fd5a5a5c2b77968d5b6a395907258edbadcaf31d7a2654f2128c11d762ee3ec2", + "size_bytes": 2119 + }, + "data/swemm/images/fdabdbba6334c604384ec80e6896c213be7919e79326d28e0876673a170d1d1b.png": { + "sha256": "fdabdbba6334c604384ec80e6896c213be7919e79326d28e0876673a170d1d1b", + "size_bytes": 25027 + }, + "data/swemm/images/fdf5006c1acad5a93a18fcac88832569a1bec22074f854543fc9e4964229f4ec.png": { + "sha256": "fdf5006c1acad5a93a18fcac88832569a1bec22074f854543fc9e4964229f4ec", + "size_bytes": 12635 + }, + "data/swemm/items.jsonl": { + "sha256": "5041fccbf453015b3238bb0f085adaa93a8d28dfb9e8029fe11742e72c9cabea", + "size_bytes": 40597554 + }, + "data/swemm/probes/Automattic__wp-calypso-21409.json": { + "sha256": "fbebbce5bd4da911045edc5766f1c182daf6939c217d82e0c50fb802a2d15e89", + "size_bytes": 8714 + }, + "data/swemm/probes/Automattic__wp-calypso-21492.json": { + "sha256": "4dabce5fcdfc45064eb60ff59230e7ff559c5f267006ebf2471a33cef44cceb0", + "size_bytes": 9076 + }, + "data/swemm/probes/Automattic__wp-calypso-21648.json": { + "sha256": "dc2c9e7c06205bb4f0528c004c9def46f56ce6fdf26239e82225b4998539207d", + "size_bytes": 6179 + }, + "data/swemm/probes/Automattic__wp-calypso-21769.json": { + "sha256": "b8041a16b92cbc5ebd99e637570324392c1018b4b9850ad2f601e2ce589adec7", + "size_bytes": 8409 + }, + "data/swemm/probes/Automattic__wp-calypso-21964.json": { + "sha256": "f4034149883bcc51b99e52ef994ed752c5bc9e29f080ceb374194a64ec9c5bc2", + "size_bytes": 2954 + }, + "data/swemm/probes/Automattic__wp-calypso-21977.json": { + "sha256": "2fe6ee4c195e39b6dcf22222bccfb69a05931e0843019990da065c7cd702dce1", + "size_bytes": 11053 + }, + "data/swemm/probes/Automattic__wp-calypso-22026.json": { + "sha256": "88661ad9e61bcaff285e324086f91f36bb153c081b75d619dca795c749210609", + "size_bytes": 3936 + }, + "data/swemm/probes/Automattic__wp-calypso-22242.json": { + "sha256": "f3b9dceccc0da0a915ffaee2fbf2aa616da53d93a4bb1abe97a6f645634bf3a8", + "size_bytes": 5407 + }, + "data/swemm/probes/Automattic__wp-calypso-22621.json": { + "sha256": "7e5ac814d0afa88071924df1421a277ae9878104c64a83998515e6b02a520ec2", + "size_bytes": 5995 + }, + "data/swemm/probes/Automattic__wp-calypso-22709.json": { + "sha256": "806bf3023dc2387af2ef35eeb723993f9aa1ed8aa02b64c69817605c6611579f", + "size_bytes": 6862 + }, + "data/swemm/probes/Automattic__wp-calypso-22782.json": { + "sha256": "65fa84de201dda12825af4b16faf33a3eba48df64204a6d129e2860179ba99c5", + "size_bytes": 5596 + }, + "data/swemm/probes/Automattic__wp-calypso-23017.json": { + "sha256": "c97053217241947b54d9b690a4fdd3644c51266a1b60b7875068cd5d3fa869a9", + "size_bytes": 6531 + }, + "data/swemm/probes/Automattic__wp-calypso-23377.json": { + "sha256": "0eb85d28a3d3630970fbe6f7bd5fec0ac3327a5a754c6da18a7d030d52107497", + "size_bytes": 8639 + }, + "data/swemm/probes/Automattic__wp-calypso-23915.json": { + "sha256": "fa4aa20839194c57efe6d0408eac60979297faa07b7843d91bb1dd7bd9e33314", + "size_bytes": 3350 + }, + "data/swemm/probes/Automattic__wp-calypso-23991.json": { + "sha256": "8abc653570310a4818a09c2fe0372674d1c7859970d3fb970c8e568d42888913", + "size_bytes": 7642 + }, + "data/swemm/probes/Automattic__wp-calypso-25160.json": { + "sha256": "283b62d8239799d009489e629e1234bcbec465b097eee91777148a75bedb0877", + "size_bytes": 6616 + }, + "data/swemm/probes/Automattic__wp-calypso-25257.json": { + "sha256": "f4b239ce95707c40bfbf48d795ed380ee7675ab7bc290ea7b0e2cdb553da3382", + "size_bytes": 6677 + }, + "data/swemm/probes/Automattic__wp-calypso-25725.json": { + "sha256": "7b4a7b76af6193e91283a03692586d0c73b89660949d97b059f28b27f73b3368", + "size_bytes": 9872 + }, + "data/swemm/probes/Automattic__wp-calypso-25778.json": { + "sha256": "c24d61f87969657b98dbf22572f240e4a6fc0f9dac37c7c8468b6c326f1550ad", + "size_bytes": 4230 + }, + "data/swemm/probes/Automattic__wp-calypso-26008.json": { + "sha256": "80dc885df7de0c54aa19b9a4a269a4ea8b6a66825c45cfed22f44caf88a0fad3", + "size_bytes": 4533 + }, + "data/swemm/probes/Automattic__wp-calypso-26286.json": { + "sha256": "fa17afaeddbb83d998086249d3283117a6f0d75fc7beb7944238ad09fab2376c", + "size_bytes": 7127 + }, + "data/swemm/probes/Automattic__wp-calypso-26335.json": { + "sha256": "89f7f07c2b67206324b5bd47c06dfd374c48695b6e8422867ae2cea063e76f45", + "size_bytes": 8306 + }, + "data/swemm/probes/Automattic__wp-calypso-26816.json": { + "sha256": "3e459e157c486bb1b02a82fc81bad93ecdeafdd83b9da2e3256d9c9d1680d1e3", + "size_bytes": 7615 + }, + "data/swemm/probes/Automattic__wp-calypso-27090.json": { + "sha256": "eb9f76c26add29d1b7b563ea70db77a4d57a5563055d3a9327dcb6652db1f494", + "size_bytes": 7324 + }, + "data/swemm/probes/Automattic__wp-calypso-29804.json": { + "sha256": "5c9f36780b79bbd8a603b21788c8fbed3bf0e1efbd1c31d8066baf06596158d3", + "size_bytes": 4450 + }, + "data/swemm/probes/Automattic__wp-calypso-30240.json": { + "sha256": "62c394fed0fef291a46543fa4b45b713fc55b207e89eb39fb4d5ba666d08def6", + "size_bytes": 7819 + }, + "data/swemm/probes/Automattic__wp-calypso-31830.json": { + "sha256": "e543b595db4c5117463a8533e3a9b7d8acbf94e94bd78c1a4078b75b5663629e", + "size_bytes": 5576 + }, + "data/swemm/probes/Automattic__wp-calypso-32764.json": { + "sha256": "f8914f8d5d59f0001715294a58fedc1f47c389e0f017f67756b4a7cd49ea62b8", + "size_bytes": 10891 + }, + "data/swemm/probes/Automattic__wp-calypso-33245.json": { + "sha256": "7f6539322cf73d3cd646e2830c648516851e50ab883da305da74f2332ed25252", + "size_bytes": 8865 + }, + "data/swemm/probes/Automattic__wp-calypso-33752.json": { + "sha256": "48b6d6c91b68b775d46fa877a009e802bdcf13f258338a601c0fc0dc777e74f0", + "size_bytes": 7278 + }, + "data/swemm/probes/Automattic__wp-calypso-33948.json": { + "sha256": "6be2915d8293ab6f84b9f42af3da0c132ea3ed70e7cff1f5f4f42a093a9ee2b0", + "size_bytes": 4194 + }, + "data/swemm/probes/Automattic__wp-calypso-34435.json": { + "sha256": "3b44e3aef95d029decda1c574038c2c69a822d0f97916744cb14a70c96c1c282", + "size_bytes": 4990 + }, + "data/swemm/probes/Automattic__wp-calypso-34820.json": { + "sha256": "99f9a42473e5b173dec7c32ee43e4db86bdc9aa29067c3c652c4e5d969555f66", + "size_bytes": 6414 + }, + "data/swemm/probes/Automattic__wp-calypso-35531.json": { + "sha256": "2e9375bc43d25fbbf2f0ddb18aec8f7972284dce401175debfdceeb62c8c8fad", + "size_bytes": 4737 + }, + "data/swemm/probes/chartjs__Chart.js-10157.json": { + "sha256": "3f19840662eb068faa647deb4abd99a52412131e1f597017229c06a9d57bb80d", + "size_bytes": 4291 + }, + "data/swemm/probes/chartjs__Chart.js-10301.json": { + "sha256": "366a12b5d419c497f41cde5da04b4a54a2382405e9ed4faf1dac6c703e167d35", + "size_bytes": 4563 + }, + "data/swemm/probes/chartjs__Chart.js-10806.json": { + "sha256": "03211b4075a6d8a55cd1418fc417acc6965adac1f40a7e874196c53944314f1d", + "size_bytes": 8005 + }, + "data/swemm/probes/chartjs__Chart.js-11116.json": { + "sha256": "cb9d17b2ae7782e709daba2c62b9ff85e494a38290fc8515ff4509017ddad72f", + "size_bytes": 5146 + }, + "data/swemm/probes/chartjs__Chart.js-11352.json": { + "sha256": "4154e1a0bebdcab95da37cfe327a2bc19a94028b3b193ad4ceeae1c2dcc307d4", + "size_bytes": 5131 + }, + "data/swemm/probes/chartjs__Chart.js-7951.json": { + "sha256": "b5a6abfda311b3868b932d94994f6959cff58b55b1e19b355825dee60a00367a", + "size_bytes": 4384 + }, + "data/swemm/probes/chartjs__Chart.js-8162.json": { + "sha256": "763235d4bca5bb54a686a28eaff01fccd6c52343c3c051e55947d47e2067fbc0", + "size_bytes": 7934 + }, + "data/swemm/probes/chartjs__Chart.js-8567.json": { + "sha256": "d36d696e149e4c6202b77a711d22b16ad83658045f46cbf00943828574f43729", + "size_bytes": 5421 + }, + "data/swemm/probes/chartjs__Chart.js-8593.json": { + "sha256": "7ab023c35e0d1c5f16f8dffb0b9fe1d9d751a4cd2808348f530ecec30abbf4db", + "size_bytes": 4975 + }, + "data/swemm/probes/chartjs__Chart.js-8650.json": { + "sha256": "1536288fb8567853a7e8e47529850b84cfc422228be0887a13f4db4e8cad896e", + "size_bytes": 5696 + }, + "data/swemm/probes/chartjs__Chart.js-8705.json": { + "sha256": "e0aec8cc80bcf76a7e3ffc050be420dbf1a048d56d569f5e180a8c66e0a55d4a", + "size_bytes": 4942 + }, + "data/swemm/probes/chartjs__Chart.js-8710.json": { + "sha256": "d3a3913bfedfed9cb3b84dacdffbbd7601dae2bc87e2bdc3749e3905c913459e", + "size_bytes": 4319 + }, + "data/swemm/probes/chartjs__Chart.js-8867.json": { + "sha256": "3e2e0f6299440826a7fde37fea3af9fd9789b7577a44a3c30fb95da9d18ec82d", + "size_bytes": 4555 + }, + "data/swemm/probes/chartjs__Chart.js-8868.json": { + "sha256": "b994b598109ff62948527593fd4a3724c0a2cc1b658dfb0d47350b434d80ae05", + "size_bytes": 5556 + }, + "data/swemm/probes/chartjs__Chart.js-9027.json": { + "sha256": "e3b6962d06a1f1d88be08ca0d02165c5b63914a5e3921337900341dc6c53e07c", + "size_bytes": 3501 + }, + "data/swemm/probes/chartjs__Chart.js-9101.json": { + "sha256": "3e268d013117d9e47335251795249eaca0e8ad06d6d6cd0b4c061ed6b8430b1a", + "size_bytes": 5221 + }, + "data/swemm/probes/chartjs__Chart.js-9199.json": { + "sha256": "ec83d62be1a681961631553cd19d1beee4efd6f108fe857abe652f8e43b2bf91", + "size_bytes": 5675 + }, + "data/swemm/probes/chartjs__Chart.js-9367.json": { + "sha256": "73642cb6fe3b23e434a71f1ab37370dfffad2a287b3b730f44b499487ec0e6f5", + "size_bytes": 4106 + }, + "data/swemm/probes/chartjs__Chart.js-9399.json": { + "sha256": "cbbb63d4dcb10267239192ce819f43a31837d9d1b2103620a0c29695526154b4", + "size_bytes": 6234 + }, + "data/swemm/probes/chartjs__Chart.js-9613.json": { + "sha256": "4aefdf09fd59ac09bc5270b8111fc5a65492db73b18f90d244a18ac12425ef15", + "size_bytes": 5098 + }, + "data/swemm/probes/chartjs__Chart.js-9678.json": { + "sha256": "1d637d227e68052fa809496af56c7972f2476e298db6ac286a16290186388d12", + "size_bytes": 4678 + }, + "data/swemm/probes/chartjs__Chart.js-9764.json": { + "sha256": "5e7131f817801e2faf1afb8e0cb52d1f42c737d875bfe10b66e34154e4ed81c1", + "size_bytes": 4965 + }, + "data/swemm/probes/chartjs__Chart.js-9766.json": { + "sha256": "320474528c0f6a3383c70688134c286295e454ed954f34e71acb1cb30e3d0073", + "size_bytes": 3660 + }, + "data/swemm/probes/chartjs__Chart.js-9871.json": { + "sha256": "d09f9163696c713af8c4767a72341d620008987154df0d9ca2cf60cfb2e8325d", + "size_bytes": 7327 + }, + "data/swemm/probes/diegomura__react-pdf-1178.json": { + "sha256": "8733e17c46365f7ad8011012543a66b8f3118ec97363094597569ea91fbe996a", + "size_bytes": 6542 + }, + "data/swemm/probes/diegomura__react-pdf-1280.json": { + "sha256": "72700b061256e61744815f91f99661cb665a37035b36f9b29f37f667c26a8367", + "size_bytes": 6260 + }, + "data/swemm/probes/diegomura__react-pdf-1306.json": { + "sha256": "0572da2ad46e3c234c2dec0ac0bbe59d0aacfde125e9c384195d90b692abc70a", + "size_bytes": 5293 + }, + "data/swemm/probes/diegomura__react-pdf-1341.json": { + "sha256": "3104079a080f02efd0bbba53788b39455265764b16f12fa859320cb900ef677c", + "size_bytes": 2918 + }, + "data/swemm/probes/diegomura__react-pdf-1363.json": { + "sha256": "6c8ba01337dca3b15f4e142f9d25e0c704f8c1af5a7d77c8e707de4d8fbd30dc", + "size_bytes": 5552 + }, + "data/swemm/probes/diegomura__react-pdf-1541.json": { + "sha256": "5f2cec02c3515944141f7886e13a4317c9c95f1a00b31b03d75f55f8437c2281", + "size_bytes": 5615 + }, + "data/swemm/probes/diegomura__react-pdf-1552.json": { + "sha256": "7d52495f5aa30a89fe67eeec2de069453da2ebf5db6cad821fd23a62ccdb2be4", + "size_bytes": 3667 + }, + "data/swemm/probes/diegomura__react-pdf-433.json": { + "sha256": "3c55c66be17854304e3a229dafd623b22f5f24e0873e7c4108e34909219b5ad1", + "size_bytes": 5989 + }, + "data/swemm/probes/diegomura__react-pdf-471.json": { + "sha256": "54e424d965fa746604b0321484ad169b8471b02b8e0d4e577db13a65575117f8", + "size_bytes": 3896 + }, + "data/swemm/probes/markedjs__marked-1262.json": { + "sha256": "1720f42eccc14e78282449ade001886d243f486833f39e40fae9b765196a561e", + "size_bytes": 3395 + }, + "data/swemm/probes/markedjs__marked-1435.json": { + "sha256": "18b89d4c3e48a66e96fb0f725e7f5933906efe1a2dbf28465bffda1e1027fb5f", + "size_bytes": 3488 + }, + "data/swemm/probes/markedjs__marked-1535.json": { + "sha256": "d9d372421479538fc7ca1832d5de4a4f1ce0146005d43953a6ac7a65da62686b", + "size_bytes": 2840 + }, + "data/swemm/probes/markedjs__marked-1674.json": { + "sha256": "c6d5a968976c9918e647bde44a3ba897546d58058302be6eb4972add8a45763d", + "size_bytes": 2215 + }, + "data/swemm/probes/markedjs__marked-1683.json": { + "sha256": "f7d61c78a9b3dd6c86b8ecc59f414dc13e53d70d4addee0ad56761f37ec628da", + "size_bytes": 2811 + }, + "data/swemm/probes/markedjs__marked-1739.json": { + "sha256": "349cfbd09cf3bba89d8a0c80c8d5b480e896349bb8fe2fd0a1b59b8ebe1ba670", + "size_bytes": 3022 + }, + "data/swemm/probes/markedjs__marked-1821.json": { + "sha256": "cac8582b6ff3cb40babb4a17dae275755ed5b339363b64a9609fc2d026a92a1c", + "size_bytes": 2940 + }, + "data/swemm/probes/markedjs__marked-1825.json": { + "sha256": "3ce26cbdee7c94540bd93187ce75d622519bfacba62877d722318fade2ed2f4a", + "size_bytes": 2518 + }, + "data/swemm/probes/markedjs__marked-1889.json": { + "sha256": "8b61d8c1f3bfbcbe527c437ce3bd5f7d31c019da61146cd3002a293fbf52e851", + "size_bytes": 3002 + }, + "data/swemm/probes/markedjs__marked-1936.json": { + "sha256": "eb52eb4cef6a6c2fa5ccae21f3bb27374f649378192b7bd8ba1b02dcfa7a7a1b", + "size_bytes": 3063 + }, + "data/swemm/probes/markedjs__marked-2483.json": { + "sha256": "a66d46736945b2679aaca62c28217d72a2364a803c83ce0fe3baa954dd96cf2c", + "size_bytes": 2752 + }, + "data/swemm/probes/markedjs__marked-2627.json": { + "sha256": "2fe8fcb4bd808613d207271bc005636ebbfe8e2aac12d31f9c18a3c6e8b16f35", + "size_bytes": 2559 + }, + "data/swemm/probes/markedjs__marked-2811.json": { + "sha256": "0ca9f42c727f21cc481d67f6e6de93ef8ce9c175510dd8e396f5bf2ed163ae07", + "size_bytes": 2844 + }, + "data/swemm/probes/markedjs__marked-684.json": { + "sha256": "c7d59c85a05a484120743f48d6bf6503fe0c4957f85f96bef8faa4ac0847c47b", + "size_bytes": 2708 + }, + "data/swemm/probes/processing__p5.js-3068.json": { + "sha256": "795db5115a8fc122bdeea3ed81ec81a582d5417c98680d22174e895bb9c426d3", + "size_bytes": 4710 + }, + "data/swemm/probes/processing__p5.js-3680.json": { + "sha256": "8b7f0331982d54aa6f31720f2ce3c15eceb6da70fbc935d3134eb764388f6567", + "size_bytes": 3402 + }, + "data/swemm/probes/processing__p5.js-3709.json": { + "sha256": "053e723451996a290b445f70f854bfbda99636b0476962b9f44621623595301e", + "size_bytes": 3102 + }, + "data/swemm/probes/processing__p5.js-3769.json": { + "sha256": "ae6e9d3cecb3c41421d6e54bef19fd7a23d3ed63d36b1c800dd3e104e414b081", + "size_bytes": 5187 + }, + "data/swemm/probes/processing__p5.js-4147.json": { + "sha256": "4166756903e7b801829d8bd6c12ad31e0cd7d7760763b7eeacb7063fcf5ea429", + "size_bytes": 4242 + }, + "data/swemm/probes/processing__p5.js-4561.json": { + "sha256": "79fef1310679f40c135fa9e49d73f9b926fb9e618c1fc7a3b33ffd2ba2f4dbb6", + "size_bytes": 4256 + }, + "data/swemm/probes/processing__p5.js-5305.json": { + "sha256": "a762657d3da70cac1e0a041dfd5adf5d3fd68235a9785992d482c2a54243add1", + "size_bytes": 4788 + }, + "data/swemm/probes/processing__p5.js-5555.json": { + "sha256": "58180c18c3cb3a81d2e44b647183a8c0e9647a3d09585b2f47df8c2b2c8779cd", + "size_bytes": 2002 + }, + "data/swemm/probes/processing__p5.js-5771.json": { + "sha256": "dad19825118314a0c736414b753363f05ef89915358492affacbddf303cc0e0b", + "size_bytes": 4859 + }, + "data/swemm/probes/processing__p5.js-5794.json": { + "sha256": "6528e0c2f16e750a9684faaa6529dacbffec2f19e83b55aa0927df966440f079", + "size_bytes": 4005 + }, + "data/swemm/probes/processing__p5.js-5855.json": { + "sha256": "80f42c3e7da8772d9977581e4d65960041c0604f24c5c6e23227f61dcffb99f8", + "size_bytes": 4576 + }, + "data/swemm/probes/processing__p5.js-5915.json": { + "sha256": "2ac57e7fd5c24a4eaa525a145a739c2205a032949ce5e0c3a016b4c3ba14ab5f", + "size_bytes": 4881 + }, + "data/swemm/probes/processing__p5.js-5917.json": { + "sha256": "f7a821cfe17665373a7cd27382aa39763bb99246d80f77d14333b6619d84fc20", + "size_bytes": 3853 + }, + "data/swemm/probes/processing__p5.js-6069.json": { + "sha256": "e8403c57488c900c6d4a647a6535cc4a3ecaa52d5e21a9a20ab6c0d5d5d9e051", + "size_bytes": 3023 + }, + "data/swemm/probes/processing__p5.js-6111.json": { + "sha256": "87ce8dcb53944108201057cc282360d451e8b1309b9ab5fdbd92222d5d95d981", + "size_bytes": 6123 + }, + "data/swemm/probes.jsonl": { + "sha256": "ba71246fcd6fc3921b206ceedfd06229c4068ed9a902a05d18c25cc209cffc96", + "size_bytes": 24822 + }, + "data/swemm/prompts.jsonl": { + "sha256": "5fc21b9977698621a213246d313d772353edbaf024e0ce51dacd9988ee3fb710", + "size_bytes": 57125496 + }, + "data/swemm/provenance.jsonl": { + "sha256": "e029023d0328dd184f1de6989732d13cd5ee75ab883af659304901226f3f765a", + "size_bytes": 596640 + }, + "data/swemm/targets.jsonl": { + "sha256": "7ca8ab45d53849094dd862301da2e232cfcc40b434011456f57235ceb33b0842", + "size_bytes": 10167316 + }, + "evaluation_protocol.json": { + "sha256": "25026645f0370f1f20ebd6e4d19e67f4d1e747e8e25a904625b74ba926e5a445", + "size_bytes": 1496 + }, + "examples/reference_metrics.json": { + "sha256": "a722f0b0ddd43f8b7bf8b4521e7cc865d0335ed3a7df138ca0e8b4dcd7389775", + "size_bytes": 1082 + }, + "examples/reference_predictions/rs.jsonl": { + "sha256": "63301bb8e18bbadedca4ad28f5521a6ddbc555b0f2c4f2623bb00dff3a105ce7", + "size_bytes": 1129958 + }, + "examples/reference_predictions/swemm.jsonl": { + "sha256": "f95963ab7a6ada7a3278c39534ddc5cc22d8798fe6b7dcc73b83780973c7f5fe", + "size_bytes": 1685824 + }, + "examples/run_model.py": { + "sha256": "1d0bfa033797025a6ea6a451c99aa6ca46c0fb0722599ef64d7139bd387d763c", + "size_bytes": 5350 + }, + "manifest.json": { + "sha256": "ab60b52a38a5e2249685d6c9f6ad4b594a18f017ceb3490e135e9090c37193e9", + "size_bytes": 2691 + }, + "prowm_bench/__init__.py": { + "sha256": "7ce993af5fd1d11571a577022826c8ad93c7e267a87764f408d84b5dc9e1572e", + "size_bytes": 255 + }, + "prowm_bench/__main__.py": { + "sha256": "4ddcccbf18158f7ec30d57c29a2b24313645eb9538b2d7d1527b3df1383c8371", + "size_bytes": 4014 + }, + "prowm_bench/_compat.py": { + "sha256": "a49bdaebfbc613528cf295fbade75e63cbe63a8f14bfb6072d39e1f9467b641b", + "size_bytes": 19242 + }, + "prowm_bench/dataset.py": { + "sha256": "ad13dafc7c8c6f2be3177e45d25f4c1d1d1fa01670c90b2fb27756ec9ab81866", + "size_bytes": 7966 + }, + "prowm_bench/scoring.py": { + "sha256": "e9c8070c55c149fffee50f468fd313f87a17c8af5736adfffd3203642b25f9df", + "size_bytes": 10162 + }, + "source_provenance.json": { + "sha256": "58ed788d38f36c1b0de617eaa917429979765d72bc8d2c291d0b2a463b8cae88", + "size_bytes": 2968 + }, + "swemm_scoring_amendments.json": { + "sha256": "3b3c93efb5e6fce113e0b9d13001c9d5f0c09a30e11f797a2837cb41a465fd18", + "size_bytes": 7266 + }, + "tests/test_release.py": { + "sha256": "ec7e20281a291afbe6f050432a7223692b9e5901d433b67148d5ea451065d381", + "size_bytes": 10004 + } + } +} diff --git a/data/rs/evidence.jsonl b/data/rs/evidence.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..6ac692f418fa058f504f88206aa410c40ec52f1f --- /dev/null +++ b/data/rs/evidence.jsonl @@ -0,0 +1,200 @@ +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3769,"content_sha256":"dd80786d7b66149c362ad2c21aeb93ebeb86bbe7c1ae21f828d669a63481b721","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"8571f25f04ba128cbcc398bd2ab06eac45aa2b02ada319c7e908e7b28531b752","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"src/treepoem/__init__.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"0987bb4c85a02764997b10903048a606c857e2945375210e1e23cbb1f2544a70","reference_window":{"end_line":120,"sha256":"f4fbed923159b00f4f48fe978c63ff420df8db8adb3e19096eafd6e5a6e0527a","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"adamchainz_treepoem_pr437__zSd5ez3:33","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/src/treepoem/__init__.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: from __future__ import annotations\n2: \n3: import codecs\n4: import io\n5: import os\n6: import subprocess\n7: import sys\n8: \n9: from PIL import EpsImagePlugin\n10: \n11: from .data import barcode_types\n12: from .data import BarcodeType\n13: \n14: __all__ = [\"generate_barcode\", \"TreepoemError\", \"BarcodeType\", \"barcode_types\"]\n15: \n16: BASE_DIR = os.path.normpath(os.path.abspath(os.path.dirname(__file__)))\n17: BWIPP_PATH = os.path.join(BASE_DIR, \"postscriptbarcode\", \"barcode.ps\")\n18: \n19: BASE_PS = \"\"\"\\\n20: {bwipp}\n21: \n22: /Helvetica findfont 10 scalefont setfont\n23: gsave\n24: 2 2 scale\n25: 10 10 moveto\n26: \n27: {code}\n28: /uk.co.terryburton.bwipp findresource exec\n29: grestore\n30: \n31: showpage\n32: \"\"\"\n33: \n34: # Error handling from:\n35: # https://github.com/bwipp/postscriptbarcode/wiki/Developing-a-Frontend-to-BWIPP#use-bwipps-error-reporting # noqa: E501\n36: BBOX_TEMPLATE = (\n37: \"\"\"\\\n38: %!PS\n39: \n40: errordict begin\n41: /handleerror {{\n42: $error begin\n43: errorname dup length string cvs 0 6 getinterval (bwipp.) eq {{\n44: (%stderr) (w) file\n45: dup (\\nBWIPP ERROR: ) writestring\n46: dup errorname dup length string cvs writestring\n47: dup ( ) writestring\n48: dup errorinfo dup length string cvs writestring\n49: dup (\\n) writestring\n50: dup flushfile end quit\n51: }} if\n52: end //handleerror exec\n53: }} bind def\n54: end\n55: \n56: \"\"\"\n57: + BASE_PS\n58: )\n59: \n60: EPS_TEMPLATE = (\n61: \"\"\"\\\n62: %!PS-Adobe-3.0 EPSF-3.0\n63: {bbox}\n64: \n65: \"\"\"\n66: + BASE_PS\n67: )\n68: \n69: \n70: class TreepoemError(RuntimeError):\n71: pass\n72: \n73: \n74: # Inline the BWIPP code rather than using the run operator to execute\n75: # it because the EpsImagePlugin runs Ghostscript with the SAFER flag,\n76: # which disables file operations in the PS code.\n77: def _read_file(file_path: str) -> str:\n78: with open(file_path) as f:\n79: return f.read()\n80: \n81: \n82: BWIPP = _read_file(BWIPP_PATH)\n83: \n84: \n85: def _get_bbox(code: str) -> str:\n86: full_code = BBOX_TEMPLATE.format(bwipp=BWIPP, code=code)\n87: ghostscript = _get_ghostscript_binary()\n88: gs_process = subprocess.Popen(\n89: [ghostscript, \"-sDEVICE=bbox\", \"-dBATCH\", \"-dSAFER\", \"-\"],\n90: universal_newlines=True,\n91: stdin=subprocess.PIPE,\n92: stdout=subprocess.PIPE,\n93: stderr=subprocess.PIPE,\n94: )\n95: _, err_output = gs_process.communicate(full_code)\n96: err_output = err_output.strip()\n97: # Unfortunately the error-handling in the postscript means that\n98: # returncode is 0 even if there was an error, but this gives\n99: # better error messages.\n100: if gs_process.returncode != 0 or \"BWIPP ERROR:\" in err_output:\n101: if err_output.startswith(\"BWIPP ERROR: \"):\n102: err_output = err_output.replace(\"BWIPP ERROR: \", \"\", 1)\n103: raise TreepoemError(err_output)\n104: return err_output\n105: \n106: \n107: def _get_ghostscript_binary() -> str:\n108: binary = \"gs\"\n109: \n110: if sys.platform.startswith(\"win\"):\n111: binary = EpsImagePlugin.gs_windows_binary\n112: if not binary:\n113: raise TreepoemError(\n114: \"Cannot determine path to ghostscript, is it installed?\"\n115: )\n116: \n117: return binary\n118: \n119: \n120: def _encode(data: str | bytes) -> str:\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"adamchainz_treepoem_pr437__zSd5ez3:33"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":320,"content_sha256":"efdd6e976bbb6d903b286b69b5b582a887aa01a22327d54f6e1958560dcaf2c5","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"b7477e498f7c804c843fc6eec0e23306243ecf4abbb39fb54b0b253b704df43a","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests/test_treepoem.py::test_barcode[ean13-012345678912-options7","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"adamchainz_treepoem_pr587__GJQnKVt:33","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_treepoem.py::test_barcode[ean13-012345678912-options7, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"adamchainz_treepoem_pr587__GJQnKVt:33"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"altair-viz__altair-3068__Apqmjud:20","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"altair-viz__altair-3068__Apqmjud:20"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5916,"content_sha256":"0c00aa1e840c06d6d126cf93bc4f925adda470e9e382cbed5197379f18ba24d2","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":152,"sha256":"3086bfff00d2529db825cd55dab9b0265bd00d4f28b53e9d0377ef120b6a7a0d","start_line":92,"truncated":true},"content_sha256":"f196e3d2d5826605f9dcc9a026635e89aede513253bcc0695c472e28a7d8d5ca","end_line":189,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"bids/reports/report.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"f538c2c6e396f90ff81add3728ddd06f8bfbf9a95566c5e9d6eedcfc281a012b","reference_window":{"end_line":147,"sha256":"5b7b081dc86e7547da650c7c3301d9c4331f0c82272e890c696d4fef03d5c2d2","start_line":87,"truncated":true},"start_line":65,"truncated":true}],"item_id":"bids-standard_pybids_pr463__dbogV7k:40","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/bids/reports/report.py, reference lines 65-189\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n87: for sid in subjs:\n88: descriptions.append(self._report_subject(subject=sid, **kwargs))\n89: counter = Counter(descriptions)\n90: print('Number of patterns detected: {0}'.format(len(counter.keys())))\n91: print(utils.reminder())\n92: return counter\n93: \n94: def _report_subject(self, subject, **kwargs):\n95: \"\"\"Write a report for a single subject.\n96: \n97: Parameters\n98: ----------\n99: subject : :obj:`str`\n100: Subject ID.\n101: \n102: Attributes\n103: ----------\n104: layout : :obj:`bids.layout.BIDSLayout`\n105: Layout object for a BIDS dataset.\n106: config : :obj:`dict`\n107: Configuration info for methods generation.\n108: \n109: Returns\n110: -------\n111: description : :obj:`str`\n112: A publication-ready report of the dataset's data acquisition\n113: information. Each scan type is given its own paragraph.\n114: \"\"\"\n115: description_list = []\n116: # Remove sess from kwargs if provided, else set sess as all available\n117: sessions = kwargs.pop('session',\n118: self.layout.get_sessions(subject=subject,\n119: **kwargs))\n120: if not sessions:\n121: sessions = [None]\n122: elif not isinstance(sessions, list):\n123: sessions = [sessions]\n124: \n125: for ses in sessions:\n126: niftis = self.layout.get(subject=subject, extension='nii.gz',\n127: **kwargs)\n128: \n129: if niftis:\n130: description_list.append('For session {0}:'.format(ses))\n131: description_list += parsing.parse_niftis(self.layout, niftis,\n132: subject, self.config,\n133: session=ses)\n134: metadata = self.layout.get_metadata(niftis[0].path)\n135: else:\n136: raise Exception('No niftis for subject {0}'.format(subject))\n137: \n138: # Assume all data were converted the same way and use the last nifti\n139: # file's json for conversion information.\n140: if 'metadata' not in vars():\n141: raise Exception('No valid jsons found. Cannot generate final '\n142: 'paragraph.')\n143: \n144: description = '\\n\\t'.join(description_list)\n145: description = description.replace('\\tFor session', '\\nFor session')\n146: description += '\\n\\n{0}'.format(parsing.final_paragraph(metadata))\n147: return description\n[window truncated; visible lines 87-147]\nCandidate text preview (unexecuted):\n92: return counter\n93: \n94: def _report_subject(self, subject, **kwargs):\n95: \"\"\"Write a report for a single subject.\n96: \n97: Parameters\n98: ----------\n99: subject : :obj:`str`\n100: Subject ID.\n101: \n102: Attributes\n103: ----------\n104: layout : :obj:`bids.layout.BIDSLayout`\n105: Layout object for a BIDS dataset.\n106: config : :obj:`dict`\n107: Configuration info for methods generation.\n108: \n109: Returns\n110: -------\n111: description : :obj:`str`\n112: A publication-ready report of the dataset's data acquisition\n113: information. Each scan type is given its own paragraph.\n114: \"\"\"\n115: description_list = []\n116: # Remove sess from kwargs if provided, else set sess as all available\n117: sessions = kwargs.pop('session',\n118: self.layout.get_sessions(subject=subject,\n119: **kwargs))\n120: if not sessions:\n121: sessions = [None]\n122: elif not isinstance(sessions, list):\n123: sessions = [sessions]\n124: \n125: for ses in sessions:\n126: niftis = self.layout.get(subject=subject,\n127: extension=['nii', 'nii.gz'],\n128: **kwargs)\n129: # A dataset may contain both compressed (.nii.gz) and\n130: # uncompressed (.nii) versions of the same image; only describe\n131: # each image once.\n132: niftis = utils.unique_niftis(niftis)\n133: \n134: if niftis:\n135: description_list.append('For session {0}:'.format(ses))\n136: description_list += parsing.parse_niftis(self.layout, niftis,\n137: subject, self.config,\n138: session=ses)\n139: metadata = self.layout.get_metadata(niftis[0].path)\n140: else:\n141: raise Exception('No niftis for subject {0}'.format(subject))\n142: \n143: # Assume all data were converted the same way and use the last nifti\n144: # file's json for conversion information.\n145: if 'metadata' not in vars():\n146: raise Exception('No valid jsons found. Cannot generate final '\n147: 'paragraph.')\n148: \n149: description = '\\n\\t'.join(description_list)\n150: description = description.replace('\\tFor session', '\\nFor session')\n151: description += '\\n\\n{0}'.format(parsing.final_paragraph(metadata))\n152: return description\n[window truncated; visible lines 92-152]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"bids-standard_pybids_pr463__dbogV7k:40"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5938,"content_sha256":"fc25ef2bb054dc4f684785f7b070e8f9e7725638bf3cd7dea53e5808df45b9eb","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":477,"sha256":"947a849ab01645339c04852c21412bc5439c6cbb7794916a338ec4ca36adb93f","start_line":436,"truncated":true},"content_sha256":"6b4e20b9dc06c11394c1ea01fef468baef1963a7452378e7750eb5bc1300d293","end_line":521,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"bids/reports/parsing.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"7425c3c8d892bf4dc04cdea12a82591ddaa111b893ab560c8b2025c5ab8582e9","reference_window":{"end_line":477,"sha256":"7c6e4d13d9c44af585a65f99b4c4347d0b9030a9b0afd619d782a4d0e9c5ab48","start_line":435,"truncated":true},"start_line":396,"truncated":true}],"item_id":"bids-standard_pybids_pr607__RdpJw6Y:21","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/bids/reports/parsing.py, reference lines 396-521\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n435: # Assume all data were acquired the same way.\n436: if not description_list:\n437: description_list.append(general_acquisition_info(metadata))\n438: \n439: if nifti_struct.entities['datatype'] == 'func':\n440: if not skip_task.get(nifti_struct.entities['task'], False):\n441: echos = layout.get_echoes(subject=subj, extension=[\".nii\", \".nii.gz\"],\n442: task=nifti_struct.entities['task'],\n443: **kwargs)\n444: n_echos = len(echos)\n445: if n_echos > 0:\n446: metadata['EchoTime'] = []\n447: for echo in sorted(echos):\n448: echo_struct = layout.get(subject=subj, echo=echo,\n449: extension=[\".nii\", \".nii.gz\"],\n450: task=nifti_struct.entities['task'],\n451: **kwargs)[0]\n452: echo_file = echo_struct.path\n453: echo_meta = layout.get_metadata(echo_file)\n454: metadata['EchoTime'].append(echo_meta['EchoTime'])\n455: \n456: n_runs = len(layout.get_runs(subject=subj,\n457: task=nifti_struct.entities['task'],\n458: **kwargs))\n459: description_list.append(func_info(nifti_struct.entities['task'],\n460: n_runs, metadata, img,\n461: config))\n462: skip_task[nifti_struct.entities['task']] = True\n463: \n464: elif nifti_struct.entities['datatype'] == 'anat':\n465: suffix = nifti_struct.entities['suffix']\n466: if suffix.endswith('w'):\n467: suffix = suffix[:-1] + '-weighted'\n468: description_list.append(anat_info(suffix, metadata, img,\n469: config))\n470: elif nifti_struct.entities['datatype'] == 'dwi':\n471: bval_file = nii_file.replace('.nii.gz', '.bval').replace('.nii', '.bval')\n472: description_list.append(dwi_info(bval_file, metadata, img,\n473: config))\n474: elif nifti_struct.entities['datatype'] == 'fmap':\n475: description_list.append(fmap_info(metadata, img, config,\n476: layout))\n477: \n[window truncated; visible lines 435-477]\nCandidate text preview (unexecuted):\n436: if not description_list:\n437: description_list.append(general_acquisition_info(metadata))\n438: \n439: if nifti_struct.entities['datatype'] == 'func':\n440: if not skip_task.get(nifti_struct.entities['task'], False):\n441: echos = layout.get_echoes(subject=subj, extension=[\".nii\", \".nii.gz\"],\n442: task=nifti_struct.entities['task'],\n443: **kwargs)\n444: n_echos = len(echos)\n445: if n_echos > 0:\n446: metadata['EchoTime'] = []\n447: for echo in sorted(echos):\n448: echo_struct = layout.get(subject=subj, echo=echo,\n449: extension=[\".nii\", \".nii.gz\"],\n450: task=nifti_struct.entities['task'],\n451: **kwargs)[0]\n452: echo_file = echo_struct.path\n453: echo_meta = layout.get_metadata(echo_file)\n454: metadata['EchoTime'].append(echo_meta['EchoTime'])\n455: \n456: n_runs = len(layout.get_runs(subject=subj,\n457: task=nifti_struct.entities['task'],\n458: **kwargs))\n459: # If the run entity is absent, get_runs returns no runs;\n460: # assume a single run rather than reporting \"Zero runs\".\n461: n_runs = max(n_runs, 1)\n462: description_list.append(func_info(nifti_struct.entities['task'],\n463: n_runs, metadata, img,\n464: config))\n465: skip_task[nifti_struct.entities['task']] = True\n466: \n467: elif nifti_struct.entities['datatype'] == 'anat':\n468: suffix = nifti_struct.entities['suffix']\n469: if suffix.endswith('w'):\n470: suffix = suffix[:-1] + '-weighted'\n471: description_list.append(anat_info(suffix, metadata, img,\n472: config))\n473: elif nifti_struct.entities['datatype'] == 'dwi':\n474: bval_file = nii_file.replace('.nii.gz', '.bval').replace('.nii', '.bval')\n475: description_list.append(dwi_info(bval_file, metadata, img,\n476: config))\n477: elif nifti_struct.entities['datatype'] == 'fmap':\n[window truncated; visible lines 436-477]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"bids-standard_pybids_pr607__RdpJw6Y:21"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":1191,"content_sha256":"46666f4c71489a57644e4e505875514a5dd0b500839dead481f471542a7d85f4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"5246531ffbb486c3fc6ee5372b56f59f46765b036325f3619aa8160feee0c086","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"\n\nPhoto article\n\n\n
\n

This is a fairly long introductory paragraph that should be long enough to be scored as a real article paragraph and give the container a decent content score for the readability algorithm.

\n \n

Another long enough paragraph with more text content to make sure the article body is detected properly by the scoring heuristics of the algorithm.

\n
\n\n\n\n","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"buriy_python-readability_pr190__cWj6uoS:11","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/\n\nPhoto article\n\n\n
\n

This is a fairly long introductory paragraph that should be long enough to be scored as a real article paragraph and give the container a decent content score for the readability algorithm.

\n \n

Another long enough paragraph with more text content to make sure the article body is detected properly by the scoring heuristics of the algorithm.

\n
\n\n\n\n, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"buriy_python-readability_pr190__cWj6uoS:11"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5923,"content_sha256":"0f5a4b2bf19e48e26909034273f146e2270fd48b18f0282998f1cceb944e813e","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":87,"sha256":"37f83de6b8da269a79e7c126530c1cd604702dba31c116ac67d7d85e12298d02","start_line":6,"truncated":true},"content_sha256":"628e9cec1969d435847cf31d928127cda0d46f35e294b0c1c8eb96f5834498ae","end_line":120,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"README.rst","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"eae0b511c8ce86486f62ef9161822f48730e82c18ca4bfe8b22291ddf1c61e68","reference_window":{"end_line":83,"sha256":"101b2f39ef125a9bf5ce3e31c60b8519a5dd26bfe90477322cc398ef71afbbe7","start_line":9,"truncated":true},"start_line":1,"truncated":true}],"item_id":"cloud-custodian_cel-python_pr130__5Nhx246:8","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/README.rst, reference lines 1-120\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n9: .. image:: https://github.com/cloud-custodian/cel-python/workflows/CI/badge.svg\n10: :target: https://github.com/cloud-custodian/cel-python/actions\n11: :alt: GitHub Actions Build Status\n12: \n13: .. image:: https://img.shields.io/badge/license-Apache%202-blue.svg\n14: :target: https://www.apache.org/licenses/LICENSE-2.0\n15: :alt: Apache License\n16: \n17: Pure Python implementation of Google Common Expression Language, https://opensource.google/projects/cel.\n18: \n19: The Common Expression Language (CEL) implements common semantics for expression evaluation,\n20: enabling different applications to more easily interoperate.\n21: \n22: Key Applications\n23: \n24: Security policy: organization have complex infrastructure and need common tooling to reason about the system as a whole\n25: \n26: Protocols: expressions are a useful data type and require interoperability across programming languages and platforms.\n27: \n28: This implementation has minimal dependencies, runs quickly, and can be embedded into Python-based applications.\n29: Specifically, the intent is to be part of Cloud Custodian, C7N, as part of the security policy filter.\n30: \n31: Installation\n32: =============\n33: \n34: ::\n35: \n36: python -m pip install cel-python\n37: \n38: You now have the CEL run-time available to Python-based applications.\n39: \n40: \n41: re2\n42: ---\n43: \n44: CEL specifies that regular expressions use re2 syntax,\n45: https://github.com/google/re2/wiki/Syntax.\n46: As of the 0.4.0 release, the Google-RE2 module is part of the CEL distribution.\n47: \n48: .. warning:: Apple Silicon and Python 3.13\n49: \n50: See https://github.com/google/re2/issues/453,\n51: https://github.com/google/re2/issues/346,\n52: https://github.com/google/re2/issues/516\n53: \n54: Google-RE2 does not build for Python 3.13 on the \"darwin\" platform with the \"arm64\" architecture.\n55: Currently, there is no pre-built binary for Python 3.13.\n56: \n57: The built-in ``re`` is used as a fall-back, and does work for all but a few edge cases.\n58: \n59: Command Line\n60: ============\n61: \n62: We can read JSON directly from stdin, making this a bit like ``jq``.\n63: \n64: ::\n65: \n66: % python -m celpy '.this.from.json * 3 + 3' < {\"this\": {\"from\": {\"json\": 13}}}\n68: heredoc> EOF\n69: 42\n70: \n71: \n72: It's also a desk calculator, like ``expr``, but with float values:\n73: \n74: ::\n75: \n76: % python -m celpy -n '355.0 / 113.0'\n77: 3.1415929203539825\n78: \n79: It's not as sophistcated as ``bc``.\n80: But, yes, this has a tiny advantage over ``python -c '355/113'``. Most notably, the ability\n81: to embed Google CEL into other contexts where you don't *really* want Python's power.\n82: \n83: It's also capable of decision-making, like ``test``:\n[window truncated; visible lines 9-83]\nCandidate text preview (unexecuted):\n6: :target: https://pypi.org/projects/cel-python/\n7: :alt: PyPI: cel-python\n8: \n9: .. image:: https://github.com/cloud-custodian/cel-python/workflows/CI/badge.svg\n10: :target: https://github.com/cloud-custodian/cel-python/actions\n11: :alt: GitHub Actions Build Status\n12: \n13: .. image:: https://img.shields.io/badge/license-Apache%202-blue.svg\n14: :target: https://www.apache.org/licenses/LICENSE-2.0\n15: :alt: Apache License\n16: \n17: Pure Python implementation of Google Common Expression Language, https://opensource.google/projects/cel.\n18: \n19: The Common Expression Language (CEL) implements common semantics for expression evaluation,\n20: enabling different applications to more easily interoperate.\n21: \n22: Key Applications\n23: \n24: Security policy: organization have complex infrastructure and need common tooling to reason about the system as a whole\n25: \n26: Protocols: expressions are a useful data type and require interoperability across programming languages and platforms.\n27: \n28: This implementation has minimal dependencies, runs quickly, and can be embedded into Python-based applications.\n29: Specifically, the intent is to be part of Cloud Custodian, C7N, as part of the security policy filter.\n30: \n31: Installation\n32: =============\n33: \n34: ::\n35: \n36: python -m pip install cel-python\n37: \n38: You now have the CEL run-time available to Python-based applications.\n39: \n40: \n41: re2\n42: ---\n43: \n44: CEL specifies that regular expressions use re2 syntax,\n45: https://github.com/google/re2/wiki/Syntax.\n46: As of the 0.4.0 release, the Google-RE2 module is part of the CEL distribution.\n47: \n48: Command Line\n49: ============\n50: \n51: We can read JSON directly from stdin, making this a bit like ``jq``.\n52: \n53: ::\n54: \n55: % python -m celpy '.this.from.json * 3 + 3' < {\"this\": {\"from\": {\"json\": 13}}}\n57: heredoc> EOF\n58: 42\n59: \n60: \n61: It's also a desk calculator, like ``expr``, but with float values:\n62: \n63: ::\n64: \n65: % python -m celpy -n '355.0 / 113.0'\n66: 3.1415929203539825\n67: \n68: It's not as sophistcated as ``bc``.\n69: But, yes, this has a tiny advantage over ``python -c '355/113'``. Most notably, the ability\n70: to embed Google CEL into other contexts where you don't *really* want Python's power.\n71: \n72: It's also capable of decision-making, like ``test``:\n73: \n74: ::\n75: \n76: % echo '{\"status\": 3}' | python -m celpy -sb '.status == 0'\n77: false\n78: % echo $?\n79: 1\n80: \n81: We can provide a ``-a`` option to define objects with specific data types.\n82: This is particularly helpful for providing protobuf message definitions.\n83: \n84: ::\n85: \n86: python -m celpy -n --arg x:int=6 --arg y:int=7 'x*y'\n87: 42\n[window truncated; visible lines 6-87]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"cloud-custodian_cel-python_pr130__5Nhx246:8"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":464,"content_sha256":"ba5f3ad8c9b86de7911c601b4409d76732f5ffc0fb78540605691859b527f854","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"6fd499f6e1eab620768295481e64a097a8594b1366db85bba272d7ff7ef8e1fc","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"htmlmin/tests/resources","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"cobrateam_django-htmlmin_pr150__GZ4oBvJ:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/htmlmin/tests/resources, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"cobrateam_django-htmlmin_pr150__GZ4oBvJ:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":9153,"content_sha256":"54c966b7d63413240c52f42de233c7f61f4763a051223d7c5d7dfcfd384bc257","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"eb79238ea32e86e1443ccbc061272403a4af7ca47634e3bb7c89a6b7af6a50f2","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"9837655b3ae5ae830085890b00e48d9a325b1cbec3ff04be112cae0d0b20d8f8","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests/test_xml.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"5f0a24345aeaa5fcc98353a6210f1c18627594f9fd1d181438b39e231093e50e","reference_window":{"end_line":120,"sha256":"fa14780fbe50e11462fdb2fa2771ad8dc18012565fd668008135185c35731e10","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"4293bd6ce91c85942f4766d4bf087bad2725106c5fc623f64aa540f750b4694f","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests/conftest.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"d980173a0f505450ca1d808a04da858cef3dc659f5f239d2bdd8a79a9f34d722","reference_window":{"end_line":120,"sha256":"20e73dd5d950a28dd031fcabec0606c6c6e6412d4da21876766b6253d6bd8306","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"coveragepy_coveragepy_pr1608__RuiRa3N:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/tests/test_xml.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0\n2: # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt\n3: \n4: \"\"\"Tests for XML reports from coverage.py.\"\"\"\n5: \n6: from __future__ import annotations\n7: \n8: import os\n9: import os.path\n10: import re\n11: \n12: from typing import Any, Dict, Iterator, Tuple, Union\n13: from xml.etree import ElementTree\n14: \n15: import pytest\n16: \n17: import coverage\n18: from coverage import Coverage\n19: from coverage.exceptions import NoDataError\n20: from coverage.files import abs_file\n21: from coverage.misc import import_local_file\n22: \n23: from tests.coveragetest import CoverageTest\n24: from tests.goldtest import compare, gold_path\n25: from tests.helpers import assert_coverage_warnings, change_dir\n26: \n27: \n28: class XmlTestHelpers(CoverageTest):\n29: \"\"\"Methods to use from XML tests.\"\"\"\n30: \n31: def run_doit(self) -> Coverage:\n32: \"\"\"Construct a simple sub-package.\"\"\"\n33: self.make_file(\"sub/__init__.py\")\n34: self.make_file(\"sub/doit.py\", \"print('doit!')\")\n35: self.make_file(\"main.py\", \"import sub.doit\")\n36: cov = coverage.Coverage(source=[\".\"])\n37: self.start_import_stop(cov, \"main\")\n38: return cov\n39: \n40: def make_tree(self, width: int, depth: int, curdir: str = \".\") -> None:\n41: \"\"\"Make a tree of packages.\n42: \n43: Makes `width` directories, named d0 .. d{width-1}. Each directory has\n44: __init__.py, and `width` files, named f0.py .. f{width-1}.py. Each\n45: directory also has `width` sub-directories, in the same fashion, until\n46: a depth of `depth` is reached.\n47: \n48: \"\"\"\n49: if depth == 0:\n50: return\n51: \n52: def here(p: str) -> str:\n53: \"\"\"A path for `p` in our currently interesting directory.\"\"\"\n54: return os.path.join(curdir, p)\n55: \n56: for i in range(width):\n57: next_dir = here(f\"d{i}\")\n58: self.make_tree(width, depth-1, next_dir)\n59: if curdir != \".\":\n60: self.make_file(here(\"__init__.py\"), \"\")\n61: for i in range(width):\n62: filename = here(f\"f{i}.py\")\n63: self.make_file(filename, f\"# {filename}\\n\")\n64: \n65: def assert_source(\n66: self,\n67: xmldom: Union[ElementTree.Element, ElementTree.ElementTree],\n68: src: str,\n69: ) -> None:\n70: \"\"\"Assert that the XML has a element with `src`.\"\"\"\n71: src = abs_file(src)\n72: elts = xmldom.findall(\".//sources/source\")\n73: assert any(elt.text == src for elt in elts)\n74: \n75: \n76: class XmlTestHelpersTest(XmlTestHelpers, CoverageTest):\n77: \"\"\"Tests of methods in XmlTestHelpers.\"\"\"\n78: \n79: run_in_temp_dir = False\n80: \n81: def test_assert_source(self) -> None:\n82: dom = ElementTree.fromstring(\"\"\"\\\n83: \n84: foo\n85: \n86: {cwd}something\n87: {cwd}another\n88: \n89: \n90: \"\"\".format(cwd=abs_file(\".\")+os.sep))\n91: \n92: self.assert_source(dom, \"something\")\n93: self.assert_source(dom, \"another\")\n94: \n95: with pytest.raises(AssertionError):\n96: self.assert_source(dom, \"hello\")\n97: with pytest.raises(AssertionError):\n98: self.assert_source(dom, \"foo\")\n99: with pytest.raises(AssertionError):\n100: self.assert_source(dom, \"thing\")\n101: \n102: \n103: class XmlReportTest(XmlTestHelpers, CoverageTest):\n104: \"\"\"Tests of the XML reports from coverage.py.\"\"\"\n105: \n106: def make_mycode_data(self) -> None:\n107: \"\"\"Pretend that we ran mycode.py, so we can report on it.\"\"\"\n108: self.make_file(\"mycode.py\", \"print('hello')\\n\")\n109: self.make_data_file(lines={abs_file(\"mycode.py\"): [1]})\n110: \n111: def run_xml_report(self, **kwargs: Any) -> None:\n112: \"\"\"Run xml_report()\"\"\"\n113: cov = coverage.Coverage()\n114: cov.load()\n115: cov.xml_report(**kwargs)\n116: \n117: def test_default_file_placement(self) -> None:\n118: self.make_mycode_data()\n119: self.run_xml_report()\n120: self.assert_exists(\"coverage.xml\")\n\n### E1 /testbed/tests/conftest.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0\n2: # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt\n3: \n4: \"\"\"\n5: Pytest auto configuration.\n6: \n7: This module is run automatically by pytest, to define and enable fixtures.\n8: \"\"\"\n9: \n10: from __future__ import annotations\n11: \n12: import os\n13: import sys\n14: import sysconfig\n15: import warnings\n16: \n17: from pathlib import Path\n18: from typing import Iterator, Optional\n19: \n20: import pytest\n21: \n22: from coverage import env\n23: from coverage.files import set_relative_directory\n24: \n25: # Pytest will rewrite assertions in test modules, but not elsewhere.\n26: # This tells pytest to also rewrite assertions in coveragetest.py.\n27: pytest.register_assert_rewrite(\"tests.coveragetest\")\n28: pytest.register_assert_rewrite(\"tests.helpers\")\n29: \n30: # Pytest can take additional options:\n31: # $set_env.py: PYTEST_ADDOPTS - Extra arguments to pytest.\n32: \n33: pytest_plugins = \"tests.balance_xdist_plugin\"\n34: \n35: \n36: @pytest.fixture(autouse=True)\n37: def set_warnings() -> None:\n38: \"\"\"Configure warnings to show while running tests.\"\"\"\n39: warnings.simplefilter(\"default\")\n40: warnings.simplefilter(\"once\", DeprecationWarning)\n41: \n42: # Warnings to suppress:\n43: # How come these warnings are successfully suppressed here, but not in setup.cfg??\n44: \n45: warnings.filterwarnings(\n46: \"ignore\",\n47: category=DeprecationWarning,\n48: message=r\".*imp module is deprecated in favour of importlib\",\n49: )\n50: \n51: warnings.filterwarnings(\n52: \"ignore\",\n53: category=DeprecationWarning,\n54: message=r\"module 'sre_constants' is deprecated\",\n55: )\n56: \n57: warnings.filterwarnings(\n58: \"ignore\",\n59: category=pytest.PytestRemovedIn8Warning,\n60: )\n61: \n62: if env.PYPY:\n63: # pypy3 warns about unclosed files a lot.\n64: warnings.filterwarnings(\"ignore\", r\".*unclosed file\", category=ResourceWarning)\n65: \n66: \n67: @pytest.fixture(autouse=True)\n68: def reset_sys_path() -> Iterator[None]:\n69: \"\"\"Clean up sys.path changes around every test.\"\"\"\n70: sys_path = list(sys.path)\n71: yield\n72: sys.path[:] = sys_path\n73: \n74: \n75: @pytest.fixture(autouse=True)\n76: def reset_environment() -> Iterator[None]:\n77: \"\"\"Make sure a test setting an envvar doesn't leak into another test.\"\"\"\n78: old_environ = os.environ.copy()\n79: yield\n80: os.environ.clear()\n81: os.environ.update(old_environ)\n82: \n83: \n84: @pytest.fixture(autouse=True)\n85: def reset_filesdotpy_globals() -> Iterator[None]:\n86: \"\"\"coverage/files.py has some unfortunate globals. Reset them every test.\"\"\"\n87: set_relative_directory()\n88: yield\n89: \n90: WORKER = os.environ.get(\"PYTEST_XDIST_WORKER\", \"none\")\n91: \n92: def pytest_sessionstart() -> None:\n93: \"\"\"Run once at the start of the test session.\"\"\"\n94: # Only in the main process...\n95: if WORKER == \"none\":\n96: # Create a .pth file for measuring subprocess coverage.\n97: pth_dir = find_writable_pth_directory()\n98: assert pth_dir\n99: (pth_dir / \"subcover.pth\").write_text(\"import coverage; coverage.process_startup()\\n\")\n100: # subcover.pth is deleted by pytest_sessionfinish below.\n101: \n102: \n103: def pytest_sessionfinish() -> None:\n104: \"\"\"Hook the end of a test session, to clean up.\"\"\"\n105: # This is called by each of the workers and by the main process.\n106: if WORKER == \"none\":\n107: for pth_dir in possible_pth_dirs(): # pragma: part covered\n108: pth_file = pth_dir / \"subcover.pth\"\n109: if pth_file.exists():\n110: pth_file.unlink()\n111: \n112: \n113: def possible_pth_dirs() -> Iterator[Path]:\n114: \"\"\"Produce a sequence of directories for trying to write .pth files.\"\"\"\n115: # First look through sys.path, and if we find a .pth file, then it's a good\n116: # place to put ours.\n117: for pth_dir in map(Path, sys.path): # pragma: part covered\n118: pth_files = list(pth_dir.glob(\"*.pth\"))\n119: if pth_files:\n120: yield pth_dir\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"coveragepy_coveragepy_pr1608__RuiRa3N:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5414,"content_sha256":"adab73451cced51a858da230cc5e98b09088cecd942de421f091f28b07023f88","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":186,"sha256":"357068cd004e2ebda5719f960e77c1cdd9d60a8785da47c6ba7ed9634110978f","start_line":106,"truncated":true},"content_sha256":"8b5fe5d9a4dcf262b55fb7e25a08879282d74bf2b15c20475da665cd68849b7b","end_line":224,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_json.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"0d86e82889329de1dc40d7883e7f8838460e2cc6fc89b7159ce6b157458b98b2","reference_window":{"end_line":164,"sha256":"87e859876d228d2bcb637d46f3d4b0c2d9f93d99bef2a4f50ca1cc8c97cfa2e9","start_line":93,"truncated":false},"start_line":93,"truncated":true}],"item_id":"googleapis_proto-plus-python_pr3__ijtpTaK:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_json.py, reference lines 93-224\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n93: Squid.to_json(s, use_integers_for_enums=False)\n94: .replace(\" \", \"\")\n95: .replace(\"\\n\", \"\")\n96: )\n97: assert json2 == '{\"zone\":\"EPIPELAGIC\"}'\n98: \n99: \n100: def test_json_default_values():\n101: class Squid(proto.Message):\n102: mass_kg = proto.Field(proto.INT32, number=1)\n103: name = proto.Field(proto.STRING, number=2)\n104: \n105: s = Squid(name=\"Steve\")\n106: json1 = (\n107: Squid.to_json(s, including_default_value_fields=False)\n108: .replace(\" \", \"\")\n109: .replace(\"\\n\", \"\")\n110: )\n111: assert json1 == '{\"name\":\"Steve\"}'\n112: \n113: json2 = Squid.to_json(s).replace(\" \", \"\").replace(\"\\n\", \"\")\n114: assert (\n115: json2 == '{\"name\":\"Steve\",\"massKg\":0}' or json2 == '{\"massKg\":0,\"name\":\"Steve\"}'\n116: )\n117: \n118: s1 = Squid.from_json(json1)\n119: s2 = Squid.from_json(json2)\n120: assert s == s1 == s2\n121: \n122: \n123: def test_json_unknown_field():\n124: # Note that 'lengthCm' is unknown in the local definition.\n125: # This could happen if the client is using an older proto definition\n126: # than the server.\n127: json_str = '{\\n \"massKg\": 20,\\n \"lengthCm\": 100\\n}'\n128: \n129: class Octopus(proto.Message):\n130: mass_kg = proto.Field(proto.INT32, number=1)\n131: \n132: o = Octopus.from_json(json_str, ignore_unknown_fields=True)\n133: assert not hasattr(o, \"length_cm\")\n134: assert not hasattr(o, \"lengthCm\")\n135: \n136: # Don't permit unknown fields by default\n137: with pytest.raises(ParseError):\n138: o = Octopus.from_json(json_str)\n139: \n140: \n141: def test_json_snake_case():\n142: class Squid(proto.Message):\n143: mass_kg = proto.Field(proto.INT32, number=1)\n144: \n145: json_str = '{\\n \"mass_kg\": 20\\n}'\n146: s = Squid.from_json(json_str)\n147: \n148: assert s.mass_kg == 20\n149: \n150: assert Squid.to_json(s, preserving_proto_field_name=True) == json_str\n151: \n152: \n153: def test_json_name():\n154: class Squid(proto.Message):\n155: massKg = proto.Field(proto.INT32, number=1, json_name=\"mass_in_kilograms\")\n156: \n157: s = Squid(massKg=20)\n158: j = Squid.to_json(s)\n159: \n160: assert \"mass_in_kilograms\" in j\n161: \n162: s_two = Squid.from_json(j)\n163: \n164: assert s == s_two\nCandidate text preview (unexecuted):\n106: json1 = (\n107: Squid.to_json(s, including_default_value_fields=False)\n108: .replace(\" \", \"\")\n109: .replace(\"\\n\", \"\")\n110: )\n111: assert json1 == '{\"name\":\"Steve\"}'\n112: \n113: json2 = Squid.to_json(s).replace(\" \", \"\").replace(\"\\n\", \"\")\n114: assert (\n115: json2 == '{\"name\":\"Steve\",\"massKg\":0}' or json2 == '{\"massKg\":0,\"name\":\"Steve\"}'\n116: )\n117: \n118: s1 = Squid.from_json(json1)\n119: s2 = Squid.from_json(json2)\n120: assert s == s1 == s2\n121: \n122: \n123: def test_json_unknown_field():\n124: # Note that 'lengthCm' is unknown in the local definition.\n125: # This could happen if the client is using an older proto definition\n126: # than the server.\n127: json_str = '{\\n \"massKg\": 20,\\n \"lengthCm\": 100\\n}'\n128: \n129: class Octopus(proto.Message):\n130: mass_kg = proto.Field(proto.INT32, number=1)\n131: \n132: o = Octopus.from_json(json_str, ignore_unknown_fields=True)\n133: assert not hasattr(o, \"length_cm\")\n134: assert not hasattr(o, \"lengthCm\")\n135: \n136: # Don't permit unknown fields by default\n137: with pytest.raises(ParseError):\n138: o = Octopus.from_json(json_str)\n139: \n140: \n141: def test_json_snake_case():\n142: class Squid(proto.Message):\n143: mass_kg = proto.Field(proto.INT32, number=1)\n144: \n145: json_str = '{\\n \"mass_kg\": 20\\n}'\n146: s = Squid.from_json(json_str)\n147: \n148: assert s.mass_kg == 20\n149: \n150: assert Squid.to_json(s, preserving_proto_field_name=True) == json_str\n151: \n152: \n153: def test_json_name():\n154: class Squid(proto.Message):\n155: massKg = proto.Field(proto.INT32, number=1, json_name=\"mass_in_kilograms\")\n156: \n157: s = Squid(massKg=20)\n158: j = Squid.to_json(s)\n159: \n160: assert \"mass_in_kilograms\" in j\n161: \n162: s_two = Squid.from_json(j)\n163: \n164: assert s == s_two\n165: \n166: \n167: def test_json_indent():\n168: class Squid(proto.Message):\n169: mass_kg = proto.Field(proto.INT32, number=1)\n170: name = proto.Field(proto.STRING, number=2)\n171: \n172: s = Squid(mass_kg=20, name=\"Steve\")\n173: \n174: # Default is pretty-printed with indent=2.\n175: assert Squid.to_json(s) == '{\\n \"massKg\": 20,\\n \"name\": \"Steve\"\\n}'\n176: \n177: # An explicit integer indent level is respected.\n178: assert Squid.to_json(s, indent=4) == '{\\n \"massKg\": 20,\\n \"name\": \"Steve\"\\n}'\n179: \n180: # indent=None produces the compact representation.\n181: compact = Squid.to_json(s, indent=None)\n182: assert compact == '{\"massKg\":20,\"name\":\"Steve\"}'\n183: assert \"\\n\" not in compact\n184: \n185: # All variants round-trip back to the same message.\n186: assert Squid.from_json(compact) == s\n[window truncated; visible lines 106-186]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"googleapis_proto-plus-python_pr3__ijtpTaK:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"goose3_goose3_pr119__KURbwPK:36","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"goose3_goose3_pr119__KURbwPK:36"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3832,"content_sha256":"e851f73d91c79f550503953ca0640854935192f8bac989da74d43a195e045ff2","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"01325e49ee4f3909c5f406818f994f18088bcf3e85df962ce93e1e310b93ecb3","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"src/index.jsx","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"5f763726745351f1fc634c5afa0ad720b35da9fc8ed380e0132ea0dc4dfa6ae1","reference_window":{"end_line":120,"sha256":"9b955fcc1db88fbb5e81044740f7e9ae9e63d038a4ed397d710b3a723a6441bf","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"hacker0x01__react-datepicker-439__Udwnpr7:49","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/index.jsx, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: import React from \"react\";\n2: import PropTypes from \"prop-types\";\n3: import Calendar from \"./calendar\";\n4: import CalendarIcon from \"./calendar_icon\";\n5: import Portal from \"./portal\";\n6: import PopperComponent, { popperPlacementPositions } from \"./popper_component\";\n7: import classnames from \"classnames\";\n8: import set from \"date-fns/set\";\n9: import startOfDay from \"date-fns/startOfDay\";\n10: import endOfDay from \"date-fns/endOfDay\";\n11: import isValid from \"date-fns/isValid\";\n12: import {\n13: newDate,\n14: isDate,\n15: isBefore,\n16: isAfter,\n17: isEqual,\n18: setTime,\n19: getSeconds,\n20: getMinutes,\n21: getHours,\n22: addDays,\n23: addMonths,\n24: addWeeks,\n25: addYears,\n26: subDays,\n27: subMonths,\n28: subWeeks,\n29: subYears,\n30: isDayDisabled,\n31: isDayInRange,\n32: getEffectiveMinDate,\n33: getEffectiveMaxDate,\n34: parseDate,\n35: safeDateFormat,\n36: safeDateRangeFormat,\n37: getHightLightDaysMap,\n38: getYear,\n39: getMonth,\n40: getStartOfWeek,\n41: registerLocale,\n42: setDefaultLocale,\n43: getDefaultLocale,\n44: DEFAULT_YEAR_ITEM_NUMBER,\n45: isSameDay,\n46: isMonthDisabled,\n47: isYearDisabled,\n48: getHolidaysMap,\n49: } from \"./date_utils\";\n50: import TabLoop from \"./tab_loop\";\n51: import onClickOutside from \"react-onclickoutside\";\n52: \n53: export { default as CalendarContainer } from \"./calendar_container\";\n54: \n55: export { registerLocale, setDefaultLocale, getDefaultLocale };\n56: \n57: const outsideClickIgnoreClass = \"react-datepicker-ignore-onclickoutside\";\n58: const WrappedCalendar = onClickOutside(Calendar);\n59: \n60: // Compares dates year+month combinations\n61: function hasPreSelectionChanged(date1, date2) {\n62: if (date1 && date2) {\n63: return (\n64: getMonth(date1) !== getMonth(date2) || getYear(date1) !== getYear(date2)\n65: );\n66: }\n67: \n68: return date1 !== date2;\n69: }\n70: \n71: /**\n72: * General datepicker component.\n73: */\n74: const INPUT_ERR_1 = \"Date input not valid.\";\n75: \n76: export default class DatePicker extends React.Component {\n77: static get defaultProps() {\n78: return {\n79: allowSameDay: false,\n80: dateFormat: \"MM/dd/yyyy\",\n81: dateFormatCalendar: \"LLLL yyyy\",\n82: onChange() {},\n83: disabled: false,\n84: disabledKeyboardNavigation: false,\n85: dropdownMode: \"scroll\",\n86: onFocus() {},\n87: onBlur() {},\n88: onKeyDown() {},\n89: onInputClick() {},\n90: onSelect() {},\n91: onClickOutside() {},\n92: onMonthChange() {},\n93: onCalendarOpen() {},\n94: onCalendarClose() {},\n95: preventOpenOnFocus: false,\n96: onYearChange() {},\n97: onInputError() {},\n98: monthsShown: 1,\n99: readOnly: false,\n100: withPortal: false,\n101: selectsDisabledDaysInRange: false,\n102: shouldCloseOnSelect: true,\n103: showTimeSelect: false,\n104: showTimeInput: false,\n105: showPreviousMonths: false,\n106: showMonthYearPicker: false,\n107: showFullMonthYearPicker: false,\n108: showTwoColumnMonthYearPicker: false,\n109: showFourColumnMonthYearPicker: false,\n110: showYearPicker: false,\n111: showQuarterYearPicker: false,\n112: showWeekPicker: false,\n113: strictParsing: false,\n114: timeIntervals: 30,\n115: timeCaption: \"Time\",\n116: previousMonthAriaLabel: \"Previous Month\",\n117: previousMonthButtonLabel: \"Previous Month\",\n118: nextMonthAriaLabel: \"Next Month\",\n119: nextMonthButtonLabel: \"Next Month\",\n120: previousYearAriaLabel: \"Previous Year\",\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-439__Udwnpr7:49"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5258,"content_sha256":"02cccc91f4db384072fea7a5a785a3e22011b669eb908421d13b0f7a4775d245","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":90,"sha256":"da2fe748941f62ae6e5927d6b03f6553f7eede0cd80e055b589cebf1aa19c2d9","start_line":1,"truncated":false},"content_sha256":"fea5ea11fdce97934c22201ad99b7ed82f5b9542b0b504152bd686f1bdd766a0","end_line":90,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/index.jsx","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"b21f21fc3ea6bd51957c122c0667c9b1c3c1d7b21e68db3d48f1c02f50058957","reference_window":{"end_line":90,"sha256":"0891b468ca443d7e16aae5813a513e01b4b853a29a41e8f3539ab2fef08b44ba","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"hacker0x01__react-datepicker-445__NXfMFTs:29","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/index.jsx, reference lines 1-90\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import React from \"react\";\n2: import PropTypes from \"prop-types\";\n3: import Calendar from \"./calendar\";\n4: import CalendarIcon from \"./calendar_icon\";\n5: import Portal from \"./portal\";\n6: import PopperComponent from \"./popper_component\";\n7: import { popperPlacementPositions } from \"./with_floating\";\n8: import classnames from \"classnames\";\n9: import set from \"date-fns/set\";\n10: import startOfDay from \"date-fns/startOfDay\";\n11: import endOfDay from \"date-fns/endOfDay\";\n12: import isValid from \"date-fns/isValid\";\n13: import {\n14: newDate,\n15: isDate,\n16: isBefore,\n17: isAfter,\n18: isEqual,\n19: setTime,\n20: getSeconds,\n21: getMinutes,\n22: getHours,\n23: addDays,\n24: addMonths,\n25: addWeeks,\n26: subDays,\n27: subMonths,\n28: subWeeks,\n29: isDayDisabled,\n30: isDayInRange,\n31: getEffectiveMinDate,\n32: getEffectiveMaxDate,\n33: parseDate,\n34: safeDateFormat,\n35: safeDateRangeFormat,\n36: getHightLightDaysMap,\n37: getYear,\n38: getMonth,\n39: getStartOfWeek,\n40: getEndOfWeek,\n41: registerLocale,\n42: setDefaultLocale,\n43: getDefaultLocale,\n44: DEFAULT_YEAR_ITEM_NUMBER,\n45: isSameDay,\n46: isMonthDisabled,\n47: isYearDisabled,\n48: getHolidaysMap,\n49: isDateBefore,\n50: } from \"./date_utils\";\n51: import TabLoop from \"./tab_loop\";\n52: import onClickOutside from \"react-onclickoutside\";\n53: \n54: export { default as CalendarContainer } from \"./calendar_container\";\n55: \n56: export { registerLocale, setDefaultLocale, getDefaultLocale };\n57: \n58: const outsideClickIgnoreClass = \"react-datepicker-ignore-onclickoutside\";\n59: const WrappedCalendar = onClickOutside(Calendar);\n60: \n61: // Compares dates year+month combinations\n62: function hasPreSelectionChanged(date1, date2) {\n63: if (date1 && date2) {\n64: return (\n65: getMonth(date1) !== getMonth(date2) || getYear(date1) !== getYear(date2)\n66: );\n67: }\n68: \n69: return date1 !== date2;\n70: }\n71: \n72: /**\n73: * General datepicker component.\n74: */\n75: const INPUT_ERR_1 = \"Date input not valid.\";\n76: \n77: export default class DatePicker extends React.Component {\n78: static get defaultProps() {\n79: return {\n80: allowSameDay: false,\n81: dateFormat: \"MM/dd/yyyy\",\n82: dateFormatCalendar: \"LLLL yyyy\",\n83: onChange() {},\n84: disabled: false,\n85: disabledKeyboardNavigation: false,\n86: dropdownMode: \"scroll\",\n87: onFocus() {},\n88: onBlur() {},\n89: onKeyDown() {},\n90: onInputClick() {},\nCandidate text preview (unexecuted):\n1: import React from \"react\";\n2: import PropTypes from \"prop-types\";\n3: import Calendar from \"./calendar\";\n4: import CalendarIcon from \"./calendar_icon\";\n5: import Portal from \"./portal\";\n6: import PopperComponent from \"./popper_component\";\n7: import { popperPlacementPositions } from \"./with_floating\";\n8: import classnames from \"classnames\";\n9: import set from \"date-fns/set\";\n10: import startOfDay from \"date-fns/startOfDay\";\n11: import endOfDay from \"date-fns/endOfDay\";\n12: import isValid from \"date-fns/isValid\";\n13: import {\n14: newDate,\n15: isDate,\n16: isBefore,\n17: isAfter,\n18: isEqual,\n19: setTime,\n20: getSeconds,\n21: getMinutes,\n22: getHours,\n23: addDays,\n24: addMonths,\n25: addWeeks,\n26: subDays,\n27: subMonths,\n28: subWeeks,\n29: addYears,\n30: subYears,\n31: isDayDisabled,\n32: isDayInRange,\n33: getEffectiveMinDate,\n34: getEffectiveMaxDate,\n35: parseDate,\n36: safeDateFormat,\n37: safeDateRangeFormat,\n38: getHightLightDaysMap,\n39: getYear,\n40: getMonth,\n41: getStartOfWeek,\n42: getEndOfWeek,\n43: registerLocale,\n44: setDefaultLocale,\n45: getDefaultLocale,\n46: DEFAULT_YEAR_ITEM_NUMBER,\n47: isSameDay,\n48: isMonthDisabled,\n49: isYearDisabled,\n50: getHolidaysMap,\n51: isDateBefore,\n52: } from \"./date_utils\";\n53: import TabLoop from \"./tab_loop\";\n54: import onClickOutside from \"react-onclickoutside\";\n55: \n56: export { default as CalendarContainer } from \"./calendar_container\";\n57: \n58: export { registerLocale, setDefaultLocale, getDefaultLocale };\n59: \n60: const outsideClickIgnoreClass = \"react-datepicker-ignore-onclickoutside\";\n61: const WrappedCalendar = onClickOutside(Calendar);\n62: \n63: // Compares dates year+month combinations\n64: function hasPreSelectionChanged(date1, date2) {\n65: if (date1 && date2) {\n66: return (\n67: getMonth(date1) !== getMonth(date2) || getYear(date1) !== getYear(date2)\n68: );\n69: }\n70: \n71: return date1 !== date2;\n72: }\n73: \n74: /**\n75: * General datepicker component.\n76: */\n77: const INPUT_ERR_1 = \"Date input not valid.\";\n78: \n79: export default class DatePicker extends React.Component {\n80: static get defaultProps() {\n81: return {\n82: allowSameDay: false,\n83: dateFormat: \"MM/dd/yyyy\",\n84: dateFormatCalendar: \"LLLL yyyy\",\n85: onChange() {},\n86: disabled: false,\n87: disabledKeyboardNavigation: false,\n88: dropdownMode: \"scroll\",\n89: onFocus() {},\n90: onBlur() {},\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-445__NXfMFTs:29"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3548,"content_sha256":"26a432ae8456f0b6361a6725e22bdfaeae69b9903fd58888c6242e81b741f706","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":56,"sha256":"a36d24f0431c55478d08de56192619e75dc7859ee9cf7c96b65ae609acf96b08","start_line":1,"truncated":false},"content_sha256":"7cc7a3a2f2f644d8748ab9ee02da8031b1854013e42b2a2720628e3d34c98b02","end_line":87,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"test/week_picker_test.test.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"60bf031e270bde96f1bf0c495c2b062d7bc89abacf7d9e8b889fe93343ab73a6","reference_window":{"end_line":27,"sha256":"db9e19e4a02b26e196c04067f85de65e82d41360b00a05929cf0712efd609207","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"hacker0x01__react-datepicker-460__qCN4tye:18","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/week_picker_test.test.js, reference lines 1-87\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import React from \"react\";\n2: import DatePicker from \"../src/index.jsx\";\n3: import { render, fireEvent } from \"@testing-library/react\";\n4: \n5: describe(\"WeekPicker\", () => {\n6: it(\"should change the week when clicked on any option in the picker\", () => {\n7: const onChangeSpy = jest.fn();\n8: const { container } = render(\n9: ,\n10: );\n11: expect(onChangeSpy).not.toHaveBeenCalled();\n12: fireEvent.focus(container.querySelector(\"input\"));\n13: fireEvent.click(container.querySelector(\".react-datepicker__day\"));\n14: expect(onChangeSpy).toHaveBeenCalled();\n15: });\n16: \n17: it(\"should change the week when clicked on any week number in the picker\", () => {\n18: const onChangeSpy = jest.fn();\n19: const { container } = render(\n20: ,\n21: );\n22: expect(onChangeSpy).not.toHaveBeenCalled();\n23: fireEvent.focus(container.querySelector(\"input\"));\n24: fireEvent.click(container.querySelector(\".react-datepicker__week-number\"));\n25: expect(onChangeSpy).toHaveBeenCalled();\n26: });\n27: });\nCandidate text preview (unexecuted):\n1: import React from \"react\";\n2: import DatePicker from \"../src/index.jsx\";\n3: import { render, fireEvent } from \"@testing-library/react\";\n4: \n5: describe(\"WeekPicker\", () => {\n6: it(\"should change the week when clicked on any option in the picker\", () => {\n7: const onChangeSpy = jest.fn();\n8: const { container } = render(\n9: ,\n10: );\n11: expect(onChangeSpy).not.toHaveBeenCalled();\n12: fireEvent.focus(container.querySelector(\"input\"));\n13: fireEvent.click(container.querySelector(\".react-datepicker__day\"));\n14: expect(onChangeSpy).toHaveBeenCalled();\n15: });\n16: \n17: it(\"should change the week when clicked on any week number in the picker\", () => {\n18: const onChangeSpy = jest.fn();\n19: const { container } = render(\n20: ,\n21: );\n22: expect(onChangeSpy).not.toHaveBeenCalled();\n23: fireEvent.focus(container.querySelector(\"input\"));\n24: fireEvent.click(container.querySelector(\".react-datepicker__week-number\"));\n25: expect(onChangeSpy).toHaveBeenCalled();\n26: });\n27: \n28: it(\"should highlight the whole selected week when calendarStartDay is set\", () => {\n29: const { container } = render(\n30: ,\n36: );\n37: const selectedDays = container.querySelectorAll(\n38: \".react-datepicker__day--selected\",\n39: );\n40: expect(selectedDays.length).toBe(7);\n41: });\n42: \n43: it(\"should highlight the whole selected week without calendarStartDay\", () => {\n44: const { container } = render(\n45: ,\n50: );\n51: const selectedDays = container.querySelectorAll(\n52: \".react-datepicker__day--selected\",\n53: );\n54: expect(selectedDays.length).toBe(7);\n55: });\n56: });\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-460__qCN4tye:18"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5911,"content_sha256":"17d7bd014452a587bf619ef78ee301f7383b2ed79191469b18fd03b1c2e56a87","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":100,"sha256":"fcab4cc1ad230d4ca7d84e287d77b9a3de47af53a2dd09b28226739dd8e5f036","start_line":1,"truncated":true},"content_sha256":"3931228e980f23b757b84472b71e40f6373f2c0943158014985eb13c4e78bab0","end_line":108,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/index.jsx","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"515c257da18e056c3235c8c1215dedd3e0dff5bd1bdcb3f1f1ecdf7d14a1fb19","reference_window":{"end_line":99,"sha256":"49751d71216b0ce9edd0a93b959fe2c5590e3eb6189e149709d259d23472be0a","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"hacker0x01__react-datepicker-460__sV755mG:41","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/index.jsx, reference lines 1-108\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import React from \"react\";\n2: import PropTypes from \"prop-types\";\n3: import Calendar from \"./calendar\";\n4: import CalendarIcon from \"./calendar_icon\";\n5: import Portal from \"./portal\";\n6: import PopperComponent from \"./popper_component\";\n7: import { popperPlacementPositions } from \"./with_floating\";\n8: import classnames from \"classnames\";\n9: import { set } from \"date-fns/set\";\n10: import { startOfDay } from \"date-fns/startOfDay\";\n11: import { endOfDay } from \"date-fns/endOfDay\";\n12: import { isValid } from \"date-fns/isValid\";\n13: import {\n14: newDate,\n15: isDate,\n16: isBefore,\n17: isAfter,\n18: isEqual,\n19: setTime,\n20: getSeconds,\n21: getMinutes,\n22: getHours,\n23: addDays,\n24: addMonths,\n25: addWeeks,\n26: subDays,\n27: subMonths,\n28: subWeeks,\n29: addYears,\n30: subYears,\n31: isDayDisabled,\n32: isDayInRange,\n33: getEffectiveMinDate,\n34: getEffectiveMaxDate,\n35: parseDate,\n36: safeDateFormat,\n37: safeDateRangeFormat,\n38: getHightLightDaysMap,\n39: getYear,\n40: getMonth,\n41: getStartOfWeek,\n42: getEndOfWeek,\n43: registerLocale,\n44: setDefaultLocale,\n45: getDefaultLocale,\n46: DEFAULT_YEAR_ITEM_NUMBER,\n47: isSameDay,\n48: isMonthDisabled,\n49: isYearDisabled,\n50: safeMultipleDatesFormat,\n51: getHolidaysMap,\n52: isDateBefore,\n53: } from \"./date_utils\";\n54: import TabLoop from \"./tab_loop\";\n55: import onClickOutside from \"react-onclickoutside\";\n56: \n57: export { default as CalendarContainer } from \"./calendar_container\";\n58: \n59: export { registerLocale, setDefaultLocale, getDefaultLocale };\n60: \n61: const outsideClickIgnoreClass = \"react-datepicker-ignore-onclickoutside\";\n62: const WrappedCalendar = onClickOutside(Calendar);\n63: \n64: // Compares dates year+month combinations\n65: function hasPreSelectionChanged(date1, date2) {\n66: if (date1 && date2) {\n67: return (\n68: getMonth(date1) !== getMonth(date2) || getYear(date1) !== getYear(date2)\n69: );\n70: }\n71: \n72: return date1 !== date2;\n73: }\n74: \n75: /**\n76: * General datepicker component.\n77: */\n78: const INPUT_ERR_1 = \"Date input not valid.\";\n79: \n80: export default class DatePicker extends React.Component {\n81: static get defaultProps() {\n82: return {\n83: allowSameDay: false,\n84: dateFormat: \"MM/dd/yyyy\",\n85: dateFormatCalendar: \"LLLL yyyy\",\n86: onChange() {},\n87: disabled: false,\n88: disabledKeyboardNavigation: false,\n89: dropdownMode: \"scroll\",\n90: onFocus() {},\n91: onBlur() {},\n92: onKeyDown() {},\n93: onInputClick() {},\n94: onSelect() {},\n95: onClickOutside() {},\n96: onMonthChange() {},\n97: onCalendarOpen() {},\n98: onCalendarClose() {},\n99: preventOpenOnFocus: false,\n[window truncated; visible lines 1-99]\nCandidate text preview (unexecuted):\n1: import React from \"react\";\n2: import PropTypes from \"prop-types\";\n3: import Calendar from \"./calendar\";\n4: import CalendarIcon from \"./calendar_icon\";\n5: import Portal from \"./portal\";\n6: import PopperComponent from \"./popper_component\";\n7: import { popperPlacementPositions } from \"./with_floating\";\n8: import classnames from \"classnames\";\n9: import { set } from \"date-fns/set\";\n10: import { startOfDay } from \"date-fns/startOfDay\";\n11: import { endOfDay } from \"date-fns/endOfDay\";\n12: import { isValid } from \"date-fns/isValid\";\n13: import {\n14: newDate,\n15: isDate,\n16: isBefore,\n17: isAfter,\n18: isEqual,\n19: setTime,\n20: getSeconds,\n21: getMinutes,\n22: getHours,\n23: addDays,\n24: addMonths,\n25: addWeeks,\n26: subDays,\n27: subMonths,\n28: subWeeks,\n29: addYears,\n30: subYears,\n31: isDayDisabled,\n32: isDayInRange,\n33: getEffectiveMinDate,\n34: getEffectiveMaxDate,\n35: parseDate,\n36: safeDateFormat,\n37: safeDateRangeFormat,\n38: getHightLightDaysMap,\n39: getYear,\n40: getMonth,\n41: getStartOfWeek,\n42: getEndOfWeek,\n43: registerLocale,\n44: setDefaultLocale,\n45: getDefaultLocale,\n46: DEFAULT_YEAR_ITEM_NUMBER,\n47: isSameDay,\n48: isSameMonth,\n49: isMonthDisabled,\n50: isYearDisabled,\n51: safeMultipleDatesFormat,\n52: getHolidaysMap,\n53: isDateBefore,\n54: } from \"./date_utils\";\n55: import TabLoop from \"./tab_loop\";\n56: import onClickOutside from \"react-onclickoutside\";\n57: \n58: export { default as CalendarContainer } from \"./calendar_container\";\n59: \n60: export { registerLocale, setDefaultLocale, getDefaultLocale };\n61: \n62: const outsideClickIgnoreClass = \"react-datepicker-ignore-onclickoutside\";\n63: const WrappedCalendar = onClickOutside(Calendar);\n64: \n65: // Compares dates year+month combinations\n66: function hasPreSelectionChanged(date1, date2) {\n67: if (date1 && date2) {\n68: return (\n69: getMonth(date1) !== getMonth(date2) || getYear(date1) !== getYear(date2)\n70: );\n71: }\n72: \n73: return date1 !== date2;\n74: }\n75: \n76: /**\n77: * General datepicker component.\n78: */\n79: const INPUT_ERR_1 = \"Date input not valid.\";\n80: \n81: export default class DatePicker extends React.Component {\n82: static get defaultProps() {\n83: return {\n84: allowSameDay: false,\n85: dateFormat: \"MM/dd/yyyy\",\n86: dateFormatCalendar: \"LLLL yyyy\",\n87: onChange() {},\n88: disabled: false,\n89: disabledKeyboardNavigation: false,\n90: dropdownMode: \"scroll\",\n91: onFocus() {},\n92: onBlur() {},\n93: onKeyDown() {},\n94: onInputClick() {},\n95: onSelect() {},\n96: onClickOutside() {},\n97: onMonthChange() {},\n98: onCalendarOpen() {},\n99: onCalendarClose() {},\n100: preventOpenOnFocus: false,\n[window truncated; visible lines 1-100]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-460__sV755mG:41"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5880,"content_sha256":"c3584340daa205f89b0430ec1fac78646ba0340e07fc2790fa19216cdd3a818e","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":700,"sha256":"7689ea6c22ede05da51173afd119b40fec9d16f5c43a9b7cc81623937b8f6088","start_line":619,"truncated":true},"content_sha256":"8dc152c10cd920f726a82a777b9b7c2cc411b9f6e035286900282c86fd016dcb","end_line":728,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/index.jsx","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"7ff8cb56bdf2f6bcb3122fce1bc18d131f2493ab7de079d9f51c2b8d947a7c0a","reference_window":{"end_line":699,"sha256":"1f02648a71b1a68b5aaf38e68a5ad8972d594ef199be46d03e77c621fc373e92","start_line":620,"truncated":true},"start_line":599,"truncated":true}],"item_id":"hacker0x01__react-datepicker-461__kEWK2wm:20","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/index.jsx, reference lines 599-728\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n620: return;\n621: }\n622: } else {\n623: if (changedDate !== null && isDayDisabled(changedDate, this.props)) {\n624: return;\n625: }\n626: }\n627: \n628: const {\n629: onChange,\n630: selectsRange,\n631: startDate,\n632: endDate,\n633: selectsMultiple,\n634: selectedDates,\n635: minTime,\n636: } = this.props;\n637: \n638: if (\n639: !isEqual(this.props.selected, changedDate) ||\n640: this.props.allowSameDay ||\n641: selectsRange ||\n642: selectsMultiple\n643: ) {\n644: if (changedDate !== null) {\n645: if (\n646: this.props.selected &&\n647: (!keepInput ||\n648: (!this.props.showTimeSelect &&\n649: !this.props.showTimeSelectOnly &&\n650: !this.props.showTimeInput))\n651: ) {\n652: changedDate = setTime(changedDate, {\n653: hour: getHours(this.props.selected),\n654: minute: getMinutes(this.props.selected),\n655: second: getSeconds(this.props.selected),\n656: });\n657: }\n658: \n659: // If minTime is present then set the time to minTime\n660: if (this.props.showTimeSelect || this.props.showTimeSelectOnly) {\n661: if (minTime) {\n662: changedDate = setTime(changedDate, {\n663: hour: minTime.getHours(),\n664: minute: minTime.getMinutes(),\n665: second: minTime.getSeconds(),\n666: });\n667: }\n668: }\n669: \n670: if (!this.props.inline) {\n671: this.setState({\n672: preSelection: changedDate,\n673: });\n674: }\n675: if (!this.props.focusSelectedMonth) {\n676: this.setState({ monthSelectedIn: monthSelectedIn });\n677: }\n678: }\n679: if (selectsRange) {\n680: const noRanges = !startDate && !endDate;\n681: const hasStartRange = startDate && !endDate;\n682: const isRangeFilled = startDate && endDate;\n683: if (noRanges) {\n684: onChange([changedDate, null], event);\n685: } else if (hasStartRange) {\n686: if (changedDate === null) {\n687: onChange([null, null], event);\n688: } else if (isDateBefore(changedDate, startDate)) {\n689: onChange([changedDate, null], event);\n690: } else {\n691: onChange([startDate, changedDate], event);\n692: }\n693: }\n694: if (isRangeFilled) {\n695: onChange([changedDate, null], event);\n696: }\n697: } else if (selectsMultiple) {\n698: if (!selectedDates?.length) {\n699: onChange([changedDate], event);\n[window truncated; visible lines 620-699]\nCandidate text preview (unexecuted):\n619: if (changedDate !== null && isMonthDisabled(changedDate, this.props)) {\n620: return;\n621: }\n622: } else {\n623: if (changedDate !== null && isDayDisabled(changedDate, this.props)) {\n624: return;\n625: }\n626: }\n627: \n628: const {\n629: onChange,\n630: selectsRange,\n631: startDate,\n632: endDate,\n633: selectsMultiple,\n634: selectedDates,\n635: minTime,\n636: } = this.props;\n637: \n638: if (\n639: !isEqual(this.props.selected, changedDate) ||\n640: this.props.allowSameDay ||\n641: selectsRange ||\n642: selectsMultiple\n643: ) {\n644: if (changedDate !== null) {\n645: if (\n646: this.props.selected &&\n647: (!keepInput ||\n648: (!this.props.showTimeSelect &&\n649: !this.props.showTimeSelectOnly &&\n650: !this.props.showTimeInput))\n651: ) {\n652: changedDate = setTime(changedDate, {\n653: hour: getHours(this.props.selected),\n654: minute: getMinutes(this.props.selected),\n655: second: getSeconds(this.props.selected),\n656: });\n657: }\n658: \n659: // If minTime is present then set the time to minTime\n660: if (\n661: !keepInput &&\n662: (this.props.showTimeSelect || this.props.showTimeSelectOnly)\n663: ) {\n664: if (minTime) {\n665: changedDate = setTime(changedDate, {\n666: hour: minTime.getHours(),\n667: minute: minTime.getMinutes(),\n668: second: minTime.getSeconds(),\n669: });\n670: }\n671: }\n672: \n673: if (!this.props.inline) {\n674: this.setState({\n675: preSelection: changedDate,\n676: });\n677: }\n678: if (!this.props.focusSelectedMonth) {\n679: this.setState({ monthSelectedIn: monthSelectedIn });\n680: }\n681: }\n682: if (selectsRange) {\n683: const noRanges = !startDate && !endDate;\n684: const hasStartRange = startDate && !endDate;\n685: const isRangeFilled = startDate && endDate;\n686: if (noRanges) {\n687: onChange([changedDate, null], event);\n688: } else if (hasStartRange) {\n689: if (changedDate === null) {\n690: onChange([null, null], event);\n691: } else if (isDateBefore(changedDate, startDate)) {\n692: onChange([changedDate, null], event);\n693: } else {\n694: onChange([startDate, changedDate], event);\n695: }\n696: }\n697: if (isRangeFilled) {\n698: onChange([changedDate, null], event);\n699: }\n700: } else if (selectsMultiple) {\n[window truncated; visible lines 619-700]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-461__kEWK2wm:20"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5921,"content_sha256":"a5a4d73499ea4da812e834f4507223a3b9ff89377834d061ee5f606b295bf200","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":1121,"sha256":"46aa97f0f9314dc02b07096d9fee5067f138ebd916b5e464971d954cf264c45e","start_line":1075,"truncated":true},"content_sha256":"ca14802a90aeba2d08951d00fc7a81deef59068b8a795b93542651d5b0c94a54","end_line":1160,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/index.jsx","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"1112045f0351f2c84c37ce77785b828befc6d5cc5981b17b1eabdf66a721394d","reference_window":{"end_line":1121,"sha256":"dd40c705344e6d0cd9cd71cdb67b329130307428b9893aeda994d7bd32ae52e2","start_line":1076,"truncated":true},"start_line":1038,"truncated":true}],"item_id":"hacker0x01__react-datepicker-463__uGnzATN:15","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/index.jsx, reference lines 1038-1160\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1076: shouldFocusDayInline={this.state.shouldFocusDayInline}\n1077: peekNextMonth={this.props.peekNextMonth}\n1078: showMonthDropdown={this.props.showMonthDropdown}\n1079: showPreviousMonths={this.props.showPreviousMonths}\n1080: useShortMonthInDropdown={this.props.useShortMonthInDropdown}\n1081: showMonthYearDropdown={this.props.showMonthYearDropdown}\n1082: showWeekNumbers={this.props.showWeekNumbers}\n1083: showYearDropdown={this.props.showYearDropdown}\n1084: withPortal={this.props.withPortal}\n1085: forceShowMonthNavigation={this.props.forceShowMonthNavigation}\n1086: showDisabledMonthNavigation={this.props.showDisabledMonthNavigation}\n1087: scrollableYearDropdown={this.props.scrollableYearDropdown}\n1088: scrollableMonthYearDropdown={this.props.scrollableMonthYearDropdown}\n1089: todayButton={this.props.todayButton}\n1090: weekLabel={this.props.weekLabel}\n1091: outsideClickIgnoreClass={outsideClickIgnoreClass}\n1092: fixedHeight={this.props.fixedHeight}\n1093: monthsShown={this.props.monthsShown}\n1094: monthSelectedIn={this.state.monthSelectedIn}\n1095: onDropdownFocus={this.handleDropdownFocus}\n1096: onMonthChange={this.props.onMonthChange}\n1097: onYearChange={this.props.onYearChange}\n1098: dayClassName={this.props.dayClassName}\n1099: weekDayClassName={this.props.weekDayClassName}\n1100: monthClassName={this.props.monthClassName}\n1101: timeClassName={this.props.timeClassName}\n1102: showDateSelect={this.props.showDateSelect}\n1103: showTimeSelect={this.props.showTimeSelect}\n1104: showTimeSelectOnly={this.props.showTimeSelectOnly}\n1105: onTimeChange={this.handleTimeChange}\n1106: timeFormat={this.props.timeFormat}\n1107: timeIntervals={this.props.timeIntervals}\n1108: minTime={this.props.minTime}\n1109: maxTime={this.props.maxTime}\n1110: excludeTimes={this.props.excludeTimes}\n1111: filterTime={this.props.filterTime}\n1112: timeCaption={this.props.timeCaption}\n1113: className={this.props.calendarClassName}\n1114: container={this.props.calendarContainer}\n1115: yearItemNumber={this.props.yearItemNumber}\n1116: yearDropdownItemNumber={this.props.yearDropdownItemNumber}\n1117: previousMonthAriaLabel={this.props.previousMonthAriaLabel}\n1118: previousMonthButtonLabel={this.props.previousMonthButtonLabel}\n1119: nextMonthAriaLabel={this.props.nextMonthAriaLabel}\n1120: nextMonthButtonLabel={this.props.nextMonthButtonLabel}\n1121: previousYearAriaLabel={this.props.previousYearAriaLabel}\n[window truncated; visible lines 1076-1121]\nCandidate text preview (unexecuted):\n1075: inline={this.props.inline}\n1076: shouldFocusDayInline={this.state.shouldFocusDayInline}\n1077: peekNextMonth={this.props.peekNextMonth}\n1078: showMonthDropdown={this.props.showMonthDropdown}\n1079: showPreviousMonths={this.props.showPreviousMonths}\n1080: useShortMonthInDropdown={this.props.useShortMonthInDropdown}\n1081: showMonthYearDropdown={this.props.showMonthYearDropdown}\n1082: showWeekNumbers={this.props.showWeekNumbers}\n1083: showYearDropdown={this.props.showYearDropdown}\n1084: withPortal={this.props.withPortal}\n1085: forceShowMonthNavigation={this.props.forceShowMonthNavigation}\n1086: showDisabledMonthNavigation={this.props.showDisabledMonthNavigation}\n1087: scrollableYearDropdown={this.props.scrollableYearDropdown}\n1088: scrollableMonthYearDropdown={this.props.scrollableMonthYearDropdown}\n1089: todayButton={this.props.todayButton}\n1090: weekLabel={this.props.weekLabel}\n1091: outsideClickIgnoreClass={outsideClickIgnoreClass}\n1092: fixedHeight={this.props.fixedHeight}\n1093: monthsShown={this.props.monthsShown}\n1094: monthSelectedIn={this.state.monthSelectedIn}\n1095: onDropdownFocus={this.handleDropdownFocus}\n1096: onMonthChange={this.props.onMonthChange}\n1097: onYearChange={this.props.onYearChange}\n1098: dayClassName={this.props.dayClassName}\n1099: weekDayClassName={this.props.weekDayClassName}\n1100: monthClassName={this.props.monthClassName}\n1101: yearClassName={this.props.yearClassName}\n1102: timeClassName={this.props.timeClassName}\n1103: showDateSelect={this.props.showDateSelect}\n1104: showTimeSelect={this.props.showTimeSelect}\n1105: showTimeSelectOnly={this.props.showTimeSelectOnly}\n1106: onTimeChange={this.handleTimeChange}\n1107: timeFormat={this.props.timeFormat}\n1108: timeIntervals={this.props.timeIntervals}\n1109: minTime={this.props.minTime}\n1110: maxTime={this.props.maxTime}\n1111: excludeTimes={this.props.excludeTimes}\n1112: filterTime={this.props.filterTime}\n1113: timeCaption={this.props.timeCaption}\n1114: className={this.props.calendarClassName}\n1115: container={this.props.calendarContainer}\n1116: yearItemNumber={this.props.yearItemNumber}\n1117: yearDropdownItemNumber={this.props.yearDropdownItemNumber}\n1118: previousMonthAriaLabel={this.props.previousMonthAriaLabel}\n1119: previousMonthButtonLabel={this.props.previousMonthButtonLabel}\n1120: nextMonthAriaLabel={this.props.nextMonthAriaLabel}\n1121: nextMonthButtonLabel={this.props.nextMonthButtonLabel}\n[window truncated; visible lines 1075-1121]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-463__uGnzATN:15"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5777,"content_sha256":"2af905d9fb4d69dc869e175fec06e521ccb91d20935578a851f3c8c5e20e5b73","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":22,"sha256":"1fcc1ca27231837d9b7c7f533c96df3acd7b76cb24cbddbf397c5bb149da5232","start_line":11,"truncated":true},"content_sha256":"3899913fc4efc88c98373876ca9461c7db9c24198f8d629262905a4cf5c2897c","end_line":76,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"docs/index.md","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"f4f4060f4d7f42f1772b34b5c941f0d26d745c772a74c7f6efc8a6bfe9ba8ae6","reference_window":{"end_line":22,"sha256":"50f7715f58fc45005bebcd167f2785175fff2bbbe3e6cb5c1d272b44d32ed255","start_line":11,"truncated":true},"start_line":1,"truncated":true}],"item_id":"hacker0x01__react-datepicker-464__fKa6S8D:24","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/docs/index.md, reference lines 1-76\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n11: | `ariaRequired` | `string` | | |\n12: | `autoComplete` | `string` | | |\n13: | `autoFocus` | `bool` | | |\n14: | `calendarClassName` | `string` | | |\n15: | `calendarContainer` | `func` | | |\n16: | `calendarIconClassname` | `string` | | |\n17: | `calendarStartDay` | `number` | `undefined` | |\n18: | `children` | `node` | | |\n19: | `chooseDayAriaLabelPrefix` | `string` | | |\n20: | `className` | `string` | | |\n21: | `clearButtonClassName` | `string` | | |\n22: | `clearButtonTitle` | `string` | | |\n[window truncated; visible lines 11-22]\nCandidate text preview (unexecuted):\n11: | `ariaRequired` | `string` | | |\n12: | `autoComplete` | `string` | | |\n13: | `autoFocus` | `bool` | | |\n14: | `calendarClassName` | `string` | | |\n15: | `calendarContainer` | `func` | | |\n16: | `calendarIconClassName` | `string` | | |\n17: | `calendarStartDay` | `number` | `undefined` | |\n18: | `children` | `node` | | |\n19: | `chooseDayAriaLabelPrefix` | `string` | | |\n20: | `className` | `string` | | |\n21: | `clearButtonClassName` | `string` | | |\n22: | `clearButtonTitle` | `string` | | |\n[window truncated; visible lines 11-22]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-464__fKa6S8D:24"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5887,"content_sha256":"54bca4fad7ab3670cf9c63e44e52938c9a81f52b67e4dfbe0afa397664940909","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":529,"sha256":"26cda4ae5069633eadecc28ce14e5d9a0fe3c9e1236742c4b060edaff79c7c30","start_line":440,"truncated":true},"content_sha256":"3ae15f18d08cd0748db17a4e638eba9eaa257037a63b8c5d9ca3b6a7563570b4","end_line":555,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/calendar.jsx","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"b32e7968298ea372f49661a734f1bbb785442f712d3207c7c27377c9b699606c","reference_window":{"end_line":530,"sha256":"f8f7d399920cd9cb7bdcd8214d7319cdcc6a3df7c85faf959adc596e9a1ce23b","start_line":439,"truncated":true},"start_line":424,"truncated":true}],"item_id":"hacker0x01__react-datepicker-465__o3yzWS2:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/calendar.jsx, reference lines 424-555\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n439: ? this.props.weekDayClassName(day)\n440: : undefined;\n441: \n442: return (\n443: \n447: {weekDayName}\n448: \n449: );\n450: }),\n451: );\n452: };\n453: \n454: formatWeekday = (day, locale) => {\n455: if (this.props.formatWeekDay) {\n456: return getFormattedWeekdayInLocale(day, this.props.formatWeekDay, locale);\n457: }\n458: return this.props.useWeekdaysShort\n459: ? getWeekdayShortInLocale(day, locale)\n460: : getWeekdayMinInLocale(day, locale);\n461: };\n462: \n463: decreaseYear = () => {\n464: this.setState(\n465: ({ date }) => ({\n466: date: subYears(\n467: date,\n468: this.props.showYearPicker ? this.props.yearItemNumber : 1,\n469: ),\n470: }),\n471: () => this.handleYearChange(this.state.date),\n472: );\n473: };\n474: \n475: clearSelectingDate = () => {\n476: this.setState({ selectingDate: null });\n477: };\n478: \n479: renderPreviousButton = () => {\n480: if (this.props.renderCustomHeader) {\n481: return;\n482: }\n483: \n484: let allPrevDaysDisabled;\n485: switch (true) {\n486: case this.props.showMonthYearPicker:\n487: allPrevDaysDisabled = yearDisabledBefore(this.state.date, this.props);\n488: break;\n489: case this.props.showYearPicker:\n490: allPrevDaysDisabled = yearsDisabledBefore(this.state.date, this.props);\n491: break;\n492: default:\n493: allPrevDaysDisabled = monthDisabledBefore(this.state.date, this.props);\n494: break;\n495: }\n496: \n497: if (\n498: (!this.props.forceShowMonthNavigation &&\n499: !this.props.showDisabledMonthNavigation &&\n500: allPrevDaysDisabled) ||\n501: this.props.showTimeSelectOnly\n502: ) {\n503: return;\n504: }\n505: \n506: const iconClasses = [\n507: \"react-datepicker__navigation-icon\",\n508: \"react-datepicker__navigation-icon--previous\",\n509: ];\n510: \n511: const classes = [\n512: \"react-datepicker__navigation\",\n513: \"react-datepicker__navigation--previous\",\n514: ];\n515: \n516: let clickHandler = this.decreaseMonth;\n517: \n518: if (\n519: this.props.showMonthYearPicker ||\n520: this.props.showQuarterYearPicker ||\n521: this.props.showYearPicker\n522: ) {\n523: clickHandler = this.decreaseYear;\n524: }\n525: \n526: if (allPrevDaysDisabled && this.props.showDisabledMonthNavigation) {\n527: classes.push(\"react-datepicker__navigation--previous--disabled\");\n528: clickHandler = null;\n529: }\n530: \n[window truncated; visible lines 439-530]\nCandidate text preview (unexecuted):\n440: : undefined;\n441: \n442: return (\n443: \n447: {weekDayName}\n448: \n449: );\n450: }),\n451: );\n452: };\n453: \n454: formatWeekday = (day, locale) => {\n455: if (this.props.formatWeekDay) {\n456: return getFormattedWeekdayInLocale(day, this.props.formatWeekDay, locale);\n457: }\n458: return this.props.useWeekdaysShort\n459: ? getWeekdayShortInLocale(day, locale)\n460: : getWeekdayMinInLocale(day, locale);\n461: };\n462: \n463: decreaseYear = () => {\n464: this.setState(\n465: ({ date }) => ({\n466: date: subYears(\n467: date,\n468: this.props.showYearPicker ? this.props.yearItemNumber : 1,\n469: ),\n470: }),\n471: () => this.handleYearChange(this.state.date),\n472: );\n473: };\n474: \n475: clearSelectingDate = () => {\n476: this.setState({ selectingDate: null });\n477: };\n478: \n479: renderPreviousButton = () => {\n480: if (this.props.renderCustomHeader) {\n481: return;\n482: }\n483: \n484: let allPrevDaysDisabled;\n485: switch (true) {\n486: case this.props.showMonthYearPicker ||\n487: this.props.showQuarterYearPicker:\n488: allPrevDaysDisabled = yearDisabledBefore(this.state.date, this.props);\n489: break;\n490: case this.props.showYearPicker:\n491: allPrevDaysDisabled = yearsDisabledBefore(this.state.date, this.props);\n492: break;\n493: default:\n494: allPrevDaysDisabled = monthDisabledBefore(this.state.date, this.props);\n495: break;\n496: }\n497: \n498: if (\n499: (!this.props.forceShowMonthNavigation &&\n500: !this.props.showDisabledMonthNavigation &&\n501: allPrevDaysDisabled) ||\n502: this.props.showTimeSelectOnly\n503: ) {\n504: return;\n505: }\n506: \n507: const iconClasses = [\n508: \"react-datepicker__navigation-icon\",\n509: \"react-datepicker__navigation-icon--previous\",\n510: ];\n511: \n512: const classes = [\n513: \"react-datepicker__navigation\",\n514: \"react-datepicker__navigation--previous\",\n515: ];\n516: \n517: let clickHandler = this.decreaseMonth;\n518: \n519: if (\n520: this.props.showMonthYearPicker ||\n521: this.props.showQuarterYearPicker ||\n522: this.props.showYearPicker\n523: ) {\n524: clickHandler = this.decreaseYear;\n525: }\n526: \n527: if (allPrevDaysDisabled && this.props.showDisabledMonthNavigation) {\n528: classes.push(\"react-datepicker__navigation--previous--disabled\");\n529: clickHandler = null;\n[window truncated; visible lines 440-529]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-465__o3yzWS2:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5844,"content_sha256":"920fd1c35649b91654370de7d811084d09905577c724aa8f781c66acdbec727c","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":1406,"sha256":"6b2ad33de9f35dae584dadc7af14c92c7fcf6f86631827a2c6ff52ca8c798ea8","start_line":1351,"truncated":true},"content_sha256":"5ecea384d5ae0f556cf51f7b37b770e235071277a1ab4c6dcc0d10a6c7483634","end_line":1448,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"test/datepicker_test.test.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"8132adf2986118930ac7c02cee5212e0c9b10ee2cd36790603f9c72be99ef32b","reference_window":{"end_line":1408,"sha256":"76cda73b3907fb51fea025881a4d634ed0187be8f5d3f921f74bc7bb792d922f","start_line":1349,"truncated":true},"start_line":1318,"truncated":true}],"item_id":"hacker0x01__react-datepicker-484__YnRwUSf:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/datepicker_test.test.js, reference lines 1318-1448\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1349: expect(\n1350: utils.formatDate(data.instance.state.preSelection, data.testFormat),\n1351: ).toBe(utils.formatDate(data.instance.props.minDate, data.testFormat));\n1352: });\n1353: \n1354: it(\"should be possible to preSelect minDate (maxDate set)\", () => {\n1355: const data = getOnInputKeyDownStuff({\n1356: minDate: utils.newDate(),\n1357: maxDate: utils.addDays(utils.newDate(), 20),\n1358: });\n1359: fireEvent.keyDown(data.dateInput, getKey(\"ArrowDown\"));\n1360: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowRight\"));\n1361: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowLeft\"));\n1362: expect(\n1363: utils.formatDate(data.instance.state.preSelection, data.testFormat),\n1364: ).toBe(utils.formatDate(data.instance.props.minDate, data.testFormat));\n1365: });\n1366: \n1367: it(\"should be possible to preSelect maxDate (no minDate set)\", () => {\n1368: const data = getOnInputKeyDownStuff({\n1369: maxDate: utils.addDays(utils.newDate(), 1),\n1370: });\n1371: fireEvent.keyDown(data.dateInput, getKey(\"ArrowDown\"));\n1372: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowRight\"));\n1373: expect(\n1374: utils.formatDate(data.instance.state.preSelection, data.testFormat),\n1375: ).toBe(utils.formatDate(data.instance.props.maxDate, data.testFormat));\n1376: });\n1377: \n1378: it(\"should be possible to preSelect maxDate (minDate set)\", () => {\n1379: const data = getOnInputKeyDownStuff({\n1380: minDate: utils.subDays(utils.newDate(), 20),\n1381: maxDate: utils.addDays(utils.newDate(), 1),\n1382: });\n1383: fireEvent.keyDown(data.dateInput, getKey(\"ArrowDown\"));\n1384: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowRight\"));\n1385: expect(\n1386: utils.formatDate(data.instance.state.preSelection, data.testFormat),\n1387: ).toBe(utils.formatDate(data.instance.props.maxDate, data.testFormat));\n1388: });\n1389: \n1390: it(\"should not clear the preSelect date when a pressed key is not a navigation key\", () => {\n1391: const data = getOnInputKeyDownStuff();\n1392: fireEvent.keyDown(data.dateInput, getKey(\"x\"));\n1393: expect(data.instance.state.preSelection.valueOf()).toBe(\n1394: data.copyM.valueOf(),\n1395: );\n1396: });\n1397: \n1398: describe(\"when update the datepicker input text while props.minDate is set\", () => {\n1399: const getCalendar = () => {\n1400: return render(\n1401: ,\n1406: );\n1407: };\n1408: \n[window truncated; visible lines 1349-1408]\nCandidate text preview (unexecuted):\n1351: ).toBe(utils.formatDate(data.instance.props.minDate, data.testFormat));\n1352: });\n1353: \n1354: it(\"should be possible to preSelect minDate (maxDate set)\", () => {\n1355: const data = getOnInputKeyDownStuff({\n1356: minDate: utils.newDate(),\n1357: maxDate: utils.addDays(utils.newDate(), 20),\n1358: });\n1359: fireEvent.keyDown(data.dateInput, getKey(\"ArrowDown\"));\n1360: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowRight\"));\n1361: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowLeft\"));\n1362: expect(\n1363: utils.formatDate(data.instance.state.preSelection, data.testFormat),\n1364: ).toBe(utils.formatDate(data.instance.props.minDate, data.testFormat));\n1365: });\n1366: \n1367: it(\"should be possible to preSelect maxDate (no minDate set)\", () => {\n1368: const data = getOnInputKeyDownStuff({\n1369: maxDate: utils.addDays(utils.newDate(), 1),\n1370: });\n1371: fireEvent.keyDown(data.dateInput, getKey(\"ArrowDown\"));\n1372: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowRight\"));\n1373: expect(\n1374: utils.formatDate(data.instance.state.preSelection, data.testFormat),\n1375: ).toBe(utils.formatDate(data.instance.props.maxDate, data.testFormat));\n1376: });\n1377: \n1378: it(\"should be possible to preSelect maxDate (minDate set)\", () => {\n1379: const data = getOnInputKeyDownStuff({\n1380: minDate: utils.subDays(utils.newDate(), 20),\n1381: maxDate: utils.addDays(utils.newDate(), 1),\n1382: });\n1383: fireEvent.keyDown(data.dateInput, getKey(\"ArrowDown\"));\n1384: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowRight\"));\n1385: expect(\n1386: utils.formatDate(data.instance.state.preSelection, data.testFormat),\n1387: ).toBe(utils.formatDate(data.instance.props.maxDate, data.testFormat));\n1388: });\n1389: \n1390: it(\"should allow keyboard navigation when minDate and maxDate are null\", () => {\n1391: const data = getOnInputKeyDownStuff({\n1392: minDate: null,\n1393: maxDate: null,\n1394: });\n1395: fireEvent.keyDown(data.dateInput, getKey(\"ArrowDown\"));\n1396: fireEvent.keyDown(getSelectedDayNode(data.instance), getKey(\"ArrowRight\"));\n1397: data.copyM = utils.addDays(data.copyM, 1);\n1398: expect(\n1399: utils.formatDate(data.instance.state.preSelection, data.testFormat),\n1400: ).toBe(utils.formatDate(data.copyM, data.testFormat));\n1401: });\n1402: \n1403: it(\"should allow keyboard navigation when minDate is null and maxDate is set\", () => {\n1404: const data = getOnInputKeyDownStuff({\n1405: minDate: null,\n1406: maxDate: utils.addDays(utils.newDate(), 20),\n[window truncated; visible lines 1351-1406]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-484__YnRwUSf:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":1694,"content_sha256":"30e3021f838f55c1c0ce32122ba67e2ff47447b1b6c6761f7b419e72398aa36b","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"887819e86822a8b00c817b4200869ad33b9ec693db86192e937ed5f1c028838c","end_line":120,"note":"old_str matches=0; preview unavailable; showing first 120 lines","path":"src/test/week_picker_test.test.tsx","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"0ccc91261e9b7ff929da5814c7c8199912feaa4d7b55187ae41488dd2d0937df","reference_window":{"end_line":36,"sha256":"07c64c90703f4f1c086fafc2914deffdcff864fb6e0fb6df555fb3478c6e6c72","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"hacker0x01__react-datepicker-490__qc3zLGa:24","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/test/week_picker_test.test.tsx, reference lines 1-120\nold_str matches=0; preview unavailable; showing first 120 lines\nReference-state content:\n1: import { render, fireEvent } from \"@testing-library/react\";\n2: import React from \"react\";\n3: \n4: import DatePicker from \"../index\";\n5: \n6: describe(\"WeekPicker\", () => {\n7: it(\"should change the week when clicked on any option in the picker\", () => {\n8: const onChangeSpy = jest.fn();\n9: const { container } = render(\n10: ,\n11: );\n12: expect(onChangeSpy).not.toHaveBeenCalled();\n13: fireEvent.focus(container.querySelector(\"input\") ?? new HTMLElement());\n14: fireEvent.click(\n15: container.querySelector(\".react-datepicker__day\") ?? new HTMLElement(),\n16: );\n17: expect(onChangeSpy).toHaveBeenCalled();\n18: });\n19: \n20: it(\"should change the week when clicked on any week number in the picker\", () => {\n21: const onChangeSpy = jest.fn();\n22: const { container } = render(\n23: ,\n24: );\n25: expect(onChangeSpy).not.toHaveBeenCalled();\n26: const input = container.querySelector(\"input\");\n27: expect(input).not.toBeNull();\n28: fireEvent.focus(input ?? new HTMLElement());\n29: const weekNumber = container.querySelector(\n30: \".react-datepicker__week-number\",\n31: );\n32: expect(weekNumber).not.toBeNull();\n33: fireEvent.click(weekNumber ?? new HTMLElement());\n34: expect(onChangeSpy).toHaveBeenCalled();\n35: });\n36: });\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-490__qc3zLGa:24"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":300,"content_sha256":"fffc2353d1850821249d80433b13ebe5f62c7efaae0fd3754132cfe08df89f07","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"86257ac430b1937ee987028275bea2c2bc54d52d7dc43a04591719a038f6512e","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"\"react\"|\"react-dom\"|\"@testing-library/react\"","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"hacker0x01__react-datepicker-508__BUtstuv:54","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/\"react\"|\"react-dom\"|\"@testing-library/react\", reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-508__BUtstuv:54"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5904,"content_sha256":"9558bd681c76e1278bd10bfdbb0ef7f96b6a385d6ccf5f2ae34c49d4b0289d2b","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":350,"sha256":"ffa2de237cb9d48f289c5ba1833c5d09e1a27d5beb4579cf4e675760eccc77c7","start_line":258,"truncated":true},"content_sha256":"bc2da1c777ebcae9e74e5b29134ae92fdb78dbd650e2eae01c89be38b3d339fe","end_line":378,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/day.tsx","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"ec321d7d027fa8d5d8b2b5b2bf96ee8b28bc2368075c95ada51edc5670b5a637","reference_window":{"end_line":351,"sha256":"30b84480dec9affa402d64a2ce377cb3621e937a9616969fbc389626e5e11378","start_line":257,"truncated":true},"start_line":244,"truncated":true}],"item_id":"hacker0x01__react-datepicker-550__y2WWLbw:34","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/day.tsx, reference lines 244-378\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n257: \n258: // Function to return the array containing className associated to the date\n259: getHolidaysClass = () => {\n260: const { day, holidays } = this.props;\n261: if (!holidays) {\n262: // For type consistency no other reasons\n263: return [undefined];\n264: }\n265: const dayStr = formatDate(day, \"MM.dd.yyyy\");\n266: // Looking for className in the Map of {day string: {className, holidayName}}\n267: if (holidays.has(dayStr)) {\n268: return [holidays.get(dayStr)?.className];\n269: }\n270: \n271: // For type consistency no other reasons\n272: return [undefined];\n273: };\n274: \n275: isInRange = () => {\n276: const { day, startDate, endDate } = this.props;\n277: if (!startDate || !endDate) {\n278: return false;\n279: }\n280: return isDayInRange(day, startDate, endDate);\n281: };\n282: \n283: isInSelectingRange = () => {\n284: const {\n285: day,\n286: selectsStart,\n287: selectsEnd,\n288: selectsRange,\n289: selectsDisabledDaysInRange,\n290: startDate,\n291: endDate,\n292: } = this.props;\n293: \n294: const selectingDate = this.props.selectingDate ?? this.props.preSelection;\n295: \n296: if (\n297: !(selectsStart || selectsEnd || selectsRange) ||\n298: !selectingDate ||\n299: (!selectsDisabledDaysInRange && this.isDisabled())\n300: ) {\n301: return false;\n302: }\n303: \n304: if (\n305: selectsStart &&\n306: endDate &&\n307: (isBefore(selectingDate, endDate) || isEqual(selectingDate, endDate))\n308: ) {\n309: return isDayInRange(day, selectingDate, endDate);\n310: }\n311: \n312: if (\n313: selectsEnd &&\n314: startDate &&\n315: (isAfter(selectingDate, startDate) || isEqual(selectingDate, startDate))\n316: ) {\n317: return isDayInRange(day, startDate, selectingDate);\n318: }\n319: \n320: if (\n321: selectsRange &&\n322: startDate &&\n323: !endDate &&\n324: (isAfter(selectingDate, startDate) || isEqual(selectingDate, startDate))\n325: ) {\n326: return isDayInRange(day, startDate, selectingDate);\n327: }\n328: \n329: return false;\n330: };\n331: \n332: isSelectingRangeStart = () => {\n333: if (!this.isInSelectingRange()) {\n334: return false;\n335: }\n336: \n337: const { day, startDate, selectsStart } = this.props;\n338: const selectingDate = this.props.selectingDate ?? this.props.preSelection;\n339: \n340: if (selectsStart) {\n341: return isSameDay(day, selectingDate);\n342: } else {\n343: return isSameDay(day, startDate);\n344: }\n345: };\n346: \n347: isSelectingRangeEnd = () => {\n348: if (!this.isInSelectingRange()) {\n349: return false;\n350: }\n351: \n[window truncated; visible lines 257-351]\nCandidate text preview (unexecuted):\n258: // Function to return the array containing className associated to the date\n259: getHolidaysClass = () => {\n260: const { day, holidays } = this.props;\n261: if (!holidays) {\n262: // For type consistency no other reasons\n263: return [undefined];\n264: }\n265: const dayStr = formatDate(day, \"MM.dd.yyyy\");\n266: // Looking for className in the Map of {day string: {className, holidayName}}\n267: if (holidays.has(dayStr)) {\n268: return [holidays.get(dayStr)?.className];\n269: }\n270: \n271: // For type consistency no other reasons\n272: return [undefined];\n273: };\n274: \n275: isInRange = () => {\n276: const { day, startDate, endDate } = this.props;\n277: if (!startDate || !endDate) {\n278: return false;\n279: }\n280: return isDayInRange(day, startDate, endDate);\n281: };\n282: \n283: isInSelectingRange = () => {\n284: const {\n285: day,\n286: selectsStart,\n287: selectsEnd,\n288: selectsRange,\n289: selectsDisabledDaysInRange,\n290: startDate,\n291: endDate,\n292: } = this.props;\n293: \n294: const selectingDate = this.props.selectingDate ?? this.props.preSelection;\n295: \n296: if (\n297: !(selectsStart || selectsEnd || selectsRange) ||\n298: !selectingDate ||\n299: (!selectsDisabledDaysInRange && this.isDisabled())\n300: ) {\n301: return false;\n302: }\n303: \n304: if (\n305: selectsStart &&\n306: endDate &&\n307: !startDate &&\n308: (isBefore(selectingDate, endDate) || isEqual(selectingDate, endDate))\n309: ) {\n310: return isDayInRange(day, selectingDate, endDate);\n311: }\n312: \n313: if (\n314: selectsEnd &&\n315: startDate &&\n316: !endDate &&\n317: (isAfter(selectingDate, startDate) || isEqual(selectingDate, startDate))\n318: ) {\n319: return isDayInRange(day, startDate, selectingDate);\n320: }\n321: \n322: if (\n323: selectsRange &&\n324: startDate &&\n325: !endDate &&\n326: (isAfter(selectingDate, startDate) || isEqual(selectingDate, startDate))\n327: ) {\n328: return isDayInRange(day, startDate, selectingDate);\n329: }\n330: \n331: return false;\n332: };\n333: \n334: isSelectingRangeStart = () => {\n335: if (!this.isInSelectingRange()) {\n336: return false;\n337: }\n338: \n339: const { day, startDate, selectsStart } = this.props;\n340: const selectingDate = this.props.selectingDate ?? this.props.preSelection;\n341: \n342: if (selectsStart) {\n343: return isSameDay(day, selectingDate);\n344: } else {\n345: return isSameDay(day, startDate);\n346: }\n347: };\n348: \n349: isSelectingRangeEnd = () => {\n350: if (!this.isInSelectingRange()) {\n[window truncated; visible lines 258-350]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-550__y2WWLbw:34"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5882,"content_sha256":"602de922c0a277d27e6197601bd664c0170f86a2352313e564a579f134629a0b","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":83,"sha256":"c3945b9bdbc7d17b3e7d25c1b12f0b152d9126c2d3ddd5176d2044e85775f9e2","start_line":21,"truncated":true},"content_sha256":"994ad5c46b1a11f7d3aff8b9eb2e660ca799a51bc524559fe6bb80318b95141e","end_line":119,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/year.tsx","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"6e942ec0bbbc14a29ab1f8ace798ef19d25879ad24856d2163026f6edb776680","reference_window":{"end_line":83,"sha256":"7c428d97055925c51606bd36a3cfb201659a5f85363f5dbf0ba9c9d4f2bb62f2","start_line":21,"truncated":true},"start_line":1,"truncated":true}],"item_id":"hacker0x01__react-datepicker-552__9x5GnKR:34","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/year.tsx, reference lines 1-119\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n21: } from \"./date_utils\";\n22: \n23: const VERTICAL_NAVIGATION_OFFSET = 3;\n24: \n25: interface YearProps\n26: extends Pick<\n27: DateFilterOptions,\n28: \"minDate\" | \"maxDate\" | \"excludeDates\" | \"includeDates\" | \"filterDate\"\n29: > {\n30: clearSelectingDate?: VoidFunction;\n31: date?: Date;\n32: disabledKeyboardNavigation?: boolean;\n33: onDayClick?: (\n34: date: Date,\n35: event:\n36: | React.MouseEvent\n37: | React.KeyboardEvent,\n38: ) => void;\n39: preSelection?: Date | null;\n40: setPreSelection?: (date?: Date | null) => void;\n41: selected?: Date | null;\n42: inline?: boolean;\n43: usePointerEvent?: boolean;\n44: onYearMouseEnter: (\n45: event: React.MouseEvent,\n46: year: number,\n47: ) => void;\n48: onYearMouseLeave: (\n49: event: React.MouseEvent,\n50: year: number,\n51: ) => void;\n52: selectingDate?: Date;\n53: renderYearContent?: (year: number) => React.ReactNode;\n54: selectsEnd?: boolean;\n55: selectsStart?: boolean;\n56: selectsRange?: boolean;\n57: startDate?: Date | null;\n58: endDate?: Date | null;\n59: yearItemNumber?: number;\n60: handleOnKeyDown?: React.KeyboardEventHandler;\n61: yearClassName?: (date: Date) => string;\n62: }\n63: \n64: /**\n65: * `Year` is a component that represents a year in a date picker.\n66: *\n67: * @class\n68: * @param {YearProps} props - The properties that define the `Year` component.\n69: * @property {VoidFunction} [props.clearSelectingDate] - Function to clear the selected date.\n70: * @property {Date} [props.date] - The currently selected date.\n71: * @property {boolean} [props.disabledKeyboardNavigation] - If true, keyboard navigation is disabled.\n72: * @property {Date} [props.endDate] - The end date in a range selection.\n73: * @property {(date: Date) => void} props.onDayClick - Function to handle day click events.\n74: * @property {Date} props.preSelection - The date that is currently in focus.\n75: * @property {(date: Date) => void} props.setPreSelection - Function to set the pre-selected date.\n76: * @property {{ [key: string]: any }} props.selected - The selected date(s).\n77: * @property {boolean} props.inline - If true, the date picker is displayed inline.\n78: * @property {Date} props.maxDate - The maximum selectable date.\n79: * @property {Date} props.minDate - The minimum selectable date.\n80: * @property {boolean} props.usePointerEvent - If true, pointer events are used instead of mouse events.\n81: * @property {(date: Date) => void} props.onYearMouseEnter - Function to handle mouse enter events on a year.\n82: * @property {(date: Date) => void} props.onYearMouseLeave - Function to handle mouse leave events on a year.\n83: */\n[window truncated; visible lines 21-83]\nCandidate text preview (unexecuted):\n21: } from \"./date_utils\";\n22: \n23: const VERTICAL_NAVIGATION_OFFSET = 3;\n24: \n25: interface YearProps\n26: extends Pick<\n27: DateFilterOptions,\n28: \"minDate\" | \"maxDate\" | \"excludeDates\" | \"includeDates\" | \"filterDate\"\n29: > {\n30: clearSelectingDate?: VoidFunction;\n31: date?: Date;\n32: disabledKeyboardNavigation?: boolean;\n33: onDayClick?: (\n34: date: Date,\n35: event:\n36: | React.MouseEvent\n37: | React.KeyboardEvent,\n38: ) => void;\n39: preSelection?: Date | null;\n40: setPreSelection?: (date?: Date | null) => void;\n41: selected?: Date | null;\n42: inline?: boolean;\n43: usePointerEvent?: boolean;\n44: onYearMouseEnter: (\n45: event: React.MouseEvent,\n46: year: number,\n47: ) => void;\n48: onYearMouseLeave: (\n49: event: React.MouseEvent,\n50: year: number,\n51: ) => void;\n52: selectingDate?: Date;\n53: renderYearContent?: (year: number) => React.ReactNode;\n54: selectsEnd?: boolean;\n55: selectsStart?: boolean;\n56: selectsRange?: boolean;\n57: selectsMultiple?: boolean;\n58: selectedDates?: Date[];\n59: startDate?: Date | null;\n60: endDate?: Date | null;\n61: yearItemNumber?: number;\n62: handleOnKeyDown?: React.KeyboardEventHandler;\n63: yearClassName?: (date: Date) => string;\n64: }\n65: \n66: /**\n67: * `Year` is a component that represents a year in a date picker.\n68: *\n69: * @class\n70: * @param {YearProps} props - The properties that define the `Year` component.\n71: * @property {VoidFunction} [props.clearSelectingDate] - Function to clear the selected date.\n72: * @property {Date} [props.date] - The currently selected date.\n73: * @property {boolean} [props.disabledKeyboardNavigation] - If true, keyboard navigation is disabled.\n74: * @property {Date} [props.endDate] - The end date in a range selection.\n75: * @property {(date: Date) => void} props.onDayClick - Function to handle day click events.\n76: * @property {Date} props.preSelection - The date that is currently in focus.\n77: * @property {(date: Date) => void} props.setPreSelection - Function to set the pre-selected date.\n78: * @property {{ [key: string]: any }} props.selected - The selected date(s).\n79: * @property {boolean} props.inline - If true, the date picker is displayed inline.\n80: * @property {Date} props.maxDate - The maximum selectable date.\n81: * @property {Date} props.minDate - The minimum selectable date.\n82: * @property {boolean} props.usePointerEvent - If true, pointer events are used instead of mouse events.\n83: * @property {(date: Date) => void} props.onYearMouseEnter - Function to handle mouse enter events on a year.\n[window truncated; visible lines 21-83]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-552__9x5GnKR:34"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5889,"content_sha256":"d27a893c8b98531181c8e276b443f04407c623b14e19158bf1b348e31917be11","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":143,"sha256":"6c84ef61cbb2f8dd0f31e6136862d12167900d54269a28bd78ed57957b91f3ad","start_line":65,"truncated":true},"content_sha256":"0764eea29dc66c7c75bc795825df82dc9180c4da7363ebdab7349038ce4a319a","end_line":170,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/test/year_picker_test.test.tsx","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"7678ccc3a06ad1de8438cd95650e0784e7681c0110ea1d39fea2d4b491602811","reference_window":{"end_line":143,"sha256":"cddaf55f6f6b8cdf6fbe75c64696560124bf6c36c7f88349502214938fab0d6d","start_line":66,"truncated":true},"start_line":44,"truncated":true}],"item_id":"hacker0x01__react-datepicker-558__R9uJMEB:8","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/test/year_picker_test.test.tsx, reference lines 44-170\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n66: \".react-datepicker__year-text\",\n67: );\n68: expect(yearItems.length).toBe(yearItemNumber);\n69: });\n70: \n71: it(\"should change the year when clicked on any option in the picker\", () => {\n72: const onYearChangeSpy = jest.fn();\n73: const { container } = render(\n74: {}}\n78: onYearMouseLeave={() => {}}\n79: />,\n80: );\n81: \n82: const minRequiredYearLen = 2;\n83: const yearDivs = safeQuerySelectorAll(\n84: container,\n85: \".react-datepicker__year-text\",\n86: minRequiredYearLen,\n87: );\n88: \n89: const firstYearDiv = yearDivs[1]!;\n90: fireEvent.click(firstYearDiv);\n91: expect(onYearChangeSpy).toHaveBeenCalled();\n92: });\n93: \n94: it(\"should has selected class when element of array equal of choosen year\", () => {\n95: const date = new Date(\"2015-01-01\");\n96: const { container } = render(\n97: {}}\n101: onYearMouseLeave={() => {}}\n102: />,\n103: );\n104: const year = container.querySelectorAll(\n105: \".react-datepicker__year-text--selected\",\n106: )[0]?.textContent;\n107: expect(year).toBe(getYear(date).toString());\n108: });\n109: \n110: it(\"should has selected class applied for all the selectedDates when selectsMultiple is set\", () => {\n111: const selectedDates = [new Date(\"2025-01-01\"), new Date(\"2026-01-01\")];\n112: const { container } = render(\n113: {}}\n118: onYearMouseLeave={() => {}}\n119: />,\n120: );\n121: const yearElements = Array.from(\n122: container.querySelectorAll(\".react-datepicker__year-text--selected\"),\n123: );\n124: \n125: expect(yearElements.length).toBe(selectedDates.length);\n126: \n127: const isSelectedDatesHighlighted = yearElements.every((yearElement) => {\n128: const yearValue = yearElement?.textContent;\n129: return selectedDates.some(\n130: (selectedDate) => getYear(selectedDate).toString() === yearValue,\n131: );\n132: });\n133: expect(isSelectedDatesHighlighted).toBe(true);\n134: });\n135: \n136: it(\"should not has selected class where there is no selectedDates when selectsMultiple is set\", () => {\n137: const { container } = render(\n138: {}}\n142: onYearMouseLeave={() => {}}\n143: />,\n[window truncated; visible lines 66-143]\nCandidate text preview (unexecuted):\n65: const yearItems = container.querySelectorAll(\n66: \".react-datepicker__year-text\",\n67: );\n68: expect(yearItems.length).toBe(yearItemNumber);\n69: });\n70: \n71: it(\"should change the year when clicked on any option in the picker\", () => {\n72: const onYearChangeSpy = jest.fn();\n73: const { container } = render(\n74: {}}\n78: onYearMouseLeave={() => {}}\n79: />,\n80: );\n81: \n82: const minRequiredYearLen = 2;\n83: const yearDivs = safeQuerySelectorAll(\n84: container,\n85: \".react-datepicker__year-text\",\n86: minRequiredYearLen,\n87: );\n88: \n89: const firstYearDiv = yearDivs[1]!;\n90: fireEvent.click(firstYearDiv);\n91: expect(onYearChangeSpy).toHaveBeenCalled();\n92: });\n93: \n94: it(\"should has selected class when element of array equal of choosen year\", () => {\n95: const date = new Date(\"2015-01-01\");\n96: const { container } = render(\n97: {}}\n101: onYearMouseLeave={() => {}}\n102: />,\n103: );\n104: const year = container.querySelectorAll(\n105: \".react-datepicker__year-text--selected\",\n106: )[0]?.textContent;\n107: expect(year).toBe(getYear(date).toString());\n108: });\n109: \n110: it(\"should not have selected class when there is no selected year\", () => {\n111: const { container } = render(\n112: {}}\n116: onYearMouseLeave={() => {}}\n117: />,\n118: );\n119: const yearElements = Array.from(\n120: container.querySelectorAll(\".react-datepicker__year-text--selected\"),\n121: );\n122: expect(yearElements.length).toBe(0);\n123: });\n124: \n125: it(\"should has selected class applied for all the selectedDates when selectsMultiple is set\", () => {\n126: const selectedDates = [new Date(\"2025-01-01\"), new Date(\"2026-01-01\")];\n127: const { container } = render(\n128: {}}\n133: onYearMouseLeave={() => {}}\n134: />,\n135: );\n136: const yearElements = Array.from(\n137: container.querySelectorAll(\".react-datepicker__year-text--selected\"),\n138: );\n139: \n140: expect(yearElements.length).toBe(selectedDates.length);\n141: \n142: const isSelectedDatesHighlighted = yearElements.every((yearElement) => {\n143: const yearValue = yearElement?.textContent;\n[window truncated; visible lines 65-143]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"hacker0x01__react-datepicker-558__R9uJMEB:8"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5881,"content_sha256":"51f16197108f77398fa47a700757c4d7360bffcea0548077d816061bcb5a7081","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":548,"sha256":"a8cd984ca3ae2abf3a9f7600b5fe4bc0e2e08aaceef7a08f8364734ffa30f98e","start_line":484,"truncated":true},"content_sha256":"4859b6e69a42dbce2ce8d5b71adef222e7145fd3f0db21d3d732199b14780d87","end_line":599,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"dvc/parsing/context.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"58a0c7f5f8ce36dfb9eb199349419971d901f2060ba2654389a82d48bd952482","reference_window":{"end_line":545,"sha256":"2c1904ac8ea52bf15701db4f45649682e8eca5def06a12c2bd682e503cf9ce20","start_line":477,"truncated":true},"start_line":456,"truncated":true}],"item_id":"iterative__dvc-9212__ysAXFw8:19","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/dvc/parsing/context.py, reference lines 456-599\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n477: for key in new:\n478: self._reserved_keys.pop(key)\n479: \n480: @contextmanager\n481: def set_temporarily(self, to_set: DictStr, reserve: bool = False):\n482: cm = self.reserved(*to_set) if reserve else nullcontext()\n483: \n484: non_existing = frozenset(to_set.keys() - self.keys())\n485: prev = {key: self[key] for key in to_set if key not in non_existing}\n486: temp = CtxDict(to_set)\n487: self.update(temp)\n488: \n489: try:\n490: with cm:\n491: yield\n492: finally:\n493: self.update(prev)\n494: for key in non_existing:\n495: self.data.pop(key, None)\n496: \n497: def resolve(\n498: self, src, unwrap=True, skip_interpolation_checks=False, key=None\n499: ) -> Any:\n500: \"\"\"Recursively resolves interpolation and returns resolved data.\n501: \n502: Args:\n503: src: Data (str/list/dict etc.) to resolve\n504: unwrap: Unwrap CtxDict/CtxList/Value to it's original data if\n505: inside `src`. Defaults to True.\n506: skip_interpolation_checks: Skip interpolation checks for error\n507: The callee is responsible to check for errors in advance.\n508: \n509: >>> c = Context({\"three\": 3})\n510: >>> c.resolve({\"lst\": [1, 2, \"${three}\"]})\n511: {'lst': [1, 2, 3]}\n512: \"\"\"\n513: func = recurse(self.resolve_str)\n514: return func(src, unwrap, skip_interpolation_checks, key)\n515: \n516: def resolve_str(\n517: self, src: str, unwrap=True, skip_interpolation_checks=False, key=None\n518: ) -> str:\n519: \"\"\"Resolves interpolated string to it's original value,\n520: or in case of multiple interpolations, a combined string.\n521: \n522: >>> c = Context({\"enabled\": True})\n523: >>> c.resolve_str(\"${enabled}\")\n524: True\n525: >>> c.resolve_str(\"enabled? ${enabled}\")\n526: 'enabled? true'\n527: \"\"\"\n528: matches = get_matches(src)\n529: if is_exact_string(src, matches):\n530: # replace \"${enabled}\", if `enabled` is a boolean, with it's actual\n531: # value rather than it's string counterparts.\n532: expr = get_expression(matches[0], skip_checks=skip_interpolation_checks)\n533: value = self.select(expr, unwrap=unwrap)\n534: validate_value(value, key)\n535: return value\n536: # but not \"${num} days\"\n537: return str_interpolate(\n538: src, matches, self, skip_checks=skip_interpolation_checks, key=key\n539: )\n540: \n541: \n542: if __name__ == \"__main__\":\n543: import doctest\n544: \n545: doctest.testmod()\n[window truncated; visible lines 477-545]\nCandidate text preview (unexecuted):\n484: non_existing = frozenset(to_set.keys() - self.keys())\n485: prev = {key: self[key] for key in to_set if key not in non_existing}\n486: temp = CtxDict(to_set)\n487: self.update(temp)\n488: \n489: try:\n490: with cm:\n491: yield\n492: finally:\n493: self.update(prev)\n494: for key in non_existing:\n495: self.data.pop(key, None)\n496: \n497: def resolve(\n498: self, src, unwrap=True, skip_interpolation_checks=False, key=None\n499: ) -> Any:\n500: \"\"\"Recursively resolves interpolation and returns resolved data.\n501: \n502: Args:\n503: src: Data (str/list/dict etc.) to resolve\n504: unwrap: Unwrap CtxDict/CtxList/Value to it's original data if\n505: inside `src`. Defaults to True.\n506: skip_interpolation_checks: Skip interpolation checks for error\n507: The callee is responsible to check for errors in advance.\n508: \n509: >>> c = Context({\"three\": 3})\n510: >>> c.resolve({\"lst\": [1, 2, \"${three}\"]})\n511: {'lst': [1, 2, 3]}\n512: \"\"\"\n513: func = recurse(self.resolve_str)\n514: return func(src, unwrap, skip_interpolation_checks, key)\n515: \n516: def resolve_str(\n517: self,\n518: src: str,\n519: unwrap=True,\n520: skip_interpolation_checks=False,\n521: key=None,\n522: _depth: int = 0,\n523: ) -> str:\n524: \"\"\"Resolves interpolated string to it's original value,\n525: or in case of multiple interpolations, a combined string.\n526: \n527: Interpolations are resolved recursively, so a value that is itself an\n528: interpolated string is resolved further (nested interpolation).\n529: \n530: >>> c = Context({\"enabled\": True})\n531: >>> c.resolve_str(\"${enabled}\")\n532: True\n533: >>> c.resolve_str(\"enabled? ${enabled}\")\n534: 'enabled? true'\n535: >>> c = Context({\"path\": \"data\", \"nested\": \"${path}/raw\"})\n536: >>> c.resolve_str(\"${nested}\")\n537: 'data/raw'\n538: \"\"\"\n539: if _depth > MAX_INTERPOLATION_DEPTH:\n540: raise ParseError(\n541: f\"interpolation depth exceeded (max {MAX_INTERPOLATION_DEPTH}), \"\n542: \"possible circular reference\"\n543: )\n544: matches = get_matches(src)\n545: if is_exact_string(src, matches):\n546: # replace \"${enabled}\", if `enabled` is a boolean, with it's actual\n547: # value rather than it's string counterparts.\n548: expr = get_expression(matches[0], skip_checks=skip_interpolation_checks)\n[window truncated; visible lines 484-548]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"iterative__dvc-9212__ysAXFw8:19"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr1050__TgyRemP:16","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1050__TgyRemP:16"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":8442,"content_sha256":"4a9340a15c11a1638875a875dad8e3e394705df7d4cb61a9d3ed96bd2872e288","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"529793ce00a3a7d3013f3e5ed18de70869b5b4e14e7573a1a99cd9c49cf231cd","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown/links/link_parse_helper.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"a3dfb0cd98e1c1426519f55b18da221e168b88683b3771208f24ddacfffe2d72","reference_window":{"end_line":120,"sha256":"e83c8a93bda9a5b8cbcce2d4405c87316d83826c8d7d54416fa353c7b524bbb2","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"2e8e7e4fbe4ac29cd8f032ac2f1b86936482164908c0c61b78c56956deec5e38","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test/gfm/test_markdown_atx_headings_extra.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"5a066500cda7a0e6557386df934dd8f469f05cc9f3e0c07ced4b1f1b7b86e9af","reference_window":{"end_line":120,"sha256":"271b6ddd2bf7fba5d3d58f87795aff0989286893c9c59bc5f5d60b8858c5f656","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr1094__sDRQ9W4:80","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown/links/link_parse_helper.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: \"\"\"\n2: Module to provide for the ability to parse the text for a link.\n3: \"\"\"\n4: \n5: import logging\n6: import urllib\n7: import urllib.parse\n8: from typing import Dict, List, Optional, Tuple\n9: \n10: from pymarkdown.container_blocks.parse_block_pass_properties import (\n11: ParseBlockPassProperties,\n12: )\n13: from pymarkdown.general.constants import Constants\n14: from pymarkdown.general.parser_helper import ParserHelper\n15: from pymarkdown.general.parser_logger import ParserLogger\n16: from pymarkdown.inline.inline_backslash_helper import InlineBackslashHelper\n17: from pymarkdown.inline.inline_helper import InlineHelper\n18: from pymarkdown.inline.inline_request import InlineRequest\n19: from pymarkdown.links.link_helper_properties import LinkHelperProperties\n20: from pymarkdown.links.link_reference_titles import LinkReferenceTitles\n21: \n22: POGGER = ParserLogger(logging.getLogger(__name__))\n23: \n24: \n25: class LinkParseHelper:\n26: \"\"\"\n27: Class to provide for the ability to parse the text for a link.\n28: \"\"\"\n29: \n30: __link_definitions: Dict[str, LinkReferenceTitles] = {}\n31: \n32: __link_safe_characters = \"/#:?=()*!$'+,;@\"\n33: __special_link_destination_characters = \"%&\"\n34: \n35: __link_format_inline_start = \"(\"\n36: __link_format_inline_end = \")\"\n37: \n38: __link_title_single = \"'\"\n39: __link_title_double = '\"'\n40: __link_title_parenthesis_open = \"(\"\n41: __link_title_parenthesis_close = \")\"\n42: \n43: __link_format_inline_end = \")\"\n44: __link_format_reference_start = \"[\"\n45: __link_format_reference_end = \"]\"\n46: \n47: link_label_start = \"[\"\n48: link_label_end = \"]\"\n49: __link_label_is_definition_character = \":\"\n50: __link_label_breaks = (\n51: f\"{link_label_start}{link_label_end}{InlineBackslashHelper.backslash_character}\"\n52: )\n53: \n54: __angle_link_start = \"<\"\n55: __angle_link_end = \">\"\n56: __angle_link_destination_breaks = (\n57: f\"{__angle_link_end}{InlineBackslashHelper.backslash_character}\"\n58: )\n59: \n60: __non_angle_link_nest = \"(\"\n61: __non_angle_link_unnest = \")\"\n62: __non_angle_link_breaks = f\"{Constants.ascii_control_characters}()\\\\\"\n63: \n64: @staticmethod\n65: def initialize() -> None:\n66: \"\"\"\n67: Initialize the inline subsystem.\n68: \"\"\"\n69: LinkParseHelper.__link_definitions = {}\n70: \n71: @staticmethod\n72: def add_link_definition(link_name: str, link_value: LinkReferenceTitles) -> bool:\n73: \"\"\"\n74: Add a link definition to the cache of links.\n75: \"\"\"\n76: POGGER.debug(\n77: \">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>$\",\n78: LinkParseHelper.__link_definitions,\n79: )\n80: POGGER.debug(\n81: \">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>$:$\",\n82: link_name,\n83: link_value,\n84: )\n85: if did_add_definition := link_name not in LinkParseHelper.__link_definitions:\n86: LinkParseHelper.__link_definitions[link_name] = link_value\n87: POGGER.debug(\">>added def>>$-->$\", link_name, link_value)\n88: return did_add_definition\n89: \n90: @staticmethod\n91: def normalize_link_label(link_label: str) -> str:\n92: \"\"\"\n93: Translate a link label into a normalized form to use for comparisons.\n94: \"\"\"\n95: \n96: # Fold all whitespace characters (except for space) into a space character\n97: link_label = ParserHelper.replace_any_of(\n98: link_label,\n99: Constants.non_space_ascii_whitespace,\n100: ParserHelper.space_character,\n101: )\n102: \n103: # Fold multiple spaces into a single space character.\n104: # x = link_label.split(ParserHelper.space_character)\n105: split_label = [s for s in link_label.split(ParserHelper.space_character) if s]\n106: link_label = ParserHelper.space_character.join(split_label)\n107: \n108: # Fold the case of any characters to their lower equivalent.\n109: return link_label.casefold().strip(ParserHelper.space_character)\n110: \n111: @staticmethod\n112: def look_up_link(\n113: link_to_lookup: str, new_index: int, link_type: str\n114: ) -> Tuple[int, str, str]:\n115: \"\"\"\n116: Look up a link to see if it is present.\n117: \"\"\"\n118: \n119: POGGER.debug(\"pre>>$<<\", link_to_lookup)\n120: link_to_lookup = ParserHelper.remove_all_from_text(link_to_lookup)\n\n### E1 /testbed/test/gfm/test_markdown_atx_headings_extra.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: \"\"\"\n2: https://github.github.com/gfm/#atx-headings\n3: \"\"\"\n4: \n5: from test.utils import act_and_assert\n6: \n7: import pytest\n8: \n9: \n10: @pytest.mark.gfm\n11: def test_atx_headings_extra_1():\n12: \"\"\"\n13: Test case extra 1: ATX headings starts with a backslash escape\n14: \"\"\"\n15: \n16: # Arrange\n17: source_markdown = \"\"\"## \\\\\\\\this is a fun day\"\"\"\n18: expected_tokens = [\n19: \"[atx(1,1):2:0:]\",\n20: \"[text(1,4):\\\\\\b\\\\this is a fun day: ]\",\n21: \"[end-atx::]\",\n22: ]\n23: expected_gfm = \"\"\"

\\\\this is a fun day

\"\"\"\n24: \n25: # Act & Assert\n26: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n27: \n28: \n29: @pytest.mark.gfm\n30: def test_atx_headings_extra_2():\n31: \"\"\"\n32: Test case extra 2: ATX headings starts with a backslash as in a hard line break\n33: \"\"\"\n34: \n35: # Arrange\n36: source_markdown = \"\"\"## \\\\\"\"\"\n37: expected_tokens = [\"[atx(1,1):2:0:]\", \"[text(1,4):\\\\: ]\", \"[end-atx::]\"]\n38: expected_gfm = \"\"\"

\\\\

\"\"\"\n39: \n40: # Act & Assert\n41: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n42: \n43: \n44: @pytest.mark.gfm\n45: def test_atx_headings_extra_3():\n46: \"\"\"\n47: Test case extra 3: ATX headings starts with 2+ spaces as in a hard line break\n48: \"\"\"\n49: \n50: # Arrange\n51: source_markdown = \"\"\"## \"\"\"\n52: expected_tokens = [\"[atx(1,1):2:0:]\", \"[text(1,7):: ]\", \"[end-atx::]\"]\n53: expected_gfm = \"\"\"

\"\"\"\n54: \n55: # Act & Assert\n56: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n57: \n58: \n59: @pytest.mark.gfm\n60: def test_atx_headings_extra_4():\n61: \"\"\"\n62: Test case extra 4: ATX headings string starting with a code span.\n63: \"\"\"\n64: \n65: # Arrange\n66: source_markdown = \"\"\"## ``this`` is a fun day\"\"\"\n67: expected_tokens = [\n68: \"[atx(1,1):2:0:]\",\n69: \"[text(1,4)::\\a \\a\\x03\\a]\",\n70: \"[icode-span(1,4):this:``::]\",\n71: \"[text(1,12): is a fun day:]\",\n72: \"[end-atx::]\",\n73: ]\n74: expected_gfm = \"\"\"

this is a fun day

\"\"\"\n75: \n76: # Act & Assert\n77: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n78: \n79: \n80: @pytest.mark.gfm\n81: def test_atx_headings_extra_5():\n82: \"\"\"\n83: Test case extra 5: ATX headings string starting with a character reference.\n84: \"\"\"\n85: \n86: # Arrange\n87: source_markdown = \"\"\"## & the band played on\"\"\"\n88: expected_tokens = [\n89: \"[atx(1,1):2:0:]\",\n90: \"[text(1,4):\\a&\\a\\a&\\a&\\a\\a the band played on: ]\",\n91: \"[end-atx::]\",\n92: ]\n93: expected_gfm = \"\"\"

& the band played on

\"\"\"\n94: \n95: # Act & Assert\n96: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n97: \n98: \n99: @pytest.mark.gfm\n100: def test_atx_headings_extra_6():\n101: \"\"\"\n102: Test case extra 6: ATX headings string starting with a raw html block.\n103: \"\"\"\n104: \n105: # Arrange\n106: source_markdown = \"\"\"## , really\"\"\"\n107: expected_tokens = [\n108: \"[atx(1,1):2:0:]\",\n109: \"[text(1,4)::\\a \\a\\x03\\a]\",\n110: \"[raw-html(1,4):there it='is']\",\n111: \"[text(1,19):, really:]\",\n112: \"[end-atx::]\",\n113: ]\n114: expected_gfm = \"\"\"

, really

\"\"\"\n115: \n116: # Act & Assert\n117: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n118: \n119: \n120: @pytest.mark.gfm\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1094__sDRQ9W4:80"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr1100__pohm3Eu:57","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1100__pohm3Eu:57"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr1105__wjYQszH:70","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1105__wjYQszH:70"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr1128__5LXgqSr:54","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1128__5LXgqSr:54"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":259,"content_sha256":"1def63c1f375038f6d96659471a8adfe2b409c364268691a57aee0f6198517ea","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"1e60e92eb86fd9aef1a72ce22cfc8e30ac4d2f6a84a63392c73ff4749a4ca8e2","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr1129__s6UqdrH:81","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1129__s6UqdrH:81"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5929,"content_sha256":"441c37e8f8d60e50972a5d72c732badd77a80935a37c329018412bcaafb7cdd6","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":814,"sha256":"a3530adb4579883881145037484f8f1fbcba92ed29cf29e8c1c0e9984a03f95d","start_line":749,"truncated":true},"content_sha256":"994df8853253e8387fe664f9b91728db8fd8baf76075d2693060b2649378584d","end_line":907,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pymarkdown/block_quotes/block_quote_processor.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"46e840c9118eaafc18b3ae6a0168b8842c7ec7a3609ec3a88b59afc33269b91b","reference_window":{"end_line":815,"sha256":"3dc819fd5cf2c0c35600cf88d6fde9cc082dcd265dd052e2a1c45f8036198b82","start_line":747,"truncated":true},"start_line":721,"truncated":true}],"item_id":"jackdewinter_pymarkdown_pr1136__SK7w3hh:44","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown/block_quotes/block_quote_processor.py, reference lines 721-907\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n747: int,\n748: Optional[str],\n749: bool,\n750: Optional[RequeueLineInfo],\n751: bool,\n752: ]:\n753: POGGER.debug(\n754: \"__handle_block_quote_section---block_quote_data.current_count--$--$--$--\",\n755: block_quote_data.current_count,\n756: start_index,\n757: line_to_parse,\n758: )\n759: POGGER.debug(\n760: \"ORIG-->WS[$]--SI[$]--[$]\",\n761: extracted_whitespace,\n762: original_start_index,\n763: parser_state.original_line_to_parse,\n764: )\n765: POGGER.debug(\"NOW -->SI[$]--[$]\", start_index, line_to_parse)\n766: \n767: if container_start_bq_count:\n768: POGGER.debug(\n769: \">>block_quote_data.current_count>>$\", block_quote_data.current_count\n770: )\n771: block_quote_data = BlockQuoteData(\n772: block_quote_data.current_count + container_start_bq_count,\n773: block_quote_data.stack_count,\n774: )\n775: \n776: process_fenced_block = parser_state.token_stack[-1].is_fenced_code_block\n777: if (\n778: process_fenced_block\n779: and block_quote_data.current_count < block_quote_data.stack_count\n780: ):\n781: process_fenced_block, stack_index = (\n782: BlockQuoteProcessor.__handle_existing_block_quote_fenced_special(\n783: parser_state, start_index, block_quote_data\n784: )\n785: )\n786: if not process_fenced_block:\n787: return BlockQuoteProcessor.__handle_existing_block_quote_fenced_special_part_two(\n788: parser_state,\n789: stack_index,\n790: line_to_parse,\n791: start_index,\n792: block_quote_data,\n793: leaf_tokens,\n794: container_level_tokens,\n795: avoid_block_starts,\n796: )\n797: if not process_fenced_block:\n798: return BlockQuoteNonFencedHelper.handle_non_fenced_code_section(\n799: parser_state,\n800: block_quote_data,\n801: extracted_whitespace,\n802: position_marker,\n803: original_start_index,\n804: container_start_bq_count,\n805: line_to_parse,\n806: start_index,\n807: leaf_tokens,\n808: original_line,\n809: last_block_quote_index,\n810: avoid_block_starts,\n811: )\n812: \n813: (\n814: block_quote_data,\n815: line_to_parse,\n[window truncated; visible lines 747-815]\nCandidate text preview (unexecuted):\n749: bool,\n750: Optional[RequeueLineInfo],\n751: bool,\n752: ]:\n753: POGGER.debug(\n754: \"__handle_block_quote_section---block_quote_data.current_count--$--$--$--\",\n755: block_quote_data.current_count,\n756: start_index,\n757: line_to_parse,\n758: )\n759: POGGER.debug(\n760: \"ORIG-->WS[$]--SI[$]--[$]\",\n761: extracted_whitespace,\n762: original_start_index,\n763: parser_state.original_line_to_parse,\n764: )\n765: POGGER.debug(\"NOW -->SI[$]--[$]\", start_index, line_to_parse)\n766: \n767: if container_start_bq_count:\n768: POGGER.debug(\n769: \">>block_quote_data.current_count>>$\", block_quote_data.current_count\n770: )\n771: block_quote_data = BlockQuoteData(\n772: block_quote_data.current_count + container_start_bq_count,\n773: block_quote_data.stack_count,\n774: )\n775: \n776: process_fenced_block = parser_state.token_stack[-1].is_fenced_code_block\n777: if (\n778: process_fenced_block\n779: and block_quote_data.current_count < block_quote_data.stack_count\n780: ):\n781: xprocess_fenced_block, xstack_index = (\n782: BlockQuoteProcessor.__handle_existing_block_quote_fenced_special(\n783: parser_state, start_index, block_quote_data\n784: )\n785: )\n786: if not xprocess_fenced_block:\n787: try:\n788: return BlockQuoteProcessor.__handle_existing_block_quote_fenced_special_part_two(\n789: parser_state,\n790: xstack_index,\n791: line_to_parse,\n792: start_index,\n793: block_quote_data,\n794: leaf_tokens,\n795: container_level_tokens,\n796: avoid_block_starts,\n797: )\n798: except ValueError as this_exception:\n799: POGGER.debug(f\"escaped special handling due to: {this_exception}\")\n800: \n801: return BlockQuoteProcessor.__handlers(\n802: process_fenced_block,\n803: parser_state,\n804: block_quote_data,\n805: extracted_whitespace,\n806: position_marker,\n807: original_start_index,\n808: container_start_bq_count,\n809: line_to_parse,\n810: start_index,\n811: leaf_tokens,\n812: original_line,\n813: last_block_quote_index,\n814: avoid_block_starts,\n[window truncated; visible lines 749-814]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1136__SK7w3hh:44"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5891,"content_sha256":"8ea74e69e75515bded2f893222503d50bd06f2cec32f9722ffd26d1fbb6307a0","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":204,"sha256":"e048a6a02ba51126670ff0acd96d080476decc84240b2e4255fd5f467f2f2e02","start_line":137,"truncated":true},"content_sha256":"0d1c25e93de9661364f770f75aa4cd6371058e14f8a1ccca01abd3bf2bcbd4c2","end_line":238,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pymarkdown/transform_markdown/transform_containers.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"e52dfb9d36fa8ac5741021a29331eb11f5220d6cc26a2e1bde5b7a549b07d37f","reference_window":{"end_line":203,"sha256":"17ff9ef6a9c67b5013cc79572e06a108f7b880aeed9c8b3977efb020f39cea13","start_line":137,"truncated":true},"start_line":110,"truncated":true}],"item_id":"jackdewinter_pymarkdown_pr1195__Gp22ps4:33","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown/transform_markdown/transform_containers.py, reference lines 110-238\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n137: def __apply_line_transformation(\n138: did_move_ahead: bool,\n139: token_stack: List[MarkdownToken],\n140: container_token_indices: List[int],\n141: current_changed_record: Optional[MarkdownChangeRecord],\n142: container_line: str,\n143: actual_tokens: List[MarkdownToken],\n144: removed_tokens: List[MarkdownToken],\n145: removed_token_indices: List[int],\n146: base_line_number: int,\n147: delta_line: int,\n148: is_in_multiline_paragraph: bool,\n149: ) -> str:\n150: \n151: container_line_old = container_line\n152: token_stack_copy = token_stack[:]\n153: removed_tokens_copy = removed_tokens[:]\n154: container_token_indices_copy = container_token_indices[:]\n155: removed_token_indices_copy = removed_token_indices[:]\n156: (\n157: last_container_token_index,\n158: applied_leading_spaces_to_start_of_container_line,\n159: container_line,\n160: did_adjust_due_to_block_quote_start,\n161: ) = TransformContainers.__apply_primary_transformation(\n162: did_move_ahead,\n163: token_stack,\n164: container_token_indices,\n165: current_changed_record,\n166: container_line,\n167: actual_tokens,\n168: )\n169: \n170: container_line, block_me = TransformContainers.__adjust_for_list(\n171: token_stack,\n172: applied_leading_spaces_to_start_of_container_line,\n173: container_token_indices,\n174: container_line,\n175: removed_tokens,\n176: removed_token_indices,\n177: current_changed_record,\n178: )\n179: container_line = TransformContainers.__adjust_for_block_quote(\n180: token_stack,\n181: applied_leading_spaces_to_start_of_container_line,\n182: container_line,\n183: container_token_indices,\n184: base_line_number + delta_line,\n185: did_adjust_due_to_block_quote_start,\n186: is_in_multiline_paragraph,\n187: removed_tokens,\n188: removed_token_indices,\n189: container_line_old,\n190: )\n191: \n192: TransformContainers.__adjust_state_for_element(\n193: token_stack,\n194: container_token_indices,\n195: did_move_ahead,\n196: current_changed_record,\n197: last_container_token_index,\n198: removed_tokens,\n199: removed_token_indices,\n200: block_me,\n201: )\n202: \n203: container_token_indices_copy_length = len(container_token_indices_copy)\n[window truncated; visible lines 137-203]\nCandidate text preview (unexecuted):\n137: def __apply_line_transformation(\n138: did_move_ahead: bool,\n139: token_stack: List[MarkdownToken],\n140: container_token_indices: List[int],\n141: current_changed_record: Optional[MarkdownChangeRecord],\n142: container_line: str,\n143: actual_tokens: List[MarkdownToken],\n144: removed_tokens: List[MarkdownToken],\n145: removed_token_indices: List[int],\n146: base_line_number: int,\n147: delta_line: int,\n148: is_in_multiline_paragraph: bool,\n149: ) -> str:\n150: \n151: container_line_old = container_line\n152: token_stack_copy = token_stack[:]\n153: removed_tokens_copy = removed_tokens[:]\n154: container_token_indices_copy = container_token_indices[:]\n155: removed_token_indices_copy = removed_token_indices[:]\n156: (\n157: last_container_token_index,\n158: applied_leading_spaces_to_start_of_container_line,\n159: container_line,\n160: did_adjust_due_to_block_quote_start,\n161: ) = TransformContainers.__apply_primary_transformation(\n162: did_move_ahead,\n163: token_stack,\n164: container_token_indices,\n165: current_changed_record,\n166: container_line,\n167: actual_tokens,\n168: )\n169: \n170: container_line, block_me = TransformContainers.__adjust_for_list(\n171: token_stack,\n172: applied_leading_spaces_to_start_of_container_line,\n173: container_token_indices,\n174: container_line,\n175: container_line_old,\n176: removed_tokens,\n177: removed_token_indices,\n178: current_changed_record,\n179: )\n180: container_line = TransformContainers.__adjust_for_block_quote(\n181: token_stack,\n182: applied_leading_spaces_to_start_of_container_line,\n183: container_line,\n184: container_token_indices,\n185: base_line_number + delta_line,\n186: did_adjust_due_to_block_quote_start,\n187: is_in_multiline_paragraph,\n188: removed_tokens,\n189: removed_token_indices,\n190: container_line_old,\n191: )\n192: \n193: TransformContainers.__adjust_state_for_element(\n194: token_stack,\n195: container_token_indices,\n196: did_move_ahead,\n197: current_changed_record,\n198: last_container_token_index,\n199: removed_tokens,\n200: removed_token_indices,\n201: block_me,\n202: )\n203: \n204: container_token_indices_copy_length = len(container_token_indices_copy)\n[window truncated; visible lines 137-204]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1195__Gp22ps4:33"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":454,"content_sha256":"8d80f6c4a2b3123dbe1bff23f4e20d23b29c9567ace4d1caed210162b5d41a34","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"0354dd65c6167e4a7f0750027706fec08f651845da1ddef330929670ca559858","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"package.json","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr1251__LWLHYQp:0","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/package.json, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1251__LWLHYQp:0"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":259,"content_sha256":"1def63c1f375038f6d96659471a8adfe2b409c364268691a57aee0f6198517ea","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"1e60e92eb86fd9aef1a72ce22cfc8e30ac4d2f6a84a63392c73ff4749a4ca8e2","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr1408__3Uq6sWd:28","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1408__3Uq6sWd:28"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":643,"content_sha256":"efba3146fdd640781786dea536f3345be9671a228f583b4d69ba226f3f54794e","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"78d73f24ac8297ee356ae6616d6c1cdc0418df68843152a46aaa76c7f4dbb671","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"4637dcb048c7fd9a24be5e2485651727a49ec46846c0478b74efba106cd34dba","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown/parser","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr1457__fpz3CMt:1","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/pymarkdown/parser, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1457__fpz3CMt:1"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr1465__RhvWzZq:29","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1465__RhvWzZq:29"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr1483__mpkY4sv:22","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr1483__mpkY4sv:22"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr274__5xdc7K7:5","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr274__5xdc7K7:5"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr291__xXKKofF:5","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr291__xXKKofF:5"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr433__c6t8BVG:43","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr433__c6t8BVG:43"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr462__zv4gDop:15","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr462__zv4gDop:15"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr466__pmJG7ri:23","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr466__pmJG7ri:23"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr472__DeBtNkM:8","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr472__DeBtNkM:8"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr481__ZmQ4pcU:51","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr481__ZmQ4pcU:51"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr487__ofZXzv2:18","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr487__ofZXzv2:18"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5927,"content_sha256":"e562e6a06c9cf151b5733c07109b22dc4b2e3703625ae56ab6a936949464bf98","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":418,"sha256":"89b271a9a501caa49f46b076de62fe44b6dce3f51d720f417f8a381a2d082861","start_line":350,"truncated":true},"content_sha256":"3f04589a0e1bf6730e7a0b6a396534817c11ff180bf763ead1e735b017ede880","end_line":453,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pymarkdown/container_block_leaf_processor.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"15d4c8c471a3c20b430d168eb9f2cd70d1692482217352c4dbab87a79c859c07","reference_window":{"end_line":418,"sha256":"a513cad278924c144c240f507669c9785ab56cef5b69be6fb4542a654030f417","start_line":350,"truncated":true},"start_line":324,"truncated":true}],"item_id":"jackdewinter_pymarkdown_pr508__r65tYuE:83","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown/container_block_leaf_processor.py, reference lines 324-453\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n350: position_marker,\n351: )\n352: assert html_tokens\n353: new_tokens.extend(html_tokens)\n354: outer_processed = True\n355: else:\n356: POGGER.debug(\">>html not encountered>>\")\n357: \n358: return outer_processed\n359: \n360: @staticmethod\n361: def __handle_fenced_code_block(\n362: parser_state: ParserState,\n363: position_marker: PositionMarker,\n364: leaf_token_whitespace: Optional[str],\n365: new_tokens: List[MarkdownToken],\n366: original_line: str,\n367: ) -> bool:\n368: \"\"\"\n369: Take care of the processing for fenced code blocks.\n370: \"\"\"\n371: if parser_state.token_stack[-1].was_link_definition_started:\n372: return False\n373: \n374: POGGER.debug(\">>__handle_fenced_code_block>>start\")\n375: (\n376: fenced_tokens,\n377: leaf_token_whitespace,\n378: ) = LeafBlockProcessor.parse_fenced_code_block(\n379: parser_state, position_marker, leaf_token_whitespace, original_line\n380: )\n381: if fenced_tokens:\n382: new_tokens.extend(fenced_tokens)\n383: POGGER.debug(\">>new_tokens>>$\", new_tokens)\n384: elif parser_state.token_stack[-1].is_fenced_code_block:\n385: assert leaf_token_whitespace is not None\n386: new_tokens.append(\n387: TextMarkdownToken(\n388: position_marker.text_to_parse[position_marker.index_number :],\n389: leaf_token_whitespace,\n390: position_marker=position_marker,\n391: )\n392: )\n393: POGGER.debug(\">>new_tokens>>$\", new_tokens)\n394: else:\n395: return False\n396: return True\n397: \n398: @staticmethod\n399: def __close_indented_block_if_indent_not_there(\n400: parser_state: ParserState, leaf_token_whitespace: Optional[str]\n401: ) -> List[MarkdownToken]:\n402: \n403: POGGER.debug(\n404: \"__close_indented_block_if_indent_not_there>>$>\",\n405: parser_state.token_stack[-1],\n406: )\n407: POGGER.debug(\"leaf_token_whitespace>>$>\", leaf_token_whitespace)\n408: pre_tokens: List[MarkdownToken] = []\n409: assert leaf_token_whitespace is not None\n410: if parser_state.token_stack[\n411: -1\n412: ].is_indented_code_block and ParserHelper.is_length_less_than_or_equal_to(\n413: leaf_token_whitespace, 3\n414: ):\n415: pre_tokens.append(\n416: parser_state.token_stack[\n417: -1\n418: ].generate_close_markdown_token_from_stack_token()\n[window truncated; visible lines 350-418]\nCandidate text preview (unexecuted):\n350: position_marker,\n351: )\n352: assert html_tokens\n353: new_tokens.extend(html_tokens)\n354: outer_processed = True\n355: else:\n356: POGGER.debug(\">>html not encountered>>\")\n357: \n358: return outer_processed\n359: \n360: @staticmethod\n361: def __handle_fenced_code_block(\n362: parser_state: ParserState,\n363: position_marker: PositionMarker,\n364: leaf_token_whitespace: Optional[str],\n365: new_tokens: List[MarkdownToken],\n366: original_line: str,\n367: ) -> bool:\n368: \"\"\"\n369: Take care of the processing for fenced code blocks.\n370: \"\"\"\n371: if parser_state.token_stack[-1].was_link_definition_started:\n372: return False\n373: \n374: POGGER.debug(\">>__handle_fenced_code_block>>start\")\n375: (\n376: fenced_tokens,\n377: leaf_token_whitespace,\n378: ) = LeafBlockProcessor.parse_fenced_code_block(\n379: parser_state, position_marker, leaf_token_whitespace, original_line\n380: )\n381: if fenced_tokens:\n382: new_tokens.extend(fenced_tokens)\n383: POGGER.debug(\">>new_tokens>>$\", new_tokens)\n384: elif parser_state.token_stack[-1].is_fenced_code_block:\n385: assert leaf_token_whitespace is not None\n386: (\n387: content_text,\n388: content_whitespace,\n389: ) = ContainerBlockLeafProcessor.__extract_fenced_code_block_content(\n390: position_marker, leaf_token_whitespace, original_line\n391: )\n392: new_tokens.append(\n393: TextMarkdownToken(\n394: content_text,\n395: content_whitespace,\n396: position_marker=position_marker,\n397: )\n398: )\n399: POGGER.debug(\">>new_tokens>>$\", new_tokens)\n400: else:\n401: return False\n402: return True\n403: \n404: @staticmethod\n405: def __close_indented_block_if_indent_not_there(\n406: parser_state: ParserState, leaf_token_whitespace: Optional[str]\n407: ) -> List[MarkdownToken]:\n408: \n409: POGGER.debug(\n410: \"__close_indented_block_if_indent_not_there>>$>\",\n411: parser_state.token_stack[-1],\n412: )\n413: POGGER.debug(\"leaf_token_whitespace>>$>\", leaf_token_whitespace)\n414: pre_tokens: List[MarkdownToken] = []\n415: assert leaf_token_whitespace is not None\n416: if parser_state.token_stack[\n417: -1\n418: ].is_indented_code_block and ParserHelper.is_length_less_than_or_equal_to(\n[window truncated; visible lines 350-418]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr508__r65tYuE:83"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":651,"content_sha256":"82344c83b694b84c4086a042344d6a24d8b481735e997daa2e891217bb9f3282","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"78d73f24ac8297ee356ae6616d6c1cdc0418df68843152a46aaa76c7f4dbb671","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"1c5b450c825d4536c9e21fdb7f4df5c1c6b10423e76c9e14f18a26dcdf90a823","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown/parser*","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"a5878a3f3c21cd5da3512d8f94ad410824da017ff4510e35dbffaf8099545131","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown/inline*","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr511__ATVEeXC:1","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/pymarkdown/parser*, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/pymarkdown/inline*, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr511__ATVEeXC:1"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":6091,"content_sha256":"bde539f4ddc5f795a6e646d532706f9e6ed79a3c43735973d88dfd5aa7ea9788","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"efe59be46585f240ec3fbc9e77ab99b2fa0bae0dfc251c3b283be2899647b4f5","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"README.md","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"53db2e21ee8f2614e33bfa743989d73aa21bfdffec2b436133b0ae511e1dea87","reference_window":{"end_line":55,"sha256":"6e19f7125e18b5c36f48dfa58b285aff561763d807a26b5a913cc62c456b073e","start_line":1,"truncated":true},"start_line":1,"truncated":true},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr515__DCYyzL7:0","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/README.md, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: # PyMarkdown\n2: \n3: | | |\n4: |---|---|\n5: |Project|[![Version](https://img.shields.io/pypi/v/pymarkdownlnt.svg)](https://pypi.org/project/pymarkdownlnt) [![Python Versions](https://img.shields.io/pypi/pyversions/pymarkdownlnt.svg)](https://pypi.org/project/pymarkdownlnt) ![platforms](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux-lightgrey) [![License](https://img.shields.io/github/license/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/blob/main/LICENSE.txt) [![GitHub top language](https://img.shields.io/github/languages/top/jackdewinter/pymarkdown)](https://github.com/jackdewinter/pymarkdown)|\n6: |Quality|[![GitHub Workflow Status (event)](https://img.shields.io/github/workflow/status/jackdewinter/pymarkdown/Main)](https://github.com/jackdewinter/pymarkdown/actions/workflows/main.yml) [![Issues](https://img.shields.io/github/issues/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/issues) [![codecov](https://codecov.io/gh/jackdewinter/pymarkdown/branch/main/graph/badge.svg?token=PD5TKS8NQQ)](https://codecov.io/gh/jackdewinter/pymarkdown) [![Sourcery](https://img.shields.io/badge/Sourcery-enabled-brightgreen)](https://sourcery.ai) ![snyk](https://img.shields.io/snyk/vulnerabilities/github/jackdewinter/pymarkdown) |\n7: | |![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/black/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/flake8/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/pylint/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/mypy/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/pyroma/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/pre-commit/main)|\n8: |Community|[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/jackdewinter/pymarkdown/graphs/commit-activity) [![Stars](https://img.shields.io/github/stars/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/stargazers) [![Forks](https://img.shields.io/github/forks/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/network/members) [![Contributors](https://img.shields.io/github/contributors/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/graphs/contributors) [![Downloads](https://img.shields.io/pypi/dm/project_summarizer.svg)](https://pypistats.org/packages/project_summarizer)|\n9: |Maintainers|[![LinkedIn](https://img.shields.io/badge/-LinkedIn-black.svg?logo=linkedin&colorB=555)](https://www.linkedin.com/in/jackdewinter/)|\n10: \n11: PyMarkdown is primarily a Markdown Linter. To ensure that the Markdown\n12: [linting](https://en.wikipedia.org/wiki/Lint_%28software%29)\n13: is accomplished successfully, the rules engine that powers the linter\n14: uses a Markdown parser that is both\n15: [GitHub Flavored Markdown](https://github.github.com/gfm/)\n16: compliant and\n17: [CommonMark](https://spec.commonmark.org/)\n18: compliant. The rules provided in the base application can be easily extended\n19: by writing new plugins and importing them into the rules engine through simple\n20: configuration options.\n21: \n22: The PyMarkdown project has the following advantages:\n23: \n24: - Consistency\n25: - This project can examine multiple files and directories with one invocation,\n26: ensuring that all detected Markdown files adhere to the same guidelines.\n27: - Portable\n28: - The linter runs on any system running Python 3.8 or later, with no modifications.\n29: - Standardized\n30: - The parser that powers the linter is GitHub Flavored Markdown (GFM) compliant.\n31: Due to that foundation, the parser does not guess how some parsers may handle\n32: a given situation, as it has a clear set of rules to follow.\n33: - Accurate\n34: - The parser passes all GFM conformance tests and CommonMark conformance tests. In\n35: test scenarios that were not present in either set of tests, the CommonMark\n36: 0.29.2 release was used to determine the correct parsing.\n37: - Flexible\n38: - Each Markdown document is parsed into an internal token format. Most of the rules\n39: and made more efficient by leveraging this token format. Where that is not possible,\n40: simple regular expressions and simple algorithms are used on a line-by-line basis.\n41: - Thoroughly tested\n42: - The project currently has over 4100 scenario tests and a coverage percentage of 100%.\n43: - Extensible\n44: - The parser for the project adheres to the GFM specification and most of\n45: the rules for the parser leverage the tokens produced by that parser. The\n46: [rules](/docs/rules.md) themselves are plugins, so they are extensible by default.\n47: The parser itself will be extended as needed to provide for other Markdown\n48: [extensions](/docs/extensions.md) as needed.\n49: - Versatile\n50: - The PyMarkdown linter can be executed from a script on the command line,\n51: from within another Python program, or using the popular Git Pre-Commit hooks.\n52: \n53: ## Note\n54: \n55: This project is currently in beta, and some of these documented things\n[window truncated; visible lines 1-55]\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr515__DCYyzL7:0"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3767,"content_sha256":"a538cfc6285ce0535fe80ea14979c707c292ff1d1be8dc9f54aeb87a281956e3","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"f4c1acfa6631333c25e0b767cb3c99fb49463d61442137472b8577137c3e3937","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test/gfm/test_markdown_whitespaces.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"52587cc545fa65ceecd905c6711af920f95fbcb30fdca090cc7f07c01f65d606","reference_window":{"end_line":120,"sha256":"f6a299b5f7545b6e3bd90fcc87a504a1c0e9a9661cd2135813e2b73461783b97","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr518__NyWfVx7:54","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/gfm/test_markdown_whitespaces.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: \"\"\"\n2: https://github.com/jackdewinter/pymarkdown/issues/456\n3: \"\"\"\n4: from test.utils import act_and_assert\n5: \n6: import pytest\n7: \n8: \n9: @pytest.mark.gfm\n10: def test_whitespaces_block_quotes_with_spaces():\n11: \"\"\"\n12: Test case: Block quotes preceeded by spaces.\n13: \"\"\"\n14: \n15: # Arrange\n16: source_markdown = \"\"\" > block quote\"\"\"\n17: expected_tokens = [\n18: \"[block-quote(1,4): : > ]\",\n19: \"[para(1,6):]\",\n20: \"[text(1,6):block quote:]\",\n21: \"[end-para:::True]\",\n22: \"[end-block-quote:::True]\",\n23: ]\n24: expected_gfm = \"\"\"
\n25:

block quote

\n26:
\"\"\"\n27: \n28: # Act & Assert\n29: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n30: \n31: \n32: @pytest.mark.gfm\n33: def test_whitespaces_block_quotes_with_tabs():\n34: \"\"\"\n35: Test case: Block quotes preceeded by spaces and tabs.\n36: \"\"\"\n37: \n38: # Arrange\n39: source_markdown = \"\"\" > block quote\n40: >\\t> another block quote\"\"\"\n41: expected_tokens = [\n42: \"[block-quote(1,2): : > \\n > ]\",\n43: \"[para(1,4):]\",\n44: \"[text(1,4):block quote:]\",\n45: \"[end-para:::True]\",\n46: \"[block-quote(2,5):: > > ]\",\n47: \"[para(2,7):]\",\n48: \"[text(2,7):another block quote:]\",\n49: \"[end-para:::True]\",\n50: \"[end-block-quote:::True]\",\n51: \"[end-block-quote:::True]\",\n52: ]\n53: expected_gfm = \"\"\"
\n54:

block quote

\n55:
\n56:

another block quote

\n57:
\n58:
\"\"\"\n59: \n60: # Act & Assert\n61: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n62: \n63: \n64: @pytest.mark.gfm\n65: def test_whitespaces_block_quotes_with_tabs_2():\n66: \"\"\"\n67: Test case: Block quotes preceeded by spaces and tabs.\n68: \"\"\"\n69: \n70: # Arrange\n71: source_markdown = \"\"\" > block quote\n72: >\\t> another block quote\n73: >\\t> same block quote\"\"\"\n74: expected_tokens = [\n75: \"[block-quote(1,2): : > \\n > ]\",\n76: \"[para(1,4):]\",\n77: \"[text(1,4):block quote:]\",\n78: \"[end-para:::True]\",\n79: \"[block-quote(2,5):: > > \\n > > ]\",\n80: \"[para(2,7):\\n]\",\n81: \"[text(2,7):another block quote\\nsame block quote::\\n]\",\n82: \"[end-para:::True]\",\n83: \"[end-block-quote:::True]\",\n84: \"[end-block-quote:::True]\",\n85: ]\n86: expected_gfm = \"\"\"
\n87:

block quote

\n88:
\n89:

another block quote\n90: same block quote

\n91:
\n92:
\"\"\"\n93: \n94: # Act & Assert\n95: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n96: \n97: \n98: @pytest.mark.gfm\n99: def test_whitespaces_block_quotes_with_form_feeds():\n100: \"\"\"\n101: Test case: Block quotes preceeded by spaces and form feeds (ascii whitespace).\n102: \"\"\"\n103: \n104: # Arrange\n105: source_markdown = \"\"\" > block quote\n106: >\\u000C> another block quote\"\"\"\n107: expected_tokens = [\n108: \"[block-quote(1,2): : > \\n >]\",\n109: \"[para(1,4):\\n]\",\n110: \"[text(1,4):block quote\\n\\u000C\\a>\\a>\\a another block quote::\\n]\",\n111: \"[end-para:::True]\",\n112: \"[end-block-quote:::True]\",\n113: ]\n114: expected_gfm = \"\"\"
\n115:

block quote\n116: \\u000C> another block quote

\n117:
\"\"\"\n118: \n119: # Act & Assert\n120: act_and_assert(source_markdown, expected_gfm, expected_tokens)\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr518__NyWfVx7:54"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":297,"content_sha256":"880a9c3ffe905fc40bb72dbb97a9c475f6faffc217322120fdc9534451dc1865","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"a691950ec500d465955ed6916583071d643d4b43e58220f4def83e5eea8e5fe8","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"Case 3: > abc / > > def / > \\tindented:","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr528__8yy5rkb:11","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/Case 3: > abc / > > def / > \\tindented:, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr528__8yy5rkb:11"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":267,"content_sha256":"b3b20543211abe94b946b287e1809229a5ff947831d579c4075ddb570e92e0c4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr533__MmYQcd5:14","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr533__MmYQcd5:14"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr559__GkxSZj4:10","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr559__GkxSZj4:10"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5886,"content_sha256":"79647a591942c0e0b14e1b43f5f4dda30c22c8d62b60580e8a3c86792effaeb7","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":75,"sha256":"91b169bd145740fe184289cdb19afb065b44c833e6d8a19a83db6d2cb3f6ca42","start_line":19,"truncated":true},"content_sha256":"23ade1522502d28ab0f75bfc191fb54ed52230c8cf79850cc3d0327fd961ec10","end_line":121,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pymarkdown/tab_helper.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"cd0c4ebaf11a87f8684a4240538bf6cd1576ad57124bc46f9c42886f9bf55b67","reference_window":{"end_line":79,"sha256":"d78e9808335e28a1593c0fbea0805deaea410f3be7c5f3876a1aa6ec2a5b4ac7","start_line":16,"truncated":true},"start_line":1,"truncated":true}],"item_id":"jackdewinter_pymarkdown_pr619__U6yhQ36:51","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown/tab_helper.py, reference lines 1-121\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n16: \n17: \n18: class TabHelper:\n19: \"\"\"\n20: Class to provide helper functions for reintergrating tabs.\n21: \"\"\"\n22: \n23: @staticmethod\n24: def parse_thematic_break_with_tab(\n25: original_line: str, token_text: str, extracted_whitespace: Optional[str]\n26: ) -> Tuple[str, bool, Optional[str]]:\n27: \"\"\"\n28: Generic type of algorithm to deal with tabs, in this case, used by thematic breaks\n29: and HTML blocks.\n30: \"\"\"\n31: \n32: # LOGGER.debug(\"original_line>>:%s:<\", ParserHelper.ParserHelper.make_whitespace_visible((original_line))\n33: # LOGGER.debug(\"token_text>>:%s:<\", ParserHelper.make_value_visible(token_text))\n34: # LOGGER.debug(\"extracted_whitespace>>:%s:<\", ParserHelper.make_value_visible(extracted_whitespace))\n35: (\n36: tabified_token_text,\n37: _,\n38: tabified_token_text_index,\n39: ) = TabHelper.find_detabify_string(\n40: original_line, token_text, use_proper_traverse=True\n41: )\n42: # LOGGER.debug(\"tabified_token_text>>:%s:<\", ParserHelper.make_value_visible(tabified_token_text))\n43: # LOGGER.debug(\"tabified_token_text_index>>:%d:<\", tabified_token_text_index)\n44: assert tabified_token_text_index != -1\n45: assert tabified_token_text is not None\n46: \n47: tabified_leading_spaces = original_line[:tabified_token_text_index]\n48: # POGGER.debug(\"tabified_leading_spaces>>:$:<\", tabified_leading_spaces)\n49: tabified_suffix = extracted_whitespace\n50: \n51: split_tab = False\n52: if len(tabified_leading_spaces) > 0:\n53: assert extracted_whitespace is not None\n54: (\n55: _,\n56: tabified_suffix,\n57: split_tab,\n58: ) = TabHelper.match_tabbed_whitespace(\n59: extracted_whitespace, tabified_leading_spaces\n60: )\n61: return tabified_token_text, split_tab, tabified_suffix\n62: \n63: @staticmethod\n64: def match_tabbed_whitespace(\n65: extracted_whitespace: str, corrected_extracted_whitespace: str\n66: ) -> Tuple[str, str, bool]:\n67: \"\"\"\n68: Match any tabbed whitespace with its non-tabbed counterpart.\n69: \"\"\"\n70: assert corrected_extracted_whitespace != \"\"\n71: detabified_suffix = \"\"\n72: detabified_prefix = \"\"\n73: corrected_prefix = \"\"\n74: corrected_suffix = corrected_extracted_whitespace\n75: index_from_end = len(corrected_extracted_whitespace) - 1\n76: have_been_inside_loop = False\n77: while index_from_end >= 0 and len(detabified_suffix) < len(\n78: extracted_whitespace\n79: ):\n[window truncated; visible lines 16-79]\nCandidate text preview (unexecuted):\n19: \"\"\"\n20: Class to provide helper functions for reintergrating tabs.\n21: \"\"\"\n22: \n23: @staticmethod\n24: def parse_thematic_break_with_tab(\n25: original_line: str, token_text: str, extracted_whitespace: Optional[str]\n26: ) -> Tuple[str, bool, Optional[str]]:\n27: \"\"\"\n28: Generic type of algorithm to deal with tabs, in this case, used by thematic breaks\n29: and HTML blocks.\n30: \"\"\"\n31: \n32: # LOGGER.debug(\"original_line>>:%s:<\", ParserHelper.ParserHelper.make_whitespace_visible((original_line))\n33: # LOGGER.debug(\"token_text>>:%s:<\", ParserHelper.make_value_visible(token_text))\n34: # LOGGER.debug(\"extracted_whitespace>>:%s:<\", ParserHelper.make_value_visible(extracted_whitespace))\n35: (\n36: tabified_token_text,\n37: _,\n38: tabified_token_text_index,\n39: ) = TabHelper.find_detabify_string(\n40: original_line, token_text, use_proper_traverse=True\n41: )\n42: # LOGGER.debug(\"tabified_token_text>>:%s:<\", ParserHelper.make_value_visible(tabified_token_text))\n43: # LOGGER.debug(\"tabified_token_text_index>>:%d:<\", tabified_token_text_index)\n44: assert tabified_token_text_index != -1\n45: assert tabified_token_text is not None\n46: \n47: tabified_leading_spaces = original_line[:tabified_token_text_index]\n48: # POGGER.debug(\"tabified_leading_spaces>>:$:<\", tabified_leading_spaces)\n49: tabified_suffix = extracted_whitespace\n50: \n51: split_tab = False\n52: if len(tabified_leading_spaces) > 0:\n53: # The tabbed whitespace is only \"split\" when it straddles a\n54: # container marker (such as a block quote's \">\"). List markers\n55: # are handled separately and are not part of the original_line,\n56: # so for lists the leading spaces contain only whitespace and the\n57: # already-detabified extracted_whitespace is left as-is.\n58: if tabified_leading_spaces.strip():\n59: assert extracted_whitespace is not None\n60: (\n61: _,\n62: tabified_suffix,\n63: split_tab,\n64: ) = TabHelper.match_tabbed_whitespace(\n65: extracted_whitespace, tabified_leading_spaces\n66: )\n67: return tabified_token_text, split_tab, tabified_suffix\n68: \n69: @staticmethod\n70: def match_tabbed_whitespace(\n71: extracted_whitespace: str, corrected_extracted_whitespace: str\n72: ) -> Tuple[str, str, bool]:\n73: \"\"\"\n74: Match any tabbed whitespace with its non-tabbed counterpart.\n75: \"\"\"\n[window truncated; visible lines 19-75]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr619__U6yhQ36:51"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr621__VjYrWA8:54","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr621__VjYrWA8:54"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr624__BvUPUQq:8","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr624__BvUPUQq:8"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5355,"content_sha256":"77c54ec4eb2011187fe7c8a46a7f743f805f6ee0ceabb55be7bc129d5529070a","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"52a068cbbb67a84bd961bb0efa0ad233d62a627ebe234f1087bc008b2430d115","end_line":120,"note":"old_str matches=0; preview unavailable; showing first 120 lines","path":"pymarkdown/container_blocks/container_block_non_leaf_processor.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"0a144a1f9edaf496dbc0f49b8b359238aad41e50132bb0e57b7c41c53c941743","reference_window":{"end_line":120,"sha256":"a983a6be39005f64e0006c5751603c468f3ab2be232984b774ed3fc2d883d42a","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr636__dugwJsc:50","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown/container_blocks/container_block_non_leaf_processor.py, reference lines 1-120\nold_str matches=0; preview unavailable; showing first 120 lines\nReference-state content:\n1: \"\"\"\n2: Module to provide processing for the non-leaf scenarios that may contain container blocks.\n3: \"\"\"\n4: from __future__ import annotations\n5: \n6: import logging\n7: from typing import Optional, Tuple, cast\n8: \n9: from pymarkdown.block_quotes.block_quote_processor import BlockQuoteProcessor\n10: from pymarkdown.container_blocks.container_block_nested_processor import (\n11: ContainerBlockNestedProcessor,\n12: )\n13: from pymarkdown.container_blocks.container_grab_bag import ContainerGrabBag\n14: from pymarkdown.container_blocks.container_indices import ContainerIndices\n15: from pymarkdown.container_markdown_token import (\n16: BlockQuoteMarkdownToken,\n17: ListStartMarkdownToken,\n18: )\n19: from pymarkdown.leaf_blocks.leaf_block_processor_paragraph import (\n20: LeafBlockProcessorParagraph,\n21: )\n22: from pymarkdown.list_blocks.list_block_processor import ListBlockProcessor\n23: from pymarkdown.parser_helper import ParserHelper\n24: from pymarkdown.parser_logger import ParserLogger\n25: from pymarkdown.parser_state import ParserState\n26: from pymarkdown.position_marker import PositionMarker\n27: \n28: POGGER = ParserLogger(logging.getLogger(__name__))\n29: \n30: \n31: class ContainerBlockNonLeafProcessor:\n32: \"\"\"\n33: Class to provide processing for the non-leaf scenarios that may contain container blocks.\n34: \"\"\"\n35: \n36: @staticmethod\n37: def handle_non_leaf_block(\n38: parser_state: ParserState,\n39: position_marker: PositionMarker,\n40: grab_bag: ContainerGrabBag,\n41: ) -> None:\n42: # POGGER.debug(\"ttp>>:$:<\", position_marker.text_to_parse)\n43: # POGGER.debug(\"index_number>>:$:<\", position_marker.index_number)\n44: # POGGER.debug(\"index_indent>>:$:<\", position_marker.index_indent)\n45: ContainerBlockNonLeafProcessor.__handle_pre_processed_indent(\n46: parser_state,\n47: position_marker,\n48: grab_bag,\n49: )\n50: # assert grab_bag.extracted_whitespace is not None\n51: if ContainerBlockNonLeafProcessor.__look_for_override(\n52: parser_state,\n53: position_marker,\n54: grab_bag,\n55: ):\n56: ContainerBlockNonLeafProcessor.__handle_normal_containers(\n57: parser_state,\n58: position_marker,\n59: grab_bag,\n60: )\n61: \n62: @staticmethod\n63: def __handle_pre_processed_indent(\n64: parser_state: ParserState,\n65: position_marker: PositionMarker,\n66: grab_bag: ContainerGrabBag,\n67: ) -> None:\n68: assert grab_bag.extracted_whitespace is not None\n69: need_leading_whitespace_processing = (\n70: grab_bag.container_depth < (len(parser_state.token_stack) - 1)\n71: and len(grab_bag.extracted_whitespace) >= 4\n72: and not parser_state.token_stack[-1].is_html_block\n73: and not parser_state.token_stack[-1].is_fenced_code_block\n74: )\n75: need_trailing_indent_processing = (\n76: grab_bag.container_depth >= len(parser_state.token_stack) - 1\n77: and position_marker.index_number == -1\n78: )\n79: if need_trailing_indent_processing:\n80: POGGER.debug(\">>trailing_indent_processing\")\n81: ContainerBlockNonLeafProcessor.__handle_trailing_indent_with_block_quote(\n82: parser_state, grab_bag\n83: )\n84: elif need_leading_whitespace_processing:\n85: POGGER.debug(\">>leading_whitespace_preprocessing\")\n86: ContainerBlockNonLeafProcessor.__determine_leading_whitespace_preprocessing(\n87: parser_state,\n88: position_marker,\n89: grab_bag,\n90: )\n91: \n92: @staticmethod\n93: def __look_for_override(\n94: parser_state: ParserState,\n95: position_marker: PositionMarker,\n96: grab_bag: ContainerGrabBag,\n97: ) -> bool:\n98: if grab_bag.have_pre_processed_indent:\n99: (\n100: grab_bag.can_continue,\n101: grab_bag.line_to_parse,\n102: grab_bag.start_index,\n103: grab_bag.removed_chars_at_start_of_line,\n104: ) = (\n105: True,\n106: position_marker.text_to_parse[grab_bag.indent_already_processed :],\n107: grab_bag.indent_already_processed,\n108: grab_bag.indent_already_processed,\n109: )\n110: keep_processing = (\n111: not grab_bag.can_continue\n112: and not grab_bag.do_skip_containers_before_leaf_blocks\n113: )\n114: if keep_processing:\n115: last_container_stack_token = parser_state.token_stack[\n116: parser_state.find_last_container_on_stack()\n117: ]\n118: POGGER.debug(\"last_container_stack_token>>$\", last_container_stack_token)\n119: if last_container_stack_token.is_block_quote:\n120: block_token = cast(\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr636__dugwJsc:50"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5916,"content_sha256":"f903a2ef68e855af9b7ecd867188aa69eaa555eb092bf60cc52411804be0d8da","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":99,"sha256":"b078bf5ea79a31e1edd2dd9fff6a8086c4eb2034bb82caeeb054c2c7fc775ec4","start_line":37,"truncated":true},"content_sha256":"5934692b3e8a0f64ce839f91a91f2386aa25fab8b0ff5fc559ad8d6e0e35ebde","end_line":134,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pymarkdown/container_blocks/container_block_non_leaf_processor.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"0a144a1f9edaf496dbc0f49b8b359238aad41e50132bb0e57b7c41c53c941743","reference_window":{"end_line":100,"sha256":"17736b9a7004a395de2ecb9c1ff1fe02ee8228b9fb22e265e38c16da8e4658c2","start_line":36,"truncated":true},"start_line":8,"truncated":true}],"item_id":"jackdewinter_pymarkdown_pr645__Wg9YY8B:38","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown/container_blocks/container_block_non_leaf_processor.py, reference lines 8-134\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n36: @staticmethod\n37: def handle_non_leaf_block(\n38: parser_state: ParserState,\n39: position_marker: PositionMarker,\n40: grab_bag: ContainerGrabBag,\n41: ) -> None:\n42: # POGGER.debug(\"ttp>>:$:<\", position_marker.text_to_parse)\n43: # POGGER.debug(\"index_number>>:$:<\", position_marker.index_number)\n44: # POGGER.debug(\"index_indent>>:$:<\", position_marker.index_indent)\n45: ContainerBlockNonLeafProcessor.__handle_pre_processed_indent(\n46: parser_state,\n47: position_marker,\n48: grab_bag,\n49: )\n50: # assert grab_bag.extracted_whitespace is not None\n51: if ContainerBlockNonLeafProcessor.__look_for_override(\n52: parser_state,\n53: position_marker,\n54: grab_bag,\n55: ):\n56: ContainerBlockNonLeafProcessor.__handle_normal_containers(\n57: parser_state,\n58: position_marker,\n59: grab_bag,\n60: )\n61: \n62: @staticmethod\n63: def __handle_pre_processed_indent(\n64: parser_state: ParserState,\n65: position_marker: PositionMarker,\n66: grab_bag: ContainerGrabBag,\n67: ) -> None:\n68: assert grab_bag.extracted_whitespace is not None\n69: need_leading_whitespace_processing = (\n70: grab_bag.container_depth < (len(parser_state.token_stack) - 1)\n71: and len(grab_bag.extracted_whitespace) >= 4\n72: and not parser_state.token_stack[-1].is_html_block\n73: and not parser_state.token_stack[-1].is_fenced_code_block\n74: )\n75: need_trailing_indent_processing = (\n76: grab_bag.container_depth >= len(parser_state.token_stack) - 1\n77: and position_marker.index_number == -1\n78: )\n79: if need_trailing_indent_processing:\n80: POGGER.debug(\">>trailing_indent_processing\")\n81: ContainerBlockNonLeafProcessor.__handle_trailing_indent_with_block_quote(\n82: parser_state, grab_bag\n83: )\n84: elif need_leading_whitespace_processing:\n85: POGGER.debug(\">>leading_whitespace_preprocessing\")\n86: ContainerBlockNonLeafProcessor.__determine_leading_whitespace_preprocessing(\n87: parser_state,\n88: position_marker,\n89: grab_bag,\n90: )\n91: \n92: @staticmethod\n93: def __look_for_override(\n94: parser_state: ParserState,\n95: position_marker: PositionMarker,\n96: grab_bag: ContainerGrabBag,\n97: ) -> bool:\n98: if grab_bag.have_pre_processed_indent:\n99: (\n100: grab_bag.can_continue,\n[window truncated; visible lines 36-100]\nCandidate text preview (unexecuted):\n37: def handle_non_leaf_block(\n38: parser_state: ParserState,\n39: position_marker: PositionMarker,\n40: grab_bag: ContainerGrabBag,\n41: ) -> None:\n42: # POGGER.debug(\"ttp>>:$:<\", position_marker.text_to_parse)\n43: # POGGER.debug(\"index_number>>:$:<\", position_marker.index_number)\n44: # POGGER.debug(\"index_indent>>:$:<\", position_marker.index_indent)\n45: ContainerBlockNonLeafProcessor.__handle_pre_processed_indent(\n46: parser_state,\n47: position_marker,\n48: grab_bag,\n49: )\n50: # assert grab_bag.extracted_whitespace is not None\n51: if ContainerBlockNonLeafProcessor.__look_for_override(\n52: parser_state,\n53: position_marker,\n54: grab_bag,\n55: ):\n56: ContainerBlockNonLeafProcessor.__handle_normal_containers(\n57: parser_state,\n58: position_marker,\n59: grab_bag,\n60: )\n61: \n62: @staticmethod\n63: def __handle_pre_processed_indent(\n64: parser_state: ParserState,\n65: position_marker: PositionMarker,\n66: grab_bag: ContainerGrabBag,\n67: ) -> None:\n68: assert grab_bag.extracted_whitespace is not None\n69: need_leading_whitespace_processing = (\n70: grab_bag.container_depth < (len(parser_state.token_stack) - 1)\n71: and len(grab_bag.extracted_whitespace) >= 4\n72: and not parser_state.token_stack[-1].is_html_block\n73: and not parser_state.token_stack[-1].is_fenced_code_block\n74: and not parser_state.token_stack[-1].was_link_definition_started\n75: )\n76: need_trailing_indent_processing = (\n77: grab_bag.container_depth >= len(parser_state.token_stack) - 1\n78: and position_marker.index_number == -1\n79: )\n80: if need_trailing_indent_processing:\n81: POGGER.debug(\">>trailing_indent_processing\")\n82: ContainerBlockNonLeafProcessor.__handle_trailing_indent_with_block_quote(\n83: parser_state, grab_bag\n84: )\n85: elif need_leading_whitespace_processing:\n86: POGGER.debug(\">>leading_whitespace_preprocessing\")\n87: ContainerBlockNonLeafProcessor.__determine_leading_whitespace_preprocessing(\n88: parser_state,\n89: position_marker,\n90: grab_bag,\n91: )\n92: \n93: @staticmethod\n94: def __look_for_override(\n95: parser_state: ParserState,\n96: position_marker: PositionMarker,\n97: grab_bag: ContainerGrabBag,\n98: ) -> bool:\n99: if grab_bag.have_pre_processed_indent:\n[window truncated; visible lines 37-99]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr645__Wg9YY8B:38"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":13855,"content_sha256":"e846cc3a8f2d59276f1f9ed6a307e2950149e864b76a6dbbbde659198d0ee849","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"fd40575417bce560dd0f159b919cb9feec0dbba858a93618710a64d68275d912","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown/general/tab_helper.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"a37cfb300511bea4a5cc8970dbd876247f74889b216bf75c4aa4a3e31d24aaa2","reference_window":{"end_line":120,"sha256":"45a89bb5fabb8accd2b565ec4197cd015f309db84c1b8da6f6e07745e5644276","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"afc1327263c9817eaed51c55649cfaee33372bac3a73b8cdde7e5170aa206165","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown/html/html_helper.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"9fcda3c57b05edf9efde559bdbfdd4f961bd279002b53a26e77dbe98a2d8c60d","reference_window":{"end_line":120,"sha256":"7f16664a6cdf2f9e016266d054cb04f0285e660277220e7a879ba7d27bfd3343","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"093d13fe7d8201d1e55f9589af240d0743e7fb77ad9e708b7d3abae1ff83c250","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"pymarkdown/leaf_blocks/leaf_block_helper.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"4149a0fc33d098791f9091a229c82a3e11fec375f9595a040713fa5694d8bab3","reference_window":{"end_line":120,"sha256":"bf2434117e9e7cdea2e140fbe51914ca1105e49d3179dc25a5c483bd93ad2c40","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr853__AMDBcfq:40","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pymarkdown/general/tab_helper.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: \"\"\"\n2: Module to provide helper functions for reintergrating tabs.\n3: \"\"\"\n4: \n5: import logging\n6: from typing import Optional, Tuple, cast\n7: \n8: from pymarkdown.general.parser_helper import ParserHelper\n9: from pymarkdown.general.parser_state import ParserState\n10: from pymarkdown.tokens.block_quote_markdown_token import BlockQuoteMarkdownToken\n11: from pymarkdown.tokens.list_start_markdown_token import ListStartMarkdownToken\n12: \n13: LOGGER = logging.getLogger(__name__)\n14: \n15: \n16: class TabHelper:\n17: \"\"\"\n18: Class to provide helper functions for reintergrating tabs.\n19: \"\"\"\n20: \n21: @staticmethod\n22: def parse_thematic_break_with_tab(\n23: original_line: str, token_text: str, extracted_whitespace: Optional[str]\n24: ) -> Tuple[str, bool, bool, Optional[str], Optional[str]]:\n25: \"\"\"\n26: Generic type of algorithm to deal with tabs, in this case, used by thematic breaks\n27: and HTML blocks.\n28: \"\"\"\n29: \n30: LOGGER.debug(\n31: \"original_line>>:%s:<\",\n32: ParserHelper.make_whitespace_visible((original_line)),\n33: )\n34: LOGGER.debug(\"token_text>>:%s:<\", ParserHelper.make_value_visible(token_text))\n35: LOGGER.debug(\n36: \"extracted_whitespace>>:%s:<\",\n37: ParserHelper.make_value_visible(extracted_whitespace),\n38: )\n39: (\n40: tabified_token_text,\n41: _,\n42: tabified_token_text_index,\n43: ) = TabHelper.find_detabify_string(\n44: original_line, token_text, use_proper_traverse=True\n45: )\n46: LOGGER.debug(\n47: \"tabified_token_text>>:%s:<\",\n48: ParserHelper.make_value_visible(tabified_token_text),\n49: )\n50: LOGGER.debug(\"tabified_token_text_index>>:%d:<\", tabified_token_text_index)\n51: assert tabified_token_text_index != -1\n52: assert tabified_token_text is not None\n53: \n54: tabified_leading_spaces = original_line[:tabified_token_text_index]\n55: LOGGER.debug(\n56: \"tabified_leading_spaces>>:%s:<\",\n57: ParserHelper.make_value_visible(tabified_leading_spaces),\n58: )\n59: tabified_suffix = extracted_whitespace\n60: tabified_prefix = None\n61: \n62: split_tab = False\n63: split_tab_with_block_quote_suffix = False\n64: if len(tabified_leading_spaces) > 0:\n65: assert extracted_whitespace is not None\n66: (\n67: tabified_prefix,\n68: tabified_suffix,\n69: split_tab,\n70: split_tab_with_block_quote_suffix,\n71: ) = TabHelper.match_tabbed_whitespace(\n72: extracted_whitespace, tabified_leading_spaces\n73: )\n74: LOGGER.debug(\n75: \"tabified_token_text>>:%s:<\",\n76: ParserHelper.make_value_visible(tabified_token_text),\n77: )\n78: LOGGER.debug(\n79: \"tabified_prefix>>:%s:<\", ParserHelper.make_value_visible(tabified_prefix)\n80: )\n81: LOGGER.debug(\n82: \"tabified_suffix>>:%s:<\", ParserHelper.make_value_visible(tabified_suffix)\n83: )\n84: LOGGER.debug(\"split_tab>>:%s:<\", str(split_tab))\n85: LOGGER.debug(\n86: \"split_tab_with_block_quote_suffix>>:%s:<\",\n87: str(split_tab_with_block_quote_suffix),\n88: )\n89: return (\n90: tabified_token_text,\n91: split_tab,\n92: split_tab_with_block_quote_suffix,\n93: tabified_prefix,\n94: tabified_suffix,\n95: )\n96: \n97: @staticmethod\n98: def match_tabbed_whitespace(\n99: extracted_whitespace: str, corrected_extracted_whitespace: str\n100: ) -> Tuple[str, str, bool, bool]:\n101: \"\"\"\n102: Match any tabbed whitespace with its non-tabbed counterpart.\n103: \"\"\"\n104: assert corrected_extracted_whitespace != \"\"\n105: detabified_suffix = \"\"\n106: detabified_prefix = \"\"\n107: corrected_prefix = \"\"\n108: corrected_suffix = corrected_extracted_whitespace\n109: index_from_end = len(corrected_extracted_whitespace) - 1\n110: have_been_inside_loop = False\n111: while index_from_end >= 0 and len(detabified_suffix) < len(\n112: extracted_whitespace\n113: ):\n114: have_been_inside_loop = True\n115: corrected_suffix = corrected_extracted_whitespace[index_from_end:]\n116: corrected_prefix = corrected_extracted_whitespace[:index_from_end]\n117: LOGGER.debug(\n118: \"index_from_end=:%s: of :%s:\",\n119: index_from_end,\n120: len(corrected_extracted_whitespace),\n\n### E1 /testbed/pymarkdown/html/html_helper.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: \"\"\"\n2: Module to provide helper functions for parsing html.\n3: \"\"\"\n4: import logging\n5: import string\n6: from typing import List, Optional, Tuple, cast\n7: \n8: from pymarkdown.block_quotes.block_quote_data import BlockQuoteData\n9: from pymarkdown.container_blocks.container_helper import ContainerHelper\n10: from pymarkdown.container_blocks.parse_block_pass_properties import (\n11: ParseBlockPassProperties,\n12: )\n13: from pymarkdown.general.parser_helper import ParserHelper\n14: from pymarkdown.general.parser_logger import ParserLogger\n15: from pymarkdown.general.parser_state import ParserState\n16: from pymarkdown.general.position_marker import PositionMarker\n17: from pymarkdown.general.tab_helper import TabHelper\n18: from pymarkdown.tokens.html_block_markdown_token import HtmlBlockMarkdownToken\n19: from pymarkdown.tokens.markdown_token import MarkdownToken\n20: from pymarkdown.tokens.stack_token import (\n21: HtmlBlockStackToken,\n22: ParagraphStackToken,\n23: StackToken,\n24: )\n25: from pymarkdown.tokens.text_markdown_token import TextMarkdownToken\n26: \n27: POGGER = ParserLogger(logging.getLogger(__name__))\n28: \n29: \n30: class HtmlHelper:\n31: \"\"\"\n32: Class to provide helper functions for parsing html.\n33: \"\"\"\n34: \n35: html_block_1 = \"1\"\n36: html_block_2 = \"2\"\n37: html_block_3 = \"3\"\n38: html_block_4 = \"4\"\n39: html_block_5 = \"5\"\n40: html_block_6 = \"6\"\n41: html_block_7 = \"7\"\n42: \n43: __html_block_start_character = \"<\"\n44: __html_tag_start = \"/\"\n45: __html_tag_name_end = \" >\"\n46: __html_tag_end = \">\"\n47: __html_attribute_value_single = \"'\"\n48: __html_attribute_value_double = '\"'\n49: __html_attribute_name_value_separator = \"=\"\n50: __html_attribute_separator = ParserHelper.space_character\n51: __valid_tag_name_characters = f\"{string.ascii_letters}{string.digits}-\"\n52: __html_block_1_start_tag_prefix = [\"script\", \"pre\", \"style\"]\n53: __html_tag_attribute_value_terminators = \" \\\"'=<>`\"\n54: __html_block_2_to_5_start = \"!\"\n55: __html_block_2_continued_start = \"--\"\n56: __html_block_3_continued_start = \"?\"\n57: __html_block_4_continued_start = string.ascii_uppercase\n58: __html_block_5_continued_start = \"[CDATA[\"\n59: __html_block_1_end_tags = [\"\", \"\", \"\"]\n60: __html_block_2_end = \"-->\"\n61: __html_block_3_end = \"?>\"\n62: __html_block_4_end = __html_tag_end\n63: __html_block_5_end = \"]]>\"\n64: \n65: __attribute_start_characters = \"abcdefghijklmnopqrstuvwxyz1234567890:_\"\n66: __attribute_other_characters = f\"{__attribute_start_characters}.-\"\n67: \n68: __html_block_6_start = [\n69: \"address\",\n70: \"article\",\n71: \"aside\",\n72: \"base\",\n73: \"basefont\",\n74: \"blockquote\",\n75: \"body\",\n76: \"caption\",\n77: \"center\",\n78: \"col\",\n79: \"colgroup\",\n80: \"dd\",\n81: \"details\",\n82: \"dialog\",\n83: \"dir\",\n84: \"div\",\n85: \"dl\",\n86: \"dt\",\n87: \"fieldset\",\n88: \"figcaption\",\n89: \"figure\",\n90: \"footer\",\n91: \"form\",\n92: \"frame\",\n93: \"frameset\",\n94: \"h1\",\n95: \"h2\",\n96: \"h3\",\n97: \"h4\",\n98: \"h5\",\n99: \"h6\",\n100: \"head\",\n101: \"header\",\n102: \"hr\",\n103: \"html\",\n104: \"iframe\",\n105: \"legend\",\n106: \"li\",\n107: \"link\",\n108: \"main\",\n109: \"menu\",\n110: \"menuitem\",\n111: \"nav\",\n112: \"noframes\",\n113: \"ol\",\n114: \"optgroup\",\n115: \"option\",\n116: \"p\",\n117: \"param\",\n118: \"section\",\n119: \"source\",\n120: \"summary\",\n\n### E1 /testbed/pymarkdown/leaf_blocks/leaf_block_helper.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: \"\"\"\n2: Module to provide helpers for the processing of leaf blocks.\n3: \"\"\"\n4: import logging\n5: from typing import List, cast\n6: \n7: from pymarkdown.general.parser_helper import ParserHelper\n8: from pymarkdown.general.parser_logger import ParserLogger\n9: from pymarkdown.general.parser_state import ParserState\n10: from pymarkdown.tokens.list_start_markdown_token import ListStartMarkdownToken\n11: from pymarkdown.tokens.markdown_token import MarkdownToken\n12: from pymarkdown.tokens.stack_token import ListStackToken, StackToken\n13: \n14: POGGER = ParserLogger(logging.getLogger(__name__))\n15: \n16: \n17: class LeafBlockHelper:\n18: \"\"\"\n19: Class to provide helpers for the processing of leaf blocks.\n20: \"\"\"\n21: \n22: # pylint: disable=too-many-arguments\n23: @staticmethod\n24: def correct_for_leaf_block_start_in_list(\n25: parser_state: ParserState,\n26: removed_chars_at_start: int,\n27: old_top_of_stack_token: StackToken,\n28: html_tokens: List[MarkdownToken],\n29: was_token_already_added_to_stack: bool = True,\n30: delay_tab_match: bool = False,\n31: ) -> None:\n32: \"\"\"\n33: Check to see that if a paragraph has been closed within a list and\n34: there is a leaf block token immediately following, that the right\n35: actions are taken.\n36: \"\"\"\n37: \n38: POGGER.debug(\n39: \">>correct_for_leaf_block_start_in_list>>removed_chars_at_start>$>>\",\n40: removed_chars_at_start,\n41: )\n42: if not old_top_of_stack_token.is_paragraph:\n43: POGGER.debug(\"1\")\n44: return\n45: \n46: statck_index, top_of_stack, end_of_list = (\n47: -2 if was_token_already_added_to_stack else -1,\n48: None,\n49: html_tokens[-1],\n50: )\n51: if not parser_state.token_stack[statck_index].is_list:\n52: POGGER.debug(\"2\")\n53: return\n54: \n55: POGGER.debug(\n56: \">>correct_for_leaf_block_start_in_list>>stack>>$>>\",\n57: parser_state.token_stack,\n58: )\n59: POGGER.debug(\n60: \">>correct_for_leaf_block_start_in_list>>tokens>>$>>\",\n61: parser_state.token_document,\n62: )\n63: POGGER.debug(\n64: \">>correct_for_leaf_block_start_in_list>>tokens_to_add>>$>>\", html_tokens\n65: )\n66: \n67: if was_token_already_added_to_stack:\n68: top_of_stack = parser_state.token_stack[-1]\n69: del parser_state.token_stack[-1]\n70: del html_tokens[-1]\n71: \n72: LeafBlockHelper.__handle_leaf_start(\n73: parser_state, removed_chars_at_start, html_tokens, delay_tab_match\n74: )\n75: \n76: if was_token_already_added_to_stack:\n77: assert top_of_stack is not None\n78: parser_state.token_stack.append(top_of_stack)\n79: POGGER.debug(\n80: \">>correct_for_leaf_block_start_in_list>>stack>>$>>\",\n81: parser_state.token_stack,\n82: )\n83: html_tokens.append(end_of_list)\n84: POGGER.debug(\n85: \">>correct_for_leaf_block_start_in_list>>tokens_to_add>>$>>\", html_tokens\n86: )\n87: # assert False\n88: \n89: # pylint: enable=too-many-arguments\n90: @staticmethod\n91: def __handle_leaf_start(\n92: parser_state: ParserState,\n93: removed_chars_at_start: int,\n94: html_tokens: List[MarkdownToken],\n95: delay_tab_match: bool,\n96: ) -> None:\n97: POGGER.debug(\n98: \">>correct_for_leaf_block_start_in_list>>stack>>$>>\",\n99: parser_state.token_stack,\n100: )\n101: POGGER.debug(\n102: \">>correct_for_leaf_block_start_in_list>>tokens_to_add>>$>>\", html_tokens\n103: )\n104: \n105: adjust_with_leading_spaces = False\n106: is_remaining_list_token = True\n107: while is_remaining_list_token:\n108: assert parser_state.token_stack[-1].is_list\n109: list_stack_token = cast(ListStackToken, parser_state.token_stack[-1])\n110: \n111: POGGER.debug(\">>removed_chars_at_start>>$>>\", removed_chars_at_start)\n112: POGGER.debug(\">>stack indent>>$>>\", list_stack_token.indent_level)\n113: if removed_chars_at_start >= list_stack_token.indent_level:\n114: break # pragma: no cover\n115: \n116: tokens_from_close, _ = parser_state.close_open_blocks_fn(\n117: parser_state,\n118: until_this_index=(len(parser_state.token_stack) - 1),\n119: include_lists=True,\n120: )\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr853__AMDBcfq:40"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":322,"content_sha256":"59a04dba583dcd1e6caf4e885f52a5b4fec7235e985b5aeac012cef9fb779eea","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"6cd770f6f8e9dae50bf9ef0e9eea6bbe22923ef105042a2d6f6e34746ff52204","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"s/options={\"html\": True}/options=cmarkgfm.Options.CMARK_OPT_UNSAFE","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr862__dJGChDi:23","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/s/options={\"html\": True}/options=cmarkgfm.Options.CMARK_OPT_UNSAFE, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr862__dJGChDi:23"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr884__zgJMNdC:68","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr884__zgJMNdC:68"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":636,"content_sha256":"1b9a65dd0f14b35d0419f05d378c5e2cad6dd08a2900f789e753bdbccf3d6811","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"624c1d8545e3ddc65028257750b5c8490bba10513d44e0a2ed017e2866691307","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test/nested_three","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"1e60e92eb86fd9aef1a72ce22cfc8e30ac4d2f6a84a63392c73ff4749a4ca8e2","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr890__PViQbgL:21","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/test/nested_three, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/test, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr890__PViQbgL:21"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"jackdewinter_pymarkdown_pr900__FJ2JmFY:47","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr900__FJ2JmFY:47"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":6088,"content_sha256":"fb175a34d4b999dd9055a4a2a674776c7f746b7ccda251433d685b1da78e6a85","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"c824b8391cdf12d5e1599c0a2a9ffff5863c3e05aeedb769605adb774da1ea5a","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"README.md","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"fc13502336b6d6ffcadc38670c54bad11475c77588240bdaa0f53d8db50688f9","reference_window":{"end_line":50,"sha256":"b430eb6b3da3a535c186af6898475fbd215d7b40071ec2c6cbade03f93c65bf4","start_line":1,"truncated":true},"start_line":1,"truncated":true},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"jackdewinter_pymarkdown_pr903__D6L88k5:0","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/README.md, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: # PyMarkdown\n2: \n3: | | |\n4: |---|---|\n5: |Project|[![Version](https://img.shields.io/pypi/v/pymarkdownlnt.svg)](https://pypi.org/project/pymarkdownlnt) [![Python Versions](https://img.shields.io/pypi/pyversions/pymarkdownlnt.svg)](https://pypi.org/project/pymarkdownlnt) ![platforms](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux-lightgrey) [![License](https://img.shields.io/github/license/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/blob/main/LICENSE.txt) [![GitHub top language](https://img.shields.io/github/languages/top/jackdewinter/pymarkdown)](https://github.com/jackdewinter/pymarkdown)|\n6: |Quality|[![GitHub Workflow Status (event)](https://img.shields.io/github/actions/workflow/status/jackdewinter/pymarkdown/main.yml?branch=main)](https://github.com/jackdewinter/pymarkdown/actions/workflows/main.yml) [![Issues](https://img.shields.io/github/issues/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/issues) [![codecov](https://codecov.io/gh/jackdewinter/pymarkdown/branch/main/graph/badge.svg?token=PD5TKS8NQQ)](https://codecov.io/gh/jackdewinter/pymarkdown) [![Sourcery](https://img.shields.io/badge/Sourcery-enabled-brightgreen)](https://sourcery.ai) ![snyk](https://img.shields.io/snyk/vulnerabilities/github/jackdewinter/pymarkdown) |\n7: | |![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/black/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/flake8/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/pylint/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/mypy/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/pyroma/main) ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/pre-commit/main) | ![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/pymarkdown/sourcery/main) |\n8: |Community|[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/jackdewinter/pymarkdown/graphs/commit-activity) [![Stars](https://img.shields.io/github/stars/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/stargazers) [![Forks](https://img.shields.io/github/forks/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/network/members) [![Contributors](https://img.shields.io/github/contributors/jackdewinter/pymarkdown.svg)](https://github.com/jackdewinter/pymarkdown/graphs/contributors) [![Downloads](https://img.shields.io/pypi/dm/project_summarizer.svg)](https://pypistats.org/packages/project_summarizer)|\n9: |Maintainers|[![LinkedIn](https://img.shields.io/badge/-LinkedIn-black.svg?logo=linkedin&colorB=555)](https://www.linkedin.com/in/jackdewinter/)|\n10: \n11: PyMarkdown is primarily a Markdown Linter. To ensure that the Markdown\n12: [linting](https://en.wikipedia.org/wiki/Lint_%28software%29)\n13: is accomplished successfully, the rules engine that powers the linter uses a Markdown\n14: parser that is both\n15: [GitHub Flavored Markdown](https://github.github.com/gfm/)\n16: compliant and\n17: [CommonMark](https://spec.commonmark.org/)\n18: compliant. The rules provided in the base application can be easily extended\n19: by writing new plugins and importing them into the rules engine through simple\n20: configuration options.\n21: \n22: The PyMarkdown project has the following advantages:\n23: \n24: - Consistency\n25: - This project can examine multiple files and directories with one invocation,\n26: ensuring that all detected Markdown files adhere to the same guidelines.\n27: - Portable\n28: - The linter runs on any system running Python 3.8 or later, with no modifications.\n29: - Standardized\n30: - The parser that powers the linter is GitHub Flavored Markdown (GFM) compliant.\n31: Due to that foundation, the parser does not guess how some parsers may handle\n32: a given situation, as it has a clear set of rules to follow.\n33: - Accurate\n34: - The parser passes all GFM conformance tests and CommonMark conformance tests. In\n35: test scenarios that were not present in either set of tests, the CommonMark\n36: 0.29.2 release was used to determine the correct parsing.\n37: - Flexible\n38: - Each Markdown document is parsed into an internal token format. Most of the rules\n39: and made more efficient by leveraging this token format. Where that is not possible,\n40: simple regular expressions and simple algorithms are used on a line-by-line basis.\n41: - Thoroughly tested\n42: - The project currently has over 4100 scenario tests and a coverage percentage of 100%.\n43: - Extensible\n44: - The parser for the project adheres to the GFM specification and most of\n45: the rules for the parser leverage the tokens produced by that parser. The\n46: [rules](/docs/rules.md) themselves are plugins, so they are extensible by default.\n47: The parser itself will be extended as needed to provide for other Markdown\n48: [extensions](/docs/extensions.md) as needed.\n49: - Versatile\n50: - The PyMarkdown linter can be executed from a script on the command line,\n[window truncated; visible lines 1-50]\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jackdewinter_pymarkdown_pr903__D6L88k5:0"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5934,"content_sha256":"4c45e90670b745b637b74f71f70d94ed43b4d7a9fbb693b6ad92173400c2dcf1","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":148,"sha256":"80e20980aab334562bf66b33c8ee9589769f0fd6752de45ed28c26f1de533609","start_line":93,"truncated":true},"content_sha256":"09a1c9941bee4c715f67300b2731e72973f5109c63620abf26747586830c88db","end_line":184,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"numpoly/poly_function/monomial.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"9bad0cd09c1190c54a933358e62608ff4d47a890a94b4df5683423deeff93fa1","reference_window":{"end_line":148,"sha256":"c3e5e4683c873477d5d51634c3ef8e5fe6c4550e9ec7b58c8c8208ba84a29d8c","start_line":92,"truncated":true},"start_line":60,"truncated":true}],"item_id":"jonathf_numpoly_pr21__h2YTukQ:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/numpoly/poly_function/monomial.py, reference lines 60-184\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n92: poly[key] = coeff\n93: return poly\n94: \n95: \n96: def bindex(start, stop=None, dimensions=1, ordering=\"G\", cross_truncation=1.):\n97: \"\"\"\n98: Generate multi-indices for the monomial exponents.\n99: \n100: Args:\n101: start (Union[int, numpy.ndarray]):\n102: The lower order of the indices. If array of int, counts as lower\n103: bound for each axis.\n104: stop (Union[int, numpy.ndarray, None]):\n105: The maximum shape included. If omitted: stop <- start; start <- 0\n106: If int is provided, set as largest total order. If array of int,\n107: set as upper bound for each axis.\n108: dimensions (int):\n109: The number of dimensions in the expansion\n110: ordering (str):\n111: Criteria to sort the indices by.\n112: cross_truncation (float):\n113: Use hyperbolic cross truncation scheme to reduce the number of\n114: terms in expansion. Ignored if ``stop`` is a array.\n115: \n116: Returns:\n117: list:\n118: Order list of indices.\n119: \n120: Examples:\n121: >>> print(bindex(2, 3, 2).tolist())\n122: [[0, 2], [1, 1], [2, 0], [0, 3], [1, 2], [2, 1], [3, 0]]\n123: >>> print(bindex(2, [1, 3], 2, cross_truncation=0).tolist())\n124: [[0, 2], [1, 1], [0, 3], [1, 2], [1, 3]]\n125: >>> print(bindex([1, 2], [2, 3], 2, cross_truncation=0).tolist())\n126: [[1, 2], [1, 3], [2, 2], [2, 3]]\n127: >>> print(bindex(1, 3, 2, cross_truncation=0).tolist()) # doctest: +NORMALIZE_WHITESPACE\n128: [[0, 1], [1, 0], [0, 2], [1, 1], [2, 0], [0, 3], [1, 2], [2, 1],\n129: [3, 0], [1, 3], [2, 2], [3, 1], [2, 3], [3, 2], [3, 3]]\n130: >>> print(bindex(1, 3, 2, cross_truncation=1).tolist()) # doctest: +NORMALIZE_WHITESPACE\n131: [[0, 1], [1, 0], [0, 2], [1, 1], [2, 0],\n132: [0, 3], [1, 2], [2, 1], [3, 0]]\n133: >>> print(bindex(1, 3, 2, cross_truncation=1.5).tolist())\n134: [[0, 1], [1, 0], [0, 2], [1, 1], [2, 0], [0, 3], [3, 0]]\n135: >>> print(bindex(1, 3, 2, cross_truncation=2).tolist())\n136: [[0, 1], [1, 0], [0, 2], [2, 0], [0, 3], [3, 0]]\n137: >>> print(bindex(0, 1, 3).tolist())\n138: [[0, 0, 0], [0, 0, 1], [0, 1, 0], [1, 0, 0]]\n139: >>> print(bindex( # doctest: +NORMALIZE_WHITESPACE\n140: ... [1, 1], 3, 2, cross_truncation=0).tolist())\n141: [[1, 1], [1, 2], [2, 1], [1, 3], [2, 2],\n142: [3, 1], [2, 3], [3, 2], [3, 3]]\n143: \n144: \"\"\"\n145: if stop is None:\n146: start, stop = 0, start\n147: start = numpy.array(start, dtype=int).flatten()\n148: stop = numpy.array(stop, dtype=int).flatten()\n[window truncated; visible lines 92-148]\nCandidate text preview (unexecuted):\n93: return poly\n94: \n95: \n96: def bindex(start, stop=None, dimensions=1, ordering=\"G\", cross_truncation=1.):\n97: \"\"\"\n98: Generate multi-indices for the monomial exponents.\n99: \n100: Args:\n101: start (Union[int, numpy.ndarray]):\n102: The lower order of the indices. If array of int, counts as lower\n103: bound for each axis.\n104: stop (Union[int, numpy.ndarray, None]):\n105: The maximum shape included. If omitted: stop <- start; start <- 0\n106: If int is provided, set as largest total order. If array of int,\n107: set as upper bound for each axis.\n108: dimensions (int):\n109: The number of dimensions in the expansion\n110: ordering (str):\n111: Criteria to sort the indices by.\n112: cross_truncation (float):\n113: Use hyperbolic cross truncation scheme to reduce the number of\n114: terms in expansion. Ignored if ``stop`` is a array.\n115: \n116: Returns:\n117: list:\n118: Order list of indices.\n119: \n120: Examples:\n121: >>> print(bindex(4).tolist())\n122: [[0], [1], [2], [3], [4]]\n123: >>> print(bindex(2, 3, 2).tolist())\n124: [[0, 2], [1, 1], [2, 0], [0, 3], [1, 2], [2, 1], [3, 0]]\n125: >>> print(bindex(2, 3, 2, ordering=\"I\").tolist())\n126: [[3, 0], [2, 1], [2, 0], [1, 2], [1, 1], [0, 3], [0, 2]]\n127: >>> print(bindex(2, [1, 3], 2, cross_truncation=0).tolist())\n128: [[0, 2], [1, 1], [0, 3], [1, 2], [1, 3]]\n129: >>> print(bindex([1, 2], [2, 3], 2, cross_truncation=0).tolist())\n130: [[1, 2], [1, 3], [2, 2], [2, 3]]\n131: >>> print(bindex(1, 3, 2, cross_truncation=0).tolist()) # doctest: +NORMALIZE_WHITESPACE\n132: [[0, 1], [1, 0], [0, 2], [1, 1], [2, 0], [0, 3], [1, 2], [2, 1],\n133: [3, 0], [1, 3], [2, 2], [3, 1], [2, 3], [3, 2], [3, 3]]\n134: >>> print(bindex(1, 3, 2, cross_truncation=1).tolist()) # doctest: +NORMALIZE_WHITESPACE\n135: [[0, 1], [1, 0], [0, 2], [1, 1], [2, 0],\n136: [0, 3], [1, 2], [2, 1], [3, 0]]\n137: >>> print(bindex(1, 3, 2, cross_truncation=1.5).tolist())\n138: [[0, 1], [1, 0], [0, 2], [1, 1], [2, 0], [0, 3], [3, 0]]\n139: >>> print(bindex(1, 3, 2, cross_truncation=2).tolist())\n140: [[0, 1], [1, 0], [0, 2], [2, 0], [0, 3], [3, 0]]\n141: >>> print(bindex(0, 1, 3).tolist())\n142: [[0, 0, 0], [0, 0, 1], [0, 1, 0], [1, 0, 0]]\n143: >>> print(bindex( # doctest: +NORMALIZE_WHITESPACE\n144: ... [1, 1], 3, 2, cross_truncation=0).tolist())\n145: [[1, 1], [1, 2], [2, 1], [1, 3], [2, 2],\n146: [3, 1], [2, 3], [3, 2], [3, 3]]\n147: \n148: \"\"\"\n[window truncated; visible lines 93-148]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"jonathf_numpoly_pr21__h2YTukQ:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4153,"content_sha256":"e1cf4c69821d9d245c9b397b46a709a0d6c87eddd4fe1e1043b6edb25ba22463","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":64,"sha256":"df4a911c0b38450166c8f3b0bf5ee2fbb64ddccede4ccf2780800a7acb72ec33","start_line":1,"truncated":false},"content_sha256":"d83e1d98140cdba36c8a616a4302cd7d5544ee037099c4b1d0784ec5bfdec6f5","end_line":112,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/buildTree.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"1fc81ee92a196accc7b0d2f3fc7c1b830711b73e771bf64055184a85d6495774","reference_window":{"end_line":54,"sha256":"c54adf85d9296ebe8cd5f780d152ef723915b7567beed1e19d3c0da4b1098f15","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"katex__katex-1814__RC8JZAU:22","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/buildTree.js, reference lines 1-112\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: // @flow\n2: import buildHTML from \"./buildHTML\";\n3: import buildMathML from \"./buildMathML\";\n4: import buildCommon from \"./buildCommon\";\n5: import Options from \"./Options\";\n6: import Settings from \"./Settings\";\n7: import Style from \"./Style\";\n8: \n9: import type {AnyParseNode} from \"./parseNode\";\n10: import type {DomSpan} from \"./domTree\";\n11: \n12: const optionsFromSettings = function(settings: Settings) {\n13: return new Options({\n14: style: (settings.displayMode ? Style.DISPLAY : Style.TEXT),\n15: maxSize: settings.maxSize,\n16: });\n17: };\n18: \n19: export const buildTree = function(\n20: tree: AnyParseNode[],\n21: expression: string,\n22: settings: Settings,\n23: ): DomSpan {\n24: const options = optionsFromSettings(settings);\n25: const mathMLNode = buildMathML(tree, expression, options);\n26: const htmlNode = buildHTML(tree, options);\n27: \n28: const katexNode = buildCommon.makeSpan([\"katex\"], [\n29: mathMLNode, htmlNode,\n30: ]);\n31: \n32: if (settings.displayMode) {\n33: return buildCommon.makeSpan([\"katex-display\"], [katexNode]);\n34: } else {\n35: return katexNode;\n36: }\n37: };\n38: \n39: export const buildHTMLTree = function(\n40: tree: AnyParseNode[],\n41: expression: string,\n42: settings: Settings,\n43: ): DomSpan {\n44: const options = optionsFromSettings(settings);\n45: const htmlNode = buildHTML(tree, options);\n46: const katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n47: if (settings.displayMode) {\n48: return buildCommon.makeSpan([\"katex-display\"], [katexNode]);\n49: } else {\n50: return katexNode;\n51: }\n52: };\n53: \n54: export default buildTree;\nCandidate text preview (unexecuted):\n1: // @flow\n2: import buildHTML from \"./buildHTML\";\n3: import buildMathML from \"./buildMathML\";\n4: import buildCommon from \"./buildCommon\";\n5: import Options from \"./Options\";\n6: import Settings from \"./Settings\";\n7: import Style from \"./Style\";\n8: \n9: import type {AnyParseNode} from \"./parseNode\";\n10: import type {DomSpan} from \"./domTree\";\n11: \n12: const optionsFromSettings = function(settings: Settings) {\n13: return new Options({\n14: style: (settings.displayMode ? Style.DISPLAY : Style.TEXT),\n15: maxSize: settings.maxSize,\n16: });\n17: };\n18: \n19: export const buildTree = function(\n20: tree: AnyParseNode[],\n21: expression: string,\n22: settings: Settings,\n23: ): DomSpan {\n24: const options = optionsFromSettings(settings);\n25: const mathMLNode = buildMathML(tree, expression, options);\n26: const htmlNode = buildHTML(tree, options);\n27: \n28: const katexNode = buildCommon.makeSpan([\"katex\"], [\n29: mathMLNode, htmlNode,\n30: ]);\n31: \n32: if (settings.displayMode) {\n33: const katexDisplay =\n34: buildCommon.makeSpan([\"katex-display\"], [katexNode]);\n35: katexDisplay.classes = katexDisplay.classes.concat(\n36: settings.leqno ? \"leqno\" : \"\",\n37: settings.fleqn ? \"fleqn\" : \"\");\n38: return katexDisplay;\n39: } else {\n40: return katexNode;\n41: }\n42: };\n43: \n44: export const buildHTMLTree = function(\n45: tree: AnyParseNode[],\n46: expression: string,\n47: settings: Settings,\n48: ): DomSpan {\n49: const options = optionsFromSettings(settings);\n50: const htmlNode = buildHTML(tree, options);\n51: const katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n52: if (settings.displayMode) {\n53: const katexDisplay =\n54: buildCommon.makeSpan([\"katex-display\"], [katexNode]);\n55: katexDisplay.classes = katexDisplay.classes.concat(\n56: settings.leqno ? \"leqno\" : \"\",\n57: settings.fleqn ? \"fleqn\" : \"\");\n58: return katexDisplay;\n59: } else {\n60: return katexNode;\n61: }\n62: };\n63: \n64: export default buildTree;\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-1814__RC8JZAU:22"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":666,"content_sha256":"406b0dff587f1eda4f6b170a71ed35e280357b8b5e02be2f796463b2d26e61af","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"b28fba721b61afe637c19d53fc3969f923c49eb26ba70d84a57d306b69ebb099","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"dist","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"e64906eb6b6e6ef17646c0c5defa8ee826dce5070b9ec36937a7f998e83ab8d3","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"console.log(require('./package.json').version","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"katex__katex-1841__iWn3LF6:6","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/dist, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/console.log(require('./package.json').version, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-1841__iWn3LF6:6"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4901,"content_sha256":"7c87f73e90fef9214decb87130274b93e153555c3c2a18b37b16229a3a652490","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":122,"sha256":"cf55c8826a06a49a8fd03e8db48d8b8ebc1fffbe58f47257736d1d745f1e3f71","start_line":43,"truncated":false},"content_sha256":"9544d3db394d2e551752a4b8dc55bc7a338d9644ac01167ce0f2ee23d31047b5","end_line":166,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/functions/font.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"e8b4b04a1a1cae684da4c836fa2b371fd611a2b6f931944cec004b2e5a173809","reference_window":{"end_line":121,"sha256":"0cce38b860c73d4279b5715407040192fd12e1d09d5602cef74cbf7cfba05f80","start_line":43,"truncated":false},"start_line":43,"truncated":false}],"item_id":"katex__katex-2116__fwgXhki:45","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/functions/font.js, reference lines 43-166\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n43: \"\\\\Bbb\", \"\\\\bold\", \"\\\\frak\",\n44: ],\n45: props: {\n46: numArgs: 1,\n47: greediness: 2,\n48: },\n49: handler: ({parser, funcName}, args) => {\n50: const body = args[0];\n51: let func = funcName;\n52: if (func in fontAliases) {\n53: func = fontAliases[func];\n54: }\n55: return {\n56: type: \"font\",\n57: mode: parser.mode,\n58: font: func.slice(1),\n59: body,\n60: };\n61: },\n62: htmlBuilder,\n63: mathmlBuilder,\n64: });\n65: \n66: defineFunction({\n67: type: \"mclass\",\n68: names: [\"\\\\boldsymbol\", \"\\\\bm\"],\n69: props: {\n70: numArgs: 1,\n71: greediness: 2,\n72: },\n73: handler: ({parser}, args) => {\n74: const body = args[0];\n75: const isCharacterBox = utils.isCharacterBox(body);\n76: // amsbsy.sty's \\boldsymbol uses \\binrel spacing to inherit the\n77: // argument's bin|rel|ord status\n78: return {\n79: type: \"mclass\",\n80: mode: parser.mode,\n81: mclass: binrelClass(body),\n82: body: [\n83: {\n84: type: \"font\",\n85: mode: parser.mode,\n86: font: \"boldsymbol\",\n87: body,\n88: },\n89: ],\n90: isCharacterBox: isCharacterBox,\n91: };\n92: },\n93: });\n94: \n95: // Old font changing functions\n96: defineFunction({\n97: type: \"font\",\n98: names: [\"\\\\rm\", \"\\\\sf\", \"\\\\tt\", \"\\\\bf\", \"\\\\it\"],\n99: props: {\n100: numArgs: 0,\n101: allowedInText: true,\n102: },\n103: handler: ({parser, funcName, breakOnTokenText}, args) => {\n104: const {mode} = parser;\n105: const body = parser.parseExpression(true, breakOnTokenText);\n106: const style = `math${funcName.slice(1)}`;\n107: \n108: return {\n109: type: \"font\",\n110: mode: mode,\n111: font: style,\n112: body: {\n113: type: \"ordgroup\",\n114: mode: parser.mode,\n115: body,\n116: },\n117: };\n118: },\n119: htmlBuilder,\n120: mathmlBuilder,\n121: });\nCandidate text preview (unexecuted):\n43: \"\\\\Bbb\", \"\\\\bold\", \"\\\\frak\",\n44: ],\n45: props: {\n46: numArgs: 1,\n47: greediness: 2,\n48: },\n49: handler: ({parser, funcName}, args) => {\n50: const body = args[0];\n51: let func = funcName;\n52: if (func in fontAliases) {\n53: func = fontAliases[func];\n54: }\n55: return {\n56: type: \"font\",\n57: mode: parser.mode,\n58: font: func.slice(1),\n59: body,\n60: };\n61: },\n62: htmlBuilder,\n63: mathmlBuilder,\n64: });\n65: \n66: defineFunction({\n67: type: \"mclass\",\n68: names: [\"\\\\boldsymbol\", \"\\\\bm\"],\n69: props: {\n70: numArgs: 1,\n71: greediness: 2,\n72: },\n73: handler: ({parser}, args) => {\n74: const body = args[0];\n75: const isCharacterBox = utils.isCharacterBox(body);\n76: // amsbsy.sty's \\boldsymbol uses \\binrel spacing to inherit the\n77: // argument's bin|rel|ord status\n78: return {\n79: type: \"mclass\",\n80: mode: parser.mode,\n81: mclass: binrelClass(body),\n82: body: [\n83: {\n84: type: \"font\",\n85: mode: parser.mode,\n86: font: \"boldsymbol\",\n87: body,\n88: },\n89: ],\n90: isCharacterBox: isCharacterBox,\n91: };\n92: },\n93: });\n94: \n95: // Old font changing functions\n96: defineFunction({\n97: type: \"font\",\n98: names: [\"\\\\rm\", \"\\\\sf\", \"\\\\tt\", \"\\\\bf\", \"\\\\it\"],\n99: props: {\n100: numArgs: 0,\n101: allowedInText: true,\n102: },\n103: handler: ({parser, funcName, breakOnTokenText}, args) => {\n104: const {mode} = parser;\n105: const body = parser.parseExpression(true, breakOnTokenText);\n106: const style = `math${funcName.slice(1)}`;\n107: console.log(\"DEBUG oldfont funcName=\", JSON.stringify(funcName), \"style=\", style);\n108: \n109: return {\n110: type: \"font\",\n111: mode: mode,\n112: font: style,\n113: body: {\n114: type: \"ordgroup\",\n115: mode: parser.mode,\n116: body,\n117: },\n118: };\n119: },\n120: htmlBuilder,\n121: mathmlBuilder,\n122: });\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-2116__fwgXhki:45"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":264,"content_sha256":"106355b7465575feca11652df77c9af1ceeba71ebfba3159f9427898cc49cd5f","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"c1d5f4b03b462a77ce73b416a7169ea723ba3abde0c67fb088eb90b7152ac0ac","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"repro.js","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"katex__katex-2118__BsRHs24:12","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/repro.js, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-2118__BsRHs24:12"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4925,"content_sha256":"d93c55eb3249b5f01065a128806ea7b762db8a7191907f4e278dc0caece1343f","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":67,"sha256":"a8f53555e6519f9997eda8c89c517d1f9b2cd3c15adddb6fbbf523698f6612e8","start_line":1,"truncated":false},"content_sha256":"cba30a84bea470dea9d8deb7816f7277e4c3a961ad5a52c6ee645e1172010c8a","end_line":110,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/buildTree.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"c86ec2919f3a2b8f600843824549c62739569c525fcf24549b5d74b676f66d18","reference_window":{"end_line":66,"sha256":"3c06084e5394c351adc6c6b994e509752eff782f63ff1d1ddbb6adf39bf5758f","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"katex__katex-2220__KRPZN6r:29","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/buildTree.js, reference lines 1-110\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: // @flow\n2: import buildHTML from \"./buildHTML\";\n3: import buildMathML from \"./buildMathML\";\n4: import buildCommon from \"./buildCommon\";\n5: import Options from \"./Options\";\n6: import Settings from \"./Settings\";\n7: import Style from \"./Style\";\n8: \n9: import type {AnyParseNode} from \"./parseNode\";\n10: import type {DomSpan} from \"./domTree\";\n11: \n12: const optionsFromSettings = function(settings: Settings) {\n13: return new Options({\n14: style: (settings.displayMode ? Style.DISPLAY : Style.TEXT),\n15: maxSize: settings.maxSize,\n16: minRuleThickness: settings.minRuleThickness,\n17: });\n18: };\n19: \n20: const displayWrap = function(node: DomSpan, settings: Settings): DomSpan {\n21: if (settings.displayMode) {\n22: const classes = [\"katex-display\"];\n23: if (settings.leqno) {\n24: classes.push(\"leqno\");\n25: }\n26: if (settings.fleqn) {\n27: classes.push(\"fleqn\");\n28: }\n29: node = buildCommon.makeSpan(classes, [node]);\n30: }\n31: return node;\n32: };\n33: \n34: export const buildTree = function(\n35: tree: AnyParseNode[],\n36: expression: string,\n37: settings: Settings,\n38: ): DomSpan {\n39: const options = optionsFromSettings(settings);\n40: let katexNode;\n41: if (settings.output === \"mathml\") {\n42: return buildMathML(tree, expression, options, true);\n43: } else if (settings.output === \"html\") {\n44: const htmlNode = buildHTML(tree, options);\n45: katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n46: } else {\n47: const mathMLNode = buildMathML(tree, expression, options, false);\n48: const htmlNode = buildHTML(tree, options);\n49: katexNode = buildCommon.makeSpan([\"katex\"], [mathMLNode, htmlNode]);\n50: }\n51: \n52: return displayWrap(katexNode, settings);\n53: };\n54: \n55: export const buildHTMLTree = function(\n56: tree: AnyParseNode[],\n57: expression: string,\n58: settings: Settings,\n59: ): DomSpan {\n60: const options = optionsFromSettings(settings);\n61: const htmlNode = buildHTML(tree, options);\n62: const katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n63: return displayWrap(katexNode, settings);\n64: };\n65: \n66: export default buildTree;\nCandidate text preview (unexecuted):\n1: // @flow\n2: import buildHTML from \"./buildHTML\";\n3: import buildMathML from \"./buildMathML\";\n4: import buildCommon from \"./buildCommon\";\n5: import Options from \"./Options\";\n6: import Settings from \"./Settings\";\n7: import Style from \"./Style\";\n8: \n9: import type {AnyParseNode} from \"./parseNode\";\n10: import type {DomSpan} from \"./domTree\";\n11: \n12: const optionsFromSettings = function(settings: Settings) {\n13: return new Options({\n14: style: (settings.displayMode ? Style.DISPLAY : Style.TEXT),\n15: maxSize: settings.maxSize,\n16: minRuleThickness: settings.minRuleThickness,\n17: });\n18: };\n19: \n20: const displayWrap = function(node: DomSpan, settings: Settings): DomSpan {\n21: if (settings.displayMode) {\n22: const classes = [\"katex-display\"];\n23: if (settings.leqno) {\n24: classes.push(\"leqno\");\n25: }\n26: if (settings.fleqn) {\n27: classes.push(\"fleqn\");\n28: }\n29: node = buildCommon.makeSpan(classes, [node]);\n30: }\n31: return node;\n32: };\n33: \n34: export const buildTree = function(\n35: tree: AnyParseNode[],\n36: expression: string,\n37: settings: Settings,\n38: ): DomSpan {\n39: const options = optionsFromSettings(settings);\n40: let katexNode;\n41: if (settings.output === \"mathml\") {\n42: return buildMathML(tree, expression, options, settings.displayMode, true);\n43: } else if (settings.output === \"html\") {\n44: const htmlNode = buildHTML(tree, options);\n45: katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n46: } else {\n47: const mathMLNode = buildMathML(tree, expression, options,\n48: settings.displayMode, false);\n49: const htmlNode = buildHTML(tree, options);\n50: katexNode = buildCommon.makeSpan([\"katex\"], [mathMLNode, htmlNode]);\n51: }\n52: \n53: return displayWrap(katexNode, settings);\n54: };\n55: \n56: export const buildHTMLTree = function(\n57: tree: AnyParseNode[],\n58: expression: string,\n59: settings: Settings,\n60: ): DomSpan {\n61: const options = optionsFromSettings(settings);\n62: const htmlNode = buildHTML(tree, options);\n63: const katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n64: return displayWrap(katexNode, settings);\n65: };\n66: \n67: export default buildTree;\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-2220__KRPZN6r:29"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":1044,"content_sha256":"12da6c40886a75ee3757fb91f1323a88a3ed07b6acf7327a8940de1dd538ca03","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":16,"sha256":"b2bab22afa98905ce15fcb1b6105e2c007d2c9032989594eed37db225cde7440","start_line":1,"truncated":false},"content_sha256":"8dfd3c596a46e7ff43cc6fa4754c31b7a577b8f8b033469c2f842dd15c9caad1","end_line":120,"note":"file absent at reference state; proposed contents are text-only, NOT execution","path":"test/tmp-repro-spec.js","preview_unexecuted":true,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"katex__katex-2618__gwVm3Xx:31","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/tmp-repro-spec.js, reference lines 1-120\nfile absent at reference state; proposed contents are text-only, NOT execution\nReference read unavailable: file does not exist\nReference-state content:\n\nCandidate text preview (unexecuted):\n1: import {getBuilt} from \"./helpers\";\n2: \n3: describe(\"repro\", function() {\n4: it(\"inspect cancel heights\", function() {\n5: const g = getBuilt`\\\\cancel{\\\\text{g}}`;\n6: const arm = getBuilt`\\\\cancel{\\\\text{գ}}`;\n7: console.log(\"g height/depth:\", g.height, g.depth);\n8: console.log(\"arm height/depth:\", arm.height, arm.depth);\n9: // Inspect the inner text\n10: const textG = getBuilt`\\\\text{g}`;\n11: const textArm = getBuilt`\\\\text{գ}`;\n12: console.log(\"text g height/depth:\", textG.height, textG.depth);\n13: console.log(\"text arm height/depth:\", textArm.height, textArm.depth);\n14: expect(true).toBe(true);\n15: });\n16: });\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-2618__gwVm3Xx:31"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5892,"content_sha256":"690f6a504279903b43e7225cebfed6870a766c2340d034a9b6537a5c5d34b7a2","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":248,"sha256":"a3e31efb81869946360281b2597c9e2faede6780cc16a31b1efe7eb7e6b419a5","start_line":188,"truncated":true},"content_sha256":"1795bac51966826fa943af1acc2cbae19cc6d7e586b9f98239d960b0be2e4131","end_line":306,"note":"insert preview is text-only simulation, NOT execution","path":"contrib/auto-render/test/auto-render-spec.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"bbbd8ec9dba75e263cc81fbbf3251fb97f88610f0d3c25897e544ba9656948c5","reference_window":{"end_line":248,"sha256":"a3e31efb81869946360281b2597c9e2faede6780cc16a31b1efe7eb7e6b419a5","start_line":188,"truncated":true},"start_line":186,"truncated":true}],"item_id":"katex__katex-2679__aaykxHR:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/contrib/auto-render/test/auto-render-spec.js, reference lines 186-306\ninsert preview is text-only simulation, NOT execution\nReference-state content:\n188: {type: \"math\", data: \" world \",\n189: rawData: \"( world )\", display: true},\n190: {type: \"text\", data: \" boo\"},\n191: ]);\n192: });\n193: \n194: it(\"works with more than one start datum\", function() {\n195: const startData = [\n196: {type: \"text\", data: \"hello ( world ) boo\"},\n197: {type: \"math\", data: \"math\", rawData: \"(math)\", display: true},\n198: {type: \"text\", data: \"hello ( world ) boo\"},\n199: ];\n200: \n201: expect(splitAtDelimiters(startData, \"(\", \")\", false)).toEqual(\n202: [\n203: {type: \"text\", data: \"hello \"},\n204: {type: \"math\", data: \" world \",\n205: rawData: \"( world )\", display: false},\n206: {type: \"text\", data: \" boo\"},\n207: {type: \"math\", data: \"math\", rawData: \"(math)\", display: true},\n208: {type: \"text\", data: \"hello \"},\n209: {type: \"math\", data: \" world \",\n210: rawData: \"( world )\", display: false},\n211: {type: \"text\", data: \" boo\"},\n212: ]);\n213: });\n214: \n215: it(\"doesn't do splitting inside of math nodes\", function() {\n216: const startData = [\n217: {type: \"text\", data: \"hello ( world ) boo\"},\n218: {type: \"math\", data: \"hello ( world ) boo\",\n219: rawData: \"(hello ( world ) boo)\", display: true},\n220: ];\n221: \n222: expect(splitAtDelimiters(startData, \"(\", \")\", false)).toEqual(\n223: [\n224: {type: \"text\", data: \"hello \"},\n225: {type: \"math\", data: \" world \",\n226: rawData: \"( world )\", display: false},\n227: {type: \"text\", data: \" boo\"},\n228: {type: \"math\", data: \"hello ( world ) boo\",\n229: rawData: \"(hello ( world ) boo)\", display: true},\n230: ]);\n231: });\n232: });\n233: \n234: describe(\"Pre-process callback\", function() {\n235: it(\"replace `-squared` with `^2 `\", function() {\n236: const el1 = document.createElement('div');\n237: el1.textContent = 'Circle equation: $x-squared + y-squared = r-squared$.';\n238: const el2 = document.createElement('div');\n239: el2.textContent = 'Circle equation: $x^2 + y^2 = r^2$.';\n240: const delimiters = [{left: \"$\", right: \"$\", display: false}];\n241: renderMathInElement(el1, {\n242: delimiters,\n243: preProcess: math => math.replace(/-squared/g, '^2'),\n244: });\n245: renderMathInElement(el2, {delimiters});\n246: expect(el1.innerHTML).toEqual(el2.innerHTML);\n247: });\n248: });\n[window truncated; visible lines 188-248]\nCandidate text preview (unexecuted):\n188: {type: \"math\", data: \" world \",\n189: rawData: \"( world )\", display: true},\n190: {type: \"text\", data: \" boo\"},\n191: ]);\n192: });\n193: \n194: it(\"works with more than one start datum\", function() {\n195: const startData = [\n196: {type: \"text\", data: \"hello ( world ) boo\"},\n197: {type: \"math\", data: \"math\", rawData: \"(math)\", display: true},\n198: {type: \"text\", data: \"hello ( world ) boo\"},\n199: ];\n200: \n201: expect(splitAtDelimiters(startData, \"(\", \")\", false)).toEqual(\n202: [\n203: {type: \"text\", data: \"hello \"},\n204: {type: \"math\", data: \" world \",\n205: rawData: \"( world )\", display: false},\n206: {type: \"text\", data: \" boo\"},\n207: {type: \"math\", data: \"math\", rawData: \"(math)\", display: true},\n208: {type: \"text\", data: \"hello \"},\n209: {type: \"math\", data: \" world \",\n210: rawData: \"( world )\", display: false},\n211: {type: \"text\", data: \" boo\"},\n212: ]);\n213: });\n214: \n215: it(\"doesn't do splitting inside of math nodes\", function() {\n216: const startData = [\n217: {type: \"text\", data: \"hello ( world ) boo\"},\n218: {type: \"math\", data: \"hello ( world ) boo\",\n219: rawData: \"(hello ( world ) boo)\", display: true},\n220: ];\n221: \n222: expect(splitAtDelimiters(startData, \"(\", \")\", false)).toEqual(\n223: [\n224: {type: \"text\", data: \"hello \"},\n225: {type: \"math\", data: \" world \",\n226: rawData: \"( world )\", display: false},\n227: {type: \"text\", data: \" boo\"},\n228: {type: \"math\", data: \"hello ( world ) boo\",\n229: rawData: \"(hello ( world ) boo)\", display: true},\n230: ]);\n231: });\n232: });\n233: \n234: describe(\"Pre-process callback\", function() {\n235: it(\"replace `-squared` with `^2 `\", function() {\n236: const el1 = document.createElement('div');\n237: el1.textContent = 'Circle equation: $x-squared + y-squared = r-squared$.';\n238: const el2 = document.createElement('div');\n239: el2.textContent = 'Circle equation: $x^2 + y^2 = r^2$.';\n240: const delimiters = [{left: \"$\", right: \"$\", display: false}];\n241: renderMathInElement(el1, {\n242: delimiters,\n243: preProcess: math => math.replace(/-squared/g, '^2'),\n244: });\n245: renderMathInElement(el2, {delimiters});\n246: expect(el1.innerHTML).toEqual(el2.innerHTML);\n247: });\n248: });\n[window truncated; visible lines 188-248]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-2679__aaykxHR:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4481,"content_sha256":"b618f8841add3d404b16ae171e84e0e3d83c05f1fd3950d9ea068dce190ecd45","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"200cd45700ce4ab0f0c3a8dc33b19a8be9cf9968b9d7e3206f2a525125460b1d","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test/compare-dump-spec.js","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"208a858371b97f5e039c5444814e695f039217279622ea6d65d98cf4eeb1e2d1","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test/backslash-space-spec.js","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"b7e11ec46f923d10f6be989d2bbbda4d446249e2f2567b9cb0811a6c9cc07730","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"test/katex-spec.js","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"b724a9a3213084a12367892981f8e041616661dea5671fe800b37c198e5ecbcc","reference_window":{"end_line":120,"sha256":"c2153431af57630aef443e62c9d0f8aa8aa0bd0ee9289bf9838baf14139bcb38","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"katex__katex-2877__Lk8Ypod:52","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/compare-dump-spec.js, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/test/backslash-space-spec.js, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/test/katex-spec.js, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: /* eslint max-len:0 */\n2: \n3: import buildMathML from \"../src/buildMathML\";\n4: import buildTree from \"../src/buildTree\";\n5: import katex from \"../katex\";\n6: import parseTree from \"../src/parseTree\";\n7: import Options from \"../src/Options\";\n8: import Settings from \"../src/Settings\";\n9: import Style from \"../src/Style\";\n10: import {\n11: strictSettings, nonstrictSettings, trustSettings, r,\n12: getBuilt, getParsed, stripPositions,\n13: } from \"./helpers\";\n14: \n15: const defaultOptions = new Options({\n16: style: Style.TEXT,\n17: size: 5,\n18: maxSize: Infinity,\n19: });\n20: \n21: describe(\"A parser\", function() {\n22: it(\"should not fail on an empty string\", function() {\n23: expect``.toParse(strictSettings);\n24: });\n25: \n26: it(\"should ignore whitespace\", function() {\n27: expect` x y `.toParseLike(\"xy\", strictSettings);\n28: });\n29: \n30: it(\"should ignore whitespace in atom\", function() {\n31: expect` x ^ y `.toParseLike(\"x^y\", strictSettings);\n32: });\n33: });\n34: \n35: describe(\"An ord parser\", function() {\n36: const expression = \"1234|/@.\\\"`abcdefgzABCDEFGZ\";\n37: \n38: it(\"should not fail\", function() {\n39: expect(expression).toParse();\n40: });\n41: \n42: it(\"should build a list of ords\", function() {\n43: const parse = getParsed(expression);\n44: \n45: for (let i = 0; i < parse.length; i++) {\n46: const group = parse[i];\n47: expect(group.type).toMatch(\"ord\");\n48: }\n49: });\n50: \n51: it(\"should parse the right number of ords\", function() {\n52: const parse = getParsed(expression);\n53: \n54: expect(parse).toHaveLength(expression.length);\n55: });\n56: });\n57: \n58: describe(\"A bin parser\", function() {\n59: const expression = r`+-*\\cdot\\pm\\div`;\n60: \n61: it(\"should not fail\", function() {\n62: expect(expression).toParse();\n63: });\n64: \n65: it(\"should build a list of bins\", function() {\n66: const parse = getParsed(expression);\n67: \n68: for (let i = 0; i < parse.length; i++) {\n69: const group = parse[i];\n70: expect(group.type).toEqual(\"atom\");\n71: expect(group.family).toEqual(\"bin\");\n72: }\n73: });\n74: });\n75: \n76: describe(\"A rel parser\", function() {\n77: const expression = r`=<>\\leq\\geq\\neq\\nleq\\ngeq\\cong`;\n78: const notExpression = r`\\not=\\not<\\not>\\not\\leq\\not\\geq\\not\\in`;\n79: \n80: it(\"should not fail\", function() {\n81: expect(expression).toParse();\n82: expect(notExpression).toParse();\n83: });\n84: \n85: it(\"should build a list of rels\", function() {\n86: const parse = getParsed(expression);\n87: \n88: for (let i = 0; i < parse.length; i++) {\n89: let group = parse[i];\n90: if (group.type === \"htmlmathml\") {\n91: expect(group.html).toHaveLength(1);\n92: group = group.html[0];\n93: }\n94: if (group.type === \"mclass\") {\n95: expect(group.mclass).toEqual(\"mrel\");\n96: } else {\n97: expect(group.type).toEqual(\"atom\");\n98: expect(group.family).toEqual(\"rel\");\n99: }\n100: }\n101: });\n102: });\n103: \n104: describe(\"A punct parser\", function() {\n105: const expression = \",;\";\n106: \n107: it(\"should not fail\", function() {\n108: expect(expression).toParse(strictSettings);\n109: });\n110: \n111: it(\"should build a list of puncts\", function() {\n112: const parse = getParsed(expression);\n113: \n114: for (let i = 0; i < parse.length; i++) {\n115: const group = parse[i];\n116: expect(group.type).toEqual(\"atom\");\n117: expect(group.family).toEqual(\"punct\");\n118: }\n119: });\n120: });\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-2877__Lk8Ypod:52"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5945,"content_sha256":"74ecb6f9678e623cde635d29b26a57e8560b46d206887fe7d5b1d5011b152556","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":497,"sha256":"477838deadd32b513f6151fba40511969f207a3c787bb5ef4f7465792e24eaa3","start_line":428,"truncated":true},"content_sha256":"81ae1c865e5b044249331201d17dd4a38d6f066b919c71d7e3ca29ae957ae5f8","end_line":528,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/environments/array.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"971d9e7b46f3a330e99003fd46f9863bc8f27514fdd9a5affff270c7b66ac995","reference_window":{"end_line":497,"sha256":"e3910254b863080ebe84adaabcbe9a9d4cd7051e7fb5d8d9d2094e7c37f10809","start_line":427,"truncated":true},"start_line":402,"truncated":true}],"item_id":"katex__katex-2947__3h6esok:24","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/environments/array.js, reference lines 402-528\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n427: [col]);\n428: cols.push(col);\n429: \n430: if (c < nc - 1 || group.hskipBeforeAndAfter) {\n431: sepwidth = utils.deflt(colDescr.postgap, arraycolsep);\n432: if (sepwidth !== 0) {\n433: colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n434: colSep.style.width = sepwidth + \"em\";\n435: cols.push(colSep);\n436: }\n437: }\n438: }\n439: body = buildCommon.makeSpan([\"mtable\"], cols);\n440: \n441: // Add \\hline(s), if any.\n442: if (hlines.length > 0) {\n443: const line = buildCommon.makeLineSpan(\"hline\", options, ruleThickness);\n444: const dashes = buildCommon.makeLineSpan(\"hdashline\", options,\n445: ruleThickness);\n446: const vListElems = [{type: \"elem\", elem: body, shift: 0}];\n447: while (hlines.length > 0) {\n448: const hline = hlines.pop();\n449: const lineShift = hline.pos - offset;\n450: if (hline.isDashed) {\n451: vListElems.push({type: \"elem\", elem: dashes, shift: lineShift});\n452: } else {\n453: vListElems.push({type: \"elem\", elem: line, shift: lineShift});\n454: }\n455: }\n456: body = buildCommon.makeVList({\n457: positionType: \"individualShift\",\n458: children: vListElems,\n459: }, options);\n460: }\n461: \n462: if (!group.addEqnNum) {\n463: return buildCommon.makeSpan([\"mord\"], [body], options);\n464: } else {\n465: let eqnNumCol = buildCommon.makeVList({\n466: positionType: \"individualShift\",\n467: children: eqnNumSpans,\n468: }, options);\n469: eqnNumCol = buildCommon.makeSpan([\"tag\"], [eqnNumCol], options);\n470: return buildCommon.makeFragment([body, eqnNumCol]);\n471: }\n472: };\n473: \n474: const alignMap = {\n475: c: \"center \",\n476: l: \"left \",\n477: r: \"right \",\n478: };\n479: \n480: const mathmlBuilder: MathMLBuilder<\"array\"> = function(group, options) {\n481: const tbl = [];\n482: const glue = new mathMLTree.MathNode(\"mtd\", [], [\"mtr-glue\"]);\n483: const tag = new mathMLTree.MathNode(\"mtd\", [], [\"mml-eqn-num\"]);\n484: for (let i = 0; i < group.body.length; i++) {\n485: const rw = group.body[i];\n486: const row = [];\n487: for (let j = 0; j < rw.length; j++) {\n488: row.push(new mathMLTree.MathNode(\"mtd\",\n489: [mml.buildGroup(rw[j], options)]));\n490: }\n491: if (group.addEqnNum) {\n492: row.unshift(glue);\n493: row.push(glue);\n494: if (group.leqno) {\n495: row.unshift(tag);\n496: } else {\n497: row.push(tag);\n[window truncated; visible lines 427-497]\nCandidate text preview (unexecuted):\n428: cols.push(col);\n429: \n430: if (c < nc - 1 || group.hskipBeforeAndAfter) {\n431: sepwidth = utils.deflt(colDescr.postgap, arraycolsep);\n432: if (sepwidth !== 0) {\n433: colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n434: colSep.style.width = sepwidth + \"em\";\n435: cols.push(colSep);\n436: }\n437: }\n438: }\n439: body = buildCommon.makeSpan([\"mtable\"], cols);\n440: \n441: // Add \\hline(s), if any.\n442: if (hlines.length > 0) {\n443: const line = buildCommon.makeLineSpan(\"hline\", options, ruleThickness);\n444: const dashes = buildCommon.makeLineSpan(\"hdashline\", options,\n445: ruleThickness);\n446: const vListElems = [{type: \"elem\", elem: body, shift: 0}];\n447: while (hlines.length > 0) {\n448: const hline = hlines.pop();\n449: const lineShift = hline.pos - offset;\n450: if (hline.isDashed) {\n451: vListElems.push({type: \"elem\", elem: dashes, shift: lineShift});\n452: } else {\n453: vListElems.push({type: \"elem\", elem: line, shift: lineShift});\n454: }\n455: }\n456: body = buildCommon.makeVList({\n457: positionType: \"individualShift\",\n458: children: vListElems,\n459: }, options);\n460: }\n461: \n462: if (!group.addEqnNum || eqnNumSpans.length === 0) {\n463: return buildCommon.makeSpan([\"mord\"], [body], options);\n464: } else {\n465: let eqnNumCol = buildCommon.makeVList({\n466: positionType: \"individualShift\",\n467: children: eqnNumSpans,\n468: }, options);\n469: eqnNumCol = buildCommon.makeSpan([\"tag\"], [eqnNumCol], options);\n470: return buildCommon.makeFragment([body, eqnNumCol]);\n471: }\n472: };\n473: \n474: const alignMap = {\n475: c: \"center \",\n476: l: \"left \",\n477: r: \"right \",\n478: };\n479: \n480: const mathmlBuilder: MathMLBuilder<\"array\"> = function(group, options) {\n481: const tbl = [];\n482: const glue = new mathMLTree.MathNode(\"mtd\", [], [\"mtr-glue\"]);\n483: const tag = new mathMLTree.MathNode(\"mtd\", [], [\"mml-eqn-num\"]);\n484: for (let i = 0; i < group.body.length; i++) {\n485: const rw = group.body[i];\n486: const row = [];\n487: for (let j = 0; j < rw.length; j++) {\n488: row.push(new mathMLTree.MathNode(\"mtd\",\n489: [mml.buildGroup(rw[j], options)]));\n490: }\n491: if (group.addEqnNum) {\n492: row.unshift(glue);\n493: row.push(glue);\n494: if (group.leqno) {\n495: row.unshift(tag);\n496: } else {\n497: row.push(tag);\n[window truncated; visible lines 428-497]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-2947__3h6esok:24"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5901,"content_sha256":"d94bc59a4f37017272384ccb24189ab4f72a92bfb4f69e19df9a266b785ae577","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":857,"sha256":"edf1ca32059c26697d3e4f5f50b12f79345731b03b3eeb8966e0d0c890b040b3","start_line":787,"truncated":true},"content_sha256":"1a48115d2f4e6c38de091eb488b8effd29f30ab6747b96a9d62f392882c2cdf5","end_line":885,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/environments/array.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"d0f3e090173a6b67dd40cd72abbbfdd6931dcb0e96ab6b49cb371ce13c913836","reference_window":{"end_line":858,"sha256":"47ce09bccf19b8aa339b018e9fe357859e7715d0d186198cc7edf018b3388404","start_line":786,"truncated":true},"start_line":762,"truncated":true}],"item_id":"katex__katex-3018__rR2AYqh:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/environments/array.js, reference lines 762-885\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n786: handler(context) {\n787: const delimiters = {\n788: \"matrix\": null,\n789: \"pmatrix\": [\"(\", \")\"],\n790: \"bmatrix\": [\"[\", \"]\"],\n791: \"Bmatrix\": [\"\\\\{\", \"\\\\}\"],\n792: \"vmatrix\": [\"|\", \"|\"],\n793: \"Vmatrix\": [\"\\\\Vert\", \"\\\\Vert\"],\n794: }[context.envName.replace(\"*\", \"\")];\n795: // \\hskip -\\arraycolsep in amsmath\n796: let colAlign = \"c\";\n797: const payload = {\n798: hskipBeforeAndAfter: false,\n799: cols: [{type: \"align\", align: colAlign}],\n800: };\n801: if (context.envName.charAt(context.envName.length - 1) === \"*\") {\n802: // It's one of the mathtools starred functions.\n803: // Parse the optional alignment argument.\n804: const parser = context.parser;\n805: parser.consumeSpaces();\n806: if (parser.fetch().text === \"[\") {\n807: parser.consume();\n808: parser.consumeSpaces();\n809: colAlign = parser.fetch().text;\n810: if (\"lcr\".indexOf(colAlign) === -1) {\n811: throw new ParseError(\"Expected l or c or r\", parser.nextToken);\n812: }\n813: parser.consume();\n814: parser.consumeSpaces();\n815: parser.expect(\"]\");\n816: parser.consume();\n817: payload.cols = [{type: \"align\", align: colAlign}];\n818: }\n819: }\n820: const res: ParseNode<\"array\"> =\n821: parseArray(context.parser, payload, dCellStyle(context.envName));\n822: // Populate cols with the correct number of column alignment specs.\n823: res.cols = new Array(res.body[0].length).fill(\n824: {type: \"align\", align: colAlign}\n825: );\n826: return delimiters ? {\n827: type: \"leftright\",\n828: mode: context.mode,\n829: body: [res],\n830: left: delimiters[0],\n831: right: delimiters[1],\n832: rightColor: undefined, // \\right uninfluenced by \\color in array\n833: } : res;\n834: },\n835: htmlBuilder,\n836: mathmlBuilder,\n837: });\n838: \n839: defineEnvironment({\n840: type: \"array\",\n841: names: [\"smallmatrix\"],\n842: props: {\n843: numArgs: 0,\n844: },\n845: handler(context) {\n846: const payload = {arraystretch: 0.5};\n847: const res = parseArray(context.parser, payload, \"script\");\n848: res.colSeparationType = \"small\";\n849: return res;\n850: },\n851: htmlBuilder,\n852: mathmlBuilder,\n853: });\n854: \n855: defineEnvironment({\n856: type: \"array\",\n857: names: [\"subarray\"],\n858: props: {\n[window truncated; visible lines 786-858]\nCandidate text preview (unexecuted):\n787: const delimiters = {\n788: \"matrix\": null,\n789: \"pmatrix\": [\"(\", \")\"],\n790: \"bmatrix\": [\"[\", \"]\"],\n791: \"Bmatrix\": [\"\\\\{\", \"\\\\}\"],\n792: \"vmatrix\": [\"|\", \"|\"],\n793: \"Vmatrix\": [\"\\\\Vert\", \"\\\\Vert\"],\n794: }[context.envName.replace(\"*\", \"\")];\n795: // \\hskip -\\arraycolsep in amsmath\n796: let colAlign = \"c\";\n797: const payload = {\n798: hskipBeforeAndAfter: false,\n799: cols: [{type: \"align\", align: colAlign}],\n800: };\n801: if (context.envName.charAt(context.envName.length - 1) === \"*\") {\n802: // It's one of the mathtools starred functions.\n803: // Parse the optional alignment argument.\n804: const parser = context.parser;\n805: parser.consumeSpaces();\n806: if (parser.fetch().text === \"[\") {\n807: parser.consume();\n808: parser.consumeSpaces();\n809: colAlign = parser.fetch().text;\n810: if (\"lcr\".indexOf(colAlign) === -1) {\n811: throw new ParseError(\"Expected l or c or r\", parser.nextToken);\n812: }\n813: parser.consume();\n814: parser.consumeSpaces();\n815: parser.expect(\"]\");\n816: parser.consume();\n817: payload.cols = [{type: \"align\", align: colAlign}];\n818: }\n819: }\n820: const res: ParseNode<\"array\"> =\n821: parseArray(context.parser, payload, dCellStyle(context.envName));\n822: // Populate cols with the correct number of column alignment specs.\n823: const numCols = Math.max(0, ...res.body.map((row) => row.length));\n824: res.cols = new Array(numCols).fill(\n825: {type: \"align\", align: colAlign}\n826: );\n827: return delimiters ? {\n828: type: \"leftright\",\n829: mode: context.mode,\n830: body: [res],\n831: left: delimiters[0],\n832: right: delimiters[1],\n833: rightColor: undefined, // \\right uninfluenced by \\color in array\n834: } : res;\n835: },\n836: htmlBuilder,\n837: mathmlBuilder,\n838: });\n839: \n840: defineEnvironment({\n841: type: \"array\",\n842: names: [\"smallmatrix\"],\n843: props: {\n844: numArgs: 0,\n845: },\n846: handler(context) {\n847: const payload = {arraystretch: 0.5};\n848: const res = parseArray(context.parser, payload, \"script\");\n849: res.colSeparationType = \"small\";\n850: return res;\n851: },\n852: htmlBuilder,\n853: mathmlBuilder,\n854: });\n855: \n856: defineEnvironment({\n857: type: \"array\",\n[window truncated; visible lines 787-857]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-3018__rR2AYqh:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":1364,"content_sha256":"b914d37c731b617f0617ceb7811542a7dd912db268a51aa58e490719276a8994","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":28,"sha256":"3e8c5359eb46eb7c42a09ce49698057082a7478e3a7da81ff6a4ce4683270602","start_line":1,"truncated":false},"content_sha256":"e2d16b4ff5804003ae04be3cc440fca5f515b24271311ddcb20affda04ff1ccd","end_line":120,"note":"file absent at reference state; proposed contents are text-only, NOT execution","path":"test/repro-spec.js","preview_unexecuted":true,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"katex__katex-3997__2L7W8yS:17","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/repro-spec.js, reference lines 1-120\nfile absent at reference state; proposed contents are text-only, NOT execution\nReference read unavailable: file does not exist\nReference-state content:\n\nCandidate text preview (unexecuted):\n1: import katex from \"../katex\";\n2: \n3: describe(\"repro\", function() {\n4: const testCases = [\n5: [\"\\\\text{⋮}\", \"⋮ in text (literal)\"],\n6: [\"\\\\text{\\\\varvdots}\", \"\\\\varvdots in text\"],\n7: [\"\\\\text{\\\\vdots}\", \"\\\\vdots in text\"],\n8: [\"⋮\", \"⋮ in math (literal)\"],\n9: [\"\\\\varvdots\", \"\\\\varvdots in math\"],\n10: [\"\\\\vdots\", \"\\\\vdots in math\"],\n11: [\"\\\\text{…}\", \"… in text\"],\n12: [\"…\", \"… in math\"],\n13: [\"\\\\text{⋯}\", \"⋯ in text\"],\n14: [\"⋯\", \"⋯ in math\"],\n15: [\"\\\\text{⋮}\", \"⋮ in text via \\\\u22ee\"],\n16: ];\n17: \n18: it(\"prints results\", function() {\n19: for (const [tc, label] of testCases) {\n20: try {\n21: katex.renderToString(tc);\n22: console.log(\"OK : \" + JSON.stringify(tc) + \" (\" + label + \")\");\n23: } catch (e) {\n24: console.log(\"ERROR: \" + JSON.stringify(tc) + \" (\" + label + \") -> \" + e.message);\n25: }\n26: }\n27: });\n28: });\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-3997__2L7W8yS:17"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5945,"content_sha256":"ce06513f773700a7490496b1129669f1e576cf7482e4ef9a04b57c1e7f671efb","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":3689,"sha256":"41918a632c149da94a258da055116f87049c5d370f849cfc42ca95b56e5b2abf","start_line":3637,"truncated":true},"content_sha256":"336c508e724f27460ea9bda781fdd473c7da3476e708ce9d00c6342bd2e732f5","end_line":3726,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"test/katex-spec.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"420d96fb6a9a9ac14eb0aabc957fa8127f976f22f57e232308bbb01a18257158","reference_window":{"end_line":3690,"sha256":"3a44376189b68a2e9b526036c9db9d28dc12d5ea5d1f9243ac9b9212cf165bdf","start_line":3637,"truncated":true},"start_line":3603,"truncated":true}],"item_id":"katex__katex-4000__5xHAkJx:33","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/katex-spec.js, reference lines 3603-3726\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n3637: });\n3638: \n3639: it(\"\\\\newcommand defines new macros\", () => {\n3640: expect`\\newcommand\\foo{x^2}\\foo+\\foo`.toParseLike`x^2+x^2`;\n3641: expect`\\newcommand{\\foo}{x^2}\\foo+\\foo`.toParseLike`x^2+x^2`;\n3642: // Function detection\n3643: expect`\\newcommand\\bar{x^2}\\bar+\\bar`.not.toParse();\n3644: expect`\\newcommand{\\bar}{x^2}\\bar+\\bar`.not.toParse();\n3645: // Symbol detection\n3646: expect`\\newcommand\\lambda{x^2}\\lambda`.not.toParse();\n3647: expect`\\newcommand\\textdollar{x^2}\\textdollar`.not.toParse();\n3648: // Macro detection\n3649: expect`\\newcommand{\\foo}{1}\\foo\\newcommand{\\foo}{2}\\foo`.not.toParse();\n3650: // Implicit detection\n3651: expect`\\newcommand\\limits{}`.not.toParse();\n3652: });\n3653: \n3654: it(\"\\\\renewcommand redefines macros\", () => {\n3655: expect`\\renewcommand\\foo{x^2}\\foo+\\foo`.not.toParse();\n3656: expect`\\renewcommand{\\foo}{x^2}\\foo+\\foo`.not.toParse();\n3657: expect`\\renewcommand\\bar{x^2}\\bar+\\bar`.toParseLike`x^2+x^2`;\n3658: expect`\\renewcommand{\\bar}{x^2}\\bar+\\bar`.toParseLike`x^2+x^2`;\n3659: expect`\\newcommand{\\foo}{1}\\foo\\renewcommand{\\foo}{2}\\foo`.toParseLike`12`;\n3660: });\n3661: \n3662: it(\"\\\\providecommand (re)defines macros\", () => {\n3663: expect`\\providecommand\\foo{x^2}\\foo+\\foo`.toParseLike`x^2+x^2`;\n3664: expect`\\providecommand{\\foo}{x^2}\\foo+\\foo`.toParseLike`x^2+x^2`;\n3665: expect`\\providecommand\\bar{x^2}\\bar+\\bar`.toParseLike`x^2+x^2`;\n3666: expect`\\providecommand{\\bar}{x^2}\\bar+\\bar`.toParseLike`x^2+x^2`;\n3667: expect`\\newcommand{\\foo}{1}\\foo\\providecommand{\\foo}{2}\\foo`\n3668: .toParseLike`12`;\n3669: expect`\\providecommand{\\foo}{1}\\foo\\renewcommand{\\foo}{2}\\foo`\n3670: .toParseLike`12`;\n3671: expect`\\providecommand{\\foo}{1}\\foo\\providecommand{\\foo}{2}\\foo`\n3672: .toParseLike`12`;\n3673: });\n3674: \n3675: it(\"\\\\newcommand is local\", () => {\n3676: expect`\\newcommand\\foo{1}\\foo{\\renewcommand\\foo{2}\\foo}\\foo`\n3677: .toParseLike`1{2}1`;\n3678: });\n3679: \n3680: it(\"\\\\newcommand accepts number of arguments\", () => {\n3681: expect`\\newcommand\\foo[1]{#1^2}\\foo x+\\foo{y}`.toParseLike`x^2+y^2`;\n3682: expect`\\newcommand\\foo[10]{#1^2}\\foo 0123456789`.toParseLike`0^2`;\n3683: expect`\\newcommand\\foo[x]{}`.not.toParse();\n3684: expect`\\newcommand\\foo[1.5]{}`.not.toParse();\n3685: });\n3686: \n3687: // This may change in the future, if we support the extra features of\n3688: // \\hspace.\n3689: it(\"should treat \\\\hspace, \\\\hskip like \\\\kern\", function() {\n3690: expect`\\hspace{1em}`.toParseLike`\\kern1em`;\n[window truncated; visible lines 3637-3690]\nCandidate text preview (unexecuted):\n3637: });\n3638: \n3639: it(\"\\\\newcommand defines new macros\", () => {\n3640: expect`\\newcommand\\foo{x^2}\\foo+\\foo`.toParseLike`x^2+x^2`;\n3641: expect`\\newcommand{\\foo}{x^2}\\foo+\\foo`.toParseLike`x^2+x^2`;\n3642: // Function detection\n3643: expect`\\newcommand\\bar{x^2}\\bar+\\bar`.not.toParse();\n3644: expect`\\newcommand{\\bar}{x^2}\\bar+\\bar`.not.toParse();\n3645: // Symbol detection\n3646: expect`\\newcommand\\lambda{x^2}\\lambda`.not.toParse();\n3647: expect`\\newcommand\\textdollar{x^2}\\textdollar`.not.toParse();\n3648: // Macro detection\n3649: expect`\\newcommand{\\foo}{1}\\foo\\newcommand{\\foo}{2}\\foo`.not.toParse();\n3650: // Implicit detection\n3651: expect`\\newcommand\\limits{}`.not.toParse();\n3652: });\n3653: \n3654: it(\"\\\\renewcommand redefines macros\", () => {\n3655: expect`\\renewcommand\\foo{x^2}\\foo+\\foo`.not.toParse();\n3656: expect`\\renewcommand{\\foo}{x^2}\\foo+\\foo`.not.toParse();\n3657: expect`\\renewcommand\\bar{x^2}\\bar+\\bar`.toParseLike`x^2+x^2`;\n3658: expect`\\renewcommand{\\bar}{x^2}\\bar+\\bar`.toParseLike`x^2+x^2`;\n3659: expect`\\newcommand{\\foo}{1}\\foo\\renewcommand{\\foo}{2}\\foo`.toParseLike`12`;\n3660: });\n3661: \n3662: it(\"\\\\providecommand (re)defines macros\", () => {\n3663: expect`\\providecommand\\foo{x^2}\\foo+\\foo`.toParseLike`x^2+x^2`;\n3664: expect`\\providecommand{\\foo}{x^2}\\foo+\\foo`.toParseLike`x^2+x^2`;\n3665: // `\\bar` is already defined, so `\\providecommand` leaves it alone and\n3666: // the trailing `\\bar+\\bar` fails to parse (missing argument).\n3667: expect`\\providecommand\\bar{x^2}\\bar+\\bar`.not.toParse();\n3668: expect`\\providecommand{\\bar}{x^2}\\bar+\\bar`.not.toParse();\n3669: expect`\\newcommand{\\foo}{1}\\foo\\providecommand{\\foo}{2}\\foo`\n3670: .toParseLike`12`;\n3671: expect`\\providecommand{\\foo}{1}\\foo\\renewcommand{\\foo}{2}\\foo`\n3672: .toParseLike`12`;\n3673: expect`\\providecommand{\\foo}{1}\\foo\\providecommand{\\foo}{2}\\foo`\n3674: .toParseLike`12`;\n3675: });\n3676: \n3677: it(\"\\\\newcommand is local\", () => {\n3678: expect`\\newcommand\\foo{1}\\foo{\\renewcommand\\foo{2}\\foo}\\foo`\n3679: .toParseLike`1{2}1`;\n3680: });\n3681: \n3682: it(\"\\\\newcommand accepts number of arguments\", () => {\n3683: expect`\\newcommand\\foo[1]{#1^2}\\foo x+\\foo{y}`.toParseLike`x^2+y^2`;\n3684: expect`\\newcommand\\foo[10]{#1^2}\\foo 0123456789`.toParseLike`0^2`;\n3685: expect`\\newcommand\\foo[x]{}`.not.toParse();\n3686: expect`\\newcommand\\foo[1.5]{}`.not.toParse();\n3687: });\n3688: \n3689: // This may change in the future, if we support the extra features of\n[window truncated; visible lines 3637-3689]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"katex__katex-4000__5xHAkJx:33"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":267,"content_sha256":"b3b20543211abe94b946b287e1809229a5ff947831d579c4075ddb570e92e0c4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"kyeotic__raviger-25__Sfo7VRb:25","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"kyeotic__raviger-25__Sfo7VRb:25"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5948,"content_sha256":"f867bf91cc0fd62ff33b73c47c23eb101bb0bbd3570c1c1eb812c7e0e6c5b62c","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":121,"sha256":"25bc8484b78855e8a9cd64a06acbbcfe97a4d2b8fa48c4dc919149c41f62d314","start_line":48,"truncated":true},"content_sha256":"31a0689b6a21905c27281d1e39f1e2ad45a198dfe6f89b62044a4548ac8079cc","end_line":150,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"test/path.spec.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"bba7be9d9eb3e5c0e1e0064fa725b4d49545a1a586276f41d42eaae224a680ac","reference_window":{"end_line":117,"sha256":"a96efb911fdbe6dfaaaeb29531f98d6ed8f726d647d98a93ea0ccfbfbc99af97","start_line":36,"truncated":true},"start_line":24,"truncated":true}],"item_id":"kyeotic__raviger-51__xbQvaDj:33","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/path.spec.js, reference lines 24-150\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n36: })\n37: \n38: describe('usePath', () => {\n39: function Route() {\n40: let path = usePath()\n41: return {path}\n42: }\n43: test('returns original path', async () => {\n44: act(() => navigate('/'))\n45: const { getByTestId } = render()\n46: \n47: expect(getByTestId('path')).toHaveTextContent('/')\n48: })\n49: \n50: test('returns updated path', async () => {\n51: act(() => navigate('/'))\n52: const { getByTestId } = render()\n53: act(() => navigate('/about'))\n54: \n55: expect(getByTestId('path')).toHaveTextContent('/about')\n56: })\n57: \n58: test('does not include parent router base path', async () => {\n59: function Harness({ routes, basePath }) {\n60: const route = useRoutes(routes, { basePath })\n61: return route\n62: }\n63: \n64: const nestedRoutes = {\n65: '/': () => ,\n66: '/about': () => \n67: }\n68: const routes = {\n69: '/': () => ,\n70: '/about': () => ,\n71: '/nested*': () => \n72: }\n73: \n74: const { getByTestId } = render()\n75: act(() => navigate('/'))\n76: expect(getByTestId('path')).toHaveTextContent('/')\n77: \n78: act(() => navigate('/about'))\n79: expect(getByTestId('path')).toHaveTextContent('/about')\n80: \n81: act(() => navigate('/nested/about'))\n82: expect(getByTestId('path')).toHaveTextContent('/about')\n83: \n84: // Yes, check twice\n85: // This is a regression check for this bug: https://github.com/kyeotic/raviger/issues/34\n86: act(() => navigate('/nested/about'))\n87: expect(getByTestId('path')).toHaveTextContent('/about')\n88: expect(getByTestId('path')).not.toHaveTextContent('/nested')\n89: })\n90: })\n91: \n92: describe('useHash', () => {\n93: function Route({ skip }) {\n94: let hash = useHash({ stripHash: skip ? false : undefined })\n95: return {hash}\n96: }\n97: test('returns original hash', async () => {\n98: act(() => navigate('/#test'))\n99: const { getByTestId } = render()\n100: \n101: expect(getByTestId('hash')).toHaveTextContent('test')\n102: })\n103: \n104: test('returns updated hash', async () => {\n105: act(() => navigate('/#test'))\n106: const { getByTestId } = render()\n107: act(() => navigate('/#updated'))\n108: \n109: expect(getByTestId('hash')).toHaveTextContent('updated')\n110: })\n111: test('returns hash without stripping when stripHash is false', async () => {\n112: act(() => navigate('/#test'))\n113: const { getByTestId } = render()\n114: \n115: expect(getByTestId('hash')).toHaveTextContent('#test')\n116: })\n117: })\n[window truncated; visible lines 36-117]\nCandidate text preview (unexecuted):\n48: })\n49: \n50: test('returns updated path', async () => {\n51: act(() => navigate('/'))\n52: const { getByTestId } = render()\n53: act(() => navigate('/about'))\n54: \n55: expect(getByTestId('path')).toHaveTextContent('/about')\n56: })\n57: \n58: test('does not include parent router base path', async () => {\n59: function Harness({ routes, basePath }) {\n60: const route = useRoutes(routes, { basePath })\n61: return route\n62: }\n63: \n64: const nestedRoutes = {\n65: '/': () => ,\n66: '/about': () => \n67: }\n68: const routes = {\n69: '/': () => ,\n70: '/about': () => ,\n71: '/nested*': () => \n72: }\n73: \n74: const { getByTestId } = render()\n75: act(() => navigate('/'))\n76: expect(getByTestId('path')).toHaveTextContent('/')\n77: \n78: act(() => navigate('/about'))\n79: expect(getByTestId('path')).toHaveTextContent('/about')\n80: \n81: act(() => navigate('/nested/about'))\n82: expect(getByTestId('path')).toHaveTextContent('/about')\n83: \n84: // Yes, check twice\n85: // This is a regression check for this bug: https://github.com/kyeotic/raviger/issues/34\n86: act(() => navigate('/nested/about'))\n87: expect(getByTestId('path')).toHaveTextContent('/about')\n88: expect(getByTestId('path')).not.toHaveTextContent('/nested')\n89: })\n90: \n91: test('nested router with its own basePath keeps updating on navigation', async () => {\n92: function Harness({ routes, basePath }) {\n93: const route = useRoutes(routes, { basePath })\n94: return route\n95: }\n96: \n97: // The nested router has a basePath that differs from the basePath it\n98: // inherits from the parent router context.\n99: const nestedRoutes = {\n100: '/:param': () => \n101: }\n102: const routes = {\n103: '/': () => ,\n104: '/nested/:param': () => (\n105: \n106: )\n107: }\n108: \n109: const { getByTestId } = render()\n110: act(() => navigate('/base/'))\n111: expect(getByTestId('path')).toHaveTextContent('/')\n112: \n113: act(() => navigate('/base/nested/about'))\n114: expect(getByTestId('path')).toHaveTextContent('/about')\n115: \n116: // Regression: navigating to a different param in the nested router must\n117: // still update the path (previously the inherited basePath was used for\n118: // location changes instead of the router's own basePath).\n119: act(() => navigate('/base/nested/test'))\n120: expect(getByTestId('path')).toHaveTextContent('/test')\n121: })\n[window truncated; visible lines 48-121]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"kyeotic__raviger-51__xbQvaDj:33"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5862,"content_sha256":"e09c74e28b3dbf943647e72b05716a18e86d8e777010e9fe418282a79a6a13b7","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":99,"sha256":"08447cc6c94cd6c30949102c727b19d588b8d864ff0d4700231bc0483ae31332","start_line":18,"truncated":true},"content_sha256":"6cd1c959dd067361ddc9767f601a610ef24946c362ecddd7afd66c37874e9bac","end_line":118,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"test/path.spec.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"519c460a29b4cac3135993897b33f20aa27b0fdfbc0a94a8a1bf5357b1e4feab","reference_window":{"end_line":99,"sha256":"143e848dbdb5282ca501cf1086689d537f9e2a8653bde80b07fb856bbf12e1f5","start_line":18,"truncated":true},"start_line":1,"truncated":true}],"item_id":"kyeotic__raviger-59__mPt44DD:9","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/test/path.spec.js, reference lines 1-118\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n18: return null\n19: }\n20: test('setter gets updated path', async () => {\n21: let watcher = jest.fn()\n22: render()\n23: \n24: act(() => navigate('/foo'))\n25: expect(watcher).toBeCalledWith('/foo')\n26: act(() => navigate('/base'))\n27: expect(watcher).toBeCalledWith('/base')\n28: })\n29: test('setter is not updated when isActive is false', async () => {\n30: let watcher = jest.fn()\n31: render()\n32: act(() => navigate('/foo'))\n33: \n34: expect(watcher).not.toBeCalled()\n35: })\n36: })\n37: \n38: describe('usePath', () => {\n39: function Route() {\n40: let path = usePath()\n41: return {path}\n42: }\n43: test('returns original path', async () => {\n44: act(() => navigate('/'))\n45: const { getByTestId } = render()\n46: \n47: expect(getByTestId('path')).toHaveTextContent('/')\n48: })\n49: \n50: test('returns updated path', async () => {\n51: act(() => navigate('/'))\n52: const { getByTestId } = render()\n53: act(() => navigate('/about'))\n54: \n55: expect(getByTestId('path')).toHaveTextContent('/about')\n56: })\n57: \n58: test('does not include parent router base path', async () => {\n59: function Harness({ routes, basePath }) {\n60: const route = useRoutes(routes, { basePath })\n61: return route\n62: }\n63: \n64: const nestedRoutes = {\n65: '/': () => ,\n66: '/about': () => \n67: }\n68: const routes = {\n69: '/': () => ,\n70: '/about': () => ,\n71: '/nested*': () => \n72: }\n73: \n74: const { getByTestId } = render()\n75: act(() => navigate('/'))\n76: expect(getByTestId('path')).toHaveTextContent('/')\n77: \n78: act(() => navigate('/about'))\n79: expect(getByTestId('path')).toHaveTextContent('/about')\n80: \n81: act(() => navigate('/nested/about'))\n82: expect(getByTestId('path')).toHaveTextContent('/about')\n83: \n84: // Yes, check twice\n85: // This is a regression check for this bug: https://github.com/kyeotic/raviger/issues/34\n86: act(() => navigate('/nested/about'))\n87: expect(getByTestId('path')).toHaveTextContent('/about')\n88: expect(getByTestId('path')).not.toHaveTextContent('/nested')\n89: })\n90: \n91: test('has correct path for nested base path', async () => {\n92: function Harness({ routes, basePath }) {\n93: const route = useRoutes(routes, { basePath })\n94: return route\n95: }\n96: \n97: const nestedRoutes = {\n98: '/': () => ,\n99: '/about': () => ,\n[window truncated; visible lines 18-99]\nCandidate text preview (unexecuted):\n18: return null\n19: }\n20: test('setter gets updated path', async () => {\n21: let watcher = jest.fn()\n22: render()\n23: \n24: act(() => navigate('/foo'))\n25: expect(watcher).toBeCalledWith('/foo')\n26: act(() => navigate('/base'))\n27: expect(watcher).toBeCalledWith('/base')\n28: })\n29: test('setter is not updated when isActive is false', async () => {\n30: let watcher = jest.fn()\n31: render()\n32: act(() => navigate('/foo'))\n33: \n34: expect(watcher).not.toBeCalled()\n35: })\n36: })\n37: \n38: describe('usePath', () => {\n39: function Route() {\n40: let path = usePath()\n41: return {path}\n42: }\n43: test('returns original path', async () => {\n44: act(() => navigate('/'))\n45: const { getByTestId } = render()\n46: \n47: expect(getByTestId('path')).toHaveTextContent('/')\n48: })\n49: \n50: test('returns updated path', async () => {\n51: act(() => navigate('/'))\n52: const { getByTestId } = render()\n53: act(() => navigate('/about'))\n54: \n55: expect(getByTestId('path')).toHaveTextContent('/about')\n56: })\n57: \n58: test('strips base path case-insensitively', async () => {\n59: function Route() {\n60: let path = usePath('/MyApp')\n61: return {path}\n62: }\n63: act(() => navigate('/'))\n64: const { getByTestId } = render()\n65: act(() => navigate('/myapp/about'))\n66: \n67: expect(getByTestId('path')).toHaveTextContent('/about')\n68: })\n69: \n70: test('does not include parent router base path', async () => {\n71: function Harness({ routes, basePath }) {\n72: const route = useRoutes(routes, { basePath })\n73: return route\n74: }\n75: \n76: const nestedRoutes = {\n77: '/': () => ,\n78: '/about': () => \n79: }\n80: const routes = {\n81: '/': () => ,\n82: '/about': () => ,\n83: '/nested*': () => \n84: }\n85: \n86: const { getByTestId } = render()\n87: act(() => navigate('/'))\n88: expect(getByTestId('path')).toHaveTextContent('/')\n89: \n90: act(() => navigate('/about'))\n91: expect(getByTestId('path')).toHaveTextContent('/about')\n92: \n93: act(() => navigate('/nested/about'))\n94: expect(getByTestId('path')).toHaveTextContent('/about')\n95: \n96: // Yes, check twice\n97: // This is a regression check for this bug: https://github.com/kyeotic/raviger/issues/34\n98: act(() => navigate('/nested/about'))\n99: expect(getByTestId('path')).toHaveTextContent('/about')\n[window truncated; visible lines 18-99]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"kyeotic__raviger-59__mPt44DD:9"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4095,"content_sha256":"522276dde1b7308d3457497bb44c58a0cb057817b41d5fe82788216d735fd5bf","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"f4b2e3429694034cab215c3f96f55de5fe08facbc818175a1f33e9b1b2a95716","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"package.json","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"7509a53a5eee13342f23e7dd965865de7ca374c211da738ca5f63b573cd0ea68","reference_window":{"end_line":98,"sha256":"1eaeaa20f5c0f26170a09a2f6280ecd142d7557b6c28a9fe1607b16d41763894","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"kyeotic__raviger-72__L23Lz7K:0","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/package.json, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: {\n2: \"name\": \"raviger\",\n3: \"version\": \"1.5.0\",\n4: \"description\": \"React routing with hooks\",\n5: \"main\": \"dist/main.js\",\n6: \"module\": \"dist/module.js\",\n7: \"files\": [\n8: \"dist/\",\n9: \"types/\"\n10: ],\n11: \"types\": \"types/raviger.d.ts\",\n12: \"keywords\": [\n13: \"react\",\n14: \"hooks\",\n15: \"router\",\n16: \"routing\",\n17: \"route\",\n18: \"navigation\",\n19: \"navigator\"\n20: ],\n21: \"repository\": \"git@github.com:kyeotic/raviger.git\",\n22: \"author\": \"Tim Kye \",\n23: \"license\": \"MIT\",\n24: \"private\": false,\n25: \"scripts\": {\n26: \"style\": \"prettier --config package.json --write \\\"{src,test}/**/*.js\\\"\",\n27: \"style:ci\": \"prettier --config package.json --check \\\"{src,test}/**/*.js\\\"\",\n28: \"lint\": \"eslint -c package.json \\\"{src,test}/**/*.js\\\"\",\n29: \"check\": \"npm run style && npm run lint\",\n30: \"check:ci\": \"npm run style:ci && npm run lint\",\n31: \"build\": \"rollup -c\",\n32: \"build:watch\": \"rollup -c --watch\",\n33: \"example:build\": \"NODE_ENV=development rollup -c example/rollup.config.js && yarn run example:build:link-react\",\n34: \"example:build:watch\": \"rollup -c example/rollup.config.js --watch\",\n35: \"example:build:link-react\": \"mkdir -p example/dist && ln -sf $PWD/node_modules/react/umd/react.development.js example/dist/react.js && ln -sf $PWD/node_modules/react-dom/umd/react-dom.development.js example/dist/react-dom.js && ln -sf $PWD/node_modules/@welldone-software/why-did-you-render/dist/umd/whyDidYouRender.js example/dist/whyDidYouRender.js\",\n36: \"example:serve\": \"npm run example:build:link-react && http-server example/ -p 8080 --proxy http://localhost:8080?\",\n37: \"example:dev\": \"run-p example:build:watch example:serve\",\n38: \"test\": \"jest\",\n39: \"test:watch\": \"jest --watch\",\n40: \"test:coverage\": \"jest --coverage\",\n41: \"test:coverage:open\": \"run-s test:coverage coverage:report\",\n42: \"test:unit:ci\": \"jest --ci --coverage --reporters=default --reporters=jest-junit\",\n43: \"coverage:report\": \"open coverage/lcov-report/index.html\",\n44: \"test:ci\": \"run-s check:ci test:unit:ci size\",\n45: \"size\": \"run-s build size:check\",\n46: \"size:check\": \"size-limit\",\n47: \"prepublishOnly\": \"run-s test:ci\",\n48: \"release\": \"np\"\n49: },\n50: \"dependencies\": {},\n51: \"peerDependencies\": {\n52: \"react\": \"^16.8.0\"\n53: },\n54: \"devDependencies\": {\n55: \"@babel/core\": \"^7.8.4\",\n56: \"@babel/preset-env\": \"^7.8.4\",\n57: \"@babel/preset-react\": \"^7.8.3\",\n58: \"@kyeotic/eslint-config\": \"^1.0.2\",\n59: \"@size-limit/preset-small-lib\": \"^4.0.0\",\n60: \"@testing-library/jest-dom\": \"^4.2.4\",\n61: \"@testing-library/react\": \"^8.0.7\",\n62: \"@types/jest\": \"^24.9.1\",\n63: \"@welldone-software/why-did-you-render\": \"^3.6.0\",\n64: \"babel-jest\": \"^24.8.0\",\n65: \"core-js\": \"^3.6.5\",\n66: \"eslint\": \"^5.6.0\",\n67: \"eslint-plugin-jest\": \"^22.21.0\",\n68: \"eslint-plugin-react\": \"^7.18.3\",\n69: \"http-server\": \"^0.11.1\",\n70: \"jest\": \"^24.8.0\",\n71: \"jest-junit\": \"^8.0.0\",\n72: \"np\": \"^6.2.0\",\n73: \"npm-run-all\": \"^4.1.5\",\n74: \"prettier\": \"^1.19.1\",\n75: \"react\": \"^16.12.0\",\n76: \"react-dom\": \"^16.12.0\",\n77: \"rollup\": \"^1.31.0\",\n78: \"rollup-plugin-babel\": \"^4.3.3\",\n79: \"rollup-plugin-replace\": \"^2.2.0\",\n80: \"size-limit\": \"^4.0.0\"\n81: },\n82: \"np\": {\n83: \"yarn\": false\n84: },\n85: \"prettier\": {\n86: \"tabWidth\": 2,\n87: \"semi\": false,\n88: \"singleQuote\": true,\n89: \"printWidth\": 80\n90: },\n91: \"size-limit\": [\n92: {\n93: \"webpack\": false,\n94: \"path\": \"dist/module.js\",\n95: \"limit\": \"4kb\"\n96: }\n97: ]\n98: }\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"kyeotic__raviger-72__L23Lz7K:0"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"martinblech_xmltodict_pr180__JCCoKtd:9","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"martinblech_xmltodict_pr180__JCCoKtd:9"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3082,"content_sha256":"8dae1660888df7a0283edd7009164cb5ad1773078a23c3ac8cdafdc4c16fcc6c","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":67,"sha256":"4fffd4cc5d519f59a77fb904226154c57043b7d2cfbe9280c23f5d46cebe20d1","start_line":1,"truncated":false},"content_sha256":"6c5a5f61c05324e35216424b0a79ed74591e1e7ba6d4a572a192f2c6a0946714","end_line":67,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"CHANGELOG.md","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"156df8a198fe3f210ab67c2659457569c4dee3c3b3bad280047f5bec840e4271","reference_window":{"end_line":67,"sha256":"a33983f71248ba540c042e5153c83033e3e20a6be9c72cb4d1293befa64b4a27","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"martinblech_xmltodict_pr92__7KNXkrZ:16","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/CHANGELOG.md, reference lines 1-67\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: CHANGELOG\n2: =========\n3: \n4: v0.9.2\n5: ------\n6: \n7: * Fix multiroot check for list values (edge case reported by @JKillian)\n8: \n9: v0.9.1\n10: ------\n11: \n12: * Only check single root when full_document=True (Thanks @JKillian!)\n13: \n14: v0.9.0\n15: ------\n16: \n17: * Added CHANGELOG.md\n18: * Avoid ternary operator in call to ParserCreate().\n19: * Adding Python 3.4 to Tox test environment.\n20: * Added full_document flag to unparse (default=True).\n21: \n22: v0.8.7\n23: ------\n24: \n25: * Merge pull request #56 from HansWeltar/master\n26: * Improve performance for large files\n27: * Updated README unparse example with pretty=True.\n28: \n29: v0.8.6\n30: ------\n31: \n32: * Fixed extra newlines in pretty print mode.\n33: * Fixed all flake8 warnings.\n34: \n35: v0.8.5\n36: ------\n37: \n38: * Added Tox config.\n39: * Let expat figure out the doc encoding.\n40: \n41: v0.8.4\n42: ------\n43: \n44: * Fixed Jython TravisCI build.\n45: * Moved nose and coverage to tests_require.\n46: * Dropping python 2.5 from travis.yml.\n47: \n48: v0.8.3\n49: ------\n50: \n51: * Use system setuptools if available.\n52: \n53: v0.8.2\n54: ------\n55: \n56: * Switch to latest setuptools.\n57: \n58: v0.8.1\n59: ------\n60: \n61: * Include distribute_setup.py in MANIFEST.in\n62: * Updated package classifiers (python versions, PyPy, Jython).\n63: \n64: v0.8.0\n65: ------\n66: \n67: * Merge pull request #40 from martinblech/jython-support\nCandidate text preview (unexecuted):\n1: CHANGELOG\n2: =========\n3: \n4: Unreleased\n5: ----------\n6: \n7: * Allow generators in `unparse()` input dicts, consumed lazily to emit\n8: multiple child nodes without materializing the whole sequence in memory.\n9: \n10: v0.9.2\n11: ------\n12: \n13: * Fix multiroot check for list values (edge case reported by @JKillian)\n14: \n15: v0.9.1\n16: ------\n17: \n18: * Only check single root when full_document=True (Thanks @JKillian!)\n19: \n20: v0.9.0\n21: ------\n22: \n23: * Added CHANGELOG.md\n24: * Avoid ternary operator in call to ParserCreate().\n25: * Adding Python 3.4 to Tox test environment.\n26: * Added full_document flag to unparse (default=True).\n27: \n28: v0.8.7\n29: ------\n30: \n31: * Merge pull request #56 from HansWeltar/master\n32: * Improve performance for large files\n33: * Updated README unparse example with pretty=True.\n34: \n35: v0.8.6\n36: ------\n37: \n38: * Fixed extra newlines in pretty print mode.\n39: * Fixed all flake8 warnings.\n40: \n41: v0.8.5\n42: ------\n43: \n44: * Added Tox config.\n45: * Let expat figure out the doc encoding.\n46: \n47: v0.8.4\n48: ------\n49: \n50: * Fixed Jython TravisCI build.\n51: * Moved nose and coverage to tests_require.\n52: * Dropping python 2.5 from travis.yml.\n53: \n54: v0.8.3\n55: ------\n56: \n57: * Use system setuptools if available.\n58: \n59: v0.8.2\n60: ------\n61: \n62: * Switch to latest setuptools.\n63: \n64: v0.8.1\n65: ------\n66: \n67: * Include distribute_setup.py in MANIFEST.in\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"martinblech_xmltodict_pr92__7KNXkrZ:16"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":285,"content_sha256":"0ef7cd776e3dfb494c80f3a348b7c4b44e53ef4ca11895c65fb403d2039a7c4e","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"f26250800d55d75806b7b95d80b17f8d8dda61430965dbdd77b5a283433fa86a","end_line":120,"note":"old_str matches=0; preview unavailable; showing first 120 lines","path":"src/banks/filters/tool.py","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"masci_banks_pr20__PWHtvPi:39","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/banks/filters/tool.py, reference lines 1-120\nold_str matches=0; preview unavailable; showing first 120 lines\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"masci_banks_pr20__PWHtvPi:39"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4745,"content_sha256":"aa447e23bef7ae5580e259f05a9e372cf7d85322eae19419ed5005c292d79bac","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":61,"sha256":"7427e55ea4674fc89ebaf04b85e9db68a6b4c7ea95e882a6f34daaa13755a6ef","start_line":1,"truncated":false},"content_sha256":"14c78830107e24a0423a11550bad4f7a556641a37bd9cde7031b9e2ab732bdf3","end_line":87,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_chat.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"71db73ad827099228574b21b3164106b61fdfb1ea9f49f08adbe3973554def87","reference_window":{"end_line":61,"sha256":"2ccfead638ef66209dae9710616e2bc450d8b81218a7250a17dd245cce0a56a1","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"masci_banks_pr30__wpGcMPT:16","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_chat.py, reference lines 1-87\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import pytest\n2: from jinja2 import TemplateSyntaxError\n3: \n4: from banks import Prompt\n5: from banks.extensions.chat import _ContentBlockParser\n6: from banks.types import CacheControl, ContentBlock, ContentBlockType\n7: \n8: \n9: def test_wrong_tag():\n10: with pytest.raises(TemplateSyntaxError):\n11: Prompt(\"{% chat %}{% endchat %}\")\n12: \n13: \n14: def test_wrong_tag_params():\n15: with pytest.raises(TemplateSyntaxError):\n16: Prompt('{% chat foo=\"bar\" %}{% endchat %}')\n17: \n18: \n19: def test_wrong_role_type():\n20: with pytest.raises(TemplateSyntaxError):\n21: Prompt('{% chat role=\"does not exist\" %}{% endchat %}')\n22: \n23: \n24: def test_content_block_parser_init():\n25: p = _ContentBlockParser()\n26: assert p._parse_block_content is False\n27: assert p._content_blocks == []\n28: \n29: \n30: def test_content_block_parser_single_with_cache_control():\n31: p = _ContentBlockParser()\n32: p.feed(\n33: '{\"type\":\"text\",\"cache_control\":{\"type\":\"ephemeral\"},\"text\":\"foo\",\"source\":null}'\n34: )\n35: assert p.content == [\n36: ContentBlock(type=ContentBlockType.text, cache_control=CacheControl(type=\"ephemeral\"), text=\"foo\", source=None)\n37: ]\n38: \n39: \n40: def test_content_block_parser_single_no_cache_control():\n41: p = _ContentBlockParser()\n42: p.feed('{\"type\":\"text\",\"cache_control\":null,\"text\":\"foo\",\"source\":null}')\n43: assert p.content == \"foo\"\n44: \n45: \n46: def test_content_block_parser_multiple():\n47: p = _ContentBlockParser()\n48: p.feed(\n49: '{\"type\":\"text\",\"cache_control\":null,\"text\":\"foo\",\"source\":null}'\n50: '{\"type\":\"text\",\"cache_control\":null,\"text\":\"bar\",\"source\":null}'\n51: )\n52: assert p.content == [\n53: ContentBlock(type=ContentBlockType.text, cache_control=None, text=\"foo\", source=None),\n54: ContentBlock(type=ContentBlockType.text, cache_control=None, text=\"bar\", source=None),\n55: ]\n56: \n57: \n58: def test_content_block_parser_other_tags():\n59: p = _ContentBlockParser()\n60: p.feed(\"FOO\")\n61: assert p.content == \"FOO\"\nCandidate text preview (unexecuted):\n1: import pytest\n2: from jinja2 import TemplateSyntaxError\n3: \n4: from banks import Prompt\n5: from banks.extensions.chat import _ContentBlockParser\n6: from banks.types import CacheControl, ContentBlock, ContentBlockType\n7: \n8: \n9: def test_wrong_tag():\n10: with pytest.raises(TemplateSyntaxError):\n11: Prompt(\"{% chat %}{% endchat %}\")\n12: \n13: \n14: def test_wrong_tag_params():\n15: with pytest.raises(TemplateSyntaxError):\n16: Prompt('{% chat foo=\"bar\" %}{% endchat %}')\n17: \n18: \n19: def test_wrong_role_type():\n20: with pytest.raises(TemplateSyntaxError):\n21: Prompt('{% chat role=\"does not exist\" %}{% endchat %}')\n22: \n23: \n24: def test_content_block_parser_init():\n25: p = _ContentBlockParser()\n26: assert p._raw == []\n27: assert p._content_blocks is None\n28: \n29: \n30: def test_content_block_parser_single_with_cache_control():\n31: p = _ContentBlockParser()\n32: p.feed(\n33: '{\"type\":\"text\",\"cache_control\":{\"type\":\"ephemeral\"},\"text\":\"foo\",\"source\":null}'\n34: )\n35: assert p.content == [\n36: ContentBlock(type=ContentBlockType.text, cache_control=CacheControl(type=\"ephemeral\"), text=\"foo\", source=None)\n37: ]\n38: \n39: \n40: def test_content_block_parser_single_no_cache_control():\n41: p = _ContentBlockParser()\n42: p.feed('{\"type\":\"text\",\"cache_control\":null,\"text\":\"foo\",\"source\":null}')\n43: assert p.content == \"foo\"\n44: \n45: \n46: def test_content_block_parser_multiple():\n47: p = _ContentBlockParser()\n48: p.feed(\n49: '{\"type\":\"text\",\"cache_control\":null,\"text\":\"foo\",\"source\":null}'\n50: '{\"type\":\"text\",\"cache_control\":null,\"text\":\"bar\",\"source\":null}'\n51: )\n52: assert p.content == [\n53: ContentBlock(type=ContentBlockType.text, cache_control=None, text=\"foo\", source=None),\n54: ContentBlock(type=ContentBlockType.text, cache_control=None, text=\"bar\", source=None),\n55: ]\n56: \n57: \n58: def test_content_block_parser_other_tags():\n59: p = _ContentBlockParser()\n60: p.feed(\"FOO\")\n61: assert p.content == \"FOO\"\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"masci_banks_pr30__wpGcMPT:16"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5922,"content_sha256":"82f3de64edfdcbaa24b739bae0aadbbe1ee7c5cddd2c6309e0fccd6fe2e98055","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":97,"sha256":"c7809009fdd9089da2ab723651bf94f4b354286dfe6e3985d53376199fb0f6d3","start_line":38,"truncated":true},"content_sha256":"600fbd1badf0437c6c259ddc1fb77a36edee1445ba5249e8c11741c73fb6f37d","end_line":147,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/banks/extensions/chat.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"3ec0366b200468c3a76810b24738b4defe517d60df4a41a03bce75dff9d039f1","reference_window":{"end_line":87,"sha256":"7b36d2f396a48f7688d45faa6e1f5f40150381c1531f50fcd8df694be4149f16","start_line":23,"truncated":true},"start_line":8,"truncated":true}],"item_id":"masci_banks_pr32__5JjfRq9:22","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/banks/extensions/chat.py, reference lines 8-147\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n23: {% endchat %}\n24: ```\n25: \"\"\"\n26: \n27: # a set of names that trigger the extension.\n28: tags = {\"chat\"} # noqa\n29: \n30: def parse(self, parser):\n31: # We get the line number of the first token for error reporting\n32: lineno = next(parser.stream).lineno\n33: \n34: # Gather tokens up to the next block_end ('%}')\n35: gathered = []\n36: while parser.stream.current.type != \"block_end\":\n37: gathered.append(next(parser.stream))\n38: \n39: # If all has gone well, we will have one triplet of tokens:\n40: # (type='name, value='role'),\n41: # (type='assign', value='='),\n42: # (type='string', value='user'),\n43: # Anything else is a parse error\n44: error_msg = f\"Invalid syntax for chat attribute, got '{gathered}', expected role=\\\"value\\\"\"\n45: try:\n46: attr_name, attr_assign, attr_value = gathered # pylint: disable=unbalanced-tuple-unpacking\n47: except ValueError:\n48: raise TemplateSyntaxError(error_msg, lineno) from None\n49: \n50: # Validate tag attributes\n51: if attr_name.value != \"role\" or attr_assign.value != \"=\":\n52: raise TemplateSyntaxError(error_msg, lineno)\n53: \n54: if attr_value.value not in SUPPORTED_TYPES:\n55: types = \",\".join(SUPPORTED_TYPES)\n56: msg = f\"Unknown role type '{attr_value}', use one of ({types})\"\n57: raise TemplateSyntaxError(msg, lineno)\n58: \n59: # Pass the role name to the CallBlock node\n60: args: list[nodes.Expr] = [nodes.Const(attr_value.value)]\n61: \n62: # Message body\n63: body = parser.parse_statements((\"name:endchat\",), drop_needle=True)\n64: \n65: # Build messages list\n66: return nodes.CallBlock(self.call_method(\"_store_chat_messages\", args), [], [], body).set_lineno(lineno)\n67: \n68: def _store_chat_messages(self, role, caller):\n69: \"\"\"\n70: Helper callback.\n71: \"\"\"\n72: content_blocks: list[ContentBlock] = []\n73: result = CONTENT_BLOCK_REGEX.match(caller())\n74: if result is not None:\n75: for g in result.groups():\n76: content_blocks.append(ContentBlock.model_validate_json(g))\n77: else:\n78: content_blocks.append(ContentBlock(type=ContentBlockType.text, text=caller()))\n79: \n80: content = content_blocks\n81: if len(content_blocks) == 1:\n82: block = content_blocks[0]\n83: if block.type == \"text\" and block.cache_control is None:\n84: content = block.text or \"\"\n85: \n86: cm = ChatMessage(role=role, content=content)\n87: return cm.model_dump_json(exclude_none=True) + \"\\n\"\n[window truncated; visible lines 23-87]\nCandidate text preview (unexecuted):\n38: \n39: # If all has gone well, we will have one triplet of tokens:\n40: # (type='name, value='role'),\n41: # (type='assign', value='='),\n42: # (type='string', value='user'),\n43: # Anything else is a parse error\n44: error_msg = f\"Invalid syntax for chat attribute, got '{gathered}', expected role=\\\"value\\\"\"\n45: try:\n46: attr_name, attr_assign, attr_value = gathered # pylint: disable=unbalanced-tuple-unpacking\n47: except ValueError:\n48: raise TemplateSyntaxError(error_msg, lineno) from None\n49: \n50: # Validate tag attributes\n51: if attr_name.value != \"role\" or attr_assign.value != \"=\":\n52: raise TemplateSyntaxError(error_msg, lineno)\n53: \n54: if attr_value.value not in SUPPORTED_TYPES:\n55: types = \",\".join(SUPPORTED_TYPES)\n56: msg = f\"Unknown role type '{attr_value}', use one of ({types})\"\n57: raise TemplateSyntaxError(msg, lineno)\n58: \n59: # Pass the role name to the CallBlock node\n60: args: list[nodes.Expr] = [nodes.Const(attr_value.value)]\n61: \n62: # Message body\n63: body = parser.parse_statements((\"name:endchat\",), drop_needle=True)\n64: \n65: # Build messages list\n66: return nodes.CallBlock(self.call_method(\"_store_chat_messages\", args), [], [], body).set_lineno(lineno)\n67: \n68: def _store_chat_messages(self, role, caller):\n69: \"\"\"\n70: Helper callback.\n71: \"\"\"\n72: rendered = caller()\n73: content_blocks: list[ContentBlock] = []\n74: last_end = 0\n75: for match in CONTENT_BLOCK_REGEX.finditer(rendered):\n76: text = rendered[last_end : match.start()]\n77: # Whitespace-only segments are template formatting, not message content\n78: if text.strip():\n79: content_blocks.append(ContentBlock(type=ContentBlockType.text, text=text))\n80: content_blocks.append(ContentBlock.model_validate_json(match.group(1)))\n81: last_end = match.end()\n82: \n83: tail = rendered[last_end:]\n84: if tail.strip():\n85: content_blocks.append(ContentBlock(type=ContentBlockType.text, text=tail))\n86: \n87: if not content_blocks:\n88: content_blocks.append(ContentBlock(type=ContentBlockType.text, text=rendered))\n89: \n90: content = content_blocks\n91: if len(content_blocks) == 1:\n92: block = content_blocks[0]\n93: if block.type == \"text\" and block.cache_control is None:\n94: content = block.text or \"\"\n95: \n96: cm = ChatMessage(role=role, content=content)\n97: return cm.model_dump_json(exclude_none=True) + \"\\n\"\n[window truncated; visible lines 38-97]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"masci_banks_pr32__5JjfRq9:22"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":2035,"content_sha256":"e32a6d13a559900fbcd61c449236befbc9572352e0c209c2d443d9886b9a6bcb","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":30,"sha256":"eff9870cde6dc750bdb7bd256fa0e4403c5bf6426bbe9c1ea88ca1167c19aafd","start_line":1,"truncated":false},"content_sha256":"e1c3c46379bf9529deab72eede2a12d286d213f81a214b8474c0f899a0af405a","end_line":120,"note":"file absent at reference state; proposed contents are text-only, NOT execution","path":"AGENTS.md","preview_unexecuted":true,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"meadsteve_lagom_pr170__YZ6f6Rj:66","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/AGENTS.md, reference lines 1-120\nfile absent at reference state; proposed contents are text-only, NOT execution\nReference read unavailable: file does not exist\nReference-state content:\n\nCandidate text preview (unexecuted):\n1: # AGENTS.md\n2: \n3: Repository-specific notes for working on `lagom` (a Python dependency injection library).\n4: \n5: ## Environment caveats (pre-existing, not caused by feature work)\n6: \n7: - **mypy is effectively unusable project-wide** in this environment. The installed\n8: `mypy 0.930` is too old to parse the newer installed third-party packages\n9: (`markupsafe`, `_pytest`), so `mypy lagom` / `mypy lagom tests` fails immediately\n10: on a package file before checking any project code. To type-check a single file,\n11: bypass the broken packages:\n12: `python -m mypy --config-file mypy.ini --follow-imports=skip `.\n13: - **`black --check tests lagom` fails on `lagom/util/logging.py`** (a pre-existing\n14: double blank line). Only reformat the files you actually change.\n15: \n16: ## Verification commands that work\n17: \n18: - Unit tests: `python -m pytest tests -m \"not benchmarking\"`\n19: - Doctests: `python -m pytest --doctest-modules lagom`\n20: - Docstring coverage: `python -m interrogate --ignore-semiprivate --ignore-magic --ignore-private --fail-under 70 -vv lagom`\n21: \n22: ## Framework integration notes\n23: \n24: - `lagom/integrations/starlette.py` supports both function-based endpoints and\n25: class-based views (`starlette.endpoints.HTTPEndpoint` subclasses). For class-based\n26: views the verb methods (`get`, `post`, ...) are each bound via\n27: `container.partial` / `container.magic_partial` on a generated subclass.\n28: - `container.partial` on an *unbound* method works correctly: `_get_spec_without_self`\n29: only strips `self` for a class type, not for a plain function, so the positional\n30: offset lines up when the method is later called as a bound method.\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"meadsteve_lagom_pr170__YZ6f6Rj:66"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4000,"content_sha256":"4a8b69ea941eb6f169ccc51ea2989f142fe19586a05e69d7edffe2b0f5bfff15","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ab984d9d73353ae18421ffe6733af60f7466e82c1429d319b51c6e7bb0cdcf7f","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"svgelements/svgelements.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"a020a82599a5a20bd3888f9777e43ed2c8751d564e7881226d7f7c714cfc8120","reference_window":{"end_line":120,"sha256":"9fb162732774661df51e9d0c3ccc9bd8f8edb693d3e64294a2a991d03330bbdd","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"399eadbd63a1003398c7f5f19b8932d9686a37e4171e88d55de29c2f49a55c41","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"f850ef8:svgelements/svgelements.py","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"meerk40t_svgelements_pr209__SRopxSP:29","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/svgelements/svgelements.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: # -*- coding: ISO-8859-1 -*-\n2: \n3: import re\n4: \n5: try:\n6: from collections.abc import MutableSequence # noqa\n7: except ImportError:\n8: from collections import MutableSequence # noqa\n9: \n10: from copy import copy\n11: from math import (\n12: acos,\n13: atan,\n14: atan2,\n15: ceil,\n16: cos,\n17: degrees,\n18: hypot,\n19: log,\n20: radians,\n21: sin,\n22: sqrt,\n23: tan,\n24: )\n25: from xml.etree.ElementTree import iterparse\n26: \n27: try:\n28: from math import tau\n29: except ImportError:\n30: from math import pi\n31: \n32: tau = pi * 2\n33: \n34: \"\"\"\n35: The path elements are derived from regebro's svg.path project ( https://github.com/regebro/svg.path ) with\n36: some of the math from mathandy's svgpathtools project ( https://github.com/mathandy/svgpathtools ).\n37: \n38: The goal is to provide svg like path objects and structures. The svg standard 1.1 and elements of 2.0 will\n39: be used to provide much of the decisions within path objects. Such that if there is a question on\n40: implementation if the SVG documentation has a methodology it should be used.\n41: \n42: Though not required the Image class acquires new functionality if provided with PIL/Pillow as an import\n43: and the Arc can do exact arc calculations if scipy is installed.\n44: \"\"\"\n45: \n46: SVGELEMENTS_VERSION = \"1.8.5\"\n47: \n48: MIN_DEPTH = 5\n49: ERROR = 1e-12\n50: \n51: max_depth = 0\n52: \n53: # SVG STATIC VALUES\n54: DEFAULT_PPI = 96.0\n55: SVG_NAME_TAG = \"svg\"\n56: SVG_ATTR_VERSION = \"version\"\n57: SVG_VALUE_VERSION = \"1.1\"\n58: SVG_ATTR_XMLNS = \"xmlns\"\n59: SVG_VALUE_XMLNS = \"http://www.w3.org/2000/svg\"\n60: SVG_ATTR_XMLNS_LINK = \"xmlns:xlink\"\n61: SVG_VALUE_XLINK = \"http://www.w3.org/1999/xlink\"\n62: SVG_ATTR_XMLNS_EV = \"xmlns:ev\"\n63: SVG_VALUE_XMLNS_EV = \"http://www.w3.org/2001/xml-events\"\n64: \n65: XLINK_HREF = \"{http://www.w3.org/1999/xlink}href\"\n66: SVG_HREF = \"href\"\n67: SVG_ATTR_WIDTH = \"width\"\n68: SVG_ATTR_HEIGHT = \"height\"\n69: SVG_ATTR_VIEWBOX = \"viewBox\"\n70: SVG_VIEWBOX_TRANSFORM = \"viewbox_transform\"\n71: SVG_TAG_PATH = \"path\"\n72: SVG_TAG_GROUP = \"g\"\n73: SVG_TAG_RECT = \"rect\"\n74: SVG_TAG_CIRCLE = \"circle\"\n75: SVG_TAG_ELLIPSE = \"ellipse\"\n76: SVG_TAG_LINE = \"line\"\n77: SVG_TAG_POLYLINE = \"polyline\"\n78: SVG_TAG_POLYGON = \"polygon\"\n79: SVG_TAG_TEXT = \"text\"\n80: SVG_TAG_TSPAN = \"tspan\"\n81: SVG_TAG_IMAGE = \"image\"\n82: SVG_TAG_DESC = \"desc\"\n83: SVG_TAG_TITLE = \"title\"\n84: SVG_TAG_METADATA = \"metadata\"\n85: SVG_TAG_STYLE = \"style\"\n86: SVG_TAG_DEFS = \"defs\"\n87: SVG_TAG_USE = \"use\"\n88: SVG_TAG_CLIPPATH = \"clipPath\"\n89: SVG_TAG_PATTERN = \"pattern\"\n90: \n91: SVG_STRUCT_ATTRIB = \"attributes\"\n92: SVG_ATTR_ID = \"id\"\n93: SVG_ATTR_DATA = \"d\"\n94: SVG_ATTR_DISPLAY = \"display\"\n95: SVG_ATTR_COLOR = \"color\"\n96: SVG_ATTR_FILL = \"fill\"\n97: SVG_ATTR_FILL_OPACITY = \"fill-opacity\"\n98: SVG_ATTR_STROKE = \"stroke\"\n99: SVG_ATTR_STROKE_OPACITY = \"stroke-opacity\"\n100: SVG_ATTR_STROKE_WIDTH = \"stroke-width\"\n101: SVG_ATTR_TRANSFORM = \"transform\"\n102: SVG_ATTR_STYLE = \"style\"\n103: SVG_ATTR_CLASS = \"class\"\n104: SVG_ATTR_CLIP_PATH = \"clip-path\"\n105: SVG_ATTR_CLIP_RULE = \"clip-rule\"\n106: SVG_ATTR_CLIP_UNIT_TYPE = \"clipPathUnits\"\n107: SVG_ATTR_CENTER_X = \"cx\"\n108: SVG_ATTR_CENTER_Y = \"cy\"\n109: SVG_ATTR_RADIUS_X = \"rx\"\n110: SVG_ATTR_RADIUS_Y = \"ry\"\n111: SVG_ATTR_RADIUS = \"r\"\n112: SVG_ATTR_POINTS = \"points\"\n113: SVG_ATTR_PRESERVEASPECTRATIO = \"preserveAspectRatio\"\n114: SVG_ATTR_X = \"x\"\n115: SVG_ATTR_Y = \"y\"\n116: SVG_ATTR_X0 = \"x0\"\n117: SVG_ATTR_Y0 = \"y0\"\n118: SVG_ATTR_X1 = \"x1\"\n119: SVG_ATTR_Y1 = \"y1\"\n120: SVG_ATTR_X2 = \"x2\"\n\n### E1 /testbed/f850ef8:svgelements/svgelements.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"meerk40t_svgelements_pr209__SRopxSP:29"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3564,"content_sha256":"3dad36ee14a4a06bf3341e09b4ccc1843975acbdafbf5709918bef612e64c697","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":42,"sha256":"c26f6b8adb1b7ce845c019786077aaaf6f388f274849571882a443cc9f3a9d61","start_line":1,"truncated":false},"content_sha256":"1cd1defab32a9689b64e5ed0621efa795ac2ad64aaf038f7552f84164a128a42","end_line":84,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"odxtools/templates/macros/printAudience.xml.jinja2","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"9528f80d88a8233084f46d4ee5fbe791e07c87fa7f95b84ea2705b150de1d025","reference_window":{"end_line":42,"sha256":"452dbcc3a7ecd5aad5904d6bbc95b508b1b336cce428a1209f1f1bdcfe7adfdb","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mercedes-benz_odxtools_pr109__KZy3NH5:31","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/odxtools/templates/macros/printAudience.xml.jinja2, reference lines 1-84\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: {#- -*- mode: sgml; tab-width: 1; indent-tabs-mode: nil -*-\n2: #\n3: # SPDX-License-Identifier: MIT\n4: # Copyright (c) 2022 MBition GmbH\n5: -#}\n6: \n7: {%- macro printAdditionalAudience(audience) -%}\n8: \n9: {{audience.short_name}}\n10: {%- if audience.long_name %}\n11: {{audience.long_name}}\n12: {%- endif %}\n13: {%- if audience.description is string and audience.description.strip() %}\n14: \n15: {{audience.description}}\n16: \n17: {%- endif %}\n18: \n19: {%- endmacro -%}\n20: \n21: {%- macro printAudience(audience) -%}\n22: \n27: {%- if audience.enabled_audience_refs %}\n28: \n29: {%- for ref in audience.enabled_audience_refs %}\n30: \n31: {%- endfor %}\n32: \n33: {%- endif%}\n34: {%- if audience.disabled_audience_refs %}\n35: \n36: {%- for ref in audience.disabled_audience_refs %}\n37: \n38: {%- endfor %}\n39: \n40: {%- endif%}\n41: \n42: {%- endmacro -%}\nCandidate text preview (unexecuted):\n1: {#- -*- mode: sgml; tab-width: 1; indent-tabs-mode: nil -*-\n2: #\n3: # SPDX-License-Identifier: MIT\n4: # Copyright (c) 2022 MBition GmbH\n5: -#}\n6: \n7: {%- macro printAdditionalAudience(audience) -%}\n8: \n9: {{audience.short_name}}\n10: {%- if audience.long_name %}\n11: {{audience.long_name}}\n12: {%- endif %}\n13: {%- if audience.description is string and audience.description.strip() %}\n14: \n15: {{audience.description}}\n16: \n17: {%- endif %}\n18: \n19: {%- endmacro -%}\n20: \n21: {%- macro printAudience(audience) -%}\n22: \n27: {%- if audience.enabled_audience_refs %}\n28: \n29: {%- for ref in audience.enabled_audience_refs %}\n30: \n31: {%- endfor %}\n32: \n33: {%- endif%}\n34: {%- if audience.disabled_audience_refs %}\n35: \n36: {%- for ref in audience.disabled_audience_refs %}\n37: \n38: {%- endfor %}\n39: \n40: {%- endif%}\n41: \n42: {%- endmacro -%}\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mercedes-benz_odxtools_pr109__KZy3NH5:31"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":442,"content_sha256":"13908b3b77ad544079811d7e44d732a173c71ba2ccd2c6a239b4ecb67acadd67","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"453ebaf367128f3da8ab7af9608751c686f40e50152faf154b889e370c12b4b6","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"odxtools","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"eb79238ea32e86e1443ccbc061272403a4af7ca47634e3bb7c89a6b7af6a50f2","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mercedes-benz_odxtools_pr45__h3goZFJ:40","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/odxtools, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/tests, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mercedes-benz_odxtools_pr45__h3goZFJ:40"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4259,"content_sha256":"8a141362b52ba83f3b396119abe8d342b3c6c9a19cb9db9ac6a545cfc954902a","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":65,"sha256":"69c2fa9a7619ef8535a8c813dc76bdef71ee1a7c95ad0d287759e7866baadd96","start_line":1,"truncated":false},"content_sha256":"3c78a06ab31a25599c9e5662d3290071016dd674f8b6e76c4a1b3c9c57003b27","end_line":87,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"mkdocs_click/_extension.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"a51522229f7e9591a4bb2855f44bed93c5d09aa4f2261cd3050815627c3b9f1a","reference_window":{"end_line":53,"sha256":"88eb4958e0b301992a79d84d1384a95364f46baa64cdcf2f8ce711a692af61f1","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mkdocs_mkdocs-click_pr25__Gf4FNY9:19","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/mkdocs_click/_extension.py, reference lines 1-87\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: # (C) Datadog, Inc. 2020-present\n2: # All rights reserved\n3: # Licensed under the Apache license (see LICENSE)\n4: from typing import Any, List, Iterator\n5: \n6: from markdown.extensions import Extension\n7: from markdown.preprocessors import Preprocessor\n8: \n9: from ._docs import make_command_docs\n10: from ._exceptions import MkDocsClickException\n11: from ._loader import load_command\n12: from ._processing import replace_blocks\n13: \n14: \n15: def replace_command_docs(**options: Any) -> Iterator[str]:\n16: for option in (\"module\", \"command\"):\n17: if option not in options:\n18: raise MkDocsClickException(f\"Option {option!r} is required\")\n19: \n20: module = options[\"module\"]\n21: command = options[\"command\"]\n22: prog_name = options.get(\"prog_name\", command)\n23: depth = int(options.get(\"depth\", 0))\n24: \n25: command_obj = load_command(module, command)\n26: \n27: return make_command_docs(prog_name=prog_name, command=command_obj, level=depth)\n28: \n29: \n30: class ClickProcessor(Preprocessor):\n31: def run(self, lines: List[str]) -> List[str]:\n32: return list(replace_blocks(lines, title=\"mkdocs-click\", replace=replace_command_docs))\n33: \n34: \n35: class MKClickExtension(Extension):\n36: \"\"\"\n37: Replace blocks like the following:\n38: \n39: ::: mkdocs-click\n40: :module: example.main\n41: :command: cli\n42: \n43: by Markdown documentation generated from the specified Click application.\n44: \"\"\"\n45: \n46: def extendMarkdown(self, md: Any) -> None:\n47: md.registerExtension(self)\n48: processor = ClickProcessor(md.parser)\n49: md.preprocessors.register(processor, \"mk_click\", 141)\n50: \n51: \n52: def makeExtension() -> Extension:\n53: return MKClickExtension()\nCandidate text preview (unexecuted):\n1: # (C) Datadog, Inc. 2020-present\n2: # All rights reserved\n3: # Licensed under the Apache license (see LICENSE)\n4: from typing import Any, List, Iterator\n5: \n6: from markdown.extensions import Extension\n7: from markdown.preprocessors import Preprocessor\n8: \n9: from ._docs import make_command_docs\n10: from ._exceptions import MkDocsClickException\n11: from ._loader import load_command\n12: from ._processing import replace_blocks\n13: \n14: \n15: OPTION_STYLES = (\"plain\", \"table\")\n16: \n17: \n18: def replace_command_docs(**options: Any) -> Iterator[str]:\n19: for option in (\"module\", \"command\"):\n20: if option not in options:\n21: raise MkDocsClickException(f\"Option {option!r} is required\")\n22: \n23: module = options[\"module\"]\n24: command = options[\"command\"]\n25: prog_name = options.get(\"prog_name\", command)\n26: depth = int(options.get(\"depth\", 0))\n27: option_style = options.get(\"option-style\", \"plain\")\n28: \n29: if option_style not in OPTION_STYLES:\n30: raise MkDocsClickException(\n31: f\"Option 'option-style' must be one of {', '.join(repr(style) for style in OPTION_STYLES)}, \"\n32: f\"got {option_style!r}\"\n33: )\n34: \n35: command_obj = load_command(module, command)\n36: \n37: return make_command_docs(\n38: prog_name=prog_name, command=command_obj, level=depth, option_style=option_style\n39: )\n40: \n41: \n42: class ClickProcessor(Preprocessor):\n43: def run(self, lines: List[str]) -> List[str]:\n44: return list(replace_blocks(lines, title=\"mkdocs-click\", replace=replace_command_docs))\n45: \n46: \n47: class MKClickExtension(Extension):\n48: \"\"\"\n49: Replace blocks like the following:\n50: \n51: ::: mkdocs-click\n52: :module: example.main\n53: :command: cli\n54: \n55: by Markdown documentation generated from the specified Click application.\n56: \"\"\"\n57: \n58: def extendMarkdown(self, md: Any) -> None:\n59: md.registerExtension(self)\n60: processor = ClickProcessor(md.parser)\n61: md.preprocessors.register(processor, \"mk_click\", 141)\n62: \n63: \n64: def makeExtension() -> Extension:\n65: return MKClickExtension()\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr25__Gf4FNY9:19"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5398,"content_sha256":"e676dfac351b6c88395bf667ac2e2810a6d97a02650b492c310d8f36caefeaa6","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":117,"sha256":"54121b3c339f77b69521ec2ae727053f0057db2b0116f896364d6a64f4acfa72","start_line":45,"truncated":false},"content_sha256":"b638f3d97efcbc6164d848635e2081693796053a6c38242e0264eef1898c4061","end_line":171,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"mkdocs_click/_docs.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"4b1bf0324ad3580cd0fddba2bc8684483f589a33b1a693ecc19baed6f22151c7","reference_window":{"end_line":118,"sha256":"438fe12734b822d3b22a59ffa5fb666e68f51f7717b45bd6ad9f6bb069180483","start_line":45,"truncated":false},"start_line":45,"truncated":false}],"item_id":"mkdocs_mkdocs-click_pr29__CrjJUHC:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/mkdocs_click/_docs.py, reference lines 45-171\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n45: for name in command.list_commands(ctx):\n46: subcommand = command.get_command(ctx, name)\n47: assert subcommand is not None\n48: subcommands.append(subcommand)\n49: \n50: return subcommands\n51: \n52: \n53: def _make_title(prog_name: str, level: int) -> Iterator[str]:\n54: \"\"\"Create the first markdown lines describing a command.\"\"\"\n55: yield _make_header(prog_name, level)\n56: yield \"\"\n57: \n58: \n59: def _make_header(text: str, level: int) -> str:\n60: \"\"\"Create a markdown header at a given level\"\"\"\n61: return f\"{'#' * (level + 1)} {text}\"\n62: \n63: \n64: def _make_description(ctx: click.Context) -> Iterator[str]:\n65: \"\"\"Create markdown lines based on the command's own description.\"\"\"\n66: help_string = ctx.command.help or ctx.command.short_help\n67: \n68: if help_string:\n69: yield from help_string.splitlines()\n70: yield \"\"\n71: \n72: \n73: def _make_usage(ctx: click.Context) -> Iterator[str]:\n74: \"\"\"Create the Markdown lines from the command usage string.\"\"\"\n75: \n76: # Gets the usual 'Usage' string without the prefix.\n77: formatter = ctx.make_formatter()\n78: pieces = ctx.command.collect_usage_pieces(ctx)\n79: formatter.write_usage(ctx.command_path, \" \".join(pieces), prefix=\"\")\n80: usage = formatter.getvalue().rstrip(\"\\n\")\n81: \n82: # Generate the full usage string based on parents if any, i.e. `root sub1 sub2 ...`.\n83: full_path = []\n84: current: Optional[click.Context] = ctx\n85: while current is not None:\n86: name = current.command.name\n87: if name is None:\n88: raise MkDocsClickException(f\"command {current.command} has no `name`\")\n89: full_path.append(name)\n90: current = current.parent\n91: \n92: full_path.reverse()\n93: usage_snippet = \" \".join(full_path) + usage\n94: \n95: yield \"Usage:\"\n96: yield \"\"\n97: yield \"```\"\n98: yield usage_snippet\n99: yield \"```\"\n100: yield \"\"\n101: \n102: \n103: def _make_options(ctx: click.Context) -> Iterator[str]:\n104: \"\"\"Create the Markdown lines describing the options for the command.\"\"\"\n105: formatter = ctx.make_formatter()\n106: click.Command.format_options(ctx.command, ctx, formatter)\n107: # First line is redundant \"Options\"\n108: # Last line is `--help`\n109: option_lines = formatter.getvalue().splitlines()[1:-1]\n110: if not option_lines:\n111: return\n112: \n113: yield \"Options:\"\n114: yield \"\"\n115: yield \"```\"\n116: yield from option_lines\n117: yield \"```\"\n118: yield \"\"\nCandidate text preview (unexecuted):\n45: for name in command.list_commands(ctx):\n46: subcommand = command.get_command(ctx, name)\n47: assert subcommand is not None\n48: subcommands.append(subcommand)\n49: \n50: return subcommands\n51: \n52: \n53: def _make_title(prog_name: str, level: int) -> Iterator[str]:\n54: \"\"\"Create the first markdown lines describing a command.\"\"\"\n55: yield _make_header(prog_name, level)\n56: yield \"\"\n57: \n58: \n59: def _make_header(text: str, level: int) -> str:\n60: \"\"\"Create a markdown header at a given level\"\"\"\n61: return f\"{'#' * (level + 1)} {text}\"\n62: \n63: \n64: def _make_description(ctx: click.Context) -> Iterator[str]:\n65: \"\"\"Create markdown lines based on the command's own description.\"\"\"\n66: help_string = ctx.command.help or ctx.command.short_help\n67: \n68: if help_string:\n69: yield from help_string.splitlines()\n70: yield \"\"\n71: \n72: \n73: def _make_usage(ctx: click.Context) -> Iterator[str]:\n74: \"\"\"Create the Markdown lines from the command usage string.\"\"\"\n75: \n76: # Gets the usual 'Usage' string without the prefix.\n77: formatter = ctx.make_formatter()\n78: pieces = ctx.command.collect_usage_pieces(ctx)\n79: formatter.write_usage(ctx.command_path, \" \".join(pieces), prefix=\"\")\n80: usage = formatter.getvalue().rstrip(\"\\n\")\n81: \n82: # Generate the full usage string based on parents if any, i.e. `root sub1 sub2 ...`.\n83: full_path = []\n84: current: Optional[click.Context] = ctx\n85: while current is not None:\n86: name = current.command.name\n87: if name is None:\n88: raise MkDocsClickException(f\"command {current.command} has no `name`\")\n89: full_path.append(name)\n90: current = current.parent\n91: \n92: full_path.reverse()\n93: usage_snippet = \" \".join(full_path) + usage\n94: \n95: yield \"Usage:\"\n96: yield \"\"\n97: yield \"```\"\n98: yield usage_snippet\n99: yield \"```\"\n100: yield \"\"\n101: \n102: \n103: def _make_options(ctx: click.Context) -> Iterator[str]:\n104: \"\"\"Create the Markdown lines describing the options for the command.\"\"\"\n105: formatter = ctx.make_formatter()\n106: click.Command.format_options(ctx.command, ctx, formatter)\n107: # First line is redundant \"Options\"\n108: option_lines = formatter.getvalue().splitlines()[1:]\n109: if not option_lines:\n110: return\n111: \n112: yield \"Options:\"\n113: yield \"\"\n114: yield \"```\"\n115: yield from option_lines\n116: yield \"```\"\n117: yield \"\"\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr29__CrjJUHC:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5911,"content_sha256":"2bfbcf5c37b41b32b102eeea1a1ac1f16a101542bcce59f652e3526e8eac28cf","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":89,"sha256":"a441aa83c82763990e7e0ca3b2c6ee0c51785945b54e44e0999876195b487a08","start_line":21,"truncated":true},"content_sha256":"a0a4eee8420ea1e5647f756d6afa6ded34e8da7cfe6b0634de1c9b618dcd0f49","end_line":118,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"mkdocs_click/_docs.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"c4f07e9a745acd50c2ff11a2351a36a74b5eefe316dfb1060c104787d1341d16","reference_window":{"end_line":92,"sha256":"821f39357dd6266c6c9fdd0686c1f1c9c41d73712482ab56108cc8e17e81b653","start_line":18,"truncated":true},"start_line":1,"truncated":true}],"item_id":"mkdocs_mkdocs-click_pr36__QAh9cSk:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/mkdocs_click/_docs.py, reference lines 1-118\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n18: \n19: def _recursively_make_command_docs(\n20: prog_name: str, command: click.BaseCommand, parent: click.Context = None, depth: int = 0, style: str = \"plain\"\n21: ) -> Iterator[str]:\n22: \"\"\"Create the raw Markdown lines for a command and its sub-commands.\"\"\"\n23: ctx = click.Context(cast(click.Command, command), info_name=prog_name, parent=parent)\n24: \n25: yield from _make_title(prog_name, depth)\n26: yield from _make_description(ctx)\n27: yield from _make_usage(ctx)\n28: yield from _make_options(ctx, style)\n29: \n30: subcommands = _get_sub_commands(ctx.command, ctx)\n31: \n32: for command in sorted(subcommands, key=lambda cmd: cmd.name):\n33: yield from _recursively_make_command_docs(command.name, command, parent=ctx, depth=depth + 1, style=style)\n34: \n35: \n36: def _get_sub_commands(command: click.Command, ctx: click.Context) -> List[click.Command]:\n37: \"\"\"Return subcommands of a Click command.\"\"\"\n38: subcommands = getattr(command, \"commands\", {})\n39: if subcommands:\n40: return subcommands.values()\n41: \n42: if not isinstance(command, click.MultiCommand):\n43: return []\n44: \n45: subcommands = []\n46: \n47: for name in command.list_commands(ctx):\n48: subcommand = command.get_command(ctx, name)\n49: assert subcommand is not None\n50: subcommands.append(subcommand)\n51: \n52: return subcommands\n53: \n54: \n55: def _make_title(prog_name: str, depth: int) -> Iterator[str]:\n56: \"\"\"Create the first markdown lines describing a command.\"\"\"\n57: yield f\"{'#' * (depth + 1)} {prog_name}\"\n58: yield \"\"\n59: \n60: \n61: def _make_description(ctx: click.Context) -> Iterator[str]:\n62: \"\"\"Create markdown lines based on the command's own description.\"\"\"\n63: help_string = ctx.command.help or ctx.command.short_help\n64: \n65: if help_string:\n66: yield from help_string.splitlines()\n67: yield \"\"\n68: \n69: \n70: def _make_usage(ctx: click.Context) -> Iterator[str]:\n71: \"\"\"Create the Markdown lines from the command usage string.\"\"\"\n72: \n73: # Gets the usual 'Usage' string without the prefix.\n74: formatter = ctx.make_formatter()\n75: pieces = ctx.command.collect_usage_pieces(ctx)\n76: formatter.write_usage(ctx.command_path, \" \".join(pieces), prefix=\"\")\n77: usage = formatter.getvalue().rstrip(\"\\n\")\n78: \n79: yield \"**Usage:**\"\n80: yield \"\"\n81: yield \"```\"\n82: yield usage\n83: yield \"```\"\n84: yield \"\"\n85: \n86: \n87: def _make_options(ctx: click.Context, style: str = \"plain\") -> Iterator[str]:\n88: \"\"\"Create the Markdown lines describing the options for the command.\"\"\"\n89: \n90: if style == \"plain\":\n91: return _make_plain_options(ctx)\n92: elif style == \"table\":\n[window truncated; visible lines 18-92]\nCandidate text preview (unexecuted):\n21: ) -> Iterator[str]:\n22: \"\"\"Create the raw Markdown lines for a command and its sub-commands.\"\"\"\n23: ctx = click.Context(cast(click.Command, command), info_name=prog_name, parent=parent)\n24: \n25: yield from _make_title(prog_name, depth)\n26: yield from _make_description(ctx)\n27: yield from _make_usage(ctx)\n28: yield from _make_options(ctx, style)\n29: \n30: subcommands = _get_sub_commands(ctx.command, ctx)\n31: \n32: for command in sorted(subcommands, key=lambda cmd: cmd.name):\n33: yield from _recursively_make_command_docs(command.name, command, parent=ctx, depth=depth + 1, style=style)\n34: \n35: \n36: def _get_sub_commands(command: click.Command, ctx: click.Context) -> List[click.Command]:\n37: \"\"\"Return subcommands of a Click command.\"\"\"\n38: subcommands = getattr(command, \"commands\", {})\n39: if subcommands:\n40: return subcommands.values()\n41: \n42: if not isinstance(command, click.MultiCommand):\n43: return []\n44: \n45: subcommands = []\n46: \n47: for name in command.list_commands(ctx):\n48: subcommand = command.get_command(ctx, name)\n49: assert subcommand is not None\n50: subcommands.append(subcommand)\n51: \n52: return subcommands\n53: \n54: \n55: def _make_title(\n56: prog_name: str, depth: int, command_path: str = None, full_path: bool = False\n57: ) -> Iterator[str]:\n58: \"\"\"Create the first markdown lines describing a command.\"\"\"\n59: if full_path and command_path is not None:\n60: # When the ``attr_list`` extension is available, render the full command\n61: # path in the header, define a namespaced permalink, and use\n62: # ``data-toc-label`` to keep the short name in the table of contents.\n63: header_id = command_path.replace(\" \", \"-\")\n64: yield f\"{'#' * (depth + 1)} {command_path} {{ #{header_id} data-toc-label=\\\"{prog_name}\\\" }}\"\n65: else:\n66: yield f\"{'#' * (depth + 1)} {prog_name}\"\n67: yield \"\"\n68: \n69: \n70: def _make_description(ctx: click.Context) -> Iterator[str]:\n71: \"\"\"Create markdown lines based on the command's own description.\"\"\"\n72: help_string = ctx.command.help or ctx.command.short_help\n73: \n74: if help_string:\n75: yield from help_string.splitlines()\n76: yield \"\"\n77: \n78: \n79: def _make_usage(ctx: click.Context) -> Iterator[str]:\n80: \"\"\"Create the Markdown lines from the command usage string.\"\"\"\n81: \n82: # Gets the usual 'Usage' string without the prefix.\n83: formatter = ctx.make_formatter()\n84: pieces = ctx.command.collect_usage_pieces(ctx)\n85: formatter.write_usage(ctx.command_path, \" \".join(pieces), prefix=\"\")\n86: usage = formatter.getvalue().rstrip(\"\\n\")\n87: \n88: yield \"**Usage:**\"\n89: yield \"\"\n[window truncated; visible lines 21-89]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr36__QAh9cSk:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5898,"content_sha256":"26effc17a458d686e9822d83dd37ae32a5eb650f28755ae0ec42a7656cae36f0","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":136,"sha256":"10cbdc8112ca4650a899298dcad1b43b6b08f1264ca80dc8b026ba65edc2b9eb","start_line":76,"truncated":true},"content_sha256":"e44c0e92a93057697d205ee6b6ab7b54e63d69e23df6c2d1fa1086161a1fb53c","end_line":172,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"mkdocs_click/_docs.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"1fd387e9d3328d6cf39abf43cc823e996d46b02bb9bbfff86b9aa05b433cef9b","reference_window":{"end_line":140,"sha256":"45eebbc37e3f06542abc8f22d3cd27438f2dbec27d181ed30023980fb85a2b85","start_line":73,"truncated":true},"start_line":46,"truncated":true}],"item_id":"mkdocs_mkdocs-click_pr45__i5DFQom:23","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/mkdocs_click/_docs.py, reference lines 46-172\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n73: else:\n74: yield from _make_title_basic(ctx, depth)\n75: \n76: \n77: def _make_title_basic(ctx: click.Context, depth: int) -> Iterator[str]:\n78: \"\"\"Create a basic Markdown heading for a command.\"\"\"\n79: yield f\"{'#' * (depth + 1)} {ctx.info_name}\"\n80: yield \"\"\n81: \n82: \n83: def _make_title_full_command_path(ctx: click.Context, depth: int) -> Iterator[str]:\n84: \"\"\"Create the markdown heading for a command, showing the full command path.\n85: \n86: This style accomodates nested commands by showing:\n87: * The full command path for headers and permalinks (eg `# git commit` and `http://localhost:8000/#git-commit`)\n88: * The command leaf name only for TOC entries (eg `* commit`).\n89: \n90: We do this because a TOC naturally conveys the hierarchy, whereas headings and permalinks should be namespaced to\n91: convey the hierarchy.\n92: \n93: See: https://github.com/DataDog/mkdocs-click/issues/35\n94: \"\"\"\n95: text = ctx.command_path # 'git commit'\n96: permalink = slugify(ctx.command_path, \"-\") # 'git-commit'\n97: toc_label = ctx.info_name # 'commit'\n98: \n99: # Requires `attr_list` extension, see: https://python-markdown.github.io/extensions/toc/#custom-labels\n100: attributes = f\"#{permalink} data-toc-label='{toc_label}'\"\n101: \n102: yield f\"{'#' * (depth + 1)} {text} {{ {attributes} }}\"\n103: yield \"\"\n104: \n105: \n106: def _make_description(ctx: click.Context) -> Iterator[str]:\n107: \"\"\"Create markdown lines based on the command's own description.\"\"\"\n108: help_string = ctx.command.help or ctx.command.short_help\n109: \n110: if help_string:\n111: yield from help_string.splitlines()\n112: yield \"\"\n113: \n114: \n115: def _make_usage(ctx: click.Context) -> Iterator[str]:\n116: \"\"\"Create the Markdown lines from the command usage string.\"\"\"\n117: \n118: # Gets the usual 'Usage' string without the prefix.\n119: formatter = ctx.make_formatter()\n120: pieces = ctx.command.collect_usage_pieces(ctx)\n121: formatter.write_usage(ctx.command_path, \" \".join(pieces), prefix=\"\")\n122: usage = formatter.getvalue().rstrip(\"\\n\")\n123: \n124: yield \"**Usage:**\"\n125: yield \"\"\n126: yield \"```\"\n127: yield usage\n128: yield \"```\"\n129: yield \"\"\n130: \n131: \n132: def _make_options(ctx: click.Context, style: str = \"plain\") -> Iterator[str]:\n133: \"\"\"Create the Markdown lines describing the options for the command.\"\"\"\n134: \n135: if style == \"plain\":\n136: return _make_plain_options(ctx)\n137: elif style == \"table\":\n138: return _make_table_options(ctx)\n139: else:\n140: raise MkDocsClickException(f\"{style} is not a valid option style, which must be either `plain` or `table`.\")\n[window truncated; visible lines 73-140]\nCandidate text preview (unexecuted):\n76: \n77: def _make_title_basic(ctx: click.Context, depth: int) -> Iterator[str]:\n78: \"\"\"Create a basic Markdown heading for a command.\"\"\"\n79: yield f\"{'#' * (depth + 1)} {ctx.info_name}\"\n80: yield \"\"\n81: \n82: \n83: def _make_title_full_command_path(ctx: click.Context, depth: int) -> Iterator[str]:\n84: \"\"\"Create the markdown heading for a command, showing the full command path.\n85: \n86: This style accomodates nested commands by showing:\n87: * The full command path for headers and permalinks (eg `# git commit` and `http://localhost:8000/#git-commit`)\n88: * The command leaf name only for TOC entries (eg `* commit`).\n89: \n90: We do this because a TOC naturally conveys the hierarchy, whereas headings and permalinks should be namespaced to\n91: convey the hierarchy.\n92: \n93: See: https://github.com/DataDog/mkdocs-click/issues/35\n94: \"\"\"\n95: text = ctx.command_path # 'git commit'\n96: permalink = slugify(ctx.command_path, \"-\") # 'git-commit'\n97: toc_label = ctx.info_name # 'commit'\n98: \n99: # Requires `attr_list` extension, see: https://python-markdown.github.io/extensions/toc/#custom-labels\n100: attributes = f\"#{permalink} data-toc-label='{toc_label}'\"\n101: \n102: yield f\"{'#' * (depth + 1)} {text} {{ {attributes} }}\"\n103: yield \"\"\n104: \n105: \n106: def _make_description(ctx: click.Context, remove_ascii_art: bool = False) -> Iterator[str]:\n107: \"\"\"Create markdown lines based on the command's own description.\"\"\"\n108: help_string = ctx.command.help or ctx.command.short_help\n109: \n110: if help_string:\n111: if remove_ascii_art:\n112: help_string = _strip_ascii_art(help_string)\n113: \n114: if help_string:\n115: yield from help_string.splitlines()\n116: yield \"\"\n117: \n118: \n119: def _strip_ascii_art(help_string: str) -> str:\n120: \"\"\"Remove an ASCII art banner that follows a Click ``\\\\b`` marker at the start of the help text.\n121: \n122: Click uses the ``\\\\b`` (backspace) character to mark a paragraph that should not be rewrapped.\n123: By convention this marker is placed on its own line right after the opening of the docstring,\n124: immediately before an ASCII art banner. When found, the marker line and every line after it\n125: up to (but not including) the next blank line are dropped, and the remaining text is returned\n126: with surrounding blank lines trimmed. If no marker is present at the beginning, the help text\n127: is returned unchanged.\n128: \"\"\"\n129: lines = help_string.splitlines()\n130: \n131: # Locate the ``\\b`` marker, which must be the first non-blank line.\n132: i = 0\n133: n = len(lines)\n134: while i < n and not lines[i].strip():\n135: i += 1\n136: \n[window truncated; visible lines 76-136]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr45__i5DFQom:23"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":446,"content_sha256":"78986529f46bf2415619cc5bdabb287ccd2a18fe016c361f7203fb03e87c09d6","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"8d5bd9327d96bd1e1eda2f0c194ac90801a719898f0636d346e0146a3dec4b22","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"mkdocs_click","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"eb79238ea32e86e1443ccbc061272403a4af7ca47634e3bb7c89a6b7af6a50f2","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mkdocs_mkdocs-click_pr52__XmKDzy7:52","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/mkdocs_click, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/tests, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr52__XmKDzy7:52"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5931,"content_sha256":"b040fcce4150cee0b75e53fdf22dbc1a4b658f16a7f0b4d0b57ce740c0337a8d","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":146,"sha256":"d0be45d95fc9ba4db55a4a79f6087b6ae5bae93cbb9037758739a078bddd07bd","start_line":54,"truncated":true},"content_sha256":"5308ab0cdca301f004d3b9bd852fffc472f131712d4090b1fc76153491334aab","end_line":162,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_docs.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"2a8e8c6d962711e98e78197e1b90d56849435b001fdb30240a33c484bb276877","reference_window":{"end_line":143,"sha256":"ac4bdcbf7eb26193b6c36bc21b859231fe26718cdd9f9e0dce83b17661fba3d9","start_line":58,"truncated":true},"start_line":40,"truncated":true}],"item_id":"mkdocs_mkdocs-click_pr79__69CaWzC:14","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_docs.py, reference lines 40-162\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n58: \n59: ```text\n60: -d, --debug TEXT Include debug output\n61: --help Show this message and exit.\n62: ```\n63: \"\"\"\n64: ).lstrip()\n65: \n66: \n67: def test_basic():\n68: output = \"\\n\".join(make_command_docs(\"hello\", hello))\n69: assert output == HELLO_EXPECTED\n70: \n71: \n72: def test_depth():\n73: output = \"\\n\".join(make_command_docs(\"hello\", hello, depth=2))\n74: assert output == HELLO_EXPECTED.replace(\"# \", \"### \")\n75: \n76: \n77: def test_prog_name():\n78: output = \"\\n\".join(make_command_docs(\"hello-world\", hello))\n79: assert output == HELLO_EXPECTED.replace(\"hello\", \"hello-world\")\n80: \n81: \n82: def test_style_invalid():\n83: with pytest.raises(\n84: MkDocsClickException,\n85: match=\"invalid is not a valid option style, which must be either `plain` or `table`.\",\n86: ):\n87: list(make_command_docs(\"hello\", hello, style=\"invalid\"))\n88: \n89: \n90: def test_basic_escape_marker():\n91: output = \"\\n\".join(make_command_docs(\"hello\", hello_escape_marker))\n92: assert output == HELLO_EXPECTED\n93: \n94: \n95: def test_basic_ascii_art():\n96: output = \"\\n\".join(make_command_docs(\"hello\", hello_ascii_art, remove_ascii_art=True))\n97: assert output == HELLO_EXPECTED\n98: \n99: \n100: @click.command()\n101: @click.option(\"-d\", \"--debug\", help=\"Include debug output\")\n102: @click.option(\"--choice\", type=click.Choice([\"foo\", \"bar\"]), default=\"foo\")\n103: @click.option(\"--date\", type=click.DateTime([\"%Y-%m-%d\"]))\n104: @click.option(\"--range-a\", type=click.FloatRange(0, 1), default=0)\n105: @click.option(\"--range-b\", type=click.FloatRange(0))\n106: @click.option(\"--range-c\", type=click.FloatRange(None, 1), default=0)\n107: @click.option(\"--flag/--no-flag\")\n108: def hello_full():\n109: \"\"\"Hello, world!\"\"\"\n110: \n111: \n112: HELLO_FULL_TABLE_EXPECTED = dedent(\n113: \"\"\"\n114: # hello\n115: \n116: Hello, world!\n117: \n118: **Usage:**\n119: \n120: ```text\n121: hello [OPTIONS]\n122: ```\n123: \n124: **Options:**\n125: \n126: | Name | Type | Description | Default |\n127: | ---- | ---- | ----------- | ------- |\n128: | `-d`, `--debug` | text | Include debug output | None |\n129: | `--choice` | choice (`foo` | `bar`) | N/A | `foo` |\n130: | `--date` | datetime (`%Y-%m-%d`) | N/A | None |\n131: | `--range-a` | float range (between `0` and `1`) | N/A | `0` |\n132: | `--range-b` | float range (`0` and above) | N/A | None |\n133: | `--range-c` | float range (`1` and below) | N/A | `0` |\n134: | `--flag` / `--no-flag` | boolean | N/A | `False` |\n135: | `--help` | boolean | Show this message and exit. | `False` |\n136: \"\"\"\n137: ).lstrip()\n138: \n139: \n140: @click.command()\n141: def hello_minimal():\n142: \"\"\"Hello, world!\"\"\"\n143: \n[window truncated; visible lines 58-143]\nCandidate text preview (unexecuted):\n54: hello [OPTIONS]\n55: ```\n56: \n57: **Options:**\n58: \n59: ```text\n60: -d, --debug TEXT Include debug output\n61: --help Show this message and exit.\n62: ```\n63: \"\"\"\n64: ).lstrip()\n65: \n66: \n67: def test_basic():\n68: output = \"\\n\".join(make_command_docs(\"hello\", hello))\n69: assert output == HELLO_EXPECTED\n70: \n71: \n72: def test_depth():\n73: output = \"\\n\".join(make_command_docs(\"hello\", hello, depth=2))\n74: assert output == HELLO_EXPECTED.replace(\"# \", \"### \")\n75: \n76: \n77: def test_prog_name():\n78: output = \"\\n\".join(make_command_docs(\"hello-world\", hello))\n79: assert output == HELLO_EXPECTED.replace(\"hello\", \"hello-world\")\n80: \n81: \n82: def test_style_invalid():\n83: with pytest.raises(\n84: MkDocsClickException,\n85: match=\"invalid is not a valid option style, which must be either `plain` or `table`.\",\n86: ):\n87: list(make_command_docs(\"hello\", hello, style=\"invalid\"))\n88: \n89: \n90: def test_basic_escape_marker():\n91: output = \"\\n\".join(make_command_docs(\"hello\", hello_escape_marker))\n92: assert output == HELLO_EXPECTED\n93: \n94: \n95: def test_basic_ascii_art():\n96: output = \"\\n\".join(make_command_docs(\"hello\", hello_ascii_art, remove_ascii_art=True))\n97: assert output == HELLO_EXPECTED\n98: \n99: \n100: @click.command(\n101: context_settings={\n102: \"help_option_names\": [\"-h\", \"--help\"],\n103: \"show_default\": True,\n104: }\n105: )\n106: @click.option(\"-t\", \"--test\", type=int, default=42)\n107: def hello_context_settings(test):\n108: \"\"\"Hello, world!\"\"\"\n109: \n110: \n111: HELLO_CONTEXT_SETTINGS_EXPECTED = dedent(\n112: \"\"\"\n113: # hello\n114: \n115: Hello, world!\n116: \n117: **Usage:**\n118: \n119: ```text\n120: hello [OPTIONS]\n121: ```\n122: \n123: **Options:**\n124: \n125: ```text\n126: -t, --test INTEGER [default: 42]\n127: -h, --help Show this message and exit.\n128: ```\n129: \"\"\"\n130: ).lstrip()\n131: \n132: \n133: def test_context_settings():\n134: \"\"\"`context_settings` such as `help_option_names` and `show_default` are respected.\"\"\"\n135: output = \"\\n\".join(make_command_docs(\"hello\", hello_context_settings))\n136: assert output == HELLO_CONTEXT_SETTINGS_EXPECTED\n137: \n138: \n139: @click.command()\n140: @click.option(\"-d\", \"--debug\", help=\"Include debug output\")\n141: @click.option(\"--choice\", type=click.Choice([\"foo\", \"bar\"]), default=\"foo\")\n142: @click.option(\"--date\", type=click.DateTime([\"%Y-%m-%d\"]))\n143: @click.option(\"--range-a\", type=click.FloatRange(0, 1), default=0)\n144: @click.option(\"--range-b\", type=click.FloatRange(0))\n145: @click.option(\"--range-c\", type=click.FloatRange(None, 1), default=0)\n146: @click.option(\"--flag/--no-flag\")\n[window truncated; visible lines 54-146]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr79__69CaWzC:14"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":267,"content_sha256":"b3b20543211abe94b946b287e1809229a5ff947831d579c4075ddb570e92e0c4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mkdocs_mkdocs-click_pr82__vHmBxNM:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr82__vHmBxNM:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":741,"content_sha256":"367a10333ca5d331b181ee359712b56ea383f028ae05bc0c9d8cd59111026e85","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"d7e33872a3dcaaae32dc6ba6fe59eafff97be6f89f2a94279255f86f7ff59a59","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"\nimport sys\nsys.path.insert(0, '/tmp')\nfrom textwrap import dedent\nfrom markdown import Markdown\nimport mkdocs_click\n\nfor style in ('', 'table'):\n opts = '' if not style else f'\\n :style: {style}'\n source = dedent(f'''\n ::: mkdocs-click\n :module: e2e_app\n :command: forward{opts}\n ''')\n md = Markdown(extensions=[mkdocs_click.makeExtension()])\n print(f'--- {style or \"plain (default)\"} ---')\n print(md.convert(source))\n print()\n","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mkdocs_mkdocs-click_pr84__rgta7t3:28","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/\nimport sys\nsys.path.insert(0, '/tmp')\nfrom textwrap import dedent\nfrom markdown import Markdown\nimport mkdocs_click\n\nfor style in ('', 'table'):\n opts = '' if not style else f'\\n :style: {style}'\n source = dedent(f'''\n ::: mkdocs-click\n :module: e2e_app\n :command: forward{opts}\n ''')\n md = Markdown(extensions=[mkdocs_click.makeExtension()])\n print(f'--- {style or \"plain (default)\"} ---')\n print(md.convert(source))\n print()\n, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr84__rgta7t3:28"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4964,"content_sha256":"d0f34e69f978ce661518da8c740489aa150b83efc89c9ef99c599ae06fcdd69c","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":102,"sha256":"e8654358e26708265cb663fc232a87ed0c55a14cf38fd9686dfb4176b419ff05","start_line":1,"truncated":false},"content_sha256":"9a093bac0ab2bf180af2296faa50d863035832b231a9d581cfaf5484486b4b61","end_line":102,"note":"insert preview is text-only simulation, NOT execution","path":"tests/test_docs.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"347ad48c7b5466d88cb4b90c0e6c0a046557faa651dc5e93a76f27712a7704e7","reference_window":{"end_line":102,"sha256":"e8654358e26708265cb663fc232a87ed0c55a14cf38fd9686dfb4176b419ff05","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mkdocs_mkdocs-click_pr90__P52X6zq:19","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_docs.py, reference lines 1-102\ninsert preview is text-only simulation, NOT execution\nReference-state content:\n1: # (C) Datadog, Inc. 2020-present\n2: # All rights reserved\n3: # Licensed under the Apache license (see LICENSE)\n4: from textwrap import dedent\n5: from typing import cast\n6: \n7: import click\n8: import pytest\n9: \n10: from mkdocs_click._docs import _show_options, make_command_docs\n11: from mkdocs_click._exceptions import MkDocsClickException\n12: \n13: \n14: @click.command()\n15: @click.option(\"-d\", \"--debug\", help=\"Include debug output\")\n16: def hello():\n17: \"\"\"Hello, world!\"\"\"\n18: \n19: \n20: @click.command()\n21: @click.option(\"-d\", \"--debug\", help=\"Include debug output\")\n22: def hello_escape_marker():\n23: \"\"\"\n24: \\b\n25: Hello, world!\n26: \"\"\"\n27: \n28: \n29: @click.command()\n30: @click.option(\"-d\", \"--debug\", help=\"Include debug output\")\n31: def hello_ascii_art():\n32: \"\"\"\n33: \\b\n34: ______ __ __ ______ __ ___\n35: / || | | | / || |/ /\n36: | ,----'| | | | | ,----'| ' /\n37: | | | | | | | | | <\n38: | `----.| `----.| | | `----.| . \\\\\n39: \\\\______||_______||__| \\\\______||__|\\\\__\\\\\n40: \n41: Hello, world!\n42: \"\"\"\n43: \n44: \n45: @click.command(context_settings={\"help_option_names\": []})\n46: def hello_no_options():\n47: \"\"\"\n48: Hello, world!\n49: \"\"\"\n50: \n51: \n52: HELLO_EXPECTED = dedent(\n53: \"\"\"\n54: # hello\n55: \n56: Hello, world!\n57: \n58: **Usage:**\n59: \n60: ```text\n61: hello [OPTIONS]\n62: ```\n63: \n64: **Options:**\n65: \n66: ```text\n67: -d, --debug TEXT Include debug output\n68: --help Show this message and exit.\n69: ```\n70: \"\"\"\n71: ).lstrip()\n72: \n73: \n74: HELLO_EXPECTED_NO_OPTIONS = dedent(\n75: \"\"\"\n76: # hello\n77: \n78: Hello, world!\n79: \n80: **Usage:**\n81: \n82: ```text\n83: hello [OPTIONS]\n84: ```\n85: \"\"\"\n86: ).lstrip()\n87: \n88: \n89: def test_basic():\n90: output = \"\\n\".join(make_command_docs(\"hello\", hello))\n91: assert output == HELLO_EXPECTED\n92: \n93: \n94: def test_depth():\n95: output = \"\\n\".join(make_command_docs(\"hello\", hello, depth=2))\n96: assert output == HELLO_EXPECTED.replace(\"# \", \"### \")\n97: \n98: \n99: def test_prog_name():\n100: output = \"\\n\".join(make_command_docs(\"hello-world\", hello))\n101: assert output == HELLO_EXPECTED.replace(\"hello\", \"hello-world\")\n102: \nCandidate text preview (unexecuted):\n1: # (C) Datadog, Inc. 2020-present\n2: # All rights reserved\n3: # Licensed under the Apache license (see LICENSE)\n4: from textwrap import dedent\n5: from typing import cast\n6: \n7: import click\n8: import pytest\n9: \n10: from mkdocs_click._docs import _show_options, make_command_docs\n11: from mkdocs_click._exceptions import MkDocsClickException\n12: \n13: \n14: @click.command()\n15: @click.option(\"-d\", \"--debug\", help=\"Include debug output\")\n16: def hello():\n17: \"\"\"Hello, world!\"\"\"\n18: \n19: \n20: @click.command()\n21: @click.option(\"-d\", \"--debug\", help=\"Include debug output\")\n22: def hello_escape_marker():\n23: \"\"\"\n24: \\b\n25: Hello, world!\n26: \"\"\"\n27: \n28: \n29: @click.command()\n30: @click.option(\"-d\", \"--debug\", help=\"Include debug output\")\n31: def hello_ascii_art():\n32: \"\"\"\n33: \\b\n34: ______ __ __ ______ __ ___\n35: / || | | | / || |/ /\n36: | ,----'| | | | | ,----'| ' /\n37: | | | | | | | | | <\n38: | `----.| `----.| | | `----.| . \\\\\n39: \\\\______||_______||__| \\\\______||__|\\\\__\\\\\n40: \n41: Hello, world!\n42: \"\"\"\n43: \n44: \n45: @click.command(context_settings={\"help_option_names\": []})\n46: def hello_no_options():\n47: \"\"\"\n48: Hello, world!\n49: \"\"\"\n50: \n51: \n52: HELLO_EXPECTED = dedent(\n53: \"\"\"\n54: # hello\n55: \n56: Hello, world!\n57: \n58: **Usage:**\n59: \n60: ```text\n61: hello [OPTIONS]\n62: ```\n63: \n64: **Options:**\n65: \n66: ```text\n67: -d, --debug TEXT Include debug output\n68: --help Show this message and exit.\n69: ```\n70: \"\"\"\n71: ).lstrip()\n72: \n73: \n74: HELLO_EXPECTED_NO_OPTIONS = dedent(\n75: \"\"\"\n76: # hello\n77: \n78: Hello, world!\n79: \n80: **Usage:**\n81: \n82: ```text\n83: hello [OPTIONS]\n84: ```\n85: \"\"\"\n86: ).lstrip()\n87: \n88: \n89: def test_basic():\n90: output = \"\\n\".join(make_command_docs(\"hello\", hello))\n91: assert output == HELLO_EXPECTED\n92: \n93: \n94: def test_depth():\n95: output = \"\\n\".join(make_command_docs(\"hello\", hello, depth=2))\n96: assert output == HELLO_EXPECTED.replace(\"# \", \"### \")\n97: \n98: \n99: def test_prog_name():\n100: output = \"\\n\".join(make_command_docs(\"hello-world\", hello))\n101: assert output == HELLO_EXPECTED.replace(\"hello\", \"hello-world\")\n102: \n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mkdocs_mkdocs-click_pr90__P52X6zq:19"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4944,"content_sha256":"3352f96671462a1661d7a3270ebccef3f1b3f722127c4b1d29594da63eceb771","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":67,"sha256":"95d0610ca998b2bbc665ae123e45b307b64cab929ec1780475442a78f2c2c85b","start_line":1,"truncated":false},"content_sha256":"129d6e7f88f072e21c4570334ce4412dbebff1f20e1019a6e8f6390c22c60285","end_line":84,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"setup.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"c99256e2ad0909aeb2306009756cb6b5bc92dddb4e0e7f9e9253548fe9a8c492","reference_window":{"end_line":68,"sha256":"6f0a22fcecfcbcb68c593df54720b9d32a199bacadd2d28f5f1b6690cacdaa90","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mmore500_alifedata-phyloinformat__j6vKfGs:43","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/setup.py, reference lines 1-84\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: #!/usr/bin/env python\n2: \n3: \"\"\"The setup script.\"\"\"\n4: \n5: from setuptools import setup, find_packages\n6: \n7: with open('README.rst') as readme_file:\n8: readme = readme_file.read()\n9: \n10: requirements = [\n11: \"anytree>=2.8.0\",\n12: \"biopython>=1.79\",\n13: \"click>=7.0\",\n14: \"dendropy>=4.5.2\",\n15: \"Deprecated>=1.2.13\",\n16: \"ete3>=3.0.0\",\n17: \"iterpop>=0.4.0\",\n18: \"nanto>=0.1.1\",\n19: \"networkx>=2.5\",\n20: \"numpy>=1.21.5\",\n21: \"opytional>=0.1.0\",\n22: \"pandas>=1.1.0\",\n23: \"phylotrackpy>=0.1.16\",\n24: \"sortedcontainers>=2.4.0\",\n25: \"typing-extensions>=4.7.1\",\n26: \"validators>=0.20.0\",\n27: \"yarl>=1.9.3\",\n28: ]\n29: \n30: setup_requirements = ['pytest-runner', ]\n31: \n32: test_requirements = ['pytest>=3', ]\n33: \n34: setup(\n35: author=\"Matthew Andres Moreno\",\n36: author_email='m.more500@gmail.com',\n37: python_requires='>=3.8',\n38: classifiers=[\n39: 'Development Status :: 2 - Pre-Alpha',\n40: 'Intended Audience :: Developers',\n41: 'License :: OSI Approved :: MIT License',\n42: 'Natural Language :: English',\n43: 'Programming Language :: Python :: 3',\n44: 'Programming Language :: Python :: 3.8',\n45: 'Programming Language :: Python :: 3.9',\n46: 'Programming Language :: Python :: 3.10',\n47: 'Programming Language :: Python :: 3.11',\n48: 'Programming Language :: Python :: 3.12',\n49: ],\n50: description=\"alifedata-phyloinformatics-convert helps apply traditional phyloinformatics software to alife standardized data\",\n51: entry_points='''\n52: [console_scripts]\n53: alifedata-phyloinformatics-convert=alifedata_phyloinformatics_convert.cli:cli\n54: ''',\n55: install_requires=requirements,\n56: license=\"MIT license\",\n57: long_description=readme,\n58: include_package_data=True,\n59: keywords='alifedata-phyloinformatics-convert',\n60: name='alifedata-phyloinformatics-convert',\n61: packages=find_packages(include=['alifedata_phyloinformatics_convert', 'alifedata_phyloinformatics_convert.*']),\n62: setup_requires=setup_requirements,\n63: test_suite='tests',\n64: tests_require=test_requirements,\n65: url='https://github.com/mmore500/alifedata-phyloinformatics-convert',\n66: version='0.16.4',\n67: zip_safe=False,\n68: )\nCandidate text preview (unexecuted):\n1: #!/usr/bin/env python\n2: \n3: \"\"\"The setup script.\"\"\"\n4: \n5: from setuptools import setup, find_packages\n6: \n7: with open('README.rst') as readme_file:\n8: readme = readme_file.read()\n9: \n10: requirements = [\n11: \"anytree>=2.8.0\",\n12: \"biopython>=1.79\",\n13: \"click>=7.0\",\n14: \"dendropy>=4.5.2\",\n15: \"Deprecated>=1.2.13\",\n16: \"ete3>=3.0.0\",\n17: \"iterpop>=0.4.0\",\n18: \"nanto>=0.1.1\",\n19: \"networkx>=2.5\",\n20: \"numpy>=1.21.5\",\n21: \"opytional>=0.1.0\",\n22: \"pandas>=1.1.0\",\n23: \"sortedcontainers>=2.4.0\",\n24: \"typing-extensions>=4.7.1\",\n25: \"validators>=0.20.0\",\n26: \"yarl>=1.9.3\",\n27: ]\n28: \n29: setup_requirements = ['pytest-runner', ]\n30: \n31: test_requirements = ['pytest>=3', ]\n32: \n33: setup(\n34: author=\"Matthew Andres Moreno\",\n35: author_email='m.more500@gmail.com',\n36: python_requires='>=3.8',\n37: classifiers=[\n38: 'Development Status :: 2 - Pre-Alpha',\n39: 'Intended Audience :: Developers',\n40: 'License :: OSI Approved :: MIT License',\n41: 'Natural Language :: English',\n42: 'Programming Language :: Python :: 3',\n43: 'Programming Language :: Python :: 3.8',\n44: 'Programming Language :: Python :: 3.9',\n45: 'Programming Language :: Python :: 3.10',\n46: 'Programming Language :: Python :: 3.11',\n47: 'Programming Language :: Python :: 3.12',\n48: ],\n49: description=\"alifedata-phyloinformatics-convert helps apply traditional phyloinformatics software to alife standardized data\",\n50: entry_points='''\n51: [console_scripts]\n52: alifedata-phyloinformatics-convert=alifedata_phyloinformatics_convert.cli:cli\n53: ''',\n54: install_requires=requirements,\n55: license=\"MIT license\",\n56: long_description=readme,\n57: include_package_data=True,\n58: keywords='alifedata-phyloinformatics-convert',\n59: name='alifedata-phyloinformatics-convert',\n60: packages=find_packages(include=['alifedata_phyloinformatics_convert', 'alifedata_phyloinformatics_convert.*']),\n61: setup_requires=setup_requirements,\n62: test_suite='tests',\n63: tests_require=test_requirements,\n64: url='https://github.com/mmore500/alifedata-phyloinformatics-convert',\n65: version='0.16.4',\n66: zip_safe=False,\n67: )\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mmore500_alifedata-phyloinformat__j6vKfGs:43"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":445,"content_sha256":"d8fe8b1f13e3c15425040bc5ca9a4d021796e5d8f5ce6260a911ff1d6d44106d","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"00430218d5dc1c517ca8e75baf760e1ee22e99f06619310e839d4c2af8dbe613","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"docs","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"mmore500_alifedata-phyloinformat__sHQ6ksC:14","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/docs, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"mmore500_alifedata-phyloinformat__sHQ6ksC:14"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"pennylaneai__pennylane-5277__VAEyVsc:3","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pennylaneai__pennylane-5277__VAEyVsc:3"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":446,"content_sha256":"2afb6d4b5ab6b5ab95c3e6d91a66ce9ec7062a9dc436c2964e6175f5fcb80d38","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"eb79238ea32e86e1443ccbc061272403a4af7ca47634e3bb7c89a6b7af6a50f2","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"pennylaneai__pennylane-7164__jqX6uEG:19","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pennylaneai__pennylane-7164__jqX6uEG:19"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5882,"content_sha256":"467ec24984bb88a8d2054c341c5ecbe34b887d42fe85a4c9e132cfc8164500fd","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":624,"sha256":"29e2b52c5f5b5735289f10c08a7aa2d85ac02d68058e55ed8faf3417828395c2","start_line":568,"truncated":true},"content_sha256":"9777dfd2180fb55c0fe59586cfcb9f72910865818d534611c9c50a860f5c3191","end_line":664,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/drawer/test_tape_mpl.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"e3b514764b09b509026039def84c2aed5d78821fc5c5635dc5a94a5af502eaaa","reference_window":{"end_line":628,"sha256":"bd734d57e9b4a833d832dfa01f004af7ada1816b503fcb9686e9c088553ab9c9","start_line":565,"truncated":true},"start_line":536,"truncated":true}],"item_id":"pennylaneai__pennylane-7668__zeZtdYz:50","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/drawer/test_tape_mpl.py, reference lines 536-664\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n565: \"\"\"Test control_values get displayed correctly for nested controlled operations\n566: when they are provided as a list of bools.\"\"\"\n567: \n568: with qml.queuing.AnnotatedQueue() as q_tape:\n569: Controlled(\n570: qml.ctrl(qml.PauliY(wires=4), control=[2, 3], control_values=[1, 0]),\n571: control_wires=[0, 1],\n572: control_values=[1, 0],\n573: )\n574: \n575: tape = QuantumScript.from_queue(q_tape)\n576: self.check_tape_controlled_qubit_unitary(tape)\n577: \n578: def check_tape_controlled_qubit_unitary(self, tape):\n579: \"\"\"Checks the control symbols for a tape with some version of a controlled qubit unitary.\"\"\"\n580: _, ax = tape_mpl(tape, style=\"rcParams\") # use plt.rcParams values\n581: layer = 0\n582: \n583: # 5 wires -> 4 control, 1 target\n584: assert len(ax.patches) == 5\n585: # Circle for control values are positioned correctly\n586: # Circle color matched according to the control value\n587: assert ax.patches[0].center == (layer, 0)\n588: assert ax.patches[0].get_facecolor() == mpl.colors.to_rgba(plt.rcParams[\"lines.color\"])\n589: assert ax.patches[1].center == (layer, 1)\n590: assert ax.patches[1].get_facecolor() == mpl.colors.to_rgba(plt.rcParams[\"axes.facecolor\"])\n591: assert ax.patches[2].center == (layer, 2)\n592: assert ax.patches[2].get_facecolor() == mpl.colors.to_rgba(plt.rcParams[\"lines.color\"])\n593: assert ax.patches[3].center == (layer, 3)\n594: assert ax.patches[3].get_facecolor() == mpl.colors.to_rgba(plt.rcParams[\"axes.facecolor\"])\n595: \n596: # five wires, one control line\n597: assert len(ax.lines) == 6\n598: control_line = ax.lines[5]\n599: assert control_line.get_data() == ((layer, layer), (0, 4))\n600: \n601: plt.close()\n602: \n603: \n604: general_op_data = [\n605: qml.RX(1.234, wires=0),\n606: qml.Hadamard(0),\n607: qml.S(wires=0),\n608: qml.IsingXX(1.234, wires=(0, 1)),\n609: qml.U3(1.234, 2.345, 3.456, wires=0),\n610: # State Prep\n611: qml.BasisState([0, 1, 0], wires=(0, 1, 2)),\n612: ### Templates\n613: qml.QFT(wires=range(3)),\n614: qml.Permute([4, 2, 0, 1, 3], wires=(0, 1, 2, 3, 4)),\n615: qml.GroverOperator(wires=(0, 1, 2, 3, 4, 5)),\n616: ### Continuous Variable\n617: qml.Kerr(1.234, wires=0),\n618: qml.Beamsplitter(1.234, 2.345, wires=(0, 1)),\n619: qml.Rotation(1.234, wires=0),\n620: ]\n621: \n622: \n623: class TestGeneralOperations:\n624: \"\"\"Tests general operations.\"\"\"\n625: \n626: width = 0.75 - 2 * 0.2\n627: \n628: @pytest.mark.parametrize(\"op\", general_op_data)\n[window truncated; visible lines 565-628]\nCandidate text preview (unexecuted):\n568: with qml.queuing.AnnotatedQueue() as q_tape:\n569: Controlled(\n570: qml.ctrl(qml.PauliY(wires=4), control=[2, 3], control_values=[1, 0]),\n571: control_wires=[0, 1],\n572: control_values=[1, 0],\n573: )\n574: \n575: tape = QuantumScript.from_queue(q_tape)\n576: self.check_tape_controlled_qubit_unitary(tape)\n577: \n578: def check_tape_controlled_qubit_unitary(self, tape):\n579: \"\"\"Checks the control symbols for a tape with some version of a controlled qubit unitary.\"\"\"\n580: _, ax = tape_mpl(tape, style=\"rcParams\") # use plt.rcParams values\n581: layer = 0\n582: \n583: # 5 wires -> 4 control, 1 target\n584: assert len(ax.patches) == 5\n585: # Circle for control values are positioned correctly\n586: # Circle color matched according to the control value\n587: assert ax.patches[0].center == (layer, 0)\n588: assert ax.patches[0].get_facecolor() == mpl.colors.to_rgba(plt.rcParams[\"lines.color\"])\n589: assert ax.patches[1].center == (layer, 1)\n590: assert ax.patches[1].get_facecolor() == mpl.colors.to_rgba(plt.rcParams[\"axes.facecolor\"])\n591: assert ax.patches[2].center == (layer, 2)\n592: assert ax.patches[2].get_facecolor() == mpl.colors.to_rgba(plt.rcParams[\"lines.color\"])\n593: assert ax.patches[3].center == (layer, 3)\n594: assert ax.patches[3].get_facecolor() == mpl.colors.to_rgba(plt.rcParams[\"axes.facecolor\"])\n595: \n596: # five wires, one control line\n597: assert len(ax.lines) == 6\n598: control_line = ax.lines[5]\n599: assert control_line.get_data() == ((layer, layer), (0, 4))\n600: \n601: plt.close()\n602: \n603: def test_work_wires_not_drawn(self):\n604: \"\"\"Test that a circuit with work wires can be drawn, and that the work wires\n605: themselves are not drawn.\"\"\"\n606: \n607: with qml.queuing.AnnotatedQueue() as q_tape:\n608: qml.ctrl(qml.CRZ(0.5, [0, 2]), control=[3], work_wires=[1])\n609: \n610: tape = QuantumScript.from_queue(q_tape)\n611: _, ax = tape_mpl(tape)\n612: \n613: # The work wire (1) is not drawn: only wires 0, 2, 3 appear.\n614: labels = [t.get_text() for t in ax.texts if t.get_text() in {\"0\", \"1\", \"2\", \"3\"}]\n615: assert labels == [\"0\", \"2\", \"3\"]\n616: plt.close()\n617: \n618: def test_work_wires_reused_are_drawn(self):\n619: \"\"\"Test that a work wire that is also used by another operation is drawn.\"\"\"\n620: \n621: with qml.queuing.AnnotatedQueue() as q_tape:\n622: qml.ctrl(qml.CRZ(0.5, [0, 2]), control=[3], work_wires=[1])\n623: qml.PauliX(1)\n624: \n[window truncated; visible lines 568-624]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pennylaneai__pennylane-7668__zeZtdYz:50"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":425,"content_sha256":"f6ad37def966a493ceebade905d78f736cbcb466120530aabe552319bd5682fb","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"7a64b56aa0b3ed30908e03cdd040e9f23ed4174d44c65813c536b5d79927a214","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"vendor/autoload.php","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"fd7026762a302bda0ea0cbaf621bb46d964da289128af6c67c5c94d9572ad0fa","reference_window":{"end_line":7,"sha256":"f50dc6bb58585e63da068c0dc3dd316132968ada38ff8546d5c4c46e0c1d4382","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"phpoffice__phpspreadsheet-4076__Apdf9Tf:29","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/vendor/autoload.php, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: "},"item_id":"phpoffice__phpspreadsheet-4076__Apdf9Tf:29"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5486,"content_sha256":"5bb59e5d7a93290ebb884f6d43e72eb1d229f5ccfd10a43e1064dd62e57883be","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":362,"sha256":"2344a35bbb5738548b09cee553e890cdd198f34278dbf0c258e3af9cdf75e554","start_line":283,"truncated":true},"content_sha256":"5fe4850dd0345be8c419a4361067320fcd6b17875c1c1028cf43b9beeb2bc024","end_line":404,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/PhpSpreadsheet/Writer/Csv.php","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"3f28e0032e8ccf459c3c148e1d88ccde56ab891198cf5c6fa98d2711e062ba90","reference_window":{"end_line":344,"sha256":"fe5795e8319f530db9eb70b3b70c4ae9963121d45dd713a8df8db591432920b2","start_line":278,"truncated":false},"start_line":278,"truncated":true}],"item_id":"phpoffice__phpspreadsheet-4151__6Jh5g99:12","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/PhpSpreadsheet/Writer/Csv.php, reference lines 278-404\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n278: /**\n279: * Write line to CSV file.\n280: *\n281: * @param resource $fileHandle PHP filehandle\n282: * @param array $values Array containing values in a row\n283: */\n284: private function writeLine($fileHandle, array $values): void\n285: {\n286: // No leading delimiter\n287: $delimiter = '';\n288: \n289: // Build the line\n290: $line = '';\n291: \n292: /** @var null|bool|float|int|string|Stringable $element */\n293: foreach ($values as $element) {\n294: $element = self::elementToString($element);\n295: // Add delimiter\n296: $line .= $delimiter;\n297: $delimiter = $this->delimiter;\n298: // Escape enclosures\n299: $enclosure = $this->enclosure;\n300: if ($enclosure) {\n301: // If enclosure is not required, use enclosure only if\n302: // element contains newline, delimiter, or enclosure.\n303: if (!$this->enclosureRequired && strpbrk($element, \"$delimiter$enclosure\\n\") === false) {\n304: $enclosure = '';\n305: } else {\n306: $element = str_replace($enclosure, $enclosure . $enclosure, $element);\n307: }\n308: }\n309: // Add enclosed string\n310: $line .= $enclosure . $element . $enclosure;\n311: }\n312: \n313: // Add line ending\n314: $line .= $this->lineEnding;\n315: \n316: // Write to file\n317: if ($this->outputEncoding != '') {\n318: $line = mb_convert_encoding($line, $this->outputEncoding);\n319: }\n320: fwrite($fileHandle, $line);\n321: }\n322: \n323: /**\n324: * Get whether number of columns should be allowed to vary\n325: * between rows, or use a fixed range based on the max\n326: * column overall.\n327: */\n328: public function getVariableColumns(): bool\n329: {\n330: return $this->variableColumns;\n331: }\n332: \n333: /**\n334: * Set whether number of columns should be allowed to vary\n335: * between rows, or use a fixed range based on the max\n336: * column overall.\n337: */\n338: public function setVariableColumns(bool $pValue): self\n339: {\n340: $this->variableColumns = $pValue;\n341: \n342: return $this;\n343: }\n344: }\nCandidate text preview (unexecuted):\n283: */\n284: private function writeLine($fileHandle, array $values): void\n285: {\n286: // No leading delimiter\n287: $delimiter = '';\n288: \n289: // Build the line\n290: $line = '';\n291: \n292: /** @var null|bool|float|int|string|Stringable $element */\n293: foreach ($values as $element) {\n294: $element = self::elementToString($element);\n295: // Add delimiter\n296: $line .= $delimiter;\n297: $delimiter = $this->delimiter;\n298: // Escape enclosures\n299: $enclosure = $this->enclosure;\n300: if ($enclosure) {\n301: // If enclosure is not required, use enclosure only if\n302: // element contains newline, delimiter, or enclosure.\n303: if (!$this->enclosureRequired && strpbrk($element, \"$delimiter$enclosure\\n\") === false) {\n304: $enclosure = '';\n305: } else {\n306: $element = str_replace($enclosure, $enclosure . $enclosure, $element);\n307: }\n308: }\n309: // Add enclosed string\n310: $line .= $enclosure . $element . $enclosure;\n311: }\n312: \n313: // Add line ending\n314: $line .= $this->lineEnding;\n315: \n316: // Write to file\n317: if ($this->outputEncoding != '') {\n318: $line = mb_convert_encoding($line, $this->outputEncoding);\n319: }\n320: fwrite($fileHandle, $line);\n321: }\n322: \n323: /**\n324: * Get whether number of columns should be allowed to vary\n325: * between rows, or use a fixed range based on the max\n326: * column overall.\n327: */\n328: public function getVariableColumns(): bool\n329: {\n330: return $this->variableColumns;\n331: }\n332: \n333: /**\n334: * Set whether number of columns should be allowed to vary\n335: * between rows, or use a fixed range based on the max\n336: * column overall.\n337: */\n338: public function setVariableColumns(bool $pValue): self\n339: {\n340: $this->variableColumns = $pValue;\n341: \n342: return $this;\n343: }\n344: \n345: /**\n346: * Get whether hyperlink or label should be output.\n347: */\n348: public function getPreferHyperlinkToLabel(): bool\n349: {\n350: return $this->preferHyperlinkToLabel;\n351: }\n352: \n353: /**\n354: * Set whether hyperlink or label should be output.\n355: */\n356: public function setPreferHyperlinkToLabel(bool $preferHyperlinkToLabel): self\n357: {\n358: $this->preferHyperlinkToLabel = $preferHyperlinkToLabel;\n359: \n360: return $this;\n361: }\n362: }\n[window truncated; visible lines 283-362]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"phpoffice__phpspreadsheet-4151__6Jh5g99:12"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"phpoffice__phpspreadsheet-4322__YXqAieJ:8","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"phpoffice__phpspreadsheet-4322__YXqAieJ:8"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5908,"content_sha256":"42a33126ea294495abc154cea1cf0509a0e0bbd5e61f0169a44497c173339657","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":338,"sha256":"96db27cde5f3b7db44e0541d62e30ff1284a2c993cb7e925a1069165a8b3de0e","start_line":280,"truncated":true},"content_sha256":"9f3cc8f9b0bf2c4e3ed5ae6b1d6799ec8daaea008092a24ddef1bd27458d48a8","end_line":380,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/PhpSpreadsheet/ReferenceHelper.php","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"432667b6f4deddf75cde93c9f11687917ee4e33551b460899d0d0236c0e943e5","reference_window":{"end_line":337,"sha256":"0a3e31b3dec70c17112e263b2c54aaedebbe0b4b497a99a018daceaf4769e7ac","start_line":281,"truncated":true},"start_line":249,"truncated":true}],"item_id":"phpoffice__phpspreadsheet-4465__ZdYa5B9:31","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/PhpSpreadsheet/ReferenceHelper.php, reference lines 249-380\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n281: $numberOfRows,\n282: $worksheet->getTitle(),\n283: true\n284: )\n285: );\n286: }\n287: $addressParts = explode(' ', $cellAddress);\n288: $newReference = '';\n289: $separator = '';\n290: foreach ($addressParts as $addressPart) {\n291: $newReference .= $separator . $this->updateCellReference($addressPart);\n292: $separator = ' ';\n293: }\n294: if ($cellAddress !== $newReference) {\n295: $worksheet->setDataValidation($newReference, $dataValidation);\n296: $worksheet->setDataValidation($cellAddress, null);\n297: if ($newReference) {\n298: $worksheet->setDataValidation($newReference, $dataValidation);\n299: }\n300: }\n301: }\n302: }\n303: \n304: /**\n305: * Update merged cells when inserting/deleting rows/columns.\n306: *\n307: * @param Worksheet $worksheet The worksheet that we're editing\n308: */\n309: protected function adjustMergeCells(Worksheet $worksheet): void\n310: {\n311: $aMergeCells = $worksheet->getMergeCells();\n312: $aNewMergeCells = []; // the new array of all merge cells\n313: foreach ($aMergeCells as $cellAddress => &$value) {\n314: $newReference = $this->updateCellReference($cellAddress);\n315: if ($newReference) {\n316: $aNewMergeCells[$newReference] = $newReference;\n317: }\n318: }\n319: $worksheet->setMergeCells($aNewMergeCells); // replace the merge cells array\n320: }\n321: \n322: /**\n323: * Update protected cells when inserting/deleting rows/columns.\n324: *\n325: * @param Worksheet $worksheet The worksheet that we're editing\n326: * @param int $numberOfColumns Number of columns to insert/delete (negative values indicate deletion)\n327: * @param int $numberOfRows Number of rows to insert/delete (negative values indicate deletion)\n328: */\n329: protected function adjustProtectedCells(Worksheet $worksheet, int $numberOfColumns, int $numberOfRows): void\n330: {\n331: $aProtectedCells = $worksheet->getProtectedCellRanges();\n332: ($numberOfColumns > 0 || $numberOfRows > 0)\n333: ? uksort($aProtectedCells, [self::class, 'cellReverseSort'])\n334: : uksort($aProtectedCells, [self::class, 'cellSort']);\n335: foreach ($aProtectedCells as $cellAddress => $protectedRange) {\n336: $newReference = $this->updateCellReference($cellAddress);\n337: if ($cellAddress !== $newReference) {\n[window truncated; visible lines 281-337]\nCandidate text preview (unexecuted):\n280: $numberOfColumns,\n281: $numberOfRows,\n282: $worksheet->getTitle(),\n283: true\n284: )\n285: );\n286: }\n287: $addressParts = explode(' ', $cellAddress);\n288: $newReference = '';\n289: $separator = '';\n290: foreach ($addressParts as $addressPart) {\n291: $newReference .= $separator . $this->updateCellReference($addressPart);\n292: $separator = ' ';\n293: }\n294: if ($cellAddress !== $newReference) {\n295: $worksheet->setDataValidation($newReference, $dataValidation);\n296: $worksheet->setDataValidation($cellAddress, null);\n297: if ($newReference) {\n298: $worksheet->setDataValidation($newReference, $dataValidation);\n299: }\n300: }\n301: }\n302: }\n303: \n304: /**\n305: * Update merged cells when inserting/deleting rows/columns.\n306: *\n307: * @param Worksheet $worksheet The worksheet that we're editing\n308: */\n309: protected function adjustMergeCells(Worksheet $worksheet): void\n310: {\n311: $aMergeCells = $worksheet->getMergeCells();\n312: $aNewMergeCells = []; // the new array of all merge cells\n313: /** @var CellReferenceHelper */\n314: $cellReferenceHelper = $this->cellReferenceHelper;\n315: foreach ($aMergeCells as $cellAddress => &$value) {\n316: // Merged ranges that fall entirely within the rows/columns being\n317: // deleted are dropped rather than shifted.\n318: if ($cellReferenceHelper->cellRangeInDeleteRange($cellAddress)) {\n319: continue;\n320: }\n321: $newReference = $this->updateCellReference($cellAddress);\n322: if ($newReference) {\n323: $aNewMergeCells[$newReference] = $newReference;\n324: }\n325: }\n326: $worksheet->setMergeCells($aNewMergeCells); // replace the merge cells array\n327: }\n328: \n329: /**\n330: * Update protected cells when inserting/deleting rows/columns.\n331: *\n332: * @param Worksheet $worksheet The worksheet that we're editing\n333: * @param int $numberOfColumns Number of columns to insert/delete (negative values indicate deletion)\n334: * @param int $numberOfRows Number of rows to insert/delete (negative values indicate deletion)\n335: */\n336: protected function adjustProtectedCells(Worksheet $worksheet, int $numberOfColumns, int $numberOfRows): void\n337: {\n338: $aProtectedCells = $worksheet->getProtectedCellRanges();\n[window truncated; visible lines 280-338]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"phpoffice__phpspreadsheet-4465__ZdYa5B9:31"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5885,"content_sha256":"c747c071b62aa44ffee48658661bf7913d3f6bdbab7864962d50b3c2bf7d2e15","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":1378,"sha256":"aba5c5d7b2f9e6475c057a8d67177f4cfd9dde67416a709e7bc7b8e205832d9c","start_line":1317,"truncated":true},"content_sha256":"db3a662c43844a128bb2037d5b9eb6d3911fb8536a61f65c1b6d14c32007c6fb","end_line":1428,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/PhpSpreadsheet/Writer/Html.php","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"f7c280e13b2bb0e9169a78dd695dec5ad5111313342bf42342c1ffdbee093b35","reference_window":{"end_line":1378,"sha256":"0d7b067ac734bbb93a51252ad834eb2d03bb3a2b88339c1ca327f200ef23aa91","start_line":1317,"truncated":true},"start_line":1287,"truncated":true}],"item_id":"phpoffice__phpspreadsheet-4487__NhLUJ7v:46","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/PhpSpreadsheet/Writer/Html.php, reference lines 1287-1428\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1317: }\n1318: }\n1319: \n1320: // Write row start\n1321: if (!$this->useInlineCss) {\n1322: $html .= ' ' . PHP_EOL;\n1323: } else {\n1324: $style = isset($this->cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $row])\n1325: ? $this->assembleCSS($this->cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $row]) : '';\n1326: \n1327: $html .= ' ' . PHP_EOL;\n1328: }\n1329: \n1330: return $html;\n1331: }\n1332: \n1333: /** @return array{null|''|Cell, array{}|string, non-empty-string} */\n1334: private function generateRowCellCss(Worksheet $worksheet, string $cellAddress, int $row, int $columnNumber): array\n1335: {\n1336: $cell = ($cellAddress > '') ? $worksheet->getCellCollection()->get($cellAddress) : '';\n1337: $coordinate = Coordinate::stringFromColumnIndex($columnNumber + 1) . ($row + 1);\n1338: if (!$this->useInlineCss) {\n1339: $cssClass = 'column' . $columnNumber;\n1340: } else {\n1341: $cssClass = [];\n1342: }\n1343: \n1344: return [$cell, $cssClass, $coordinate];\n1345: }\n1346: \n1347: private function generateRowCellDataValueRich(RichText $richText): string\n1348: {\n1349: $cellData = '';\n1350: // Loop through rich text elements\n1351: $elements = $richText->getRichTextElements();\n1352: foreach ($elements as $element) {\n1353: // Rich text start?\n1354: if ($element instanceof Run) {\n1355: $cellEnd = '';\n1356: if ($element->getFont() !== null) {\n1357: $cellData .= 'assembleCSS($this->createCSSStyleFont($element->getFont())) . '\">';\n1358: \n1359: if ($element->getFont()->getSuperscript()) {\n1360: $cellData .= '';\n1361: $cellEnd = '';\n1362: } elseif ($element->getFont()->getSubscript()) {\n1363: $cellData .= '';\n1364: $cellEnd = '';\n1365: }\n1366: } else {\n1367: $cellData .= '';\n1368: }\n1369: \n1370: // Convert UTF8 data to PCDATA\n1371: $cellText = $element->getText();\n1372: $cellData .= htmlspecialchars($cellText, Settings::htmlEntityFlags());\n1373: \n1374: $cellData .= $cellEnd;\n1375: \n1376: $cellData .= '';\n1377: } else {\n1378: // Convert UTF8 data to PCDATA\n[window truncated; visible lines 1317-1378]\nCandidate text preview (unexecuted):\n1317: }\n1318: }\n1319: \n1320: // Write row start\n1321: if (!$this->useInlineCss) {\n1322: $html .= ' ' . PHP_EOL;\n1323: } else {\n1324: $style = isset($this->cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $row])\n1325: ? $this->assembleCSS($this->cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $row]) : '';\n1326: \n1327: $html .= ' ' . PHP_EOL;\n1328: }\n1329: \n1330: return $html;\n1331: }\n1332: \n1333: /** @return array{null|''|Cell, array{}|string, non-empty-string} */\n1334: private function generateRowCellCss(Worksheet $worksheet, string $cellAddress, int $row, int $columnNumber): array\n1335: {\n1336: $cell = ($cellAddress > '') ? $worksheet->getCellCollection()->get($cellAddress) : '';\n1337: $coordinate = Coordinate::stringFromColumnIndex($columnNumber + 1) . ($row + 1);\n1338: if (!$this->useInlineCss) {\n1339: $cssClass = 'column' . $columnNumber;\n1340: } else {\n1341: $cssClass = [];\n1342: }\n1343: \n1344: return [$cell, $cssClass, $coordinate];\n1345: }\n1346: \n1347: private function generateRowCellDataValueRich(RichText $richText, ?Font $defaultFont = null): string\n1348: {\n1349: $cellData = '';\n1350: // Loop through rich text elements\n1351: $elements = $richText->getRichTextElements();\n1352: foreach ($elements as $element) {\n1353: // Rich text start?\n1354: $font = ($element instanceof Run) ? $element->getFont() : $defaultFont;\n1355: if ($element instanceof Run || $font !== null) {\n1356: $cellEnd = '';\n1357: if ($font !== null) {\n1358: $cellData .= 'assembleCSS($this->createCSSStyleFont($font, true)) . '\">';\n1359: \n1360: if ($font->getSuperscript()) {\n1361: $cellData .= '';\n1362: $cellEnd = '';\n1363: } elseif ($font->getSubscript()) {\n1364: $cellData .= '';\n1365: $cellEnd = '';\n1366: }\n1367: } else {\n1368: $cellData .= '';\n1369: }\n1370: \n1371: // Convert UTF8 data to PCDATA\n1372: $cellText = $element->getText();\n1373: $cellData .= htmlspecialchars($cellText, Settings::htmlEntityFlags());\n1374: \n1375: $cellData .= $cellEnd;\n1376: \n1377: $cellData .= '';\n1378: } else {\n[window truncated; visible lines 1317-1378]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"phpoffice__phpspreadsheet-4487__NhLUJ7v:46"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"phpoffice__phpspreadsheet-4541__kLcgGgG:21","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"phpoffice__phpspreadsheet-4541__kLcgGgG:21"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4791,"content_sha256":"93fae813f85dbf188824d6d1a9a919ba451d8737b76eb4522abe2a655e8ea61c","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":95,"sha256":"37b66f981494b5aa83610bf2e72f176383eadabfd24b332ab4f3ed283fd6c8ce","start_line":1,"truncated":false},"content_sha256":"737aad0d7a02b91c35a82c77ac17896fa0635f53f404c1ca00df61346721ed1e","end_line":95,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_rfc822.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"5cf1b896d08a13b5b86578f69bb1a39d6927ac75f194598a4c6630f669bc52c6","reference_window":{"end_line":95,"sha256":"6f6419af511977f33442686b81760f0ade675ea664e87274bf881bd796e88e7c","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"pypa_pyproject-metadata_pr150__NnUp4ec:27","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_rfc822.py, reference lines 1-95\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: # SPDX-License-Identifier: MIT\n2: \n3: from __future__ import annotations\n4: \n5: import re\n6: import textwrap\n7: \n8: import pytest\n9: \n10: import pyproject_metadata\n11: \n12: \n13: @pytest.mark.parametrize(\n14: ('items', 'data'),\n15: [\n16: # empty\n17: ([], ''),\n18: # simple\n19: (\n20: [\n21: ('Foo', 'Bar'),\n22: ],\n23: 'Foo: Bar\\n',\n24: ),\n25: (\n26: [\n27: ('Foo', 'Bar'),\n28: ('Foo2', 'Bar2'),\n29: ],\n30: \"\"\"\\\n31: Foo: Bar\n32: Foo2: Bar2\n33: \"\"\",\n34: ),\n35: # None\n36: (\n37: [\n38: ('Item', None),\n39: ],\n40: '',\n41: ),\n42: # order\n43: (\n44: [\n45: ('ItemA', 'ValueA'),\n46: ('ItemB', 'ValueB'),\n47: ('ItemC', 'ValueC'),\n48: ],\n49: \"\"\"\\\n50: ItemA: ValueA\n51: ItemB: ValueB\n52: ItemC: ValueC\n53: \"\"\",\n54: ),\n55: (\n56: [\n57: ('ItemB', 'ValueB'),\n58: ('ItemC', 'ValueC'),\n59: ('ItemA', 'ValueA'),\n60: ],\n61: \"\"\"\\\n62: ItemB: ValueB\n63: ItemC: ValueC\n64: ItemA: ValueA\n65: \"\"\",\n66: ),\n67: # multiple keys\n68: (\n69: [\n70: ('ItemA', 'ValueA1'),\n71: ('ItemB', 'ValueB'),\n72: ('ItemC', 'ValueC'),\n73: ('ItemA', 'ValueA2'),\n74: ],\n75: \"\"\"\\\n76: ItemA: ValueA1\n77: ItemB: ValueB\n78: ItemC: ValueC\n79: ItemA: ValueA2\n80: \"\"\",\n81: ),\n82: (\n83: [\n84: ('ItemA', 'ValueA'),\n85: ('ItemB', 'ValueB1\\nValueB2\\nValueB3'),\n86: ('ItemC', 'ValueC'),\n87: ],\n88: \"\"\"\\\n89: ItemA: ValueA\n90: ItemB: ValueB1\n91: ValueB2\n92: ValueB3\n93: ItemC: ValueC\n94: \"\"\",\n95: ),\nCandidate text preview (unexecuted):\n1: # SPDX-License-Identifier: MIT\n2: \n3: from __future__ import annotations\n4: \n5: import re\n6: import textwrap\n7: \n8: import pytest\n9: \n10: import pyproject_metadata\n11: \n12: \n13: @pytest.mark.parametrize(\n14: ('items', 'data'),\n15: [\n16: # empty\n17: ([], ''),\n18: # simple\n19: (\n20: [\n21: ('Foo', 'Bar'),\n22: ],\n23: 'Foo: Bar\\n',\n24: ),\n25: (\n26: [\n27: ('Foo', 'Bar'),\n28: ('Foo2', 'Bar2'),\n29: ],\n30: \"\"\"\\\n31: Foo: Bar\n32: Foo2: Bar2\n33: \"\"\",\n34: ),\n35: # Unicode\n36: (\n37: [\n38: ('Foo', 'Unicøde'),\n39: ],\n40: 'Foo: Unicøde\\n',\n41: ),\n42: (\n43: [\n44: ('Foo', '🕵️'),\n45: ],\n46: 'Foo: 🕵️\\n',\n47: ),\n48: # None\n49: (\n50: [\n51: ('Item', None),\n52: ],\n53: '',\n54: ),\n55: # order\n56: (\n57: [\n58: ('ItemA', 'ValueA'),\n59: ('ItemB', 'ValueB'),\n60: ('ItemC', 'ValueC'),\n61: ],\n62: \"\"\"\\\n63: ItemA: ValueA\n64: ItemB: ValueB\n65: ItemC: ValueC\n66: \"\"\",\n67: ),\n68: (\n69: [\n70: ('ItemB', 'ValueB'),\n71: ('ItemC', 'ValueC'),\n72: ('ItemA', 'ValueA'),\n73: ],\n74: \"\"\"\\\n75: ItemB: ValueB\n76: ItemC: ValueC\n77: ItemA: ValueA\n78: \"\"\",\n79: ),\n80: # multiple keys\n81: (\n82: [\n83: ('ItemA', 'ValueA1'),\n84: ('ItemB', 'ValueB'),\n85: ('ItemC', 'ValueC'),\n86: ('ItemA', 'ValueA2'),\n87: ],\n88: \"\"\"\\\n89: ItemA: ValueA1\n90: ItemB: ValueB\n91: ItemC: ValueC\n92: ItemA: ValueA2\n93: \"\"\",\n94: ),\n95: (\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr150__NnUp4ec:27"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5844,"content_sha256":"c3a3c9bafde20c1ff301dbe422c7eed713edeb2b96224ecec1d728010a7826bf","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":128,"sha256":"323e5f83fc4aca08cc8451586c6ac4609f4085d6a102087b342a428cfaa2976e","start_line":32,"truncated":true},"content_sha256":"fd5f8943c3894d774a256e307a5961a3bc396132eb71a083affa0d7de4622258","end_line":144,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pyproject_metadata/__init__.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"84cd869f1dd037ed53482cd7c80713bb6ec2d6f102a556af43a73490df6f4112","reference_window":{"end_line":127,"sha256":"215d921e0c3325933de073b41f5d7c0b9bf534be9f324ee9dd45e8d316bd4f46","start_line":33,"truncated":true},"start_line":20,"truncated":true}],"item_id":"pypa_pyproject-metadata_pr157__B4RhVgj:19","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pyproject_metadata/__init__.py, reference lines 20-144\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n33: import packaging.utils\n34: import packaging.version\n35: \n36: \n37: __version__ = '0.9.0b3'\n38: \n39: KNOWN_METADATA_VERSIONS = {'2.1', '2.2', '2.3', '2.4'}\n40: PRE_SPDX_METADATA_VERSIONS = {'2.1', '2.2', '2.3'}\n41: \n42: KNOWN_TOPLEVEL_FIELDS = {'build-system', 'project', 'tool'}\n43: KNOWN_BUILD_SYSTEM_FIELDS = {'backend-path', 'build-backend', 'requires'}\n44: KNOWN_PROJECT_FIELDS = {\n45: 'authors',\n46: 'classifiers',\n47: 'dependencies',\n48: 'description',\n49: 'dynamic',\n50: 'entry-points',\n51: 'gui-scripts',\n52: 'keywords',\n53: 'license',\n54: 'license-files',\n55: 'maintainers',\n56: 'name',\n57: 'optional-dependencies',\n58: 'readme',\n59: 'requires-python',\n60: 'scripts',\n61: 'urls',\n62: 'version',\n63: }\n64: \n65: \n66: __all__ = [\n67: 'ConfigurationError',\n68: 'ConfigurationWarning',\n69: 'License',\n70: 'RFC822Message',\n71: 'RFC822Policy',\n72: 'Readme',\n73: 'StandardMetadata',\n74: 'validate_build_system',\n75: 'validate_project',\n76: 'validate_top_level',\n77: ]\n78: \n79: \n80: def __dir__() -> list[str]:\n81: return __all__\n82: \n83: \n84: def validate_top_level(pyproject: Mapping[str, Any]) -> None:\n85: extra_keys = set(pyproject) - KNOWN_TOPLEVEL_FIELDS\n86: if extra_keys:\n87: msg = f'Extra keys present in pyproject.toml: {extra_keys}'\n88: raise ConfigurationError(msg)\n89: \n90: \n91: def validate_build_system(pyproject: Mapping[str, Any]) -> None:\n92: extra_keys = set(pyproject.get('build-system', [])) - KNOWN_BUILD_SYSTEM_FIELDS\n93: if extra_keys:\n94: msg = f'Extra keys present in \"build-system\": {extra_keys}'\n95: raise ConfigurationError(msg)\n96: \n97: \n98: def validate_project(pyproject: Mapping[str, Any]) -> None:\n99: extra_keys = set(pyproject.get('project', [])) - KNOWN_PROJECT_FIELDS\n100: if extra_keys:\n101: msg = f'Extra keys present in \"project\": {extra_keys}'\n102: raise ConfigurationError(msg)\n103: \n104: \n105: class ConfigurationError(Exception):\n106: \"\"\"Error in the backend metadata.\"\"\"\n107: \n108: def __init__(self, msg: str, *, key: str | None = None):\n109: super().__init__(msg)\n110: self._key = key\n111: \n112: @property\n113: def key(self) -> str | None: # pragma: no cover\n114: return self._key\n115: \n116: \n117: class ConfigurationWarning(UserWarning):\n118: \"\"\"Warnings about backend metadata.\"\"\"\n119: \n120: \n121: @dataclasses.dataclass\n122: class _SmartMessageSetter:\n123: \"\"\"\n124: This provides a nice internal API for setting values in an Message to\n125: reduce boilerplate.\n126: \n127: If a value is None, do nothing.\n[window truncated; visible lines 33-127]\nCandidate text preview (unexecuted):\n32: import packaging.specifiers\n33: import packaging.utils\n34: import packaging.version\n35: \n36: \n37: __version__ = '0.9.0b3'\n38: \n39: KNOWN_METADATA_VERSIONS = {'2.1', '2.2', '2.3', '2.4'}\n40: PRE_SPDX_METADATA_VERSIONS = {'2.1', '2.2', '2.3'}\n41: \n42: KNOWN_TOPLEVEL_FIELDS = {'build-system', 'project', 'tool'}\n43: KNOWN_BUILD_SYSTEM_FIELDS = {'backend-path', 'build-backend', 'requires'}\n44: KNOWN_PROJECT_FIELDS = {\n45: 'authors',\n46: 'classifiers',\n47: 'dependencies',\n48: 'description',\n49: 'dynamic',\n50: 'entry-points',\n51: 'gui-scripts',\n52: 'keywords',\n53: 'license',\n54: 'license-files',\n55: 'maintainers',\n56: 'name',\n57: 'optional-dependencies',\n58: 'readme',\n59: 'requires-python',\n60: 'scripts',\n61: 'urls',\n62: 'version',\n63: }\n64: \n65: \n66: __all__ = [\n67: 'ConfigurationError',\n68: 'ConfigurationWarning',\n69: 'License',\n70: 'RFC822Message',\n71: 'RFC822Policy',\n72: 'Readme',\n73: 'StandardMetadata',\n74: 'validate_build_system',\n75: 'validate_project',\n76: 'validate_top_level',\n77: ]\n78: \n79: \n80: def __dir__() -> list[str]:\n81: return __all__\n82: \n83: \n84: def field_to_metadata(field: str) -> frozenset[str]:\n85: \"\"\"\n86: Return the METADATA fields that correspond to a project field.\n87: \"\"\"\n88: return frozenset(PROJECT_TO_METADATA[field])\n89: \n90: \n91: def validate_top_level(pyproject: Mapping[str, Any]) -> None:\n92: extra_keys = set(pyproject) - KNOWN_TOPLEVEL_FIELDS\n93: if extra_keys:\n94: msg = f'Extra keys present in pyproject.toml: {extra_keys}'\n95: raise ConfigurationError(msg)\n96: \n97: \n98: def validate_build_system(pyproject: Mapping[str, Any]) -> None:\n99: extra_keys = set(pyproject.get('build-system', [])) - KNOWN_BUILD_SYSTEM_FIELDS\n100: if extra_keys:\n101: msg = f'Extra keys present in \"build-system\": {extra_keys}'\n102: raise ConfigurationError(msg)\n103: \n104: \n105: def validate_project(pyproject: Mapping[str, Any]) -> None:\n106: extra_keys = set(pyproject.get('project', [])) - KNOWN_PROJECT_FIELDS\n107: if extra_keys:\n108: msg = f'Extra keys present in \"project\": {extra_keys}'\n109: raise ConfigurationError(msg)\n110: \n111: \n112: class ConfigurationError(Exception):\n113: \"\"\"Error in the backend metadata.\"\"\"\n114: \n115: def __init__(self, msg: str, *, key: str | None = None):\n116: super().__init__(msg)\n117: self._key = key\n118: \n119: @property\n120: def key(self) -> str | None: # pragma: no cover\n121: return self._key\n122: \n123: \n124: class ConfigurationWarning(UserWarning):\n125: \"\"\"Warnings about backend metadata.\"\"\"\n126: \n127: \n128: @dataclasses.dataclass\n[window truncated; visible lines 32-128]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr157__B4RhVgj:19"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5864,"content_sha256":"13b76380b2104d995ace96ceb9c9e1524a8c7dc21f1f0e9198466ee28ead1321","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":595,"sha256":"aeccc34fd7f4e890b12f569727f5aa0135ee7d853caa793f772e108aaf45d58a","start_line":539,"truncated":true},"content_sha256":"86e013abb6712fd9801bfa2d2682e4e90e8de8b047318d99416146cd6ad7c5c1","end_line":631,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pyproject_metadata/__init__.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"d84ba20ab885f4f7c96a3120c89b1f16f8a657f5acf66185e85596f61def68bb","reference_window":{"end_line":596,"sha256":"a099f1a978d316f1b35fa2fe69d0e9817fbbb4694ae97dc8899b04541407620b","start_line":539,"truncated":true},"start_line":507,"truncated":true}],"item_id":"pypa_pyproject-metadata_pr201__YGL2daZ:15","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pyproject_metadata/__init__.py, reference lines 507-631\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n539: \n540: if (\n541: self.license_files is not None\n542: and self.auto_metadata_version in constants.PRE_SPDX_METADATA_VERSIONS\n543: ):\n544: msg = \"{key} is supported only when emitting metadata version >= 2.4\"\n545: errors.config_error(msg, key=\"project.license-files\")\n546: \n547: errors.finalize(\"Metadata validation failed\")\n548: \n549: def _write_metadata( # noqa: C901\n550: self, smart_message: _SmartMessageSetter | _JSonMessageSetter\n551: ) -> None:\n552: \"\"\"\n553: Write the metadata to the message. Handles JSON or Message.\n554: \"\"\"\n555: self.validate(warn=False)\n556: \n557: smart_message[\"Metadata-Version\"] = self.auto_metadata_version\n558: smart_message[\"Name\"] = self.name\n559: if not self.version:\n560: msg = \"Missing version field\"\n561: raise ConfigurationError(msg)\n562: smart_message[\"Version\"] = str(self.version)\n563: # skip 'Platform'\n564: # skip 'Supported-Platform'\n565: if self.description:\n566: smart_message[\"Summary\"] = self.description\n567: smart_message[\"Keywords\"] = \",\".join(self.keywords) or None\n568: if \"homepage\" in self.urls:\n569: smart_message[\"Home-page\"] = self.urls[\"homepage\"]\n570: # skip 'Download-URL'\n571: smart_message[\"Author\"] = _name_list(self.authors)\n572: smart_message[\"Author-Email\"] = _email_list(self.authors)\n573: smart_message[\"Maintainer\"] = _name_list(self.maintainers)\n574: smart_message[\"Maintainer-Email\"] = _email_list(self.maintainers)\n575: \n576: if isinstance(self.license, License):\n577: smart_message[\"License\"] = self.license.text\n578: elif isinstance(self.license, str):\n579: smart_message[\"License-Expression\"] = self.license\n580: \n581: if self.license_files is not None:\n582: for license_file in sorted(set(self.license_files)):\n583: smart_message[\"License-File\"] = os.fspath(license_file.as_posix())\n584: \n585: for classifier in self.classifiers:\n586: smart_message[\"Classifier\"] = classifier\n587: # skip 'Provides-Dist'\n588: # skip 'Obsoletes-Dist'\n589: # skip 'Requires-External'\n590: for name, url in self.urls.items():\n591: smart_message[\"Project-URL\"] = f\"{name.capitalize()}, {url}\"\n592: if self.requires_python:\n593: smart_message[\"Requires-Python\"] = str(self.requires_python)\n594: for dep in self.dependencies:\n595: smart_message[\"Requires-Dist\"] = str(dep)\n596: for extra, requirements in self.optional_dependencies.items():\n[window truncated; visible lines 539-596]\nCandidate text preview (unexecuted):\n539: \n540: if (\n541: self.license_files is not None\n542: and self.auto_metadata_version in constants.PRE_SPDX_METADATA_VERSIONS\n543: ):\n544: msg = \"{key} is supported only when emitting metadata version >= 2.4\"\n545: errors.config_error(msg, key=\"project.license-files\")\n546: \n547: errors.finalize(\"Metadata validation failed\")\n548: \n549: def _write_metadata( # noqa: C901\n550: self, smart_message: _SmartMessageSetter | _JSonMessageSetter\n551: ) -> None:\n552: \"\"\"\n553: Write the metadata to the message. Handles JSON or Message.\n554: \"\"\"\n555: self.validate(warn=False)\n556: \n557: smart_message[\"Metadata-Version\"] = self.auto_metadata_version\n558: smart_message[\"Name\"] = self.name\n559: if not self.version:\n560: msg = \"Missing version field\"\n561: raise ConfigurationError(msg)\n562: smart_message[\"Version\"] = str(self.version)\n563: # skip 'Platform'\n564: # skip 'Supported-Platform'\n565: if self.description:\n566: smart_message[\"Summary\"] = self.description\n567: smart_message[\"Keywords\"] = \",\".join(self.keywords) or None\n568: # skip 'Home-page' (deprecated by PEP 753)\n569: # skip 'Download-URL'\n570: smart_message[\"Author\"] = _name_list(self.authors)\n571: smart_message[\"Author-Email\"] = _email_list(self.authors)\n572: smart_message[\"Maintainer\"] = _name_list(self.maintainers)\n573: smart_message[\"Maintainer-Email\"] = _email_list(self.maintainers)\n574: \n575: if isinstance(self.license, License):\n576: smart_message[\"License\"] = self.license.text\n577: elif isinstance(self.license, str):\n578: smart_message[\"License-Expression\"] = self.license\n579: \n580: if self.license_files is not None:\n581: for license_file in sorted(set(self.license_files)):\n582: smart_message[\"License-File\"] = os.fspath(license_file.as_posix())\n583: \n584: for classifier in self.classifiers:\n585: smart_message[\"Classifier\"] = classifier\n586: # skip 'Provides-Dist'\n587: # skip 'Obsoletes-Dist'\n588: # skip 'Requires-External'\n589: for name, url in self.urls.items():\n590: smart_message[\"Project-URL\"] = f\"{name.capitalize()}, {url}\"\n591: if self.requires_python:\n592: smart_message[\"Requires-Python\"] = str(self.requires_python)\n593: for dep in self.dependencies:\n594: smart_message[\"Requires-Dist\"] = str(dep)\n595: for extra, requirements in self.optional_dependencies.items():\n[window truncated; visible lines 539-595]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr201__YGL2daZ:15"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5916,"content_sha256":"a3ee867d835eb5514048f26c456323f66a41d312e0f15b84f1679d4c347ecda7","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":613,"sha256":"01a7323b8c0def7485da3034a15e3e8c9be01241c9839281d661e5790dadb20b","start_line":559,"truncated":true},"content_sha256":"81cfe6a739e612d4a2ebb71c866c473a2f456230b8a8de36d6844238199fcc9a","end_line":650,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pyproject_metadata/__init__.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"272dc39c47b7ec6835e7e173fe2998e117d729177b980787abe8b631031ad1b5","reference_window":{"end_line":613,"sha256":"63a8c5fbb3b63391546f07d981ac68e6c401e3a6adc1b2312ce72cfabfc14e66","start_line":559,"truncated":true},"start_line":526,"truncated":true}],"item_id":"pypa_pyproject-metadata_pr206__WbzNned:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pyproject_metadata/__init__.py, reference lines 526-650\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n559: Write the metadata to the message. Handles JSON or Message.\n560: \"\"\"\n561: self.validate(warn=False)\n562: \n563: smart_message[\"Metadata-Version\"] = self.auto_metadata_version\n564: smart_message[\"Name\"] = self.name\n565: if not self.version:\n566: msg = \"Missing version field\"\n567: raise ConfigurationError(msg)\n568: smart_message[\"Version\"] = str(self.version)\n569: # skip 'Platform'\n570: # skip 'Supported-Platform'\n571: if self.description:\n572: smart_message[\"Summary\"] = self.description\n573: smart_message[\"Keywords\"] = \",\".join(self.keywords) or None\n574: # skip 'Home-page'\n575: # skip 'Download-URL'\n576: smart_message[\"Author\"] = _name_list(self.authors)\n577: smart_message[\"Author-Email\"] = _email_list(self.authors)\n578: smart_message[\"Maintainer\"] = _name_list(self.maintainers)\n579: smart_message[\"Maintainer-Email\"] = _email_list(self.maintainers)\n580: \n581: if isinstance(self.license, License):\n582: smart_message[\"License\"] = self.license.text\n583: elif isinstance(self.license, str):\n584: smart_message[\"License-Expression\"] = self.license\n585: \n586: if self.license_files is not None:\n587: for license_file in sorted(set(self.license_files)):\n588: smart_message[\"License-File\"] = os.fspath(license_file.as_posix())\n589: \n590: for classifier in self.classifiers:\n591: smart_message[\"Classifier\"] = classifier\n592: # skip 'Provides-Dist'\n593: # skip 'Obsoletes-Dist'\n594: # skip 'Requires-External'\n595: for name, url in self.urls.items():\n596: smart_message[\"Project-URL\"] = f\"{name}, {url}\"\n597: if self.requires_python:\n598: smart_message[\"Requires-Python\"] = str(self.requires_python)\n599: for dep in self.dependencies:\n600: smart_message[\"Requires-Dist\"] = str(dep)\n601: for extra, requirements in self.optional_dependencies.items():\n602: norm_extra = extra.replace(\".\", \"-\").replace(\"_\", \"-\").lower()\n603: smart_message[\"Provides-Extra\"] = norm_extra\n604: for requirement in requirements:\n605: smart_message[\"Requires-Dist\"] = str(\n606: _build_extra_req(norm_extra, requirement)\n607: )\n608: if self.readme:\n609: if self.readme.content_type:\n610: smart_message[\"Description-Content-Type\"] = self.readme.content_type\n611: smart_message.set_payload(self.readme.text)\n612: # Core Metadata 2.2\n613: if self.auto_metadata_version != \"2.1\":\n[window truncated; visible lines 559-613]\nCandidate text preview (unexecuted):\n559: Write the metadata to the message. Handles JSON or Message.\n560: \"\"\"\n561: self.validate(warn=False)\n562: \n563: smart_message[\"Metadata-Version\"] = self.auto_metadata_version\n564: smart_message[\"Name\"] = self.name\n565: if not self.version:\n566: msg = \"Missing version field\"\n567: raise ConfigurationError(msg)\n568: smart_message[\"Version\"] = str(self.version)\n569: # skip 'Platform'\n570: # skip 'Supported-Platform'\n571: if self.description:\n572: smart_message[\"Summary\"] = self.description\n573: smart_message[\"Keywords\"] = \",\".join(self.keywords) or None\n574: # skip 'Home-page'\n575: # skip 'Download-URL'\n576: smart_message[\"Author\"] = _name_list(self.authors)\n577: smart_message[\"Author-Email\"] = _email_list(self.authors)\n578: smart_message[\"Maintainer\"] = _name_list(self.maintainers)\n579: smart_message[\"Maintainer-Email\"] = _email_list(self.maintainers)\n580: \n581: if isinstance(self.license, License):\n582: smart_message[\"License\"] = self.license.text\n583: elif isinstance(self.license, str):\n584: smart_message[\"License-Expression\"] = self.license\n585: \n586: if self.license_files is not None:\n587: for license_file in sorted(set(self.license_files)):\n588: smart_message[\"License-File\"] = os.fspath(license_file.as_posix())\n589: elif (\n590: self.auto_metadata_version not in constants.PRE_SPDX_METADATA_VERSIONS\n591: and isinstance(self.license, License)\n592: and self.license.file\n593: ):\n594: smart_message[\"License-File\"] = os.fspath(self.license.file.as_posix())\n595: \n596: for classifier in self.classifiers:\n597: smart_message[\"Classifier\"] = classifier\n598: # skip 'Provides-Dist'\n599: # skip 'Obsoletes-Dist'\n600: # skip 'Requires-External'\n601: for name, url in self.urls.items():\n602: smart_message[\"Project-URL\"] = f\"{name}, {url}\"\n603: if self.requires_python:\n604: smart_message[\"Requires-Python\"] = str(self.requires_python)\n605: for dep in self.dependencies:\n606: smart_message[\"Requires-Dist\"] = str(dep)\n607: for extra, requirements in self.optional_dependencies.items():\n608: norm_extra = extra.replace(\".\", \"-\").replace(\"_\", \"-\").lower()\n609: smart_message[\"Provides-Extra\"] = norm_extra\n610: for requirement in requirements:\n611: smart_message[\"Requires-Dist\"] = str(\n612: _build_extra_req(norm_extra, requirement)\n613: )\n[window truncated; visible lines 559-613]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr206__WbzNned:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5935,"content_sha256":"f1547371be085fb74ff4f394597d483c9cf9953ddc6089a23edf9910b8c3c8d9","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":209,"sha256":"b63796da94a5de8a98a3abb23c828eea88e37d4caec58477641330519504c5d5","start_line":133,"truncated":true},"content_sha256":"8f9a2047c6c1a84c159f9c451a5e0d8633aace807f4ec6a872a057a6889a3c2c","end_line":235,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pyproject_metadata/__init__.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"9a87d311f2b8dc70f7fcaabb92c72e71c7e80bdd9e190ea4737fe183a89aff70","reference_window":{"end_line":211,"sha256":"f49616fbd0e3a4cef0c3250fa7d897679a302ae095a5ff9aeddcf9452c47f9d0","start_line":132,"truncated":true},"start_line":111,"truncated":true}],"item_id":"pypa_pyproject-metadata_pr232__spsSKU9:23","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pyproject_metadata/__init__.py, reference lines 111-235\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n132: def __setitem__(self, name: str, value: str | None) -> None:\n133: if not value:\n134: return\n135: self.message[name] = value\n136: \n137: def set_payload(self, payload: str) -> None:\n138: self.message.set_payload(payload)\n139: \n140: \n141: @dataclasses.dataclass\n142: class _JSonMessageSetter:\n143: \"\"\"\n144: This provides an API to build a JSON message output in the same way as the\n145: classic Message. Line breaks are preserved this way.\n146: \"\"\"\n147: \n148: data: dict[str, str | list[str]]\n149: \n150: def __setitem__(self, name: str, value: str | None) -> None:\n151: name = name.lower()\n152: key = name.replace(\"-\", \"_\")\n153: \n154: if value is None:\n155: return\n156: \n157: if name == \"keywords\":\n158: values = (x.strip() for x in value.split(\",\"))\n159: self.data[key] = [x for x in values if x]\n160: elif name in constants.KNOWN_MULTIUSE:\n161: entry = self.data.setdefault(key, [])\n162: assert isinstance(entry, list)\n163: entry.append(value)\n164: else:\n165: self.data[key] = value\n166: \n167: def set_payload(self, payload: str) -> None:\n168: self[\"description\"] = payload\n169: \n170: \n171: class RFC822Policy(email.policy.EmailPolicy):\n172: \"\"\"\n173: This is :class:`email.policy.EmailPolicy`, but with a simple ``header_store_parse``\n174: implementation that handles multiline values, and some nice defaults.\n175: \"\"\"\n176: \n177: utf8 = True\n178: mangle_from_ = False\n179: max_line_length = 0\n180: \n181: def header_store_parse(self, name: str, value: str) -> tuple[str, str]:\n182: if name.lower() not in constants.KNOWN_METADATA_FIELDS:\n183: msg = f\"Unknown field {name!r}\"\n184: raise ConfigurationError(msg, key=name)\n185: size = len(name) + 2\n186: value = value.replace(\"\\n\", \"\\n\" + \" \" * size)\n187: return (name, value)\n188: \n189: \n190: class RFC822Message(email.message.EmailMessage):\n191: \"\"\"\n192: This is :class:`email.message.EmailMessage` with two small changes: it defaults to\n193: our `RFC822Policy`, and it correctly writes unicode when being called\n194: with `bytes()`.\n195: \"\"\"\n196: \n197: def __init__(self) -> None:\n198: super().__init__(policy=RFC822Policy())\n199: \n200: def as_bytes(\n201: self, unixfrom: bool = False, policy: email.policy.Policy | None = None\n202: ) -> bytes:\n203: \"\"\"\n204: This handles unicode encoding.\n205: \"\"\"\n206: return self.as_string(unixfrom, policy=policy).encode(\"utf-8\")\n207: \n208: \n209: @dataclasses.dataclass\n210: class StandardMetadata:\n211: \"\"\"\n[window truncated; visible lines 132-211]\nCandidate text preview (unexecuted):\n133: if not value:\n134: return\n135: self.message[name] = value\n136: \n137: def set_payload(self, payload: str) -> None:\n138: self.message.set_payload(payload)\n139: \n140: \n141: @dataclasses.dataclass\n142: class _JSonMessageSetter:\n143: \"\"\"\n144: This provides an API to build a JSON message output in the same way as the\n145: classic Message. Line breaks are preserved this way.\n146: \"\"\"\n147: \n148: data: dict[str, str | list[str]]\n149: \n150: def __setitem__(self, name: str, value: str | None) -> None:\n151: name = name.lower()\n152: key = name.replace(\"-\", \"_\")\n153: \n154: if value is None:\n155: return\n156: \n157: if name == \"keywords\":\n158: values = (x.strip() for x in value.split(\",\"))\n159: self.data[key] = [x for x in values if x]\n160: elif name in constants.KNOWN_MULTIUSE:\n161: entry = self.data.setdefault(key, [])\n162: assert isinstance(entry, list)\n163: entry.append(value)\n164: else:\n165: self.data[key] = value\n166: \n167: def set_payload(self, payload: str) -> None:\n168: self[\"description\"] = payload\n169: \n170: \n171: # Splits a header value on real line separators only. ``str.splitlines`` is\n172: # unsuitable here because it also treats form feed, vertical tab, and other\n173: # characters as line boundaries (see ``RFC822Policy._fold``).\n174: _LINESPLIT = re.compile(r\"\\n|\\r\\n?\")\n175: \n176: \n177: class RFC822Policy(email.policy.EmailPolicy):\n178: \"\"\"\n179: This is :class:`email.policy.EmailPolicy`, but with a simple ``header_store_parse``\n180: implementation that handles multiline values, and some nice defaults.\n181: \"\"\"\n182: \n183: utf8 = True\n184: mangle_from_ = False\n185: max_line_length = 0\n186: \n187: def header_store_parse(self, name: str, value: str) -> tuple[str, str]:\n188: if name.lower() not in constants.KNOWN_METADATA_FIELDS:\n189: msg = f\"Unknown field {name!r}\"\n190: raise ConfigurationError(msg, key=name)\n191: size = len(name) + 2\n192: value = value.replace(\"\\n\", \"\\n\" + \" \" * size)\n193: return (name, value)\n194: \n195: \n196: class RFC822Message(email.message.EmailMessage):\n197: \"\"\"\n198: This is :class:`email.message.EmailMessage` with two small changes: it defaults to\n199: our `RFC822Policy`, and it correctly writes unicode when being called\n200: with `bytes()`.\n201: \"\"\"\n202: \n203: def __init__(self) -> None:\n204: super().__init__(policy=RFC822Policy())\n205: \n206: def as_bytes(\n207: self, unixfrom: bool = False, policy: email.policy.Policy | None = None\n208: ) -> bytes:\n209: \"\"\"\n[window truncated; visible lines 133-209]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr232__spsSKU9:23"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3864,"content_sha256":"1c21a1978533516a11ade9b03613643cdc5555926088ad4592b6890c52a58e41","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"4350fde8ffac4b63b0f3e50bbc75783e47f7d232d58f7fc978fa462166bdad8d","end_line":120,"note":"old_str matches=0; preview unavailable; showing first 120 lines","path":"tests/test_rfc822.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"db1e9c4f65288d60024080b3b16bbd4df31b274d87a18ace0ce2c25b83381f55","reference_window":{"end_line":120,"sha256":"ce60237daecf66849a0ebc7c883a0b6f7853fbfc5668e489d5de8b21b197109e","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"pypa_pyproject-metadata_pr27__fHrNTWq:11","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_rfc822.py, reference lines 1-120\nold_str matches=0; preview unavailable; showing first 120 lines\nReference-state content:\n1: # SPDX-License-Identifier: MIT\n2: \n3: import textwrap\n4: \n5: import pytest\n6: \n7: import pyproject_metadata\n8: \n9: \n10: @pytest.mark.parametrize(\n11: ('items', 'data'),\n12: [\n13: # empty\n14: ([], ''),\n15: # simple\n16: (\n17: [\n18: ('Foo', 'Bar'),\n19: ],\n20: 'Foo: Bar\\n',\n21: ),\n22: (\n23: [\n24: ('Foo', 'Bar'),\n25: ('Foo2', 'Bar2'),\n26: ],\n27: '''\\\n28: Foo: Bar\n29: Foo2: Bar2\n30: ''',\n31: ),\n32: # None\n33: (\n34: [\n35: ('Item', None),\n36: ],\n37: '',\n38: ),\n39: # order\n40: (\n41: [\n42: ('ItemA', 'ValueA'),\n43: ('ItemB', 'ValueB'),\n44: ('ItemC', 'ValueC'),\n45: ],\n46: '''\\\n47: ItemA: ValueA\n48: ItemB: ValueB\n49: ItemC: ValueC\n50: ''',\n51: ),\n52: (\n53: [\n54: ('ItemB', 'ValueB'),\n55: ('ItemC', 'ValueC'),\n56: ('ItemA', 'ValueA'),\n57: ],\n58: '''\\\n59: ItemB: ValueB\n60: ItemC: ValueC\n61: ItemA: ValueA\n62: ''',\n63: ),\n64: # multiple keys\n65: (\n66: [\n67: ('ItemA', 'ValueA1'),\n68: ('ItemB', 'ValueB'),\n69: ('ItemC', 'ValueC'),\n70: ('ItemA', 'ValueA2'),\n71: ],\n72: '''\\\n73: ItemA: ValueA1\n74: ItemA: ValueA2\n75: ItemB: ValueB\n76: ItemC: ValueC\n77: ''',\n78: ),\n79: ],\n80: )\n81: def test_headers(items, data):\n82: message = pyproject_metadata.RFC822Message()\n83: \n84: for name, value in items:\n85: message[name] = value\n86: \n87: data = textwrap.dedent(data)\n88: assert str(message) == data\n89: assert bytes(message) == data.encode()\n90: \n91: \n92: def test_body():\n93: message = pyproject_metadata.RFC822Message()\n94: \n95: message['ItemA'] = 'ValueA'\n96: message['ItemB'] = 'ValueB'\n97: message['ItemC'] = 'ValueC'\n98: \n99: message.body = textwrap.dedent('''\n100: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris congue semper\n101: fermentum. Nunc vitae tempor ante. Aenean aliquet posuere lacus non faucibus.\n102: In porttitor congue luctus. Vivamus eu dignissim orci. Donec egestas mi ac\n103: ipsum volutpat, vel elementum sapien consectetur. Praesent dictum finibus\n104: fringilla. Sed vel feugiat leo. Nulla a pharetra augue, at tristique metus.\n105: \n106: Aliquam fermentum elit at risus sagittis, vel pretium augue congue. Donec leo\n107: risus, faucibus vel posuere efficitur, feugiat ut leo. Aliquam vestibulum vel\n108: dolor id elementum. Ut bibendum nunc interdum neque interdum, vel tincidunt\n109: lacus blandit. Ut volutpat sollicitudin dapibus. Integer vitae lacinia ex, eget\n110: finibus nulla. Donec sit amet ante in neque pulvinar faucibus sed nec justo.\n111: Fusce hendrerit massa libero, sit amet pulvinar magna tempor quis.\n112: ''')\n113: \n114: assert str(message) == textwrap.dedent('''\\\n115: ItemA: ValueA\n116: ItemB: ValueB\n117: ItemC: ValueC\n118: \n119: \n120: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris congue semper\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr27__fHrNTWq:11"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":292,"content_sha256":"23838be69afd636b698212e7b5f7ec2aaf8baa17c6aca78582f714c93c4b72da","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"9fe318b071d4be16a4f2a1762f75461bc19d9d80ad9ff769970ecb843c0ae2a0","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"open(tests/test_standard_metadata.py","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"pypa_pyproject-metadata_pr65__aMS7Vyk:23","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/open(tests/test_standard_metadata.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr65__aMS7Vyk:23"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":2015,"content_sha256":"0fc7af698e28c340c4439d996491675af791d7f1a4f93f3a0b22475aa42fd2b1","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"0fed488a229bc7dc33daeeadb6dd42f31aad23ee38ead3c891dde1b5801879a1","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests/packages","preview_unexecuted":false,"read_error":"not a regular file","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"2409f3307c2940fb136bc9a63bf0562751e3fb8f14370ca5283d4ef2c7e42cfa","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests/packages/full-metadata/pyproject.toml","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"9fb794531389d64a23bed3b9248d98c4e601c6b0eed38141db9a934af52fd948","reference_window":{"end_line":49,"sha256":"f479d26b4be37041f8b5e414683cb105336807c65d0be6c781bbd8762ccb2a03","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"pypa_pyproject-metadata_pr83__y25WxFx:6","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/packages, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: not a regular file\nReference-state content:\n\n\n### E1 /testbed/tests/packages/full-metadata/pyproject.toml, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: [project]\n2: name = 'full_metadata'\n3: version = '3.2.1'\n4: description = 'A package with all the metadata :)'\n5: readme = 'README.md'\n6: license = { text = 'some license text' }\n7: keywords = ['trampolim', 'is', 'interesting']\n8: authors = [\n9: { email = 'example@example.com' },\n10: { name = 'Example!' },\n11: ]\n12: maintainers = [\n13: { name = 'Other Example', email = 'other@example.com' },\n14: ]\n15: classifiers = [\n16: 'Development Status :: 4 - Beta',\n17: 'Programming Language :: Python',\n18: ]\n19: \n20: requires-python = '>=3.8'\n21: dependencies = [\n22: 'dependency1',\n23: 'dependency2>1.0.0',\n24: 'dependency3[extra]',\n25: 'dependency4; os_name != \"nt\"',\n26: 'dependency5[other-extra]>1.0; os_name == \"nt\"',\n27: ]\n28: \n29: [project.optional-dependencies]\n30: test = [\n31: 'test_dependency',\n32: 'test_dependency[test_extra]',\n33: 'test_dependency[test_extra2] > 3.0; os_name == \"nt\"',\n34: ]\n35: \n36: [project.urls]\n37: homepage = 'example.com'\n38: documentation = 'readthedocs.org'\n39: repository = 'github.com/some/repo'\n40: changelog = 'github.com/some/repo/blob/master/CHANGELOG.rst'\n41: \n42: [project.scripts]\n43: full-metadata = 'full_metadata:main_cli'\n44: \n45: [project.gui-scripts]\n46: full-metadata-gui = 'full_metadata:main_gui'\n47: \n48: [project.entry-points.custom]\n49: full-metadata = 'full_metadata:main_custom'\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr83__y25WxFx:6"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5814,"content_sha256":"ac2678ea86a3b12e6c29d343b4a4e234ccddd738bd98be94a6b3e8120ebeb7ee","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":297,"sha256":"9416ef99b425f92c8236fb049996ca26add23e73601fad7616db9e9406cec8db","start_line":240,"truncated":true},"content_sha256":"d687e9d29d3f00f377534e36699b7893ed6d1f9be2a2da60f5b3fd33e238feea","end_line":330,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pyproject_metadata/__init__.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"7fcef1289c71fc34edd621102b58d18c75ba501fd12e82f7a51446572d9e16da","reference_window":{"end_line":297,"sha256":"c15c525a6b89935e432ff62ad81b86d1e5f3c4797ec086abaaf94cfbe897bb53","start_line":240,"truncated":true},"start_line":208,"truncated":true}],"item_id":"pypa_pyproject-metadata_pr91__Wmx4obf:14","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pyproject_metadata/__init__.py, reference lines 208-330\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n240: cls._get_dependencies(fetcher),\n241: cls._get_optional_dependencies(fetcher),\n242: cls._get_entrypoints(fetcher),\n243: fetcher.get_people('project.authors'),\n244: fetcher.get_people('project.maintainers'),\n245: fetcher.get_dict('project.urls'),\n246: fetcher.get_list('project.classifiers'),\n247: fetcher.get_list('project.keywords'),\n248: fetcher.get_dict('project.scripts'),\n249: fetcher.get_dict('project.gui-scripts'),\n250: dynamic,\n251: )\n252: \n253: def _update_dynamic(self, value: Any) -> None:\n254: if value and 'version' in self.dynamic:\n255: self.dynamic.remove('version')\n256: \n257: def __setattr__(self, name: str, value: Any) -> None:\n258: # update dynamic when version is set\n259: if name == 'version' and hasattr(self, 'dynamic'):\n260: self._update_dynamic(value)\n261: super().__setattr__(name, value)\n262: \n263: def as_rfc822(self) -> RFC822Message:\n264: message = RFC822Message()\n265: self.write_to_rfc822(message)\n266: return message\n267: \n268: def write_to_rfc822(self, message: RFC822Message) -> None: # noqa: C901\n269: message['Metadata-Version'] = '2.2' if self.dynamic else '2.1'\n270: message['Name'] = self.name\n271: if not self.version:\n272: msg = 'Missing version field'\n273: raise ConfigurationError(msg)\n274: message['Version'] = str(self.version)\n275: # skip 'Platform'\n276: # skip 'Supported-Platform'\n277: if self.description:\n278: message['Summary'] = self.description\n279: message['Keywords'] = ','.join(self.keywords)\n280: if 'homepage' in self.urls:\n281: message['Home-page'] = self.urls['homepage']\n282: # skip 'Download-URL'\n283: message['Author'] = self._name_list(self.authors)\n284: message['Author-Email'] = self._email_list(self.authors)\n285: message['Maintainer'] = self._name_list(self.maintainers)\n286: message['Maintainer-Email'] = self._email_list(self.maintainers)\n287: if self.license:\n288: message['License'] = self.license.text\n289: for classifier in self.classifiers:\n290: message['Classifier'] = classifier\n291: # skip 'Provides-Dist'\n292: # skip 'Obsoletes-Dist'\n293: # skip 'Requires-External'\n294: for name, url in self.urls.items():\n295: message['Project-URL'] = f'{name.capitalize()}, {url}'\n296: if self.requires_python:\n297: message['Requires-Python'] = str(self.requires_python)\n[window truncated; visible lines 240-297]\nCandidate text preview (unexecuted):\n240: cls._get_dependencies(fetcher),\n241: cls._get_optional_dependencies(fetcher),\n242: cls._get_entrypoints(fetcher),\n243: fetcher.get_people('project.authors'),\n244: fetcher.get_people('project.maintainers'),\n245: fetcher.get_dict('project.urls'),\n246: fetcher.get_list('project.classifiers'),\n247: fetcher.get_list('project.keywords'),\n248: fetcher.get_dict('project.scripts'),\n249: fetcher.get_dict('project.gui-scripts'),\n250: dynamic,\n251: )\n252: \n253: def _update_dynamic(self, value: Any) -> None:\n254: if value and 'version' in self.dynamic:\n255: self.dynamic.remove('version')\n256: \n257: def __setattr__(self, name: str, value: Any) -> None:\n258: # update dynamic when version is set\n259: if name == 'version' and hasattr(self, 'dynamic'):\n260: self._update_dynamic(value)\n261: super().__setattr__(name, value)\n262: \n263: def as_rfc822(self) -> RFC822Message:\n264: message = RFC822Message()\n265: self.write_to_rfc822(message)\n266: return message\n267: \n268: def write_to_rfc822(self, message: RFC822Message) -> None: # noqa: C901\n269: if self.metadata_version:\n270: message['Metadata-Version'] = self.metadata_version\n271: else:\n272: message['Metadata-Version'] = '2.2' if self.dynamic else '2.1'\n273: message['Name'] = self.name\n274: if not self.version:\n275: msg = 'Missing version field'\n276: raise ConfigurationError(msg)\n277: message['Version'] = str(self.version)\n278: # skip 'Platform'\n279: # skip 'Supported-Platform'\n280: if self.description:\n281: message['Summary'] = self.description\n282: message['Keywords'] = ','.join(self.keywords)\n283: if 'homepage' in self.urls:\n284: message['Home-page'] = self.urls['homepage']\n285: # skip 'Download-URL'\n286: message['Author'] = self._name_list(self.authors)\n287: message['Author-Email'] = self._email_list(self.authors)\n288: message['Maintainer'] = self._name_list(self.maintainers)\n289: message['Maintainer-Email'] = self._email_list(self.maintainers)\n290: if self.license:\n291: message['License'] = self.license.text\n292: for classifier in self.classifiers:\n293: message['Classifier'] = classifier\n294: # skip 'Provides-Dist'\n295: # skip 'Obsoletes-Dist'\n296: # skip 'Requires-External'\n297: for name, url in self.urls.items():\n[window truncated; visible lines 240-297]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pypa_pyproject-metadata_pr91__Wmx4obf:14"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5886,"content_sha256":"dc8deddd3d0af50a4adfb9862ced8cdc33daed40d1a88af31574cd62948f357b","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":65,"sha256":"301a7b5c92e745b73fb71c4ba6e488613f070f63b700ee7eeda818d500e52551","start_line":1,"truncated":false},"content_sha256":"3a7110bd8a0eaf76978427b7203545af4785bcf70595cdcf30e29f52a5408259","end_line":65,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pointpats/tests/test_pointpattern.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"7861e7c4de31ee289a0f735caa343c41bcffbcb5ac0baca1025ae804afd490ee","reference_window":{"end_line":64,"sha256":"16089a2698cc0da8f92570f005219bc0c04923cc443ddb15af680f73069b2fb4","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"pysal_pointpats_pr116__Jpa8h9S:19","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pointpats/tests/test_pointpattern.py, reference lines 1-65\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import unittest\n2: import numpy as np\n3: \n4: from ..pointpattern import PointPattern\n5: from libpysal.common import RTOL\n6: \n7: \n8: class TestPointPattern(unittest.TestCase):\n9: \n10: def setUp(self):\n11: self.points = [[66.22, 32.54], [22.52, 22.39], [31.01, 81.21],\n12: [9.47, 31.02], [30.78, 60.10], [75.21, 58.93],\n13: [79.26, 7.68], [8.23, 39.93], [98.73, 77.17],\n14: [89.78, 42.53], [65.19, 92.08], [54.46, 8.48]]\n15: self.pp = PointPattern(self.points)\n16: self.assertEqual(len(self.pp), 12)\n17: self.assertTrue([66.22, 32.54] in self.pp)\n18: \n19: def test_point_pattern_n(self):\n20: self.assertEqual(self.pp.n, 12)\n21: \n22: def test_point_pattern_mean_nnd(self):\n23: np.testing.assert_allclose(self.pp.mean_nnd, 21.612139802089246, RTOL)\n24: \n25: def test_point_pattern_lambda_mbb(self):\n26: np.testing.assert_allclose(self.pp.lambda_mbb,\n27: 0.0015710507711240867, RTOL)\n28: \n29: def test_point_pattern_lambda_hull(self):\n30: np.testing.assert_allclose(self.pp.lambda_hull,\n31: 0.0022667153468973137, RTOL)\n32: \n33: def test_point_pattern_hull_area(self):\n34: np.testing.assert_allclose(self.pp.hull_area, 5294.0039500000003, RTOL)\n35: \n36: def test_point_pattern_mbb_area(self):\n37: np.testing.assert_allclose(self.pp.mbb_area, 7638.2000000000007, RTOL)\n38: \n39: def test_point_pattern_min_nnd(self):\n40: np.testing.assert_allclose(self.pp.min_nnd, 8.9958712752017522, RTOL)\n41: \n42: def test_point_pattern_max_nnd(self):\n43: np.testing.assert_allclose(self.pp.max_nnd, 34.63124167568931, RTOL)\n44: \n45: def test_point_pattern_find_pairs(self):\n46: self.assertEqual(self.pp.find_pairs(10), {(3, 7)})\n47: self.assertEqual(self.pp.find_pairs(20), {(3, 7), (1, 3)})\n48: \n49: def test_point_pattern_knn(self):\n50: knn = self.pp.knn(1)\n51: nn = np.array([[9], [3], [4], [7], [2], [9], [11], [3], [5], [5], [5],\n52: [6]])\n53: nnd = np.array([[25.59050019], [15.64542745], [21.11125292],\n54: [8.99587128], [21.11125292], [21.93729473],\n55: [24.81289987], [8.99587128], [29.76387072],\n56: [21.93729473], [34.63124168], [24.81289987]])\n57: np.testing.assert_array_equal(knn[0], nn)\n58: np.testing.assert_array_almost_equal(knn[1], nnd)\n59: \n60: def test_point_pattern_knn_error(self):\n61: self.assertRaises(ValueError, self.pp.knn, k=0)\n62: \n63: def test_point_pattern_knn_other(self):\n64: knn = self.pp.knn_other(self.pp)\n[window truncated; visible lines 1-64]\nCandidate text preview (unexecuted):\n1: import unittest\n2: import numpy as np\n3: import matplotlib\n4: matplotlib.use(\"Agg\")\n5: import matplotlib.pyplot as plt\n6: \n7: from ..pointpattern import PointPattern\n8: from libpysal.common import RTOL\n9: \n10: \n11: class TestPointPattern(unittest.TestCase):\n12: \n13: def setUp(self):\n14: self.points = [[66.22, 32.54], [22.52, 22.39], [31.01, 81.21],\n15: [9.47, 31.02], [30.78, 60.10], [75.21, 58.93],\n16: [79.26, 7.68], [8.23, 39.93], [98.73, 77.17],\n17: [89.78, 42.53], [65.19, 92.08], [54.46, 8.48]]\n18: self.pp = PointPattern(self.points)\n19: self.assertEqual(len(self.pp), 12)\n20: self.assertTrue([66.22, 32.54] in self.pp)\n21: \n22: def test_point_pattern_n(self):\n23: self.assertEqual(self.pp.n, 12)\n24: \n25: def test_point_pattern_mean_nnd(self):\n26: np.testing.assert_allclose(self.pp.mean_nnd, 21.612139802089246, RTOL)\n27: \n28: def test_point_pattern_lambda_mbb(self):\n29: np.testing.assert_allclose(self.pp.lambda_mbb,\n30: 0.0015710507711240867, RTOL)\n31: \n32: def test_point_pattern_lambda_hull(self):\n33: np.testing.assert_allclose(self.pp.lambda_hull,\n34: 0.0022667153468973137, RTOL)\n35: \n36: def test_point_pattern_hull_area(self):\n37: np.testing.assert_allclose(self.pp.hull_area, 5294.0039500000003, RTOL)\n38: \n39: def test_point_pattern_mbb_area(self):\n40: np.testing.assert_allclose(self.pp.mbb_area, 7638.2000000000007, RTOL)\n41: \n42: def test_point_pattern_min_nnd(self):\n43: np.testing.assert_allclose(self.pp.min_nnd, 8.9958712752017522, RTOL)\n44: \n45: def test_point_pattern_max_nnd(self):\n46: np.testing.assert_allclose(self.pp.max_nnd, 34.63124167568931, RTOL)\n47: \n48: def test_point_pattern_find_pairs(self):\n49: self.assertEqual(self.pp.find_pairs(10), {(3, 7)})\n50: self.assertEqual(self.pp.find_pairs(20), {(3, 7), (1, 3)})\n51: \n52: def test_point_pattern_knn(self):\n53: knn = self.pp.knn(1)\n54: nn = np.array([[9], [3], [4], [7], [2], [9], [11], [3], [5], [5], [5],\n55: [6]])\n56: nnd = np.array([[25.59050019], [15.64542745], [21.11125292],\n57: [8.99587128], [21.11125292], [21.93729473],\n58: [24.81289987], [8.99587128], [29.76387072],\n59: [21.93729473], [34.63124168], [24.81289987]])\n60: np.testing.assert_array_equal(knn[0], nn)\n61: np.testing.assert_array_almost_equal(knn[1], nnd)\n62: \n63: def test_point_pattern_knn_error(self):\n64: self.assertRaises(ValueError, self.pp.knn, k=0)\n65: \n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pysal_pointpats_pr116__Jpa8h9S:19"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5888,"content_sha256":"700b123c440123bb14f1e2c94c07d4cce84191f1086e13067c97f77eed4ecafb","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":75,"sha256":"e82a8499949785a0f901bda90cc16631c508bd373415ca60675c2fbe2103f68b","start_line":1,"truncated":true},"content_sha256":"0836dc6ab6acb85be227ca6e03be74ca1888cc907b450ef6591ee1f5446b803f","end_line":92,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/messages/test_pofile.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"027587c99c3de2633526a19c4658417f1e1ea2fd42bdd37b1e8c624a4eedb034","reference_window":{"end_line":73,"sha256":"0464db798450d0a68b5e254b5761af3a40bc8cd605ecf117cc0dc8ef8e278d06","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"python-babel__babel-420__5t6W4Lh:20","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/messages/test_pofile.py, reference lines 1-92\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: # -*- coding: utf-8 -*-\n2: #\n3: # Copyright (C) 2007-2011 Edgewall Software\n4: # All rights reserved.\n5: #\n6: # This software is licensed as described in the file COPYING, which\n7: # you should have received as part of this distribution. The terms\n8: # are also available at http://babel.edgewall.org/wiki/License.\n9: #\n10: # This software consists of voluntary contributions made by many\n11: # individuals. For the exact contribution history, see the revision\n12: # history and logs, available at http://babel.edgewall.org/log/.\n13: \n14: from datetime import datetime\n15: import unittest\n16: \n17: from babel.core import Locale\n18: from babel.messages.catalog import Catalog, Message\n19: from babel.messages import pofile\n20: from babel.util import FixedOffsetTimezone\n21: from babel._compat import StringIO, BytesIO\n22: \n23: \n24: class ReadPoTestCase(unittest.TestCase):\n25: \n26: def test_preserve_locale(self):\n27: buf = StringIO(r'''msgid \"foo\"\n28: msgstr \"Voh\"''')\n29: catalog = pofile.read_po(buf, locale='en_US')\n30: self.assertEqual(Locale('en', 'US'), catalog.locale)\n31: \n32: def test_preserve_domain(self):\n33: buf = StringIO(r'''msgid \"foo\"\n34: msgstr \"Voh\"''')\n35: catalog = pofile.read_po(buf, domain='mydomain')\n36: self.assertEqual('mydomain', catalog.domain)\n37: \n38: def test_applies_specified_encoding_during_read(self):\n39: buf = BytesIO(u'''\n40: msgid \"\"\n41: msgstr \"\"\n42: \"Project-Id-Version: 3.15\\\\n\"\n43: \"Report-Msgid-Bugs-To: Fliegender Zirkus \\\\n\"\n44: \"POT-Creation-Date: 2007-09-27 11:19+0700\\\\n\"\n45: \"PO-Revision-Date: 2007-09-27 21:42-0700\\\\n\"\n46: \"Last-Translator: John \\\\n\"\n47: \"Language-Team: German Lang \\\\n\"\n48: \"Plural-Forms: nplurals=2; plural=(n != 1)\\\\n\"\n49: \"MIME-Version: 1.0\\\\n\"\n50: \"Content-Type: text/plain; charset=iso-8859-1\\\\n\"\n51: \"Content-Transfer-Encoding: 8bit\\\\n\"\n52: \"Generated-By: Babel 1.0dev-r313\\\\n\"\n53: \n54: msgid \"foo\"\n55: msgstr \"bär\"'''.encode('iso-8859-1'))\n56: catalog = pofile.read_po(buf, locale='de_DE')\n57: self.assertEqual(u'bär', catalog.get('foo').string)\n58: \n59: def test_read_multiline(self):\n60: buf = StringIO(r'''msgid \"\"\n61: \"Here's some text that\\n\"\n62: \"includesareallylongwordthatmightbutshouldnt\"\n63: \" throw us into an infinite \"\n64: \"loop\\n\"\n65: msgstr \"\"''')\n66: catalog = pofile.read_po(buf)\n67: self.assertEqual(1, len(catalog))\n68: message = list(catalog)[1]\n69: self.assertEqual(\"Here's some text that\\nincludesareallylongwordthat\"\n70: \"mightbutshouldnt throw us into an infinite loop\\n\",\n71: message.id)\n72: \n73: def test_fuzzy_header(self):\n[window truncated; visible lines 1-73]\nCandidate text preview (unexecuted):\n1: # -*- coding: utf-8 -*-\n2: #\n3: # Copyright (C) 2007-2011 Edgewall Software\n4: # All rights reserved.\n5: #\n6: # This software is licensed as described in the file COPYING, which\n7: # you should have received as part of this distribution. The terms\n8: # are also available at http://babel.edgewall.org/wiki/License.\n9: #\n10: # This software consists of voluntary contributions made by many\n11: # individuals. For the exact contribution history, see the revision\n12: # history and logs, available at http://babel.edgewall.org/log/.\n13: \n14: from datetime import datetime\n15: import unittest\n16: \n17: from babel.core import Locale\n18: from babel.messages.catalog import Catalog, Message\n19: from babel.messages import pofile\n20: from babel.util import FixedOffsetTimezone\n21: from babel._compat import StringIO, BytesIO\n22: \n23: \n24: class ReadPoTestCase(unittest.TestCase):\n25: \n26: def test_preserve_locale(self):\n27: buf = StringIO(r'''msgid \"foo\"\n28: msgstr \"Voh\"''')\n29: catalog = pofile.read_po(buf, locale='en_US')\n30: self.assertEqual(Locale('en', 'US'), catalog.locale)\n31: \n32: def test_locale_gets_overridden_by_file(self):\n33: buf = StringIO(r'''\n34: msgid \"\"\n35: msgstr \"\"\n36: \"Language: en_US\\n\"''')\n37: catalog = pofile.read_po(buf, locale='de')\n38: self.assertEqual(Locale('en', 'US'), catalog.locale)\n39: \n40: def test_preserve_domain(self):\n41: buf = StringIO(r'''msgid \"foo\"\n42: msgstr \"Voh\"''')\n43: catalog = pofile.read_po(buf, domain='mydomain')\n44: self.assertEqual('mydomain', catalog.domain)\n45: \n46: def test_applies_specified_encoding_during_read(self):\n47: buf = BytesIO(u'''\n48: msgid \"\"\n49: msgstr \"\"\n50: \"Project-Id-Version: 3.15\\\\n\"\n51: \"Report-Msgid-Bugs-To: Fliegender Zirkus \\\\n\"\n52: \"POT-Creation-Date: 2007-09-27 11:19+0700\\\\n\"\n53: \"PO-Revision-Date: 2007-09-27 21:42-0700\\\\n\"\n54: \"Last-Translator: John \\\\n\"\n55: \"Language-Team: German Lang \\\\n\"\n56: \"Plural-Forms: nplurals=2; plural=(n != 1)\\\\n\"\n57: \"MIME-Version: 1.0\\\\n\"\n58: \"Content-Type: text/plain; charset=iso-8859-1\\\\n\"\n59: \"Content-Transfer-Encoding: 8bit\\\\n\"\n60: \"Generated-By: Babel 1.0dev-r313\\\\n\"\n61: \n62: msgid \"foo\"\n63: msgstr \"bär\"'''.encode('iso-8859-1'))\n64: catalog = pofile.read_po(buf, locale='de_DE')\n65: self.assertEqual(u'bär', catalog.get('foo').string)\n66: \n67: def test_read_multiline(self):\n68: buf = StringIO(r'''msgid \"\"\n69: \"Here's some text that\\n\"\n70: \"includesareallylongwordthatmightbutshouldnt\"\n71: \" throw us into an infinite \"\n72: \"loop\\n\"\n73: msgstr \"\"''')\n74: catalog = pofile.read_po(buf)\n75: self.assertEqual(1, len(catalog))\n[window truncated; visible lines 1-75]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"python-babel__babel-420__5t6W4Lh:20"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5888,"content_sha256":"71cb9b8141671f588397e6d6157843d281db11900efd40b27e0f4fa0c15b19ee","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":700,"sha256":"fa71ff4d2491d3988f3ad8e00870d9a7c332265b9bef1d041dafe456d4f2f353","start_line":638,"truncated":true},"content_sha256":"8bbebac5882c8d6ad2946b412d30b3fa93c314dea65471a3d034d526ac84385e","end_line":741,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/messages/test_pofile.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"3823cd68d3872c5fcb37949578e9732c8ca8b2f42cffd32d8a3f7da8b9ff5af3","reference_window":{"end_line":704,"sha256":"798853e581cdf3deb1bc8d68b409a0582df0c3fe5c647de262def127735f3e74","start_line":635,"truncated":true},"start_line":609,"truncated":true}],"item_id":"python-babel__babel-482__7AhUsBy:32","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/messages/test_pofile.py, reference lines 609-741\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n635: catalog = Catalog()\n636: catalog.add(u'foo', u'Voh', locations=[('main.py', 1)],\n637: previous_id=u'fo')\n638: buf = BytesIO()\n639: pofile.write_po(buf, catalog, omit_header=True, include_previous=True)\n640: self.assertEqual(b'''#: main.py:1\n641: #| msgid \"fo\"\n642: msgid \"foo\"\n643: msgstr \"Voh\"''', buf.getvalue().strip())\n644: \n645: def test_po_with_previous_msgid_plural(self):\n646: catalog = Catalog()\n647: catalog.add((u'foo', u'foos'), (u'Voh', u'Voeh'),\n648: locations=[('main.py', 1)], previous_id=(u'fo', u'fos'))\n649: buf = BytesIO()\n650: pofile.write_po(buf, catalog, omit_header=True, include_previous=True)\n651: self.assertEqual(b'''#: main.py:1\n652: #| msgid \"fo\"\n653: #| msgid_plural \"fos\"\n654: msgid \"foo\"\n655: msgid_plural \"foos\"\n656: msgstr[0] \"Voh\"\n657: msgstr[1] \"Voeh\"''', buf.getvalue().strip())\n658: \n659: def test_sorted_po(self):\n660: catalog = Catalog()\n661: catalog.add(u'bar', locations=[('utils.py', 3)],\n662: user_comments=['Comment About `bar` with',\n663: 'multiple lines.'])\n664: catalog.add((u'foo', u'foos'), (u'Voh', u'Voeh'),\n665: locations=[('main.py', 1)])\n666: buf = BytesIO()\n667: pofile.write_po(buf, catalog, sort_output=True)\n668: value = buf.getvalue().strip()\n669: assert b'''\\\n670: # Comment About `bar` with\n671: # multiple lines.\n672: #: utils.py:3\n673: msgid \"bar\"\n674: msgstr \"\"\n675: \n676: #: main.py:1\n677: msgid \"foo\"\n678: msgid_plural \"foos\"\n679: msgstr[0] \"Voh\"\n680: msgstr[1] \"Voeh\"''' in value\n681: assert value.find(b'msgid \"\"') < value.find(b'msgid \"bar\"') < value.find(b'msgid \"foo\"')\n682: \n683: def test_file_sorted_po(self):\n684: catalog = Catalog()\n685: catalog.add(u'bar', locations=[('utils.py', 3)])\n686: catalog.add((u'foo', u'foos'), (u'Voh', u'Voeh'), locations=[('main.py', 1)])\n687: buf = BytesIO()\n688: pofile.write_po(buf, catalog, sort_by_file=True)\n689: value = buf.getvalue().strip()\n690: assert value.find(b'main.py') < value.find(b'utils.py')\n691: \n692: def test_file_with_no_lineno(self):\n693: catalog = Catalog()\n694: catalog.add(u'bar', locations=[('utils.py', None)],\n695: user_comments=['Comment About `bar` with',\n696: 'multiple lines.'])\n697: buf = BytesIO()\n698: pofile.write_po(buf, catalog, sort_output=True)\n699: value = buf.getvalue().strip()\n700: assert b'''\\\n701: # Comment About `bar` with\n702: # multiple lines.\n703: #: utils.py\n704: msgid \"bar\"\n[window truncated; visible lines 635-704]\nCandidate text preview (unexecuted):\n638: buf = BytesIO()\n639: pofile.write_po(buf, catalog, omit_header=True, include_previous=True)\n640: self.assertEqual(b'''#: main.py:1\n641: #| msgid \"fo\"\n642: msgid \"foo\"\n643: msgstr \"Voh\"''', buf.getvalue().strip())\n644: \n645: def test_po_with_previous_msgid_plural(self):\n646: catalog = Catalog()\n647: catalog.add((u'foo', u'foos'), (u'Voh', u'Voeh'),\n648: locations=[('main.py', 1)], previous_id=(u'fo', u'fos'))\n649: buf = BytesIO()\n650: pofile.write_po(buf, catalog, omit_header=True, include_previous=True)\n651: self.assertEqual(b'''#: main.py:1\n652: #| msgid \"fo\"\n653: #| msgid_plural \"fos\"\n654: msgid \"foo\"\n655: msgid_plural \"foos\"\n656: msgstr[0] \"Voh\"\n657: msgstr[1] \"Voeh\"''', buf.getvalue().strip())\n658: \n659: def test_sorted_po(self):\n660: catalog = Catalog()\n661: catalog.add(u'bar', locations=[('utils.py', 3)],\n662: user_comments=['Comment About `bar` with',\n663: 'multiple lines.'])\n664: catalog.add((u'foo', u'foos'), (u'Voh', u'Voeh'),\n665: locations=[('main.py', 1)])\n666: buf = BytesIO()\n667: pofile.write_po(buf, catalog, sort_output=True)\n668: value = buf.getvalue().strip()\n669: assert b'''\\\n670: # Comment About `bar` with\n671: # multiple lines.\n672: #: utils.py:3\n673: msgid \"bar\"\n674: msgstr \"\"\n675: \n676: #: main.py:1\n677: msgid \"foo\"\n678: msgid_plural \"foos\"\n679: msgstr[0] \"Voh\"\n680: msgstr[1] \"Voeh\"''' in value\n681: assert value.find(b'msgid \"\"') < value.find(b'msgid \"bar\"') < value.find(b'msgid \"foo\"')\n682: \n683: def test_sorted_po_with_context(self):\n684: catalog = Catalog()\n685: # Same msgid, different msgctxt: sorted by msgid first, then msgctxt\n686: catalog.add(u'Expired', u'Expired', context=u'subscription')\n687: catalog.add(u'Expired', u'Expired', context=u'payment mode')\n688: catalog.add(u'Active', u'Active', context=u'payment mode')\n689: buf = BytesIO()\n690: pofile.write_po(buf, catalog, omit_header=True, sort_output=True)\n691: value = buf.getvalue()\n692: # \"Active\" (different msgid) comes before the \"Expired\" entries\n693: assert value.find(b'msgid \"Active\"') < value.find(b'msgid \"Expired\"')\n694: # Within the same msgid, \"payment mode\" sorts before \"subscription\"\n695: assert value.find(b'msgctxt \"payment mode\"\\nmsgid \"Expired\"') < \\\n696: value.find(b'msgctxt \"subscription\"\\nmsgid \"Expired\"')\n697: \n698: def test_file_sorted_po(self):\n699: catalog = Catalog()\n700: catalog.add(u'bar', locations=[('utils.py', 3)])\n[window truncated; visible lines 638-700]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"python-babel__babel-482__7AhUsBy:32"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5919,"content_sha256":"57f882fe43cb006b62571915c7aef141ef04d3d220628c42fb502a63b53e95e7","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":496,"sha256":"d8a94c2e8c2a10d130eaaf092bd4d8fdce1d07e23c8ebc037ebff42e1cb2122d","start_line":441,"truncated":true},"content_sha256":"c44b4e0fbd8a8fda8f001cf4eeb342fe9efe05b2a5eaabc953724b875e4099a3","end_line":535,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"babel/messages/extract.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"4a8f9034ea9bf4b5f45d3084ea327d8a76e3ca49f59b1a9db8449cfea59fe274","reference_window":{"end_line":495,"sha256":"2fce78315c0be5f803b4f14da718d144c803841ed2b1eda27046f0e2af554e02","start_line":441,"truncated":true},"start_line":408,"truncated":true}],"item_id":"python-babel__babel-488__HLy6D6y:20","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/babel/messages/extract.py, reference lines 408-535\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n441: # starts with one of the comment tags\n442: for comment_tag in comment_tags:\n443: if value.startswith(comment_tag):\n444: in_translator_comments = True\n445: translator_comments.append((lineno, value))\n446: break\n447: elif funcname and call_stack == 0:\n448: if tok == OP and value == ')':\n449: if buf:\n450: messages.append(''.join(buf))\n451: del buf[:]\n452: else:\n453: messages.append(None)\n454: \n455: if len(messages) > 1:\n456: messages = tuple(messages)\n457: else:\n458: messages = messages[0]\n459: # Comments don't apply unless they immediately preceed the\n460: # message\n461: if translator_comments and \\\n462: translator_comments[-1][0] < message_lineno - 1:\n463: translator_comments = []\n464: \n465: yield (message_lineno, funcname, messages,\n466: [comment[1] for comment in translator_comments])\n467: \n468: funcname = lineno = message_lineno = None\n469: call_stack = -1\n470: messages = []\n471: translator_comments = []\n472: in_translator_comments = False\n473: elif tok == STRING:\n474: # Unwrap quotes in a safe manner, maintaining the string's\n475: # encoding\n476: # https://sourceforge.net/tracker/?func=detail&atid=355470&\n477: # aid=617979&group_id=5470\n478: code = compile('# coding=%s\\n%s' % (str(encoding), value),\n479: '', 'eval', future_flags)\n480: value = eval(code, {'__builtins__': {}}, {})\n481: if PY2 and not isinstance(value, text_type):\n482: value = value.decode(encoding)\n483: buf.append(value)\n484: elif tok == OP and value == ',':\n485: if buf:\n486: messages.append(''.join(buf))\n487: del buf[:]\n488: else:\n489: messages.append(None)\n490: if translator_comments:\n491: # We have translator comments, and since we're on a\n492: # comma(,) user is allowed to break into a new line\n493: # Let's increase the last comment's lineno in order\n494: # for the comment to still be a valid one\n495: old_lineno, old_comment = translator_comments.pop()\n[window truncated; visible lines 441-495]\nCandidate text preview (unexecuted):\n441: # starts with one of the comment tags\n442: for comment_tag in comment_tags:\n443: if value.startswith(comment_tag):\n444: in_translator_comments = True\n445: translator_comments.append((lineno, value))\n446: break\n447: elif funcname and call_stack == 0:\n448: if tok == OP and value == ')':\n449: if buf:\n450: messages.append(''.join(buf))\n451: del buf[:]\n452: else:\n453: messages.append(None)\n454: \n455: if len(messages) > 1:\n456: messages = tuple(messages)\n457: else:\n458: messages = messages[0]\n459: # Comments don't apply unless they immediately preceed the\n460: # message\n461: if translator_comments and \\\n462: translator_comments[-1][0] < message_lineno - 1:\n463: translator_comments = []\n464: \n465: yield (message_lineno, funcname, messages,\n466: [comment[1] for comment in translator_comments])\n467: \n468: funcname = lineno = message_lineno = None\n469: call_stack = -1\n470: messages = []\n471: translator_comments = []\n472: in_translator_comments = False\n473: if nested:\n474: funcname = value\n475: elif tok == STRING:\n476: # Unwrap quotes in a safe manner, maintaining the string's\n477: # encoding\n478: # https://sourceforge.net/tracker/?func=detail&atid=355470&\n479: # aid=617979&group_id=5470\n480: code = compile('# coding=%s\\n%s' % (str(encoding), value),\n481: '', 'eval', future_flags)\n482: value = eval(code, {'__builtins__': {}}, {})\n483: if PY2 and not isinstance(value, text_type):\n484: value = value.decode(encoding)\n485: buf.append(value)\n486: elif tok == OP and value == ',':\n487: if buf:\n488: messages.append(''.join(buf))\n489: del buf[:]\n490: else:\n491: messages.append(None)\n492: if translator_comments:\n493: # We have translator comments, and since we're on a\n494: # comma(,) user is allowed to break into a new line\n495: # Let's increase the last comment's lineno in order\n496: # for the comment to still be a valid one\n[window truncated; visible lines 441-496]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"python-babel__babel-488__HLy6D6y:20"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5882,"content_sha256":"41ca46efe02906b56aadeaa9a14af579a77d23cd5c32c356a7094d91758bfd9d","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":730,"sha256":"31d6caa54b7d4bbee465594f6bf10dab0a3537788d8dc576607f2f322d0c75a8","start_line":662,"truncated":true},"content_sha256":"e33f003f1d51e1684a037084e14b65844f26bb5cc2504d36a410212bf9eb73cb","end_line":786,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"pyvisa_py/sessions.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"3e618463d9c18ba0c7825ccd78bcc6102122b475838807794e370fd151af4962","reference_window":{"end_line":731,"sha256":"89f4d8aaba5618c656d2e3aed233a4bc2c6777205d68c507c7da334cc0d9f166","start_line":661,"truncated":true},"start_line":636,"truncated":true}],"item_id":"pyvisa_pyvisa-py_pr292__QGvU7pP:60","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/pyvisa_py/sessions.py, reference lines 636-786\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n661: if getter\n662: else (0, StatusCode.error_nonsupported_attribute)\n663: )\n664: return value, status\n665: \n666: # Dispatch to `_get_attribute`, which must be implemented by subclasses\n667: \n668: try:\n669: return self._get_attribute(attribute)\n670: except UnknownAttribute as e:\n671: logger.exception(str(e))\n672: return 0, StatusCode.error_nonsupported_attribute\n673: \n674: def set_attribute(\n675: self, attribute: ResourceAttribute, attribute_state: Any\n676: ) -> StatusCode:\n677: \"\"\"Set the attribute_state value for a given VISA attribute for this\n678: session.\n679: \n680: Does a few checks before and calls before dispatching to\n681: `_gst_attribute`.\n682: \n683: Parameters\n684: ----------\n685: attribute : ResourceAttribute\n686: Resource attribute for which the state query is made.\n687: attribute_state : Any\n688: Value.\n689: \n690: Returns\n691: -------\n692: StatusCode\n693: The return value of the library call.\n694: \n695: \"\"\"\n696: # Check if the attribute value is defined.\n697: try:\n698: attr = attributes.AttributesByID[attribute]\n699: except KeyError:\n700: return StatusCode.error_nonsupported_attribute\n701: \n702: # Check if the attribute is defined for this session type.\n703: if not attr.in_resource(self.session_type):\n704: return StatusCode.error_nonsupported_attribute\n705: \n706: # Check if writing the attribute is allowed.\n707: if not attr.write:\n708: return StatusCode.error_attribute_read_only\n709: \n710: # First try to answer those attributes that are registered in\n711: # self.attrs, see Session.after_parsing\n712: if attribute in self.attrs:\n713: value = self.attrs[attribute]\n714: status = StatusCode.success\n715: if isinstance(value, tuple):\n716: setter = value[1]\n717: status = (\n718: setter(attribute, attribute_state)\n719: if setter\n720: else StatusCode.error_nonsupported_attribute\n721: )\n722: else:\n723: self.attrs[attribute] = attribute_state\n724: return status\n725: \n726: # Dispatch to `_set_attribute`, which must be implemented by subclasses\n727: \n728: try:\n729: return self._set_attribute(attribute, attribute_state)\n730: except ValueError:\n731: return StatusCode.error_nonsupported_attribute_state\n[window truncated; visible lines 661-731]\nCandidate text preview (unexecuted):\n662: else (0, StatusCode.error_nonsupported_attribute)\n663: )\n664: return value, status\n665: \n666: # Dispatch to `_get_attribute`, which must be implemented by subclasses\n667: \n668: try:\n669: return self._get_attribute(attribute)\n670: except UnknownAttribute as e:\n671: logger.exception(str(e))\n672: return 0, StatusCode.error_nonsupported_attribute\n673: \n674: def set_attribute(\n675: self, attribute: ResourceAttribute, attribute_state: Any\n676: ) -> StatusCode:\n677: \"\"\"Set the attribute_state value for a given VISA attribute for this\n678: session.\n679: \n680: Does a few checks before and calls before dispatching to\n681: `_gst_attribute`.\n682: \n683: Parameters\n684: ----------\n685: attribute : ResourceAttribute\n686: Resource attribute for which the state query is made.\n687: attribute_state : Any\n688: Value.\n689: \n690: Returns\n691: -------\n692: StatusCode\n693: The return value of the library call.\n694: \n695: \"\"\"\n696: # Check if the attribute value is defined.\n697: try:\n698: attr = attributes.AttributesByID[attribute]\n699: except KeyError:\n700: return StatusCode.error_nonsupported_attribute\n701: \n702: # First try to answer those attributes that are registered in\n703: # self.attrs, see Session.after_parsing. A backend that explicitly\n704: # registers an attribute supports it, even if it is not part of the\n705: # VISA standard list of attributes for this session type.\n706: if attribute in self.attrs:\n707: value = self.attrs[attribute]\n708: status = StatusCode.success\n709: if isinstance(value, tuple):\n710: setter = value[1]\n711: status = (\n712: setter(attribute, attribute_state)\n713: if setter\n714: else StatusCode.error_nonsupported_attribute\n715: )\n716: else:\n717: self.attrs[attribute] = attribute_state\n718: return status\n719: \n720: # Check if the attribute is defined for this session type.\n721: if not attr.in_resource(self.session_type):\n722: return StatusCode.error_nonsupported_attribute\n723: \n724: # Check if writing the attribute is allowed.\n725: if not attr.write:\n726: return StatusCode.error_attribute_read_only\n727: \n728: # Dispatch to `_set_attribute`, which must be implemented by subclasses\n729: \n730: try:\n[window truncated; visible lines 662-730]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"pyvisa_pyvisa-py_pr292__QGvU7pP:60"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5924,"content_sha256":"ea61f68cf9ddedeeccdf14934e5a77cbb70731db1a5ce10f0e2430e2c0ce6300","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":114,"sha256":"4d727685d38f47c89d6bd6efbb2cf55cf6b0ef7531353b820aa2d1b42089a500","start_line":47,"truncated":true},"content_sha256":"6abbfdec393af2c174327f688cfefc928255d5bf56d005bee0ca75818f1d86c9","end_line":148,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/aggregator.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"2df3671143f79bf560f48df5b5feea401d6292cd3e259a2685f72706208ecdd7","reference_window":{"end_line":103,"sha256":"f41e03097669cac60e2fcd3563bb9e0d9aebf14807e6c1294eb5d6e6d329addf","start_line":38,"truncated":true},"start_line":20,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr10__rx9y4hJ:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/aggregator.py, reference lines 20-148\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n38: b = subgroups[-2][-3]\n39: if b in MATRICES:\n40: _add_new_subgroup(subgroups)\n41: except IndexError:\n42: pass\n43: elif token == '[' and subgroups[-2][-2] == r'\\sqrt':\n44: subgroups[-2][-2] = r'\\root' # change name from \\sqrt to \\root - not a latex command!\n45: elif token != '{':\n46: subgroups[-1].append(token)\n47: elif token in '})]':\n48: try:\n49: a = subgroups[-1][-1]\n50: except IndexError:\n51: pass\n52: if token == ']' and subgroups[-2][-2] == r'\\root':\n53: insert_before_last_item = True\n54: elif token != '}':\n55: subgroups[-1].append(token)\n56: if a and a == r'\\right':\n57: pass\n58: else:\n59: subgroups.pop()\n60: elif token in '_^':\n61: try:\n62: a = subgroups[-1][-3]\n63: if a == '_' and token == '^':\n64: subgroups[-1][-3] = '_^'\n65: elif a == '^' and token == '_':\n66: subgroups[-1][-3] = '_^'\n67: insert_before_last_item = True\n68: else:\n69: subgroups[-1].insert(-1, token)\n70: except IndexError:\n71: subgroups[-1].insert(-1, token)\n72: elif token == '-' and environment and environment in MATRICES:\n73: _add_new_subgroup(subgroups)\n74: _insert_before_last_item(insert_before_last_item, token, subgroups)\n75: has_negative_sign = True\n76: elif token == '&' and environment and environment in MATRICES:\n77: if has_negative_sign:\n78: subgroups.pop()\n79: has_negative_sign = False\n80: elif (token == r'\\\\' or token == r'\\cr') and environment and environment in MATRICES:\n81: if has_negative_sign:\n82: subgroups.pop()\n83: has_negative_sign = False\n84: subgroups.pop()\n85: _add_new_subgroup(subgroups)\n86: else:\n87: _insert_before_last_item(insert_before_last_item, token, subgroups)\n88: return aggregation\n89: \n90: \n91: def _insert_before_last_item(insert_before_last_item, n, subgroups):\n92: if insert_before_last_item:\n93: subgroups[-1].insert(-1, n)\n94: # noinspection PyUnusedLocal\n95: insert_before_last_item = False\n96: else:\n97: subgroups[-1].append(n)\n98: \n99: \n100: def _add_new_subgroup(subgroups):\n101: n = []\n102: subgroups[-1].append(n)\n103: subgroups.append(n)\n[window truncated; visible lines 38-103]\nCandidate text preview (unexecuted):\n47: elif token in '})]':\n48: try:\n49: a = subgroups[-1][-1]\n50: except IndexError:\n51: pass\n52: if token == ']' and subgroups[-2][-2] == r'\\root':\n53: insert_before_last_item = True\n54: elif token != '}':\n55: subgroups[-1].append(token)\n56: if a and a == r'\\right':\n57: pass\n58: else:\n59: subgroups.pop()\n60: elif token in '_^':\n61: try:\n62: a = subgroups[-1][-3]\n63: if a == '_' and token == '^':\n64: subgroups[-1][-3] = '_^'\n65: elif a == '^' and token == '_':\n66: subgroups[-1][-3] = '_^'\n67: insert_before_last_item = True\n68: else:\n69: subgroups[-1].insert(-1, token)\n70: except IndexError:\n71: subgroups[-1].insert(-1, token)\n72: elif token == '-' and environment and environment in MATRICES:\n73: _add_new_subgroup(subgroups)\n74: _insert_before_last_item(insert_before_last_item, token, subgroups)\n75: has_negative_sign = True\n76: elif token == '&' and environment and environment in MATRICES:\n77: if has_negative_sign:\n78: subgroups.pop()\n79: has_negative_sign = False\n80: elif (token == r'\\\\' or token == r'\\cr') and environment and environment in MATRICES:\n81: if has_negative_sign:\n82: subgroups.pop()\n83: has_negative_sign = False\n84: subgroups.pop()\n85: _add_new_subgroup(subgroups)\n86: elif token == r'\\over':\n87: _handle_over(subgroups)\n88: else:\n89: _insert_before_last_item(insert_before_last_item, token, subgroups)\n90: return aggregation\n91: \n92: \n93: def _handle_over(subgroups):\n94: # \\over is an infix operator: everything accumulated in the current group\n95: # before it becomes the numerator and everything that follows becomes the\n96: # denominator, mirroring \\frac{numerator}{denominator}.\n97: numerator = subgroups[-1][:]\n98: denominator = []\n99: subgroups[-1][:] = [r'\\frac', numerator, denominator]\n100: subgroups.append(denominator)\n101: \n102: \n103: def _insert_before_last_item(insert_before_last_item, n, subgroups):\n104: if insert_before_last_item:\n105: subgroups[-1].insert(-1, n)\n106: # noinspection PyUnusedLocal\n107: insert_before_last_item = False\n108: else:\n109: subgroups[-1].append(n)\n110: \n111: \n112: def _add_new_subgroup(subgroups):\n113: n = []\n114: subgroups[-1].append(n)\n[window truncated; visible lines 47-114]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr10__rx9y4hJ:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr111__Uo3Ko7j:18","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr111__Uo3Ko7j:18"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5888,"content_sha256":"c3fd87a7ea3173a9c307b07ac4e082c8cf1f7dac2ab761155b047e787a6b178a","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":1550,"sha256":"ed7a6b95291b15ef3390019d3fabf43c5fb258633f7842da68e2e797a6fa6b96","start_line":1472,"truncated":true},"content_sha256":"d1b0490d1c07fb028018b5ffbf0723109eb22f275d5f37efafdd8dd7d25d0763","end_line":1578,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"f782fce226a004feb38a5d710795be8ae9d5ccd7b6c1a366009ca8de93f3e706","reference_window":{"end_line":1540,"sha256":"e7f0ea9682e969784ecdb60d5948747046aa4375ed35061ffccbbccfae26da88","start_line":1467,"truncated":true},"start_line":1451,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr114__MKydHUa:18","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_converter.py, reference lines 1451-1578\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1467: ),\n1468: pytest.param(\n1469: r\"\\max \\{a, b, c\\}\",\n1470: MultiDict(\n1471: [\n1472: (\"munder\", MultiDict([(\"mo\", \"max\"), (\"mrow\", \"\")])),\n1473: (\"mi\", \"{\"),\n1474: (\"mi\", \"a\"),\n1475: (\"mi\", \",\"),\n1476: (\"mi\", \"b\"),\n1477: (\"mi\", \",\"),\n1478: (\"mi\", \"c\"),\n1479: (\"mi\", \"}\"),\n1480: ]\n1481: ),\n1482: id=\"issue-108-1\",\n1483: ),\n1484: pytest.param(\n1485: r\"\\min{(x, y)}\",\n1486: MultiDict(\n1487: [\n1488: (\"munder\", MultiDict([(\"mo\", \"min\"), (\"mrow\", \"\")])),\n1489: (\"mi\", \"{\"),\n1490: (\n1491: \"mo\",\n1492: MultiDict(\n1493: [\n1494: (\"@stretchy\", \"false\"),\n1495: (\"$\", \"(\"),\n1496: ]\n1497: ),\n1498: ),\n1499: (\"mi\", \"x\"),\n1500: (\"mi\", \",\"),\n1501: (\"mi\", \"y\"),\n1502: (\n1503: \"mo\",\n1504: MultiDict(\n1505: [\n1506: (\"@stretchy\", \"false\"),\n1507: (\"$\", \")\"),\n1508: ]\n1509: ),\n1510: ),\n1511: (\"mi\", \"}\"),\n1512: ]\n1513: ),\n1514: id=\"issue-108-2\",\n1515: ),\n1516: ],\n1517: )\n1518: def test_converter(latex: str, json: MultiDict):\n1519: parent = {\n1520: \"math\": {\n1521: \"@xmlns\": \"http://www.w3.org/1998/Math/MathML\",\n1522: \"@display\": \"inline\",\n1523: \"mrow\": json,\n1524: }\n1525: }\n1526: bf = BadgerFish(dict_type=MultiDict)\n1527: math = bf.etree(parent)\n1528: assert convert(latex) == _convert(math[0])\n1529: \n1530: \n1531: @pytest.mark.skipif(sys.version_info < (3, 8), reason=\"xml.etree sorts attributes in 3.7 and below\")\n1532: def test_attributes():\n1533: assert (\n1534: convert(\"1\")\n1535: == '1'\n1536: )\n1537: assert (\n1538: convert(\"1\", display=\"block\")\n1539: == '1'\n1540: )\n[window truncated; visible lines 1467-1540]\nCandidate text preview (unexecuted):\n1472: (\"munder\", MultiDict([(\"mo\", \"max\"), (\"mrow\", \"\")])),\n1473: (\"mi\", \"{\"),\n1474: (\"mi\", \"a\"),\n1475: (\"mi\", \",\"),\n1476: (\"mi\", \"b\"),\n1477: (\"mi\", \",\"),\n1478: (\"mi\", \"c\"),\n1479: (\"mi\", \"}\"),\n1480: ]\n1481: ),\n1482: id=\"issue-108-1\",\n1483: ),\n1484: pytest.param(\n1485: r\"\\min{(x, y)}\",\n1486: MultiDict(\n1487: [\n1488: (\"munder\", MultiDict([(\"mo\", \"min\"), (\"mrow\", \"\")])),\n1489: (\"mi\", \"{\"),\n1490: (\n1491: \"mo\",\n1492: MultiDict(\n1493: [\n1494: (\"@stretchy\", \"false\"),\n1495: (\"$\", \"(\"),\n1496: ]\n1497: ),\n1498: ),\n1499: (\"mi\", \"x\"),\n1500: (\"mi\", \",\"),\n1501: (\"mi\", \"y\"),\n1502: (\n1503: \"mo\",\n1504: MultiDict(\n1505: [\n1506: (\"@stretchy\", \"false\"),\n1507: (\"$\", \")\"),\n1508: ]\n1509: ),\n1510: ),\n1511: (\"mi\", \"}\"),\n1512: ]\n1513: ),\n1514: id=\"issue-108-2\",\n1515: ),\n1516: pytest.param(\n1517: r\"\\dot A\",\n1518: {\n1519: \"mover\": MultiDict(\n1520: [\n1521: (\"mi\", \"A\"),\n1522: (\"mo\", \"˙\"),\n1523: ]\n1524: )\n1525: },\n1526: id=\"issue-112-1\",\n1527: ),\n1528: pytest.param(\n1529: r\"\\dot{A}\",\n1530: {\n1531: \"mover\": MultiDict(\n1532: [\n1533: (\"mrow\", MultiDict([(\"mi\", \"A\")])),\n1534: (\"mo\", \"˙\"),\n1535: ]\n1536: )\n1537: },\n1538: id=\"issue-112-2\",\n1539: ),\n1540: ],\n1541: )\n1542: def test_converter(latex: str, json: MultiDict):\n1543: parent = {\n1544: \"math\": {\n1545: \"@xmlns\": \"http://www.w3.org/1998/Math/MathML\",\n1546: \"@display\": \"inline\",\n1547: \"mrow\": json,\n1548: }\n1549: }\n1550: bf = BadgerFish(dict_type=MultiDict)\n[window truncated; visible lines 1472-1550]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr114__MKydHUa:18"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr116__xnkjDaG:7","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr116__xnkjDaG:7"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4780,"content_sha256":"d71fbe1bf4b12fb85f78422850b42a86800c317a02c595a756b994e0597f7fcc","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":441,"sha256":"1021b036d7b452dd77fdab1a91c39e71093f3b8a45c93a1900db918b2a1884bb","start_line":369,"truncated":false},"content_sha256":"4cee442cf7c672ae878d1c4d1cd190ac13d5ad996ff0dcf6dbf049e1ba1b8868","end_line":491,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_tokenizer.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"782099930b66298dd0b519236a0853d88d848bd7fb7bfa5b5e1dd86f3fa7696e","reference_window":{"end_line":433,"sha256":"a12cb63ab0fdabae687a316353e349dddca6aee4ecaa81b052d7c48b37648251","start_line":369,"truncated":false},"start_line":369,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr119__wpjZTXy:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_tokenizer.py, reference lines 369-491\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n369: \"{\",\n370: \"x\",\n371: \"}\",\n372: \"}\",\n373: \"{\",\n374: \"x\",\n375: \"}\",\n376: r\"\\right\",\n377: \")\",\n378: r\"\\log\",\n379: \"{\",\n380: r\"\\left\",\n381: \"(\",\n382: \"x\",\n383: r\"\\right\",\n384: \")\",\n385: \"}\",\n386: \"+\",\n387: r\"\\frac\",\n388: \"{\",\n389: \"x\",\n390: \"^\",\n391: \"{\",\n392: \"x\",\n393: \"^\",\n394: \"{\",\n395: \"x\",\n396: \"}\",\n397: \"}\",\n398: \"}\",\n399: \"{\",\n400: \"x\",\n401: \"}\",\n402: r\"\\right\",\n403: \")\",\n404: ],\n405: id=\"issue-78\",\n406: ),\n407: pytest.param(\n408: r\"\\max_{x \\in \\[a,b\\]}f(x)\",\n409: [\n410: r\"\\max\",\n411: \"_\",\n412: \"{\",\n413: \"x\",\n414: r\"\\in\",\n415: r\"\\[\",\n416: \"a\",\n417: \",\",\n418: \"b\",\n419: r\"\\]\",\n420: \"}\",\n421: \"f\",\n422: \"(\",\n423: \"x\",\n424: \")\",\n425: ],\n426: id=\"max\",\n427: ),\n428: pytest.param(r\"\\max \\{a, b, c\\}\", [r\"\\max\", r\"\\{\", \"a\", \",\", \"b\", \",\", \"c\", r\"\\}\"], id=\"issue-108-1\"),\n429: pytest.param(r\"\\operatorname{sn}x\", [r\"\\operatorname{sn}\", \"x\"], id=\"issue-109\"),\n430: ],\n431: )\n432: def test_tokenize(latex: str, expected: list) -> None:\n433: assert list(tokenize(latex)) == expected\nCandidate text preview (unexecuted):\n369: \"{\",\n370: \"x\",\n371: \"}\",\n372: \"}\",\n373: \"{\",\n374: \"x\",\n375: \"}\",\n376: r\"\\right\",\n377: \")\",\n378: r\"\\log\",\n379: \"{\",\n380: r\"\\left\",\n381: \"(\",\n382: \"x\",\n383: r\"\\right\",\n384: \")\",\n385: \"}\",\n386: \"+\",\n387: r\"\\frac\",\n388: \"{\",\n389: \"x\",\n390: \"^\",\n391: \"{\",\n392: \"x\",\n393: \"^\",\n394: \"{\",\n395: \"x\",\n396: \"}\",\n397: \"}\",\n398: \"}\",\n399: \"{\",\n400: \"x\",\n401: \"}\",\n402: r\"\\right\",\n403: \")\",\n404: ],\n405: id=\"issue-78\",\n406: ),\n407: pytest.param(\n408: r\"\\max_{x \\in \\[a,b\\]}f(x)\",\n409: [\n410: r\"\\max\",\n411: \"_\",\n412: \"{\",\n413: \"x\",\n414: r\"\\in\",\n415: r\"\\[\",\n416: \"a\",\n417: \",\",\n418: \"b\",\n419: r\"\\]\",\n420: \"}\",\n421: \"f\",\n422: \"(\",\n423: \"x\",\n424: \")\",\n425: ],\n426: id=\"max\",\n427: ),\n428: pytest.param(r\"\\max \\{a, b, c\\}\", [r\"\\max\", r\"\\{\", \"a\", \",\", \"b\", \",\", \"c\", r\"\\}\"], id=\"issue-108-1\"),\n429: pytest.param(r\"\\operatorname{sn}x\", [r\"\\operatorname{sn}\", \"x\"], id=\"issue-109\"),\n430: pytest.param(r\"\\text{Let}\", [r\"\\text{Let}\"], id=\"text-command\"),\n431: pytest.param(r\"\\text{number of cats}\", [r\"\\text{number of cats}\"], id=\"text-command-with-spaces\"),\n432: pytest.param(r\"\\text{a{b}c}\", [r\"\\text{a{b}c}\"], id=\"text-command-nested\"),\n433: pytest.param(r\"\\text{}\", [r\"\\text{}\"], id=\"text-command-empty\"),\n434: pytest.param(r\"\\ \", [r\"\\ \"], id=\"control-space\"),\n435: pytest.param(r\"a\\ b\", [\"a\", r\"\\ \", \"b\"], id=\"control-space-between\"),\n436: pytest.param(r\"x\\ \", [\"x\", r\"\\ \"], id=\"control-space-at-end\"),\n437: pytest.param(r\"\\text{Let}\\ x\", [r\"\\text{Let}\", r\"\\ \", \"x\"], id=\"text-and-control-space\"),\n438: ],\n439: )\n440: def test_tokenize(latex: str, expected: list) -> None:\n441: assert list(tokenize(latex)) == expected\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr119__wpjZTXy:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4836,"content_sha256":"b663f5d1b396ad8b3a47834f0e567f3cf876e26b24124fc778633fa527eb175d","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"0c06d9de2edbf37466b9bf52ab8cdb8dbcf55dcf05d91c27b17e3eb9c774eced","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"latex2mathml/converter.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"1f0c2eeefbbfc77e44f9aba302e0a596ed0c28df6d2f00bff858be1c4b16b0d2","reference_window":{"end_line":120,"sha256":"43632d320e53d6c0cfe1ce0964da3221cbc6e2ed12a33bfa118d00243e346fde","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr121__pLzdTLt:18","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: import re\n2: from collections import OrderedDict\n3: from typing import Any, Iterator, List, Optional, Union\n4: from xml.etree.cElementTree import Element, SubElement, tostring # nosec\n5: from xml.sax.saxutils import unescape # nosec\n6: \n7: import pkg_resources\n8: \n9: from latex2mathml.aggregator import aggregate\n10: from latex2mathml.commands import COMMANDS, MATRICES\n11: from latex2mathml.symbols_parser import convert_symbol\n12: \n13: \n14: def convert(\n15: latex: str,\n16: xmlns: str = \"http://www.w3.org/1998/Math/MathML\",\n17: display: str = \"inline\",\n18: ) -> str:\n19: math = Element(\"math\", xmlns=xmlns, display=display)\n20: row = SubElement(math, \"mrow\")\n21: _classify_subgroup(aggregate(latex), row)\n22: return _convert(math)\n23: \n24: \n25: def _convert(tree: Element) -> str:\n26: return unescape(tostring(tree, encoding=\"unicode\"))\n27: \n28: \n29: def _convert_matrix_content(\n30: param: list,\n31: parent: Element,\n32: alignment: Union[str, None] = None,\n33: single_mtd: bool = True,\n34: ) -> None:\n35: if not len(param):\n36: return\n37: all_are_list = all(isinstance(i, list) for i in param)\n38: if all_are_list:\n39: for row in param:\n40: _convert_matrix_row(row, parent, alignment, single_mtd)\n41: else:\n42: _convert_matrix_row(param, parent, alignment, single_mtd)\n43: \n44: \n45: def _convert_matrix_row(row: list, parent: Element, alignment: Optional[str], single_mtd: bool) -> None:\n46: mtr = SubElement(parent, \"mtr\")\n47: iterable: Iterator[int] = iter(range(len(row)))\n48: if single_mtd:\n49: mtd = SubElement(mtr, \"mtd\")\n50: for i in iterable:\n51: element = row[i]\n52: if alignment:\n53: column_align: str = {\"r\": \"right\", \"l\": \"left\", \"c\": \"center\"}.get(alignment, \"\")\n54: mtd = SubElement(mtr, \"mtd\", columnalign=column_align)\n55: elif not single_mtd:\n56: mtd = SubElement(mtr, \"mtd\")\n57: if isinstance(element, list):\n58: _classify_subgroup(element, mtd)\n59: elif element in COMMANDS:\n60: _convert_command(element, row, i, iterable, mtd)\n61: else:\n62: _classify(element, mtd)\n63: \n64: \n65: def _convert_array_content(param: list, parent: Element, alignment: str = \"\") -> None:\n66: if alignment and \"|\" in alignment:\n67: _alignment, column_lines = [], []\n68: for j in alignment:\n69: if j == \"|\":\n70: column_lines.append(\"solid\")\n71: else:\n72: _alignment.append(j)\n73: if len(_alignment) - len(column_lines) == 2:\n74: column_lines.append(\"none\")\n75: parent.attrib[\"columnlines\"] = \" \".join(column_lines)\n76: else:\n77: _alignment = list(alignment)\n78: row_lines = []\n79: row_count = 0\n80: for row in param:\n81: row_count += 1\n82: mtr = SubElement(parent, \"mtr\")\n83: iterable: Iterator[int] = iter(range(len(row)))\n84: index = 0\n85: has_row_line = False\n86: for i in iterable:\n87: element = row[i]\n88: if element == r\"\\hline\" and row_count > 1:\n89: row_lines.append(\"solid\")\n90: has_row_line = True\n91: continue\n92: align: Union[str, None] = None\n93: try:\n94: align = _alignment[index]\n95: except IndexError: # pragma: no cover\n96: pass\n97: if align:\n98: column_align: str = {\"r\": \"right\", \"l\": \"left\", \"c\": \"center\"}.get(align, \"\")\n99: mtd = SubElement(mtr, \"mtd\", columnalign=column_align)\n100: # else:\n101: # mtd = SubElement(mtr, \"mtd\")\n102: if isinstance(element, list):\n103: _classify_subgroup(element, mtd)\n104: # elif element in COMMANDS:\n105: # _convert_command(element, row, i, iterable, mtd)\n106: else:\n107: _classify(element, mtd)\n108: index += 1\n109: if not has_row_line and row_count > 1:\n110: row_lines.append(\"none\")\n111: if \"solid\" in row_lines:\n112: parent.set(\"rowlines\", \" \".join(row_lines))\n113: \n114: \n115: def _classify_subgroup(elements: list, row: Element, is_math_mode: bool = False) -> None:\n116: iterable = iter(range(len(elements)))\n117: for i in iterable:\n118: element = elements[i]\n119: if isinstance(element, list):\n120: _row = SubElement(row, \"mrow\")\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr121__pLzdTLt:18"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5249,"content_sha256":"87f4f3c604324739ea3e21f34f8bf38412e7124ca03686446d311f6515b38911","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"0879c81def45dc3d1d822a0e35194554b842e9a9660e3c2b5fb17fbf863e6517","end_line":120,"note":"old_str matches=0; preview unavailable; showing first 120 lines","path":"latex2mathml/tokenizer.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"ed7d89eb1f68832f17ec7455cc8343929d4d4513391f11d16c6b61aea07cf76d","reference_window":{"end_line":119,"sha256":"c50e1314743bf39d4148dfe34fd159019a14252aaccee704fd54c8d7293589e3","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr132__mFHpPri:56","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/tokenizer.py, reference lines 1-120\nold_str matches=0; preview unavailable; showing first 120 lines\nReference-state content:\n1: from typing import Iterator, Union\n2: \n3: from latex2mathml import commands\n4: from latex2mathml.symbols_parser import convert_symbol\n5: \n6: \n7: def tokenize(data: str) -> Iterator[Union[str, list]]:\n8: iterable = iter(data)\n9: buffer = \"\"\n10: while True:\n11: try:\n12: char = next(iterable)\n13: if char == commands.BACKSLASH:\n14: if buffer == commands.BACKSLASH:\n15: yield buffer + char\n16: buffer = \"\"\n17: continue\n18: elif len(buffer):\n19: yield buffer\n20: buffer = char\n21: try:\n22: buffer += next(iterable)\n23: if buffer in (r\"\\\\\", r\"\\[\", r\"\\]\", r\"\\{\", r\"\\}\", r\"\\ \"):\n24: yield buffer\n25: buffer = \"\"\n26: except StopIteration:\n27: break\n28: elif char.isalpha():\n29: if len(buffer):\n30: if buffer.endswith(\"}\"):\n31: yield buffer\n32: yield char\n33: buffer = \"\"\n34: elif buffer.startswith(commands.BACKSLASH):\n35: buffer += char\n36: else:\n37: yield char\n38: elif char.isdigit():\n39: if len(buffer):\n40: yield buffer\n41: buffer = char\n42: while True:\n43: try:\n44: char = next(iterable)\n45: except StopIteration:\n46: break\n47: if char.isspace():\n48: yield buffer\n49: buffer = \"\"\n50: break\n51: elif char.isdigit() or char == \".\":\n52: buffer += char\n53: else:\n54: if buffer.endswith(\".\"):\n55: yield buffer[:-1]\n56: yield buffer[-1]\n57: else:\n58: yield buffer\n59: buffer = \"\"\n60: if char == commands.BACKSLASH:\n61: buffer = char\n62: else:\n63: yield char\n64: break\n65: elif char.isspace():\n66: if buffer.startswith(commands.TEXT):\n67: buffer += char\n68: continue\n69: if len(buffer):\n70: yield buffer\n71: buffer = \"\"\n72: elif char in \"{}*\":\n73: # FIXME: Anything that starts with '\\math' passes. There is a huge list of math symbols in\n74: # unimathsymbols.txt and hard-coding all of them is inefficient.\n75: if buffer.startswith((commands.BEGIN, commands.END, commands.OPERATORNAME, commands.TEXT, r\"\\math\")):\n76: if buffer.endswith(\"}\"):\n77: yield buffer\n78: yield char\n79: buffer = \"\"\n80: continue\n81: elif buffer.startswith(r\"\\math\") and char == \"}\":\n82: symbol = convert_symbol(buffer + char)\n83: if symbol:\n84: yield \"&#x{};\".format(symbol)\n85: buffer = \"\"\n86: continue\n87: else:\n88: index = buffer.index(\"{\")\n89: yield buffer[:index]\n90: yield buffer[index]\n91: yield from tokenize(buffer[index + 1 :])\n92: yield char\n93: buffer = \"\"\n94: continue\n95: elif buffer.startswith(r\"\\text\") and char == \"}\":\n96: yield buffer[0:5]\n97: yield buffer[6:]\n98: buffer = \"\"\n99: continue\n100: buffer += char\n101: else:\n102: if len(buffer):\n103: yield buffer\n104: buffer = \"\"\n105: yield char\n106: else:\n107: if len(buffer):\n108: if buffer.startswith(r\"\\math\"):\n109: yield buffer[:-1]\n110: yield buffer[-1]\n111: else:\n112: yield buffer\n113: buffer = \"\"\n114: if len(char):\n115: yield char\n116: except StopIteration:\n117: break\n118: if len(buffer):\n119: yield buffer\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr132__mFHpPri:56"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3271,"content_sha256":"77fedc49faa167bf29ba2fa55536556930f5e2da83c3ceae65b78f3ae8461535","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"a25e77dee0689dda9eece737e91f58db7946319926bc2f742582e596bb6b2535","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"README.md","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"90e3502063925fb9aa818e5807ae87d1fe8a91d72e3ce8c1dc12872351c78734","reference_window":{"end_line":87,"sha256":"5c5647611f3efc363082af4cf0644f5e12ae3a62ac6fd7a26ea24b3fe53e1494","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr136__sCDHH9j:0","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/README.md, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: # latex2mathml\n2: \n3: Pure Python library for LaTeX to MathML conversion\n4: \n5: \n6: \n7: \n8: \n9: \n10: \n11: \n12: \n13: \n14: \n15: \n16: \n17: \n18: \n19: \n20: \n21: \n22: \n23: \n24: \n25: \n26: \n27: \n28: \n29: \n30:
License\"License\"Version\"Version\"
Travis CI\"TravisCoverage\"CodeCov\"
Supported versions\"PythonWheel\"Wheel\"
Status\"Status\"Downloads\"Downloads\"
\n31: \n32: ## Support\n33: If you like `latex2mathml` or if it is useful to you, show your support by buying me a coffee.\n34: \n35: \"Buy\n36: \n37: ## Installation\n38: \n39: ```bash\n40: pip install latex2mathml\n41: ```\n42: \n43: ## Usage\n44: \n45: ### Python\n46: \n47: ```python\n48: import latex2mathml.converter\n49: \n50: latex_input = \"\"\n51: mathml_output = latex2mathml.converter.convert(latex_input)\n52: ```\n53: \n54: ### Command-line\n55: \n56: ```shell\n57: % latex2mathml -h\n58: usage: l2m [-h] [-V] [-b] [-t TEXT | -f FILE]\n59: \n60: Pure Python library for LaTeX to MathML conversion\n61: \n62: optional arguments:\n63: -h, --help show this help message and exit\n64: -V, --version Show version\n65: -b, --block Display block\n66: \n67: required arguments:\n68: -t TEXT, --text TEXT Text\n69: -f FILE, --file FILE File\n70: ```\n71: \n72: ## References\n73: ### LaTeX\n74: \n75: - https://en.wikibooks.org/wiki/LaTeX/Mathematics\n76: - http://artofproblemsolving.com/wiki/index.php?title=Main_Page\n77: - http://milde.users.sourceforge.net/LUCR/Math/\n78: - https://math-linux.com/latex-26/faq/latex-faq/article/latex-derivatives-limits-sums-products-and-integrals\n79: - https://www.tutorialspoint.com/tex_commands\n80: \n81: ### MathML\n82: \n83: - http://www.xmlmind.com/tutorials/MathML/\n84: \n85: \n86: ## Author\n87: - [Ronie Martinez](mailto:ronmarti18@gmail.com)\n\n### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr136__sCDHH9j:0"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5934,"content_sha256":"ab7551f6ae856951812f195f6b73aa512c0d97c77d2bb3c4ae178483d90aca19","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":77,"sha256":"013fe4e4b65bd668fbd49f676a08f40719abcf67d314d883d00ac3995521853d","start_line":31,"truncated":true},"content_sha256":"2bfada3ded81859c2f282beedad25bf1ee413ea11e68f8ee546071f0388d5e44","end_line":120,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/walker.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"430dcaad445a10b9e4028ec087e1f821c1d088aea35a57218875f87ffdf5750c","reference_window":{"end_line":77,"sha256":"3e70026c3eb377dcededfb634748ef657541284c931dd96e29d1ad25dc5f5c41","start_line":32,"truncated":true},"start_line":1,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr137__KBvQ8E9:45","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/walker.py, reference lines 1-120\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n32: if token == terminator:\n33: if terminator == commands.RIGHT:\n34: group.append(Node(token=token, delimiter=next(tokens)))\n35: break\n36: elif token == commands.RIGHT != terminator:\n37: raise ExtraLeftOrMissingRight\n38: elif token == commands.LEFT:\n39: delimiter = next(tokens)\n40: children = tuple(_walk(tokens, terminator=commands.RIGHT)) # make \\right as a child of \\left\n41: if len(children) == 0 or children[-1].token != commands.RIGHT:\n42: raise ExtraLeftOrMissingRight\n43: node = Node(token=token, children=children if len(children) else None, delimiter=delimiter)\n44: elif token == commands.OPENING_BRACES:\n45: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACES))\n46: node = Node(token=commands.BRACES, children=children)\n47: elif token == commands.OPENING_PARENTHESIS:\n48: children = tuple(_walk(tokens, terminator=commands.CLOSING_PARENTHESIS))\n49: if len(children):\n50: node = Node(token=commands.PARENTHESES, children=children)\n51: else:\n52: group.extend([Node(token=token), Node(token=commands.CLOSING_PARENTHESIS)])\n53: continue\n54: elif token == commands.OPENING_BRACKET:\n55: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACKET))\n56: if len(children) or (terminator is not None and terminator.startswith(commands.END)):\n57: node = Node(token=commands.BRACKETS, children=children)\n58: else:\n59: group.extend([Node(token=token), Node(token=commands.CLOSING_BRACKET)])\n60: continue\n61: elif token == commands.SUBSCRIPT or token == commands.SUPERSCRIPT:\n62: try:\n63: previous = group.pop()\n64: except IndexError:\n65: previous = Node(token=\"\") # left operand can be empty if not present\n66: \n67: if token == previous.token == commands.SUBSCRIPT:\n68: raise DoubleSubscriptsError\n69: if token == previous.token == commands.SUPERSCRIPT:\n70: raise DoubleSuperscriptsError\n71: \n72: if token == commands.SUBSCRIPT and previous.token == commands.SUPERSCRIPT and previous.children is not None:\n73: next_nodes = _walk(tokens, terminator=terminator, limit=1)\n74: node = Node(token=commands.SUBSUP, children=(previous.children[0], *next_nodes, previous.children[1]))\n75: elif (\n76: token == commands.SUPERSCRIPT and previous.token == commands.SUBSCRIPT and previous.children is not None\n77: ):\n[window truncated; visible lines 32-77]\nCandidate text preview (unexecuted):\n31: for token in tokens:\n32: if token == terminator:\n33: if terminator == commands.RIGHT:\n34: group.append(Node(token=token, delimiter=next(tokens)))\n35: break\n36: elif token == commands.RIGHT != terminator:\n37: raise ExtraLeftOrMissingRight\n38: elif token == commands.LEFT:\n39: delimiter = next(tokens)\n40: children = tuple(_walk(tokens, terminator=commands.RIGHT)) # make \\right as a child of \\left\n41: if len(children) == 0 or children[-1].token != commands.RIGHT:\n42: raise ExtraLeftOrMissingRight\n43: node = Node(token=token, children=children if len(children) else None, delimiter=delimiter)\n44: elif token == commands.OPENING_BRACES:\n45: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACES))\n46: node = Node(token=commands.BRACES, children=children)\n47: elif token == commands.OPENING_PARENTHESIS:\n48: children = tuple(_walk(tokens, terminator=commands.CLOSING_PARENTHESIS))\n49: if len(children):\n50: node = Node(token=commands.PARENTHESES, children=children)\n51: else:\n52: group.extend([Node(token=token), Node(token=commands.CLOSING_PARENTHESIS)])\n53: continue\n54: elif token == commands.OPENING_BRACKET:\n55: try:\n56: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACKET))\n57: if len(children) or (terminator is not None and terminator.startswith(commands.END)):\n58: node = Node(token=commands.BRACKETS, children=children)\n59: else:\n60: group.extend([Node(token=token), Node(token=commands.CLOSING_BRACKET)])\n61: continue\n62: except NoAvailableTokensError:\n63: node = Node(token=token)\n64: elif token == commands.SUBSCRIPT or token == commands.SUPERSCRIPT:\n65: try:\n66: previous = group.pop()\n67: except IndexError:\n68: previous = Node(token=\"\") # left operand can be empty if not present\n69: \n70: if token == previous.token == commands.SUBSCRIPT:\n71: raise DoubleSubscriptsError\n72: if token == previous.token == commands.SUPERSCRIPT:\n73: raise DoubleSuperscriptsError\n74: \n75: if token == commands.SUBSCRIPT and previous.token == commands.SUPERSCRIPT and previous.children is not None:\n76: next_nodes = _walk(tokens, terminator=terminator, limit=1)\n77: node = Node(token=commands.SUBSUP, children=(previous.children[0], *next_nodes, previous.children[1]))\n[window truncated; visible lines 31-77]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr137__KBvQ8E9:45"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5880,"content_sha256":"f883a0e1bda41a4fd645cfd9833df61eea8b30bb789238ee57a57a0d71450c30","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":125,"sha256":"d8f5303e8f31fcc868701880d078adb272af65989ef550dcb2041604280b8d23","start_line":56,"truncated":true},"content_sha256":"0a4e51a51eb881eb138647924458654b5b2ea36c70845d1c4b355e82683e3df1","end_line":165,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"c3939d750b187554caae8791096cf36d756e74e9057daafd1aa233dbcdc15a36","reference_window":{"end_line":125,"sha256":"8226238d12156303dd010c48618de798c6101f88667de51405336dcbc38a88a4","start_line":56,"truncated":true},"start_line":30,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr138__fuKUorM:18","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 30-165\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n56: row = SubElement(parent, \"mtr\")\n57: cell = _make_matrix_cell(row, col_alignment)\n58: continue\n59: elif node.token == commands.HLINE:\n60: row_lines.append(\"solid\")\n61: continue\n62: \n63: if row_index > len(row_lines):\n64: row_lines.append(\"none\")\n65: \n66: _convert_group(iter([node]), cell)\n67: \n68: if any(r == \"solid\" for r in row_lines):\n69: parent.set(\"rowlines\", \" \".join(row_lines))\n70: \n71: \n72: def _get_column_alignment(\n73: alignment: Optional[str], column_alignment: Optional[str], column_index: int\n74: ) -> Tuple[Optional[str], int]:\n75: if alignment:\n76: try:\n77: column_alignment = COLUMN_ALIGNMENT_MAP.get(alignment[column_index])\n78: column_index += 1\n79: except IndexError:\n80: pass\n81: return column_alignment, column_index\n82: \n83: \n84: def _make_matrix_cell(row: Element, column_alignment: Optional[str]) -> Element:\n85: if column_alignment:\n86: return SubElement(row, \"mtd\", columnalign=column_alignment)\n87: return SubElement(row, \"mtd\")\n88: \n89: \n90: def _convert_group(nodes: Iterable[Node], parent: Element, is_math_mode: bool = False) -> None:\n91: for node in nodes:\n92: token = node.token\n93: if token in commands.CONVERSION_MAP:\n94: _convert_command(node, parent)\n95: elif token.startswith(r\"\\math\"):\n96: is_math_mode = True\n97: elif node.children is None:\n98: _convert_symbol(node, parent, is_math_mode)\n99: elif node.children is not None:\n100: _row = SubElement(parent, \"mrow\")\n101: if token == \"()\": # TODO: other pairs\n102: _convert_symbol(Node(token=token[0]), _row, is_math_mode)\n103: _convert_group(iter(node.children), _row, is_math_mode)\n104: if token == \"()\": # TODO: other pairs\n105: _convert_symbol(Node(token=token[1]), _row, is_math_mode)\n106: \n107: \n108: def _get_alignment_and_column_lines(alignment: Optional[str] = None) -> Tuple[Optional[str], Optional[str]]:\n109: if alignment is None:\n110: return None, None\n111: if \"|\" not in alignment:\n112: return alignment, None\n113: _alignment = \"\"\n114: column_lines = []\n115: for c in alignment:\n116: if c == \"|\":\n117: column_lines.append(\"solid\")\n118: else:\n119: _alignment += c\n120: if len(_alignment) - len(column_lines) == 2:\n121: column_lines.append(\"none\")\n122: return _alignment, \" \".join(column_lines)\n123: \n124: \n125: def _convert_command(node: Node, parent: Element) -> None:\n[window truncated; visible lines 56-125]\nCandidate text preview (unexecuted):\n56: row = SubElement(parent, \"mtr\")\n57: cell = _make_matrix_cell(row, col_alignment)\n58: continue\n59: elif node.token == commands.HLINE:\n60: row_lines.append(\"solid\")\n61: continue\n62: \n63: if row_index > len(row_lines):\n64: row_lines.append(\"none\")\n65: \n66: _convert_group(iter([node]), cell)\n67: \n68: if any(r == \"solid\" for r in row_lines):\n69: parent.set(\"rowlines\", \" \".join(row_lines))\n70: \n71: \n72: def _get_column_alignment(\n73: alignment: Optional[str], column_alignment: Optional[str], column_index: int\n74: ) -> Tuple[Optional[str], int]:\n75: if alignment:\n76: try:\n77: column_alignment = COLUMN_ALIGNMENT_MAP.get(alignment[column_index])\n78: column_index += 1\n79: except IndexError:\n80: pass\n81: return column_alignment, column_index\n82: \n83: \n84: def _make_matrix_cell(row: Element, column_alignment: Optional[str]) -> Element:\n85: if column_alignment:\n86: return SubElement(row, \"mtd\", columnalign=column_alignment)\n87: return SubElement(row, \"mtd\")\n88: \n89: \n90: def _convert_group(\n91: nodes: Iterable[Node], parent: Element, is_math_mode: bool = False, font: Optional[str] = None\n92: ) -> None:\n93: _font = font\n94: for node in nodes:\n95: token = node.token\n96: if token in commands.CONVERSION_MAP:\n97: _convert_command(node, parent, is_math_mode, _font)\n98: elif token.startswith(r\"\\math\"):\n99: is_math_mode = True\n100: elif token in commands.OLD_STYLE_FONTS.keys():\n101: _font = commands.OLD_STYLE_FONTS.get(token)\n102: elif node.children is None:\n103: _convert_symbol(node, parent, is_math_mode, _font)\n104: elif node.children is not None:\n105: _row = SubElement(parent, \"mrow\")\n106: if token == \"()\": # TODO: other pairs\n107: _convert_symbol(Node(token=token[0]), _row, is_math_mode, _font)\n108: _convert_group(iter(node.children), _row, is_math_mode)\n109: if token == \"()\": # TODO: other pairs\n110: _convert_symbol(Node(token=token[1]), _row, is_math_mode, _font)\n111: \n112: \n113: def _get_alignment_and_column_lines(alignment: Optional[str] = None) -> Tuple[Optional[str], Optional[str]]:\n114: if alignment is None:\n115: return None, None\n116: if \"|\" not in alignment:\n117: return alignment, None\n118: _alignment = \"\"\n119: column_lines = []\n120: for c in alignment:\n121: if c == \"|\":\n122: column_lines.append(\"solid\")\n123: else:\n124: _alignment += c\n125: if len(_alignment) - len(column_lines) == 2:\n[window truncated; visible lines 56-125]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr138__fuKUorM:18"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4667,"content_sha256":"b510989641a4e5ea226e9ec8acbc1623d109893b4451ddfdc5c838c3731d1141","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":98,"sha256":"1354c8b9cacb58d675a378354fd9b672ea4af0979cab32107d221f6e2fb1e839","start_line":1,"truncated":false},"content_sha256":"a8b92b08f32fed72a990a995f1b89cfa1cd8c223608a15da9de882d28ccb2724","end_line":98,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"d948496101131e0ede9c0509129d812ab1974400c1ae368d491e7d6c24e2aba8","reference_window":{"end_line":98,"sha256":"7030c16bcd2aa7d41a60185a5500aca3a9e1ddbd1f0751bc2d0945ffe554aa36","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr139__hD9npkE:36","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 1-98\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: from collections import OrderedDict\n2: from typing import Dict, Tuple\n3: \n4: OPENING_BRACES = \"{\"\n5: CLOSING_BRACES = \"}\"\n6: BRACES = \"{}\"\n7: \n8: OPENING_BRACKET = \"[\"\n9: CLOSING_BRACKET = \"]\"\n10: BRACKETS = \"[]\"\n11: \n12: OPENING_PARENTHESIS = \"(\"\n13: CLOSING_PARENTHESIS = \")\"\n14: PARENTHESES = \"()\"\n15: \n16: SUBSUP = \"_^\"\n17: SUBSCRIPT = \"_\"\n18: SUPERSCRIPT = \"^\"\n19: \n20: LEFT = r\"\\left\"\n21: RIGHT = r\"\\right\"\n22: OVER = r\"\\over\"\n23: FRAC = r\"\\frac\"\n24: BINOM = r\"\\binom\"\n25: ROOT = r\"\\root\"\n26: SQRT = r\"\\sqrt\"\n27: \n28: OVERSET = r\"\\overset\"\n29: UNDERSET = r\"\\underset\"\n30: \n31: OVERLINE = r\"\\overline\"\n32: BAR = r\"\\bar\"\n33: UNDERLINE = r\"\\underline\"\n34: OVERRIGHTARROW = r\"\\overrightarrow\"\n35: VEC = r\"\\vec\"\n36: DOT = r\"\\dot\"\n37: TEXT = r\"\\text\"\n38: MATHOP = r\"\\mathop\"\n39: \n40: BEGIN = r\"\\begin\"\n41: END = r\"\\end\"\n42: \n43: LIMITS = r\"\\limits\"\n44: INTEGRAL = r\"\\int\"\n45: SUMMATION = r\"\\sum\"\n46: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n47: \n48: OPERATORNAME = r\"\\operatorname\"\n49: \n50: LBRACE = r\"\\{\"\n51: \n52: FUNCTIONS = (r\"\\log\", r\"\\ln\", r\"\\tan\", r\"\\sec\", r\"\\cos\", r\"\\sin\", r\"\\cot\", r\"\\csc\")\n53: \n54: HLINE = r\"\\hline\"\n55: \n56: CASES = r\"\\cases\"\n57: SUBSTACK = r\"\\substack\"\n58: MATRICES = (\n59: r\"\\matrix\",\n60: r\"\\matrix*\",\n61: r\"\\pmatrix\",\n62: r\"\\pmatrix*\",\n63: r\"\\bmatrix\",\n64: r\"\\bmatrix*\",\n65: r\"\\Bmatrix\",\n66: r\"\\Bmatrix*\",\n67: r\"\\vmatrix\",\n68: r\"\\vmatrix*\",\n69: r\"\\Vmatrix\",\n70: r\"\\Vmatrix*\",\n71: r\"\\array\",\n72: SUBSTACK,\n73: CASES,\n74: )\n75: \n76: BACKSLASH = \"\\\\\"\n77: DOUBLEBACKSLASH = r\"\\\\\"\n78: \n79: QUAD = r\"\\quad\"\n80: QQUAD = r\"\\qquad\"\n81: HSPACE = r\"\\hspace\"\n82: \n83: SPACES = (r\"\\,\", r\"\\:\", r\"\\;\", r\"\\\\\")\n84: \n85: COMMANDS_WITH_ONE_PARAMETER = (OVERLINE, BAR, UNDERLINE, OVERRIGHTARROW, VEC, DOT, MATHOP, HSPACE)\n86: COMMANDS_WITH_TWO_PARAMETERS = (FRAC, BINOM, OVERSET, UNDERSET)\n87: \n88: OLD_STYLE_FONTS = {\n89: r\"\\rm\": \"normal\",\n90: r\"\\bf\": \"bold\",\n91: r\"\\it\": \"italic\",\n92: r\"\\sf\": \"sans-serif\",\n93: r\"\\tt\": \"monospace\",\n94: }\n95: \n96: BIG: Dict[str, Tuple[str, dict]] = {\n97: # command: (mathml_equivalent, attributes)\n98: r\"\\Bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.470em\"), (\"maxsize\", \"2.470em\")])),\nCandidate text preview (unexecuted):\n1: from collections import OrderedDict\n2: from typing import Dict, Tuple\n3: \n4: OPENING_BRACES = \"{\"\n5: CLOSING_BRACES = \"}\"\n6: BRACES = \"{}\"\n7: \n8: OPENING_BRACKET = \"[\"\n9: CLOSING_BRACKET = \"]\"\n10: BRACKETS = \"[]\"\n11: \n12: OPENING_PARENTHESIS = \"(\"\n13: CLOSING_PARENTHESIS = \")\"\n14: PARENTHESES = \"()\"\n15: \n16: SUBSUP = \"_^\"\n17: SUBSCRIPT = \"_\"\n18: SUPERSCRIPT = \"^\"\n19: \n20: LEFT = r\"\\left\"\n21: RIGHT = r\"\\right\"\n22: OVER = r\"\\over\"\n23: FRAC = r\"\\frac\"\n24: BINOM = r\"\\binom\"\n25: ROOT = r\"\\root\"\n26: SQRT = r\"\\sqrt\"\n27: \n28: OVERSET = r\"\\overset\"\n29: UNDERSET = r\"\\underset\"\n30: \n31: OVERLINE = r\"\\overline\"\n32: BAR = r\"\\bar\"\n33: UNDERLINE = r\"\\underline\"\n34: OVERRIGHTARROW = r\"\\overrightarrow\"\n35: VEC = r\"\\vec\"\n36: DOT = r\"\\dot\"\n37: TEXT = r\"\\text\"\n38: MATHOP = r\"\\mathop\"\n39: \n40: # The apostrophe (') is shorthand for a prime, i.e. f' == f^{\\prime}\n41: PRIME = r\"\\prime\"\n42: \n43: BEGIN = r\"\\begin\"\n44: END = r\"\\end\"\n45: \n46: LIMITS = r\"\\limits\"\n47: INTEGRAL = r\"\\int\"\n48: SUMMATION = r\"\\sum\"\n49: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n50: \n51: OPERATORNAME = r\"\\operatorname\"\n52: \n53: LBRACE = r\"\\{\"\n54: \n55: FUNCTIONS = (r\"\\log\", r\"\\ln\", r\"\\tan\", r\"\\sec\", r\"\\cos\", r\"\\sin\", r\"\\cot\", r\"\\csc\")\n56: \n57: HLINE = r\"\\hline\"\n58: \n59: CASES = r\"\\cases\"\n60: SUBSTACK = r\"\\substack\"\n61: MATRICES = (\n62: r\"\\matrix\",\n63: r\"\\matrix*\",\n64: r\"\\pmatrix\",\n65: r\"\\pmatrix*\",\n66: r\"\\bmatrix\",\n67: r\"\\bmatrix*\",\n68: r\"\\Bmatrix\",\n69: r\"\\Bmatrix*\",\n70: r\"\\vmatrix\",\n71: r\"\\vmatrix*\",\n72: r\"\\Vmatrix\",\n73: r\"\\Vmatrix*\",\n74: r\"\\array\",\n75: SUBSTACK,\n76: CASES,\n77: )\n78: \n79: BACKSLASH = \"\\\\\"\n80: DOUBLEBACKSLASH = r\"\\\\\"\n81: \n82: QUAD = r\"\\quad\"\n83: QQUAD = r\"\\qquad\"\n84: HSPACE = r\"\\hspace\"\n85: \n86: SPACES = (r\"\\,\", r\"\\:\", r\"\\;\", r\"\\\\\")\n87: \n88: COMMANDS_WITH_ONE_PARAMETER = (OVERLINE, BAR, UNDERLINE, OVERRIGHTARROW, VEC, DOT, MATHOP, HSPACE)\n89: COMMANDS_WITH_TWO_PARAMETERS = (FRAC, BINOM, OVERSET, UNDERSET)\n90: \n91: OLD_STYLE_FONTS = {\n92: r\"\\rm\": \"normal\",\n93: r\"\\bf\": \"bold\",\n94: r\"\\it\": \"italic\",\n95: r\"\\sf\": \"sans-serif\",\n96: r\"\\tt\": \"monospace\",\n97: }\n98: \n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr139__hD9npkE:36"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":267,"content_sha256":"b3b20543211abe94b946b287e1809229a5ff947831d579c4075ddb570e92e0c4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr140__BJhuGxF:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr140__BJhuGxF:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5904,"content_sha256":"b9fa3e293a6740c76c671ea919a1548a63b912cffd28c79edfc9c629a70adb49","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":272,"sha256":"acc136898dbecdbb0fee67d6692a2ad3d8a383bc7630d9ef4e52e927454c54fe","start_line":211,"truncated":true},"content_sha256":"3917d1af96920c84d6047b888a154eaaf5923a24f6951de534bf1cbfa85e5326","end_line":306,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"b6f229832e99c84661a2dede9f3b99decca4550cde3f1e8cc0cbf3a42b007bb4","reference_window":{"end_line":272,"sha256":"d60d004f2c9223cd22cac0b29cdd3030aee41f580d3e031140ef3323be471d9c","start_line":211,"truncated":true},"start_line":181,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr143__JeBE5vW:24","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 181-306\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n211: elif command == r\"\\Bmatrix\":\n212: _convert_and_append_command(r\"\\lbrace\", parent)\n213: elif command == r\"\\vmatrix\":\n214: _convert_and_append_command(r\"\\vert\", parent)\n215: elif command == r\"\\Vmatrix\":\n216: _convert_and_append_command(r\"\\Vert\", parent)\n217: \n218: \n219: def _append_postfix_element(command: str, parent: Element) -> None:\n220: if command in (commands.BINOM, r\"\\pmatrix\"):\n221: _convert_and_append_command(r\"\\rparen\", parent)\n222: elif command == r\"\\bmatrix\":\n223: _convert_and_append_command(r\"\\rbrack\", parent)\n224: elif command == r\"\\Bmatrix\":\n225: _convert_and_append_command(r\"\\rbrace\", parent)\n226: elif command == r\"\\vmatrix\":\n227: _convert_and_append_command(r\"\\vert\", parent)\n228: elif command == r\"\\Vmatrix\":\n229: _convert_and_append_command(r\"\\Vert\", parent)\n230: \n231: \n232: def _convert_symbol(node: Node, parent: Element, is_math_mode: bool = False, font: Optional[str] = None) -> None:\n233: token = node.token\n234: symbol = convert_symbol(token)\n235: if re.match(r\"\\d+(.\\d+)?\", token):\n236: mn = SubElement(parent, \"mn\")\n237: mn.text = token\n238: elif len(token) and token in \"<>&\":\n239: mo = SubElement(parent, \"mo\")\n240: mo.text = {\"<\": \"<\", \">\": \">\", \"&\": \"&\"}[token]\n241: elif len(token) and token in \"+-*/()=,?[]\":\n242: mo = SubElement(parent, \"mo\")\n243: mo.text = token if symbol is None else \"&#x{};\".format(symbol)\n244: if token in \"()[]\":\n245: mo.attrib[\"stretchy\"] = \"false\"\n246: elif (\n247: symbol\n248: and (\n249: int(symbol, 16) in range(int(\"2200\", 16), int(\"22FF\", 16) + 1)\n250: or int(symbol, 16) in range(int(\"2190\", 16), int(\"21FF\", 16) + 1)\n251: )\n252: or symbol == \".\"\n253: ):\n254: mo = SubElement(parent, \"mo\")\n255: mo.text = \"&#x{};\".format(symbol)\n256: elif token == r\"\\ \":\n257: mtext = SubElement(parent, \"mtext\")\n258: mtext.text = \" \"\n259: elif token.startswith(commands.BACKSLASH):\n260: element = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n261: if element.tag == \"mi\" and font is not None:\n262: element.attrib[\"mathvariant\"] = font\n263: if symbol:\n264: element.text = \"&#x{};\".format(symbol)\n265: elif token in commands.FUNCTIONS:\n266: element.text = token[1:]\n267: elif token.startswith(commands.OPERATORNAME):\n268: element.text = token[14:-1]\n269: else:\n270: element.text = token\n271: else:\n272: element = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n[window truncated; visible lines 211-272]\nCandidate text preview (unexecuted):\n211: elif command == r\"\\Bmatrix\":\n212: _convert_and_append_command(r\"\\lbrace\", parent)\n213: elif command == r\"\\vmatrix\":\n214: _convert_and_append_command(r\"\\vert\", parent)\n215: elif command == r\"\\Vmatrix\":\n216: _convert_and_append_command(r\"\\Vert\", parent)\n217: \n218: \n219: def _append_postfix_element(command: str, parent: Element) -> None:\n220: if command in (commands.BINOM, r\"\\pmatrix\"):\n221: _convert_and_append_command(r\"\\rparen\", parent)\n222: elif command == r\"\\bmatrix\":\n223: _convert_and_append_command(r\"\\rbrack\", parent)\n224: elif command == r\"\\Bmatrix\":\n225: _convert_and_append_command(r\"\\rbrace\", parent)\n226: elif command == r\"\\vmatrix\":\n227: _convert_and_append_command(r\"\\vert\", parent)\n228: elif command == r\"\\Vmatrix\":\n229: _convert_and_append_command(r\"\\Vert\", parent)\n230: \n231: \n232: def _convert_symbol(node: Node, parent: Element, is_math_mode: bool = False, font: Optional[str] = None) -> None:\n233: token = node.token\n234: symbol = convert_symbol(token)\n235: if re.match(r\"\\d+(.\\d+)?\", token):\n236: mn = SubElement(parent, \"mn\")\n237: mn.text = token\n238: elif len(token) and token in \"<>&\":\n239: mo = SubElement(parent, \"mo\")\n240: mo.text = {\"<\": \"<\", \">\": \">\", \"&\": \"&\"}[token]\n241: elif len(token) and token in \"+-*/()=,?[]|\":\n242: mo = SubElement(parent, \"mo\")\n243: mo.text = token if symbol is None else \"&#x{};\".format(symbol)\n244: if token in \"()[]|\":\n245: mo.attrib[\"stretchy\"] = \"false\"\n246: elif token == r\"\\|\":\n247: mo = SubElement(parent, \"mo\", fence=\"false\", stretchy=\"false\")\n248: mo.text = \"&#x{};\".format(symbol)\n249: elif (\n250: symbol\n251: and (\n252: int(symbol, 16) in range(int(\"2200\", 16), int(\"22FF\", 16) + 1)\n253: or int(symbol, 16) in range(int(\"2190\", 16), int(\"21FF\", 16) + 1)\n254: )\n255: or symbol == \".\"\n256: ):\n257: mo = SubElement(parent, \"mo\")\n258: mo.text = \"&#x{};\".format(symbol)\n259: elif token == r\"\\ \":\n260: mtext = SubElement(parent, \"mtext\")\n261: mtext.text = \" \"\n262: elif token.startswith(commands.BACKSLASH):\n263: element = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n264: if element.tag == \"mi\" and font is not None:\n265: element.attrib[\"mathvariant\"] = font\n266: if symbol:\n267: element.text = \"&#x{};\".format(symbol)\n268: elif token in commands.FUNCTIONS:\n269: element.text = token[1:]\n270: elif token.startswith(commands.OPERATORNAME):\n271: element.text = token[14:-1]\n272: else:\n[window truncated; visible lines 211-272]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr143__JeBE5vW:24"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5842,"content_sha256":"74fd594fb9b99a2f3eb8c1ea05e75d58fcc4b051677d27aa1ef6b7725c823a8b","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":1504,"sha256":"db46907f38b646ca960c88eeb378cdaf84c773814aa32da96940bcaa2097c629","start_line":1432,"truncated":true},"content_sha256":"dd250637a29df01dc2a9589a0e30de0084502241c486b92506c030ef0c7ea562","end_line":1535,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"f37c3919b2e9c35379ab9831ce894192caf21555568aaef85f823cbf4712cd20","reference_window":{"end_line":1497,"sha256":"88dc0ac1cd39cb0d6b08b7df3664ad2ab64c1df195fe7dda049a1c83a999e07d","start_line":1428,"truncated":true},"start_line":1408,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr144__Yn3iPQc:37","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_converter.py, reference lines 1408-1535\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1428: id=\"prime-no-base\",\n1429: ),\n1430: pytest.param(\n1431: r\"a\\,b\\:a\\>b\\;a\\\\b\\!a\",\n1432: MultiDict(\n1433: [\n1434: (\"mi\", \"a\"),\n1435: (\"mspace\", {\"@width\": \"0.167em\"}),\n1436: (\"mi\", \"b\"),\n1437: (\"mspace\", {\"@width\": \"0.222em\"}),\n1438: (\"mi\", \"a\"),\n1439: (\"mspace\", {\"@width\": \"0.222em\"}),\n1440: (\"mi\", \"b\"),\n1441: (\"mspace\", {\"@width\": \"0.278em\"}),\n1442: (\"mi\", \"a\"),\n1443: (\"mspace\", {\"@linebreak\": \"newline\"}),\n1444: (\"mi\", \"b\"),\n1445: (\"mspace\", {\"@width\": \"negativethinmathspace\"}),\n1446: (\"mi\", \"a\"),\n1447: ]\n1448: ),\n1449: id=\"spaces\",\n1450: ),\n1451: pytest.param(\n1452: r\"|x|\",\n1453: MultiDict(\n1454: [\n1455: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"|\"}),\n1456: (\"mi\", \"x\"),\n1457: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"|\"}),\n1458: ]\n1459: ),\n1460: id=\"pipe\",\n1461: ),\n1462: pytest.param(\n1463: r\"\\|x\\|\",\n1464: MultiDict(\n1465: [\n1466: (\"mo\", {\"@fence\": \"false\", \"@stretchy\": \"false\", \"$\": \"‖\"}),\n1467: (\"mi\", \"x\"),\n1468: (\"mo\", {\"@fence\": \"false\", \"@stretchy\": \"false\", \"$\": \"‖\"}),\n1469: ]\n1470: ),\n1471: id=\"double-pipe\",\n1472: ),\n1473: ],\n1474: )\n1475: def test_converter(latex: str, json: MultiDict) -> None:\n1476: parent = {\n1477: \"math\": {\n1478: \"@xmlns\": \"http://www.w3.org/1998/Math/MathML\",\n1479: \"@display\": \"block\",\n1480: \"mrow\": json,\n1481: }\n1482: }\n1483: bf = BadgerFish(dict_type=MultiDict)\n1484: math = bf.etree(parent)\n1485: assert convert(latex, display=\"block\") == _convert(math[0])\n1486: \n1487: \n1488: @pytest.mark.skipif(sys.version_info < (3, 8), reason=\"xml.etree sorts attributes in 3.7 and below\")\n1489: def test_attributes() -> None:\n1490: assert (\n1491: convert(\"1\")\n1492: == '1'\n1493: )\n1494: assert (\n1495: convert(\"1\", display=\"block\")\n1496: == '1'\n1497: )\n[window truncated; visible lines 1428-1497]\nCandidate text preview (unexecuted):\n1432: MultiDict(\n1433: [\n1434: (\"mi\", \"a\"),\n1435: (\"mspace\", {\"@width\": \"0.167em\"}),\n1436: (\"mi\", \"b\"),\n1437: (\"mspace\", {\"@width\": \"0.222em\"}),\n1438: (\"mi\", \"a\"),\n1439: (\"mspace\", {\"@width\": \"0.222em\"}),\n1440: (\"mi\", \"b\"),\n1441: (\"mspace\", {\"@width\": \"0.278em\"}),\n1442: (\"mi\", \"a\"),\n1443: (\"mspace\", {\"@linebreak\": \"newline\"}),\n1444: (\"mi\", \"b\"),\n1445: (\"mspace\", {\"@width\": \"negativethinmathspace\"}),\n1446: (\"mi\", \"a\"),\n1447: ]\n1448: ),\n1449: id=\"spaces\",\n1450: ),\n1451: pytest.param(\n1452: r\"|x|\",\n1453: MultiDict(\n1454: [\n1455: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"|\"}),\n1456: (\"mi\", \"x\"),\n1457: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"|\"}),\n1458: ]\n1459: ),\n1460: id=\"pipe\",\n1461: ),\n1462: pytest.param(\n1463: r\"\\|x\\|\",\n1464: MultiDict(\n1465: [\n1466: (\"mo\", {\"@fence\": \"false\", \"@stretchy\": \"false\", \"$\": \"‖\"}),\n1467: (\"mi\", \"x\"),\n1468: (\"mo\", {\"@fence\": \"false\", \"@stretchy\": \"false\", \"$\": \"‖\"}),\n1469: ]\n1470: ),\n1471: id=\"double-pipe\",\n1472: ),\n1473: pytest.param(\n1474: \"Hello~World\",\n1475: MultiDict(\n1476: [\n1477: (\"mi\", \"H\"),\n1478: (\"mi\", \"e\"),\n1479: (\"mi\", \"l\"),\n1480: (\"mi\", \"l\"),\n1481: (\"mi\", \"o\"),\n1482: (\"mtext\", \" \"),\n1483: (\"mi\", \"W\"),\n1484: (\"mi\", \"o\"),\n1485: (\"mi\", \"r\"),\n1486: (\"mi\", \"l\"),\n1487: (\"mi\", \"d\"),\n1488: ]\n1489: ),\n1490: id=\"tilde\",\n1491: ),\n1492: pytest.param(r\"\\text{Hello~World}\", {\"mtext\": \"Hello~World\"}, id=\"tilde-in-text\"),\n1493: ],\n1494: )\n1495: def test_converter(latex: str, json: MultiDict) -> None:\n1496: parent = {\n1497: \"math\": {\n1498: \"@xmlns\": \"http://www.w3.org/1998/Math/MathML\",\n1499: \"@display\": \"block\",\n1500: \"mrow\": json,\n1501: }\n1502: }\n1503: bf = BadgerFish(dict_type=MultiDict)\n1504: math = bf.etree(parent)\n[window truncated; visible lines 1432-1504]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr144__Yn3iPQc:37"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr145__4cwXywQ:31","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr145__4cwXywQ:31"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5911,"content_sha256":"83dc0b3ec448de74e3e710307f83f6ba3348670a9e51c36e7bcdf8b12f0abf81","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":79,"sha256":"d3dc0fea73bb35912966d3b00806d905d7fe3435ee8b46dd37531707103b5fb4","start_line":1,"truncated":true},"content_sha256":"1c5c3994a114beca3f2ee893d2c187c789f146b006379ec4f94070e3c7646e2e","end_line":96,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/tokenizer.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"abbd4fc7b1744507b0785d1f9bab2f773fa3360993d60d449ccfac7dfc43e09b","reference_window":{"end_line":80,"sha256":"4f23191d38844f2240f5bb30c4f8372ea084963f9a5dcbf37e0e177982af1147","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr146__hH8rDNT:29","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/tokenizer.py, reference lines 1-96\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: from typing import Iterator, Union\n2: \n3: from latex2mathml import commands\n4: from latex2mathml.symbols_parser import convert_symbol\n5: \n6: LENGTHS = (\n7: \"in\",\n8: \"mm\",\n9: \"cm\",\n10: \"pt\",\n11: \"em\",\n12: \"ex\",\n13: \"pc\",\n14: \"bp\",\n15: \"dd\",\n16: \"cc\",\n17: \"sp\",\n18: )\n19: \n20: \n21: def tokenize(data: str) -> Iterator[Union[str, list]]:\n22: iterable = iter(data)\n23: buffer = \"\"\n24: while True:\n25: try:\n26: char = next(iterable)\n27: if char == commands.BACKSLASH:\n28: if buffer == commands.BACKSLASH:\n29: yield buffer + char\n30: buffer = \"\"\n31: continue\n32: elif len(buffer):\n33: yield buffer\n34: buffer = char\n35: print(\"here\")\n36: try:\n37: buffer += next(iterable)\n38: if buffer in (r\"\\\\\", r\"\\[\", r\"\\]\", r\"\\{\", r\"\\}\", r\"\\ \", r\"\\!\", r\"\\,\", r\"\\:\", r\"\\>\", r\"\\;\", r\"\\|\"):\n39: yield buffer\n40: buffer = \"\"\n41: except StopIteration:\n42: break\n43: elif char == \"%\":\n44: if buffer == commands.BACKSLASH:\n45: yield buffer + char\n46: buffer = \"\"\n47: continue\n48: elif len(buffer):\n49: yield buffer\n50: buffer = \"\"\n51: for char in iterable:\n52: if char == \"\\n\":\n53: break\n54: elif char.isalpha():\n55: if buffer.startswith(commands.HSPACE):\n56: buffer += char\n57: if \"{\" not in buffer and (buffer + char).endswith(LENGTHS):\n58: yield commands.HSPACE\n59: yield buffer[7:]\n60: buffer = \"\"\n61: continue\n62: if len(buffer):\n63: if buffer.endswith(\"}\"):\n64: yield buffer\n65: yield char\n66: buffer = \"\"\n67: elif buffer.startswith(commands.BACKSLASH):\n68: buffer += char\n69: else:\n70: yield char\n71: elif char.isdigit():\n72: if buffer.startswith(commands.HSPACE):\n73: buffer += char\n74: continue\n75: if len(buffer):\n76: yield buffer\n77: buffer = char\n78: while True:\n79: try:\n80: char = next(iterable)\n[window truncated; visible lines 1-80]\nCandidate text preview (unexecuted):\n1: from typing import Iterator, Union\n2: \n3: from latex2mathml import commands\n4: from latex2mathml.symbols_parser import convert_symbol\n5: \n6: LENGTHS = (\n7: \"in\",\n8: \"mm\",\n9: \"cm\",\n10: \"pt\",\n11: \"em\",\n12: \"ex\",\n13: \"pc\",\n14: \"bp\",\n15: \"dd\",\n16: \"cc\",\n17: \"sp\",\n18: )\n19: \n20: \n21: def tokenize(data: str) -> Iterator[Union[str, list]]:\n22: iterable = iter(data)\n23: buffer = \"\"\n24: while True:\n25: try:\n26: char = next(iterable)\n27: if char == commands.BACKSLASH:\n28: if buffer == commands.BACKSLASH:\n29: yield buffer + char\n30: buffer = \"\"\n31: continue\n32: elif len(buffer):\n33: yield buffer\n34: buffer = char\n35: try:\n36: buffer += next(iterable)\n37: if buffer in (r\"\\\\\", r\"\\[\", r\"\\]\", r\"\\{\", r\"\\}\", r\"\\ \", r\"\\!\", r\"\\,\", r\"\\:\", r\"\\>\", r\"\\;\", r\"\\|\"):\n38: yield buffer\n39: buffer = \"\"\n40: except StopIteration:\n41: break\n42: elif char == \"%\":\n43: if buffer == commands.BACKSLASH:\n44: yield buffer + char\n45: buffer = \"\"\n46: continue\n47: elif len(buffer):\n48: yield buffer\n49: buffer = \"\"\n50: for char in iterable:\n51: if char == \"\\n\":\n52: break\n53: elif char.isalpha():\n54: if buffer.startswith(commands.HSPACE):\n55: buffer += char\n56: if \"{\" not in buffer and (buffer + char).endswith(LENGTHS):\n57: yield commands.HSPACE\n58: yield buffer[7:]\n59: buffer = \"\"\n60: continue\n61: if len(buffer):\n62: if buffer.endswith(\"}\"):\n63: yield buffer\n64: yield char\n65: buffer = \"\"\n66: elif buffer.startswith(commands.BACKSLASH):\n67: buffer += char\n68: else:\n69: yield char\n70: elif char.isdigit():\n71: if buffer.startswith(commands.HSPACE):\n72: buffer += char\n73: continue\n74: if len(buffer):\n75: yield buffer\n76: buffer = char\n77: while True:\n78: try:\n79: char = next(iterable)\n[window truncated; visible lines 1-79]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr146__hH8rDNT:29"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5877,"content_sha256":"4b1efa5dff699be31e504dcc4b68586afbb32c24ae08a44b4ebe51283d86afac","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":164,"sha256":"30f0a91390e921280630047b0c434a0a04d7158973048f2fac3a446369b05452","start_line":105,"truncated":true},"content_sha256":"30da21bd54ac502e44882ea41aceccead351f2d00b2983476b1796a7b4e6e5e6","end_line":216,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/tokenizer.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"bc892e5a8d5d05df322f9108024c818fee80148dfcb85ad67e5e1eb0ab085f84","reference_window":{"end_line":160,"sha256":"6a685fc98ef37072167f08d428b23b037873fcfb240459d3cd86e09748c48931","start_line":102,"truncated":true},"start_line":84,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr148__NxPZaQA:11","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/tokenizer.py, reference lines 84-216\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n102: # unimathsymbols.txt and hard-coding all of them is inefficient.\n103: if buffer.startswith(\n104: (commands.BEGIN, commands.END, commands.OPERATORNAME, commands.TEXT, commands.HSPACE, r\"\\math\")\n105: ):\n106: if buffer.endswith(\"}\"):\n107: yield buffer\n108: yield char\n109: buffer = \"\"\n110: continue\n111: elif buffer.startswith(r\"\\math\") and char == \"}\":\n112: symbol = convert_symbol(buffer + char)\n113: if symbol:\n114: yield \"&#x{};\".format(symbol)\n115: buffer = \"\"\n116: continue\n117: else:\n118: index = buffer.index(\"{\")\n119: yield buffer[:index]\n120: yield buffer[index]\n121: yield from tokenize(buffer[index + 1 :])\n122: yield char\n123: buffer = \"\"\n124: continue\n125: elif buffer.startswith(commands.TEXT) and char == \"}\":\n126: yield buffer[:5]\n127: yield buffer[6:]\n128: buffer = \"\"\n129: continue\n130: elif buffer.startswith(commands.HSPACE) and char == \"}\":\n131: index = buffer.index(\"{\")\n132: yield buffer[:index]\n133: yield buffer[index]\n134: yield buffer[index + 1 :]\n135: yield char\n136: buffer = \"\"\n137: continue\n138: buffer += char\n139: else:\n140: if len(buffer):\n141: yield buffer\n142: buffer = \"\"\n143: yield char\n144: else:\n145: if len(buffer):\n146: if buffer.startswith(r\"\\math\"):\n147: yield buffer[:-1]\n148: yield buffer[-1]\n149: elif buffer.startswith(commands.TEXT):\n150: buffer += char\n151: continue\n152: else:\n153: yield buffer\n154: buffer = \"\"\n155: if len(char):\n156: yield char\n157: except StopIteration:\n158: break\n159: if len(buffer):\n160: yield buffer\n[window truncated; visible lines 102-160]\nCandidate text preview (unexecuted):\n105: ):\n106: if buffer.endswith(\"}\"):\n107: yield buffer\n108: yield char\n109: buffer = \"\"\n110: continue\n111: elif buffer.startswith(r\"\\math\") and char == \"}\":\n112: symbol = convert_symbol(buffer + char)\n113: if symbol:\n114: yield \"&#x{};\".format(symbol)\n115: buffer = \"\"\n116: continue\n117: else:\n118: index = buffer.index(\"{\")\n119: yield buffer[:index]\n120: yield buffer[index]\n121: yield from tokenize(buffer[index + 1 :])\n122: yield char\n123: buffer = \"\"\n124: continue\n125: elif buffer.startswith(commands.TEXT) and char == \"}\":\n126: yield buffer[:5]\n127: yield buffer[6:]\n128: buffer = \"\"\n129: continue\n130: elif buffer.startswith(commands.HSPACE) and char == \"}\":\n131: index = buffer.index(\"{\")\n132: yield buffer[:index]\n133: yield buffer[index]\n134: yield buffer[index + 1 :]\n135: yield char\n136: buffer = \"\"\n137: continue\n138: buffer += char\n139: else:\n140: if len(buffer):\n141: yield buffer\n142: buffer = \"\"\n143: yield char\n144: else:\n145: if len(buffer):\n146: if buffer.startswith(r\"\\math\"):\n147: yield buffer[:-1]\n148: yield buffer[-1]\n149: elif buffer.startswith(commands.TEXT):\n150: buffer += char\n151: continue\n152: elif char == \".\" and buffer.startswith(commands.HSPACE):\n153: # A decimal point inside a \\hspace dimension.\n154: buffer += char\n155: continue\n156: else:\n157: yield buffer\n158: buffer = \"\"\n159: if len(char):\n160: yield char\n161: except StopIteration:\n162: break\n163: if len(buffer):\n164: yield buffer\n[window truncated; visible lines 105-164]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr148__NxPZaQA:11"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5907,"content_sha256":"abcc7b2f08f6aeb1bc6be859a3676c1711ef824dca773fabc5532405e8cce450","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":227,"sha256":"3aa091859094ead74fdf44b4ef7450fdb7cc0e7b7ca2a13df1e9d40b20219727","start_line":166,"truncated":true},"content_sha256":"67de07317fc4170777417aa769597e9fff5a1ca0501dc2b328e354213079e959","end_line":258,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"84bcdc7ef4e90c6300dd06946c44a24475517af08753aadb93eea7c86ae3b040","reference_window":{"end_line":227,"sha256":"83d8f7444d7bf2c49f914dcedb65f3dcdcadfe7e4725f9eb3b48392891298f46","start_line":166,"truncated":true},"start_line":136,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr149__xjHm9FA:16","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 136-258\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n166: element.text = node.text.replace(\" \", \" \")\n167: elif node.delimiter is not None:\n168: if node.delimiter != \".\":\n169: symbol = convert_symbol(node.delimiter)\n170: element.text = node.delimiter if symbol is None else \"&#x{};\".format(symbol)\n171: \n172: if node.children is not None:\n173: _parent = element\n174: if command == commands.LEFT:\n175: _parent = parent\n176: if command in commands.MATRICES:\n177: if command == commands.CASES:\n178: alignment = \"l\"\n179: _convert_matrix(iter(node.children), _parent, alignment=alignment)\n180: elif command == commands.MATHOP:\n181: _convert_group(iter(node.children), _parent, is_math_mode, font)\n182: else:\n183: _convert_group(iter(node.children), _parent, is_math_mode, font)\n184: \n185: _append_postfix_element(command, parent)\n186: \n187: if command in (commands.OVERLINE, commands.BAR):\n188: mo = SubElement(element, \"mo\", stretchy=\"true\")\n189: mo.text = \"¯\"\n190: elif command == commands.UNDERLINE:\n191: mo = SubElement(element, \"mo\", stretchy=\"true\")\n192: mo.text = \"̲\"\n193: elif command in (commands.OVERRIGHTARROW, commands.VEC):\n194: mo = SubElement(element, \"mo\", stretchy=\"true\")\n195: mo.text = \"→\"\n196: elif command == commands.DOT:\n197: mo = SubElement(element, \"mo\")\n198: mo.text = \"˙\"\n199: \n200: \n201: def _convert_and_append_command(command: str, parent: Element) -> None:\n202: code_point = convert_symbol(command)\n203: mo = SubElement(parent, \"mo\")\n204: mo.text = \"&#x{};\".format(code_point)\n205: \n206: \n207: def _append_prefix_element(command: str, parent: Element) -> None:\n208: if command in (commands.BINOM, r\"\\pmatrix\"):\n209: _convert_and_append_command(r\"\\lparen\", parent)\n210: elif command == r\"\\bmatrix\":\n211: _convert_and_append_command(r\"\\lbrack\", parent)\n212: elif command == r\"\\Bmatrix\":\n213: _convert_and_append_command(r\"\\lbrace\", parent)\n214: elif command == r\"\\vmatrix\":\n215: _convert_and_append_command(r\"\\vert\", parent)\n216: elif command == r\"\\Vmatrix\":\n217: _convert_and_append_command(r\"\\Vert\", parent)\n218: \n219: \n220: def _append_postfix_element(command: str, parent: Element) -> None:\n221: if command in (commands.BINOM, r\"\\pmatrix\"):\n222: _convert_and_append_command(r\"\\rparen\", parent)\n223: elif command == r\"\\bmatrix\":\n224: _convert_and_append_command(r\"\\rbrack\", parent)\n225: elif command == r\"\\Bmatrix\":\n226: _convert_and_append_command(r\"\\rbrace\", parent)\n227: elif command == r\"\\vmatrix\":\n[window truncated; visible lines 166-227]\nCandidate text preview (unexecuted):\n166: element.text = node.text.replace(\" \", \" \")\n167: elif node.delimiter is not None:\n168: if node.delimiter != \".\":\n169: symbol = convert_symbol(node.delimiter)\n170: element.text = node.delimiter if symbol is None else \"&#x{};\".format(symbol)\n171: \n172: if node.children is not None:\n173: _parent = element\n174: if command == commands.LEFT:\n175: _parent = parent\n176: if command in commands.MATRICES:\n177: if command == commands.CASES:\n178: alignment = \"l\"\n179: _convert_matrix(iter(node.children), _parent, alignment=alignment)\n180: elif command == commands.MATHOP:\n181: _convert_group(iter(node.children), _parent, is_math_mode, font)\n182: else:\n183: _convert_group(iter(node.children), _parent, is_math_mode, font)\n184: \n185: _append_postfix_element(command, parent)\n186: \n187: if command in (commands.OVERLINE, commands.BAR):\n188: mo = SubElement(element, \"mo\", stretchy=\"true\")\n189: mo.text = \"¯\"\n190: elif command == commands.UNDERLINE:\n191: mo = SubElement(element, \"mo\", stretchy=\"true\")\n192: mo.text = \"̲\"\n193: elif command in (commands.OVERRIGHTARROW, commands.VEC):\n194: mo = SubElement(element, \"mo\", stretchy=\"true\")\n195: mo.text = \"→\"\n196: elif command == commands.DOT:\n197: mo = SubElement(element, \"mo\")\n198: mo.text = \"˙\"\n199: elif command == commands.ACUTE:\n200: mo = SubElement(element, \"mo\")\n201: mo.text = \"´\"\n202: \n203: \n204: def _convert_and_append_command(command: str, parent: Element) -> None:\n205: code_point = convert_symbol(command)\n206: mo = SubElement(parent, \"mo\")\n207: mo.text = \"&#x{};\".format(code_point)\n208: \n209: \n210: def _append_prefix_element(command: str, parent: Element) -> None:\n211: if command in (commands.BINOM, r\"\\pmatrix\"):\n212: _convert_and_append_command(r\"\\lparen\", parent)\n213: elif command == r\"\\bmatrix\":\n214: _convert_and_append_command(r\"\\lbrack\", parent)\n215: elif command == r\"\\Bmatrix\":\n216: _convert_and_append_command(r\"\\lbrace\", parent)\n217: elif command == r\"\\vmatrix\":\n218: _convert_and_append_command(r\"\\vert\", parent)\n219: elif command == r\"\\Vmatrix\":\n220: _convert_and_append_command(r\"\\Vert\", parent)\n221: \n222: \n223: def _append_postfix_element(command: str, parent: Element) -> None:\n224: if command in (commands.BINOM, r\"\\pmatrix\"):\n225: _convert_and_append_command(r\"\\rparen\", parent)\n226: elif command == r\"\\bmatrix\":\n227: _convert_and_append_command(r\"\\rbrack\", parent)\n[window truncated; visible lines 166-227]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr149__xjHm9FA:16"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5489,"content_sha256":"ddb8b145efd0aca0dfbc8fcd1ab7e4542b78a6136ee6184a5fe19b9705267716","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":513,"sha256":"3ceddaada3f8693e9460421fd377e334fff485c7f933a6479b6af0e39c2d791f","start_line":435,"truncated":false},"content_sha256":"7f6f0530fe5235e7224245dfa154b6cdc8ea31c303e8d414b76d1bcc83b4a72d","end_line":559,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_tokenizer.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"639b823cbdac8f6a5a5082edcaa92911875ca4b553d4a741f4963904d2e020dc","reference_window":{"end_line":508,"sha256":"627e87b3c0503abbabce676f7c0fdfe5bde1fbd04a686fcadd2a37c5e319d1f6","start_line":435,"truncated":false},"start_line":435,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr153__x6AxFDr:40","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_tokenizer.py, reference lines 435-559\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n435: pytest.param(\n436: r\"x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\",\n437: [\n438: \"x\",\n439: \"=\",\n440: \"{\",\n441: \"-\",\n442: \"b\",\n443: r\"\\pm\",\n444: r\"\\sqrt\",\n445: \"{\",\n446: \"b\",\n447: \"^\",\n448: \"2\",\n449: \"-\",\n450: \"4\",\n451: \"a\",\n452: \"c\",\n453: \"}\",\n454: r\"\\over\",\n455: \"2\",\n456: \"a\",\n457: \"}\",\n458: ],\n459: id=\"quadratic-equation\",\n460: ),\n461: pytest.param(\n462: r\"a\\,\\overset{?}{=}\\,b\", [\"a\", \"\\\\,\", r\"\\overset\", \"{\", \"?\", \"}\", \"{\", \"=\", \"}\", \"\\\\,\", \"b\"], id=\"issue-125\"\n463: ),\n464: pytest.param(\n465: r\"|\\hspace1em|\\hspace 1.2em|\\hspace{1.5ex}|\\hspace {2ex}|\",\n466: [\n467: \"|\",\n468: r\"\\hspace\",\n469: \"1em\",\n470: \"|\",\n471: r\"\\hspace\",\n472: \"1.2em\",\n473: \"|\",\n474: r\"\\hspace\",\n475: \"{\",\n476: \"1.5ex\",\n477: \"}\",\n478: \"|\",\n479: r\"\\hspace\",\n480: \"{\",\n481: \"2ex\",\n482: \"}\",\n483: \"|\",\n484: ],\n485: id=\"issue-129\",\n486: ),\n487: pytest.param(r\"\\text{Hello~World}\", [r\"\\text\", \"Hello~World\"], id=\"tilde-in-text\"),\n488: pytest.param(\n489: r\"\"\"% this is hidden\n490: 100\\%! 100% this is hidden, too\n491: \\test% this is another hidden line\"\"\",\n492: [\"100\", r\"\\%\", \"!\", \"100\", r\"\\test\"],\n493: id=\"comments\",\n494: ),\n495: pytest.param(\n496: r\"{a \\above 1pt b} + {c \\above { 1.5 pt } d}\",\n497: [\"{\", \"a\", r\"\\above\", \"1pt\", \"b\", \"}\", \"+\", \"{\", \"c\", r\"\\above\", \"{\", \"1.5pt\", \"}\", \"d\", \"}\"],\n498: id=\"above\",\n499: ),\n500: pytest.param(\n501: r\"\\mathop{x}\\limits_0^1\",\n502: [r\"\\mathop\", \"{\", \"x\", \"}\", r\"\\limits\", \"_\", \"0\", \"^\", \"1\"],\n503: id=\"issue-125\",\n504: ),\n505: ],\n506: )\n507: def test_tokenize(latex: str, expected: list) -> None:\n508: assert list(tokenize(latex)) == expected\nCandidate text preview (unexecuted):\n435: pytest.param(\n436: r\"x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\",\n437: [\n438: \"x\",\n439: \"=\",\n440: \"{\",\n441: \"-\",\n442: \"b\",\n443: r\"\\pm\",\n444: r\"\\sqrt\",\n445: \"{\",\n446: \"b\",\n447: \"^\",\n448: \"2\",\n449: \"-\",\n450: \"4\",\n451: \"a\",\n452: \"c\",\n453: \"}\",\n454: r\"\\over\",\n455: \"2\",\n456: \"a\",\n457: \"}\",\n458: ],\n459: id=\"quadratic-equation\",\n460: ),\n461: pytest.param(\n462: r\"a\\,\\overset{?}{=}\\,b\", [\"a\", \"\\\\,\", r\"\\overset\", \"{\", \"?\", \"}\", \"{\", \"=\", \"}\", \"\\\\,\", \"b\"], id=\"issue-125\"\n463: ),\n464: pytest.param(\n465: r\"|\\hspace1em|\\hspace 1.2em|\\hspace{1.5ex}|\\hspace {2ex}|\",\n466: [\n467: \"|\",\n468: r\"\\hspace\",\n469: \"1em\",\n470: \"|\",\n471: r\"\\hspace\",\n472: \"1.2em\",\n473: \"|\",\n474: r\"\\hspace\",\n475: \"{\",\n476: \"1.5ex\",\n477: \"}\",\n478: \"|\",\n479: r\"\\hspace\",\n480: \"{\",\n481: \"2ex\",\n482: \"}\",\n483: \"|\",\n484: ],\n485: id=\"issue-129\",\n486: ),\n487: pytest.param(r\"\\text{Hello~World}\", [r\"\\text\", \"Hello~World\"], id=\"tilde-in-text\"),\n488: pytest.param(\n489: r\"\"\"% this is hidden\n490: 100\\%! 100% this is hidden, too\n491: \\test% this is another hidden line\"\"\",\n492: [\"100\", r\"\\%\", \"!\", \"100\", r\"\\test\"],\n493: id=\"comments\",\n494: ),\n495: pytest.param(\n496: r\"{a \\above 1pt b} + {c \\above { 1.5 pt } d}\",\n497: [\"{\", \"a\", r\"\\above\", \"1pt\", \"b\", \"}\", \"+\", \"{\", \"c\", r\"\\above\", \"{\", \"1.5pt\", \"}\", \"d\", \"}\"],\n498: id=\"above\",\n499: ),\n500: pytest.param(\n501: r\"a \\abovewithdelims [ ] 1pt b\",\n502: [\"a\", r\"\\abovewithdelims\", \"[\", \"]\", \"1pt\", \"b\"],\n503: id=\"abovewithdelims\",\n504: ),\n505: pytest.param(\n506: r\"\\mathop{x}\\limits_0^1\",\n507: [r\"\\mathop\", \"{\", \"x\", \"}\", r\"\\limits\", \"_\", \"0\", \"^\", \"1\"],\n508: id=\"issue-125\",\n509: ),\n510: ],\n511: )\n512: def test_tokenize(latex: str, expected: list) -> None:\n513: assert list(tokenize(latex)) == expected\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr153__x6AxFDr:40"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":267,"content_sha256":"b3b20543211abe94b946b287e1809229a5ff947831d579c4075ddb570e92e0c4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr154__VP9WNHU:17","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr154__VP9WNHU:17"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":2961,"content_sha256":"bb0433a754f7955595201dcfeccece275772c44fee0913aa4f16757846989ce7","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":35,"sha256":"dc91f5e0729d65a7f2f026f8e65fa33bbebeb25497c75fb7a45a4f7b8001d012","start_line":1,"truncated":false},"content_sha256":"dadb44233765f0b46817b8ad5f16a086e928b37a7f66c36fa3b989e565536035","end_line":94,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/symbols_parser.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"a1e8f74f400e2b413e83c66a70b1faffce7db72b1ad3d18a9bb5b909859c50e8","reference_window":{"end_line":34,"sha256":"70d8d70ce39f9e9cc51f59668d708fa28fb287d933f58fab4a17a9ceafaba635","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr157__oVQsjFc:17","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/symbols_parser.py, reference lines 1-94\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import codecs\n2: import os\n3: import re\n4: from typing import Optional, Union\n5: \n6: SYMBOLS_FILE: str = os.path.join(os.path.dirname(os.path.realpath(__file__)), \"unimathsymbols.txt\")\n7: SYMBOLS: Optional[dict] = None\n8: \n9: \n10: def convert_symbol(symbol: str) -> Union[str, None]:\n11: global SYMBOLS\n12: if not SYMBOLS:\n13: SYMBOLS = parse_symbols()\n14: return SYMBOLS.get(symbol, None)\n15: \n16: \n17: def parse_symbols() -> dict:\n18: _symbols = {}\n19: with codecs.open(SYMBOLS_FILE, encoding=\"utf-8\") as f:\n20: for line in f:\n21: if not line.startswith(\"#\"):\n22: columns = line.strip().split(\"^\")\n23: _unicode = columns[0]\n24: latex = columns[2]\n25: unicode_math = columns[3]\n26: if latex and latex not in _symbols:\n27: _symbols[latex] = _unicode\n28: if unicode_math and unicode_math not in _symbols:\n29: _symbols[unicode_math] = _unicode\n30: for equivalent in re.findall(r\"=\\s+(\\\\[^,^ ]+),?\", columns[-1]):\n31: if equivalent not in _symbols:\n32: _symbols[equivalent] = _unicode\n33: _symbols[r\"\\bigcirc\"] = _symbols[r\"\\lgwhtcircle\"]\n34: return _symbols\nCandidate text preview (unexecuted):\n1: import codecs\n2: import os\n3: import re\n4: from typing import Optional, Union\n5: \n6: SYMBOLS_FILE: str = os.path.join(os.path.dirname(os.path.realpath(__file__)), \"unimathsymbols.txt\")\n7: SYMBOLS: Optional[dict] = None\n8: \n9: \n10: def convert_symbol(symbol: str) -> Union[str, None]:\n11: global SYMBOLS\n12: if not SYMBOLS:\n13: SYMBOLS = parse_symbols()\n14: return SYMBOLS.get(symbol, None)\n15: \n16: \n17: def parse_symbols() -> dict:\n18: _symbols = {}\n19: with codecs.open(SYMBOLS_FILE, encoding=\"utf-8\") as f:\n20: for line in f:\n21: if not line.startswith(\"#\"):\n22: columns = line.strip().split(\"^\")\n23: _unicode = columns[0]\n24: latex = columns[2]\n25: unicode_math = columns[3]\n26: if latex and latex not in _symbols:\n27: _symbols[latex] = _unicode\n28: if unicode_math and unicode_math not in _symbols:\n29: _symbols[unicode_math] = _unicode\n30: for equivalent in re.findall(r\"=\\s+(\\\\[^,^ ]+),?\", columns[-1]):\n31: if equivalent not in _symbols:\n32: _symbols[equivalent] = _unicode\n33: _symbols[r\"\\bigcirc\"] = _symbols[r\"\\lgwhtcircle\"]\n34: _symbols[r\"\\Box\"] = _symbols[r\"\\square\"]\n35: return _symbols\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr157__oVQsjFc:17"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5908,"content_sha256":"bf9d7ed8263bab3477ff000e50b9a32862e6c7f02d63f6c1ef862eeeeacbaf26","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":1510,"sha256":"f3923a5f100c5dfea211a4e0b962239ca548d5074cfb78ce4d771c1ab616f5f2","start_line":1448,"truncated":true},"content_sha256":"7b8673370b6f5ed6c1072f5f42b55f2d048a493e7b96f9883127c2c1054d4452","end_line":1548,"note":"insert preview is text-only simulation, NOT execution","path":"tests/test_walker.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"c152f9bf7027b7de68658646602a5640598df9750701b1822bbdeaaa2217d931","reference_window":{"end_line":1510,"sha256":"f3923a5f100c5dfea211a4e0b962239ca548d5074cfb78ce4d771c1ab616f5f2","start_line":1448,"truncated":true},"start_line":1428,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr159__Epe7uCX:34","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_walker.py, reference lines 1428-1548\ninsert preview is text-only simulation, NOT execution\nReference-state content:\n1448: ),\n1449: attributes={\"linethickness\": \"0\"},\n1450: ),\n1451: ],\n1452: id=\"atop-and-atopwithdelims\",\n1453: ),\n1454: pytest.param(\n1455: r\"{a \\abovewithdelims [ ] 1pt b} + {c \\abovewithdelims . . {1.5pt} d}\",\n1456: [\n1457: Node(\n1458: token=\"{}\",\n1459: children=(\n1460: Node(\n1461: token=r\"\\frac\",\n1462: children=(\n1463: Node(token=\"a\"),\n1464: Node(token=\"b\"),\n1465: ),\n1466: attributes={\"linethickness\": \"1pt\"},\n1467: delimiter=\"[]\",\n1468: ),\n1469: ),\n1470: ),\n1471: Node(token=\"+\"),\n1472: Node(\n1473: token=\"{}\",\n1474: children=(\n1475: Node(\n1476: token=r\"\\frac\",\n1477: children=(\n1478: Node(token=\"c\"),\n1479: Node(token=\"d\"),\n1480: ),\n1481: attributes={\"linethickness\": \"1.5pt\"},\n1482: delimiter=\"..\",\n1483: ),\n1484: ),\n1485: ),\n1486: ],\n1487: id=\"abovewithdelims\",\n1488: ),\n1489: ],\n1490: )\n1491: def test_walk(latex: str, expected: list) -> None:\n1492: assert walk(latex) == expected\n1493: \n1494: \n1495: @pytest.mark.parametrize(\n1496: \"latex, exception\",\n1497: [\n1498: pytest.param(r\"\\right)\", ExtraLeftOrMissingRightError, id=r\"missing-\\left\"),\n1499: pytest.param(r\"\\left(x\", ExtraLeftOrMissingRightError, id=r\"missing-\\right\"),\n1500: pytest.param(r\"{ \\over 2}\", NumeratorNotFoundError, id=\"fraction-without-numerator\"),\n1501: pytest.param(r\"{1 \\over }\", DenominatorNotFoundError, id=\"fraction-without-denominator\"),\n1502: pytest.param(r\"1_\", MissingSuperScriptOrSubscriptError, id=\"missing-subscript\"),\n1503: pytest.param(r\"1^\", MissingSuperScriptOrSubscriptError, id=\"missing-superscript\"),\n1504: pytest.param(r\"1_2_3\", DoubleSubscriptsError, id=\"double-subscript\"),\n1505: pytest.param(r\"1^2^3\", DoubleSuperscriptsError, id=\"double-superscript\"),\n1506: ],\n1507: )\n1508: def test_missing_right(latex: str, exception: Union[Tuple[Any, ...], Any]) -> None:\n1509: with pytest.raises(exception):\n1510: print(walk(latex))\n[window truncated; visible lines 1448-1510]\nCandidate text preview (unexecuted):\n1448: ),\n1449: attributes={\"linethickness\": \"0\"},\n1450: ),\n1451: ],\n1452: id=\"atop-and-atopwithdelims\",\n1453: ),\n1454: pytest.param(\n1455: r\"{a \\abovewithdelims [ ] 1pt b} + {c \\abovewithdelims . . {1.5pt} d}\",\n1456: [\n1457: Node(\n1458: token=\"{}\",\n1459: children=(\n1460: Node(\n1461: token=r\"\\frac\",\n1462: children=(\n1463: Node(token=\"a\"),\n1464: Node(token=\"b\"),\n1465: ),\n1466: attributes={\"linethickness\": \"1pt\"},\n1467: delimiter=\"[]\",\n1468: ),\n1469: ),\n1470: ),\n1471: Node(token=\"+\"),\n1472: Node(\n1473: token=\"{}\",\n1474: children=(\n1475: Node(\n1476: token=r\"\\frac\",\n1477: children=(\n1478: Node(token=\"c\"),\n1479: Node(token=\"d\"),\n1480: ),\n1481: attributes={\"linethickness\": \"1.5pt\"},\n1482: delimiter=\"..\",\n1483: ),\n1484: ),\n1485: ),\n1486: ],\n1487: id=\"abovewithdelims\",\n1488: ),\n1489: ],\n1490: )\n1491: def test_walk(latex: str, expected: list) -> None:\n1492: assert walk(latex) == expected\n1493: \n1494: \n1495: @pytest.mark.parametrize(\n1496: \"latex, exception\",\n1497: [\n1498: pytest.param(r\"\\right)\", ExtraLeftOrMissingRightError, id=r\"missing-\\left\"),\n1499: pytest.param(r\"\\left(x\", ExtraLeftOrMissingRightError, id=r\"missing-\\right\"),\n1500: pytest.param(r\"{ \\over 2}\", NumeratorNotFoundError, id=\"fraction-without-numerator\"),\n1501: pytest.param(r\"{1 \\over }\", DenominatorNotFoundError, id=\"fraction-without-denominator\"),\n1502: pytest.param(r\"1_\", MissingSuperScriptOrSubscriptError, id=\"missing-subscript\"),\n1503: pytest.param(r\"1^\", MissingSuperScriptOrSubscriptError, id=\"missing-superscript\"),\n1504: pytest.param(r\"1_2_3\", DoubleSubscriptsError, id=\"double-subscript\"),\n1505: pytest.param(r\"1^2^3\", DoubleSuperscriptsError, id=\"double-superscript\"),\n1506: ],\n1507: )\n1508: def test_missing_right(latex: str, exception: Union[Tuple[Any, ...], Any]) -> None:\n1509: with pytest.raises(exception):\n1510: print(walk(latex))\n[window truncated; visible lines 1448-1510]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr159__Epe7uCX:34"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":3063,"content_sha256":"8a2f8cfd2ea0856814120274e171c994849548fccca4ec7602edb7224a54167c","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":36,"sha256":"c8cb5a539e5d9b7142acb8bf82f37082f27f983e641f0dccb283666750e8865c","start_line":1,"truncated":false},"content_sha256":"32f4c90e01084d25be260a7ea39154298cd913aa24cc02868c32c1cb06b9acc9","end_line":95,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/symbols_parser.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"2c6529a01f2518dd9b489a3666dc6eb3215398a3b202963647c42cc900ec7829","reference_window":{"end_line":35,"sha256":"dc91f5e0729d65a7f2f026f8e65fa33bbebeb25497c75fb7a45a4f7b8001d012","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr163__pmEQ3h4:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/symbols_parser.py, reference lines 1-95\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import codecs\n2: import os\n3: import re\n4: from typing import Optional, Union\n5: \n6: SYMBOLS_FILE: str = os.path.join(os.path.dirname(os.path.realpath(__file__)), \"unimathsymbols.txt\")\n7: SYMBOLS: Optional[dict] = None\n8: \n9: \n10: def convert_symbol(symbol: str) -> Union[str, None]:\n11: global SYMBOLS\n12: if not SYMBOLS:\n13: SYMBOLS = parse_symbols()\n14: return SYMBOLS.get(symbol, None)\n15: \n16: \n17: def parse_symbols() -> dict:\n18: _symbols = {}\n19: with codecs.open(SYMBOLS_FILE, encoding=\"utf-8\") as f:\n20: for line in f:\n21: if not line.startswith(\"#\"):\n22: columns = line.strip().split(\"^\")\n23: _unicode = columns[0]\n24: latex = columns[2]\n25: unicode_math = columns[3]\n26: if latex and latex not in _symbols:\n27: _symbols[latex] = _unicode\n28: if unicode_math and unicode_math not in _symbols:\n29: _symbols[unicode_math] = _unicode\n30: for equivalent in re.findall(r\"=\\s+(\\\\[^,^ ]+),?\", columns[-1]):\n31: if equivalent not in _symbols:\n32: _symbols[equivalent] = _unicode\n33: _symbols[r\"\\bigcirc\"] = _symbols[r\"\\lgwhtcircle\"]\n34: _symbols[r\"\\Box\"] = _symbols[r\"\\square\"]\n35: return _symbols\nCandidate text preview (unexecuted):\n1: import codecs\n2: import os\n3: import re\n4: from typing import Optional, Union\n5: \n6: SYMBOLS_FILE: str = os.path.join(os.path.dirname(os.path.realpath(__file__)), \"unimathsymbols.txt\")\n7: SYMBOLS: Optional[dict] = None\n8: \n9: \n10: def convert_symbol(symbol: str) -> Union[str, None]:\n11: global SYMBOLS\n12: if not SYMBOLS:\n13: SYMBOLS = parse_symbols()\n14: return SYMBOLS.get(symbol, None)\n15: \n16: \n17: def parse_symbols() -> dict:\n18: _symbols = {}\n19: with codecs.open(SYMBOLS_FILE, encoding=\"utf-8\") as f:\n20: for line in f:\n21: if not line.startswith(\"#\"):\n22: columns = line.strip().split(\"^\")\n23: _unicode = columns[0]\n24: latex = columns[2]\n25: unicode_math = columns[3]\n26: if latex and latex not in _symbols:\n27: _symbols[latex] = _unicode\n28: if unicode_math and unicode_math not in _symbols:\n29: _symbols[unicode_math] = _unicode\n30: for equivalent in re.findall(r\"=\\s+(\\\\[^,^ ]+),?\", columns[-1]):\n31: if equivalent not in _symbols:\n32: _symbols[equivalent] = _unicode\n33: _symbols[r\"\\bigcirc\"] = _symbols[r\"\\lgwhtcircle\"]\n34: _symbols[r\"\\Box\"] = _symbols[r\"\\square\"]\n35: _symbols[r\"\\centerdot\"] = _symbols[r\"\\cdot\"]\n36: return _symbols\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr163__pmEQ3h4:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5907,"content_sha256":"aa0efb1fcb6ef3fa5a77cde832c330cfe4601f2680932377a0ed08d732a4e1cc","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":200,"sha256":"011f901763984cf8e9e62379cb3dd19947db75acc851f839d68a802555986ac9","start_line":123,"truncated":true},"content_sha256":"ef70f8ebd3c9084336d05ec0b71a9caa95df50f5c587e719a3c2d1ef079cc784","end_line":222,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"0f1e9515260db896e6fb65805f31a02bda51be984c664ec181ecc9ca84315249","reference_window":{"end_line":200,"sha256":"10e6aef57a06fd9e0adfa638fd88be3cc0c28526a0b5b90a2dde75c22e1ee2f4","start_line":123,"truncated":true},"start_line":101,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr164__5Gsga8q:16","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 101-222\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n123: r\"\\sf\": font_factory(None, {\"mi\": \"sans-serif\"}),\n124: r\"\\tt\": font_factory(None, {\"mi\": \"monospace\"}),\n125: }\n126: \n127: GLOBAL_FONTS = {\n128: **OLD_STYLE_FONTS,\n129: r\"\\cal\": font_factory(\"script\", {\"fence\": None}),\n130: }\n131: \n132: COMMANDS_WITH_ONE_PARAMETER = (\n133: OVERLINE,\n134: BAR,\n135: UNDERLINE,\n136: OVERRIGHTARROW,\n137: VEC,\n138: DOT,\n139: MATHOP,\n140: ACUTE,\n141: BLACKBOARD_BOLD,\n142: BOLD_SYMBOL,\n143: BOXED,\n144: BREVE,\n145: )\n146: COMMANDS_WITH_TWO_PARAMETERS = (FRAC, BINOM, OVERSET, UNDERSET)\n147: \n148: BIG: Dict[str, Tuple[str, dict]] = {\n149: # command: (mathml_equivalent, attributes)\n150: r\"\\Bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.470em\"), (\"maxsize\", \"2.470em\")])),\n151: r\"\\bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.047em\"), (\"maxsize\", \"2.047em\")])),\n152: r\"\\Big\": (\"mo\", OrderedDict([(\"minsize\", \"1.623em\"), (\"maxsize\", \"1.623em\")])),\n153: r\"\\big\": (\"mo\", OrderedDict([(\"minsize\", \"1.2em\"), (\"maxsize\", \"1.2em\")])),\n154: }\n155: \n156: CONVERSION_MAP: Dict[str, Tuple[str, dict]] = {\n157: # command: (mathml_equivalent, attributes)\n158: SUBSCRIPT: (\"msub\", {}),\n159: SUPERSCRIPT: (\"msup\", {}),\n160: SUBSUP: (\"msubsup\", {}),\n161: FRAC: (\"mfrac\", {}),\n162: SQRT: (\"msqrt\", {}),\n163: ROOT: (\"mroot\", {}),\n164: BINOM: (\"mfrac\", {\"linethickness\": \"0\"}),\n165: LEFT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"prefix\")])),\n166: RIGHT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"postfix\")])),\n167: TEXT: (\"mtext\", {}),\n168: MATHOP: (\"mrow\", {}),\n169: # over/under\n170: OVERLINE: (\"mover\", {}),\n171: BAR: (\"mover\", {}),\n172: OVERRIGHTARROW: (\"mover\", {}),\n173: VEC: (\"mover\", {}),\n174: DOT: (\"mover\", {}),\n175: OVERSET: (\"mover\", {}),\n176: ACUTE: (\"mover\", {}),\n177: BREVE: (\"mover\", {}),\n178: UNDERLINE: (\"munder\", {}),\n179: LIMITS: (\"munderover\", {}),\n180: UNDERSET: (\"munder\", {}),\n181: # spaces\n182: QUAD: (\"mspace\", {\"width\": \"1em\"}),\n183: QQUAD: (\"mspace\", {\"width\": \"2em\"}),\n184: HSPACE: (\"mspace\", {}),\n185: EXCLAMATION: (\"mspace\", {\"width\": \"negativethinmathspace\"}),\n186: COMMA: (\"mspace\", {\"width\": \"0.167em\"}),\n187: COLON: (\"mspace\", {\"width\": \"0.222em\"}),\n188: GREATER_THAN: (\"mspace\", {\"width\": \"0.222em\"}),\n189: SEMICOLON: (\"mspace\", {\"width\": \"0.278em\"}),\n190: DOUBLEBACKSLASH: (\"mspace\", {\"linebreak\": \"newline\"}),\n191: # enclose\n192: BOXED: (\"menclose\", {\"notation\": \"box\"}),\n193: }\n194: \n195: CONVERSION_MAP.update(BIG)\n196: \n197: for matrix in MATRICES:\n198: CONVERSION_MAP[matrix] = (\"mtable\", {})\n199: \n200: for limit in LIMIT:\n[window truncated; visible lines 123-200]\nCandidate text preview (unexecuted):\n123: r\"\\sf\": font_factory(None, {\"mi\": \"sans-serif\"}),\n124: r\"\\tt\": font_factory(None, {\"mi\": \"monospace\"}),\n125: }\n126: \n127: GLOBAL_FONTS = {\n128: **OLD_STYLE_FONTS,\n129: r\"\\cal\": font_factory(\"script\", {\"fence\": None}),\n130: }\n131: \n132: COMMANDS_WITH_ONE_PARAMETER = (\n133: OVERLINE,\n134: BAR,\n135: UNDERLINE,\n136: OVERRIGHTARROW,\n137: VEC,\n138: DOT,\n139: MATHOP,\n140: ACUTE,\n141: BLACKBOARD_BOLD,\n142: BOLD_SYMBOL,\n143: BOXED,\n144: BREVE,\n145: )\n146: COMMANDS_WITH_TWO_PARAMETERS = (FRAC, BINOM, OVERSET, UNDERSET)\n147: \n148: BIG: Dict[str, Tuple[str, dict]] = {\n149: # command: (mathml_equivalent, attributes)\n150: r\"\\Bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.470em\"), (\"maxsize\", \"2.470em\")])),\n151: r\"\\bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.047em\"), (\"maxsize\", \"2.047em\")])),\n152: r\"\\Big\": (\"mo\", OrderedDict([(\"minsize\", \"1.623em\"), (\"maxsize\", \"1.623em\")])),\n153: r\"\\big\": (\"mo\", OrderedDict([(\"minsize\", \"1.2em\"), (\"maxsize\", \"1.2em\")])),\n154: }\n155: \n156: CONVERSION_MAP: Dict[str, Tuple[str, dict]] = {\n157: # command: (mathml_equivalent, attributes)\n158: SUBSCRIPT: (\"msub\", {}),\n159: SUPERSCRIPT: (\"msup\", {}),\n160: SUBSUP: (\"msubsup\", {}),\n161: FRAC: (\"mfrac\", {}),\n162: CFRAC: (\"mfrac\", {}),\n163: SQRT: (\"msqrt\", {}),\n164: ROOT: (\"mroot\", {}),\n165: BINOM: (\"mfrac\", {\"linethickness\": \"0\"}),\n166: LEFT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"prefix\")])),\n167: RIGHT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"postfix\")])),\n168: TEXT: (\"mtext\", {}),\n169: MATHOP: (\"mrow\", {}),\n170: # over/under\n171: OVERLINE: (\"mover\", {}),\n172: BAR: (\"mover\", {}),\n173: OVERRIGHTARROW: (\"mover\", {}),\n174: VEC: (\"mover\", {}),\n175: DOT: (\"mover\", {}),\n176: OVERSET: (\"mover\", {}),\n177: ACUTE: (\"mover\", {}),\n178: BREVE: (\"mover\", {}),\n179: UNDERLINE: (\"munder\", {}),\n180: LIMITS: (\"munderover\", {}),\n181: UNDERSET: (\"munder\", {}),\n182: # spaces\n183: QUAD: (\"mspace\", {\"width\": \"1em\"}),\n184: QQUAD: (\"mspace\", {\"width\": \"2em\"}),\n185: HSPACE: (\"mspace\", {}),\n186: EXCLAMATION: (\"mspace\", {\"width\": \"negativethinmathspace\"}),\n187: COMMA: (\"mspace\", {\"width\": \"0.167em\"}),\n188: COLON: (\"mspace\", {\"width\": \"0.222em\"}),\n189: GREATER_THAN: (\"mspace\", {\"width\": \"0.222em\"}),\n190: SEMICOLON: (\"mspace\", {\"width\": \"0.278em\"}),\n191: DOUBLEBACKSLASH: (\"mspace\", {\"linebreak\": \"newline\"}),\n192: # enclose\n193: BOXED: (\"menclose\", {\"notation\": \"box\"}),\n194: }\n195: \n196: CONVERSION_MAP.update(BIG)\n197: \n198: for matrix in MATRICES:\n199: CONVERSION_MAP[matrix] = (\"mtable\", {})\n200: \n[window truncated; visible lines 123-200]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr164__5Gsga8q:16"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr166__37mvzMD:9","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr166__37mvzMD:9"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":2367,"content_sha256":"86f8f8d4cfd40ec7f16dcda7a60b87ec838104a7cbd73922527d02b6827e42f4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":39,"sha256":"2e4da419f2e6e6e608b246a9fb832ff27b8e685efeab45187d8eb5638a6f31f3","start_line":1,"truncated":false},"content_sha256":"c4bf5349afa2dcf9272f517df209dcd19b3d7d05570abda2403cbd30e34bcf84","end_line":120,"note":"file absent at reference state; proposed contents are text-only, NOT execution","path":"AGENTS.md","preview_unexecuted":true,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr168__EWNuyPS:38","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/AGENTS.md, reference lines 1-120\nfile absent at reference state; proposed contents are text-only, NOT execution\nReference read unavailable: file does not exist\nReference-state content:\n\nCandidate text preview (unexecuted):\n1: # latex2mathml\n2: \n3: Pure Python library converting LaTeX to MathML.\n4: \n5: ## Pipeline\n6: \n7: `convert(latex)` (converter.py) → `walk(latex)` (walker.py) → list of `Node`s →\n8: `_convert_group`/`_convert_command` (converter.py) → MathML XML string.\n9: \n10: - **tokenizer.py** — regex `PATTERN` splits LaTeX into tokens. Special multi-token\n11: commands (`\\begin{...}`, `\\text{...}`, `\\math...{...}`) are matched here.\n12: - **walker.py** — builds a `Node` tree. `Node` is a `NamedTuple` with fields\n13: `token`, `children`, `delimiter`, `alignment`, `text`, `attributes`.\n14: - **converter.py** — walks the `Node` tree emitting `xml.etree` elements.\n15: \n16: ## How to add a new LaTeX command\n17: \n18: 1. **commands.py** — add a constant (e.g. `FOO = r\"\\foo\"`) and, if it maps to a\n19: MathML element, add `FOO: (\"mstyle\", {})` to `CONVERSION_MAP`.\n20: 2. **walker.py** — if the command takes arguments, add an `elif` branch in `_walk`\n21: that consumes them with `_walk(tokens, terminator=terminator, limit=N)` and\n22: builds a `Node`. Plain tokens fall through to `else: Node(token=token)`.\n23: Store extra data (e.g. a color) in `Node(..., attributes={...})`.\n24: 3. **converter.py** — usually nothing needed: `_convert_command` reads\n25: `CONVERSION_MAP` for the tag and merges `node.attributes` into the element,\n26: then recurses into `node.children`. Add special handling only if the command\n27: needs custom element construction.\n28: \n29: `Node.attributes` values become MathML element attributes directly (e.g.\n30: `{\"mathcolor\": \"red\"}` → `mathcolor=\"red\"`).\n31: \n32: ## Tests\n33: \n34: - `tests/test_walker.py` — parametrized `test_walk(latex, expected_nodes)`.\n35: - `tests/test_converter.py` — parametrized `test_converter(latex, json)`; `json`\n36: is the BadgerFish representation of the top-level `` content. Attributes\n37: use the `@` prefix (e.g. `{\"@mathcolor\": \"red\"}`); repeated siblings use\n38: `MultiDict`.\n39: - Run: `python -m pytest tests/`. Lint: `flake8` (max line length 120).\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr168__EWNuyPS:38"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5879,"content_sha256":"63ff2da3aec8b8601caa98ed48ed86efae35a4b94d379cdb4d92158f9f75acf4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":207,"sha256":"0d6ddc4a606c703817fa56d88cf81f1651bdf399321a53fe2cdb5efa645b285f","start_line":125,"truncated":true},"content_sha256":"7ec215483d5d16c6a8b831c232c296353b835d53156e330b9733df4614cc543e","end_line":233,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"239096514e627f68f0f62dc25a8ca13a13c08052a6b077fe8282fbeed2577b48","reference_window":{"end_line":208,"sha256":"7ace43f71a5098f3964f2f4af951223e91214a039001be8884dbd6a651613a19","start_line":124,"truncated":true},"start_line":106,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr169__cB7X4pg:15","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 106-233\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n124: \n125: COLOR = r\"\\color\"\n126: \n127: \n128: def font_factory(default: Optional[str], replacement: Dict[str, Optional[str]]) -> DefaultDict[str, Optional[str]]:\n129: fonts = defaultdict(lambda: default, replacement)\n130: return fonts\n131: \n132: \n133: LOCAL_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n134: BLACKBOARD_BOLD: font_factory(\"double-struck\", {\"fence\": None}),\n135: BOLD_SYMBOL: font_factory(\"bold\", {\"mi\": \"bold-italic\", \"mtext\": None}),\n136: }\n137: \n138: OLD_STYLE_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n139: r\"\\rm\": font_factory(None, {\"mi\": \"normal\"}),\n140: r\"\\bf\": font_factory(None, {\"mi\": \"bold\"}),\n141: r\"\\it\": font_factory(None, {\"mi\": \"italic\"}),\n142: r\"\\sf\": font_factory(None, {\"mi\": \"sans-serif\"}),\n143: r\"\\tt\": font_factory(None, {\"mi\": \"monospace\"}),\n144: }\n145: \n146: GLOBAL_FONTS = {\n147: **OLD_STYLE_FONTS,\n148: r\"\\cal\": font_factory(\"script\", {\"fence\": None}),\n149: }\n150: \n151: COMMANDS_WITH_ONE_PARAMETER = (\n152: OVERLINE,\n153: BAR,\n154: UNDERLINE,\n155: OVERRIGHTARROW,\n156: VEC,\n157: DOT,\n158: MATHOP,\n159: ACUTE,\n160: BLACKBOARD_BOLD,\n161: BOLD_SYMBOL,\n162: BOXED,\n163: BREVE,\n164: CHECK,\n165: )\n166: COMMANDS_WITH_TWO_PARAMETERS = (\n167: BINOM,\n168: CFRAC,\n169: COLOR,\n170: FRAC,\n171: OVERSET,\n172: UNDERSET,\n173: )\n174: \n175: BIG: Dict[str, Tuple[str, dict]] = {\n176: # command: (mathml_equivalent, attributes)\n177: r\"\\Bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.470em\"), (\"maxsize\", \"2.470em\")])),\n178: r\"\\bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.047em\"), (\"maxsize\", \"2.047em\")])),\n179: r\"\\Big\": (\"mo\", OrderedDict([(\"minsize\", \"1.623em\"), (\"maxsize\", \"1.623em\")])),\n180: r\"\\big\": (\"mo\", OrderedDict([(\"minsize\", \"1.2em\"), (\"maxsize\", \"1.2em\")])),\n181: }\n182: \n183: CONVERSION_MAP: Dict[str, Tuple[str, dict]] = {\n184: # command: (mathml_equivalent, attributes)\n185: SUBSCRIPT: (\"msub\", {}),\n186: SUPERSCRIPT: (\"msup\", {}),\n187: SUBSUP: (\"msubsup\", {}),\n188: # fractions\n189: FRAC: (\"mfrac\", {}),\n190: BINOM: (\"mfrac\", {\"linethickness\": \"0\"}),\n191: CFRAC: (\"mfrac\", {}),\n192: # over/under\n193: OVERLINE: (\"mover\", {}),\n194: BAR: (\"mover\", {}),\n195: OVERRIGHTARROW: (\"mover\", {}),\n196: VEC: (\"mover\", {}),\n197: DOT: (\"mover\", {}),\n198: OVERSET: (\"mover\", {}),\n199: ACUTE: (\"mover\", {}),\n200: BREVE: (\"mover\", {}),\n201: CHECK: (\"mover\", {}),\n202: UNDERLINE: (\"munder\", {}),\n203: LIMITS: (\"munderover\", {}),\n204: UNDERSET: (\"munder\", {}),\n205: # spaces\n206: QUAD: (\"mspace\", {\"width\": \"1em\"}),\n207: QQUAD: (\"mspace\", {\"width\": \"2em\"}),\n208: HSPACE: (\"mspace\", {}),\n[window truncated; visible lines 124-208]\nCandidate text preview (unexecuted):\n125: COLOR = r\"\\color\"\n126: \n127: \n128: def font_factory(default: Optional[str], replacement: Dict[str, Optional[str]]) -> DefaultDict[str, Optional[str]]:\n129: fonts = defaultdict(lambda: default, replacement)\n130: return fonts\n131: \n132: \n133: LOCAL_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n134: BLACKBOARD_BOLD: font_factory(\"double-struck\", {\"fence\": None}),\n135: BOLD_SYMBOL: font_factory(\"bold\", {\"mi\": \"bold-italic\", \"mtext\": None}),\n136: }\n137: \n138: OLD_STYLE_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n139: r\"\\rm\": font_factory(None, {\"mi\": \"normal\"}),\n140: r\"\\bf\": font_factory(None, {\"mi\": \"bold\"}),\n141: r\"\\it\": font_factory(None, {\"mi\": \"italic\"}),\n142: r\"\\sf\": font_factory(None, {\"mi\": \"sans-serif\"}),\n143: r\"\\tt\": font_factory(None, {\"mi\": \"monospace\"}),\n144: }\n145: \n146: GLOBAL_FONTS = {\n147: **OLD_STYLE_FONTS,\n148: r\"\\cal\": font_factory(\"script\", {\"fence\": None}),\n149: }\n150: \n151: COMMANDS_WITH_ONE_PARAMETER = (\n152: OVERLINE,\n153: BAR,\n154: UNDERLINE,\n155: OVERRIGHTARROW,\n156: VEC,\n157: DOT,\n158: MATHOP,\n159: ACUTE,\n160: BLACKBOARD_BOLD,\n161: BOLD_SYMBOL,\n162: BOXED,\n163: BREVE,\n164: CHECK,\n165: )\n166: COMMANDS_WITH_TWO_PARAMETERS = (\n167: BINOM,\n168: CFRAC,\n169: FRAC,\n170: OVERSET,\n171: UNDERSET,\n172: )\n173: \n174: BIG: Dict[str, Tuple[str, dict]] = {\n175: # command: (mathml_equivalent, attributes)\n176: r\"\\Bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.470em\"), (\"maxsize\", \"2.470em\")])),\n177: r\"\\bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.047em\"), (\"maxsize\", \"2.047em\")])),\n178: r\"\\Big\": (\"mo\", OrderedDict([(\"minsize\", \"1.623em\"), (\"maxsize\", \"1.623em\")])),\n179: r\"\\big\": (\"mo\", OrderedDict([(\"minsize\", \"1.2em\"), (\"maxsize\", \"1.2em\")])),\n180: }\n181: \n182: CONVERSION_MAP: Dict[str, Tuple[str, dict]] = {\n183: # command: (mathml_equivalent, attributes)\n184: SUBSCRIPT: (\"msub\", {}),\n185: SUPERSCRIPT: (\"msup\", {}),\n186: SUBSUP: (\"msubsup\", {}),\n187: # fractions\n188: FRAC: (\"mfrac\", {}),\n189: BINOM: (\"mfrac\", {\"linethickness\": \"0\"}),\n190: CFRAC: (\"mfrac\", {}),\n191: # over/under\n192: OVERLINE: (\"mover\", {}),\n193: BAR: (\"mover\", {}),\n194: OVERRIGHTARROW: (\"mover\", {}),\n195: VEC: (\"mover\", {}),\n196: DOT: (\"mover\", {}),\n197: OVERSET: (\"mover\", {}),\n198: ACUTE: (\"mover\", {}),\n199: BREVE: (\"mover\", {}),\n200: CHECK: (\"mover\", {}),\n201: UNDERLINE: (\"munder\", {}),\n202: LIMITS: (\"munderover\", {}),\n203: UNDERSET: (\"munder\", {}),\n204: # spaces\n205: QUAD: (\"mspace\", {\"width\": \"1em\"}),\n206: QQUAD: (\"mspace\", {\"width\": \"2em\"}),\n207: HSPACE: (\"mspace\", {}),\n[window truncated; visible lines 125-207]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr169__cB7X4pg:15"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5890,"content_sha256":"d863b5f5ce9fd6a502d8d5849c3051efbca1759a238d9b53f9a8fa2f2a230cab","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":1243,"sha256":"fb74624c96ca07454bfe84e66bec911f4ac6cb5e851108824b2345945005108b","start_line":1185,"truncated":true},"content_sha256":"29b850727b333d0bae180e7e750e30e5651ff79ec1b156df52ee9e9cd199320e","end_line":1279,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"0cebcedc0242256064dc8536714d0fb662522e4b7f49a9efb1c403c5de3ab7b5","reference_window":{"end_line":1246,"sha256":"3fa360e173606fda3ae158b452455c0ac91dbcd5ca09092217c3f7e50a18cbcf","start_line":1182,"truncated":true},"start_line":1154,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr172__ZAVEuRk:29","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_converter.py, reference lines 1154-1279\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1182: (\"mo\", \",\"),\n1183: (\"mi\", \"b\"),\n1184: (\"mo\", \",\"),\n1185: (\"mi\", \"c\"),\n1186: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"}\"}),\n1187: ]\n1188: ),\n1189: id=\"issue-108-2\",\n1190: ),\n1191: pytest.param(\n1192: r\"\\min{(x, y)}\",\n1193: MultiDict(\n1194: [\n1195: (\"mo\", \"min\"),\n1196: (\n1197: \"mrow\",\n1198: {\n1199: \"mrow\": MultiDict(\n1200: [\n1201: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"(\"}),\n1202: (\"mi\", \"x\"),\n1203: (\"mo\", \",\"),\n1204: (\"mi\", \"y\"),\n1205: (\"mo\", {\"@stretchy\": \"false\", \"$\": \")\"}),\n1206: ]\n1207: )\n1208: },\n1209: ),\n1210: ]\n1211: ),\n1212: id=\"issue-108-3\",\n1213: ),\n1214: pytest.param(r\"\\dot A\", {\"mover\": MultiDict([(\"mi\", \"A\"), (\"mo\", \"˙\")])}, id=\"issue-112-1\"),\n1215: pytest.param(\n1216: r\"\\dot{A}\",\n1217: {\"mover\": MultiDict([(\"mrow\", MultiDict([(\"mi\", \"A\")])), (\"mo\", \"˙\")])},\n1218: id=\"issue-112-2\",\n1219: ),\n1220: pytest.param(r\"\\operatorname{sn}x\", MultiDict([(\"mi\", \"sn\"), (\"mi\", \"x\")]), id=\"issue-109-1\"),\n1221: pytest.param(\n1222: r\"\\operatorname{sn}(x+y)\",\n1223: MultiDict(\n1224: [\n1225: (\"mi\", \"sn\"),\n1226: (\n1227: \"mrow\",\n1228: MultiDict(\n1229: [\n1230: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"(\"}),\n1231: (\"mi\", \"x\"),\n1232: (\"mo\", \"+\"),\n1233: (\"mi\", \"y\"),\n1234: (\"mo\", {\"@stretchy\": \"false\", \"$\": \")\"}),\n1235: ]\n1236: ),\n1237: ),\n1238: ]\n1239: ),\n1240: id=\"issue-109-2\",\n1241: ),\n1242: pytest.param(\n1243: r\"\\text{Let}\\ x=\\text{number of cats}.\",\n1244: MultiDict(\n1245: [\n1246: (\"mtext\", \"Let\"),\n[window truncated; visible lines 1182-1246]\nCandidate text preview (unexecuted):\n1185: (\"mi\", \"c\"),\n1186: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"}\"}),\n1187: ]\n1188: ),\n1189: id=\"issue-108-2\",\n1190: ),\n1191: pytest.param(\n1192: r\"\\min{(x, y)}\",\n1193: MultiDict(\n1194: [\n1195: (\"mo\", \"min\"),\n1196: (\n1197: \"mrow\",\n1198: {\n1199: \"mrow\": MultiDict(\n1200: [\n1201: (\"mo\", {\"@stretchy\": \"false\", \"$\": \"(\"}),\n1202: (\"mi\", \"x\"),\n1203: (\"mo\", \",\"),\n1204: (\"mi\", \"y\"),\n1205: (\"mo\", {\"@stretchy\": \"false\", \"$\": \")\"}),\n1206: ]\n1207: )\n1208: },\n1209: ),\n1210: ]\n1211: ),\n1212: id=\"issue-108-3\",\n1213: ),\n1214: pytest.param(r\"\\dot A\", {\"mover\": MultiDict([(\"mi\", \"A\"), (\"mo\", \"˙\")])}, id=\"issue-112-1\"),\n1215: pytest.param(\n1216: r\"\\dot{A}\",\n1217: {\"mover\": MultiDict([(\"mrow\", MultiDict([(\"mi\", \"A\")])), (\"mo\", \"˙\")])},\n1218: id=\"issue-112-2\",\n1219: ),\n1220: pytest.param(r\"\\ddot a\", {\"mover\": MultiDict([(\"mi\", \"a\"), (\"mo\", \"¨\")])}, id=\"ddot-single\"),\n1221: pytest.param(\n1222: r\"\\ddot{a}\",\n1223: {\"mover\": MultiDict([(\"mrow\", MultiDict([(\"mi\", \"a\")])), (\"mo\", \"¨\")])},\n1224: id=\"ddot-group\",\n1225: ),\n1226: pytest.param(r\"\\dddot b\", {\"mover\": MultiDict([(\"mi\", \"b\"), (\"mo\", \"⃛\")])}, id=\"dddot-single\"),\n1227: pytest.param(\n1228: r\"\\dddot{b}\",\n1229: {\"mover\": MultiDict([(\"mrow\", MultiDict([(\"mi\", \"b\")])), (\"mo\", \"⃛\")])},\n1230: id=\"dddot-group\",\n1231: ),\n1232: pytest.param(r\"\\ddddot c\", {\"mover\": MultiDict([(\"mi\", \"c\"), (\"mo\", \"⃜\")])}, id=\"ddddot-single\"),\n1233: pytest.param(\n1234: r\"\\ddddot{c}\",\n1235: {\"mover\": MultiDict([(\"mrow\", MultiDict([(\"mi\", \"c\")])), (\"mo\", \"⃜\")])},\n1236: id=\"ddddot-group\",\n1237: ),\n1238: pytest.param(\n1239: r\"\\ddot a \\dddot b \\ddddot c\",\n1240: MultiDict(\n1241: [\n1242: (\"mover\", MultiDict([(\"mi\", \"a\"), (\"mo\", \"¨\")])),\n1243: (\"mover\", MultiDict([(\"mi\", \"b\"), (\"mo\", \"⃛\")])),\n[window truncated; visible lines 1185-1243]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr172__ZAVEuRk:29"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4098,"content_sha256":"f6f69f8f74b03d8a65ec285502866110f1c9d4527457daf4ef4694b8aa88fb5d","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":96,"sha256":"41b3d5bfeed40f93e47b488970f0d9fb00e8fd5a1df4ff544212feddbfcb2f45","start_line":1,"truncated":false},"content_sha256":"19605e0aba5e5a28e5105318928ced15071e3bdb93ae69138cd99c682ffa7b68","end_line":96,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"1ae4719ec487c168ff991074e86718532932dc8385d4845f0a74065b49c77461","reference_window":{"end_line":96,"sha256":"db2246e301edfac3892b93573e8c433688c57f91cec71ca84ad650f0736416d5","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr177__DAqdKqA:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 1-96\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: from collections import OrderedDict, defaultdict\n2: from typing import DefaultDict, Dict, Optional, Tuple\n3: \n4: OPENING_BRACE = \"{\"\n5: CLOSING_BRACE = \"}\"\n6: BRACES = \"{}\"\n7: \n8: OPENING_BRACKET = \"[\"\n9: CLOSING_BRACKET = \"]\"\n10: BRACKETS = \"[]\"\n11: \n12: OPENING_PARENTHESIS = \"(\"\n13: CLOSING_PARENTHESIS = \")\"\n14: PARENTHESES = \"()\"\n15: \n16: SUBSUP = \"_^\"\n17: SUBSCRIPT = \"_\"\n18: SUPERSCRIPT = \"^\"\n19: APOSTROPHE = \"'\"\n20: PRIME = r\"\\prime\"\n21: DPRIME = r\"\\dprime\"\n22: \n23: LEFT = r\"\\left\"\n24: RIGHT = r\"\\right\"\n25: \n26: ABOVE = r\"\\above\"\n27: ABOVEWITHDELIMS = r\"\\abovewithdelims\"\n28: ATOP = r\"\\atop\"\n29: ATOPWITHDELIMS = r\"\\atopwithdelims\"\n30: BINOM = r\"\\binom\"\n31: BRACE = r\"\\brace\"\n32: BRACK = r\"\\brack\"\n33: CFRAC = r\"\\cfrac\"\n34: CHOOSE = r\"\\choose\"\n35: DBINOM = r\"\\dbinom\"\n36: FRAC = r\"\\frac\"\n37: OVER = r\"\\over\"\n38: \n39: ROOT = r\"\\root\"\n40: SQRT = r\"\\sqrt\"\n41: \n42: OVERSET = r\"\\overset\"\n43: UNDERSET = r\"\\underset\"\n44: \n45: ACUTE = r\"\\acute\"\n46: BAR = r\"\\bar\"\n47: BREVE = r\"\\breve\"\n48: CHECK = r\"\\check\"\n49: DOT = r\"\\dot\"\n50: DDOT = r\"\\ddot\"\n51: DDDOT = r\"\\dddot\"\n52: DDDDOT = r\"\\ddddot\"\n53: OVERLINE = r\"\\overline\"\n54: OVERRIGHTARROW = r\"\\overrightarrow\"\n55: UNDERLINE = r\"\\underline\"\n56: VEC = r\"\\vec\"\n57: \n58: TEXT = r\"\\text\"\n59: \n60: MATH = r\"\\math\"\n61: MATHOP = r\"\\mathop\"\n62: \n63: BEGIN = r\"\\begin\"\n64: END = r\"\\end\"\n65: \n66: LIMITS = r\"\\limits\"\n67: INTEGRAL = r\"\\int\"\n68: SUMMATION = r\"\\sum\"\n69: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n70: \n71: OPERATORNAME = r\"\\operatorname\"\n72: \n73: LBRACE = r\"\\{\"\n74: \n75: FUNCTIONS = (\n76: r\"\\arccos\",\n77: r\"\\arcsin\",\n78: r\"\\arctan\",\n79: r\"\\cos\",\n80: r\"\\cosh\",\n81: r\"\\cot\",\n82: r\"\\coth\",\n83: r\"\\csc\",\n84: r\"\\deg\",\n85: r\"\\dim\",\n86: r\"\\ln\",\n87: r\"\\log\",\n88: r\"\\sec\",\n89: r\"\\sin\",\n90: r\"\\tan\",\n91: )\n92: DETERMINANT = r\"\\det\"\n93: \n94: HLINE = r\"\\hline\"\n95: \n96: CASES = r\"\\cases\"\nCandidate text preview (unexecuted):\n1: from collections import OrderedDict, defaultdict\n2: from typing import DefaultDict, Dict, Optional, Tuple\n3: \n4: OPENING_BRACE = \"{\"\n5: CLOSING_BRACE = \"}\"\n6: BRACES = \"{}\"\n7: \n8: OPENING_BRACKET = \"[\"\n9: CLOSING_BRACKET = \"]\"\n10: BRACKETS = \"[]\"\n11: \n12: OPENING_PARENTHESIS = \"(\"\n13: CLOSING_PARENTHESIS = \")\"\n14: PARENTHESES = \"()\"\n15: \n16: SUBSUP = \"_^\"\n17: SUBSCRIPT = \"_\"\n18: SUPERSCRIPT = \"^\"\n19: APOSTROPHE = \"'\"\n20: PRIME = r\"\\prime\"\n21: DPRIME = r\"\\dprime\"\n22: \n23: LEFT = r\"\\left\"\n24: RIGHT = r\"\\right\"\n25: \n26: ABOVE = r\"\\above\"\n27: ABOVEWITHDELIMS = r\"\\abovewithdelims\"\n28: ATOP = r\"\\atop\"\n29: ATOPWITHDELIMS = r\"\\atopwithdelims\"\n30: BINOM = r\"\\binom\"\n31: BRACE = r\"\\brace\"\n32: BRACK = r\"\\brack\"\n33: CFRAC = r\"\\cfrac\"\n34: CHOOSE = r\"\\choose\"\n35: DBINOM = r\"\\dbinom\"\n36: DFRAC = r\"\\dfrac\"\n37: FRAC = r\"\\frac\"\n38: OVER = r\"\\over\"\n39: \n40: ROOT = r\"\\root\"\n41: SQRT = r\"\\sqrt\"\n42: \n43: OVERSET = r\"\\overset\"\n44: UNDERSET = r\"\\underset\"\n45: \n46: ACUTE = r\"\\acute\"\n47: BAR = r\"\\bar\"\n48: BREVE = r\"\\breve\"\n49: CHECK = r\"\\check\"\n50: DOT = r\"\\dot\"\n51: DDOT = r\"\\ddot\"\n52: DDDOT = r\"\\dddot\"\n53: DDDDOT = r\"\\ddddot\"\n54: OVERLINE = r\"\\overline\"\n55: OVERRIGHTARROW = r\"\\overrightarrow\"\n56: UNDERLINE = r\"\\underline\"\n57: VEC = r\"\\vec\"\n58: \n59: TEXT = r\"\\text\"\n60: \n61: MATH = r\"\\math\"\n62: MATHOP = r\"\\mathop\"\n63: \n64: BEGIN = r\"\\begin\"\n65: END = r\"\\end\"\n66: \n67: LIMITS = r\"\\limits\"\n68: INTEGRAL = r\"\\int\"\n69: SUMMATION = r\"\\sum\"\n70: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n71: \n72: OPERATORNAME = r\"\\operatorname\"\n73: \n74: LBRACE = r\"\\{\"\n75: \n76: FUNCTIONS = (\n77: r\"\\arccos\",\n78: r\"\\arcsin\",\n79: r\"\\arctan\",\n80: r\"\\cos\",\n81: r\"\\cosh\",\n82: r\"\\cot\",\n83: r\"\\coth\",\n84: r\"\\csc\",\n85: r\"\\deg\",\n86: r\"\\dim\",\n87: r\"\\ln\",\n88: r\"\\log\",\n89: r\"\\sec\",\n90: r\"\\sin\",\n91: r\"\\tan\",\n92: )\n93: DETERMINANT = r\"\\det\"\n94: \n95: HLINE = r\"\\hline\"\n96: \n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr177__DAqdKqA:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr180__iXbxFTY:10","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr180__iXbxFTY:10"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5888,"content_sha256":"c0231d61fff16da43eb8cf7c7ca5b5a0e38dc1530ebb8be6ffa204c723090beb","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"3b29f6eafe5da5956512662e5a0b985e1fb247c8468090ef427a49af74abd489","end_line":120,"note":"old_str matches=0; preview unavailable; showing first 120 lines","path":"latex2mathml/walker.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"c062d0600db027d0bcc11e151ce5246aa22967147eda6dd660376e97333abe05","reference_window":{"end_line":112,"sha256":"be6497c746ec6e11cdbae34d6297d94dadb2eac067782d0d6cc6116a3639f052","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr181__fmp8Nmv:44","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/walker.py, reference lines 1-120\nold_str matches=0; preview unavailable; showing first 120 lines\nReference-state content:\n1: from typing import Any, Dict, Iterator, List, NamedTuple, Optional, Tuple\n2: \n3: from latex2mathml import commands\n4: from latex2mathml.exceptions import (\n5: DenominatorNotFoundError,\n6: DoubleSubscriptsError,\n7: DoubleSuperscriptsError,\n8: ExtraLeftOrMissingRightError,\n9: MissingSuperScriptOrSubscriptError,\n10: NoAvailableTokensError,\n11: NumeratorNotFoundError,\n12: )\n13: from latex2mathml.tokenizer import tokenize\n14: \n15: \n16: class Node(NamedTuple):\n17: token: str\n18: children: Optional[Tuple[Any, ...]] = None\n19: delimiter: Optional[str] = None\n20: alignment: Optional[str] = None\n21: text: Optional[str] = None\n22: attributes: Optional[Dict[str, str]] = None\n23: \n24: \n25: def walk(data: str) -> List[Node]:\n26: tokens = tokenize(data)\n27: return _walk(tokens)\n28: \n29: \n30: def _walk(tokens: Iterator, terminator: str = None, limit: int = 0) -> List[Node]:\n31: group: List[Node] = []\n32: token: str\n33: has_available_tokens = False\n34: for token in tokens:\n35: has_available_tokens = True\n36: if token == terminator:\n37: if terminator == commands.RIGHT:\n38: group.append(Node(token=token, delimiter=next(tokens)))\n39: break\n40: elif token == commands.RIGHT != terminator:\n41: raise ExtraLeftOrMissingRightError\n42: elif token == commands.LEFT:\n43: delimiter = next(tokens)\n44: children = tuple(_walk(tokens, terminator=commands.RIGHT)) # make \\right as a child of \\left\n45: if len(children) == 0 or children[-1].token != commands.RIGHT:\n46: raise ExtraLeftOrMissingRightError\n47: node = Node(token=token, children=children if len(children) else None, delimiter=delimiter)\n48: elif token == commands.OPENING_BRACE:\n49: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACE))\n50: node = Node(token=commands.BRACES, children=children)\n51: elif token == commands.OPENING_PARENTHESIS:\n52: children = tuple(_walk(tokens, terminator=commands.CLOSING_PARENTHESIS))\n53: if len(children):\n54: node = Node(token=commands.PARENTHESES, children=children)\n55: else:\n56: group.extend([Node(token=token), Node(token=commands.CLOSING_PARENTHESIS)])\n57: continue\n58: elif token == commands.OPENING_BRACKET:\n59: try:\n60: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACKET))\n61: if len(children) or (terminator is not None and terminator.startswith(commands.END)):\n62: node = Node(token=commands.BRACKETS, children=children)\n63: else:\n64: group.extend([Node(token=token), Node(token=commands.CLOSING_BRACKET)])\n65: continue\n66: except NoAvailableTokensError:\n67: node = Node(token=token)\n68: elif token in (commands.SUBSCRIPT, commands.SUPERSCRIPT):\n69: try:\n70: previous = group.pop()\n71: except IndexError:\n72: previous = Node(token=\"\") # left operand can be empty if not present\n73: \n74: if token == previous.token == commands.SUBSCRIPT:\n75: raise DoubleSubscriptsError\n76: if token == previous.token == commands.SUPERSCRIPT:\n77: raise DoubleSuperscriptsError\n78: \n79: if token == commands.SUBSCRIPT and previous.token == commands.SUPERSCRIPT and previous.children is not None:\n80: next_nodes = _walk(tokens, terminator=terminator, limit=1)\n81: node = Node(token=commands.SUBSUP, children=(previous.children[0], *next_nodes, previous.children[1]))\n82: elif (\n83: token == commands.SUPERSCRIPT and previous.token == commands.SUBSCRIPT and previous.children is not None\n84: ):\n85: next_nodes = _walk(tokens, terminator=terminator, limit=1)\n86: if previous.children[0].token == commands.LIMITS:\n87: node = Node(token=commands.LIMITS, children=(group.pop(), *previous.children[1:], *next_nodes))\n88: else:\n89: node = Node(token=commands.SUBSUP, children=(*previous.children, *next_nodes))\n90: else:\n91: try:\n92: next_nodes = _walk(tokens, terminator=terminator, limit=1)\n93: except NoAvailableTokensError:\n94: raise MissingSuperScriptOrSubscriptError\n95: node = Node(token=token, children=(previous, *next_nodes))\n96: elif token == commands.APOSTROPHE:\n97: try:\n98: previous = group.pop()\n99: except IndexError:\n100: previous = Node(token=\"\") # left operand can be empty if not present\n101: \n102: if (\n103: previous.token == commands.SUPERSCRIPT\n104: and previous.children is not None\n105: and len(previous.children) >= 2\n106: and previous.children[1].token == commands.PRIME\n107: ):\n108: node = Node(token=commands.SUPERSCRIPT, children=(previous.children[0], Node(token=commands.DPRIME)))\n109: else:\n110: node = Node(token=commands.SUPERSCRIPT, children=(previous, Node(token=commands.PRIME)))\n111: elif token in commands.COMMANDS_WITH_TWO_PARAMETERS:\n112: attributes = None\n[window truncated; visible lines 1-112]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr181__fmp8Nmv:44"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5933,"content_sha256":"25d500e315e33f76e62eb88d454debe731ae606637cb250a7862a882fce2e114","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":157,"sha256":"b95527afa016314611a97257be3be68e6d94c61ddd477e5568334cc2eb96651e","start_line":38,"truncated":true},"content_sha256":"93f3aefffdd2a3d92bce46bc95583f5a88bbd03eb178daa31bd72f08db49cad5","end_line":178,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"687279b42a1b7cabed1135464144e64d1751f5c1d9fe729bce2569cbb884a42b","reference_window":{"end_line":157,"sha256":"868c1264d0244ffcc8da048a29bcf131bff6ef01ee77ee20631d8ae44f0a5279","start_line":37,"truncated":true},"start_line":37,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr182__LgfEGyE:17","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 37-178\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n37: FRAC = r\"\\frac\"\n38: OVER = r\"\\over\"\n39: \n40: ROOT = r\"\\root\"\n41: SQRT = r\"\\sqrt\"\n42: \n43: OVERSET = r\"\\overset\"\n44: UNDERSET = r\"\\underset\"\n45: \n46: ACUTE = r\"\\acute\"\n47: BAR = r\"\\bar\"\n48: BREVE = r\"\\breve\"\n49: CHECK = r\"\\check\"\n50: DOT = r\"\\dot\"\n51: DDOT = r\"\\ddot\"\n52: DDDOT = r\"\\dddot\"\n53: DDDDOT = r\"\\ddddot\"\n54: OVERLINE = r\"\\overline\"\n55: OVERRIGHTARROW = r\"\\overrightarrow\"\n56: UNDERLINE = r\"\\underline\"\n57: VEC = r\"\\vec\"\n58: \n59: TEXT = r\"\\text\"\n60: \n61: MATH = r\"\\math\"\n62: MATHOP = r\"\\mathop\"\n63: \n64: BEGIN = r\"\\begin\"\n65: END = r\"\\end\"\n66: \n67: LIMITS = r\"\\limits\"\n68: INTEGRAL = r\"\\int\"\n69: SUMMATION = r\"\\sum\"\n70: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n71: \n72: OPERATORNAME = r\"\\operatorname\"\n73: \n74: LBRACE = r\"\\{\"\n75: \n76: FUNCTIONS = (\n77: r\"\\arccos\",\n78: r\"\\arcsin\",\n79: r\"\\arctan\",\n80: r\"\\cos\",\n81: r\"\\cosh\",\n82: r\"\\cot\",\n83: r\"\\coth\",\n84: r\"\\csc\",\n85: r\"\\deg\",\n86: r\"\\dim\",\n87: r\"\\ln\",\n88: r\"\\log\",\n89: r\"\\sec\",\n90: r\"\\sin\",\n91: r\"\\tan\",\n92: )\n93: DETERMINANT = r\"\\det\"\n94: \n95: HLINE = r\"\\hline\"\n96: \n97: CASES = r\"\\cases\"\n98: SUBSTACK = r\"\\substack\"\n99: MATRICES = (\n100: r\"\\matrix\",\n101: r\"\\matrix*\",\n102: r\"\\pmatrix\",\n103: r\"\\pmatrix*\",\n104: r\"\\bmatrix\",\n105: r\"\\bmatrix*\",\n106: r\"\\Bmatrix\",\n107: r\"\\Bmatrix*\",\n108: r\"\\vmatrix\",\n109: r\"\\vmatrix*\",\n110: r\"\\Vmatrix\",\n111: r\"\\Vmatrix*\",\n112: r\"\\array\",\n113: SUBSTACK,\n114: CASES,\n115: )\n116: \n117: BACKSLASH = \"\\\\\"\n118: DOUBLEBACKSLASH = r\"\\\\\"\n119: \n120: QUAD = r\"\\quad\"\n121: QQUAD = r\"\\qquad\"\n122: HSPACE = r\"\\hspace\"\n123: EXCLAMATION = r\"\\!\"\n124: COMMA = r\"\\,\"\n125: COLON = r\"\\:\"\n126: GREATER_THAN = r\"\\>\"\n127: SEMICOLON = r\"\\;\"\n128: \n129: BLACKBOARD_BOLD = r\"\\Bbb\"\n130: BOLD_SYMBOL = r\"\\boldsymbol\"\n131: \n132: BOXED = r\"\\boxed\"\n133: \n134: COLOR = r\"\\color\"\n135: DISPLAYSTYLE = r\"\\displaystyle\"\n136: \n137: \n138: def font_factory(default: Optional[str], replacement: Dict[str, Optional[str]]) -> DefaultDict[str, Optional[str]]:\n139: fonts = defaultdict(lambda: default, replacement)\n140: return fonts\n141: \n142: \n143: LOCAL_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n144: BLACKBOARD_BOLD: font_factory(\"double-struck\", {\"fence\": None}),\n145: BOLD_SYMBOL: font_factory(\"bold\", {\"mi\": \"bold-italic\", \"mtext\": None}),\n146: }\n147: \n148: OLD_STYLE_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n149: r\"\\rm\": font_factory(None, {\"mi\": \"normal\"}),\n150: r\"\\bf\": font_factory(None, {\"mi\": \"bold\"}),\n151: r\"\\it\": font_factory(None, {\"mi\": \"italic\"}),\n152: r\"\\sf\": font_factory(None, {\"mi\": \"sans-serif\"}),\n153: r\"\\tt\": font_factory(None, {\"mi\": \"monospace\"}),\n154: }\n155: \n156: GLOBAL_FONTS = {\n157: **OLD_STYLE_FONTS,\n[window truncated; visible lines 37-157]\nCandidate text preview (unexecuted):\n38: OVER = r\"\\over\"\n39: \n40: ROOT = r\"\\root\"\n41: SQRT = r\"\\sqrt\"\n42: \n43: OVERSET = r\"\\overset\"\n44: UNDERSET = r\"\\underset\"\n45: \n46: ACUTE = r\"\\acute\"\n47: BAR = r\"\\bar\"\n48: BREVE = r\"\\breve\"\n49: CHECK = r\"\\check\"\n50: DOT = r\"\\dot\"\n51: DDOT = r\"\\ddot\"\n52: DDDOT = r\"\\dddot\"\n53: DDDDOT = r\"\\ddddot\"\n54: OVERLINE = r\"\\overline\"\n55: OVERRIGHTARROW = r\"\\overrightarrow\"\n56: UNDERLINE = r\"\\underline\"\n57: VEC = r\"\\vec\"\n58: \n59: TEXT = r\"\\text\"\n60: \n61: MATH = r\"\\math\"\n62: MATHOP = r\"\\mathop\"\n63: \n64: BEGIN = r\"\\begin\"\n65: END = r\"\\end\"\n66: \n67: LIMITS = r\"\\limits\"\n68: INTEGRAL = r\"\\int\"\n69: SUMMATION = r\"\\sum\"\n70: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n71: \n72: OPERATORNAME = r\"\\operatorname\"\n73: \n74: LBRACE = r\"\\{\"\n75: \n76: FUNCTIONS = (\n77: r\"\\arccos\",\n78: r\"\\arcsin\",\n79: r\"\\arctan\",\n80: r\"\\cos\",\n81: r\"\\cosh\",\n82: r\"\\cot\",\n83: r\"\\coth\",\n84: r\"\\csc\",\n85: r\"\\deg\",\n86: r\"\\dim\",\n87: r\"\\ln\",\n88: r\"\\log\",\n89: r\"\\sec\",\n90: r\"\\sin\",\n91: r\"\\tan\",\n92: )\n93: DETERMINANT = r\"\\det\"\n94: \n95: HLINE = r\"\\hline\"\n96: \n97: CASES = r\"\\cases\"\n98: SUBSTACK = r\"\\substack\"\n99: DISPLAYLINES = r\"\\displaylines\"\n100: MATRICES = (\n101: r\"\\matrix\",\n102: r\"\\matrix*\",\n103: r\"\\pmatrix\",\n104: r\"\\pmatrix*\",\n105: r\"\\bmatrix\",\n106: r\"\\bmatrix*\",\n107: r\"\\Bmatrix\",\n108: r\"\\Bmatrix*\",\n109: r\"\\vmatrix\",\n110: r\"\\vmatrix*\",\n111: r\"\\Vmatrix\",\n112: r\"\\Vmatrix*\",\n113: r\"\\array\",\n114: SUBSTACK,\n115: CASES,\n116: DISPLAYLINES,\n117: )\n118: \n119: BACKSLASH = \"\\\\\"\n120: DOUBLEBACKSLASH = r\"\\\\\"\n121: CR = r\"\\cr\"\n122: \n123: QUAD = r\"\\quad\"\n124: QQUAD = r\"\\qquad\"\n125: HSPACE = r\"\\hspace\"\n126: EXCLAMATION = r\"\\!\"\n127: COMMA = r\"\\,\"\n128: COLON = r\"\\:\"\n129: GREATER_THAN = r\"\\>\"\n130: SEMICOLON = r\"\\;\"\n131: \n132: BLACKBOARD_BOLD = r\"\\Bbb\"\n133: BOLD_SYMBOL = r\"\\boldsymbol\"\n134: \n135: BOXED = r\"\\boxed\"\n136: \n137: COLOR = r\"\\color\"\n138: DISPLAYSTYLE = r\"\\displaystyle\"\n139: \n140: \n141: def font_factory(default: Optional[str], replacement: Dict[str, Optional[str]]) -> DefaultDict[str, Optional[str]]:\n142: fonts = defaultdict(lambda: default, replacement)\n143: return fonts\n144: \n145: \n146: LOCAL_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n147: BLACKBOARD_BOLD: font_factory(\"double-struck\", {\"fence\": None}),\n148: BOLD_SYMBOL: font_factory(\"bold\", {\"mi\": \"bold-italic\", \"mtext\": None}),\n149: }\n150: \n151: OLD_STYLE_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n152: r\"\\rm\": font_factory(None, {\"mi\": \"normal\"}),\n153: r\"\\bf\": font_factory(None, {\"mi\": \"bold\"}),\n154: r\"\\it\": font_factory(None, {\"mi\": \"italic\"}),\n155: r\"\\sf\": font_factory(None, {\"mi\": \"sans-serif\"}),\n156: r\"\\tt\": font_factory(None, {\"mi\": \"monospace\"}),\n157: }\n[window truncated; visible lines 38-157]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr182__LgfEGyE:17"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4031,"content_sha256":"39fd3bad2f2ecc7fd00ba4c976934f761f41fb3a07aabe11ac540cc22689cabe","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":50,"sha256":"a53ff5708ddfd24aac5864f6fa6b230abbf9236aa04e3c769916993b7db2d367","start_line":1,"truncated":false},"content_sha256":"e1cc25b637f3ef2b6e36e70ebba101e8f46e7cb8277465c544c2abd9128b174e","end_line":107,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/symbols_parser.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"c773c01865fe7e3b5c9dd3757b6ef517fee982969e4f7bc87a0699a1fdae8a4d","reference_window":{"end_line":49,"sha256":"60f08995331c563962b70916ec9aaca785f0a82aeb64bd1faa9145df16a2fe08","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr183__Bd6AUXi:23","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/symbols_parser.py, reference lines 1-107\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import codecs\n2: import os\n3: import re\n4: from typing import Dict, Optional, Union\n5: \n6: SYMBOLS_FILE: str = os.path.join(os.path.dirname(os.path.realpath(__file__)), \"unimathsymbols.txt\")\n7: SYMBOLS: Optional[Dict[str, str]] = None\n8: \n9: \n10: def convert_symbol(symbol: str) -> Union[str, None]:\n11: global SYMBOLS\n12: if not SYMBOLS:\n13: SYMBOLS = parse_symbols()\n14: return SYMBOLS.get(symbol, None)\n15: \n16: \n17: def parse_symbols() -> Dict[str, str]:\n18: _symbols: Dict[str, str] = {}\n19: with codecs.open(SYMBOLS_FILE, encoding=\"utf-8\") as f:\n20: for line in f:\n21: if not line.startswith(\"#\"):\n22: columns = line.strip().split(\"^\")\n23: _unicode = columns[0]\n24: latex = columns[2]\n25: unicode_math = columns[3]\n26: if latex and latex not in _symbols:\n27: _symbols[latex] = _unicode\n28: if unicode_math and unicode_math not in _symbols:\n29: _symbols[unicode_math] = _unicode\n30: for equivalent in re.findall(r\"=\\s+(\\\\[^,^ ]+),?\", columns[-1]):\n31: if equivalent not in _symbols:\n32: _symbols[equivalent] = _unicode\n33: _symbols.update(\n34: {\n35: r\"\\bigcirc\": _symbols[r\"\\lgwhtcircle\"],\n36: r\"\\Box\": _symbols[r\"\\square\"],\n37: r\"\\centerdot\": _symbols[r\"\\cdot\"],\n38: r\"\\circledS\": \"024C8\",\n39: r\"\\diagdown\": \"02572\",\n40: r\"\\diagup\": \"02571\",\n41: r\"\\dots\": \"02026\",\n42: r\"\\dotsb\": \"022EF\",\n43: r\"\\dotsc\": \"02026\",\n44: r\"\\dotsi\": \"022EF\",\n45: r\"\\dotsm\": \"022EF\",\n46: r\"\\dotso\": \"02026\",\n47: }\n48: )\n49: return _symbols\nCandidate text preview (unexecuted):\n1: import codecs\n2: import os\n3: import re\n4: from typing import Dict, Optional, Union\n5: \n6: SYMBOLS_FILE: str = os.path.join(os.path.dirname(os.path.realpath(__file__)), \"unimathsymbols.txt\")\n7: SYMBOLS: Optional[Dict[str, str]] = None\n8: \n9: \n10: def convert_symbol(symbol: str) -> Union[str, None]:\n11: global SYMBOLS\n12: if not SYMBOLS:\n13: SYMBOLS = parse_symbols()\n14: return SYMBOLS.get(symbol, None)\n15: \n16: \n17: def parse_symbols() -> Dict[str, str]:\n18: _symbols: Dict[str, str] = {}\n19: with codecs.open(SYMBOLS_FILE, encoding=\"utf-8\") as f:\n20: for line in f:\n21: if not line.startswith(\"#\"):\n22: columns = line.strip().split(\"^\")\n23: _unicode = columns[0]\n24: latex = columns[2]\n25: unicode_math = columns[3]\n26: if latex and latex not in _symbols:\n27: _symbols[latex] = _unicode\n28: if unicode_math and unicode_math not in _symbols:\n29: _symbols[unicode_math] = _unicode\n30: for equivalent in re.findall(r\"=\\s+(\\\\[^,^ ]+),?\", columns[-1]):\n31: if equivalent not in _symbols:\n32: _symbols[equivalent] = _unicode\n33: _symbols.update(\n34: {\n35: r\"\\bigcirc\": _symbols[r\"\\lgwhtcircle\"],\n36: r\"\\Box\": _symbols[r\"\\square\"],\n37: r\"\\centerdot\": _symbols[r\"\\cdot\"],\n38: r\"\\circledS\": \"024C8\",\n39: r\"\\diagdown\": \"02572\",\n40: r\"\\diagup\": \"02571\",\n41: r\"\\dots\": \"02026\",\n42: r\"\\dotsb\": \"022EF\",\n43: r\"\\dotsc\": \"02026\",\n44: r\"\\dotsi\": \"022EF\",\n45: r\"\\dotsm\": \"022EF\",\n46: r\"\\dotso\": \"02026\",\n47: r\"\\emptyset\": _symbols[r\"\\varnothing\"],\n48: }\n49: )\n50: return _symbols\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr183__Bd6AUXi:23"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr184__FrDXEWD:10","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr184__FrDXEWD:10"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr192__e5UroNt:16","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr192__e5UroNt:16"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":1447,"content_sha256":"3df8434528928a6a07ef7a15a89a3908548c3d802e2d25ac66605683cf9e7f8e","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":34,"sha256":"2870da804b73c5b7ba9c9880a66cfef65c8fc57e15c54ab8b79cb4b1b91e2993","start_line":1,"truncated":false},"content_sha256":"f02a4a7d1867f9f8de56c30b93b91f4fc03fd054d6d676453606d71f891ca309","end_line":90,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/exceptions.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"669209a3bce964fce734751a135382c33bc70ce46536c1259754413f88cf9c68","reference_window":{"end_line":30,"sha256":"463b2db3a9a18f8d77c47cc128e613b1ecffa79ccfcd7da94c0ac5c7789294b8","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr195__5cqKzHB:20","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/exceptions.py, reference lines 1-90\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: class NumeratorNotFoundError(Exception):\n2: pass\n3: \n4: \n5: class DenominatorNotFoundError(Exception):\n6: pass\n7: \n8: \n9: class ExtraLeftOrMissingRightError(Exception):\n10: pass\n11: \n12: \n13: class MissingSuperScriptOrSubscriptError(Exception):\n14: pass\n15: \n16: \n17: class DoubleSubscriptsError(Exception):\n18: pass\n19: \n20: \n21: class DoubleSuperscriptsError(Exception):\n22: pass\n23: \n24: \n25: class NoAvailableTokensError(Exception):\n26: pass\n27: \n28: \n29: class InvalidStyleForGenfracError(Exception):\n30: pass\nCandidate text preview (unexecuted):\n1: class NumeratorNotFoundError(Exception):\n2: pass\n3: \n4: \n5: class DenominatorNotFoundError(Exception):\n6: pass\n7: \n8: \n9: class ExtraLeftOrMissingRightError(Exception):\n10: pass\n11: \n12: \n13: class MissingSuperScriptOrSubscriptError(Exception):\n14: pass\n15: \n16: \n17: class DoubleSubscriptsError(Exception):\n18: pass\n19: \n20: \n21: class DoubleSuperscriptsError(Exception):\n22: pass\n23: \n24: \n25: class NoAvailableTokensError(Exception):\n26: pass\n27: \n28: \n29: class InvalidStyleForGenfracError(Exception):\n30: pass\n31: \n32: \n33: class MissingEndError(Exception):\n34: pass\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr195__5cqKzHB:20"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":267,"content_sha256":"b3b20543211abe94b946b287e1809229a5ff947831d579c4075ddb570e92e0c4","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr199__34zwDNY:14","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr199__34zwDNY:14"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5843,"content_sha256":"91cd0a301a536cb68a48f27645c168325c5db9d51a37fb9d95c33c9bcfd19724","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":349,"sha256":"3ae4fdd6bd666167f4ad83f39b4ff63dcfe0e8edae5e91f16aea453645719bc1","start_line":291,"truncated":true},"content_sha256":"d44213eb9ae805f2d0bd095a972d54ac69f41e008a927a1201846c2f4ee884c6","end_line":383,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"1a55ad9a67ad49519864eb656198466c0859b67ad893a41d4201f3d9c633a04e","reference_window":{"end_line":349,"sha256":"ad8f335f895791889ea958c52e29429299dad8a5c33bda34d0f35915b16a11c1","start_line":291,"truncated":true},"start_line":260,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr200__ecmHVep:52","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 260-383\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n291: node: Node, parent: Element, is_math_mode: bool = False, font: Optional[Dict[str, Optional[str]]] = None\n292: ) -> None:\n293: token = node.token\n294: symbol = convert_symbol(token)\n295: if re.match(r\"\\d+(.\\d+)?\", token):\n296: element = SubElement(parent, \"mn\")\n297: element.text = token\n298: _set_font(element, element.tag, font)\n299: elif token in OPERATORS:\n300: element = SubElement(parent, \"mo\")\n301: element.text = token if symbol is None else \"&#x{};\".format(symbol)\n302: if token == r\"\\|\":\n303: element.attrib[\"fence\"] = \"false\"\n304: if token in (\"(\", \")\", \"[\", \"]\", \"|\", r\"\\|\", r\"\\{\", r\"\\}\"):\n305: element.attrib[\"stretchy\"] = \"false\"\n306: _set_font(element, \"fence\", font)\n307: else:\n308: _set_font(element, element.tag, font)\n309: elif (\n310: symbol\n311: and (\n312: int(symbol, 16) in range(int(\"2200\", 16), int(\"22FF\", 16) + 1)\n313: or int(symbol, 16) in range(int(\"2190\", 16), int(\"21FF\", 16) + 1)\n314: )\n315: or symbol == \".\"\n316: ):\n317: element = SubElement(parent, \"mo\")\n318: element.text = \"&#x{};\".format(symbol)\n319: _set_font(element, element.tag, font)\n320: elif token in (r\"\\ \", \"~\"):\n321: element = SubElement(parent, \"mtext\")\n322: element.text = \" \"\n323: _set_font(element, \"mtext\", font)\n324: elif token in (commands.DETERMINANT, commands.GCD, commands.INTOP, commands.INJLIM):\n325: element = SubElement(parent, \"mo\", movablelimits=\"true\")\n326: texts = {commands.INJLIM: \"inj lim\", commands.INTOP: \"∫\"}\n327: element.text = texts.get(token, token[1:])\n328: _set_font(element, element.tag, font)\n329: elif token == commands.IDOTSINT:\n330: for s in (\"∫\", \"⋯\", \"∫\"):\n331: element = SubElement(parent, \"mo\")\n332: element.text = s\n333: elif token.startswith(commands.BACKSLASH):\n334: element = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n335: if symbol:\n336: element.text = \"&#x{};\".format(symbol)\n337: elif token in commands.FUNCTIONS:\n338: element.text = token[1:]\n339: elif token.startswith(commands.OPERATORNAME):\n340: element.text = token[14:-1]\n341: else:\n342: element.text = token\n343: _set_font(element, element.tag, font)\n344: else:\n345: element = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n346: element.text = token\n347: _set_font(element, element.tag, font)\n348: \n349: \n[window truncated; visible lines 291-349]\nCandidate text preview (unexecuted):\n291: node: Node, parent: Element, is_math_mode: bool = False, font: Optional[Dict[str, Optional[str]]] = None\n292: ) -> None:\n293: token = node.token\n294: symbol = convert_symbol(token)\n295: if re.match(r\"\\d+(.\\d+)?\", token):\n296: element = SubElement(parent, \"mn\")\n297: element.text = token\n298: _set_font(element, element.tag, font)\n299: elif token in OPERATORS:\n300: element = SubElement(parent, \"mo\")\n301: element.text = token if symbol is None else \"&#x{};\".format(symbol)\n302: if token == r\"\\|\":\n303: element.attrib[\"fence\"] = \"false\"\n304: if token in (\"(\", \")\", \"[\", \"]\", \"|\", r\"\\|\", r\"\\{\", r\"\\}\"):\n305: element.attrib[\"stretchy\"] = \"false\"\n306: _set_font(element, \"fence\", font)\n307: else:\n308: _set_font(element, element.tag, font)\n309: elif (\n310: symbol\n311: and (\n312: int(symbol, 16) in range(int(\"2200\", 16), int(\"22FF\", 16) + 1)\n313: or int(symbol, 16) in range(int(\"2190\", 16), int(\"21FF\", 16) + 1)\n314: )\n315: or symbol == \".\"\n316: ):\n317: element = SubElement(parent, \"mo\")\n318: element.text = \"&#x{};\".format(symbol)\n319: _set_font(element, element.tag, font)\n320: elif token in (r\"\\ \", \"~\", commands.NOBREAKSPACE, commands.SPACE):\n321: element = SubElement(parent, \"mtext\")\n322: element.text = \" \"\n323: _set_font(element, \"mtext\", font)\n324: elif token in (commands.DETERMINANT, commands.GCD, commands.INTOP, commands.INJLIM):\n325: element = SubElement(parent, \"mo\", movablelimits=\"true\")\n326: texts = {commands.INJLIM: \"inj lim\", commands.INTOP: \"∫\"}\n327: element.text = texts.get(token, token[1:])\n328: _set_font(element, element.tag, font)\n329: elif token == commands.IDOTSINT:\n330: for s in (\"∫\", \"⋯\", \"∫\"):\n331: element = SubElement(parent, \"mo\")\n332: element.text = s\n333: elif token.startswith(commands.BACKSLASH):\n334: element = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n335: if symbol:\n336: element.text = \"&#x{};\".format(symbol)\n337: elif token in commands.FUNCTIONS:\n338: element.text = token[1:]\n339: elif token.startswith(commands.OPERATORNAME):\n340: element.text = token[14:-1]\n341: else:\n342: element.text = token\n343: _set_font(element, element.tag, font)\n344: else:\n345: element = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n346: element.text = token\n347: _set_font(element, element.tag, font)\n348: \n349: \n[window truncated; visible lines 291-349]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr200__ecmHVep:52"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5929,"content_sha256":"b2b1f0bf0e20c3e19239a25599479ef0c385043a6cad817600217b0fe36cb8e1","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":327,"sha256":"b20ca824a6cd9cdc71a908ca2306e2aafbb7503cfc635d479a170d72a223d631","start_line":265,"truncated":true},"content_sha256":"40652c223b3b072ac31af6b8af75c58f25895ca31ec4e9dd04151c83a9313cdd","end_line":359,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"552024896a048466555c494a7015160be832e89d50b0dbbd06a9136bfe08633d","reference_window":{"end_line":327,"sha256":"a46760b292468d1e0ecd964c520a14cc6d20ddeeaf02fe6144eb355cc2fe6a6a","start_line":265,"truncated":true},"start_line":236,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr201__j5evyBK:33","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 236-359\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n265: GRAVE: (\"mover\", {}),\n266: HAT: (\"mover\", {}),\n267: LIMITS: (\"munderover\", {}),\n268: OVERLINE: (\"mover\", {}),\n269: OVERRIGHTARROW: (\"mover\", {}),\n270: OVERSET: (\"mover\", {}),\n271: UNDERLINE: (\"munder\", {}),\n272: UNDERSET: (\"munder\", {}),\n273: VEC: (\"mover\", {}),\n274: # spaces\n275: COLON: (\"mspace\", {\"width\": \"0.222em\"}),\n276: COMMA: (\"mspace\", {\"width\": \"0.167em\"}),\n277: DOUBLEBACKSLASH: (\"mspace\", {\"linebreak\": \"newline\"}),\n278: ENSPACE: (\"mspace\", {\"width\": \"0.5em\"}),\n279: EXCLAMATION: (\"mspace\", {\"width\": \"negativethinmathspace\"}),\n280: GREATER_THAN: (\"mspace\", {\"width\": \"0.222em\"}),\n281: HSKIP: (\"mspace\", {}),\n282: HSPACE: (\"mspace\", {}),\n283: KERN: (\"mspace\", {}),\n284: MSKIP: (\"mspace\", {}),\n285: MSPACE: (\"mspace\", {}),\n286: NEGTHINSPACE: (\"mspace\", {\"width\": \"negativethinmathspace\"}),\n287: NEGMEDSPACE: (\"mspace\", {\"width\": \"negativemediummathspace\"}),\n288: NEGTHICKSPACE: (\"mspace\", {\"width\": \"negativethickmathspace\"}),\n289: THINSPACE: (\"mspace\", {\"width\": \"thinmathspace\"}),\n290: QQUAD: (\"mspace\", {\"width\": \"2em\"}),\n291: QUAD: (\"mspace\", {\"width\": \"1em\"}),\n292: SEMICOLON: (\"mspace\", {\"width\": \"0.278em\"}),\n293: # enclose\n294: BOXED: (\"menclose\", {\"notation\": \"box\"}),\n295: FBOX: (\"menclose\", {\"notation\": \"box\"}),\n296: # operators\n297: **BIG,\n298: **HUGE,\n299: **{limit: (\"mo\", {}) for limit in LIMIT},\n300: LEFT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"prefix\")])),\n301: RIGHT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"postfix\")])),\n302: # styles\n303: COLOR: (\"mstyle\", {}),\n304: DISPLAYSTYLE: (\"mstyle\", {\"displaystyle\": \"true\", \"scriptlevel\": \"0\"}),\n305: TEXTSTYLE: (\"mstyle\", {\"displaystyle\": \"false\", \"scriptlevel\": \"0\"}),\n306: SCRIPTSTYLE: (\"mstyle\", {\"displaystyle\": \"false\", \"scriptlevel\": \"1\"}),\n307: SCRIPTSCRIPTSTYLE: (\"mstyle\", {\"displaystyle\": \"false\", \"scriptlevel\": \"2\"}),\n308: # others\n309: SQRT: (\"msqrt\", {}),\n310: ROOT: (\"mroot\", {}),\n311: HREF: (\"mtext\", {}),\n312: TEXT: (\"mtext\", {}),\n313: MATHOP: (\"mrow\", {}),\n314: HPHANTOM: (\"mphantom\", {}),\n315: }\n316: \n317: DIACRITICS: Dict[str, Tuple[str, Dict[str, str]]] = {\n318: OVERLINE: (\"¯\", {\"stretchy\": \"true\"}),\n319: BAR: (\"¯\", {\"stretchy\": \"true\"}),\n320: UNDERLINE: (\"̲\", {\"stretchy\": \"true\"}),\n321: OVERRIGHTARROW: (\"→\", {\"stretchy\": \"true\"}),\n322: VEC: (\"→\", {\"stretchy\": \"true\"}),\n323: ACUTE: (\"´\", {}),\n324: BREVE: (\"˘\", {}),\n325: CHECK: (\"ˇ\", {}),\n326: DOT: (\"˙\", {}),\n327: DDOT: (\"¨\", {}),\n[window truncated; visible lines 265-327]\nCandidate text preview (unexecuted):\n265: GRAVE: (\"mover\", {}),\n266: HAT: (\"mover\", {}),\n267: LIMITS: (\"munderover\", {}),\n268: OVERLINE: (\"mover\", {}),\n269: OVERRIGHTARROW: (\"mover\", {}),\n270: OVERSET: (\"mover\", {}),\n271: UNDERLINE: (\"munder\", {}),\n272: UNDERSET: (\"munder\", {}),\n273: VEC: (\"mover\", {}),\n274: # spaces\n275: COLON: (\"mspace\", {\"width\": \"0.222em\"}),\n276: COMMA: (\"mspace\", {\"width\": \"0.167em\"}),\n277: DOUBLEBACKSLASH: (\"mspace\", {\"linebreak\": \"newline\"}),\n278: ENSPACE: (\"mspace\", {\"width\": \"0.5em\"}),\n279: EXCLAMATION: (\"mspace\", {\"width\": \"negativethinmathspace\"}),\n280: GREATER_THAN: (\"mspace\", {\"width\": \"0.222em\"}),\n281: HSKIP: (\"mspace\", {}),\n282: HSPACE: (\"mspace\", {}),\n283: KERN: (\"mspace\", {}),\n284: MSKIP: (\"mspace\", {}),\n285: MSPACE: (\"mspace\", {}),\n286: NEGTHINSPACE: (\"mspace\", {\"width\": \"negativethinmathspace\"}),\n287: NEGMEDSPACE: (\"mspace\", {\"width\": \"negativemediummathspace\"}),\n288: NEGTHICKSPACE: (\"mspace\", {\"width\": \"negativethickmathspace\"}),\n289: THINSPACE: (\"mspace\", {\"width\": \"thinmathspace\"}),\n290: QQUAD: (\"mspace\", {\"width\": \"2em\"}),\n291: QUAD: (\"mspace\", {\"width\": \"1em\"}),\n292: SEMICOLON: (\"mspace\", {\"width\": \"0.278em\"}),\n293: # enclose\n294: BOXED: (\"menclose\", {\"notation\": \"box\"}),\n295: FBOX: (\"menclose\", {\"notation\": \"box\"}),\n296: # operators\n297: **BIG,\n298: **MSTYLE_SIZES,\n299: **{limit: (\"mo\", {}) for limit in LIMIT},\n300: LEFT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"prefix\")])),\n301: RIGHT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"postfix\")])),\n302: # styles\n303: COLOR: (\"mstyle\", {}),\n304: DISPLAYSTYLE: (\"mstyle\", {\"displaystyle\": \"true\", \"scriptlevel\": \"0\"}),\n305: TEXTSTYLE: (\"mstyle\", {\"displaystyle\": \"false\", \"scriptlevel\": \"0\"}),\n306: SCRIPTSTYLE: (\"mstyle\", {\"displaystyle\": \"false\", \"scriptlevel\": \"1\"}),\n307: SCRIPTSCRIPTSTYLE: (\"mstyle\", {\"displaystyle\": \"false\", \"scriptlevel\": \"2\"}),\n308: # others\n309: SQRT: (\"msqrt\", {}),\n310: ROOT: (\"mroot\", {}),\n311: HREF: (\"mtext\", {}),\n312: TEXT: (\"mtext\", {}),\n313: MATHOP: (\"mrow\", {}),\n314: HPHANTOM: (\"mphantom\", {}),\n315: }\n316: \n317: DIACRITICS: Dict[str, Tuple[str, Dict[str, str]]] = {\n318: OVERLINE: (\"¯\", {\"stretchy\": \"true\"}),\n319: BAR: (\"¯\", {\"stretchy\": \"true\"}),\n320: UNDERLINE: (\"̲\", {\"stretchy\": \"true\"}),\n321: OVERRIGHTARROW: (\"→\", {\"stretchy\": \"true\"}),\n322: VEC: (\"→\", {\"stretchy\": \"true\"}),\n323: ACUTE: (\"´\", {}),\n324: BREVE: (\"˘\", {}),\n325: CHECK: (\"ˇ\", {}),\n326: DOT: (\"˙\", {}),\n327: DDOT: (\"¨\", {}),\n[window truncated; visible lines 265-327]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr201__j5evyBK:33"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5932,"content_sha256":"49fb4edc4063846b97e03cac52241eaa08b3e05017ac6e9389df49cbf3f05054","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":161,"sha256":"3799b99a5cc28f20e11d10916eaa6d334b4f025af7b3c5e4805b479b1e9459f1","start_line":98,"truncated":true},"content_sha256":"090e1e62033a3c1db01b224b965cbae3c8599739100f61ac0baa479064c4692c","end_line":190,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"db55b05341589719bcd44fce478398e39eb81d79f0bb758e0b30dc17cf5b8c11","reference_window":{"end_line":161,"sha256":"f7e3c6d4c451496e47862c372d33281b7a9922cdaa2a66c170fd30367ab86954","start_line":97,"truncated":true},"start_line":69,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr204__erwXPWz:38","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 69-190\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n97: parent.set(\"rowlines\", \" \".join(row_lines))\n98: \n99: \n100: def _get_column_alignment(\n101: alignment: Optional[str], column_alignment: Optional[str], column_index: int\n102: ) -> Tuple[Optional[str], int]:\n103: if alignment:\n104: try:\n105: column_alignment = COLUMN_ALIGNMENT_MAP.get(alignment[column_index])\n106: column_index += 1\n107: except IndexError:\n108: pass\n109: return column_alignment, column_index\n110: \n111: \n112: def _make_matrix_cell(row: Element, column_alignment: Optional[str]) -> Element:\n113: if column_alignment:\n114: return SubElement(row, \"mtd\", columnalign=column_alignment)\n115: return SubElement(row, \"mtd\")\n116: \n117: \n118: def _convert_group(\n119: nodes: Iterable[Node], parent: Element, is_math_mode: bool = False, font: Optional[Dict[str, Optional[str]]] = None\n120: ) -> None:\n121: _font = font\n122: for node in nodes:\n123: token = node.token\n124: if token in (*commands.MSTYLE_SIZES, *commands.STYLES):\n125: node = Node(token=token, children=tuple(n for n in nodes))\n126: _convert_command(node, parent, is_math_mode, _font)\n127: elif token in commands.CONVERSION_MAP:\n128: _convert_command(node, parent, is_math_mode, _font)\n129: elif token.startswith(commands.MATH):\n130: is_math_mode = True\n131: elif token in commands.GLOBAL_FONTS.keys():\n132: _font = commands.GLOBAL_FONTS.get(token)\n133: elif token in commands.LOCAL_FONTS and node.children is not None:\n134: _convert_group(iter(node.children), parent, is_math_mode, commands.LOCAL_FONTS[token])\n135: elif node.children is None:\n136: _convert_symbol(node, parent, is_math_mode, _font)\n137: elif node.children is not None:\n138: _row = SubElement(parent, \"mrow\")\n139: _convert_group(iter(node.children), _row, is_math_mode, _font)\n140: \n141: \n142: def _get_alignment_and_column_lines(alignment: Optional[str] = None) -> Tuple[Optional[str], Optional[str]]:\n143: if alignment is None:\n144: return None, None\n145: if \"|\" not in alignment:\n146: return alignment, None\n147: _alignment = \"\"\n148: column_lines = []\n149: for c in alignment:\n150: if c == \"|\":\n151: column_lines.append(\"solid\")\n152: else:\n153: _alignment += c\n154: if len(_alignment) - len(column_lines) == 2:\n155: column_lines.append(\"none\")\n156: return _alignment, \" \".join(column_lines)\n157: \n158: \n159: def _convert_command(\n160: node: Node, parent: Element, is_math_mode: bool = False, font: Optional[Dict[str, Optional[str]]] = None\n161: ) -> None:\n[window truncated; visible lines 97-161]\nCandidate text preview (unexecuted):\n98: \n99: \n100: def _get_column_alignment(\n101: alignment: Optional[str], column_alignment: Optional[str], column_index: int\n102: ) -> Tuple[Optional[str], int]:\n103: if alignment:\n104: try:\n105: column_alignment = COLUMN_ALIGNMENT_MAP.get(alignment[column_index])\n106: column_index += 1\n107: except IndexError:\n108: pass\n109: return column_alignment, column_index\n110: \n111: \n112: def _make_matrix_cell(row: Element, column_alignment: Optional[str]) -> Element:\n113: if column_alignment:\n114: return SubElement(row, \"mtd\", columnalign=column_alignment)\n115: return SubElement(row, \"mtd\")\n116: \n117: \n118: def _convert_group(\n119: nodes: Iterable[Node], parent: Element, is_math_mode: bool = False, font: Optional[Dict[str, Optional[str]]] = None\n120: ) -> None:\n121: _font = font\n122: for node in nodes:\n123: token = node.token\n124: if token in (*commands.MSTYLE_SIZES, *commands.STYLES):\n125: node = Node(token=token, children=tuple(n for n in nodes))\n126: _convert_command(node, parent, is_math_mode, _font)\n127: elif token in commands.CONVERSION_MAP:\n128: _convert_command(node, parent, is_math_mode, _font)\n129: elif token.startswith(commands.MATH) and node.children is not None:\n130: _convert_group(iter(node.children), parent, True, _font)\n131: elif token in commands.GLOBAL_FONTS.keys():\n132: _font = commands.GLOBAL_FONTS.get(token)\n133: elif token in commands.LOCAL_FONTS and node.children is not None:\n134: _convert_group(iter(node.children), parent, is_math_mode, commands.LOCAL_FONTS[token])\n135: elif node.children is None:\n136: _convert_symbol(node, parent, is_math_mode, _font)\n137: elif node.children is not None:\n138: _row = SubElement(parent, \"mrow\")\n139: _convert_group(iter(node.children), _row, is_math_mode, _font)\n140: \n141: \n142: def _get_alignment_and_column_lines(alignment: Optional[str] = None) -> Tuple[Optional[str], Optional[str]]:\n143: if alignment is None:\n144: return None, None\n145: if \"|\" not in alignment:\n146: return alignment, None\n147: _alignment = \"\"\n148: column_lines = []\n149: for c in alignment:\n150: if c == \"|\":\n151: column_lines.append(\"solid\")\n152: else:\n153: _alignment += c\n154: if len(_alignment) - len(column_lines) == 2:\n155: column_lines.append(\"none\")\n156: return _alignment, \" \".join(column_lines)\n157: \n158: \n159: def _convert_command(\n160: node: Node, parent: Element, is_math_mode: bool = False, font: Optional[Dict[str, Optional[str]]] = None\n161: ) -> None:\n[window truncated; visible lines 98-161]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr204__erwXPWz:38"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5360,"content_sha256":"e2ef3c4e7fb95e819974396f2abbc28f0db5dc46d19b793b34a05a1d7cf2b693","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":68,"sha256":"931860f2845335c5b384443798157ff104f799ae2e45165690a43537e90c847f","start_line":1,"truncated":false},"content_sha256":"47253c30951c343170a618a608d408fe2e9c837c28687d202f0d0b5bd78137b2","end_line":125,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/tokenizer.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"1deefce9bd6bf4129300a6e4d0f825b97524be1a044a95f9f85ad50c7a8db879","reference_window":{"end_line":65,"sha256":"459af6b642d6c5d1ea46465f18b8db4c427cc68099ab6055e632a9ada8647f17","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr205__85rxJv2:36","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/tokenizer.py, reference lines 1-125\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import re\n2: from typing import Iterator\n3: \n4: from latex2mathml import commands\n5: from latex2mathml.symbols_parser import convert_symbol\n6: \n7: UNITS = (\"in\", \"mm\", \"cm\", \"pt\", \"em\", \"ex\", \"pc\", \"bp\", \"dd\", \"cc\", \"sp\", \"mu\")\n8: \n9: PATTERN = re.compile(\n10: rf\"\"\"\n11: %[^\\n]+ | # comment\n12: [a-zA-Z] | # letter\n13: [_^]\\d | # number succeeding a underscore or caret\n14: -?\\d+(\\.\\d+)?(\\s*({'|'.join(UNITS)})) | # dimension\n15: \\d+(\\.\\d+)? | # integer/decimal\n16: \\.\\d+ | # decimal can start with just a dot (.)\n17: \\. | # dot\n18: \\\\(\n19: [\\\\\\[\\]{{}}\\s!,:>;|_%#$&] | # escaped characters\n20: (begin|end|operatorname){{[a-zA-Z]+\\*?}} | # begin, end or operatorname\n21: # FIXME: curly braces is tricky on these commands\n22: (color|fbox|href|text)\\s*{{([^}}]*)}} | # color, fbox, href, text\n23: math[a-z]+{{[a-zA-Z]}} | # commands starting with math\n24: [a-zA-Z]+ # other commands\n25: )? |\n26: \\S # non-space character\n27: \"\"\",\n28: re.VERBOSE,\n29: )\n30: \n31: \n32: def tokenize(data: str) -> Iterator[str]:\n33: for match in PATTERN.finditer(data):\n34: first_match = match.group(0)\n35: if first_match.startswith(commands.MATH):\n36: yield from _tokenize_math(first_match)\n37: elif first_match == commands.TEXTSTYLE:\n38: yield first_match # prevent the next line (commands.TEXT)\n39: elif first_match.startswith((commands.COLOR, commands.FBOX, commands.HREF, commands.TEXT)):\n40: index = first_match.index(commands.OPENING_BRACE)\n41: yield first_match[:index].strip()\n42: yield match.group(8)\n43: elif first_match.startswith(\"%\"):\n44: continue\n45: elif first_match[0].isdigit() and first_match.endswith(UNITS):\n46: yield first_match.replace(\" \", \"\")\n47: elif len(first_match) == 2 and first_match[0] in commands.SUBSUP:\n48: yield from first_match\n49: else:\n50: yield first_match\n51: \n52: \n53: def _tokenize_math(match: str) -> Iterator[str]:\n54: symbol = convert_symbol(match)\n55: if symbol:\n56: yield f\"&#x{symbol};\"\n57: return\n58: try:\n59: index = match.index(commands.OPENING_BRACE)\n60: yield match[:index]\n61: yield match[index]\n62: yield match[index + 1 : -1]\n63: yield match[-1]\n64: except ValueError:\n65: yield match\nCandidate text preview (unexecuted):\n1: import re\n2: from typing import Iterator\n3: \n4: from latex2mathml import commands\n5: from latex2mathml.symbols_parser import convert_symbol\n6: \n7: UNITS = (\"in\", \"mm\", \"cm\", \"pt\", \"em\", \"ex\", \"pc\", \"bp\", \"dd\", \"cc\", \"sp\", \"mu\")\n8: \n9: PATTERN = re.compile(\n10: rf\"\"\"\n11: %[^\\n]+ | # comment\n12: [a-zA-Z] | # letter\n13: [_^]\\d | # number succeeding a underscore or caret\n14: -?\\d+(\\.\\d+)?(\\s*({'|'.join(UNITS)})) | # dimension\n15: \\d+(\\.\\d+)? | # integer/decimal\n16: \\.\\d+ | # decimal can start with just a dot (.)\n17: \\. | # dot\n18: \\\\(\n19: [\\\\\\[\\]{{}}\\s!,:>;|_%#$&] | # escaped characters\n20: (begin|end|operatorname){{[a-zA-Z]+\\*?}} | # begin, end or operatorname\n21: # FIXME: curly braces is tricky on these commands\n22: (color|fbox|href|text)\\s*{{([^}}]*)}} | # color, fbox, href, text\n23: math[a-z]+{{[a-zA-Z]}} | # commands starting with math\n24: [a-zA-Z]+ # other commands\n25: )? |\n26: \\S # non-space character\n27: \"\"\",\n28: re.VERBOSE,\n29: )\n30: \n31: \n32: def tokenize(data: str) -> Iterator[str]:\n33: for match in PATTERN.finditer(data):\n34: first_match = match.group(0)\n35: if first_match.startswith(commands.MATH):\n36: yield from _tokenize_math(first_match)\n37: elif first_match == commands.TEXTSTYLE:\n38: yield first_match # prevent the next line (commands.TEXT)\n39: elif first_match.startswith((commands.COLOR, commands.FBOX, commands.HREF, commands.TEXT)):\n40: index = first_match.index(commands.OPENING_BRACE)\n41: yield first_match[:index].strip()\n42: yield match.group(8)\n43: elif first_match.startswith(\"%\"):\n44: continue\n45: elif first_match[0].isdigit() and first_match.endswith(UNITS):\n46: yield first_match.replace(\" \", \"\")\n47: elif len(first_match) == 2 and first_match[0] in commands.SUBSUP:\n48: yield from first_match\n49: else:\n50: yield first_match\n51: \n52: \n53: def _tokenize_math(match: str) -> Iterator[str]:\n54: try:\n55: index = match.index(commands.OPENING_BRACE)\n56: except ValueError:\n57: yield match\n58: return\n59: command = match[:index]\n60: if command not in commands.MATH_FONTS:\n61: symbol = convert_symbol(match)\n62: if symbol:\n63: yield f\"&#x{symbol};\"\n64: return\n65: yield command\n66: yield match[index]\n67: yield match[index + 1 : -1]\n68: yield match[-1]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr205__85rxJv2:36"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5278,"content_sha256":"1f44dd85035496bdd01321b5b16f7bb675688ba4e8951ff494a2faefec72dd66","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":65,"sha256":"970e48cb56d1e5c7829f64794c5c82c735b4c3b52c55bc1bc1a2482c71c3b9be","start_line":1,"truncated":false},"content_sha256":"88c5363a4c3126870f67e1534c4c72a5d6af9a947974cabc126fe126988e7cae","end_line":82,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/tokenizer.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"1deefce9bd6bf4129300a6e4d0f825b97524be1a044a95f9f85ad50c7a8db879","reference_window":{"end_line":65,"sha256":"459af6b642d6c5d1ea46465f18b8db4c427cc68099ab6055e632a9ada8647f17","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr206__TqUcep5:27","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/tokenizer.py, reference lines 1-82\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import re\n2: from typing import Iterator\n3: \n4: from latex2mathml import commands\n5: from latex2mathml.symbols_parser import convert_symbol\n6: \n7: UNITS = (\"in\", \"mm\", \"cm\", \"pt\", \"em\", \"ex\", \"pc\", \"bp\", \"dd\", \"cc\", \"sp\", \"mu\")\n8: \n9: PATTERN = re.compile(\n10: rf\"\"\"\n11: %[^\\n]+ | # comment\n12: [a-zA-Z] | # letter\n13: [_^]\\d | # number succeeding a underscore or caret\n14: -?\\d+(\\.\\d+)?(\\s*({'|'.join(UNITS)})) | # dimension\n15: \\d+(\\.\\d+)? | # integer/decimal\n16: \\.\\d+ | # decimal can start with just a dot (.)\n17: \\. | # dot\n18: \\\\(\n19: [\\\\\\[\\]{{}}\\s!,:>;|_%#$&] | # escaped characters\n20: (begin|end|operatorname){{[a-zA-Z]+\\*?}} | # begin, end or operatorname\n21: # FIXME: curly braces is tricky on these commands\n22: (color|fbox|href|text)\\s*{{([^}}]*)}} | # color, fbox, href, text\n23: math[a-z]+{{[a-zA-Z]}} | # commands starting with math\n24: [a-zA-Z]+ # other commands\n25: )? |\n26: \\S # non-space character\n27: \"\"\",\n28: re.VERBOSE,\n29: )\n30: \n31: \n32: def tokenize(data: str) -> Iterator[str]:\n33: for match in PATTERN.finditer(data):\n34: first_match = match.group(0)\n35: if first_match.startswith(commands.MATH):\n36: yield from _tokenize_math(first_match)\n37: elif first_match == commands.TEXTSTYLE:\n38: yield first_match # prevent the next line (commands.TEXT)\n39: elif first_match.startswith((commands.COLOR, commands.FBOX, commands.HREF, commands.TEXT)):\n40: index = first_match.index(commands.OPENING_BRACE)\n41: yield first_match[:index].strip()\n42: yield match.group(8)\n43: elif first_match.startswith(\"%\"):\n44: continue\n45: elif first_match[0].isdigit() and first_match.endswith(UNITS):\n46: yield first_match.replace(\" \", \"\")\n47: elif len(first_match) == 2 and first_match[0] in commands.SUBSUP:\n48: yield from first_match\n49: else:\n50: yield first_match\n51: \n52: \n53: def _tokenize_math(match: str) -> Iterator[str]:\n54: symbol = convert_symbol(match)\n55: if symbol:\n56: yield f\"&#x{symbol};\"\n57: return\n58: try:\n59: index = match.index(commands.OPENING_BRACE)\n60: yield match[:index]\n61: yield match[index]\n62: yield match[index + 1 : -1]\n63: yield match[-1]\n64: except ValueError:\n65: yield match\nCandidate text preview (unexecuted):\n1: import re\n2: from typing import Iterator\n3: \n4: from latex2mathml import commands\n5: from latex2mathml.symbols_parser import convert_symbol\n6: \n7: UNITS = (\"in\", \"mm\", \"cm\", \"pt\", \"em\", \"ex\", \"pc\", \"bp\", \"dd\", \"cc\", \"sp\", \"mu\")\n8: \n9: PATTERN = re.compile(\n10: rf\"\"\"\n11: %[^\\n]+ | # comment\n12: [a-zA-Z] | # letter\n13: [_^]\\d | # number succeeding a underscore or caret\n14: -?\\d+(\\.\\d+)?(\\s*({'|'.join(UNITS)})) | # dimension\n15: \\d+(\\.\\d+)? | # integer/decimal\n16: \\.\\d+ | # decimal can start with just a dot (.)\n17: \\. | # dot\n18: \\\\(\n19: [\\\\\\[\\]{{}}\\s!,:>;|_%#$&] | # escaped characters\n20: (begin|end|operatorname){{[a-zA-Z]+\\*?}} | # begin, end or operatorname\n21: # FIXME: curly braces is tricky on these commands\n22: (color|fbox|href|hbox|text)\\s*{{([^}}]*)}} | # color, fbox, href, hbox, text\n23: math[a-z]+{{[a-zA-Z]}} | # commands starting with math\n24: [a-zA-Z]+ # other commands\n25: )? |\n26: \\S # non-space character\n27: \"\"\",\n28: re.VERBOSE,\n29: )\n30: \n31: \n32: def tokenize(data: str) -> Iterator[str]:\n33: for match in PATTERN.finditer(data):\n34: first_match = match.group(0)\n35: if first_match.startswith(commands.MATH):\n36: yield from _tokenize_math(first_match)\n37: elif first_match == commands.TEXTSTYLE:\n38: yield first_match # prevent the next line (commands.TEXT)\n39: elif first_match.startswith((commands.COLOR, commands.FBOX, commands.HREF, commands.TEXT)):\n40: index = first_match.index(commands.OPENING_BRACE)\n41: yield first_match[:index].strip()\n42: yield match.group(8)\n43: elif first_match.startswith(\"%\"):\n44: continue\n45: elif first_match[0].isdigit() and first_match.endswith(UNITS):\n46: yield first_match.replace(\" \", \"\")\n47: elif len(first_match) == 2 and first_match[0] in commands.SUBSUP:\n48: yield from first_match\n49: else:\n50: yield first_match\n51: \n52: \n53: def _tokenize_math(match: str) -> Iterator[str]:\n54: symbol = convert_symbol(match)\n55: if symbol:\n56: yield f\"&#x{symbol};\"\n57: return\n58: try:\n59: index = match.index(commands.OPENING_BRACE)\n60: yield match[:index]\n61: yield match[index]\n62: yield match[index + 1 : -1]\n63: yield match[-1]\n64: except ValueError:\n65: yield match\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr206__TqUcep5:27"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5886,"content_sha256":"ae31bcb707d9067a6889bbcef9bbecb1d4f02b39d7a44eb000a65f9e16fa98da","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":92,"sha256":"41f2789dc472bf5edb6d801d33c8199a16618676e5f1d31a3cfd8b35faa2494e","start_line":1,"truncated":true},"content_sha256":"37007e899552ea7f280dd710fb7b24eeeb55154446c2117bb80220f91417fd12","end_line":100,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"ce64f5c52e337069d3e2a4cbdd96286410912e2c95662d085c0d384c97a7b15b","reference_window":{"end_line":92,"sha256":"5bb749c99da3674aa12c901a1355d5305e6a5b1db5f5ede45f8557149126774c","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr207__Jdg8NgR:13","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 1-100\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: import copy\n2: import enum\n3: import re\n4: from collections import OrderedDict\n5: from typing import Dict, Iterable, Iterator, Optional, Tuple\n6: from xml.etree.cElementTree import Element, SubElement, tostring\n7: from xml.sax.saxutils import unescape\n8: \n9: from latex2mathml import commands\n10: from latex2mathml.symbols_parser import convert_symbol\n11: from latex2mathml.walker import Node, walk\n12: \n13: COLUMN_ALIGNMENT_MAP = {\"r\": \"right\", \"l\": \"left\", \"c\": \"center\"}\n14: OPERATORS = (\n15: \"+\",\n16: \"-\",\n17: \"*\",\n18: \"/\",\n19: \"(\",\n20: \")\",\n21: \"=\",\n22: \",\",\n23: \"?\",\n24: \"[\",\n25: \"]\",\n26: \"|\",\n27: r\"\\|\",\n28: \"!\",\n29: r\"\\{\",\n30: r\"\\}\",\n31: r\">\",\n32: r\"<\",\n33: r\".\",\n34: r\"\\centerdot\",\n35: r\"\\dots\",\n36: r\"\\dotsc\",\n37: r\"\\dotso\",\n38: r\"\\gt\",\n39: )\n40: MATH_MODE_PATTERN = re.compile(r\"\\\\\\$|\\$|[^\\\\$]+\")\n41: \n42: \n43: class Mode(enum.Enum):\n44: TEXT = enum.auto()\n45: MATH = enum.auto()\n46: \n47: \n48: def convert(latex: str, xmlns: str = \"http://www.w3.org/1998/Math/MathML\", display: str = \"inline\") -> str:\n49: math = Element(\"math\", xmlns=xmlns, display=display)\n50: row = SubElement(math, \"mrow\")\n51: _convert_group(iter(walk(latex)), row)\n52: return _convert(math)\n53: \n54: \n55: def _convert(tree: Element) -> str:\n56: return unescape(tostring(tree, encoding=\"unicode\"))\n57: \n58: \n59: def _convert_matrix(nodes: Iterator[Node], parent: Element, alignment: Optional[str] = None) -> None:\n60: row = None\n61: cell = None\n62: \n63: col_index = 0\n64: col_alignment = None\n65: \n66: row_index = 0\n67: row_lines = []\n68: \n69: for node in nodes:\n70: if row is None:\n71: row = SubElement(parent, \"mtr\")\n72: \n73: if cell is None:\n74: col_alignment, col_index = _get_column_alignment(alignment, col_alignment, col_index)\n75: cell = _make_matrix_cell(row, col_alignment)\n76: \n77: if node.token == commands.BRACES:\n78: _convert_group(iter([node]), cell)\n79: continue\n80: \n81: if node.token == \"&\":\n82: col_alignment, col_index = _get_column_alignment(alignment, col_alignment, col_index)\n83: cell = _make_matrix_cell(row, col_alignment)\n84: continue\n85: elif node.token in (commands.DOUBLEBACKSLASH, commands.CARRIAGE_RETURN):\n86: row_index += 1\n87: col_index = 0\n88: col_alignment, col_index = _get_column_alignment(alignment, col_alignment, col_index)\n89: row = SubElement(parent, \"mtr\")\n90: cell = _make_matrix_cell(row, col_alignment)\n91: continue\n92: elif node.token == commands.HLINE:\n[window truncated; visible lines 1-92]\nCandidate text preview (unexecuted):\n1: import copy\n2: import enum\n3: import re\n4: from collections import OrderedDict\n5: from typing import Dict, Iterable, Iterator, Optional, Tuple\n6: from xml.etree.cElementTree import Element, SubElement, tostring\n7: from xml.sax.saxutils import unescape\n8: \n9: from latex2mathml import commands\n10: from latex2mathml.symbols_parser import convert_symbol\n11: from latex2mathml.walker import Node, walk\n12: \n13: COLUMN_ALIGNMENT_MAP = {\"r\": \"right\", \"l\": \"left\", \"c\": \"center\"}\n14: OPERATORS = (\n15: \"+\",\n16: \"-\",\n17: \"*\",\n18: \"/\",\n19: \"(\",\n20: \")\",\n21: \"=\",\n22: \",\",\n23: \"?\",\n24: \"[\",\n25: \"]\",\n26: \"|\",\n27: r\"\\|\",\n28: \"!\",\n29: r\"\\{\",\n30: r\"\\}\",\n31: r\">\",\n32: r\"<\",\n33: r\".\",\n34: r\"\\centerdot\",\n35: r\"\\dots\",\n36: r\"\\dotsc\",\n37: r\"\\dotso\",\n38: r\"\\gt\",\n39: )\n40: MATH_MODE_PATTERN = re.compile(r\"\\\\\\$|\\$|\\\\[\\s\\S]?|[^\\\\$]+\")\n41: \n42: \n43: class Mode(enum.Enum):\n44: TEXT = enum.auto()\n45: MATH = enum.auto()\n46: \n47: \n48: def convert(latex: str, xmlns: str = \"http://www.w3.org/1998/Math/MathML\", display: str = \"inline\") -> str:\n49: math = Element(\"math\", xmlns=xmlns, display=display)\n50: row = SubElement(math, \"mrow\")\n51: _convert_group(iter(walk(latex)), row)\n52: return _convert(math)\n53: \n54: \n55: def _convert(tree: Element) -> str:\n56: return unescape(tostring(tree, encoding=\"unicode\"))\n57: \n58: \n59: def _convert_matrix(nodes: Iterator[Node], parent: Element, alignment: Optional[str] = None) -> None:\n60: row = None\n61: cell = None\n62: \n63: col_index = 0\n64: col_alignment = None\n65: \n66: row_index = 0\n67: row_lines = []\n68: \n69: for node in nodes:\n70: if row is None:\n71: row = SubElement(parent, \"mtr\")\n72: \n73: if cell is None:\n74: col_alignment, col_index = _get_column_alignment(alignment, col_alignment, col_index)\n75: cell = _make_matrix_cell(row, col_alignment)\n76: \n77: if node.token == commands.BRACES:\n78: _convert_group(iter([node]), cell)\n79: continue\n80: \n81: if node.token == \"&\":\n82: col_alignment, col_index = _get_column_alignment(alignment, col_alignment, col_index)\n83: cell = _make_matrix_cell(row, col_alignment)\n84: continue\n85: elif node.token in (commands.DOUBLEBACKSLASH, commands.CARRIAGE_RETURN):\n86: row_index += 1\n87: col_index = 0\n88: col_alignment, col_index = _get_column_alignment(alignment, col_alignment, col_index)\n89: row = SubElement(parent, \"mtr\")\n90: cell = _make_matrix_cell(row, col_alignment)\n91: continue\n92: elif node.token == commands.HLINE:\n[window truncated; visible lines 1-92]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr207__Jdg8NgR:13"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5139,"content_sha256":"f8d7adf5489e91d60e20eabb9945c3b8aa039101ccc02a8876fa6947d497d64f","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":131,"sha256":"63faf75a7e38630cfeb4afccae0d43aaf2bb6a938aaf4b658146238e9c4979cc","start_line":11,"truncated":false},"content_sha256":"14ced7452dd405888f3d3715ea12bb4972b52a2dfdf410a3bc621898f703312b","end_line":131,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"67aa26d16bd6a923f2d348f96c8579790f29222ec96c48b93e130ea530d7f5ee","reference_window":{"end_line":131,"sha256":"2a2cf41e6e34f5ffa0bf8359036b31f917aba8c630f52bd4c366f289286f9adb","start_line":11,"truncated":false},"start_line":11,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr209__W5CVAey:21","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 11-131\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n11: \n12: OPENING_PARENTHESIS = \"(\"\n13: CLOSING_PARENTHESIS = \")\"\n14: PARENTHESES = \"()\"\n15: \n16: SUBSUP = \"_^\"\n17: SUBSCRIPT = \"_\"\n18: SUPERSCRIPT = \"^\"\n19: APOSTROPHE = \"'\"\n20: PRIME = r\"\\prime\"\n21: DPRIME = r\"\\dprime\"\n22: \n23: LEFT = r\"\\left\"\n24: RIGHT = r\"\\right\"\n25: \n26: ABOVE = r\"\\above\"\n27: ABOVEWITHDELIMS = r\"\\abovewithdelims\"\n28: ATOP = r\"\\atop\"\n29: ATOPWITHDELIMS = r\"\\atopwithdelims\"\n30: BINOM = r\"\\binom\"\n31: BRACE = r\"\\brace\"\n32: BRACK = r\"\\brack\"\n33: CFRAC = r\"\\cfrac\"\n34: CHOOSE = r\"\\choose\"\n35: DBINOM = r\"\\dbinom\"\n36: DFRAC = r\"\\dfrac\"\n37: FRAC = r\"\\frac\"\n38: GENFRAC = r\"\\genfrac\"\n39: OVER = r\"\\over\"\n40: \n41: ROOT = r\"\\root\"\n42: SQRT = r\"\\sqrt\"\n43: \n44: OVERSET = r\"\\overset\"\n45: UNDERSET = r\"\\underset\"\n46: \n47: ACUTE = r\"\\acute\"\n48: BAR = r\"\\bar\"\n49: BREVE = r\"\\breve\"\n50: CHECK = r\"\\check\"\n51: DOT = r\"\\dot\"\n52: DDOT = r\"\\ddot\"\n53: DDDOT = r\"\\dddot\"\n54: DDDDOT = r\"\\ddddot\"\n55: GRAVE = r\"\\grave\"\n56: HAT = r\"\\hat\"\n57: OVERLINE = r\"\\overline\"\n58: OVERRIGHTARROW = r\"\\overrightarrow\"\n59: UNDERLINE = r\"\\underline\"\n60: VEC = r\"\\vec\"\n61: \n62: HREF = r\"\\href\"\n63: TEXT = r\"\\text\"\n64: \n65: BEGIN = r\"\\begin\"\n66: END = r\"\\end\"\n67: \n68: LIMITS = r\"\\limits\"\n69: INTEGRAL = r\"\\int\"\n70: SUMMATION = r\"\\sum\"\n71: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n72: \n73: OPERATORNAME = r\"\\operatorname\"\n74: \n75: LBRACE = r\"\\{\"\n76: \n77: FUNCTIONS = (\n78: r\"\\arccos\",\n79: r\"\\arcsin\",\n80: r\"\\arctan\",\n81: r\"\\cos\",\n82: r\"\\cosh\",\n83: r\"\\cot\",\n84: r\"\\coth\",\n85: r\"\\csc\",\n86: r\"\\deg\",\n87: r\"\\dim\",\n88: r\"\\exp\",\n89: r\"\\hom\",\n90: r\"\\ker\",\n91: r\"\\ln\",\n92: r\"\\log\",\n93: r\"\\sec\",\n94: r\"\\sin\",\n95: r\"\\tan\",\n96: )\n97: DETERMINANT = r\"\\det\"\n98: GCD = r\"\\gcd\"\n99: INTOP = r\"\\intop\"\n100: INJLIM = r\"\\injlim\"\n101: \n102: HDASHLINE = r\"\\hdashline\"\n103: HLINE = r\"\\hline\"\n104: HFIL = r\"\\hfil\"\n105: \n106: CASES = r\"\\cases\"\n107: DISPLAYLINES = r\"\\displaylines\"\n108: SUBSTACK = r\"\\substack\"\n109: MATRICES = (\n110: r\"\\matrix\",\n111: r\"\\matrix*\",\n112: r\"\\pmatrix\",\n113: r\"\\pmatrix*\",\n114: r\"\\bmatrix\",\n115: r\"\\bmatrix*\",\n116: r\"\\Bmatrix\",\n117: r\"\\Bmatrix*\",\n118: r\"\\vmatrix\",\n119: r\"\\vmatrix*\",\n120: r\"\\Vmatrix\",\n121: r\"\\Vmatrix*\",\n122: r\"\\array\",\n123: SUBSTACK,\n124: CASES,\n125: DISPLAYLINES,\n126: )\n127: \n128: BACKSLASH = \"\\\\\"\n129: CARRIAGE_RETURN = r\"\\cr\"\n130: \n131: COLON = r\"\\:\"\nCandidate text preview (unexecuted):\n11: \n12: OPENING_PARENTHESIS = \"(\"\n13: CLOSING_PARENTHESIS = \")\"\n14: PARENTHESES = \"()\"\n15: \n16: SUBSUP = \"_^\"\n17: SUBSCRIPT = \"_\"\n18: SUPERSCRIPT = \"^\"\n19: APOSTROPHE = \"'\"\n20: PRIME = r\"\\prime\"\n21: DPRIME = r\"\\dprime\"\n22: \n23: LEFT = r\"\\left\"\n24: RIGHT = r\"\\right\"\n25: \n26: ABOVE = r\"\\above\"\n27: ABOVEWITHDELIMS = r\"\\abovewithdelims\"\n28: ATOP = r\"\\atop\"\n29: ATOPWITHDELIMS = r\"\\atopwithdelims\"\n30: BINOM = r\"\\binom\"\n31: BRACE = r\"\\brace\"\n32: BRACK = r\"\\brack\"\n33: CFRAC = r\"\\cfrac\"\n34: CHOOSE = r\"\\choose\"\n35: DBINOM = r\"\\dbinom\"\n36: DFRAC = r\"\\dfrac\"\n37: FRAC = r\"\\frac\"\n38: GENFRAC = r\"\\genfrac\"\n39: OVER = r\"\\over\"\n40: \n41: ROOT = r\"\\root\"\n42: SQRT = r\"\\sqrt\"\n43: \n44: OVERSET = r\"\\overset\"\n45: UNDERSET = r\"\\underset\"\n46: \n47: ACUTE = r\"\\acute\"\n48: BAR = r\"\\bar\"\n49: BREVE = r\"\\breve\"\n50: CHECK = r\"\\check\"\n51: DOT = r\"\\dot\"\n52: DDOT = r\"\\ddot\"\n53: DDDOT = r\"\\dddot\"\n54: DDDDOT = r\"\\ddddot\"\n55: GRAVE = r\"\\grave\"\n56: HAT = r\"\\hat\"\n57: OVERLINE = r\"\\overline\"\n58: OVERRIGHTARROW = r\"\\overrightarrow\"\n59: UNDERLINE = r\"\\underline\"\n60: VEC = r\"\\vec\"\n61: \n62: HREF = r\"\\href\"\n63: TEXT = r\"\\text\"\n64: \n65: BEGIN = r\"\\begin\"\n66: END = r\"\\end\"\n67: \n68: LIMITS = r\"\\limits\"\n69: INTEGRAL = r\"\\int\"\n70: SUMMATION = r\"\\sum\"\n71: LIMIT = (r\"\\lim\", r\"\\liminf\", r\"\\limsup\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\", r\"\\projlim\")\n72: \n73: OPERATORNAME = r\"\\operatorname\"\n74: \n75: LBRACE = r\"\\{\"\n76: \n77: FUNCTIONS = (\n78: r\"\\arccos\",\n79: r\"\\arcsin\",\n80: r\"\\arctan\",\n81: r\"\\cos\",\n82: r\"\\cosh\",\n83: r\"\\cot\",\n84: r\"\\coth\",\n85: r\"\\csc\",\n86: r\"\\deg\",\n87: r\"\\dim\",\n88: r\"\\exp\",\n89: r\"\\hom\",\n90: r\"\\ker\",\n91: r\"\\ln\",\n92: r\"\\log\",\n93: r\"\\sec\",\n94: r\"\\sin\",\n95: r\"\\tan\",\n96: )\n97: DETERMINANT = r\"\\det\"\n98: GCD = r\"\\gcd\"\n99: INTOP = r\"\\intop\"\n100: INJLIM = r\"\\injlim\"\n101: \n102: HDASHLINE = r\"\\hdashline\"\n103: HLINE = r\"\\hline\"\n104: HFIL = r\"\\hfil\"\n105: \n106: CASES = r\"\\cases\"\n107: DISPLAYLINES = r\"\\displaylines\"\n108: SUBSTACK = r\"\\substack\"\n109: MATRICES = (\n110: r\"\\matrix\",\n111: r\"\\matrix*\",\n112: r\"\\pmatrix\",\n113: r\"\\pmatrix*\",\n114: r\"\\bmatrix\",\n115: r\"\\bmatrix*\",\n116: r\"\\Bmatrix\",\n117: r\"\\Bmatrix*\",\n118: r\"\\vmatrix\",\n119: r\"\\vmatrix*\",\n120: r\"\\Vmatrix\",\n121: r\"\\Vmatrix*\",\n122: r\"\\array\",\n123: SUBSTACK,\n124: CASES,\n125: DISPLAYLINES,\n126: )\n127: \n128: BACKSLASH = \"\\\\\"\n129: CARRIAGE_RETURN = r\"\\cr\"\n130: \n131: COLON = r\"\\:\"\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr209__W5CVAey:21"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5843,"content_sha256":"3455cbb58232ad030d66119a9d75ecaccb8cf77b7c3f843a4fc174a70f8e60e2","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":441,"sha256":"be3c0bbba94313c614a4df22ea70c91f74163da27d911ba42a25850be78f37e9","start_line":372,"truncated":true},"content_sha256":"07cfd0b55ad0e4705831c2375adbe10fb2afb27e5270050da423533c49bd2408","end_line":471,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"be724aa6eef7c15fcdec15d6688b5eb458d1a1f7c033fd34989c8af7c228d14d","reference_window":{"end_line":440,"sha256":"6daa7d93c49a8dae43d07d31c27c5b0c48a2228c2f939c8416c0b51291df753e","start_line":372,"truncated":true},"start_line":346,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr210__mBKpdGR:31","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 346-471\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n372: symbol\n373: and (\n374: int(symbol, 16) in range(int(\"2200\", 16), int(\"22FF\", 16) + 1)\n375: or int(symbol, 16) in range(int(\"2190\", 16), int(\"21FF\", 16) + 1)\n376: )\n377: or symbol == \".\"\n378: ):\n379: element = SubElement(parent, \"mo\")\n380: element.text = \"&#x{};\".format(symbol)\n381: _set_font(element, element.tag, font)\n382: elif token in (r\"\\ \", \"~\", commands.NOBREAKSPACE, commands.SPACE):\n383: element = SubElement(parent, \"mtext\")\n384: element.text = \" \"\n385: _set_font(element, \"mtext\", font)\n386: elif token in (\n387: commands.DETERMINANT,\n388: commands.GCD,\n389: commands.INTOP,\n390: commands.INJLIM,\n391: commands.LIMINF,\n392: commands.LIMSUP,\n393: commands.PR,\n394: commands.PROJLIM,\n395: ):\n396: element = SubElement(parent, \"mo\", movablelimits=\"true\")\n397: texts = {\n398: commands.INJLIM: \"inj lim\",\n399: commands.INTOP: \"∫\",\n400: commands.LIMINF: \"lim inf\",\n401: commands.LIMSUP: \"lim sup\",\n402: commands.PROJLIM: \"proj lim\",\n403: }\n404: element.text = texts.get(token, token[1:])\n405: _set_font(element, element.tag, font)\n406: elif token == commands.IDOTSINT:\n407: for s in (\"∫\", \"⋯\", \"∫\"):\n408: element = SubElement(parent, \"mo\")\n409: element.text = s\n410: elif token.startswith(commands.BACKSLASH):\n411: element = SubElement(parent, \"mi\")\n412: if symbol:\n413: element.text = \"&#x{};\".format(symbol)\n414: elif token in commands.FUNCTIONS:\n415: element.text = token[1:]\n416: elif token.startswith(commands.OPERATORNAME):\n417: element.text = token[14:-1]\n418: else:\n419: element.text = token\n420: _set_font(element, element.tag, font)\n421: else:\n422: element = SubElement(parent, \"mi\")\n423: element.text = token\n424: _set_font(element, element.tag, font)\n425: \n426: \n427: def _set_font(element: Element, key: str, font: Optional[Dict[str, Optional[str]]]) -> None:\n428: if font is None:\n429: return\n430: _font = font[key]\n431: if _font is not None:\n432: element.attrib[\"mathvariant\"] = _font\n433: \n434: \n435: def main() -> None: # pragma: no cover\n436: import argparse\n437: \n438: import pkg_resources\n439: \n440: parser = argparse.ArgumentParser(description=\"Pure Python library for LaTeX to MathML conversion\")\n[window truncated; visible lines 372-440]\nCandidate text preview (unexecuted):\n372: symbol\n373: and (\n374: int(symbol, 16) in range(int(\"2200\", 16), int(\"22FF\", 16) + 1)\n375: or int(symbol, 16) in range(int(\"2190\", 16), int(\"21FF\", 16) + 1)\n376: )\n377: or symbol == \".\"\n378: ):\n379: element = SubElement(parent, \"mo\")\n380: element.text = \"&#x{};\".format(symbol)\n381: _set_font(element, element.tag, font)\n382: elif token in (r\"\\ \", \"~\", commands.NOBREAKSPACE, commands.SPACE):\n383: element = SubElement(parent, \"mtext\")\n384: element.text = \" \"\n385: _set_font(element, \"mtext\", font)\n386: elif token in (\n387: commands.DETERMINANT,\n388: commands.GCD,\n389: commands.INTOP,\n390: commands.INJLIM,\n391: commands.LIMINF,\n392: commands.LIMSUP,\n393: commands.PR,\n394: commands.PROJLIM,\n395: ):\n396: element = SubElement(parent, \"mo\", movablelimits=\"true\")\n397: texts = {\n398: commands.INJLIM: \"inj lim\",\n399: commands.INTOP: \"∫\",\n400: commands.LIMINF: \"lim inf\",\n401: commands.LIMSUP: \"lim sup\",\n402: commands.PROJLIM: \"proj lim\",\n403: }\n404: element.text = texts.get(token, token[1:])\n405: _set_font(element, element.tag, font)\n406: elif token == commands.IDOTSINT:\n407: _parent = SubElement(parent, \"mrow\", attrib=attributes)\n408: for s in (\"∫\", \"⋯\", \"∫\"):\n409: element = SubElement(_parent, \"mo\")\n410: element.text = s\n411: elif token.startswith(commands.BACKSLASH):\n412: element = SubElement(parent, \"mi\", attrib=attributes)\n413: if symbol:\n414: element.text = \"&#x{};\".format(symbol)\n415: elif token in commands.FUNCTIONS:\n416: element.text = token[1:]\n417: elif token.startswith(commands.OPERATORNAME):\n418: element.text = token[14:-1]\n419: else:\n420: element.text = token\n421: _set_font(element, element.tag, font)\n422: else:\n423: element = SubElement(parent, \"mi\")\n424: element.text = token\n425: _set_font(element, element.tag, font)\n426: \n427: \n428: def _set_font(element: Element, key: str, font: Optional[Dict[str, Optional[str]]]) -> None:\n429: if font is None:\n430: return\n431: _font = font[key]\n432: if _font is not None:\n433: element.attrib[\"mathvariant\"] = _font\n434: \n435: \n436: def main() -> None: # pragma: no cover\n437: import argparse\n438: \n439: import pkg_resources\n440: \n441: parser = argparse.ArgumentParser(description=\"Pure Python library for LaTeX to MathML conversion\")\n[window truncated; visible lines 372-441]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr210__mBKpdGR:31"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5931,"content_sha256":"22f52bf42c2b031d7ca73b7320c36a2cb8873b28285fdb6774930aec6a412a06","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":78,"sha256":"0308d2ef116f1abb1191f61db47684227fcb74de70aee1701d8efda8fa18be4b","start_line":18,"truncated":true},"content_sha256":"d8c5c182c7fbbb76ba2ec20bf312dcd588481f8d32cd7f00d9331a301ffc154f","end_line":137,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/symbols_parser.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"4e7cdcf887f043bce8734e6ca6e6067f3cb9fe0ce06e8a05981b61c374ee3108","reference_window":{"end_line":77,"sha256":"d2273ea051e6491dfb21ec1716de6074d08d52624928b2eb48bc0c01b616bb70","start_line":14,"truncated":true},"start_line":12,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr212__qwQwY6z:32","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/symbols_parser.py, reference lines 12-137\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n14: return SYMBOLS.get(symbol, None)\n15: \n16: \n17: def parse_symbols() -> Dict[str, str]:\n18: _symbols: Dict[str, str] = {}\n19: with codecs.open(SYMBOLS_FILE, encoding=\"utf-8\") as f:\n20: for line in f:\n21: if line.startswith(\"#\"):\n22: continue\n23: columns = line.strip().split(\"^\")\n24: _unicode = columns[0]\n25: latex = columns[2]\n26: unicode_math = columns[3]\n27: if latex and latex not in _symbols:\n28: _symbols[latex] = _unicode\n29: if unicode_math and unicode_math not in _symbols:\n30: _symbols[unicode_math] = _unicode\n31: for equivalent in re.findall(r\"[=#]\\s*(\\\\[^,^ ]+),?\", columns[-1]):\n32: if equivalent not in _symbols:\n33: _symbols[equivalent] = _unicode\n34: _symbols.update(\n35: {\n36: r\"\\And\": _symbols[r\"\\ampersand\"],\n37: r\"\\bigcirc\": _symbols[r\"\\lgwhtcircle\"],\n38: r\"\\Box\": _symbols[r\"\\square\"],\n39: r\"\\circledS\": \"024C8\",\n40: r\"\\diagdown\": \"02572\",\n41: r\"\\diagup\": \"02571\",\n42: r\"\\dots\": \"02026\",\n43: r\"\\dotsb\": _symbols[r\"\\cdots\"],\n44: r\"\\dotsc\": \"02026\",\n45: r\"\\dotsi\": _symbols[r\"\\cdots\"],\n46: r\"\\dotsm\": _symbols[r\"\\cdots\"],\n47: r\"\\dotso\": \"02026\",\n48: r\"\\emptyset\": \"02205\",\n49: r\"\\gggtr\": \"022D9\",\n50: r\"\\gvertneqq\": \"02269\",\n51: r\"\\gt\": _symbols[r\"\\greater\"],\n52: r\"\\ldotp\": _symbols[r\"\\period\"],\n53: r\"\\llless\": _symbols[r\"\\lll\"],\n54: r\"\\lt\": _symbols[r\"\\less\"],\n55: r\"\\lvert\": _symbols[r\"\\vert\"],\n56: r\"\\lVert\": _symbols[r\"\\Vert\"],\n57: r\"\\lvertneqq\": _symbols[r\"\\lneqq\"],\n58: r\"\\ngeqq\": _symbols[r\"\\ngeq\"],\n59: r\"\\nshortmid\": _symbols[r\"\\nmid\"],\n60: r\"\\nshortparallel\": _symbols[r\"\\nparallel\"],\n61: r\"\\nsubseteqq\": _symbols[r\"\\nsubseteq\"],\n62: r\"\\omicron\": _symbols[r\"\\upomicron\"],\n63: r\"\\rvert\": _symbols[r\"\\vert\"],\n64: r\"\\rVert\": _symbols[r\"\\Vert\"],\n65: r\"\\shortmid\": _symbols[r\"\\mid\"],\n66: r\"\\smallfrown\": _symbols[r\"\\frown\"],\n67: r\"\\smallint\": \"0222B\",\n68: r\"\\smallsmile\": _symbols[r\"\\smile\"],\n69: r\"\\surd\": _symbols[r\"\\sqrt\"],\n70: r\"\\thicksim\": \"0223C\",\n71: r\"\\thickapprox\": _symbols[r\"\\approx\"],\n72: r\"\\varsubsetneqq\": _symbols[r\"\\subsetneqq\"],\n73: r\"\\varsupsetneq\": \"0228B\",\n74: r\"\\varsupsetneqq\": _symbols[r\"\\supsetneqq\"],\n75: }\n76: )\n77: return _symbols\n[window truncated; visible lines 14-77]\nCandidate text preview (unexecuted):\n18: _symbols: Dict[str, str] = {}\n19: with codecs.open(SYMBOLS_FILE, encoding=\"utf-8\") as f:\n20: for line in f:\n21: if line.startswith(\"#\"):\n22: continue\n23: columns = line.strip().split(\"^\")\n24: _unicode = columns[0]\n25: latex = columns[2]\n26: unicode_math = columns[3]\n27: if latex and latex not in _symbols:\n28: _symbols[latex] = _unicode\n29: if unicode_math and unicode_math not in _symbols:\n30: _symbols[unicode_math] = _unicode\n31: for equivalent in re.findall(r\"[=#]\\s*(\\\\[^,^ ]+),?\", columns[-1]):\n32: if equivalent not in _symbols:\n33: _symbols[equivalent] = _unicode\n34: _symbols.update(\n35: {\n36: r\"\\And\": _symbols[r\"\\ampersand\"],\n37: r\"\\bigcirc\": _symbols[r\"\\lgwhtcircle\"],\n38: r\"\\Box\": _symbols[r\"\\square\"],\n39: r\"\\circledS\": \"024C8\",\n40: r\"\\diagdown\": \"02572\",\n41: r\"\\diagup\": \"02571\",\n42: r\"\\dots\": \"02026\",\n43: r\"\\dotsb\": _symbols[r\"\\cdots\"],\n44: r\"\\dotsc\": \"02026\",\n45: r\"\\dotsi\": _symbols[r\"\\cdots\"],\n46: r\"\\dotsm\": _symbols[r\"\\cdots\"],\n47: r\"\\dotso\": \"02026\",\n48: r\"\\emptyset\": \"02205\",\n49: r\"\\gggtr\": \"022D9\",\n50: r\"\\gvertneqq\": \"02269\",\n51: r\"\\gt\": _symbols[r\"\\greater\"],\n52: r\"\\ldotp\": _symbols[r\"\\period\"],\n53: r\"\\llless\": _symbols[r\"\\lll\"],\n54: r\"\\lt\": _symbols[r\"\\less\"],\n55: r\"\\lvert\": _symbols[r\"\\vert\"],\n56: r\"\\lVert\": _symbols[r\"\\Vert\"],\n57: r\"\\lvertneqq\": _symbols[r\"\\lneqq\"],\n58: r\"\\ngeqq\": _symbols[r\"\\ngeq\"],\n59: r\"\\nshortmid\": _symbols[r\"\\nmid\"],\n60: r\"\\nshortparallel\": _symbols[r\"\\nparallel\"],\n61: r\"\\nsubseteqq\": _symbols[r\"\\nsubseteq\"],\n62: r\"\\omicron\": _symbols[r\"\\upomicron\"],\n63: r\"\\rvert\": _symbols[r\"\\vert\"],\n64: r\"\\rVert\": _symbols[r\"\\Vert\"],\n65: r\"\\shortmid\": _symbols[r\"\\mid\"],\n66: r\"\\smallfrown\": _symbols[r\"\\frown\"],\n67: r\"\\smallint\": \"0222B\",\n68: r\"\\smallsmile\": _symbols[r\"\\smile\"],\n69: r\"\\surd\": _symbols[r\"\\sqrt\"],\n70: r\"\\thicksim\": \"0223C\",\n71: r\"\\thickapprox\": _symbols[r\"\\approx\"],\n72: r\"\\varsubsetneqq\": _symbols[r\"\\subsetneqq\"],\n73: r\"\\varsupsetneq\": \"0228B\",\n74: r\"\\varsupsetneqq\": _symbols[r\"\\supsetneqq\"],\n75: }\n76: )\n77: del _symbols[r\"\\mathring\"] # FIXME: improve tokenizer without removing this\n78: return _symbols\n[window truncated; visible lines 18-78]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr212__qwQwY6z:32"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr213__zvWwLs5:20","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr213__zvWwLs5:20"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5924,"content_sha256":"16bdf4a72e9013b9acd8cc29a4b76d47fa28ee437a0069d3b60031267e450cb7","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":299,"sha256":"57408ceeafae51e6000519ca4ea2e5f342d7a97c85a58894f7e6a629cae1be53","start_line":212,"truncated":true},"content_sha256":"3b2a1c868bed82c1edcc736474c6b6a5eb5b106e691f7dc4cc4404db86911b09","end_line":324,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"f8ee93c524f41010a80455040d179f2534a914bf27a6d8c477b97e991023c7f8","reference_window":{"end_line":297,"sha256":"8cfae6bbb170c9fe1a893d3e993288d39399b4dbef7913479448b58715e0a973","start_line":214,"truncated":true},"start_line":195,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr216__2EVyJtd:36","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 195-324\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n214: BLACKBOARD_BOLD: font_factory(\"double-struck\", {\"fence\": None}),\n215: BOLD_SYMBOL: font_factory(\"bold\", {\"mi\": \"bold-italic\", \"mtext\": None}),\n216: MATHBB: font_factory(\"double-struck\", {\"fence\": None}),\n217: MATHBF: font_factory(\"bold\", {\"fence\": None}),\n218: MATHCAL: font_factory(\"script\", {\"fence\": None}),\n219: MATHFRAK: font_factory(\"fraktur\", {\"fence\": None}),\n220: MATHIT: font_factory(\"italic\", {\"fence\": None}),\n221: MATHRM: font_factory(None, {\"mi\": \"normal\"}),\n222: MATHSCR: font_factory(\"script\", {\"fence\": None}),\n223: MATHSF: font_factory(None, {\"mi\": \"sans-serif\"}),\n224: MATHTT: font_factory(\"monospace\", {\"fence\": None}),\n225: }\n226: \n227: OLD_STYLE_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n228: r\"\\rm\": font_factory(None, {\"mi\": \"normal\"}),\n229: r\"\\bf\": font_factory(None, {\"mi\": \"bold\"}),\n230: r\"\\it\": font_factory(None, {\"mi\": \"italic\"}),\n231: r\"\\sf\": font_factory(None, {\"mi\": \"sans-serif\"}),\n232: r\"\\tt\": font_factory(None, {\"mi\": \"monospace\"}),\n233: }\n234: \n235: GLOBAL_FONTS = {\n236: **OLD_STYLE_FONTS,\n237: r\"\\cal\": font_factory(\"script\", {\"fence\": None}),\n238: r\"\\frak\": font_factory(\"fraktur\", {\"fence\": None}),\n239: }\n240: \n241: COMMANDS_WITH_ONE_PARAMETER = (\n242: ACUTE,\n243: BAR,\n244: BLACKBOARD_BOLD,\n245: BOLD_SYMBOL,\n246: BOXED,\n247: BREVE,\n248: CHECK,\n249: DOT,\n250: DDOT,\n251: DDDOT,\n252: DDDDOT,\n253: GRAVE,\n254: HAT,\n255: HPHANTOM,\n256: MATHRING,\n257: OVERLEFTARROW,\n258: OVERLEFTRIGHTARROW,\n259: OVERLINE,\n260: OVERPAREN,\n261: OVERRIGHTARROW,\n262: PHANTOM,\n263: TILDE,\n264: UNDERLEFTARROW,\n265: UNDERLINE,\n266: UNDERPAREN,\n267: UNDERRIGHTARROW,\n268: UNDERLEFTRIGHTARROW,\n269: VEC,\n270: VPHANTOM,\n271: WIDEHAT,\n272: WIDETILDE,\n273: )\n274: COMMANDS_WITH_TWO_PARAMETERS = (\n275: BINOM,\n276: CFRAC,\n277: DBINOM,\n278: DFRAC,\n279: FRAC,\n280: OVERSET,\n281: TBINOM,\n282: TFRAC,\n283: UNDERSET,\n284: )\n285: \n286: BIG: Dict[str, Tuple[str, dict]] = {\n287: # command: (mathml_equivalent, attributes)\n288: r\"\\Bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.470em\"), (\"maxsize\", \"2.470em\")])),\n289: r\"\\bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.047em\"), (\"maxsize\", \"2.047em\")])),\n290: r\"\\Big\": (\"mo\", OrderedDict([(\"minsize\", \"1.623em\"), (\"maxsize\", \"1.623em\")])),\n291: r\"\\big\": (\"mo\", OrderedDict([(\"minsize\", \"1.2em\"), (\"maxsize\", \"1.2em\")])),\n292: }\n293: \n294: MSTYLE_SIZES: Dict[str, Tuple[str, dict]] = {\n295: # command: (mathml_equivalent, attributes)\n296: r\"\\Huge\": (\"mstyle\", {\"mathsize\": \"2.49em\"}),\n297: r\"\\huge\": (\"mstyle\", {\"mathsize\": \"2.07em\"}),\n[window truncated; visible lines 214-297]\nCandidate text preview (unexecuted):\n212: \n213: LOCAL_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n214: BLACKBOARD_BOLD: font_factory(\"double-struck\", {\"fence\": None}),\n215: BOLD_SYMBOL: font_factory(\"bold\", {\"mi\": \"bold-italic\", \"mtext\": None}),\n216: MATHBB: font_factory(\"double-struck\", {\"fence\": None}),\n217: MATHBF: font_factory(\"bold\", {\"fence\": None}),\n218: MATHCAL: font_factory(\"script\", {\"fence\": None}),\n219: MATHFRAK: font_factory(\"fraktur\", {\"fence\": None}),\n220: MATHIT: font_factory(\"italic\", {\"fence\": None}),\n221: MATHRM: font_factory(None, {\"mi\": \"normal\"}),\n222: MATHSCR: font_factory(\"script\", {\"fence\": None}),\n223: MATHSF: font_factory(None, {\"mi\": \"sans-serif\"}),\n224: MATHTT: font_factory(\"monospace\", {\"fence\": None}),\n225: }\n226: \n227: OLD_STYLE_FONTS: Dict[str, DefaultDict[str, Optional[str]]] = {\n228: r\"\\rm\": font_factory(None, {\"mi\": \"normal\"}),\n229: r\"\\bf\": font_factory(None, {\"mi\": \"bold\"}),\n230: r\"\\it\": font_factory(None, {\"mi\": \"italic\"}),\n231: r\"\\sf\": font_factory(None, {\"mi\": \"sans-serif\"}),\n232: r\"\\tt\": font_factory(None, {\"mi\": \"monospace\"}),\n233: }\n234: \n235: GLOBAL_FONTS = {\n236: **OLD_STYLE_FONTS,\n237: r\"\\cal\": font_factory(\"script\", {\"fence\": None}),\n238: r\"\\frak\": font_factory(\"fraktur\", {\"fence\": None}),\n239: }\n240: \n241: COMMANDS_WITH_ONE_PARAMETER = (\n242: ACUTE,\n243: BAR,\n244: BLACKBOARD_BOLD,\n245: BOLD_SYMBOL,\n246: BOXED,\n247: BREVE,\n248: CHECK,\n249: DOT,\n250: DDOT,\n251: DDDOT,\n252: DDDDOT,\n253: GRAVE,\n254: HAT,\n255: HPHANTOM,\n256: MATHRING,\n257: MIT,\n258: OLDSTYLE,\n259: OVERLEFTARROW,\n260: OVERLEFTRIGHTARROW,\n261: OVERLINE,\n262: OVERPAREN,\n263: OVERRIGHTARROW,\n264: PHANTOM,\n265: SCR,\n266: TILDE,\n267: TT,\n268: UNDERLEFTARROW,\n269: UNDERLINE,\n270: UNDERPAREN,\n271: UNDERRIGHTARROW,\n272: UNDERLEFTRIGHTARROW,\n273: VEC,\n274: VPHANTOM,\n275: WIDEHAT,\n276: WIDETILDE,\n277: )\n278: COMMANDS_WITH_TWO_PARAMETERS = (\n279: BINOM,\n280: CFRAC,\n281: DBINOM,\n282: DFRAC,\n283: FRAC,\n284: OVERSET,\n285: TBINOM,\n286: TFRAC,\n287: UNDERSET,\n288: )\n289: \n290: BIG: Dict[str, Tuple[str, dict]] = {\n291: # command: (mathml_equivalent, attributes)\n292: r\"\\Bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.470em\"), (\"maxsize\", \"2.470em\")])),\n293: r\"\\bigg\": (\"mo\", OrderedDict([(\"minsize\", \"2.047em\"), (\"maxsize\", \"2.047em\")])),\n294: r\"\\Big\": (\"mo\", OrderedDict([(\"minsize\", \"1.623em\"), (\"maxsize\", \"1.623em\")])),\n295: r\"\\big\": (\"mo\", OrderedDict([(\"minsize\", \"1.2em\"), (\"maxsize\", \"1.2em\")])),\n296: }\n297: \n298: MSTYLE_SIZES: Dict[str, Tuple[str, dict]] = {\n299: # command: (mathml_equivalent, attributes)\n[window truncated; visible lines 212-299]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr216__2EVyJtd:36"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":10519,"content_sha256":"4f97240da7ff1641f9d59ecb8f9f888eadd90eac1c0afef938c61ae2776df475","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"ba66f136e4460e8355062232979c6c1d56a1be723953be59a751157fde5ba554","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"2>/dev/null","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"e851a0cb83ebe7e1035a407149f5094ce57e2f2f3e50034b4b6c535bdf68de56","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"latex2mathml/walker.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"d0df5f854fea9aa821a4dcf676d6a9fb06830515b56c08ac1d5e5eba293d507a","reference_window":{"end_line":102,"sha256":"d1401448db1b8208510e3b7a72e75108934fde30abb6a0743a0dcebf47a4aa23","start_line":1,"truncated":true},"start_line":1,"truncated":true},{"candidate_window":null,"content_sha256":"9ce6ba8f111123ddfb3620633e034241d5f428445180dce454ea0ab05f6fbf5b","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"tests/test_converter.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"55e9ba0133a6421eb275870c988f78ffccd4a826cb3b4a5151e51274df6edd8c","reference_window":{"end_line":96,"sha256":"8678554dddbe24369b8962a3742ad943067e13129788c942e1f84fa9060a6ee9","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr218__7rWgLPd:44","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/2>/dev/null, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/latex2mathml/walker.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: from typing import Any, Dict, Iterator, List, NamedTuple, Optional, Tuple\n2: \n3: from latex2mathml import commands\n4: from latex2mathml.exceptions import (\n5: DenominatorNotFoundError,\n6: DoubleSubscriptsError,\n7: DoubleSuperscriptsError,\n8: ExtraLeftOrMissingRightError,\n9: InvalidAlignmentError,\n10: InvalidStyleForGenfracError,\n11: MissingEndError,\n12: MissingSuperScriptOrSubscriptError,\n13: NoAvailableTokensError,\n14: NumeratorNotFoundError,\n15: )\n16: from latex2mathml.tokenizer import tokenize\n17: \n18: \n19: class Node(NamedTuple):\n20: token: str\n21: children: Optional[Tuple[Any, ...]] = None\n22: delimiter: Optional[str] = None\n23: alignment: Optional[str] = None\n24: text: Optional[str] = None\n25: attributes: Optional[Dict[str, str]] = None\n26: \n27: \n28: def walk(data: str) -> List[Node]:\n29: tokens = tokenize(data)\n30: return _walk(tokens)\n31: \n32: \n33: def _walk(tokens: Iterator[str], terminator: str = None, limit: int = 0) -> List[Node]:\n34: group: List[Node] = []\n35: token: str\n36: has_available_tokens = False\n37: for token in tokens:\n38: has_available_tokens = True\n39: if token == terminator:\n40: delimiter = None\n41: if terminator == commands.RIGHT:\n42: delimiter = next(tokens)\n43: group.append(Node(token=token, delimiter=delimiter))\n44: break\n45: elif token == commands.RIGHT != terminator:\n46: raise ExtraLeftOrMissingRightError\n47: elif token == commands.LEFT:\n48: delimiter = next(tokens)\n49: children = tuple(_walk(tokens, terminator=commands.RIGHT)) # make \\right as a child of \\left\n50: if len(children) == 0 or children[-1].token != commands.RIGHT:\n51: raise ExtraLeftOrMissingRightError\n52: node = Node(token=token, children=children if len(children) else None, delimiter=delimiter)\n53: elif token == commands.OPENING_BRACE:\n54: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACE))\n55: if len(children) and children[-1].token == commands.CLOSING_BRACE:\n56: children = children[:-1]\n57: node = Node(token=commands.BRACES, children=children)\n58: elif token in (commands.SUBSCRIPT, commands.SUPERSCRIPT):\n59: try:\n60: previous = group.pop()\n61: except IndexError:\n62: previous = Node(token=\"\") # left operand can be empty if not present\n63: \n64: if token == previous.token == commands.SUBSCRIPT:\n65: raise DoubleSubscriptsError\n66: if token == previous.token == commands.SUPERSCRIPT:\n67: raise DoubleSuperscriptsError\n68: \n69: if token == commands.SUBSCRIPT and previous.token == commands.SUPERSCRIPT and previous.children is not None:\n70: children = tuple(_walk(tokens, terminator=terminator, limit=1))\n71: node = Node(token=commands.SUBSUP, children=(previous.children[0], *children, previous.children[1]))\n72: elif (\n73: token == commands.SUPERSCRIPT and previous.token == commands.SUBSCRIPT and previous.children is not None\n74: ):\n75: children = tuple(_walk(tokens, terminator=terminator, limit=1))\n76: if previous.children[0].token == commands.LIMITS:\n77: node = Node(token=commands.LIMITS, children=(group.pop(), *previous.children[1:], *children))\n78: else:\n79: node = Node(token=commands.SUBSUP, children=(*previous.children, *children))\n80: else:\n81: try:\n82: children = tuple(_walk(tokens, terminator=terminator, limit=1))\n83: except NoAvailableTokensError:\n84: raise MissingSuperScriptOrSubscriptError\n85: node = Node(token=token, children=(previous, *children))\n86: elif token == commands.APOSTROPHE:\n87: try:\n88: previous = group.pop()\n89: except IndexError:\n90: previous = Node(token=\"\") # left operand can be empty if not present\n91: \n92: if (\n93: previous.token == commands.SUPERSCRIPT\n94: and previous.children is not None\n95: and len(previous.children) >= 2\n96: and previous.children[1].token == commands.PRIME\n97: ):\n98: node = Node(token=commands.SUPERSCRIPT, children=(previous.children[0], Node(token=commands.DPRIME)))\n99: else:\n100: node = Node(token=commands.SUPERSCRIPT, children=(previous, Node(token=commands.PRIME)))\n101: elif token in commands.COMMANDS_WITH_TWO_PARAMETERS:\n102: attributes = None\n[window truncated; visible lines 1-102]\n\n### E1 /testbed/tests/test_converter.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: import sys\n2: \n3: import pytest\n4: from multidict import MultiDict\n5: from xmljson import BadgerFish\n6: \n7: # noinspection PyProtectedMember\n8: from latex2mathml.converter import _convert, convert\n9: \n10: \n11: @pytest.mark.parametrize(\n12: \"latex, json\",\n13: [\n14: pytest.param(\"x\", {\"mi\": \"x\"}, id=\"single-identifier\"),\n15: pytest.param(\"xyz\", MultiDict([(\"mi\", \"x\"), (\"mi\", \"y\"), (\"mi\", \"z\")]), id=\"multiple-identifier\"),\n16: pytest.param(\"3\", {\"mn\": \"3\"}, id=\"single-number\"),\n17: pytest.param(\"333\", {\"mn\": \"333\"}, id=\"multiple-numbers\"),\n18: pytest.param(\"12.34\", {\"mn\": \"12.34\"}, id=\"decimal-numbers\"),\n19: pytest.param(\"12x\", MultiDict([(\"mn\", \"12\"), (\"mi\", \"x\")]), id=\"numbers-and-identifiers\"),\n20: pytest.param(\"+\", {\"mo\": \"+\"}, id=\"single-operator\"),\n21: pytest.param(\"3-2\", MultiDict([(\"mn\", \"3\"), (\"mo\", \"−\"), (\"mn\", \"2\")]), id=\"numbers-and-operators\"),\n22: pytest.param(\n23: \"3x*2\",\n24: MultiDict([(\"mn\", \"3\"), (\"mi\", \"x\"), (\"mo\", \"*\"), (\"mn\", \"2\")]),\n25: id=\"numbers-identifiers-and-operators\",\n26: ),\n27: pytest.param(\"{a}\", {\"mrow\": {\"mi\": \"a\"}}, id=\"single-group\"),\n28: pytest.param(\"{a}{b}\", MultiDict([(\"mrow\", {\"mi\": \"a\"}), (\"mrow\", {\"mi\": \"b\"})]), id=\"multiple-groups\"),\n29: pytest.param(\n30: \"{a+{b}}\", {\"mrow\": MultiDict([(\"mi\", \"a\"), (\"mo\", \"+\"), (\"mrow\", {\"mi\": \"b\"})])}, id=\"inner-group\"\n31: ),\n32: pytest.param(r\"1 \\over 2\", {\"mfrac\": MultiDict([(\"mn\", \"1\"), (\"mn\", \"2\")])}, id=\"over\"),\n33: pytest.param(\n34: r\"{1 \\over 2}\", {\"mrow\": {\"mfrac\": MultiDict([(\"mn\", \"1\"), (\"mn\", \"2\")])}}, id=\"over-inside-braces\"\n35: ),\n36: pytest.param(\n37: r\"\\begin{matrix}a_{1} & b_{2} \\\\ c_{3} & d_{4} \\end{matrix}\",\n38: {\n39: \"mtable\": MultiDict(\n40: [\n41: (\n42: \"mtr\",\n43: MultiDict(\n44: [\n45: (\"mtd\", {\"msub\": MultiDict([(\"mi\", \"a\"), (\"mrow\", {\"mn\": \"1\"})])}),\n46: (\"mtd\", {\"msub\": MultiDict([(\"mi\", \"b\"), (\"mrow\", {\"mn\": \"2\"})])}),\n47: ]\n48: ),\n49: ),\n50: (\n51: \"mtr\",\n52: MultiDict(\n53: [\n54: (\"mtd\", {\"msub\": MultiDict([(\"mi\", \"c\"), (\"mrow\", {\"mn\": \"3\"})])}),\n55: (\"mtd\", {\"msub\": MultiDict([(\"mi\", \"d\"), (\"mrow\", {\"mn\": \"4\"})])}),\n56: ]\n57: ),\n58: ),\n59: ]\n60: )\n61: },\n62: id=\"complex-matrix\",\n63: ),\n64: pytest.param(\n65: r\"\\left\\{ \\begin{array} { l } { 3x - 5y + 4z = 0} \\\\ { x - y + 8z = 0} \\\\ { 2x - 6y + z = 0} \\end{array} \"\n66: r\"\\right.\",\n67: {\n68: \"mrow\": MultiDict(\n69: [\n70: (\"mo\", {\"@stretchy\": \"true\", \"@fence\": \"true\", \"@form\": \"prefix\", \"$\": \"{\"}),\n71: (\n72: \"mtable\",\n73: MultiDict(\n74: [\n75: (\n76: \"mtr\",\n77: {\n78: \"mtd\": {\n79: \"@columnalign\": \"left\",\n80: \"mrow\": MultiDict(\n81: [\n82: (\"mn\", \"3\"),\n83: (\"mi\", \"x\"),\n84: (\"mo\", \"−\"),\n85: (\"mn\", \"5\"),\n86: (\"mi\", \"y\"),\n87: (\"mo\", \"+\"),\n88: (\"mn\", \"4\"),\n89: (\"mi\", \"z\"),\n90: (\"mo\", \"=\"),\n91: (\"mn\", \"0\"),\n92: ]\n93: ),\n94: },\n95: },\n96: ),\n[window truncated; visible lines 1-96]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr218__7rWgLPd:44"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5813,"content_sha256":"9c908f5baa1536572f00f9170060685b9e926f47fbeccb4bc976c7ff93643fb1","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":73,"sha256":"ecbd02c7316fb6dae64b61ea7b5aace3efa6a55b7a3f145d23a20112a7351e63","start_line":19,"truncated":true},"content_sha256":"4a358456f4ad3df7576e8f9edabd3c3821251986db811cbc5b6cccd3aad3d8d2","end_line":107,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/walker.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"9cd88101841fbaa400b18e997d3af50367321308afd904ec15daa9fe4875a35a","reference_window":{"end_line":75,"sha256":"2299efa0a82380f4b04eda525e5e9767fb7d85bcd9e8667792265866313534dd","start_line":18,"truncated":true},"start_line":1,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr258__wixHfx3:28","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/walker.py, reference lines 1-107\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n18: \n19: \n20: class Node(NamedTuple):\n21: token: str\n22: children: Optional[Tuple[Any, ...]] = None\n23: delimiter: Optional[str] = None\n24: alignment: Optional[str] = None\n25: text: Optional[str] = None\n26: attributes: Optional[Dict[str, str]] = None\n27: \n28: \n29: def walk(data: str) -> List[Node]:\n30: tokens = tokenize(data)\n31: return _walk(tokens)\n32: \n33: \n34: def _walk(tokens: Iterator[str], terminator: str = None, limit: int = 0) -> List[Node]:\n35: group: List[Node] = []\n36: token: str\n37: has_available_tokens = False\n38: for token in tokens:\n39: has_available_tokens = True\n40: if token == terminator:\n41: delimiter = None\n42: if terminator == commands.RIGHT:\n43: delimiter = next(tokens)\n44: group.append(Node(token=token, delimiter=delimiter))\n45: break\n46: elif token == commands.RIGHT != terminator:\n47: raise ExtraLeftOrMissingRightError\n48: elif token == commands.LEFT:\n49: delimiter = next(tokens)\n50: children = tuple(_walk(tokens, terminator=commands.RIGHT)) # make \\right as a child of \\left\n51: if len(children) == 0 or children[-1].token != commands.RIGHT:\n52: raise ExtraLeftOrMissingRightError\n53: node = Node(token=token, children=children if len(children) else None, delimiter=delimiter)\n54: elif token == commands.OPENING_BRACE:\n55: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACE))\n56: if len(children) and children[-1].token == commands.CLOSING_BRACE:\n57: children = children[:-1]\n58: node = Node(token=commands.BRACES, children=children)\n59: elif token in (commands.SUBSCRIPT, commands.SUPERSCRIPT):\n60: try:\n61: previous = group.pop()\n62: except IndexError:\n63: previous = Node(token=\"\") # left operand can be empty if not present\n64: \n65: if token == previous.token == commands.SUBSCRIPT:\n66: raise DoubleSubscriptsError\n67: if token == previous.token == commands.SUPERSCRIPT:\n68: raise DoubleSuperscriptsError\n69: \n70: if token == commands.SUBSCRIPT and previous.token == commands.SUPERSCRIPT and previous.children is not None:\n71: children = tuple(_walk(tokens, terminator=terminator, limit=1))\n72: node = Node(token=commands.SUBSUP, children=(previous.children[0], *children, previous.children[1]))\n73: elif (\n74: token == commands.SUPERSCRIPT and previous.token == commands.SUBSCRIPT and previous.children is not None\n75: ):\n[window truncated; visible lines 18-75]\nCandidate text preview (unexecuted):\n19: \n20: class Node(NamedTuple):\n21: token: str\n22: children: Optional[Tuple[Any, ...]] = None\n23: delimiter: Optional[str] = None\n24: alignment: Optional[str] = None\n25: text: Optional[str] = None\n26: attributes: Optional[Dict[str, str]] = None\n27: \n28: \n29: def walk(data: str) -> List[Node]:\n30: tokens = tokenize(data)\n31: return _walk(tokens)\n32: \n33: \n34: def _walk(tokens: Iterator[str], terminator: str = None, limit: int = 0) -> List[Node]:\n35: group: List[Node] = []\n36: token: str\n37: has_available_tokens = False\n38: for token in tokens:\n39: has_available_tokens = True\n40: if token == terminator:\n41: delimiter = None\n42: if terminator == commands.RIGHT:\n43: delimiter = next(tokens)\n44: group.append(Node(token=token, delimiter=delimiter))\n45: break\n46: elif (token == commands.RIGHT != terminator) or (token == commands.MIDDLE and terminator != commands.RIGHT):\n47: raise ExtraLeftOrMissingRightError\n48: elif token == commands.LEFT:\n49: delimiter = next(tokens)\n50: children = tuple(_walk(tokens, terminator=commands.RIGHT)) # make \\right as a child of \\left\n51: if len(children) == 0 or children[-1].token != commands.RIGHT:\n52: raise ExtraLeftOrMissingRightError\n53: node = Node(token=token, children=children if len(children) else None, delimiter=delimiter)\n54: elif token == commands.OPENING_BRACE:\n55: children = tuple(_walk(tokens, terminator=commands.CLOSING_BRACE))\n56: if len(children) and children[-1].token == commands.CLOSING_BRACE:\n57: children = children[:-1]\n58: node = Node(token=commands.BRACES, children=children)\n59: elif token in (commands.SUBSCRIPT, commands.SUPERSCRIPT):\n60: try:\n61: previous = group.pop()\n62: except IndexError:\n63: previous = Node(token=\"\") # left operand can be empty if not present\n64: \n65: if token == previous.token == commands.SUBSCRIPT:\n66: raise DoubleSubscriptsError\n67: if token == previous.token == commands.SUPERSCRIPT:\n68: raise DoubleSuperscriptsError\n69: \n70: if token == commands.SUBSCRIPT and previous.token == commands.SUPERSCRIPT and previous.children is not None:\n71: children = tuple(_walk(tokens, terminator=terminator, limit=1))\n72: node = Node(token=commands.SUBSUP, children=(previous.children[0], *children, previous.children[1]))\n73: elif (\n[window truncated; visible lines 19-73]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr258__wixHfx3:28"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5858,"content_sha256":"2895b147c245d480aa9aa2ae05add168beb83ba3c26c08586c12aaaea8c7cf6c","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":470,"sha256":"bc9dff4a09f683e511f8065d36a05869c4f00aeb140651da01fb147b157286bd","start_line":403,"truncated":true},"content_sha256":"8dec84e5c090bb60cb19b52298d7eaf36f20d79ee54327a61e25c30bc12b3a78","end_line":500,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"c2f59fa2c236dd8e7bc5a72534b5394986dc9f33ec3a42a0c6b00d35e08299d4","reference_window":{"end_line":469,"sha256":"84636cf9387ff35ef33b59d2e7c2bc628559f77adac5f4cee21655745fea5b3b","start_line":403,"truncated":true},"start_line":378,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr304__fgtCGjm:17","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 378-500\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n403: NEGTHICKSPACE: (\"mspace\", {\"width\": \"negativethickmathspace\"}),\n404: THINSPACE: (\"mspace\", {\"width\": \"thinmathspace\"}),\n405: QQUAD: (\"mspace\", {\"width\": \"2em\"}),\n406: QUAD: (\"mspace\", {\"width\": \"1em\"}),\n407: SEMICOLON: (\"mspace\", {\"width\": \"0.278em\"}),\n408: # enclose\n409: BOXED: (\"menclose\", {\"notation\": \"box\"}),\n410: FBOX: (\"menclose\", {\"notation\": \"box\"}),\n411: # operators\n412: **BIG,\n413: **MSTYLE_SIZES,\n414: **{limit: (\"mo\", {}) for limit in LIMIT},\n415: LEFT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"prefix\")])),\n416: MIDDLE: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"lspace\", \"0.05em\"), (\"rspace\", \"0.05em\")])),\n417: RIGHT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"postfix\")])),\n418: # styles\n419: COLOR: (\"mstyle\", {}),\n420: **STYLES,\n421: # others\n422: SQRT: (\"msqrt\", {}),\n423: ROOT: (\"mroot\", {}),\n424: HREF: (\"mtext\", {}),\n425: TEXT: (\"mtext\", {}),\n426: TEXTBF: (\"mtext\", {\"mathvariant\": \"bold\"}),\n427: TEXTIT: (\"mtext\", {\"mathvariant\": \"italic\"}),\n428: TEXTRM: (\"mtext\", {}),\n429: TEXTSF: (\"mtext\", {\"mathvariant\": \"sans-serif\"}),\n430: TEXTTT: (\"mtext\", {\"mathvariant\": \"monospace\"}),\n431: HBOX: (\"mtext\", {}),\n432: MBOX: (\"mtext\", {}),\n433: HPHANTOM: (\"mphantom\", {}),\n434: PHANTOM: (\"mphantom\", {}),\n435: VPHANTOM: (\"mphantom\", {}),\n436: SIDESET: (\"mrow\", {}),\n437: SKEW: (\"mrow\", {}),\n438: MOD: (\"mi\", {}),\n439: PMOD: (\"mi\", {}),\n440: }\n441: \n442: \n443: DIACRITICS: Dict[str, Tuple[str, Dict[str, str]]] = {\n444: ACUTE: (\"´\", {}),\n445: BAR: (\"¯\", {\"stretchy\": \"true\"}),\n446: BREVE: (\"˘\", {}),\n447: CHECK: (\"ˇ\", {}),\n448: DOT: (\"˙\", {}),\n449: DDOT: (\"¨\", {}),\n450: DDDOT: (\"⃛\", {}),\n451: DDDDOT: (\"⃜\", {}),\n452: GRAVE: (\"`\", {}),\n453: HAT: (\"^\", {\"stretchy\": \"false\"}),\n454: MATHRING: (\"˚\", {}),\n455: OVERLEFTARROW: (\"←\", {}),\n456: OVERLEFTRIGHTARROW: (\"↔\", {}),\n457: OVERLINE: (\"―\", {\"accent\": \"true\"}),\n458: OVERPAREN: (\"⏜\", {}),\n459: OVERRIGHTARROW: (\"→\", {}),\n460: TILDE: (\"~\", {\"stretchy\": \"false\"}),\n461: UNDERLEFTARROW: (\"←\", {}),\n462: UNDERLEFTRIGHTARROW: (\"↔\", {}),\n463: UNDERLINE: (\"―\", {\"accent\": \"true\"}),\n464: UNDERPAREN: (\"⏝\", {}),\n465: UNDERRIGHTARROW: (\"→\", {}),\n466: VEC: (\"→\", {\"stretchy\": \"true\"}),\n467: WIDEHAT: (\"^\", {}),\n468: WIDETILDE: (\"~\", {}),\n469: }\n[window truncated; visible lines 403-469]\nCandidate text preview (unexecuted):\n403: NEGTHICKSPACE: (\"mspace\", {\"width\": \"negativethickmathspace\"}),\n404: THINSPACE: (\"mspace\", {\"width\": \"thinmathspace\"}),\n405: QQUAD: (\"mspace\", {\"width\": \"2em\"}),\n406: QUAD: (\"mspace\", {\"width\": \"1em\"}),\n407: SEMICOLON: (\"mspace\", {\"width\": \"0.278em\"}),\n408: # enclose\n409: BOXED: (\"menclose\", {\"notation\": \"box\"}),\n410: FBOX: (\"menclose\", {\"notation\": \"box\"}),\n411: # operators\n412: **BIG,\n413: **MSTYLE_SIZES,\n414: **{limit: (\"mo\", {}) for limit in LIMIT},\n415: LEFT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"prefix\")])),\n416: MIDDLE: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"lspace\", \"0.05em\"), (\"rspace\", \"0.05em\")])),\n417: RIGHT: (\"mo\", OrderedDict([(\"stretchy\", \"true\"), (\"fence\", \"true\"), (\"form\", \"postfix\")])),\n418: # styles\n419: COLOR: (\"mstyle\", {}),\n420: **STYLES,\n421: # others\n422: SQRT: (\"msqrt\", {}),\n423: ROOT: (\"mroot\", {}),\n424: HREF: (\"mtext\", {}),\n425: TEXT: (\"mtext\", {}),\n426: TEXTBF: (\"mtext\", {\"mathvariant\": \"bold\"}),\n427: TEXTIT: (\"mtext\", {\"mathvariant\": \"italic\"}),\n428: TEXTRM: (\"mtext\", {}),\n429: TEXTSF: (\"mtext\", {\"mathvariant\": \"sans-serif\"}),\n430: TEXTTT: (\"mtext\", {\"mathvariant\": \"monospace\"}),\n431: HBOX: (\"mtext\", {}),\n432: MBOX: (\"mtext\", {}),\n433: HPHANTOM: (\"mphantom\", {}),\n434: PHANTOM: (\"mphantom\", {}),\n435: VPHANTOM: (\"mphantom\", {}),\n436: SIDESET: (\"mrow\", {}),\n437: SKEW: (\"mrow\", {}),\n438: MOD: (\"mi\", {}),\n439: PMOD: (\"mi\", {}),\n440: BMOD: (\"mo\", {}),\n441: }\n442: \n443: \n444: DIACRITICS: Dict[str, Tuple[str, Dict[str, str]]] = {\n445: ACUTE: (\"´\", {}),\n446: BAR: (\"¯\", {\"stretchy\": \"true\"}),\n447: BREVE: (\"˘\", {}),\n448: CHECK: (\"ˇ\", {}),\n449: DOT: (\"˙\", {}),\n450: DDOT: (\"¨\", {}),\n451: DDDOT: (\"⃛\", {}),\n452: DDDDOT: (\"⃜\", {}),\n453: GRAVE: (\"`\", {}),\n454: HAT: (\"^\", {\"stretchy\": \"false\"}),\n455: MATHRING: (\"˚\", {}),\n456: OVERLEFTARROW: (\"←\", {}),\n457: OVERLEFTRIGHTARROW: (\"↔\", {}),\n458: OVERLINE: (\"―\", {\"accent\": \"true\"}),\n459: OVERPAREN: (\"⏜\", {}),\n460: OVERRIGHTARROW: (\"→\", {}),\n461: TILDE: (\"~\", {\"stretchy\": \"false\"}),\n462: UNDERLEFTARROW: (\"←\", {}),\n463: UNDERLEFTRIGHTARROW: (\"↔\", {}),\n464: UNDERLINE: (\"―\", {\"accent\": \"true\"}),\n465: UNDERPAREN: (\"⏝\", {}),\n466: UNDERRIGHTARROW: (\"→\", {}),\n467: VEC: (\"→\", {\"stretchy\": \"true\"}),\n468: WIDEHAT: (\"^\", {}),\n469: WIDETILDE: (\"~\", {}),\n470: }\n[window truncated; visible lines 403-470]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr304__fgtCGjm:17"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr306__2j38t7a:50","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr306__2j38t7a:50"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5895,"content_sha256":"9b016b942dd03847b7180dfa4d6772897a559f295dbe178e24ffc66736a92ec5","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":296,"sha256":"7adc17e44277935bc3ceeba28615282b6a98c2cbad93609b3c3bcb1ace705d4a","start_line":245,"truncated":true},"content_sha256":"2eb745e35e8550fa747baa8a5f622031a9b000b9daad96b6ea5b2589155f2c42","end_line":347,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/walker.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"87cfcbedfabd96502cb0f6b80cd184013997f125d56366b63688712af0737852","reference_window":{"end_line":295,"sha256":"8b0a81e1114ad63c89b17ff8b4e88378ed5d0373cfe3e30df29fee2db61de056","start_line":246,"truncated":true},"start_line":210,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr308__k7uKx8w:30","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/walker.py, reference lines 210-347\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n246: children, sibling = children[:-1], children[-1]\n247: if len(children) == 1 and children[0].token == commands.BRACES and children[0].children:\n248: children = children[0].children\n249: if sibling is not None:\n250: group.extend([Node(token=token, children=children, alignment=\"\"), sibling])\n251: break\n252: else:\n253: node = Node(token=token, children=children, alignment=\"\")\n254: elif token == commands.GENFRAC:\n255: delimiter = next(tokens).lstrip(\"\\\\\") + next(tokens).lstrip(\"\\\\\")\n256: dimension_node, style_node = tuple(_walk(tokens, terminator=terminator, limit=2))\n257: dimension = _get_dimension(dimension_node)\n258: style = _get_style(style_node)\n259: attributes = {\"linethickness\": dimension}\n260: children = tuple(_walk(tokens, terminator=terminator, limit=2))\n261: group.extend(\n262: [Node(token=style), Node(token=token, children=children, delimiter=delimiter, attributes=attributes)]\n263: )\n264: break\n265: elif token == commands.SIDESET:\n266: left, right, operator = tuple(_walk(tokens, terminator=terminator, limit=3))\n267: left_token, left_children = _make_subsup(left)\n268: right_token, right_children = _make_subsup(right)\n269: attributes = {\"movablelimits\": \"false\"}\n270: node = Node(\n271: token=token,\n272: children=(\n273: Node(\n274: token=left_token,\n275: children=(\n276: Node(\n277: token=commands.VPHANTOM,\n278: children=(Node(token=operator.token, attributes=attributes),),\n279: ),\n280: *left_children,\n281: ),\n282: ),\n283: Node(\n284: token=right_token, children=(Node(token=operator.token, attributes=attributes), *right_children)\n285: ),\n286: ),\n287: )\n288: elif token == commands.SKEW:\n289: width_node, child = tuple(_walk(tokens, terminator=terminator, limit=2))\n290: width = width_node.token\n291: if width == commands.BRACES:\n292: if width_node.children is None or len(width_node.children) == 0:\n293: raise InvalidWidthError\n294: width = width_node.children[0].token\n295: if not width.isdigit():\n[window truncated; visible lines 246-295]\nCandidate text preview (unexecuted):\n245: if len(children) and children[-1].token == terminator:\n246: children, sibling = children[:-1], children[-1]\n247: if len(children) == 1 and children[0].token == commands.BRACES and children[0].children:\n248: children = children[0].children\n249: if sibling is not None:\n250: group.extend([Node(token=token, children=children, alignment=\"\"), sibling])\n251: break\n252: else:\n253: node = Node(token=token, children=children, alignment=\"\")\n254: elif token == commands.GENFRAC:\n255: delimiter = next(tokens).lstrip(\"\\\\\") + next(tokens).lstrip(\"\\\\\")\n256: dimension_node, style_node = tuple(_walk(tokens, terminator=terminator, limit=2))\n257: dimension = _get_dimension(dimension_node)\n258: style = _get_style(style_node)\n259: attributes = {\"linethickness\": dimension}\n260: children = tuple(_walk(tokens, terminator=terminator, limit=2))\n261: group.extend(\n262: [Node(token=style), Node(token=token, children=children, delimiter=delimiter, attributes=attributes)]\n263: )\n264: break\n265: elif token == commands.SIDESET:\n266: left, right, operator = tuple(_walk(tokens, terminator=terminator, limit=3))\n267: left_token, left_children = _make_subsup(left)\n268: right_token, right_children = _make_subsup(right)\n269: attributes = {\"movablelimits\": \"false\"}\n270: node = Node(\n271: token=token,\n272: children=(\n273: Node(\n274: token=left_token,\n275: children=(\n276: Node(\n277: token=commands.VPHANTOM,\n278: children=(\n279: Node(token=operator.token, children=operator.children, attributes=attributes),\n280: ),\n281: ),\n282: *left_children,\n283: ),\n284: ),\n285: Node(\n286: token=right_token,\n287: children=(\n288: Node(token=operator.token, children=operator.children, attributes=attributes),\n289: *right_children,\n290: ),\n291: ),\n292: ),\n293: )\n294: elif token == commands.SKEW:\n295: width_node, child = tuple(_walk(tokens, terminator=terminator, limit=2))\n296: width = width_node.token\n[window truncated; visible lines 245-296]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr308__k7uKx8w:30"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5883,"content_sha256":"78ef705f5de6484bedd0445633646c172fc49a95f142d357dacfb7f44ce06616","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":125,"sha256":"fb6b485a20f5634d6a57b660d06e8ff5a0f3d4ff48cdee04fea3772714160845","start_line":1,"truncated":true},"content_sha256":"ae1c0ccb6e892681d631ff493c52d41cdbc73db8985e6e77473eb57f90ed3ede","end_line":127,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/commands.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"5e87ec89402e8be22bc5fbe01f5d7beaae2f2dc432cfd8f29d4102d8fcba628a","reference_window":{"end_line":127,"sha256":"f53a18d4b0c70b6f945c954f2e64a2f4ab1bdf419f270444510d4301e52b14eb","start_line":1,"truncated":false},"start_line":1,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr309__jBSah4r:21","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/commands.py, reference lines 1-127\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: from collections import OrderedDict, defaultdict\n2: from typing import DefaultDict, Dict, Optional, Tuple\n3: \n4: OPENING_BRACE = \"{\"\n5: CLOSING_BRACE = \"}\"\n6: BRACES = \"{}\"\n7: \n8: OPENING_BRACKET = \"[\"\n9: CLOSING_BRACKET = \"]\"\n10: BRACKETS = \"[]\"\n11: \n12: OPENING_PARENTHESIS = \"(\"\n13: CLOSING_PARENTHESIS = \")\"\n14: PARENTHESES = \"()\"\n15: \n16: SUBSUP = \"_^\"\n17: SUBSCRIPT = \"_\"\n18: SUPERSCRIPT = \"^\"\n19: APOSTROPHE = \"'\"\n20: PRIME = r\"\\prime\"\n21: DPRIME = r\"\\dprime\"\n22: \n23: LEFT = r\"\\left\"\n24: MIDDLE = r\"\\middle\"\n25: RIGHT = r\"\\right\"\n26: \n27: ABOVE = r\"\\above\"\n28: ABOVEWITHDELIMS = r\"\\abovewithdelims\"\n29: ATOP = r\"\\atop\"\n30: ATOPWITHDELIMS = r\"\\atopwithdelims\"\n31: BINOM = r\"\\binom\"\n32: BRACE = r\"\\brace\"\n33: BRACK = r\"\\brack\"\n34: CFRAC = r\"\\cfrac\"\n35: CHOOSE = r\"\\choose\"\n36: DBINOM = r\"\\dbinom\"\n37: DFRAC = r\"\\dfrac\"\n38: FRAC = r\"\\frac\"\n39: GENFRAC = r\"\\genfrac\"\n40: OVER = r\"\\over\"\n41: TBINOM = r\"\\tbinom\"\n42: TFRAC = r\"\\tfrac\"\n43: \n44: ROOT = r\"\\root\"\n45: SQRT = r\"\\sqrt\"\n46: \n47: OVERSET = r\"\\overset\"\n48: UNDERSET = r\"\\underset\"\n49: \n50: ACUTE = r\"\\acute\"\n51: BAR = r\"\\bar\"\n52: BREVE = r\"\\breve\"\n53: CHECK = r\"\\check\"\n54: DOT = r\"\\dot\"\n55: DDOT = r\"\\ddot\"\n56: DDDOT = r\"\\dddot\"\n57: DDDDOT = r\"\\ddddot\"\n58: GRAVE = r\"\\grave\"\n59: HAT = r\"\\hat\"\n60: MATHRING = r\"\\mathring\"\n61: OVERLEFTARROW = r\"\\overleftarrow\"\n62: OVERLEFTRIGHTARROW = r\"\\overleftrightarrow\"\n63: OVERLINE = r\"\\overline\"\n64: OVERPAREN = r\"\\overparen\"\n65: OVERRIGHTARROW = r\"\\overrightarrow\"\n66: TILDE = r\"\\tilde\"\n67: UNDERLEFTARROW = r\"\\underleftarrow\"\n68: UNDERLINE = r\"\\underline\"\n69: UNDERPAREN = r\"\\underparen\"\n70: UNDERRIGHTARROW = r\"\\underrightarrow\"\n71: UNDERLEFTRIGHTARROW = r\"\\underleftrightarrow\"\n72: VEC = r\"\\vec\"\n73: WIDEHAT = r\"\\widehat\"\n74: WIDETILDE = r\"\\widetilde\"\n75: \n76: HREF = r\"\\href\"\n77: TEXT = r\"\\text\"\n78: TEXTBF = r\"\\textbf\"\n79: TEXTIT = r\"\\textit\"\n80: TEXTRM = r\"\\textrm\"\n81: TEXTSF = r\"\\textsf\"\n82: TEXTTT = r\"\\texttt\"\n83: \n84: BEGIN = r\"\\begin\"\n85: END = r\"\\end\"\n86: \n87: LIMITS = r\"\\limits\"\n88: INTEGRAL = r\"\\int\"\n89: SUMMATION = r\"\\sum\"\n90: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n91: \n92: OPERATORNAME = r\"\\operatorname\"\n93: \n94: LBRACE = r\"\\{\"\n95: \n96: FUNCTIONS = (\n97: r\"\\arccos\",\n98: r\"\\arcsin\",\n99: r\"\\arctan\",\n100: r\"\\cos\",\n101: r\"\\cosh\",\n102: r\"\\cot\",\n103: r\"\\coth\",\n104: r\"\\csc\",\n105: r\"\\deg\",\n106: r\"\\dim\",\n107: r\"\\exp\",\n108: r\"\\hom\",\n109: r\"\\ker\",\n110: r\"\\ln\",\n111: r\"\\lg\",\n112: r\"\\log\",\n113: r\"\\sec\",\n114: r\"\\sin\",\n115: r\"\\sinh\",\n116: r\"\\tan\",\n117: r\"\\tanh\",\n118: )\n119: DETERMINANT = r\"\\det\"\n120: GCD = r\"\\gcd\"\n121: INTOP = r\"\\intop\"\n122: INJLIM = r\"\\injlim\"\n123: LIMINF = r\"\\liminf\"\n124: LIMSUP = r\"\\limsup\"\n125: PR = r\"\\Pr\"\n126: PROJLIM = r\"\\projlim\"\n127: MOD = r\"\\mod\"\nCandidate text preview (unexecuted):\n1: from collections import OrderedDict, defaultdict\n2: from typing import DefaultDict, Dict, Optional, Tuple\n3: \n4: OPENING_BRACE = \"{\"\n5: CLOSING_BRACE = \"}\"\n6: BRACES = \"{}\"\n7: \n8: OPENING_BRACKET = \"[\"\n9: CLOSING_BRACKET = \"]\"\n10: BRACKETS = \"[]\"\n11: \n12: OPENING_PARENTHESIS = \"(\"\n13: CLOSING_PARENTHESIS = \")\"\n14: PARENTHESES = \"()\"\n15: \n16: SUBSUP = \"_^\"\n17: SUBSCRIPT = \"_\"\n18: SUPERSCRIPT = \"^\"\n19: APOSTROPHE = \"'\"\n20: PRIME = r\"\\prime\"\n21: DPRIME = r\"\\dprime\"\n22: \n23: LEFT = r\"\\left\"\n24: MIDDLE = r\"\\middle\"\n25: RIGHT = r\"\\right\"\n26: \n27: ABOVE = r\"\\above\"\n28: ABOVEWITHDELIMS = r\"\\abovewithdelims\"\n29: ATOP = r\"\\atop\"\n30: ATOPWITHDELIMS = r\"\\atopwithdelims\"\n31: BINOM = r\"\\binom\"\n32: BRACE = r\"\\brace\"\n33: BRACK = r\"\\brack\"\n34: CFRAC = r\"\\cfrac\"\n35: CHOOSE = r\"\\choose\"\n36: DBINOM = r\"\\dbinom\"\n37: DFRAC = r\"\\dfrac\"\n38: FRAC = r\"\\frac\"\n39: GENFRAC = r\"\\genfrac\"\n40: OVER = r\"\\over\"\n41: TBINOM = r\"\\tbinom\"\n42: TFRAC = r\"\\tfrac\"\n43: \n44: ROOT = r\"\\root\"\n45: SQRT = r\"\\sqrt\"\n46: \n47: OVERSET = r\"\\overset\"\n48: UNDERSET = r\"\\underset\"\n49: \n50: ACUTE = r\"\\acute\"\n51: BAR = r\"\\bar\"\n52: BREVE = r\"\\breve\"\n53: CHECK = r\"\\check\"\n54: DOT = r\"\\dot\"\n55: DDOT = r\"\\ddot\"\n56: DDDOT = r\"\\dddot\"\n57: DDDDOT = r\"\\ddddot\"\n58: GRAVE = r\"\\grave\"\n59: HAT = r\"\\hat\"\n60: MATHRING = r\"\\mathring\"\n61: OVERBRACE = r\"\\overbrace\"\n62: OVERLEFTARROW = r\"\\overleftarrow\"\n63: OVERLEFTRIGHTARROW = r\"\\overleftrightarrow\"\n64: OVERLINE = r\"\\overline\"\n65: OVERPAREN = r\"\\overparen\"\n66: OVERRIGHTARROW = r\"\\overrightarrow\"\n67: TILDE = r\"\\tilde\"\n68: UNDERBRACE = r\"\\underbrace\"\n69: UNDERLEFTARROW = r\"\\underleftarrow\"\n70: UNDERLINE = r\"\\underline\"\n71: UNDERPAREN = r\"\\underparen\"\n72: UNDERRIGHTARROW = r\"\\underrightarrow\"\n73: UNDERLEFTRIGHTARROW = r\"\\underleftrightarrow\"\n74: VEC = r\"\\vec\"\n75: WIDEHAT = r\"\\widehat\"\n76: WIDETILDE = r\"\\widetilde\"\n77: \n78: HREF = r\"\\href\"\n79: TEXT = r\"\\text\"\n80: TEXTBF = r\"\\textbf\"\n81: TEXTIT = r\"\\textit\"\n82: TEXTRM = r\"\\textrm\"\n83: TEXTSF = r\"\\textsf\"\n84: TEXTTT = r\"\\texttt\"\n85: \n86: BEGIN = r\"\\begin\"\n87: END = r\"\\end\"\n88: \n89: LIMITS = r\"\\limits\"\n90: INTEGRAL = r\"\\int\"\n91: SUMMATION = r\"\\sum\"\n92: LIMIT = (r\"\\lim\", r\"\\sup\", r\"\\inf\", r\"\\max\", r\"\\min\")\n93: \n94: OPERATORNAME = r\"\\operatorname\"\n95: \n96: LBRACE = r\"\\{\"\n97: \n98: FUNCTIONS = (\n99: r\"\\arccos\",\n100: r\"\\arcsin\",\n101: r\"\\arctan\",\n102: r\"\\cos\",\n103: r\"\\cosh\",\n104: r\"\\cot\",\n105: r\"\\coth\",\n106: r\"\\csc\",\n107: r\"\\deg\",\n108: r\"\\dim\",\n109: r\"\\exp\",\n110: r\"\\hom\",\n111: r\"\\ker\",\n112: r\"\\ln\",\n113: r\"\\lg\",\n114: r\"\\log\",\n115: r\"\\sec\",\n116: r\"\\sin\",\n117: r\"\\sinh\",\n118: r\"\\tan\",\n119: r\"\\tanh\",\n120: )\n121: DETERMINANT = r\"\\det\"\n122: GCD = r\"\\gcd\"\n123: INTOP = r\"\\intop\"\n124: INJLIM = r\"\\injlim\"\n125: LIMINF = r\"\\liminf\"\n[window truncated; visible lines 1-125]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr309__jBSah4r:21"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr311__4crarYV:46","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr311__4crarYV:46"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr315__g6azeAS:23","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr315__g6azeAS:23"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5880,"content_sha256":"c73016104978179303fa1823f5d9367fd4c274bbaa402d01a8f4d63d7640b8ed","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":332,"sha256":"6d8ae162c33be65dc5def3c76d1490f5f7e56688b3f6c54bd76639033a20d052","start_line":279,"truncated":true},"content_sha256":"1ec82811c14bf0491d5d60d609f23421773ec84122c73fba7977d31613fb7dc3","end_line":368,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"0074fe48b81fbcb74f55fddac5e5dce4a332942c874c1daa76d3df707bcebca1","reference_window":{"end_line":332,"sha256":"fe2a51ce337163085f788a93218368123474154ae3bb54affea7f5afac370044","start_line":279,"truncated":true},"start_line":245,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr316__yMjY8zL:19","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 245-368\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n279: elif command == commands.HBOX:\n280: mtext: Optional[Element] = element\n281: for text, mode in separate_by_mode(node.text):\n282: if mode == Mode.TEXT:\n283: if mtext is None:\n284: mtext = SubElement(parent, tag, attributes)\n285: mtext.text = text.replace(\" \", \" \")\n286: _set_font(mtext, \"mtext\", font)\n287: mtext = None\n288: else:\n289: _row = SubElement(parent, \"mrow\")\n290: _convert_group(iter(walk(text)), _row)\n291: else:\n292: if command == commands.FBOX:\n293: element = SubElement(element, \"mtext\")\n294: element.text = node.text.replace(\" \", \" \")\n295: _set_font(element, \"mtext\", font)\n296: elif node.delimiter is not None and command not in (commands.FRAC, commands.GENFRAC):\n297: if node.delimiter != \".\":\n298: symbol = convert_symbol(node.delimiter)\n299: element.text = node.delimiter if symbol is None else \"&#x{};\".format(symbol)\n300: \n301: if node.children is not None:\n302: _parent = element\n303: if command in (commands.LEFT, commands.MOD, commands.PMOD):\n304: _parent = parent\n305: if command in commands.MATRICES:\n306: if command == commands.CASES:\n307: alignment = \"l\"\n308: _convert_matrix(iter(node.children), _parent, alignment=alignment)\n309: elif command == commands.CFRAC:\n310: for child in node.children:\n311: p = SubElement(_parent, \"mstyle\", displaystyle=\"false\", scriptlevel=\"0\")\n312: _convert_group(iter([child]), p, font)\n313: elif command == commands.SIDESET:\n314: Node(\n315: r\"\\style\",\n316: children=(Node(r\"\\mspace\", attributes={\"width\": \"-0.167em\"}),),\n317: attributes={\"scriptlevel\": \"0\"},\n318: ),\n319: left, right = node.children\n320: _convert_group(iter([left]), _parent, font)\n321: fill = SubElement(_parent, \"mstyle\", scriptlevel=\"0\")\n322: SubElement(fill, \"mspace\", width=\"-0.167em\")\n323: _convert_group(iter([right]), _parent, font)\n324: elif command == commands.SKEW:\n325: child = node.children[0]\n326: new_node = Node(\n327: token=child.token,\n328: children=(\n329: Node(\n330: token=commands.BRACES,\n331: children=(*child.children, Node(token=commands.MKERN, attributes=node.attributes)),\n332: ),\n[window truncated; visible lines 279-332]\nCandidate text preview (unexecuted):\n279: elif command == commands.HBOX:\n280: mtext: Optional[Element] = element\n281: for text, mode in separate_by_mode(node.text):\n282: if mode == Mode.TEXT:\n283: if mtext is None:\n284: mtext = SubElement(parent, tag, attributes)\n285: mtext.text = text.replace(\" \", \" \")\n286: _set_font(mtext, \"mtext\", font)\n287: mtext = None\n288: else:\n289: _row = SubElement(parent, \"mrow\")\n290: _convert_group(iter(walk(text)), _row)\n291: else:\n292: if command == commands.FBOX:\n293: element = SubElement(element, \"mtext\")\n294: element.text = node.text.replace(\" \", \" \")\n295: _set_font(element, \"mtext\", font)\n296: elif node.delimiter is not None and command not in (commands.FRAC, commands.GENFRAC):\n297: if node.delimiter != \".\":\n298: symbol = convert_symbol(node.delimiter)\n299: element.text = node.delimiter if symbol is None else \"&#x{};\".format(symbol)\n300: \n301: if node.children is not None:\n302: _parent = element\n303: if command in (commands.LEFT, commands.MOD, commands.PMOD):\n304: _parent = parent\n305: if command in commands.MATRICES:\n306: if command == commands.CASES:\n307: alignment = \"l\"\n308: elif command == commands.SPLIT:\n309: alignment = \"rl\"\n310: _convert_matrix(iter(node.children), _parent, alignment=alignment)\n311: elif command == commands.CFRAC:\n312: for child in node.children:\n313: p = SubElement(_parent, \"mstyle\", displaystyle=\"false\", scriptlevel=\"0\")\n314: _convert_group(iter([child]), p, font)\n315: elif command == commands.SIDESET:\n316: Node(\n317: r\"\\style\",\n318: children=(Node(r\"\\mspace\", attributes={\"width\": \"-0.167em\"}),),\n319: attributes={\"scriptlevel\": \"0\"},\n320: ),\n321: left, right = node.children\n322: _convert_group(iter([left]), _parent, font)\n323: fill = SubElement(_parent, \"mstyle\", scriptlevel=\"0\")\n324: SubElement(fill, \"mspace\", width=\"-0.167em\")\n325: _convert_group(iter([right]), _parent, font)\n326: elif command == commands.SKEW:\n327: child = node.children[0]\n328: new_node = Node(\n329: token=child.token,\n330: children=(\n331: Node(\n332: token=commands.BRACES,\n[window truncated; visible lines 279-332]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr316__yMjY8zL:19"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4156,"content_sha256":"adaa7eb2ba5c8d96522b42754a6c441c0924b0651a36fad0c34bc1da064eef9f","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"71fd40628ee4bea3731965684a7424aa3d3b6ad6ecc4f923560f2a706740ed1c","end_line":120,"note":"old_str matches=0; preview unavailable; showing first 120 lines","path":"latex2mathml/aggregator.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"00f4ccf669f9275dd67782c1a68be486a5c0308eac08843decd630f76c58d518","reference_window":{"end_line":120,"sha256":"2561f3ad366fd308743c977dad2e41867d3a3bd8d3e07de83856e37540f5142a","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr43__WV8o2Nw:17","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/aggregator.py, reference lines 1-120\nold_str matches=0; preview unavailable; showing first 120 lines\nReference-state content:\n1: #!/usr/bin/env python\n2: # __author__ = \"Ronie Martinez\"\n3: # __copyright__ = \"Copyright 2016-2019, Ronie Martinez\"\n4: # __credits__ = [\"Ronie Martinez\"]\n5: # __license__ = \"MIT\"\n6: # __maintainer__ = \"Ronie Martinez\"\n7: # __email__ = \"ronmarti18@gmail.com\"\n8: from latex2mathml.commands import MATRICES\n9: from latex2mathml.exceptions import EmptyGroupError, NumeratorNotFoundError, DenominatorNotFoundError\n10: from latex2mathml.tokenizer import tokenize\n11: \n12: \n13: def group(tokens, opening='{', closing='}'):\n14: g = []\n15: while True:\n16: token = next(tokens)\n17: if token == closing:\n18: if len(g):\n19: break\n20: else:\n21: raise EmptyGroupError\n22: elif token == opening:\n23: try:\n24: g.append(group(tokens))\n25: except EmptyGroupError:\n26: g += [opening, closing]\n27: else:\n28: g.append(token)\n29: return _aggregate(iter(g))\n30: \n31: \n32: def process_row(tokens):\n33: row = []\n34: content = []\n35: for token in tokens:\n36: if token == '&':\n37: pass\n38: elif token == '\\\\\\\\':\n39: if len(row):\n40: content.append(row)\n41: row = []\n42: else:\n43: row.append(token)\n44: if len(row):\n45: content.append(row)\n46: while len(content) == 1 and isinstance(content[0], list):\n47: content = content.pop()\n48: return content\n49: \n50: \n51: def environment(begin, tokens):\n52: if begin.startswith(r'\\begin'):\n53: env = begin[7:-1]\n54: else:\n55: env = begin[1:]\n56: alignment = None\n57: content = []\n58: row = []\n59: while True:\n60: try:\n61: token = next_item_or_group(tokens)\n62: if isinstance(token, list):\n63: if env == 'array' and all(x in 'lcr|' for x in token):\n64: alignment = token\n65: else:\n66: row.append(process_row(token))\n67: elif token == r'\\end{{{}}}'.format(env):\n68: break\n69: elif token == '&':\n70: pass\n71: elif token == '\\\\\\\\':\n72: content.append(row)\n73: row = []\n74: elif token == '[' and not len(content):\n75: try:\n76: alignment = group(tokens, '[', ']')\n77: except EmptyGroupError:\n78: pass\n79: elif token == '-':\n80: try:\n81: next_token = next(tokens)\n82: row.append([token, next_token])\n83: except StopIteration:\n84: row.append(token)\n85: elif token in '_^':\n86: process_sub_sup(row, token, tokens)\n87: else:\n88: row.append(token)\n89: except EmptyGroupError:\n90: row += ['{', '}']\n91: continue\n92: except StopIteration:\n93: break\n94: if len(row):\n95: content.append(row)\n96: while len(content) == 1 and isinstance(content[0], list):\n97: content = content.pop()\n98: if alignment:\n99: return r'\\{}'.format(env), ''.join(alignment), content\n100: else:\n101: return r'\\{}'.format(env), content\n102: \n103: \n104: def next_item_or_group(tokens):\n105: token = next(tokens)\n106: if token == '{':\n107: return group(tokens)\n108: return token\n109: \n110: \n111: def _aggregate(tokens):\n112: aggregated = []\n113: while True:\n114: try:\n115: token = next_item_or_group(tokens)\n116: if isinstance(token, list):\n117: aggregated.append(token)\n118: elif token == '[':\n119: try:\n120: g = group(tokens, '[', ']')\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr43__WV8o2Nw:17"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":81,"content_sha256":"ffa212be93ae8746c1d4a638bc89f6b598ab44b94baadc78acbeb8786b8c14d8","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[],"item_id":"roniemartinez_latex2mathml_pr47__teRroJq:15","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr47__teRroJq:15"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5121,"content_sha256":"05e6e188ce47851684c2d38ab84a620cd7d305facffa1c465b19a4cb2713d404","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"841f20d34e68c7b5220f535309375f7ecfadd6d67653651b149339c49ae64338","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"s/'&#x{};'.format(symbol)/_symbol_char(symbol)/g; s/mo.text = '¯'/mo.text = chr(0xAF)/; s/mo.text = '̲'/mo.text = chr(0x332)","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false},{"candidate_window":null,"content_sha256":"4372ece5aaea6602e8f9ca125db6b0ca5d7425f6fd2a0ce82a7028063a49d369","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"latex2mathml/converter.py","preview_unexecuted":false,"read_error":null,"reference_content_sha256":"bc16bf906aa6f8a692c074d8c5575b775e367fae0015df982cef506b26c5d5c8","reference_window":{"end_line":120,"sha256":"341df24cf173693df036ed41aa589c5ce7b37dfc9c7e4b01157d43733e7001cd","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr48__yj9SBth:18","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/s/'&#x{};'.format(symbol)/_symbol_char(symbol)/g; s/mo.text = '¯'/mo.text = chr(0xAF)/; s/mo.text = '̲'/mo.text = chr(0x332), reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E1 /testbed/latex2mathml/converter.py, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference-state content:\n1: #!/usr/bin/env python\n2: # __author__ = \"Ronie Martinez\"\n3: # __copyright__ = \"Copyright 2016-2019, Ronie Martinez\"\n4: # __credits__ = [\"Ronie Martinez\"]\n5: # __license__ = \"MIT\"\n6: # __maintainer__ = \"Ronie Martinez\"\n7: # __email__ = \"ronmarti18@gmail.com\"\n8: import re\n9: import xml.etree.cElementTree as eTree\n10: \n11: from latex2mathml.aggregator import aggregate\n12: from latex2mathml.commands import MATRICES, COMMANDS\n13: from latex2mathml.symbols_parser import convert_symbol\n14: \n15: \n16: def convert(latex):\n17: math = eTree.Element('math')\n18: row = eTree.SubElement(math, 'mrow')\n19: _classify_subgroup(aggregate(latex), row)\n20: return _convert(math)\n21: \n22: \n23: def _convert(tree):\n24: xml_string = eTree.tostring(tree)\n25: try:\n26: return xml_string\n27: except TypeError:\n28: return xml_string.decode('utf-8')\n29: \n30: \n31: def _convert_matrix_content(param, parent, alignment=None):\n32: for row in param:\n33: mtr = eTree.SubElement(parent, 'mtr')\n34: iterable = iter(range(len(row)))\n35: for i in iterable:\n36: element = row[i]\n37: if alignment:\n38: column_align = {'r': 'right', 'l': 'left', 'c': 'center'}.get(alignment)\n39: mtd = eTree.SubElement(mtr, 'mtd', columnalign=column_align)\n40: else:\n41: mtd = eTree.SubElement(mtr, 'mtd')\n42: if isinstance(element, list):\n43: _classify_subgroup(element, mtd)\n44: elif element in COMMANDS:\n45: _convert_command(element, row, i, iterable, mtd)\n46: else:\n47: _classify(element, mtd)\n48: \n49: \n50: def _convert_array_content(param, parent, alignment=None):\n51: if '|' in alignment:\n52: _alignment, column_lines = [], []\n53: for i in alignment:\n54: if i == '|':\n55: column_lines.append('solid')\n56: else:\n57: _alignment.append(i)\n58: if len(_alignment) - len(column_lines) == 2:\n59: column_lines.append('none')\n60: parent.attrib['columnlines'] = ' '.join(column_lines)\n61: else:\n62: _alignment = list(alignment)\n63: row_lines = []\n64: row_count = 0\n65: for row in param:\n66: row_count += 1\n67: mtr = eTree.SubElement(parent, 'mtr')\n68: iterable = iter(range(len(row)))\n69: index = 0\n70: has_row_line = False\n71: for i in iterable:\n72: element = row[i]\n73: if element == r'\\hline' and row_count > 1:\n74: row_lines.append('solid')\n75: has_row_line = True\n76: continue\n77: try:\n78: align = _alignment[index]\n79: except IndexError:\n80: align = None\n81: if align:\n82: # noinspection PyTypeChecker\n83: column_align = {'r': 'right', 'l': 'left', 'c': 'center'}.get(align)\n84: mtd = eTree.SubElement(mtr, 'mtd', columnalign=column_align)\n85: else:\n86: mtd = eTree.SubElement(mtr, 'mtd')\n87: if isinstance(element, list):\n88: _classify_subgroup(element, mtd)\n89: elif element in COMMANDS:\n90: _convert_command(element, row, i, iterable, mtd)\n91: else:\n92: _classify(element, mtd)\n93: index += 1\n94: if not has_row_line and row_count > 1:\n95: row_lines.append('none')\n96: if 'solid' in row_lines:\n97: parent.set('rowlines', ' '.join(row_lines))\n98: \n99: \n100: def _classify_subgroup(elements, row):\n101: iterable = iter(range(len(elements)))\n102: for i in iterable:\n103: element = elements[i]\n104: if isinstance(element, list):\n105: _row = eTree.SubElement(row, 'mrow')\n106: _classify_subgroup(element, _row)\n107: elif element in COMMANDS:\n108: _convert_command(element, elements, i, iterable, row)\n109: else:\n110: _classify(element, row)\n111: \n112: \n113: def _convert_command(element, elements, index, iterable, parent):\n114: _get_prefix_element(element, parent)\n115: params, tag, attributes = COMMANDS[element]\n116: new_parent = eTree.SubElement(parent, tag, **attributes)\n117: alignment = None\n118: if element in MATRICES and (element.endswith('*') or element == r'\\array'):\n119: index += 1\n120: alignment = elements[index]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr48__yj9SBth:18"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":513,"content_sha256":"cbeade9d8774be9a06f90e40906945b437013cbaa727934aff900411daa67d50","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":null,"content_sha256":"42eadd93d4d2d2960338e771866024b061dd63f35fddd10f98e74be51c48ed7f","end_line":120,"note":"first 120 reference-state lines; target action not executed","path":"\nimport urllib.request\nurl='https:/raw.githubusercontent.com/roniemartinez/latex2mathml/master/latex2mathml/commands.py'\ndata=urllib.request.urlopen(url, timeout=15).read().decode()\nopen('/tmp/upstream_commands.py','w').write(data)\nprint('done', len(data))\n","preview_unexecuted":false,"read_error":"file does not exist","reference_content_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","reference_window":{"end_line":0,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","start_line":1,"truncated":false},"start_line":1,"truncated":false}],"item_id":"roniemartinez_latex2mathml_pr529__DAHeYEv:31","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/\nimport urllib.request\nurl='https:/raw.githubusercontent.com/roniemartinez/latex2mathml/master/latex2mathml/commands.py'\ndata=urllib.request.urlopen(url, timeout=15).read().decode()\nopen('/tmp/upstream_commands.py','w').write(data)\nprint('done', len(data))\n, reference lines 1-120\nfirst 120 reference-state lines; target action not executed\nReference read unavailable: file does not exist\nReference-state content:\n\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr529__DAHeYEv:31"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5907,"content_sha256":"35a88c675bd5cf7e591bd10484dcf405f520c901c8b1e10a76785fcb27af0d0c","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":86,"sha256":"5cf2bbbe1b0f8a84c8e8af334cef6f9648d75021c8a2a2201569009701a44cc2","start_line":1,"truncated":true},"content_sha256":"d0a268ec37a093b676d301d91542aabb4f641f987b411649d556842ec0ce94f4","end_line":101,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/aggregator.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"2788b139d1f213356b3133cf698d0705306e495d34bc32212bc6ae518bd200e4","reference_window":{"end_line":87,"sha256":"8bdd19fb9d4be2e8d45f768a21ca6b901e026bf4887c2e0a265ada8d8679e5fd","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr65__AD4kDbF:31","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/aggregator.py, reference lines 1-101\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: #!/usr/bin/env python\n2: # __author__ = \"Ronie Martinez\"\n3: # __copyright__ = \"Copyright 2016-2020, Ronie Martinez\"\n4: # __credits__ = [\"Ronie Martinez\"]\n5: # __maintainer__ = \"Ronie Martinez\"\n6: # __email__ = \"ronmarti18@gmail.com\"\n7: from itertools import tee\n8: \n9: from latex2mathml.commands import MATRICES\n10: from latex2mathml.exceptions import EmptyGroupError, NumeratorNotFoundError, DenominatorNotFoundError\n11: from latex2mathml.tokenizer import tokenize\n12: \n13: \n14: def group(tokens, opening='{', closing='}', delimiter=None):\n15: g = []\n16: if delimiter:\n17: g.append(delimiter)\n18: g.append(next(tokens))\n19: while True:\n20: token = next(tokens)\n21: if token == closing:\n22: if len(g):\n23: break\n24: raise EmptyGroupError\n25: elif token == opening:\n26: try:\n27: g.append(group(tokens))\n28: except EmptyGroupError:\n29: g += [opening, closing]\n30: elif token == r'\\right':\n31: g.append(token)\n32: g.append(next(tokens))\n33: try:\n34: t, _ = tee(tokens)\n35: if next(t) == '{':\n36: g.append(group(t))\n37: except StopIteration:\n38: pass\n39: break\n40: else:\n41: g.append(token)\n42: if delimiter:\n43: content = g[2:-2]\n44: if len(content):\n45: return [g[0], g[1], _aggregate(iter(content)), g[-2], g[-1]]\n46: return g\n47: return _aggregate(iter(g))\n48: \n49: \n50: def process_row(tokens):\n51: row = []\n52: content = []\n53: for token in tokens:\n54: if token == '&':\n55: pass\n56: elif token == r'\\\\':\n57: if len(row):\n58: content.append(row)\n59: row = []\n60: else:\n61: row.append(token)\n62: if len(row):\n63: content.append(row)\n64: while len(content) == 1 and isinstance(content[0], list):\n65: content = content.pop()\n66: return content\n67: \n68: \n69: def environment(begin, tokens):\n70: if begin.startswith(r'\\begin'):\n71: env = begin[7:-1]\n72: else:\n73: env = begin[1:]\n74: alignment = None\n75: content = []\n76: row = []\n77: has_rowline = False\n78: while True:\n79: try:\n80: token = next_item_or_group(tokens)\n81: if isinstance(token, list):\n82: if env == 'array' and all(x in 'lcr|' for x in token):\n83: alignment = token\n84: else:\n85: row.append(process_row(token))\n86: elif token == r'\\end{{{}}}'.format(env):\n87: break\n[window truncated; visible lines 1-87]\nCandidate text preview (unexecuted):\n1: #!/usr/bin/env python\n2: # __author__ = \"Ronie Martinez\"\n3: # __copyright__ = \"Copyright 2016-2020, Ronie Martinez\"\n4: # __credits__ = [\"Ronie Martinez\"]\n5: # __maintainer__ = \"Ronie Martinez\"\n6: # __email__ = \"ronmarti18@gmail.com\"\n7: from itertools import tee\n8: \n9: from latex2mathml.commands import MATRICES\n10: from latex2mathml.exceptions import EmptyGroupError, NumeratorNotFoundError, DenominatorNotFoundError\n11: from latex2mathml.tokenizer import tokenize\n12: \n13: \n14: def group(tokens, opening='{', closing='}', delimiter=None):\n15: g = []\n16: if delimiter:\n17: g.append(delimiter)\n18: g.append(next(tokens))\n19: while True:\n20: token = next(tokens)\n21: if token == closing:\n22: if len(g):\n23: break\n24: raise EmptyGroupError\n25: elif token == opening:\n26: try:\n27: g.append(group(tokens))\n28: except EmptyGroupError:\n29: g += [opening, closing]\n30: elif token == r'\\left':\n31: g.append(group(tokens, delimiter=token))\n32: elif token == r'\\right':\n33: g.append(token)\n34: try:\n35: g.append(next(tokens))\n36: except StopIteration:\n37: pass\n38: break\n39: else:\n40: g.append(token)\n41: if delimiter:\n42: content = g[2:-2]\n43: if len(content):\n44: return [g[0], g[1], _aggregate(iter(content)), g[-2], g[-1]]\n45: return g\n46: return _aggregate(iter(g))\n47: \n48: \n49: def process_row(tokens):\n50: row = []\n51: content = []\n52: for token in tokens:\n53: if token == '&':\n54: pass\n55: elif token == r'\\\\':\n56: if len(row):\n57: content.append(row)\n58: row = []\n59: else:\n60: row.append(token)\n61: if len(row):\n62: content.append(row)\n63: while len(content) == 1 and isinstance(content[0], list):\n64: content = content.pop()\n65: return content\n66: \n67: \n68: def environment(begin, tokens):\n69: if begin.startswith(r'\\begin'):\n70: env = begin[7:-1]\n71: else:\n72: env = begin[1:]\n73: alignment = None\n74: content = []\n75: row = []\n76: has_rowline = False\n77: while True:\n78: try:\n79: token = next_item_or_group(tokens)\n80: if isinstance(token, list):\n81: if env == 'array' and all(x in 'lcr|' for x in token):\n82: alignment = token\n83: else:\n84: row.append(process_row(token))\n85: elif token == r'\\end{{{}}}'.format(env):\n86: break\n[window truncated; visible lines 1-86]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr65__AD4kDbF:31"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5932,"content_sha256":"a5404ecd54c9760626b8c3491a2a3c0f99aeb5ffa42419abdf58c3e8eb8ef0b9","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":290,"sha256":"3044960764d8f1d9aa258640cef693b3d12c13b81c1f5723a6c189a6e776be28","start_line":220,"truncated":true},"content_sha256":"ea463b991965fab03e891c9a4e08b48772604d28968d40dd39348a42a2d22221","end_line":320,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"latex2mathml/converter.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"fc2fde88534032ab552e6c20701c72a652717bd7e854a1807f7300a23ca53408","reference_window":{"end_line":290,"sha256":"d5e9ef9853a5ae4dc706601c33acd9c456f2667e8daa314b19c0bb4b35af49be","start_line":220,"truncated":true},"start_line":195,"truncated":true}],"item_id":"roniemartinez_latex2mathml_pr93__fd2JACY:11","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/latex2mathml/converter.py, reference lines 195-320\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n220: elif element == r\"\\bmatrix\":\n221: _convert_and_append_operator(r\"\\lbrack\", row)\n222: elif element == r\"\\Bmatrix\":\n223: _convert_and_append_operator(r\"\\lbrace\", row)\n224: elif element == r\"\\vmatrix\":\n225: _convert_and_append_operator(r\"\\vert\", row)\n226: elif element == r\"\\Vmatrix\":\n227: _convert_and_append_operator(r\"\\Vert\", row)\n228: \n229: \n230: def _classify(_element: str, parent: Element, is_math_mode: bool = False) -> None:\n231: symbol = convert_symbol(_element)\n232: if re.match(r\"\\d+(.\\d+)?\", _element):\n233: mn = SubElement(parent, \"mn\")\n234: mn.text = _element\n235: elif len(_element) and _element in \"<>&\":\n236: mo = SubElement(parent, \"mo\")\n237: mo.text = {\"<\": \"<\", \">\": \">\", \"&\": \"&\"}[_element]\n238: elif len(_element) and _element in \"+-*/()=\":\n239: mo = SubElement(parent, \"mo\")\n240: mo.text = _element if symbol is None else \"&#x{};\".format(symbol)\n241: if _element in \"()\":\n242: mo.attrib[\"stretchy\"] = \"false\"\n243: elif (\n244: symbol\n245: and (\n246: int(symbol, 16) in range(int(\"2200\", 16), int(\"22FF\", 16) + 1)\n247: or int(symbol, 16) in range(int(\"2190\", 16), int(\"21FF\", 16) + 1)\n248: )\n249: or symbol == \".\"\n250: ):\n251: mo = SubElement(parent, \"mo\")\n252: mo.text = \"&#x{};\".format(symbol)\n253: elif _element.startswith(\"\\\\\"):\n254: tag = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n255: if symbol:\n256: tag.text = \"&#x{};\".format(symbol)\n257: elif _element in (r\"\\log\", r\"\\ln\"):\n258: tag.text = _element[1:]\n259: else:\n260: tag.text = _element\n261: else:\n262: tag = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n263: tag.text = _element\n264: \n265: \n266: def main() -> None: # pragma: no cover\n267: import argparse\n268: \n269: parser = argparse.ArgumentParser(\n270: description=\"Pure Python library for LaTeX to MathML conversion\"\n271: )\n272: parser.add_argument(\n273: \"-V\",\n274: \"--version\",\n275: dest=\"version\",\n276: action=\"store_true\",\n277: required=False,\n278: help=\"Show version\",\n279: )\n280: required = parser.add_argument_group(\"required arguments\")\n281: group = required.add_mutually_exclusive_group(required=False)\n282: group.add_argument(\n283: \"-t\", \"--text\", dest=\"text\", type=str, required=False, help=\"Text\",\n284: )\n285: group.add_argument(\n286: \"-f\", \"--file\", dest=\"file\", type=str, required=False, help=\"File\",\n287: )\n288: arguments = parser.parse_args()\n289: \n290: if arguments.version:\n[window truncated; visible lines 220-290]\nCandidate text preview (unexecuted):\n220: elif element == r\"\\bmatrix\":\n221: _convert_and_append_operator(r\"\\lbrack\", row)\n222: elif element == r\"\\Bmatrix\":\n223: _convert_and_append_operator(r\"\\lbrace\", row)\n224: elif element == r\"\\vmatrix\":\n225: _convert_and_append_operator(r\"\\vert\", row)\n226: elif element == r\"\\Vmatrix\":\n227: _convert_and_append_operator(r\"\\Vert\", row)\n228: \n229: \n230: def _classify(_element: str, parent: Element, is_math_mode: bool = False) -> None:\n231: symbol = convert_symbol(_element)\n232: if re.match(r\"\\d+(.\\d+)?\", _element):\n233: mn = SubElement(parent, \"mn\")\n234: mn.text = _element\n235: elif len(_element) and _element in \"<>&\":\n236: mo = SubElement(parent, \"mo\")\n237: mo.text = {\"<\": \"<\", \">\": \">\", \"&\": \"&\"}[_element]\n238: elif len(_element) and _element in \"+-*/()=\":\n239: mo = SubElement(parent, \"mo\")\n240: mo.text = _element if symbol is None else \"&#x{};\".format(symbol)\n241: if _element in \"()\":\n242: mo.attrib[\"stretchy\"] = \"false\"\n243: elif (\n244: symbol\n245: and (\n246: int(symbol, 16) in range(int(\"2200\", 16), int(\"22FF\", 16) + 1)\n247: or int(symbol, 16) in range(int(\"2190\", 16), int(\"21FF\", 16) + 1)\n248: )\n249: or symbol == \".\"\n250: ):\n251: mo = SubElement(parent, \"mo\")\n252: mo.text = \"&#x{};\".format(symbol)\n253: elif _element.startswith(\"\\\\\"):\n254: tag = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n255: if symbol:\n256: tag.text = \"&#x{};\".format(symbol)\n257: elif _element in FUNCTIONS:\n258: tag.text = _element[1:]\n259: else:\n260: tag.text = _element\n261: else:\n262: tag = SubElement(parent, \"mo\" if is_math_mode else \"mi\")\n263: tag.text = _element\n264: \n265: \n266: def main() -> None: # pragma: no cover\n267: import argparse\n268: \n269: parser = argparse.ArgumentParser(\n270: description=\"Pure Python library for LaTeX to MathML conversion\"\n271: )\n272: parser.add_argument(\n273: \"-V\",\n274: \"--version\",\n275: dest=\"version\",\n276: action=\"store_true\",\n277: required=False,\n278: help=\"Show version\",\n279: )\n280: required = parser.add_argument_group(\"required arguments\")\n281: group = required.add_mutually_exclusive_group(required=False)\n282: group.add_argument(\n283: \"-t\", \"--text\", dest=\"text\", type=str, required=False, help=\"Text\",\n284: )\n285: group.add_argument(\n286: \"-f\", \"--file\", dest=\"file\", type=str, required=False, help=\"File\",\n287: )\n288: arguments = parser.parse_args()\n289: \n290: if arguments.version:\n[window truncated; visible lines 220-290]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"roniemartinez_latex2mathml_pr93__fd2JACY:11"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5850,"content_sha256":"191c3aa442f5407d7ee6c3c604bdc7d97dcf9bb4dc309f1bd240fde2d2fdc014","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":201,"sha256":"186498d57d91146e884657dc96ad361c433f2b67916d691ea964bc9fc5d2e605","start_line":118,"truncated":true},"content_sha256":"328ac016f527bf46ff3b332f34e2125e40b98f02691388b98c70be8cc0da9852","end_line":221,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/constructLayoutEngine.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"95de3caeaeada0faeb3af5e38414940c499ce0b0550f15da5aa4bdb37e0a885b","reference_window":{"end_line":201,"sha256":"8169365d969a9e28971eb92b893430c79bd9e66d925fb814555ec8df8c5bc662","start_line":118,"truncated":true},"start_line":99,"truncated":true}],"item_id":"single-spa__single-spa-layout-24__zqaewv4:25","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/constructLayoutEngine.js, reference lines 99-221\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n118: * parentContainer: HTMLElement,\n119: * previousSibling?: HTMLElement,\n120: * shouldMount: boolean;\n121: * pendingRemovals: Array;\n122: * }} DomChangeInput\n123: *\n124: * We do all of this in a single recursive pass for performance, even though\n125: * it makes the code a bit messier\n126: *\n127: * @param {DomChangeInput} input\n128: * @returns {HTMLElement}\n129: */\n130: function recurseRoutes({\n131: path,\n132: pathMatch,\n133: routes,\n134: parentContainer,\n135: previousSibling,\n136: shouldMount,\n137: pendingRemovals,\n138: }) {\n139: routes.forEach((route, index) => {\n140: if (route.type === \"application\") {\n141: const htmlId = applicationElementId(route.name);\n142: let applicationElement = document.getElementById(htmlId);\n143: \n144: if (shouldMount) {\n145: if (!applicationElement) {\n146: applicationElement = document.createElement(\"div\");\n147: applicationElement.id = htmlId;\n148: }\n149: insertNode(applicationElement, parentContainer, previousSibling);\n150: previousSibling = applicationElement;\n151: }\n152: } else if (route.type === \"route\") {\n153: const childPathMatch = resolvePath(pathMatch, route.path);\n154: previousSibling = recurseRoutes({\n155: path,\n156: pathMatch: childPathMatch,\n157: routes: route.routes,\n158: parentContainer,\n159: previousSibling,\n160: shouldMount: shouldMount && path.startsWith(childPathMatch),\n161: pendingRemovals,\n162: });\n163: } else if (route instanceof Node) {\n164: if (shouldMount) {\n165: if (!route.connectedNode) {\n166: const newNode = route.cloneNode(false);\n167: insertNode(newNode, parentContainer, previousSibling);\n168: route.connectedNode = newNode;\n169: }\n170: \n171: if (route.routes) {\n172: recurseRoutes({\n173: path,\n174: pathMatch,\n175: routes: route.routes,\n176: parentContainer: route.connectedNode,\n177: previousSibling: null,\n178: shouldMount,\n179: pendingRemovals,\n180: });\n181: }\n182: \n183: previousSibling = route.connectedNode;\n184: } else {\n185: // we should remove this dom element at the next single-spa:routing-event\n186: pendingRemovals.push(() => {\n187: removeNode(route.connectedNode);\n188: delete route.connectedNode;\n189: });\n190: }\n191: }\n192: });\n193: \n194: return previousSibling;\n195: }\n196: \n197: /**\n198: *\n199: * @param {Node} node\n200: * @param {Node} container\n201: * @param {Node=} previousSibling\n[window truncated; visible lines 118-201]\nCandidate text preview (unexecuted):\n118: * parentContainer: HTMLElement,\n119: * previousSibling?: HTMLElement,\n120: * shouldMount: boolean;\n121: * pendingRemovals: Array;\n122: * }} DomChangeInput\n123: *\n124: * We do all of this in a single recursive pass for performance, even though\n125: * it makes the code a bit messier\n126: *\n127: * @param {DomChangeInput} input\n128: * @returns {HTMLElement}\n129: */\n130: function recurseRoutes({\n131: path,\n132: pathMatch,\n133: routes,\n134: parentContainer,\n135: previousSibling,\n136: shouldMount,\n137: pendingRemovals,\n138: }) {\n139: routes.forEach((route, index) => {\n140: if (route.type === \"application\") {\n141: const htmlId = applicationElementId(route.name);\n142: let applicationElement = document.getElementById(htmlId);\n143: \n144: if (shouldMount) {\n145: if (!applicationElement) {\n146: applicationElement = document.createElement(\"div\");\n147: applicationElement.id = htmlId;\n148: }\n149: insertNode(applicationElement, parentContainer, previousSibling);\n150: previousSibling = applicationElement;\n151: }\n152: } else if (route.type === \"route\") {\n153: const childPathMatch = resolvePath(pathMatch, route.path);\n154: previousSibling = recurseRoutes({\n155: path,\n156: pathMatch: childPathMatch,\n157: routes: route.routes,\n158: parentContainer,\n159: previousSibling,\n160: shouldMount: shouldMount && pathMatches(childPathMatch, path),\n161: pendingRemovals,\n162: });\n163: } else if (route instanceof Node) {\n164: if (shouldMount) {\n165: if (!route.connectedNode) {\n166: const newNode = route.cloneNode(false);\n167: insertNode(newNode, parentContainer, previousSibling);\n168: route.connectedNode = newNode;\n169: }\n170: \n171: if (route.routes) {\n172: recurseRoutes({\n173: path,\n174: pathMatch,\n175: routes: route.routes,\n176: parentContainer: route.connectedNode,\n177: previousSibling: null,\n178: shouldMount,\n179: pendingRemovals,\n180: });\n181: }\n182: \n183: previousSibling = route.connectedNode;\n184: } else {\n185: // we should remove this dom element at the next single-spa:routing-event\n186: pendingRemovals.push(() => {\n187: removeNode(route.connectedNode);\n188: delete route.connectedNode;\n189: });\n190: }\n191: }\n192: });\n193: \n194: return previousSibling;\n195: }\n196: \n197: /**\n198: *\n199: * @param {Node} node\n200: * @param {Node} container\n201: * @param {Node=} previousSibling\n[window truncated; visible lines 118-201]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"single-spa__single-spa-layout-24__zqaewv4:25"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5006,"content_sha256":"a23f5dc199d0564e61004e12ab96ce1eb0cd3e2a1a66da8667f7058b78c4f971","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":171,"sha256":"b5722946c5f02d850bc1868d3977515cb40f76ea7743da90a0c8829380713410","start_line":109,"truncated":false},"content_sha256":"fdc7b56fd8407f1b3eaa95d5af2a3526c368247011b38a1d8699d6c31dfa4285","end_line":245,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"src/browser/constructApplications.js","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"d3cb38deba030b4f8f756b3b33fa78f25de0feeab7988f25ee57933e2a99641f","reference_window":{"end_line":185,"sha256":"297a708153dc64e9ca15774bd4f8b699129afc1366dcf92737128a72051c68b0","start_line":109,"truncated":false},"start_line":109,"truncated":false}],"item_id":"single-spa__single-spa-layout-70__Dz2FEyK:26","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/src/browser/constructApplications.js, reference lines 109-245\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n109: \n110: function topLevelActiveWhen() {\n111: // All applications not under routes are active\n112: return true;\n113: }\n114: \n115: let applicationEl;\n116: \n117: function placeLoader(appName, appRoute, loadingPromise) {\n118: return Promise.resolve().then(() => {\n119: // We need the application container element to place the loader into\n120: const htmlId = applicationElementId(appName);\n121: let applicationElement = document.getElementById(htmlId);\n122: let makeElementVisible;\n123: \n124: if (!applicationElement) {\n125: applicationElement = document.createElement(\"div\");\n126: applicationElement.id = htmlId;\n127: // Wait for layout engine to place this dom element in correct location\n128: // before it's visible\n129: applicationElement.style.display = \"none\";\n130: \n131: document.body.appendChild(applicationElement);\n132: \n133: makeElementVisible = () => {\n134: applicationElement.style.removeProperty(\"display\");\n135: if (applicationElement.getAttribute(\"style\") === \"\") {\n136: applicationElement.removeAttribute(\"style\");\n137: }\n138: \n139: window.removeEventListener(\n140: \"single-spa:before-mount-routing-event\",\n141: makeElementVisible\n142: );\n143: };\n144: window.addEventListener(\n145: \"single-spa:before-mount-routing-event\",\n146: makeElementVisible\n147: );\n148: }\n149: \n150: const parcelConfig =\n151: typeof appRoute.loader === \"string\"\n152: ? htmlToParcelConfig(appRoute.loader)\n153: : appRoute.loader;\n154: const parcel = mountRootParcel(parcelConfig, {\n155: name: `application-loader:${appName}`,\n156: domElement: applicationElement,\n157: });\n158: \n159: applicationEl = applicationElement;\n160: \n161: return Promise.all([parcel.mountPromise, loadingPromise]).then(\n162: ([mountResult, app]) =>\n163: parcel.unmount().then(() => {\n164: if (makeElementVisible) {\n165: makeElementVisible();\n166: }\n167: return app;\n168: })\n169: );\n170: });\n171: }\n172: \n173: function htmlToParcelConfig(str) {\n174: return {\n175: bootstrap: () => Promise.resolve(),\n176: mount: (props) =>\n177: Promise.resolve().then(() => {\n178: props.domElement.innerHTML = str;\n179: }),\n180: unmount: (props) =>\n181: Promise.resolve().then(() => {\n182: props.domElement.innerHTML = \"\";\n183: }),\n184: };\n185: }\nCandidate text preview (unexecuted):\n109: \n110: function topLevelActiveWhen() {\n111: // All applications not under routes are active\n112: return true;\n113: }\n114: \n115: let applicationEl;\n116: \n117: function placeLoader(appName, appRoute, loadingPromise) {\n118: return Promise.resolve().then(() => {\n119: // We need the application container element to place the loader into\n120: const htmlId = applicationElementId(appName);\n121: let applicationElement = document.getElementById(htmlId);\n122: let makeElementVisible;\n123: \n124: if (!applicationElement) {\n125: applicationElement = document.createElement(\"div\");\n126: applicationElement.id = htmlId;\n127: // Wait for layout engine to place this dom element in correct location\n128: // before it's visible\n129: applicationElement.style.display = \"none\";\n130: \n131: document.body.appendChild(applicationElement);\n132: \n133: makeElementVisible = () => {\n134: applicationElement.style.removeProperty(\"display\");\n135: if (applicationElement.getAttribute(\"style\") === \"\") {\n136: applicationElement.removeAttribute(\"style\");\n137: }\n138: \n139: window.removeEventListener(\n140: \"single-spa:before-mount-routing-event\",\n141: makeElementVisible\n142: );\n143: };\n144: window.addEventListener(\n145: \"single-spa:before-mount-routing-event\",\n146: makeElementVisible\n147: );\n148: }\n149: \n150: const parcelConfig =\n151: typeof appRoute.loader === \"string\"\n152: ? htmlToParcelConfig(appRoute.loader)\n153: : appRoute.loader;\n154: const parcel = mountRootParcel(parcelConfig, {\n155: name: `application-loader:${appName}`,\n156: domElement: applicationElement,\n157: });\n158: \n159: applicationEl = applicationElement;\n160: \n161: return Promise.all([parcel.mountPromise, loadingPromise]).then(\n162: ([mountResult, app]) =>\n163: parcel.unmount().then(() => {\n164: if (makeElementVisible) {\n165: makeElementVisible();\n166: }\n167: return app;\n168: })\n169: );\n170: });\n171: }\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"single-spa__single-spa-layout-70__Dz2FEyK:26"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5864,"content_sha256":"2e97a01339bc91ecb531000e6e34019a999ef117c393e268dcd226d016d0f8a3","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":56,"sha256":"72325c47da2c5accf30b48be8f02d347007f709431aafebfbe64a95c7ba53124","start_line":1,"truncated":true},"content_sha256":"4db58afede3956caf78790746ee8e853d751b3ecdf9874d4ec8f61565223bedb","end_line":89,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"config/storage/resource-store/regex.json","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"7aa7af17e10642311f4877814a57acb77f1542a3a1e0351726f3403ea2708e3c","reference_window":{"end_line":59,"sha256":"84f50f90052555516e9501eb966d98017111efeb731d74bcc614e5a8f20a5f60","start_line":1,"truncated":true},"start_line":1,"truncated":true}],"item_id":"solid__community-server-806__raavgXe:46","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/config/storage/resource-store/regex.json, reference lines 1-89\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n1: {\n2: \"@context\": \"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld\",\n3: \"import\": [\n4: \"files-scs:config/storage/resource-store/data-accessors/file.json\",\n5: \"files-scs:config/storage/resource-store/data-accessors/memory.json\",\n6: \"files-scs:config/storage/resource-store/data-accessors/sparql-endpoint.json\",\n7: \"files-scs:config/storage/resource-store/stores/converting.json\",\n8: \"files-scs:config/storage/resource-store/stores/locking.json\",\n9: \"files-scs:config/storage/resource-store/stores/patching.json\",\n10: \"files-scs:config/storage/resource-store/stores/routing.json\"\n11: ],\n12: \"@graph\": [\n13: {\n14: \"comment\": \"A more complex example with 3 different stores being routed to.\",\n15: \"@id\": \"urn:solid-server:default:ResourceStore\",\n16: \"@type\": \"MonitoringStore\",\n17: \"MonitoringStore:_source\": {\n18: \"@id\": \"urn:solid-server:default:ResourceStore_Locking\",\n19: \"LockingResourceStore:_source\": {\n20: \"@id\": \"urn:solid-server:default:ResourceStore_Patching\",\n21: \"PatchingStore:_source\": {\n22: \"@id\": \"urn:solid-server:default:ResourceStore_Converting\",\n23: \"RepresentationConvertingStore:_source\": {\n24: \"@id\": \"urn:solid-server:default:ResourceStore_Routing\"\n25: }\n26: }\n27: }\n28: }\n29: },\n30: \n31: {\n32: \"comment\": [\n33: \"Configure routing to send all requests containing /file/ to the file store, containing /memory/ to the memory store and /sparql/ to the sparql endpoint store.\",\n34: \"The root .acl file will be stored in the sparql endpoint store.\"\n35: ],\n36: \"@id\": \"urn:solid-server:default:RouterRule\",\n37: \"@type\": \"RegexRouterRule\",\n38: \"base\": { \"@id\": \"urn:solid-server:default:variable:baseUrl\" },\n39: \"storeMap\": [\n40: {\n41: \"RegexRouterRule:_storeMap_key\": \"^/(\\\\.acl)?$\",\n42: \"RegexRouterRule:_storeMap_value\": { \"@id\": \"urn:solid-server:default:SparqlResourceStore\" }\n43: },\n44: {\n45: \"RegexRouterRule:_storeMap_key\": \"/file/\",\n46: \"RegexRouterRule:_storeMap_value\": { \"@id\": \"urn:solid-server:default:FileResourceStore\" }\n47: },\n48: {\n49: \"RegexRouterRule:_storeMap_key\": \"/memory/\",\n50: \"RegexRouterRule:_storeMap_value\": { \"@id\": \"urn:solid-server:default:MemoryResourceStore\" }\n51: },\n52: {\n53: \"RegexRouterRule:_storeMap_key\": \"/sparql/\",\n54: \"RegexRouterRule:_storeMap_value\": { \"@id\": \"urn:solid-server:default:SparqlResourceStore\" }\n55: }\n56: ]\n57: },\n58: \n59: {\n[window truncated; visible lines 1-59]\nCandidate text preview (unexecuted):\n1: {\n2: \"@context\": \"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld\",\n3: \"import\": [\n4: \"files-scs:config/storage/resource-store/data-accessors/file.json\",\n5: \"files-scs:config/storage/resource-store/data-accessors/memory.json\",\n6: \"files-scs:config/storage/resource-store/data-accessors/sparql-endpoint.json\",\n7: \"files-scs:config/storage/resource-store/stores/converting.json\",\n8: \"files-scs:config/storage/resource-store/stores/locking.json\",\n9: \"files-scs:config/storage/resource-store/stores/patching.json\",\n10: \"files-scs:config/storage/resource-store/stores/routing.json\"\n11: ],\n12: \"@graph\": [\n13: {\n14: \"comment\": \"A more complex example with 3 different stores being routed to.\",\n15: \"@id\": \"urn:solid-server:default:ResourceStore\",\n16: \"@type\": \"MonitoringStore\",\n17: \"MonitoringStore:_source\": {\n18: \"@id\": \"urn:solid-server:default:ResourceStore_Index\",\n19: \"IndexRepresentationStore:_source\": {\n20: \"@id\": \"urn:solid-server:default:ResourceStore_Locking\",\n21: \"LockingResourceStore:_source\": {\n22: \"@id\": \"urn:solid-server:default:ResourceStore_Patching\",\n23: \"PatchingStore:_source\": {\n24: \"@id\": \"urn:solid-server:default:ResourceStore_Converting\",\n25: \"RepresentationConvertingStore:_source\": {\n26: \"@id\": \"urn:solid-server:default:ResourceStore_Routing\"\n27: }\n28: }\n29: }\n30: }\n31: }\n32: },\n33: \n34: {\n35: \"comment\": [\n36: \"Configure routing to send all requests containing /file/ to the file store, containing /memory/ to the memory store and /sparql/ to the sparql endpoint store.\",\n37: \"The root .acl file will be stored in the sparql endpoint store.\"\n38: ],\n39: \"@id\": \"urn:solid-server:default:RouterRule\",\n40: \"@type\": \"RegexRouterRule\",\n41: \"base\": { \"@id\": \"urn:solid-server:default:variable:baseUrl\" },\n42: \"storeMap\": [\n43: {\n44: \"RegexRouterRule:_storeMap_key\": \"^/(\\\\.acl)?$\",\n45: \"RegexRouterRule:_storeMap_value\": { \"@id\": \"urn:solid-server:default:SparqlResourceStore\" }\n46: },\n47: {\n48: \"RegexRouterRule:_storeMap_key\": \"/file/\",\n49: \"RegexRouterRule:_storeMap_value\": { \"@id\": \"urn:solid-server:default:FileResourceStore\" }\n50: },\n51: {\n52: \"RegexRouterRule:_storeMap_key\": \"/memory/\",\n53: \"RegexRouterRule:_storeMap_value\": { \"@id\": \"urn:solid-server:default:MemoryResourceStore\" }\n54: },\n55: {\n56: \"RegexRouterRule:_storeMap_key\": \"/sparql/\",\n[window truncated; visible lines 1-56]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"solid__community-server-806__raavgXe:46"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":5939,"content_sha256":"ecfd9eecf0e73ec8e442f9b454f5a4fffbc89f6a5ace8572f482ce4c436b74c2","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":276,"sha256":"8c441dc1ec91a20c3a1a2f85eacaa85e6720b334265f84d536e141a56eb83141","start_line":208,"truncated":true},"content_sha256":"53db2960a0958076900fb67dfb7bb6fc4ee6e83dfdcc4c824d3ebc7f4ac5f4fd","end_line":306,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"rich/syntax.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"e75081774ee2711e705d59a6bf027f2f08e98f88e432891c9cca31e6d47c7995","reference_window":{"end_line":276,"sha256":"c260edde26c80d07aa459e510b5906562d993c3410b791fec0fb785926e0be5c","start_line":208,"truncated":true},"start_line":182,"truncated":true}],"item_id":"textualize__rich-2247__nAgmvVd:18","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/rich/syntax.py, reference lines 182-306\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n208: tab_size (int, optional): Size of tabs. Defaults to 4.\n209: word_wrap (bool, optional): Enable word wrapping.\n210: background_color (str, optional): Optional background color, or None to use theme color. Defaults to None.\n211: indent_guides (bool, optional): Show indent guides. Defaults to False.\n212: \"\"\"\n213: \n214: _pygments_style_class: Type[PygmentsStyle]\n215: _theme: SyntaxTheme\n216: \n217: @classmethod\n218: def get_theme(cls, name: Union[str, SyntaxTheme]) -> SyntaxTheme:\n219: \"\"\"Get a syntax theme instance.\"\"\"\n220: if isinstance(name, SyntaxTheme):\n221: return name\n222: theme: SyntaxTheme\n223: if name in RICH_SYNTAX_THEMES:\n224: theme = ANSISyntaxTheme(RICH_SYNTAX_THEMES[name])\n225: else:\n226: theme = PygmentsSyntaxTheme(name)\n227: return theme\n228: \n229: def __init__(\n230: self,\n231: code: str,\n232: lexer: Union[Lexer, str],\n233: *,\n234: theme: Union[str, SyntaxTheme] = DEFAULT_THEME,\n235: dedent: bool = False,\n236: line_numbers: bool = False,\n237: start_line: int = 1,\n238: line_range: Optional[Tuple[Optional[int], Optional[int]]] = None,\n239: highlight_lines: Optional[Set[int]] = None,\n240: code_width: Optional[int] = None,\n241: tab_size: int = 4,\n242: word_wrap: bool = False,\n243: background_color: Optional[str] = None,\n244: indent_guides: bool = False,\n245: ) -> None:\n246: self.code = code\n247: self._lexer = lexer\n248: self.dedent = dedent\n249: self.line_numbers = line_numbers\n250: self.start_line = start_line\n251: self.line_range = line_range\n252: self.highlight_lines = highlight_lines or set()\n253: self.code_width = code_width\n254: self.tab_size = tab_size\n255: self.word_wrap = word_wrap\n256: self.background_color = background_color\n257: self.background_style = (\n258: Style(bgcolor=background_color) if background_color else Style()\n259: )\n260: self.indent_guides = indent_guides\n261: \n262: self._theme = self.get_theme(theme)\n263: \n264: @classmethod\n265: def from_path(\n266: cls,\n267: path: str,\n268: encoding: str = \"utf-8\",\n269: lexer: Optional[Union[Lexer, str]] = None,\n270: theme: Union[str, SyntaxTheme] = DEFAULT_THEME,\n271: dedent: bool = False,\n272: line_numbers: bool = False,\n273: line_range: Optional[Tuple[int, int]] = None,\n274: start_line: int = 1,\n275: highlight_lines: Optional[Set[int]] = None,\n276: code_width: Optional[int] = None,\n[window truncated; visible lines 208-276]\nCandidate text preview (unexecuted):\n208: tab_size (int, optional): Size of tabs. Defaults to 4.\n209: word_wrap (bool, optional): Enable word wrapping.\n210: background_color (str, optional): Optional background color, or None to use theme color. Defaults to None.\n211: indent_guides (bool, optional): Show indent guides. Defaults to False.\n212: \"\"\"\n213: \n214: _pygments_style_class: Type[PygmentsStyle]\n215: _theme: SyntaxTheme\n216: \n217: @classmethod\n218: def get_theme(cls, name: Union[str, SyntaxTheme]) -> SyntaxTheme:\n219: \"\"\"Get a syntax theme instance.\"\"\"\n220: if isinstance(name, SyntaxTheme):\n221: return name\n222: theme: SyntaxTheme\n223: if name in RICH_SYNTAX_THEMES:\n224: theme = ANSISyntaxTheme(RICH_SYNTAX_THEMES[name])\n225: else:\n226: theme = PygmentsSyntaxTheme(name)\n227: return theme\n228: \n229: def __init__(\n230: self,\n231: code: str,\n232: lexer: Union[Lexer, str],\n233: *,\n234: theme: Union[str, SyntaxTheme] = DEFAULT_THEME,\n235: dedent: bool = False,\n236: line_numbers: bool = False,\n237: start_line: int = 1,\n238: line_range: Optional[Tuple[Optional[int], Optional[int]]] = None,\n239: highlight_lines: Optional[Set[int]] = None,\n240: code_width: Optional[int] = None,\n241: tab_size: int = 4,\n242: word_wrap: bool = False,\n243: background_color: Optional[str] = None,\n244: indent_guides: bool = False,\n245: padding: PaddingDimensions = 0,\n246: ) -> None:\n247: self.code = code\n248: self._lexer = lexer\n249: self.dedent = dedent\n250: self.line_numbers = line_numbers\n251: self.start_line = start_line\n252: self.line_range = line_range\n253: self.highlight_lines = highlight_lines or set()\n254: self.code_width = code_width\n255: self.tab_size = tab_size\n256: self.word_wrap = word_wrap\n257: self.background_color = background_color\n258: self.background_style = (\n259: Style(bgcolor=background_color) if background_color else Style()\n260: )\n261: self.indent_guides = indent_guides\n262: \n263: self._theme = self.get_theme(theme)\n264: \n265: @classmethod\n266: def from_path(\n267: cls,\n268: path: str,\n269: encoding: str = \"utf-8\",\n270: lexer: Optional[Union[Lexer, str]] = None,\n271: theme: Union[str, SyntaxTheme] = DEFAULT_THEME,\n272: dedent: bool = False,\n273: line_numbers: bool = False,\n274: line_range: Optional[Tuple[int, int]] = None,\n275: start_line: int = 1,\n276: highlight_lines: Optional[Set[int]] = None,\n[window truncated; visible lines 208-276]\n\n### E2 reference-state git diff relative to task base_commit\n"},"item_id":"textualize__rich-2247__nAgmvVd:18"} +{"evidence":{"manifest":{"candidate_action_executed":false,"chars":4104,"content_sha256":"6ca65a1f0faee68fa955f996bb510d476797380ce6b583e22abfbf2cbd46062a","context_mode":"initial_state_with_trajectory","diff_error":null,"diff_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","diff_truncated":false,"diff_visible_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","files":[{"candidate_window":{"end_line":542,"sha256":"d828fb7b2401ab14db2f0cbd20b49e1b0176ae229291c303705a3ed88091e012","start_line":520,"truncated":true},"content_sha256":"df2567ad3bd2023134ed2b616b607b1c0f3a2448f91bbd2f68a3126debe66b5d","end_line":591,"note":"unique literal old_str match; preview is text-only simulation, NOT execution","path":"tests/test_console.py","preview_unexecuted":true,"read_error":null,"reference_content_sha256":"17187e1ac0f3c5818b0168145d2ea56438465310973899089fb49ab857b4924a","reference_window":{"end_line":542,"sha256":"2c5a10faf47660f535075728a591b0a465fb6de78d35a353ae23670f3c2b3469","start_line":520,"truncated":true},"start_line":471,"truncated":true}],"item_id":"textualize__rich-2642__LPUWknB:16","reference_state":"initial_s0","schema_version":"oneshot_v3_e1_e2_20260907_v2","target_labels_read":false,"teacher_reads_used":false,"truncated":false},"text":"### E1 /testbed/tests/test_console.py, reference lines 471-591\nunique literal old_str match; preview is text-only simulation, NOT execution\nReference-state content:\n520: console = Console(record=True, width=100)\n521: console.print(\"[b]foo\")\n522: text = console.export_text()\n523: expected = \"foo\\n\"\n524: assert text == expected\n525: \n526: \n527: def test_export_html():\n528: console = Console(record=True, width=100)\n529: console.print(\"[b]foo