Download deepswe_si25/axis_data/etree-xml-diff-patch/specification_levels.json from stanjsx/InfoFlow-SWE: direct link, hf CLI and curl.
- Browser
- Download file 69.8 kB
-
https://huggingface.co/datasets/stanjsx/InfoFlow-SWE/resolve/main/deepswe_si25/axis_data/etree-xml-diff-patch/specification_levels.json
- Command line
-
hf download hf://datasets/stanjsx/InfoFlow-SWE/deepswe_si25/axis_data/etree-xml-diff-patch/specification_levels.json
-
curl -L -o specification_levels.json https://huggingface.co/datasets/stanjsx/InfoFlow-SWE/resolve/main/deepswe_si25/axis_data/etree-xml-diff-patch/specification_levels.json
69.8 kB
| { | |
| "atom_ledger_sha256": "9318527a0244e09a7feee1f3304ca7be498eb52c0a1b92310be975a67225a6e7", | |
| "benchmark": "deepswe", | |
| "levels": { | |
| "S0": { | |
| "atom_selection_sha256": "9610a7fb547d297ec34dc242d1482676fa9aa2aa357b89276a6d6472aaf5890c", | |
| "content_sha256": "a7322ac0994faf5dd2ba7e0d09b728d5ba3c3a4a5b833f1043554b7eadf78768", | |
| "content_text": "Inspect and edit the provided repository in /app.", | |
| "instruction_sha256": "0d3402cdf7abb4cd6156d39d1cfcc2bfd186f0332b8c080820af799d06d7eefb", | |
| "instruction_text": "Inspect and edit the provided repository in /app.\n\nIMPORTANT: Please work on this in a new branch from main and commit everything when you are done.\n", | |
| "renderer": { | |
| "mode": "deterministic", | |
| "template_sha256": null | |
| }, | |
| "selected_atom_ids": [ | |
| "a00" | |
| ], | |
| "withheld_atom_ids": [ | |
| "a_00df0b5718cab1cd", | |
| "a_023496b3f26928b9", | |
| "a_070abedabd4960e4", | |
| "a_09b47f82a5e28ee6", | |
| "a_0c6337abfadb2fe2", | |
| "a_0ed71364842703cb", | |
| "a_140836830553ce07", | |
| "a_1542a6f1cb8ae020", | |
| "a_1e46f07abbb14f77", | |
| "a_21021d69929ba82b", | |
| "a_219410dbe75772f2", | |
| "a_2e15d9c93e6c85f6", | |
| "a_2f5ad626afaee006", | |
| "a_3064304b7ca6d82b", | |
| "a_3dd67b35ad8c627b", | |
| "a_3f6c940678cec248", | |
| "a_4017658548441195", | |
| "a_40e047e53c35200e", | |
| "a_49ed463f225bb86b", | |
| "a_4b342b1210beeed3", | |
| "a_4cecff3af1eaa7d3", | |
| "a_4d860c655eba91fa", | |
| "a_4fb57e9d30147276", | |
| "a_51725cf51622d2e8", | |
| "a_545ab01f55954bb0", | |
| "a_553d4b4332cfe5d8", | |
| "a_55cc5014fe765ddb", | |
| "a_5b6b20cad0d909ca", | |
| "a_5bb7e97779c5e478", | |
| "a_5e0b5717b474c727", | |
| "a_5e11b9d6b22809d9", | |
| "a_5eab041e6990973a", | |
| "a_5f9e1e09c9fe169c", | |
| "a_5ffc2844bbd61528", | |
| "a_610db6c6dde992f2", | |
| "a_667e9057ed9cb64c", | |
| "a_672a1952d93a7119", | |
| "a_6a63e8d72d5ef6b1", | |
| "a_6babaf517a0c2693", | |
| "a_6cf6d6580a0d3b84", | |
| "a_6ed3f688ed939de9", | |
| "a_713606933ef53a3f", | |
| "a_7221c2563cedd3fe", | |
| "a_74400e85060fe4bc", | |
| "a_7a026e582a235313", | |
| "a_7a9413b249a672f7", | |
| "a_7ac84b9a634e7eda", | |
| "a_7bcf8c2eae7fb1d9", | |
| "a_7c0637ccc5a2ceee", | |
| "a_7ead254d7cca8d9c", | |
| "a_82780aa9885f9039", | |
| "a_8291a4b654dc5455", | |
| "a_8406e59579c38900", | |
| "a_91c67d3b9b09ed46", | |
| "a_91d89c20bc2d36fb", | |
| "a_9499b64034518075", | |
| "a_949c61ab15b40969", | |
| "a_96340afb7c771698", | |
| "a_994fa16ae4f29634", | |
| "a_9d775a165f43ae37", | |
| "a_9e858e8a7c60905e", | |
| "a_a2ad1a46a20e636e", | |
| "a_a4a2c39c7201940f", | |
| "a_a702cb8197dbd78f", | |
| "a_a709866151f6ebe1", | |
| "a_a7ff5b04d0a65f94", | |
| "a_b63417582b31bb20", | |
| "a_b9148ec63f5c3512", | |
| "a_ba962f13a2c5f72c", | |
| "a_baa5be80b0b520c7", | |
| "a_c51ab0d22b68e0f5", | |
| "a_c56804e03d840772", | |
| "a_c7424699a6b26406", | |
| "a_c841d2a6b00712eb", | |
| "a_c8a1122372447088", | |
| "a_d245753caa7e1eb1", | |
| "a_d2e14db5bb04267e", | |
| "a_d624a1b7368a61b5", | |
| "a_de1d205bdf665ae7", | |
| "a_e172af64af6c964f", | |
| "a_e3bcfa14947c9341", | |
| "a_e514065700daf8d3", | |
| "a_e58a87696e883b93", | |
| "a_e6fe0c1349a0ba86", | |
| "a_eb74ea7cf4dbd90f", | |
| "a_ed4a33af0b5c3014", | |
| "a_f1a7e9192de18561", | |
| "a_f1b8bcfc17f2df13", | |
| "a_f1e2a1015afc3148", | |
| "a_f40bf38638c7cce7", | |
| "a_f464aa745c891818", | |
| "a_f5e2b796aead287f", | |
| "a_f8156cb02d2b0684", | |
| "a_f86a1ec5fdcce64e", | |
| "a_f8e0a3e4b3648161", | |
| "a_f9c04f61515b6828", | |
| "a_fecf71879fcdd7d7" | |
| ] | |
| }, | |
| "S1": { | |
| "atom_selection_sha256": "85326e3dcb107d0ebddbc7721cdf49c90254ac881a23acb99d9e4156b2ac20a9", | |
| "content_sha256": "62318a84185c3a855c8f64b079ea6833d46903a2c636f927670c9c0b03453f01", | |
| "content_text": "Inspect and edit the provided repository in /app.\n\nAdd XML diffing and patching capabilities to etree.", | |
| "instruction_sha256": "6b30d51760c9c31712aebb50a21da72f5999be305b4e3d9bc99ed0d510329348", | |
| "instruction_text": "Inspect and edit the provided repository in /app.\n\nAdd XML diffing and patching capabilities to etree.\n\nIMPORTANT: Please work on this in a new branch from main and commit everything when you are done.\n", | |
| "renderer": { | |
| "model": "gpt-5.6-luna", | |
| "reasoning_effort": "max", | |
| "template_sha256": "a9a945297cda17d9129a783203aeecd78abdd6c22fa8b0f347dcb740f2582825" | |
| }, | |
| "selected_atom_ids": [ | |
| "a00", | |
| "a_de1d205bdf665ae7" | |
| ], | |
| "withheld_atom_ids": [ | |
| "a_00df0b5718cab1cd", | |
| "a_023496b3f26928b9", | |
| "a_070abedabd4960e4", | |
| "a_09b47f82a5e28ee6", | |
| "a_0c6337abfadb2fe2", | |
| "a_0ed71364842703cb", | |
| "a_140836830553ce07", | |
| "a_1542a6f1cb8ae020", | |
| "a_1e46f07abbb14f77", | |
| "a_21021d69929ba82b", | |
| "a_219410dbe75772f2", | |
| "a_2e15d9c93e6c85f6", | |
| "a_2f5ad626afaee006", | |
| "a_3064304b7ca6d82b", | |
| "a_3dd67b35ad8c627b", | |
| "a_3f6c940678cec248", | |
| "a_4017658548441195", | |
| "a_40e047e53c35200e", | |
| "a_49ed463f225bb86b", | |
| "a_4b342b1210beeed3", | |
| "a_4cecff3af1eaa7d3", | |
| "a_4d860c655eba91fa", | |
| "a_4fb57e9d30147276", | |
| "a_51725cf51622d2e8", | |
| "a_545ab01f55954bb0", | |
| "a_553d4b4332cfe5d8", | |
| "a_55cc5014fe765ddb", | |
| "a_5b6b20cad0d909ca", | |
| "a_5bb7e97779c5e478", | |
| "a_5e0b5717b474c727", | |
| "a_5e11b9d6b22809d9", | |
| "a_5eab041e6990973a", | |
| "a_5f9e1e09c9fe169c", | |
| "a_5ffc2844bbd61528", | |
| "a_610db6c6dde992f2", | |
| "a_667e9057ed9cb64c", | |
| "a_672a1952d93a7119", | |
| "a_6a63e8d72d5ef6b1", | |
| "a_6babaf517a0c2693", | |
| "a_6cf6d6580a0d3b84", | |
| "a_6ed3f688ed939de9", | |
| "a_713606933ef53a3f", | |
| "a_7221c2563cedd3fe", | |
| "a_74400e85060fe4bc", | |
| "a_7a026e582a235313", | |
| "a_7a9413b249a672f7", | |
| "a_7ac84b9a634e7eda", | |
| "a_7bcf8c2eae7fb1d9", | |
| "a_7c0637ccc5a2ceee", | |
| "a_7ead254d7cca8d9c", | |
| "a_82780aa9885f9039", | |
| "a_8291a4b654dc5455", | |
| "a_8406e59579c38900", | |
| "a_91c67d3b9b09ed46", | |
| "a_91d89c20bc2d36fb", | |
| "a_9499b64034518075", | |
| "a_949c61ab15b40969", | |
| "a_96340afb7c771698", | |
| "a_994fa16ae4f29634", | |
| "a_9d775a165f43ae37", | |
| "a_9e858e8a7c60905e", | |
| "a_a2ad1a46a20e636e", | |
| "a_a4a2c39c7201940f", | |
| "a_a702cb8197dbd78f", | |
| "a_a709866151f6ebe1", | |
| "a_a7ff5b04d0a65f94", | |
| "a_b63417582b31bb20", | |
| "a_b9148ec63f5c3512", | |
| "a_ba962f13a2c5f72c", | |
| "a_baa5be80b0b520c7", | |
| "a_c51ab0d22b68e0f5", | |
| "a_c56804e03d840772", | |
| "a_c7424699a6b26406", | |
| "a_c841d2a6b00712eb", | |
| "a_c8a1122372447088", | |
| "a_d245753caa7e1eb1", | |
| "a_d2e14db5bb04267e", | |
| "a_d624a1b7368a61b5", | |
| "a_e172af64af6c964f", | |
| "a_e3bcfa14947c9341", | |
| "a_e514065700daf8d3", | |
| "a_e58a87696e883b93", | |
| "a_e6fe0c1349a0ba86", | |
| "a_eb74ea7cf4dbd90f", | |
| "a_ed4a33af0b5c3014", | |
| "a_f1a7e9192de18561", | |
| "a_f1b8bcfc17f2df13", | |
| "a_f1e2a1015afc3148", | |
| "a_f40bf38638c7cce7", | |
| "a_f464aa745c891818", | |
| "a_f5e2b796aead287f", | |
| "a_f8156cb02d2b0684", | |
| "a_f86a1ec5fdcce64e", | |
| "a_f8e0a3e4b3648161", | |
| "a_f9c04f61515b6828", | |
| "a_fecf71879fcdd7d7" | |
| ] | |
| }, | |
| "S2": { | |
| "atom_selection_sha256": "7074b9c4cade4e6ccd3ed88894f9fcd986c83c9151fdd9f2931168a9e2d0786d", | |
| "content_sha256": "c8358d18f0a183f68bea90108498be0691d19961cb9eee629d41fbf9f44cded6", | |
| "content_text": "Inspect and edit the provided repository in /app.\n\n- Add XML diffing and patching capabilities to etree.\n- The `(*Element).DeepEqual(other *Element) bool` method must be nil-receiver safe.\n- The `(*Element).DeepEqual(other *Element) bool` method must be added.\n- The `(*Element).DeepEqual(other *Element) bool` method treats two nil elements as equal.\n- The `(*Element).DeepEqual(other *Element) bool` method performs recursive structural comparison of tag, namespace, attributes, text, and children.\n- The `(*Element).DeepEqual(other *Element) bool` method treats nil versus non-nil elements as not equal.\n- A standalone function `ElementsDeepEqual(a, b *Element) bool` must be added.\n\n- `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)` returns an error when any `Document` is nil.\n- `ApplyPatch(doc, patch *Document) error` returns an error when any `Document` is nil.\n- `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)` returns an error when any `Document` is nil.\n- Implement `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)`.\n- For `OpAdd`, `DiffOperation.Path` stores the parent element path.\n- Implement `GeneratePatch([]DiffOperation) *Document`.\n- In `GeneratePatch`, children in `<add>` elements are appended.\n- The `GeneratePatch` output contains `<add>`, `<remove>`, and `<replace>`.\n- `GeneratePatch` produces `<diff xmlns=\"urn:ietf:params:xml:ns:patch-ops\">`.\n- In `GeneratePatch`, `/text()` is appended to `sel` for text.\n- `GeneratePatch` uses `sel` XPath with positional predicates for child indices.\n- In `GeneratePatch`, `OpUpdateAttr` with nil `OldValue` (new attribute) produces `<add sel=\"path\" type=\"attribute\" name=\"attrname\">value</add>`.\n- In `GeneratePatch`, `OpUpdateText` maps to `<replace>` with `/text()` on `sel`.\n- In `GeneratePatch`, `OpUpdateAttr` with non-nil `OldValue` (existing attribute) produces `<replace>` with `/@attrname` on `sel`.\n- Implement `ApplyPatch(doc, patch *Document) error`.\n- Implement `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)`.\n\n- In `ReversePatch`, a nil `patch` argument produces an error.\n- In `ReversePatch`, `<remove>` becomes `<add>`, except for text removals whose `sel` ends in `/text()`.\n- In `ReversePatch`, `<replace>` stays `<replace>`.\n- In `ReversePatch`, `<add>` becomes `<remove>`.\n- Implement `ReversePatch(patch *Document) (*Document, error)`.\n- In `ReversePatch`, the order of patch operations is reversed.\n- In `ReversePatch`, an attribute add of the form `<add sel=\"path\" type=\"attribute\" name=\"attr\">` is inverted to `<remove sel=\"path/@attr\"/>`.\n- In `ReversePatch`, text removals with `sel` ending `/text()` become `<replace>`.\n\n- The `DiffSummary` type must provide an `Additions()` method.\n- The `DiffSummary` type must provide a `Removals()` method.\n- The `DiffSummary` type's `Modifications()` method covers `OpUpdateText+OpUpdateAttr+OpReplace`.\n- The `DiffSummary` type must provide a `Total()` method.\n- The `DiffSummary` type must provide a `Moves()` method.\n- The `DiffSummary` type must provide a `HasChanges() bool` method.\n- Implement the `DiffSummary` type.\n- The `DiffSummary` type's `String()` method uses the format \"%d additions, %d removals, %d modifications, %d moves\".\n- Implement `NewDiffSummary(ops []DiffOperation) *DiffSummary` for the `DiffSummary` type.\n\n- The `Document` struct must be extended with a `Metadata map[string]string` field.\n- `Merge3Way` must populate the returned document's Metadata with `\"merge.base\"`, `\"merge.ours\"`, and `\"merge.theirs\"` keys set to the root element tag of each input.\n- `Document` must provide the convenience method `(*Document).Patch(patch)`.\n- `Document` must provide the convenience method `(*Document).Merge3Way(ours, theirs, opts)`.\n- `Document` must provide the convenience method `(*Document).Diff(other, opts)`.\n\n- `DiffOperation` has fields `Type` of type `OpType`, `Path`, `OldPath`, `NewPath`, `AttrName` of type `string`, `OldValue`, and `NewValue` of type `interface{}`.\n- `OpUpdateText` values are strings.\n- `OpUpdateAttr` values are attribute value strings.\n- `OpAdd.NewValue` holds a `*Element` to append.\n- `OpType` is an enum with members `OpAdd`, `OpRemove`, `OpReplace`, `OpMove`, `OpUpdateAttr`, and `OpUpdateText`.\n- `OpType.String()` returns the lowercase strings \"add\", \"remove\", \"replace\", \"move\", \"update-attr\", and \"update-text\".\n- The `DiffOperation.String()` representation for `OpMove` includes both paths.\n- `DiffOperation.String()` includes the type in uppercase.\n- The `DiffOperation.String()` representation for `OpUpdateAttr` includes the attribute name.\n- `DiffOperation.String()` includes the path.\n\n- The diff operation `OpMove` is only applicable when a `DiffOptions` configuration has `IgnoreOrder=false`, uses its `IdentityMode` value `IdentityKeyAttribute`, and position changes.\n- `DefaultDiffOptions()` specifies nil keys.\n- The matching key for `DiffOptions`'s `IdentityKeyAttribute` mode must not include an element tag.\n- `DiffOptions` declares `KeyAttributes` with type `map[string]string`.\n- `DefaultDiffOptions()` sets `IgnoreOrder=false`.\n- `DiffOptions`'s `IdentityMode` can be `IdentityPosition`, `IdentityKeyAttribute`, or `IdentityContentHash`.\n- `DiffOptions`'s `IdentityMode` value `IdentityKeyAttribute` matches elements by key attribute value only.\n- `DiffOptions` declares `IgnoreWhitespace` with type `bool`.\n- `DiffOptions` declares `IgnoreAttrs` with type `[]string`.\n- `DefaultDiffOptions()` defaults the `DiffOptions` identity mode to `IdentityPosition`.\n- Under `DiffOptions`'s `IdentityKeyAttribute` mode, the pairing of elements with different tags but the same key value produces `OpReplace`.\n- `DefaultDiffOptions()` sets `IgnoreWhitespace=true`.\n- `DiffOptions`'s `IdentityMode` value `IdentityContentHash` uses hash-based identity.\n- `DiffOptions`'s `IdentityMode` value `IdentityPosition` uses index-based identity.\n- `DiffOptions` declares `IgnoreOrder` with type `bool`.\n\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolution` to `OursValue`/`TheirsValue`/`customValue`.\n- `MergeConflict` has a `TheirsValue` member of type `interface{}`.\n- `MergeConflict` has a `Path` member of type `string`.\n- `MergeConflict` has a `BaseValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolved` member of type `bool`.\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolved` to `true`.\n- `MergeConflict` has a `Type` member of type `ConflictType`.\n- `MergeConflict` has an `OursValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolution` member of type `interface{}`.\n- `MergeConflict` defines `Resolve(resolution Resolution, customValue interface{})`.\n\n- The `ConflictType` declaration lists `ConflictBothModified`, `ConflictModifyDelete`, and `ConflictStructural`.\n- The `ConflictType` value `ConflictStructural` is not for text/attr.\n- The `ConflictType` value `ConflictBothModified` applies to the same path and the same op types.\n- The `ConflictType` value `ConflictModifyDelete` covers a text/attr modification versus a removal.\n- The `ConflictType` value `ConflictStructural` covers one side removing an element while the other adds or removes children under it.\n- The `ConflictType` value `ConflictStructural` is used when one operation is a removal and the other is a structural add/remove.\n- `ConflictType.String()` returns the values \"both-modified\", \"modify-delete\", and \"structural\".\n- The `Resolution` declaration lists `ResolutionOurs`, `ResolutionTheirs`, and `ResolutionCustom`.\n\n- `MergeOptions` has an `AutoResolve` member of type `bool`.\n- `MergeOptions.AutoResolve` returns with `Resolved=true`.\n- `DefaultMergeOptions()` sets `MergeOptions.DefaultResolution` to `ResolutionOurs`.\n- `MergeOptions` has a `DefaultResolution` member of type `Resolution`.\n- `MergeOptions.AutoResolve` applies the winning side's changes to the merged document.\n- `DefaultMergeOptions()` sets `MergeOptions.AutoResolve` to `false`.\n- `MergeOptions.AutoResolve` resolves conflicts using `MergeOptions.DefaultResolution`.", | |
| "instruction_sha256": "4db2633eb2f7eecd4bb32769a54a46e9b1efd95c4c6fd9ac49934fbc93ab01ba", | |
| "instruction_text": "Inspect and edit the provided repository in /app.\n\n- Add XML diffing and patching capabilities to etree.\n- The `(*Element).DeepEqual(other *Element) bool` method must be nil-receiver safe.\n- The `(*Element).DeepEqual(other *Element) bool` method must be added.\n- The `(*Element).DeepEqual(other *Element) bool` method treats two nil elements as equal.\n- The `(*Element).DeepEqual(other *Element) bool` method performs recursive structural comparison of tag, namespace, attributes, text, and children.\n- The `(*Element).DeepEqual(other *Element) bool` method treats nil versus non-nil elements as not equal.\n- A standalone function `ElementsDeepEqual(a, b *Element) bool` must be added.\n\n- `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)` returns an error when any `Document` is nil.\n- `ApplyPatch(doc, patch *Document) error` returns an error when any `Document` is nil.\n- `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)` returns an error when any `Document` is nil.\n- Implement `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)`.\n- For `OpAdd`, `DiffOperation.Path` stores the parent element path.\n- Implement `GeneratePatch([]DiffOperation) *Document`.\n- In `GeneratePatch`, children in `<add>` elements are appended.\n- The `GeneratePatch` output contains `<add>`, `<remove>`, and `<replace>`.\n- `GeneratePatch` produces `<diff xmlns=\"urn:ietf:params:xml:ns:patch-ops\">`.\n- In `GeneratePatch`, `/text()` is appended to `sel` for text.\n- `GeneratePatch` uses `sel` XPath with positional predicates for child indices.\n- In `GeneratePatch`, `OpUpdateAttr` with nil `OldValue` (new attribute) produces `<add sel=\"path\" type=\"attribute\" name=\"attrname\">value</add>`.\n- In `GeneratePatch`, `OpUpdateText` maps to `<replace>` with `/text()` on `sel`.\n- In `GeneratePatch`, `OpUpdateAttr` with non-nil `OldValue` (existing attribute) produces `<replace>` with `/@attrname` on `sel`.\n- Implement `ApplyPatch(doc, patch *Document) error`.\n- Implement `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)`.\n\n- In `ReversePatch`, a nil `patch` argument produces an error.\n- In `ReversePatch`, `<remove>` becomes `<add>`, except for text removals whose `sel` ends in `/text()`.\n- In `ReversePatch`, `<replace>` stays `<replace>`.\n- In `ReversePatch`, `<add>` becomes `<remove>`.\n- Implement `ReversePatch(patch *Document) (*Document, error)`.\n- In `ReversePatch`, the order of patch operations is reversed.\n- In `ReversePatch`, an attribute add of the form `<add sel=\"path\" type=\"attribute\" name=\"attr\">` is inverted to `<remove sel=\"path/@attr\"/>`.\n- In `ReversePatch`, text removals with `sel` ending `/text()` become `<replace>`.\n\n- The `DiffSummary` type must provide an `Additions()` method.\n- The `DiffSummary` type must provide a `Removals()` method.\n- The `DiffSummary` type's `Modifications()` method covers `OpUpdateText+OpUpdateAttr+OpReplace`.\n- The `DiffSummary` type must provide a `Total()` method.\n- The `DiffSummary` type must provide a `Moves()` method.\n- The `DiffSummary` type must provide a `HasChanges() bool` method.\n- Implement the `DiffSummary` type.\n- The `DiffSummary` type's `String()` method uses the format \"%d additions, %d removals, %d modifications, %d moves\".\n- Implement `NewDiffSummary(ops []DiffOperation) *DiffSummary` for the `DiffSummary` type.\n\n- The `Document` struct must be extended with a `Metadata map[string]string` field.\n- `Merge3Way` must populate the returned document's Metadata with `\"merge.base\"`, `\"merge.ours\"`, and `\"merge.theirs\"` keys set to the root element tag of each input.\n- `Document` must provide the convenience method `(*Document).Patch(patch)`.\n- `Document` must provide the convenience method `(*Document).Merge3Way(ours, theirs, opts)`.\n- `Document` must provide the convenience method `(*Document).Diff(other, opts)`.\n\n- `DiffOperation` has fields `Type` of type `OpType`, `Path`, `OldPath`, `NewPath`, `AttrName` of type `string`, `OldValue`, and `NewValue` of type `interface{}`.\n- `OpUpdateText` values are strings.\n- `OpUpdateAttr` values are attribute value strings.\n- `OpAdd.NewValue` holds a `*Element` to append.\n- `OpType` is an enum with members `OpAdd`, `OpRemove`, `OpReplace`, `OpMove`, `OpUpdateAttr`, and `OpUpdateText`.\n- `OpType.String()` returns the lowercase strings \"add\", \"remove\", \"replace\", \"move\", \"update-attr\", and \"update-text\".\n- The `DiffOperation.String()` representation for `OpMove` includes both paths.\n- `DiffOperation.String()` includes the type in uppercase.\n- The `DiffOperation.String()` representation for `OpUpdateAttr` includes the attribute name.\n- `DiffOperation.String()` includes the path.\n\n- The diff operation `OpMove` is only applicable when a `DiffOptions` configuration has `IgnoreOrder=false`, uses its `IdentityMode` value `IdentityKeyAttribute`, and position changes.\n- `DefaultDiffOptions()` specifies nil keys.\n- The matching key for `DiffOptions`'s `IdentityKeyAttribute` mode must not include an element tag.\n- `DiffOptions` declares `KeyAttributes` with type `map[string]string`.\n- `DefaultDiffOptions()` sets `IgnoreOrder=false`.\n- `DiffOptions`'s `IdentityMode` can be `IdentityPosition`, `IdentityKeyAttribute`, or `IdentityContentHash`.\n- `DiffOptions`'s `IdentityMode` value `IdentityKeyAttribute` matches elements by key attribute value only.\n- `DiffOptions` declares `IgnoreWhitespace` with type `bool`.\n- `DiffOptions` declares `IgnoreAttrs` with type `[]string`.\n- `DefaultDiffOptions()` defaults the `DiffOptions` identity mode to `IdentityPosition`.\n- Under `DiffOptions`'s `IdentityKeyAttribute` mode, the pairing of elements with different tags but the same key value produces `OpReplace`.\n- `DefaultDiffOptions()` sets `IgnoreWhitespace=true`.\n- `DiffOptions`'s `IdentityMode` value `IdentityContentHash` uses hash-based identity.\n- `DiffOptions`'s `IdentityMode` value `IdentityPosition` uses index-based identity.\n- `DiffOptions` declares `IgnoreOrder` with type `bool`.\n\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolution` to `OursValue`/`TheirsValue`/`customValue`.\n- `MergeConflict` has a `TheirsValue` member of type `interface{}`.\n- `MergeConflict` has a `Path` member of type `string`.\n- `MergeConflict` has a `BaseValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolved` member of type `bool`.\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolved` to `true`.\n- `MergeConflict` has a `Type` member of type `ConflictType`.\n- `MergeConflict` has an `OursValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolution` member of type `interface{}`.\n- `MergeConflict` defines `Resolve(resolution Resolution, customValue interface{})`.\n\n- The `ConflictType` declaration lists `ConflictBothModified`, `ConflictModifyDelete`, and `ConflictStructural`.\n- The `ConflictType` value `ConflictStructural` is not for text/attr.\n- The `ConflictType` value `ConflictBothModified` applies to the same path and the same op types.\n- The `ConflictType` value `ConflictModifyDelete` covers a text/attr modification versus a removal.\n- The `ConflictType` value `ConflictStructural` covers one side removing an element while the other adds or removes children under it.\n- The `ConflictType` value `ConflictStructural` is used when one operation is a removal and the other is a structural add/remove.\n- `ConflictType.String()` returns the values \"both-modified\", \"modify-delete\", and \"structural\".\n- The `Resolution` declaration lists `ResolutionOurs`, `ResolutionTheirs`, and `ResolutionCustom`.\n\n- `MergeOptions` has an `AutoResolve` member of type `bool`.\n- `MergeOptions.AutoResolve` returns with `Resolved=true`.\n- `DefaultMergeOptions()` sets `MergeOptions.DefaultResolution` to `ResolutionOurs`.\n- `MergeOptions` has a `DefaultResolution` member of type `Resolution`.\n- `MergeOptions.AutoResolve` applies the winning side's changes to the merged document.\n- `DefaultMergeOptions()` sets `MergeOptions.AutoResolve` to `false`.\n- `MergeOptions.AutoResolve` resolves conflicts using `MergeOptions.DefaultResolution`.\n\nIMPORTANT: Please work on this in a new branch from main and commit everything when you are done.\n", | |
| "renderer": { | |
| "model": "gpt-5.6-luna", | |
| "reasoning_effort": "max", | |
| "template_sha256": "a9a945297cda17d9129a783203aeecd78abdd6c22fa8b0f347dcb740f2582825" | |
| }, | |
| "selected_atom_ids": [ | |
| "a00", | |
| "a_de1d205bdf665ae7", | |
| "a_3064304b7ca6d82b", | |
| "a_610db6c6dde992f2", | |
| "a_6cf6d6580a0d3b84", | |
| "a_6ed3f688ed939de9", | |
| "a_f464aa745c891818", | |
| "a_7c0637ccc5a2ceee", | |
| "a_1542a6f1cb8ae020", | |
| "a_40e047e53c35200e", | |
| "a_51725cf51622d2e8", | |
| "a_667e9057ed9cb64c", | |
| "a_070abedabd4960e4", | |
| "a_7ac84b9a634e7eda", | |
| "a_91d89c20bc2d36fb", | |
| "a_a7ff5b04d0a65f94", | |
| "a_d624a1b7368a61b5", | |
| "a_e58a87696e883b93", | |
| "a_f40bf38638c7cce7", | |
| "a_7a9413b249a672f7", | |
| "a_e514065700daf8d3", | |
| "a_ed4a33af0b5c3014", | |
| "a_4fb57e9d30147276", | |
| "a_949c61ab15b40969", | |
| "a_1e46f07abbb14f77", | |
| "a_5e0b5717b474c727", | |
| "a_5f9e1e09c9fe169c", | |
| "a_7a026e582a235313", | |
| "a_91c67d3b9b09ed46", | |
| "a_c7424699a6b26406", | |
| "a_d2e14db5bb04267e", | |
| "a_e172af64af6c964f", | |
| "a_09b47f82a5e28ee6", | |
| "a_0c6337abfadb2fe2", | |
| "a_3dd67b35ad8c627b", | |
| "a_672a1952d93a7119", | |
| "a_74400e85060fe4bc", | |
| "a_9d775a165f43ae37", | |
| "a_c51ab0d22b68e0f5", | |
| "a_f1b8bcfc17f2df13", | |
| "a_f8e0a3e4b3648161", | |
| "a_3f6c940678cec248", | |
| "a_e6fe0c1349a0ba86", | |
| "a_023496b3f26928b9", | |
| "a_c8a1122372447088", | |
| "a_fecf71879fcdd7d7", | |
| "a_4b342b1210beeed3", | |
| "a_8406e59579c38900", | |
| "a_9499b64034518075", | |
| "a_f8156cb02d2b0684", | |
| "a_b63417582b31bb20", | |
| "a_9e858e8a7c60905e", | |
| "a_545ab01f55954bb0", | |
| "a_7bcf8c2eae7fb1d9", | |
| "a_a4a2c39c7201940f", | |
| "a_f9c04f61515b6828", | |
| "a_2e15d9c93e6c85f6", | |
| "a_553d4b4332cfe5d8", | |
| "a_5b6b20cad0d909ca", | |
| "a_5e11b9d6b22809d9", | |
| "a_5eab041e6990973a", | |
| "a_5ffc2844bbd61528", | |
| "a_6a63e8d72d5ef6b1", | |
| "a_8291a4b654dc5455", | |
| "a_994fa16ae4f29634", | |
| "a_a702cb8197dbd78f", | |
| "a_a709866151f6ebe1", | |
| "a_b9148ec63f5c3512", | |
| "a_c841d2a6b00712eb", | |
| "a_d245753caa7e1eb1", | |
| "a_eb74ea7cf4dbd90f", | |
| "a_0ed71364842703cb", | |
| "a_21021d69929ba82b", | |
| "a_4017658548441195", | |
| "a_7221c2563cedd3fe", | |
| "a_82780aa9885f9039", | |
| "a_ba962f13a2c5f72c", | |
| "a_c56804e03d840772", | |
| "a_e3bcfa14947c9341", | |
| "a_f1e2a1015afc3148", | |
| "a_f5e2b796aead287f", | |
| "a_4cecff3af1eaa7d3", | |
| "a_4d860c655eba91fa", | |
| "a_5bb7e97779c5e478", | |
| "a_713606933ef53a3f", | |
| "a_96340afb7c771698", | |
| "a_f1a7e9192de18561", | |
| "a_baa5be80b0b520c7", | |
| "a_2f5ad626afaee006", | |
| "a_00df0b5718cab1cd", | |
| "a_140836830553ce07", | |
| "a_219410dbe75772f2", | |
| "a_55cc5014fe765ddb", | |
| "a_6babaf517a0c2693", | |
| "a_7ead254d7cca8d9c", | |
| "a_a2ad1a46a20e636e" | |
| ], | |
| "withheld_atom_ids": [ | |
| "a_49ed463f225bb86b", | |
| "a_f86a1ec5fdcce64e" | |
| ] | |
| }, | |
| "S3": { | |
| "atom_selection_sha256": "c0ea404c1aa6ab4589e800709770ffca9338d1511e31337b551eb6f508f6ae5d", | |
| "content_sha256": "a5b22b6415bd4a6066152ba06342b0512e7f8f598722c4cf24fda4bc2b094446", | |
| "content_text": "Inspect and edit the provided repository in /app.\n\nThe etree library lacks XML patching capabilities. Add XML diffing and patching capabilities to etree. The etree library lacks XML diffing capabilities.\n\n- The `(*Element).DeepEqual(other *Element) bool` method must be nil-receiver safe.\n- The `(*Element).DeepEqual(other *Element) bool` method must be added.\n- The `(*Element).DeepEqual(other *Element) bool` method treats two nil elements as equal.\n- The `(*Element).DeepEqual(other *Element) bool` method performs recursive structural comparison of tag, namespace, attributes, text, and children.\n- The `(*Element).DeepEqual(other *Element) bool` method treats nil versus non-nil elements as not equal.\n- A standalone function `ElementsDeepEqual(a, b *Element) bool` must be added.\n\n- `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)` returns an error when any `Document` is nil.\n- `ApplyPatch(doc, patch *Document) error` returns an error when any `Document` is nil.\n- `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)` returns an error when any `Document` is nil.\n- Implement `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)`.\n- For `OpAdd`, `DiffOperation.Path` stores the parent element path.\n\n- Implement `GeneratePatch([]DiffOperation) *Document`.\n- In `GeneratePatch`, children in `<add>` elements are appended.\n- The `GeneratePatch` output contains `<add>`, `<remove>`, and `<replace>`.\n- `GeneratePatch` produces `<diff xmlns=\"urn:ietf:params:xml:ns:patch-ops\">`.\n- In `GeneratePatch`, `/text()` is appended to `sel` for text.\n- `GeneratePatch` uses `sel` XPath with positional predicates for child indices.\n- In `GeneratePatch`, `OpUpdateAttr` with nil `OldValue` (new attribute) produces `<add sel=\"path\" type=\"attribute\" name=\"attrname\">value</add>`.\n- In `GeneratePatch`, `OpUpdateText` maps to `<replace>` with `/text()` on `sel`.\n- In `GeneratePatch`, `OpUpdateAttr` with non-nil `OldValue` (existing attribute) produces `<replace>` with `/@attrname` on `sel`.\n\nImplement `ApplyPatch(doc, patch *Document) error`. Implement `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)`.\n\n- In `ReversePatch`, a nil `patch` argument produces an error.\n- In `ReversePatch`, `<remove>` becomes `<add>`, except for text removals whose `sel` ends in `/text()`.\n- In `ReversePatch`, `<replace>` stays `<replace>`.\n- In `ReversePatch`, `<add>` becomes `<remove>`.\n- Implement `ReversePatch(patch *Document) (*Document, error)`.\n- In `ReversePatch`, the order of patch operations is reversed.\n- In `ReversePatch`, an attribute add of the form `<add sel=\"path\" type=\"attribute\" name=\"attr\">` is inverted to `<remove sel=\"path/@attr\"/>`.\n- In `ReversePatch`, text removals with `sel` ending `/text()` become `<replace>`.\n\n- The `DiffSummary` type must provide an `Additions()` method.\n- The `DiffSummary` type must provide a `Removals()` method.\n- The `DiffSummary` type's `Modifications()` method covers `OpUpdateText+OpUpdateAttr+OpReplace`.\n- The `DiffSummary` type must provide a `Total()` method.\n- The `DiffSummary` type must provide a `Moves()` method.\n- The `DiffSummary` type must provide a `HasChanges() bool` method.\n- Implement the `DiffSummary` type.\n- The `DiffSummary` type's `String()` method uses the format \"%d additions, %d removals, %d modifications, %d moves\".\n- Implement `NewDiffSummary(ops []DiffOperation) *DiffSummary` for the `DiffSummary` type.\n\n- The `Document` struct must be extended with a `Metadata map[string]string` field.\n- `Merge3Way` must populate the returned document's Metadata with `\"merge.base\"`, `\"merge.ours\"`, and `\"merge.theirs\"` keys set to the root element tag of each input.\n- `Document` must provide the convenience method `(*Document).Patch(patch)`.\n- `Document` must provide the convenience method `(*Document).Merge3Way(ours, theirs, opts)`.\n- `Document` must provide the convenience method `(*Document).Diff(other, opts)`.\n\n- `DiffOperation` has fields `Type` of type `OpType`, `Path`, `OldPath`, `NewPath`, `AttrName` of type `string`, `OldValue`, and `NewValue` of type `interface{}`.\n- `OpUpdateText` values are strings.\n- `OpUpdateAttr` values are attribute value strings.\n- `OpAdd.NewValue` holds a `*Element` to append.\n- `OpType` is an enum with members `OpAdd`, `OpRemove`, `OpReplace`, `OpMove`, `OpUpdateAttr`, and `OpUpdateText`.\n- `OpType.String()` returns the lowercase strings \"add\", \"remove\", \"replace\", \"move\", \"update-attr\", and \"update-text\".\n- The `DiffOperation.String()` representation for `OpMove` includes both paths.\n- `DiffOperation.String()` includes the type in uppercase.\n- The `DiffOperation.String()` representation for `OpUpdateAttr` includes the attribute name.\n- `DiffOperation.String()` includes the path.\n- The diff operation `OpMove` is only applicable when a `DiffOptions` configuration has `IgnoreOrder=false`, uses its `IdentityMode` value `IdentityKeyAttribute`, and position changes.\n\n- `DefaultDiffOptions()` specifies nil keys.\n- The matching key for `DiffOptions`'s `IdentityKeyAttribute` mode must not include an element tag.\n- `DiffOptions` declares `KeyAttributes` with type `map[string]string`.\n- `DefaultDiffOptions()` sets `IgnoreOrder=false`.\n- `DiffOptions`'s `IdentityMode` can be `IdentityPosition`, `IdentityKeyAttribute`, or `IdentityContentHash`.\n- `DiffOptions`'s `IdentityMode` value `IdentityKeyAttribute` matches elements by key attribute value only.\n- `DiffOptions` declares `IgnoreWhitespace` with type `bool`.\n- `DiffOptions` declares `IgnoreAttrs` with type `[]string`.\n- `DefaultDiffOptions()` defaults the `DiffOptions` identity mode to `IdentityPosition`.\n- Under `DiffOptions`'s `IdentityKeyAttribute` mode, the pairing of elements with different tags but the same key value produces `OpReplace`.\n- `DefaultDiffOptions()` sets `IgnoreWhitespace=true`.\n- `DiffOptions`'s `IdentityMode` value `IdentityContentHash` uses hash-based identity.\n- `DiffOptions`'s `IdentityMode` value `IdentityPosition` uses index-based identity.\n- `DiffOptions` declares `IgnoreOrder` with type `bool`.\n\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolution` to `OursValue`/`TheirsValue`/`customValue`.\n- `MergeConflict` has a `TheirsValue` member of type `interface{}`.\n- `MergeConflict` has a `Path` member of type `string`.\n- `MergeConflict` has a `BaseValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolved` member of type `bool`.\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolved` to `true`.\n- `MergeConflict` has a `Type` member of type `ConflictType`.\n- `MergeConflict` has an `OursValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolution` member of type `interface{}`.\n- `MergeConflict` defines `Resolve(resolution Resolution, customValue interface{})`.\n\n- The `ConflictType` declaration lists `ConflictBothModified`, `ConflictModifyDelete`, and `ConflictStructural`.\n- The `ConflictType` value `ConflictStructural` is not for text/attr.\n- The `ConflictType` value `ConflictBothModified` applies to the same path and the same op types.\n- The `ConflictType` value `ConflictModifyDelete` covers a text/attr modification versus a removal.\n- The `ConflictType` value `ConflictStructural` covers one side removing an element while the other adds or removes children under it.\n- The `ConflictType` value `ConflictStructural` is used when one operation is a removal and the other is a structural add/remove.\n- `ConflictType.String()` returns the values \"both-modified\", \"modify-delete\", and \"structural\".\n\n- The `Resolution` declaration lists `ResolutionOurs`, `ResolutionTheirs`, and `ResolutionCustom`.\n- `MergeOptions` has an `AutoResolve` member of type `bool`.\n- `MergeOptions.AutoResolve` returns with `Resolved=true`.\n- `DefaultMergeOptions()` sets `MergeOptions.DefaultResolution` to `ResolutionOurs`.\n- `MergeOptions` has a `DefaultResolution` member of type `Resolution`.\n- `MergeOptions.AutoResolve` applies the winning side's changes to the merged document.\n- `DefaultMergeOptions()` sets `MergeOptions.AutoResolve` to `false`.\n- `MergeOptions.AutoResolve` resolves conflicts using `MergeOptions.DefaultResolution`.", | |
| "instruction_sha256": "35dee59b7f855d2068a0dc94ebbb9375c39e8a091854070cd50b659f9699a570", | |
| "instruction_text": "Inspect and edit the provided repository in /app.\n\nThe etree library lacks XML patching capabilities. Add XML diffing and patching capabilities to etree. The etree library lacks XML diffing capabilities.\n\n- The `(*Element).DeepEqual(other *Element) bool` method must be nil-receiver safe.\n- The `(*Element).DeepEqual(other *Element) bool` method must be added.\n- The `(*Element).DeepEqual(other *Element) bool` method treats two nil elements as equal.\n- The `(*Element).DeepEqual(other *Element) bool` method performs recursive structural comparison of tag, namespace, attributes, text, and children.\n- The `(*Element).DeepEqual(other *Element) bool` method treats nil versus non-nil elements as not equal.\n- A standalone function `ElementsDeepEqual(a, b *Element) bool` must be added.\n\n- `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)` returns an error when any `Document` is nil.\n- `ApplyPatch(doc, patch *Document) error` returns an error when any `Document` is nil.\n- `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)` returns an error when any `Document` is nil.\n- Implement `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)`.\n- For `OpAdd`, `DiffOperation.Path` stores the parent element path.\n\n- Implement `GeneratePatch([]DiffOperation) *Document`.\n- In `GeneratePatch`, children in `<add>` elements are appended.\n- The `GeneratePatch` output contains `<add>`, `<remove>`, and `<replace>`.\n- `GeneratePatch` produces `<diff xmlns=\"urn:ietf:params:xml:ns:patch-ops\">`.\n- In `GeneratePatch`, `/text()` is appended to `sel` for text.\n- `GeneratePatch` uses `sel` XPath with positional predicates for child indices.\n- In `GeneratePatch`, `OpUpdateAttr` with nil `OldValue` (new attribute) produces `<add sel=\"path\" type=\"attribute\" name=\"attrname\">value</add>`.\n- In `GeneratePatch`, `OpUpdateText` maps to `<replace>` with `/text()` on `sel`.\n- In `GeneratePatch`, `OpUpdateAttr` with non-nil `OldValue` (existing attribute) produces `<replace>` with `/@attrname` on `sel`.\n\nImplement `ApplyPatch(doc, patch *Document) error`. Implement `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)`.\n\n- In `ReversePatch`, a nil `patch` argument produces an error.\n- In `ReversePatch`, `<remove>` becomes `<add>`, except for text removals whose `sel` ends in `/text()`.\n- In `ReversePatch`, `<replace>` stays `<replace>`.\n- In `ReversePatch`, `<add>` becomes `<remove>`.\n- Implement `ReversePatch(patch *Document) (*Document, error)`.\n- In `ReversePatch`, the order of patch operations is reversed.\n- In `ReversePatch`, an attribute add of the form `<add sel=\"path\" type=\"attribute\" name=\"attr\">` is inverted to `<remove sel=\"path/@attr\"/>`.\n- In `ReversePatch`, text removals with `sel` ending `/text()` become `<replace>`.\n\n- The `DiffSummary` type must provide an `Additions()` method.\n- The `DiffSummary` type must provide a `Removals()` method.\n- The `DiffSummary` type's `Modifications()` method covers `OpUpdateText+OpUpdateAttr+OpReplace`.\n- The `DiffSummary` type must provide a `Total()` method.\n- The `DiffSummary` type must provide a `Moves()` method.\n- The `DiffSummary` type must provide a `HasChanges() bool` method.\n- Implement the `DiffSummary` type.\n- The `DiffSummary` type's `String()` method uses the format \"%d additions, %d removals, %d modifications, %d moves\".\n- Implement `NewDiffSummary(ops []DiffOperation) *DiffSummary` for the `DiffSummary` type.\n\n- The `Document` struct must be extended with a `Metadata map[string]string` field.\n- `Merge3Way` must populate the returned document's Metadata with `\"merge.base\"`, `\"merge.ours\"`, and `\"merge.theirs\"` keys set to the root element tag of each input.\n- `Document` must provide the convenience method `(*Document).Patch(patch)`.\n- `Document` must provide the convenience method `(*Document).Merge3Way(ours, theirs, opts)`.\n- `Document` must provide the convenience method `(*Document).Diff(other, opts)`.\n\n- `DiffOperation` has fields `Type` of type `OpType`, `Path`, `OldPath`, `NewPath`, `AttrName` of type `string`, `OldValue`, and `NewValue` of type `interface{}`.\n- `OpUpdateText` values are strings.\n- `OpUpdateAttr` values are attribute value strings.\n- `OpAdd.NewValue` holds a `*Element` to append.\n- `OpType` is an enum with members `OpAdd`, `OpRemove`, `OpReplace`, `OpMove`, `OpUpdateAttr`, and `OpUpdateText`.\n- `OpType.String()` returns the lowercase strings \"add\", \"remove\", \"replace\", \"move\", \"update-attr\", and \"update-text\".\n- The `DiffOperation.String()` representation for `OpMove` includes both paths.\n- `DiffOperation.String()` includes the type in uppercase.\n- The `DiffOperation.String()` representation for `OpUpdateAttr` includes the attribute name.\n- `DiffOperation.String()` includes the path.\n- The diff operation `OpMove` is only applicable when a `DiffOptions` configuration has `IgnoreOrder=false`, uses its `IdentityMode` value `IdentityKeyAttribute`, and position changes.\n\n- `DefaultDiffOptions()` specifies nil keys.\n- The matching key for `DiffOptions`'s `IdentityKeyAttribute` mode must not include an element tag.\n- `DiffOptions` declares `KeyAttributes` with type `map[string]string`.\n- `DefaultDiffOptions()` sets `IgnoreOrder=false`.\n- `DiffOptions`'s `IdentityMode` can be `IdentityPosition`, `IdentityKeyAttribute`, or `IdentityContentHash`.\n- `DiffOptions`'s `IdentityMode` value `IdentityKeyAttribute` matches elements by key attribute value only.\n- `DiffOptions` declares `IgnoreWhitespace` with type `bool`.\n- `DiffOptions` declares `IgnoreAttrs` with type `[]string`.\n- `DefaultDiffOptions()` defaults the `DiffOptions` identity mode to `IdentityPosition`.\n- Under `DiffOptions`'s `IdentityKeyAttribute` mode, the pairing of elements with different tags but the same key value produces `OpReplace`.\n- `DefaultDiffOptions()` sets `IgnoreWhitespace=true`.\n- `DiffOptions`'s `IdentityMode` value `IdentityContentHash` uses hash-based identity.\n- `DiffOptions`'s `IdentityMode` value `IdentityPosition` uses index-based identity.\n- `DiffOptions` declares `IgnoreOrder` with type `bool`.\n\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolution` to `OursValue`/`TheirsValue`/`customValue`.\n- `MergeConflict` has a `TheirsValue` member of type `interface{}`.\n- `MergeConflict` has a `Path` member of type `string`.\n- `MergeConflict` has a `BaseValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolved` member of type `bool`.\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolved` to `true`.\n- `MergeConflict` has a `Type` member of type `ConflictType`.\n- `MergeConflict` has an `OursValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolution` member of type `interface{}`.\n- `MergeConflict` defines `Resolve(resolution Resolution, customValue interface{})`.\n\n- The `ConflictType` declaration lists `ConflictBothModified`, `ConflictModifyDelete`, and `ConflictStructural`.\n- The `ConflictType` value `ConflictStructural` is not for text/attr.\n- The `ConflictType` value `ConflictBothModified` applies to the same path and the same op types.\n- The `ConflictType` value `ConflictModifyDelete` covers a text/attr modification versus a removal.\n- The `ConflictType` value `ConflictStructural` covers one side removing an element while the other adds or removes children under it.\n- The `ConflictType` value `ConflictStructural` is used when one operation is a removal and the other is a structural add/remove.\n- `ConflictType.String()` returns the values \"both-modified\", \"modify-delete\", and \"structural\".\n\n- The `Resolution` declaration lists `ResolutionOurs`, `ResolutionTheirs`, and `ResolutionCustom`.\n- `MergeOptions` has an `AutoResolve` member of type `bool`.\n- `MergeOptions.AutoResolve` returns with `Resolved=true`.\n- `DefaultMergeOptions()` sets `MergeOptions.DefaultResolution` to `ResolutionOurs`.\n- `MergeOptions` has a `DefaultResolution` member of type `Resolution`.\n- `MergeOptions.AutoResolve` applies the winning side's changes to the merged document.\n- `DefaultMergeOptions()` sets `MergeOptions.AutoResolve` to `false`.\n- `MergeOptions.AutoResolve` resolves conflicts using `MergeOptions.DefaultResolution`.\n\nIMPORTANT: Please work on this in a new branch from main and commit everything when you are done.\n", | |
| "renderer": { | |
| "model": "gpt-5.6-luna", | |
| "reasoning_effort": "max", | |
| "template_sha256": "a9a945297cda17d9129a783203aeecd78abdd6c22fa8b0f347dcb740f2582825" | |
| }, | |
| "selected_atom_ids": [ | |
| "a00", | |
| "a_49ed463f225bb86b", | |
| "a_de1d205bdf665ae7", | |
| "a_f86a1ec5fdcce64e", | |
| "a_3064304b7ca6d82b", | |
| "a_610db6c6dde992f2", | |
| "a_6cf6d6580a0d3b84", | |
| "a_6ed3f688ed939de9", | |
| "a_f464aa745c891818", | |
| "a_7c0637ccc5a2ceee", | |
| "a_1542a6f1cb8ae020", | |
| "a_40e047e53c35200e", | |
| "a_51725cf51622d2e8", | |
| "a_667e9057ed9cb64c", | |
| "a_070abedabd4960e4", | |
| "a_7ac84b9a634e7eda", | |
| "a_91d89c20bc2d36fb", | |
| "a_a7ff5b04d0a65f94", | |
| "a_d624a1b7368a61b5", | |
| "a_e58a87696e883b93", | |
| "a_f40bf38638c7cce7", | |
| "a_7a9413b249a672f7", | |
| "a_e514065700daf8d3", | |
| "a_ed4a33af0b5c3014", | |
| "a_4fb57e9d30147276", | |
| "a_949c61ab15b40969", | |
| "a_1e46f07abbb14f77", | |
| "a_5e0b5717b474c727", | |
| "a_5f9e1e09c9fe169c", | |
| "a_7a026e582a235313", | |
| "a_91c67d3b9b09ed46", | |
| "a_c7424699a6b26406", | |
| "a_d2e14db5bb04267e", | |
| "a_e172af64af6c964f", | |
| "a_09b47f82a5e28ee6", | |
| "a_0c6337abfadb2fe2", | |
| "a_3dd67b35ad8c627b", | |
| "a_672a1952d93a7119", | |
| "a_74400e85060fe4bc", | |
| "a_9d775a165f43ae37", | |
| "a_c51ab0d22b68e0f5", | |
| "a_f1b8bcfc17f2df13", | |
| "a_f8e0a3e4b3648161", | |
| "a_3f6c940678cec248", | |
| "a_e6fe0c1349a0ba86", | |
| "a_023496b3f26928b9", | |
| "a_c8a1122372447088", | |
| "a_fecf71879fcdd7d7", | |
| "a_4b342b1210beeed3", | |
| "a_8406e59579c38900", | |
| "a_9499b64034518075", | |
| "a_f8156cb02d2b0684", | |
| "a_b63417582b31bb20", | |
| "a_9e858e8a7c60905e", | |
| "a_545ab01f55954bb0", | |
| "a_7bcf8c2eae7fb1d9", | |
| "a_a4a2c39c7201940f", | |
| "a_f9c04f61515b6828", | |
| "a_2e15d9c93e6c85f6", | |
| "a_553d4b4332cfe5d8", | |
| "a_5b6b20cad0d909ca", | |
| "a_5e11b9d6b22809d9", | |
| "a_5eab041e6990973a", | |
| "a_5ffc2844bbd61528", | |
| "a_6a63e8d72d5ef6b1", | |
| "a_8291a4b654dc5455", | |
| "a_994fa16ae4f29634", | |
| "a_a702cb8197dbd78f", | |
| "a_a709866151f6ebe1", | |
| "a_b9148ec63f5c3512", | |
| "a_c841d2a6b00712eb", | |
| "a_d245753caa7e1eb1", | |
| "a_eb74ea7cf4dbd90f", | |
| "a_0ed71364842703cb", | |
| "a_21021d69929ba82b", | |
| "a_4017658548441195", | |
| "a_7221c2563cedd3fe", | |
| "a_82780aa9885f9039", | |
| "a_ba962f13a2c5f72c", | |
| "a_c56804e03d840772", | |
| "a_e3bcfa14947c9341", | |
| "a_f1e2a1015afc3148", | |
| "a_f5e2b796aead287f", | |
| "a_4cecff3af1eaa7d3", | |
| "a_4d860c655eba91fa", | |
| "a_5bb7e97779c5e478", | |
| "a_713606933ef53a3f", | |
| "a_96340afb7c771698", | |
| "a_f1a7e9192de18561", | |
| "a_baa5be80b0b520c7", | |
| "a_2f5ad626afaee006", | |
| "a_00df0b5718cab1cd", | |
| "a_140836830553ce07", | |
| "a_219410dbe75772f2", | |
| "a_55cc5014fe765ddb", | |
| "a_6babaf517a0c2693", | |
| "a_7ead254d7cca8d9c", | |
| "a_a2ad1a46a20e636e" | |
| ], | |
| "withheld_atom_ids": [] | |
| }, | |
| "S4": { | |
| "atom_selection_sha256": "c0ea404c1aa6ab4589e800709770ffca9338d1511e31337b551eb6f508f6ae5d", | |
| "content_sha256": "a5b22b6415bd4a6066152ba06342b0512e7f8f598722c4cf24fda4bc2b094446", | |
| "content_text": "Inspect and edit the provided repository in /app.\n\nThe etree library lacks XML patching capabilities. Add XML diffing and patching capabilities to etree. The etree library lacks XML diffing capabilities.\n\n- The `(*Element).DeepEqual(other *Element) bool` method must be nil-receiver safe.\n- The `(*Element).DeepEqual(other *Element) bool` method must be added.\n- The `(*Element).DeepEqual(other *Element) bool` method treats two nil elements as equal.\n- The `(*Element).DeepEqual(other *Element) bool` method performs recursive structural comparison of tag, namespace, attributes, text, and children.\n- The `(*Element).DeepEqual(other *Element) bool` method treats nil versus non-nil elements as not equal.\n- A standalone function `ElementsDeepEqual(a, b *Element) bool` must be added.\n\n- `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)` returns an error when any `Document` is nil.\n- `ApplyPatch(doc, patch *Document) error` returns an error when any `Document` is nil.\n- `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)` returns an error when any `Document` is nil.\n- Implement `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)`.\n- For `OpAdd`, `DiffOperation.Path` stores the parent element path.\n\n- Implement `GeneratePatch([]DiffOperation) *Document`.\n- In `GeneratePatch`, children in `<add>` elements are appended.\n- The `GeneratePatch` output contains `<add>`, `<remove>`, and `<replace>`.\n- `GeneratePatch` produces `<diff xmlns=\"urn:ietf:params:xml:ns:patch-ops\">`.\n- In `GeneratePatch`, `/text()` is appended to `sel` for text.\n- `GeneratePatch` uses `sel` XPath with positional predicates for child indices.\n- In `GeneratePatch`, `OpUpdateAttr` with nil `OldValue` (new attribute) produces `<add sel=\"path\" type=\"attribute\" name=\"attrname\">value</add>`.\n- In `GeneratePatch`, `OpUpdateText` maps to `<replace>` with `/text()` on `sel`.\n- In `GeneratePatch`, `OpUpdateAttr` with non-nil `OldValue` (existing attribute) produces `<replace>` with `/@attrname` on `sel`.\n\nImplement `ApplyPatch(doc, patch *Document) error`. Implement `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)`.\n\n- In `ReversePatch`, a nil `patch` argument produces an error.\n- In `ReversePatch`, `<remove>` becomes `<add>`, except for text removals whose `sel` ends in `/text()`.\n- In `ReversePatch`, `<replace>` stays `<replace>`.\n- In `ReversePatch`, `<add>` becomes `<remove>`.\n- Implement `ReversePatch(patch *Document) (*Document, error)`.\n- In `ReversePatch`, the order of patch operations is reversed.\n- In `ReversePatch`, an attribute add of the form `<add sel=\"path\" type=\"attribute\" name=\"attr\">` is inverted to `<remove sel=\"path/@attr\"/>`.\n- In `ReversePatch`, text removals with `sel` ending `/text()` become `<replace>`.\n\n- The `DiffSummary` type must provide an `Additions()` method.\n- The `DiffSummary` type must provide a `Removals()` method.\n- The `DiffSummary` type's `Modifications()` method covers `OpUpdateText+OpUpdateAttr+OpReplace`.\n- The `DiffSummary` type must provide a `Total()` method.\n- The `DiffSummary` type must provide a `Moves()` method.\n- The `DiffSummary` type must provide a `HasChanges() bool` method.\n- Implement the `DiffSummary` type.\n- The `DiffSummary` type's `String()` method uses the format \"%d additions, %d removals, %d modifications, %d moves\".\n- Implement `NewDiffSummary(ops []DiffOperation) *DiffSummary` for the `DiffSummary` type.\n\n- The `Document` struct must be extended with a `Metadata map[string]string` field.\n- `Merge3Way` must populate the returned document's Metadata with `\"merge.base\"`, `\"merge.ours\"`, and `\"merge.theirs\"` keys set to the root element tag of each input.\n- `Document` must provide the convenience method `(*Document).Patch(patch)`.\n- `Document` must provide the convenience method `(*Document).Merge3Way(ours, theirs, opts)`.\n- `Document` must provide the convenience method `(*Document).Diff(other, opts)`.\n\n- `DiffOperation` has fields `Type` of type `OpType`, `Path`, `OldPath`, `NewPath`, `AttrName` of type `string`, `OldValue`, and `NewValue` of type `interface{}`.\n- `OpUpdateText` values are strings.\n- `OpUpdateAttr` values are attribute value strings.\n- `OpAdd.NewValue` holds a `*Element` to append.\n- `OpType` is an enum with members `OpAdd`, `OpRemove`, `OpReplace`, `OpMove`, `OpUpdateAttr`, and `OpUpdateText`.\n- `OpType.String()` returns the lowercase strings \"add\", \"remove\", \"replace\", \"move\", \"update-attr\", and \"update-text\".\n- The `DiffOperation.String()` representation for `OpMove` includes both paths.\n- `DiffOperation.String()` includes the type in uppercase.\n- The `DiffOperation.String()` representation for `OpUpdateAttr` includes the attribute name.\n- `DiffOperation.String()` includes the path.\n- The diff operation `OpMove` is only applicable when a `DiffOptions` configuration has `IgnoreOrder=false`, uses its `IdentityMode` value `IdentityKeyAttribute`, and position changes.\n\n- `DefaultDiffOptions()` specifies nil keys.\n- The matching key for `DiffOptions`'s `IdentityKeyAttribute` mode must not include an element tag.\n- `DiffOptions` declares `KeyAttributes` with type `map[string]string`.\n- `DefaultDiffOptions()` sets `IgnoreOrder=false`.\n- `DiffOptions`'s `IdentityMode` can be `IdentityPosition`, `IdentityKeyAttribute`, or `IdentityContentHash`.\n- `DiffOptions`'s `IdentityMode` value `IdentityKeyAttribute` matches elements by key attribute value only.\n- `DiffOptions` declares `IgnoreWhitespace` with type `bool`.\n- `DiffOptions` declares `IgnoreAttrs` with type `[]string`.\n- `DefaultDiffOptions()` defaults the `DiffOptions` identity mode to `IdentityPosition`.\n- Under `DiffOptions`'s `IdentityKeyAttribute` mode, the pairing of elements with different tags but the same key value produces `OpReplace`.\n- `DefaultDiffOptions()` sets `IgnoreWhitespace=true`.\n- `DiffOptions`'s `IdentityMode` value `IdentityContentHash` uses hash-based identity.\n- `DiffOptions`'s `IdentityMode` value `IdentityPosition` uses index-based identity.\n- `DiffOptions` declares `IgnoreOrder` with type `bool`.\n\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolution` to `OursValue`/`TheirsValue`/`customValue`.\n- `MergeConflict` has a `TheirsValue` member of type `interface{}`.\n- `MergeConflict` has a `Path` member of type `string`.\n- `MergeConflict` has a `BaseValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolved` member of type `bool`.\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolved` to `true`.\n- `MergeConflict` has a `Type` member of type `ConflictType`.\n- `MergeConflict` has an `OursValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolution` member of type `interface{}`.\n- `MergeConflict` defines `Resolve(resolution Resolution, customValue interface{})`.\n\n- The `ConflictType` declaration lists `ConflictBothModified`, `ConflictModifyDelete`, and `ConflictStructural`.\n- The `ConflictType` value `ConflictStructural` is not for text/attr.\n- The `ConflictType` value `ConflictBothModified` applies to the same path and the same op types.\n- The `ConflictType` value `ConflictModifyDelete` covers a text/attr modification versus a removal.\n- The `ConflictType` value `ConflictStructural` covers one side removing an element while the other adds or removes children under it.\n- The `ConflictType` value `ConflictStructural` is used when one operation is a removal and the other is a structural add/remove.\n- `ConflictType.String()` returns the values \"both-modified\", \"modify-delete\", and \"structural\".\n\n- The `Resolution` declaration lists `ResolutionOurs`, `ResolutionTheirs`, and `ResolutionCustom`.\n- `MergeOptions` has an `AutoResolve` member of type `bool`.\n- `MergeOptions.AutoResolve` returns with `Resolved=true`.\n- `DefaultMergeOptions()` sets `MergeOptions.DefaultResolution` to `ResolutionOurs`.\n- `MergeOptions` has a `DefaultResolution` member of type `Resolution`.\n- `MergeOptions.AutoResolve` applies the winning side's changes to the merged document.\n- `DefaultMergeOptions()` sets `MergeOptions.AutoResolve` to `false`.\n- `MergeOptions.AutoResolve` resolves conflicts using `MergeOptions.DefaultResolution`.", | |
| "instruction_sha256": "35dee59b7f855d2068a0dc94ebbb9375c39e8a091854070cd50b659f9699a570", | |
| "instruction_text": "Inspect and edit the provided repository in /app.\n\nThe etree library lacks XML patching capabilities. Add XML diffing and patching capabilities to etree. The etree library lacks XML diffing capabilities.\n\n- The `(*Element).DeepEqual(other *Element) bool` method must be nil-receiver safe.\n- The `(*Element).DeepEqual(other *Element) bool` method must be added.\n- The `(*Element).DeepEqual(other *Element) bool` method treats two nil elements as equal.\n- The `(*Element).DeepEqual(other *Element) bool` method performs recursive structural comparison of tag, namespace, attributes, text, and children.\n- The `(*Element).DeepEqual(other *Element) bool` method treats nil versus non-nil elements as not equal.\n- A standalone function `ElementsDeepEqual(a, b *Element) bool` must be added.\n\n- `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)` returns an error when any `Document` is nil.\n- `ApplyPatch(doc, patch *Document) error` returns an error when any `Document` is nil.\n- `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)` returns an error when any `Document` is nil.\n- Implement `Diff(base, target *Document, opts DiffOptions) ([]DiffOperation, error)`.\n- For `OpAdd`, `DiffOperation.Path` stores the parent element path.\n\n- Implement `GeneratePatch([]DiffOperation) *Document`.\n- In `GeneratePatch`, children in `<add>` elements are appended.\n- The `GeneratePatch` output contains `<add>`, `<remove>`, and `<replace>`.\n- `GeneratePatch` produces `<diff xmlns=\"urn:ietf:params:xml:ns:patch-ops\">`.\n- In `GeneratePatch`, `/text()` is appended to `sel` for text.\n- `GeneratePatch` uses `sel` XPath with positional predicates for child indices.\n- In `GeneratePatch`, `OpUpdateAttr` with nil `OldValue` (new attribute) produces `<add sel=\"path\" type=\"attribute\" name=\"attrname\">value</add>`.\n- In `GeneratePatch`, `OpUpdateText` maps to `<replace>` with `/text()` on `sel`.\n- In `GeneratePatch`, `OpUpdateAttr` with non-nil `OldValue` (existing attribute) produces `<replace>` with `/@attrname` on `sel`.\n\nImplement `ApplyPatch(doc, patch *Document) error`. Implement `Merge3Way(base, ours, theirs *Document, opts MergeOptions) (*Document, []MergeConflict, error)`.\n\n- In `ReversePatch`, a nil `patch` argument produces an error.\n- In `ReversePatch`, `<remove>` becomes `<add>`, except for text removals whose `sel` ends in `/text()`.\n- In `ReversePatch`, `<replace>` stays `<replace>`.\n- In `ReversePatch`, `<add>` becomes `<remove>`.\n- Implement `ReversePatch(patch *Document) (*Document, error)`.\n- In `ReversePatch`, the order of patch operations is reversed.\n- In `ReversePatch`, an attribute add of the form `<add sel=\"path\" type=\"attribute\" name=\"attr\">` is inverted to `<remove sel=\"path/@attr\"/>`.\n- In `ReversePatch`, text removals with `sel` ending `/text()` become `<replace>`.\n\n- The `DiffSummary` type must provide an `Additions()` method.\n- The `DiffSummary` type must provide a `Removals()` method.\n- The `DiffSummary` type's `Modifications()` method covers `OpUpdateText+OpUpdateAttr+OpReplace`.\n- The `DiffSummary` type must provide a `Total()` method.\n- The `DiffSummary` type must provide a `Moves()` method.\n- The `DiffSummary` type must provide a `HasChanges() bool` method.\n- Implement the `DiffSummary` type.\n- The `DiffSummary` type's `String()` method uses the format \"%d additions, %d removals, %d modifications, %d moves\".\n- Implement `NewDiffSummary(ops []DiffOperation) *DiffSummary` for the `DiffSummary` type.\n\n- The `Document` struct must be extended with a `Metadata map[string]string` field.\n- `Merge3Way` must populate the returned document's Metadata with `\"merge.base\"`, `\"merge.ours\"`, and `\"merge.theirs\"` keys set to the root element tag of each input.\n- `Document` must provide the convenience method `(*Document).Patch(patch)`.\n- `Document` must provide the convenience method `(*Document).Merge3Way(ours, theirs, opts)`.\n- `Document` must provide the convenience method `(*Document).Diff(other, opts)`.\n\n- `DiffOperation` has fields `Type` of type `OpType`, `Path`, `OldPath`, `NewPath`, `AttrName` of type `string`, `OldValue`, and `NewValue` of type `interface{}`.\n- `OpUpdateText` values are strings.\n- `OpUpdateAttr` values are attribute value strings.\n- `OpAdd.NewValue` holds a `*Element` to append.\n- `OpType` is an enum with members `OpAdd`, `OpRemove`, `OpReplace`, `OpMove`, `OpUpdateAttr`, and `OpUpdateText`.\n- `OpType.String()` returns the lowercase strings \"add\", \"remove\", \"replace\", \"move\", \"update-attr\", and \"update-text\".\n- The `DiffOperation.String()` representation for `OpMove` includes both paths.\n- `DiffOperation.String()` includes the type in uppercase.\n- The `DiffOperation.String()` representation for `OpUpdateAttr` includes the attribute name.\n- `DiffOperation.String()` includes the path.\n- The diff operation `OpMove` is only applicable when a `DiffOptions` configuration has `IgnoreOrder=false`, uses its `IdentityMode` value `IdentityKeyAttribute`, and position changes.\n\n- `DefaultDiffOptions()` specifies nil keys.\n- The matching key for `DiffOptions`'s `IdentityKeyAttribute` mode must not include an element tag.\n- `DiffOptions` declares `KeyAttributes` with type `map[string]string`.\n- `DefaultDiffOptions()` sets `IgnoreOrder=false`.\n- `DiffOptions`'s `IdentityMode` can be `IdentityPosition`, `IdentityKeyAttribute`, or `IdentityContentHash`.\n- `DiffOptions`'s `IdentityMode` value `IdentityKeyAttribute` matches elements by key attribute value only.\n- `DiffOptions` declares `IgnoreWhitespace` with type `bool`.\n- `DiffOptions` declares `IgnoreAttrs` with type `[]string`.\n- `DefaultDiffOptions()` defaults the `DiffOptions` identity mode to `IdentityPosition`.\n- Under `DiffOptions`'s `IdentityKeyAttribute` mode, the pairing of elements with different tags but the same key value produces `OpReplace`.\n- `DefaultDiffOptions()` sets `IgnoreWhitespace=true`.\n- `DiffOptions`'s `IdentityMode` value `IdentityContentHash` uses hash-based identity.\n- `DiffOptions`'s `IdentityMode` value `IdentityPosition` uses index-based identity.\n- `DiffOptions` declares `IgnoreOrder` with type `bool`.\n\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolution` to `OursValue`/`TheirsValue`/`customValue`.\n- `MergeConflict` has a `TheirsValue` member of type `interface{}`.\n- `MergeConflict` has a `Path` member of type `string`.\n- `MergeConflict` has a `BaseValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolved` member of type `bool`.\n- Calling `MergeConflict.Resolve(resolution Resolution, customValue interface{})` sets `MergeConflict.Resolved` to `true`.\n- `MergeConflict` has a `Type` member of type `ConflictType`.\n- `MergeConflict` has an `OursValue` member of type `interface{}`.\n- `MergeConflict` has a `Resolution` member of type `interface{}`.\n- `MergeConflict` defines `Resolve(resolution Resolution, customValue interface{})`.\n\n- The `ConflictType` declaration lists `ConflictBothModified`, `ConflictModifyDelete`, and `ConflictStructural`.\n- The `ConflictType` value `ConflictStructural` is not for text/attr.\n- The `ConflictType` value `ConflictBothModified` applies to the same path and the same op types.\n- The `ConflictType` value `ConflictModifyDelete` covers a text/attr modification versus a removal.\n- The `ConflictType` value `ConflictStructural` covers one side removing an element while the other adds or removes children under it.\n- The `ConflictType` value `ConflictStructural` is used when one operation is a removal and the other is a structural add/remove.\n- `ConflictType.String()` returns the values \"both-modified\", \"modify-delete\", and \"structural\".\n\n- The `Resolution` declaration lists `ResolutionOurs`, `ResolutionTheirs`, and `ResolutionCustom`.\n- `MergeOptions` has an `AutoResolve` member of type `bool`.\n- `MergeOptions.AutoResolve` returns with `Resolved=true`.\n- `DefaultMergeOptions()` sets `MergeOptions.DefaultResolution` to `ResolutionOurs`.\n- `MergeOptions` has a `DefaultResolution` member of type `Resolution`.\n- `MergeOptions.AutoResolve` applies the winning side's changes to the merged document.\n- `DefaultMergeOptions()` sets `MergeOptions.AutoResolve` to `false`.\n- `MergeOptions.AutoResolve` resolves conflicts using `MergeOptions.DefaultResolution`.\n\nIMPORTANT: Please work on this in a new branch from main and commit everything when you are done.\n", | |
| "renderer": { | |
| "model": "gpt-5.6-luna", | |
| "reasoning_effort": "max", | |
| "template_sha256": "a9a945297cda17d9129a783203aeecd78abdd6c22fa8b0f347dcb740f2582825" | |
| }, | |
| "selected_atom_ids": [ | |
| "a00", | |
| "a_49ed463f225bb86b", | |
| "a_de1d205bdf665ae7", | |
| "a_f86a1ec5fdcce64e", | |
| "a_3064304b7ca6d82b", | |
| "a_610db6c6dde992f2", | |
| "a_6cf6d6580a0d3b84", | |
| "a_6ed3f688ed939de9", | |
| "a_f464aa745c891818", | |
| "a_7c0637ccc5a2ceee", | |
| "a_1542a6f1cb8ae020", | |
| "a_40e047e53c35200e", | |
| "a_51725cf51622d2e8", | |
| "a_667e9057ed9cb64c", | |
| "a_070abedabd4960e4", | |
| "a_7ac84b9a634e7eda", | |
| "a_91d89c20bc2d36fb", | |
| "a_a7ff5b04d0a65f94", | |
| "a_d624a1b7368a61b5", | |
| "a_e58a87696e883b93", | |
| "a_f40bf38638c7cce7", | |
| "a_7a9413b249a672f7", | |
| "a_e514065700daf8d3", | |
| "a_ed4a33af0b5c3014", | |
| "a_4fb57e9d30147276", | |
| "a_949c61ab15b40969", | |
| "a_1e46f07abbb14f77", | |
| "a_5e0b5717b474c727", | |
| "a_5f9e1e09c9fe169c", | |
| "a_7a026e582a235313", | |
| "a_91c67d3b9b09ed46", | |
| "a_c7424699a6b26406", | |
| "a_d2e14db5bb04267e", | |
| "a_e172af64af6c964f", | |
| "a_09b47f82a5e28ee6", | |
| "a_0c6337abfadb2fe2", | |
| "a_3dd67b35ad8c627b", | |
| "a_672a1952d93a7119", | |
| "a_74400e85060fe4bc", | |
| "a_9d775a165f43ae37", | |
| "a_c51ab0d22b68e0f5", | |
| "a_f1b8bcfc17f2df13", | |
| "a_f8e0a3e4b3648161", | |
| "a_3f6c940678cec248", | |
| "a_e6fe0c1349a0ba86", | |
| "a_023496b3f26928b9", | |
| "a_c8a1122372447088", | |
| "a_fecf71879fcdd7d7", | |
| "a_4b342b1210beeed3", | |
| "a_8406e59579c38900", | |
| "a_9499b64034518075", | |
| "a_f8156cb02d2b0684", | |
| "a_b63417582b31bb20", | |
| "a_9e858e8a7c60905e", | |
| "a_545ab01f55954bb0", | |
| "a_7bcf8c2eae7fb1d9", | |
| "a_a4a2c39c7201940f", | |
| "a_f9c04f61515b6828", | |
| "a_2e15d9c93e6c85f6", | |
| "a_553d4b4332cfe5d8", | |
| "a_5b6b20cad0d909ca", | |
| "a_5e11b9d6b22809d9", | |
| "a_5eab041e6990973a", | |
| "a_5ffc2844bbd61528", | |
| "a_6a63e8d72d5ef6b1", | |
| "a_8291a4b654dc5455", | |
| "a_994fa16ae4f29634", | |
| "a_a702cb8197dbd78f", | |
| "a_a709866151f6ebe1", | |
| "a_b9148ec63f5c3512", | |
| "a_c841d2a6b00712eb", | |
| "a_d245753caa7e1eb1", | |
| "a_eb74ea7cf4dbd90f", | |
| "a_0ed71364842703cb", | |
| "a_21021d69929ba82b", | |
| "a_4017658548441195", | |
| "a_7221c2563cedd3fe", | |
| "a_82780aa9885f9039", | |
| "a_ba962f13a2c5f72c", | |
| "a_c56804e03d840772", | |
| "a_e3bcfa14947c9341", | |
| "a_f1e2a1015afc3148", | |
| "a_f5e2b796aead287f", | |
| "a_4cecff3af1eaa7d3", | |
| "a_4d860c655eba91fa", | |
| "a_5bb7e97779c5e478", | |
| "a_713606933ef53a3f", | |
| "a_96340afb7c771698", | |
| "a_f1a7e9192de18561", | |
| "a_baa5be80b0b520c7", | |
| "a_2f5ad626afaee006", | |
| "a_00df0b5718cab1cd", | |
| "a_140836830553ce07", | |
| "a_219410dbe75772f2", | |
| "a_55cc5014fe765ddb", | |
| "a_6babaf517a0c2693", | |
| "a_7ead254d7cca8d9c", | |
| "a_a2ad1a46a20e636e" | |
| ], | |
| "withheld_atom_ids": [] | |
| } | |
| }, | |
| "objective_atom_id": "a_de1d205bdf665ae7", | |
| "protocol_fingerprint": { | |
| "kind": "trailing_lines", | |
| "lines_sha256": "56fa373e0b23716665edb58a2a5ba5d86f09791b540ad33bae0bf85f1ad2eb64", | |
| "prefix_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", | |
| "suffix_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" | |
| }, | |
| "release_id": "si25-rebuilt-v1", | |
| "schema_version": "interactive-coding-dataset-v1", | |
| "source_adjudication_ids": [], | |
| "task_id": "etree-xml-diff-patch" | |
| } | |