arpandeepk commited on
Commit
51ad52c
·
verified ·
1 Parent(s): a7e0af8

Upload 2610 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. msa_v2_verified/solo-msa_v2-gemini-3-flash/config.json +9 -0
  3. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2/eval.json +21 -0
  4. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2/result.json +30 -0
  5. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2/solo.patch +192 -0
  6. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2/solo_traj.json +0 -0
  7. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3/eval.json +21 -0
  8. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3/result.json +30 -0
  9. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3/solo.patch +253 -0
  10. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3/solo_traj.json +0 -0
  11. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4/eval.json +21 -0
  12. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4/result.json +30 -0
  13. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4/solo.patch +259 -0
  14. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4/solo_traj.json +0 -0
  15. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3/eval.json +21 -0
  16. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3/result.json +30 -0
  17. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3/solo.patch +211 -0
  18. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3/solo_traj.json +0 -0
  19. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4/eval.json +21 -0
  20. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4/result.json +30 -0
  21. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4/solo.patch +152 -0
  22. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4/solo_traj.json +0 -0
  23. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4/eval.json +21 -0
  24. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4/result.json +30 -0
  25. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4/solo.patch +296 -0
  26. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4/solo_traj.json +0 -0
  27. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10/eval.json +21 -0
  28. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10/result.json +30 -0
  29. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10/solo.patch +22 -0
  30. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10/solo_traj.json +0 -0
  31. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2/eval.json +21 -0
  32. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2/result.json +30 -0
  33. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2/solo.patch +22 -0
  34. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2/solo_traj.json +0 -0
  35. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3/eval.json +21 -0
  36. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3/result.json +30 -0
  37. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3/solo.patch +33 -0
  38. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3/solo_traj.json +0 -0
  39. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4/eval.json +21 -0
  40. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4/result.json +30 -0
  41. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4/solo.patch +30 -0
  42. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4/solo_traj.json +0 -0
  43. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5/eval.json +21 -0
  44. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5/result.json +30 -0
  45. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5/solo.patch +33 -0
  46. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5/solo_traj.json +0 -0
  47. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6/eval.json +21 -0
  48. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6/result.json +30 -0
  49. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6/solo.patch +30 -0
  50. msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6/solo_traj.json +0 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/react_hook_form_task/85/f2_f3/solo_traj.json filter=lfs diff=lfs merge=lfs -text
msa_v2_verified/solo-msa_v2-gemini-3-flash/config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_name": "solo-msa_v2-gemini-3-flash",
3
+ "agent_framework": "mini_swe_agent_v2",
4
+ "model": "vertex_ai/gemini-3-flash-preview",
5
+ "setting": "solo",
6
+ "concurrency": 20,
7
+ "total_tasks": 652,
8
+ "started_at": "2026-02-14T23:53:35.446140"
9
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 1,
6
+ 2
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": false,
12
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nWarning: Feature patch check failed. Attempting to apply anyway...\nError: Failed to apply feature patch.\nPatch file: /patches/solo.patch\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRepository cleaned.\nerror: corrupt patch at line 193\n"
13
+ },
14
+ "feature2": {
15
+ "passed": false,
16
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nWarning: Feature patch check failed. Attempting to apply anyway...\nError: Failed to apply feature patch.\nPatch file: /patches/solo.patch\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRepository cleaned.\n/patches/tests2.patch:31: trailing whitespace.\n \n/patches/tests2.patch:37: trailing whitespace.\n \n/patches/tests2.patch:46: trailing whitespace.\n \n/patches/tests2.patch:52: trailing whitespace.\n \n/patches/tests2.patch:55: trailing whitespace.\n \nwarning: squelched 19 whitespace errors\nwarning: 24 lines add whitespace errors.\nerror: corrupt patch at line 193\n"
17
+ },
18
+ "both_passed": false,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:18:50.936663"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 1,
6
+ 2
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "8af15529",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.001115",
14
+ "ended_at": "2026-02-14T21:18:46.081153",
15
+ "duration_seconds": 81.080038,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.05488575,
19
+ "steps": 12,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 192,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.05488575,
28
+ "total_steps": 12,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2/solo.patch ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/prompts.py b/outlines/prompts.py
2
+ index 86519ada..dd6433ee 100644
3
+ --- a/outlines/prompts.py
4
+ +++ b/outlines/prompts.py
5
+ @@ -6,11 +6,58 @@ import re
6
+ import textwrap
7
+ from dataclasses import dataclass
8
+ from pathlib import Path
9
+ -from typing import Any, Callable, Dict, Optional, Type, cast
10
+ +from typing import Any, Callable, Dict, Optional, Type, Union, cast
11
+
12
+ import jinja2
13
+ import pydantic
14
+
15
+ +# Global filter registry
16
+ +_GLOBAL_FILTERS: Dict[str, Callable] = {}
17
+ +
18
+ +
19
+ +def register_filter(name: str, func: Callable):
20
+ + """Register a global filter for use in all prompt templates."""
21
+ + _GLOBAL_FILTERS[name] = func
22
+ +
23
+ +
24
+ +def unregister_filter(name: str):
25
+ + """Unregister a global filter."""
26
+ + if name in _GLOBAL_FILTERS:
27
+ + del _GLOBAL_FILTERS[name]
28
+ +
29
+ +
30
+ +def create_jinja_env(
31
+ + loader: Optional[jinja2.BaseLoader] = None,
32
+ + filters: Optional[Dict[str, Callable]] = None,
33
+ +) -> jinja2.Environment:
34
+ + """Create a Jinja2 environment with the provided loader and filters."""
35
+ + env = jinja2.Environment(
36
+ + loader=loader,
37
+ + trim_blocks=True,
38
+ + lstrip_blocks=True,
39
+ + keep_trailing_newline=True,
40
+ + undefined=jinja2.StrictUndefined,
41
+ + )
42
+ +
43
+ + # Register built-in filters
44
+ + env.filters["name"] = get_fn_name
45
+ + env.filters["description"] = get_fn_description
46
+ + env.filters["source"] = get_fn_source
47
+ + env.filters["signature"] = get_fn_signature
48
+ + env.filters["schema"] = get_schema
49
+ + env.filters["args"] = get_fn_args
50
+ +
51
+ + # Register global filters
52
+ + for name, func in _GLOBAL_FILTERS.items():
53
+ + env.filters[name] = func
54
+ +
55
+ + # Register local filters (local filters override global and built-in filters)
56
+ + if filters is not None:
57
+ + for name, func in filters.items():
58
+ + env.filters[name] = func
59
+ +
60
+ + return env
61
+ +
62
+
63
+ @dataclass
64
+ class Prompt:
65
+ @@ -40,7 +87,7 @@ class Prompt:
66
+ return self.template.render(**kwargs)
67
+
68
+ @classmethod
69
+ - def from_str(cls, content: str):
70
+ + def from_str(cls, content: str, filters: Optional[Dict[str, Callable]] = None):
71
+ """
72
+ Create an instance of the class from a string.
73
+
74
+ @@ -48,15 +95,17 @@ class Prompt:
75
+ ----------
76
+ content : str
77
+ The string content to be converted into a template.
78
+ + filters : Dict[str, Callable], optional
79
+ + A dictionary mapping filter names to callable functions.
80
+
81
+ Returns
82
+ -------
83
+ An instance of the class with the provided content as a template.
84
+ """
85
+ - return cls(cls._template_from_str(content), None)
86
+ + return cls(cls._template_from_str(content, filters), None)
87
+
88
+ @classmethod
89
+ - def from_file(cls, path: Path):
90
+ + def from_file(cls, path: Path, filters: Optional[Dict[str, Callable]] = None):
91
+ """
92
+ Create a Prompt instance from a file containing a Jinja template.
93
+
94
+ @@ -67,6 +116,8 @@ class Prompt:
95
+ ----------
96
+ path : Path
97
+ The path to the file containing the Jinja template.
98
+ + filters : Dict[str, Callable], optional
99
+ + A dictionary mapping filter names to callable functions.
100
+
101
+ Returns
102
+ -------
103
+ @@ -75,10 +126,10 @@ class Prompt:
104
+ """
105
+ # We don't use a `Signature` here because it seems not feasible to infer one from a Jinja2 environment that is
106
+ # split across multiple files (since e.g. we support features like Jinja2 includes and template inheritance)
107
+ - return cls(cls._template_from_file(path), None)
108
+ + return cls(cls._template_from_file(path, filters), None)
109
+
110
+ @classmethod
111
+ - def _template_from_str(_, content: str) -> jinja2.Template:
112
+ + def _template_from_str(_, content: str, filters: Optional[Dict[str, Callable]] = None) -> jinja2.Template:
113
+ # Dedent, and remove extra linebreak
114
+ cleaned_template = inspect.cleandoc(content)
115
+
116
+ @@ -93,35 +144,23 @@ class Prompt:
117
+ # used to continue to the next line without linebreak.
118
+ cleaned_template = re.sub(r"(?![\r\n])(\b\s+)", " ", cleaned_template)
119
+
120
+ - env = jinja2.Environment(
121
+ - trim_blocks=True,
122
+ - lstrip_blocks=True,
123
+ - keep_trailing_newline=True,
124
+ - undefined=jinja2.StrictUndefined,
125
+ - )
126
+ - env.filters["name"] = get_fn_name
127
+ - env.filters["description"] = get_fn_description
128
+ - env.filters["source"] = get_fn_source
129
+ - env.filters["signature"] = get_fn_signature
130
+ - env.filters["schema"] = get_schema
131
+ - env.filters["args"] = get_fn_args
132
+ + env = create_jinja_env(filters=filters)
133
+
134
+ return env.from_string(cleaned_template)
135
+
136
+ @classmethod
137
+ - def _template_from_file(_, path: Path) -> jinja2.Template:
138
+ + def _template_from_file(_, path: Path, filters: Optional[Dict[str, Callable]] = None) -> jinja2.Template:
139
+ file_directory = os.path.dirname(os.path.abspath(path))
140
+ - env = jinja2.Environment(
141
+ - loader=jinja2.FileSystemLoader(file_directory),
142
+ - trim_blocks=True,
143
+ - lstrip_blocks=True,
144
+ - keep_trailing_newline=True,
145
+ - undefined=jinja2.StrictUndefined,
146
+ - )
147
+ + loader = jinja2.FileSystemLoader(file_directory)
148
+ + env = create_jinja_env(loader=loader, filters=filters)
149
+ return env.get_template(os.path.basename(path))
150
+
151
+
152
+ -def prompt(fn: Callable) -> Prompt:
153
+ +def prompt(
154
+ + fn_or_filters: Union[Callable, Dict[str, Callable], None] = None,
155
+ + *,
156
+ + filters: Optional[Dict[str, Callable]] = None,
157
+ +) -> Any:
158
+ """Decorate a function that contains a prompt template.
159
+
160
+ This allows to define prompts in the docstring of a function and simplify their
161
+ @@ -157,7 +196,23 @@ def prompt(fn: Callable) -> Prompt:
162
+ A `Prompt` callable class which will render the template when called.
163
+
164
+ """
165
+ + if callable(fn_or_filters):
166
+ + return _make_prompt(fn_or_filters)
167
+ +
168
+ + # Determine which filters to use
169
+ + actual_filters = {}
170
+ + if isinstance(fn_or_filters, dict):
171
+ + actual_filters.update(fn_or_filters)
172
+ + if filters is not None:
173
+ + actual_filters.update(filters)
174
+ +
175
+ + def decorator(fn: Callable) -> Prompt:
176
+ + return _make_prompt(fn, actual_filters)
177
+ +
178
+ + return decorator
179
+ +
180
+
181
+ +def _make_prompt(fn: Callable, filters: Optional[Dict[str, Callable]] = None) -> Prompt:
182
+ signature = inspect.signature(fn)
183
+
184
+ # The docstring contains the template that will be rendered to be used
185
+ @@ -166,7 +221,7 @@ def prompt(fn: Callable) -> Prompt:
186
+ if docstring is None:
187
+ raise TypeError("Could not find a template in the function's docstring.")
188
+
189
+ - template = Prompt._template_from_str(cast(str, docstring))
190
+ + template = Prompt._template_from_str(cast(str, docstring), filters=filters)
191
+
192
+ return Prompt(template, signature)
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f2/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 1,
6
+ 3
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nFeature patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nNo uv.lock found, installing manually...\nExtras unavailable; installing base package\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: xdist-3.8.0, mock-3.15.1\ncollecting ... collected 14 items\n\ntests/test_prompts.py::test_render PASSED [ 7%]\ntests/test_prompts.py::test_render_escaped_linebreak PASSED [ 14%]\ntests/test_prompts.py::test_render_jinja PASSED [ 21%]\ntests/test_prompts.py::test_prompt_basic PASSED [ 28%]\ntests/test_prompts.py::test_prompt_kwargs PASSED [ 35%]\ntests/test_prompts.py::test_no_prompt PASSED [ 42%]\ntests/test_prompts.py::test_prompt_function PASSED [ 50%]\ntests/test_prompts.py::test_prompt_pydantic_response PASSED [ 57%]\ntests/test_prompts.py::test_prompt_dict_response PASSED [ 64%]\ntests/test_prompts.py::test_prompt_args PASSED [ 71%]\ntests/test_prompts.py::test_prompt_with_additional_filters PASSED [ 78%]\ntests/test_prompts.py::test_prompt_from_file PASSED [ 85%]\ntests/test_prompts.py::test_prompt_from_str PASSED [ 92%]\ntests/test_prompts.py::test_template_from_str_with_extra_linebreaks PASSED [100%]\n\n============================== 14 passed in 4.20s ==============================\nTest execution completed!\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving .pytest_cache/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/generate/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving tests/__pycache__/\nRepository cleaned.\nUsing Python 3.11.14 environment at: /usr/local\nResolved 52 packages in 1.28s\n Building outlines @ file:///workspace/repo\n Built outlines @ file:///workspace/repo\nPrepared 1 package in 492ms\nUninstalled 2 packages in 3ms\nInstalled 2 packages in 8ms\n - outlines==0.1.12 (from file:///workspace/repo)\n + outlines==0.1.13.dev0+g7149a5e61.d20220101 (from file:///workspace/repo)\n - typing-extensions==4.12.2\n + typing-extensions==4.15.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 7ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": true,
16
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nFeature patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nNo uv.lock found, installing manually...\nExtras unavailable; installing base package\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: xdist-3.8.0, mock-3.15.1\ncollecting ... collected 24 items\n\ntests/test_prompts.py::test_render PASSED [ 4%]\ntests/test_prompts.py::test_render_escaped_linebreak PASSED [ 8%]\ntests/test_prompts.py::test_render_jinja PASSED [ 12%]\ntests/test_prompts.py::test_prompt_basic PASSED [ 16%]\ntests/test_prompts.py::test_prompt_kwargs PASSED [ 20%]\ntests/test_prompts.py::test_no_prompt PASSED [ 25%]\ntests/test_prompts.py::test_prompt_function PASSED [ 29%]\ntests/test_prompts.py::test_prompt_pydantic_response PASSED [ 33%]\ntests/test_prompts.py::test_prompt_dict_response PASSED [ 37%]\ntests/test_prompts.py::test_prompt_args PASSED [ 41%]\ntests/test_prompts.py::test_prompt_from_file PASSED [ 45%]\ntests/test_prompts.py::test_prompt_from_str PASSED [ 50%]\ntests/test_prompts.py::test_template_from_str_with_extra_linebreaks PASSED [ 54%]\ntests/test_prompts.py::test_conditional_filters_basic PASSED [ 58%]\ntests/test_prompts.py::test_conditional_filters_environment_variables PASSED [ 62%]\ntests/test_prompts.py::test_conditional_filters_priority PASSED [ 66%]\ntests/test_prompts.py::test_conditional_filters_no_match PASSED [ 70%]\ntests/test_prompts.py::test_conditional_filters_none PASSED [ 75%]\ntests/test_prompts.py::test_conditional_filters_empty PASSED [ 79%]\ntests/test_prompts.py::test_conditional_filters_invalid_condition PASSED [ 83%]\ntests/test_prompts.py::test_conditional_filters_multiple_filters PASSED [ 87%]\ntests/test_prompts.py::test_conditional_filters_with_existing_filters PASSED [ 91%]\ntests/test_prompts.py::test_conditional_filters_edge_cases PASSED [ 95%]\ntests/test_prompts.py::test_conditional_filters_performance PASSED [100%]\n\n============================== 24 passed in 3.12s ==============================\nTest execution completed!\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving .pytest_cache/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/generate/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving tests/__pycache__/\nRepository cleaned.\n/patches/tests2.patch:15: trailing whitespace.\n \n/patches/tests2.patch:18: trailing whitespace.\n \n/patches/tests2.patch:23: trailing whitespace.\n \n/patches/tests2.patch:26: trailing whitespace.\n \n/patches/tests2.patch:30: trailing whitespace.\n \nwarning: squelched 49 whitespace errors\nwarning: 54 lines add whitespace errors.\nUsing Python 3.11.14 environment at: /usr/local\nResolved 52 packages in 1.27s\n Building outlines @ file:///workspace/repo\n Built outlines @ file:///workspace/repo\nPrepared 1 package in 505ms\nUninstalled 1 package in 0.76ms\nInstalled 1 package in 2ms\n ~ outlines==0.1.13.dev0+g7149a5e61.d20220101 (from file:///workspace/repo)\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 7ms\n"
17
+ },
18
+ "both_passed": true,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:21:18.743361"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 1,
6
+ 3
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "14fb7948",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.001206",
14
+ "ended_at": "2026-02-14T21:20:23.194606",
15
+ "duration_seconds": 178.1934,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.12714895,
19
+ "steps": 17,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 253,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.12714895,
28
+ "total_steps": 17,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3/solo.patch ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/prompts.py b/outlines/prompts.py
2
+ index 86519ada..4209aff4 100644
3
+ --- a/outlines/prompts.py
4
+ +++ b/outlines/prompts.py
5
+ @@ -23,6 +23,8 @@ class Prompt:
6
+
7
+ template: jinja2.Template
8
+ signature: Optional[inspect.Signature]
9
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None
10
+ + template_source: str = ""
11
+
12
+ def __call__(self, *args, **kwargs) -> str:
13
+ """Render and return the template.
14
+ @@ -40,7 +42,12 @@ class Prompt:
15
+ return self.template.render(**kwargs)
16
+
17
+ @classmethod
18
+ - def from_str(cls, content: str):
19
+ + def from_str(
20
+ + cls,
21
+ + content: str,
22
+ + filters: Optional[Dict[str, Callable]] = None,
23
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
24
+ + ):
25
+ """
26
+ Create an instance of the class from a string.
27
+
28
+ @@ -48,15 +55,29 @@ class Prompt:
29
+ ----------
30
+ content : str
31
+ The string content to be converted into a template.
32
+ + filters : dict
33
+ + A dictionary mapping filter names to callable functions.
34
+ + conditional_filters : dict
35
+ + A mapping of condition names to filter sets.
36
+
37
+ Returns
38
+ -------
39
+ An instance of the class with the provided content as a template.
40
+ """
41
+ - return cls(cls._template_from_str(content), None)
42
+ + return cls(
43
+ + cls._template_from_str(content, filters, conditional_filters),
44
+ + None,
45
+ + conditional_filters=conditional_filters,
46
+ + template_source=content,
47
+ + )
48
+
49
+ @classmethod
50
+ - def from_file(cls, path: Path):
51
+ + def from_file(
52
+ + cls,
53
+ + path: Path,
54
+ + filters: Optional[Dict[str, Callable]] = None,
55
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
56
+ + ):
57
+ """
58
+ Create a Prompt instance from a file containing a Jinja template.
59
+
60
+ @@ -67,6 +88,10 @@ class Prompt:
61
+ ----------
62
+ path : Path
63
+ The path to the file containing the Jinja template.
64
+ + filters : dict
65
+ + A dictionary mapping filter names to callable functions.
66
+ + conditional_filters : dict
67
+ + A mapping of condition names to filter sets.
68
+
69
+ Returns
70
+ -------
71
+ @@ -75,10 +100,20 @@ class Prompt:
72
+ """
73
+ # We don't use a `Signature` here because it seems not feasible to infer one from a Jinja2 environment that is
74
+ # split across multiple files (since e.g. we support features like Jinja2 includes and template inheritance)
75
+ - return cls(cls._template_from_file(path), None)
76
+ + return cls(
77
+ + cls._template_from_file(path, filters, conditional_filters),
78
+ + None,
79
+ + conditional_filters=conditional_filters,
80
+ + template_source=str(path),
81
+ + )
82
+
83
+ @classmethod
84
+ - def _template_from_str(_, content: str) -> jinja2.Template:
85
+ + def _template_from_str(
86
+ + cls,
87
+ + content: str,
88
+ + filters: Optional[Dict[str, Callable]] = None,
89
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
90
+ + ) -> jinja2.Template:
91
+ # Dedent, and remove extra linebreak
92
+ cleaned_template = inspect.cleandoc(content)
93
+
94
+ @@ -93,35 +128,97 @@ class Prompt:
95
+ # used to continue to the next line without linebreak.
96
+ cleaned_template = re.sub(r"(?![\r\n])(\b\s+)", " ", cleaned_template)
97
+
98
+ - env = jinja2.Environment(
99
+ - trim_blocks=True,
100
+ - lstrip_blocks=True,
101
+ - keep_trailing_newline=True,
102
+ - undefined=jinja2.StrictUndefined,
103
+ + env = create_jinja_env(
104
+ + filters=filters, conditional_filters=conditional_filters
105
+ )
106
+ - env.filters["name"] = get_fn_name
107
+ - env.filters["description"] = get_fn_description
108
+ - env.filters["source"] = get_fn_source
109
+ - env.filters["signature"] = get_fn_signature
110
+ - env.filters["schema"] = get_schema
111
+ - env.filters["args"] = get_fn_args
112
+
113
+ return env.from_string(cleaned_template)
114
+
115
+ @classmethod
116
+ - def _template_from_file(_, path: Path) -> jinja2.Template:
117
+ + def _template_from_file(
118
+ + cls,
119
+ + path: Path,
120
+ + filters: Optional[Dict[str, Callable]] = None,
121
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
122
+ + ) -> jinja2.Template:
123
+ file_directory = os.path.dirname(os.path.abspath(path))
124
+ - env = jinja2.Environment(
125
+ + env = create_jinja_env(
126
+ loader=jinja2.FileSystemLoader(file_directory),
127
+ - trim_blocks=True,
128
+ - lstrip_blocks=True,
129
+ - keep_trailing_newline=True,
130
+ - undefined=jinja2.StrictUndefined,
131
+ + filters=filters,
132
+ + conditional_filters=conditional_filters,
133
+ )
134
+ return env.get_template(os.path.basename(path))
135
+
136
+
137
+ -def prompt(fn: Callable) -> Prompt:
138
+ +def resolve_active_condition(
139
+ + conditional_filters: Dict[str, Dict[str, Callable]]
140
+ +) -> Optional[str]:
141
+ + """Resolve the active condition based on environment variables."""
142
+ + if not conditional_filters:
143
+ + return None
144
+ +
145
+ + # Priority order: debug > production > testing
146
+ + if os.getenv("OUTLINES_DEBUG", "").lower() == "true":
147
+ + if "debug" in conditional_filters:
148
+ + return "debug"
149
+ +
150
+ + if os.getenv("ENVIRONMENT", "").lower() == "production":
151
+ + if "production" in conditional_filters:
152
+ + return "production"
153
+ +
154
+ + if (
155
+ + os.getenv("ENV", "").lower() == "testing"
156
+ + or os.getenv("OUTLINES_TESTING", "").lower() == "true"
157
+ + or os.getenv("TESTING_MODE", "").lower() == "on"
158
+ + ):
159
+ + if "testing" in conditional_filters:
160
+ + return "testing"
161
+ +
162
+ + # Fallback behavior: use the first condition alphabetically
163
+ + return sorted(conditional_filters.keys())[0]
164
+ +
165
+ +
166
+ +def create_jinja_env(
167
+ + loader: Optional[jinja2.BaseLoader] = None,
168
+ + filters: Optional[Dict[str, Callable]] = None,
169
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
170
+ +) -> jinja2.Environment:
171
+ + """Create a Jinja2 environment and register filters."""
172
+ + env = jinja2.Environment(
173
+ + loader=loader,
174
+ + trim_blocks=True,
175
+ + lstrip_blocks=True,
176
+ + keep_trailing_newline=True,
177
+ + undefined=jinja2.StrictUndefined,
178
+ + )
179
+ +
180
+ + # Register built-in filters
181
+ + env.filters["name"] = get_fn_name
182
+ + env.filters["description"] = get_fn_description
183
+ + env.filters["source"] = get_fn_source
184
+ + env.filters["signature"] = get_fn_signature
185
+ + env.filters["schema"] = get_schema
186
+ + env.filters["args"] = get_fn_args
187
+ +
188
+ + # Register custom filters
189
+ + if filters:
190
+ + env.filters.update(filters)
191
+ +
192
+ + # Register conditional filters
193
+ + if conditional_filters:
194
+ + active_condition = resolve_active_condition(conditional_filters)
195
+ + if active_condition:
196
+ + env.filters.update(conditional_filters[active_condition])
197
+ +
198
+ + return env
199
+ +
200
+ +
201
+ +def prompt(
202
+ + fn: Optional[Callable] = None,
203
+ + *,
204
+ + filters: Optional[Dict[str, Callable]] = None,
205
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
206
+ +) -> Any:
207
+ """Decorate a function that contains a prompt template.
208
+
209
+ This allows to define prompts in the docstring of a function and simplify their
210
+ @@ -157,7 +254,24 @@ def prompt(fn: Callable) -> Prompt:
211
+ A `Prompt` callable class which will render the template when called.
212
+
213
+ """
214
+ + if fn is not None:
215
+ + return _create_prompt(
216
+ + fn, filters=filters, conditional_filters=conditional_filters
217
+ + )
218
+
219
+ + def wrapper(fn: Callable) -> Prompt:
220
+ + return _create_prompt(
221
+ + fn, filters=filters, conditional_filters=conditional_filters
222
+ + )
223
+ +
224
+ + return wrapper
225
+ +
226
+ +
227
+ +def _create_prompt(
228
+ + fn: Callable,
229
+ + filters: Optional[Dict[str, Callable]] = None,
230
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
231
+ +) -> Prompt:
232
+ signature = inspect.signature(fn)
233
+
234
+ # The docstring contains the template that will be rendered to be used
235
+ @@ -166,9 +280,16 @@ def prompt(fn: Callable) -> Prompt:
236
+ if docstring is None:
237
+ raise TypeError("Could not find a template in the function's docstring.")
238
+
239
+ - template = Prompt._template_from_str(cast(str, docstring))
240
+ + template = Prompt._template_from_str(
241
+ + cast(str, docstring), filters=filters, conditional_filters=conditional_filters
242
+ + )
243
+
244
+ - return Prompt(template, signature)
245
+ + return Prompt(
246
+ + template,
247
+ + signature,
248
+ + conditional_filters=conditional_filters,
249
+ + template_source=docstring,
250
+ + )
251
+
252
+
253
+ def get_fn_name(fn: Callable):
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f3/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 1,
6
+ 4
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nFeature patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nNo uv.lock found, installing manually...\nExtras unavailable; installing base package\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: mock-3.15.1, xdist-3.8.0\ncollecting ... collected 14 items\n\ntests/test_prompts.py::test_render PASSED [ 7%]\ntests/test_prompts.py::test_render_escaped_linebreak PASSED [ 14%]\ntests/test_prompts.py::test_render_jinja PASSED [ 21%]\ntests/test_prompts.py::test_prompt_basic PASSED [ 28%]\ntests/test_prompts.py::test_prompt_kwargs PASSED [ 35%]\ntests/test_prompts.py::test_no_prompt PASSED [ 42%]\ntests/test_prompts.py::test_prompt_function PASSED [ 50%]\ntests/test_prompts.py::test_prompt_pydantic_response PASSED [ 57%]\ntests/test_prompts.py::test_prompt_dict_response PASSED [ 64%]\ntests/test_prompts.py::test_prompt_args PASSED [ 71%]\ntests/test_prompts.py::test_prompt_with_additional_filters PASSED [ 78%]\ntests/test_prompts.py::test_prompt_from_file PASSED [ 85%]\ntests/test_prompts.py::test_prompt_from_str PASSED [ 92%]\ntests/test_prompts.py::test_template_from_str_with_extra_linebreaks PASSED [100%]\n\n============================== 14 passed in 3.29s ==============================\nTest execution completed!\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving .pytest_cache/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/generate/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving tests/__pycache__/\nRepository cleaned.\nUsing Python 3.11.14 environment at: /usr/local\nResolved 52 packages in 1.02s\n Building outlines @ file:///workspace/repo\n Built outlines @ file:///workspace/repo\nPrepared 1 package in 426ms\nUninstalled 2 packages in 2ms\nInstalled 2 packages in 2ms\n - outlines==0.1.12 (from file:///workspace/repo)\n + outlines==0.1.13.dev0+g7149a5e61.d20220101 (from file:///workspace/repo)\n - typing-extensions==4.12.2\n + typing-extensions==4.15.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 6ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": false,
16
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nFeature patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nNo uv.lock found, installing manually...\nExtras unavailable; installing base package\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: mock-3.15.1, xdist-3.8.0\ncollecting ... collected 27 items\n\ntests/test_prompts.py::test_render PASSED [ 3%]\ntests/test_prompts.py::test_render_escaped_linebreak PASSED [ 7%]\ntests/test_prompts.py::test_render_jinja PASSED [ 11%]\ntests/test_prompts.py::test_prompt_basic PASSED [ 14%]\ntests/test_prompts.py::test_prompt_kwargs PASSED [ 18%]\ntests/test_prompts.py::test_no_prompt PASSED [ 22%]\ntests/test_prompts.py::test_prompt_function PASSED [ 25%]\ntests/test_prompts.py::test_prompt_pydantic_response PASSED [ 29%]\ntests/test_prompts.py::test_prompt_dict_response PASSED [ 33%]\ntests/test_prompts.py::test_prompt_args PASSED [ 37%]\ntests/test_prompts.py::test_prompt_from_file PASSED [ 40%]\ntests/test_prompts.py::test_prompt_from_str PASSED [ 44%]\ntests/test_prompts.py::test_template_from_str_with_extra_linebreaks PASSED [ 48%]\ntests/test_prompts.py::test_builtin_filters_string_utils PASSED [ 51%]\ntests/test_prompts.py::test_builtin_filters_math_utils PASSED [ 55%]\ntests/test_prompts.py::test_builtin_filters_format_utils FAILED [ 59%]\ntests/test_prompts.py::test_builtin_filters_multiple_categories PASSED [ 62%]\ntests/test_prompts.py::test_builtin_filters_empty_list PASSED [ 66%]\ntests/test_prompts.py::test_builtin_filters_none PASSED [ 70%]\ntests/test_prompts.py::test_builtin_filters_default_parameter PASSED [ 74%]\ntests/test_prompts.py::test_builtin_filters_invalid_category PASSED [ 77%]\ntests/test_prompts.py::test_builtin_filters_with_existing_filters PASSED [ 81%]\ntests/test_prompts.py::test_builtin_filters_edge_cases FAILED [ 85%]\ntests/test_prompts.py::test_builtin_filters_large_data PASSED [ 88%]\ntests/test_prompts.py::test_builtin_filters_parameter_validation PASSED [ 92%]\ntests/test_prompts.py::test_builtin_filters_integration PASSED [ 96%]\ntests/test_prompts.py::test_builtin_filters_performance PASSED [100%]\n\n=================================== FAILURES ===================================\n______________________ test_builtin_filters_format_utils _______________________\n\n def test_builtin_filters_format_utils():\n \"\"\"Test formatting utility filters.\"\"\"\n data = {\"name\": \"test\", \"value\": 42}\n \n prompt = Prompt.from_str(\"{{ data | json }}\", builtin_filters=[\"format_utils\"])\n result = prompt(data=data)\n assert '\"name\": \"test\"' in result\n assert '\"value\": 42' in result\n \n> prompt = Prompt.from_str(\"{{ data | yaml }}\", builtin_filters=[\"format_utils\"])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ntests/test_prompts.py:439: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \noutlines/prompts.py:68: in from_str\n return cls(cls._template_from_str(content, filters, builtin_filters), None)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\noutlines/prompts.py:124: in _template_from_str\n return env.from_string(cleaned_template)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/jinja2/environment.py:1111: in from_string\n return cls.from_code(self, self.compile(source), gs, None)\n ^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/jinja2/environment.py:771: in compile\n self.handle_exception(source=source_hint)\n/usr/local/lib/python3.11/site-packages/jinja2/environment.py:942: in handle_exception\n raise rewrite_traceback_stack(source=source)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n> ???\nE jinja2.exceptions.TemplateAssertionError: No filter named 'yaml'.\n\n<unknown>:1: TemplateAssertionError\n_______________________ test_builtin_filters_edge_cases ________________________\n\n def test_builtin_filters_edge_cases():\n \"\"\"Test edge cases for builtin filters.\"\"\"\n # Test with numbers converted to strings\n prompt = Prompt.from_str(\"{{ value | upper }}\", builtin_filters=[\"string_utils\"])\n> assert prompt(value=123) == \"123\"\n ^^^^^^^^^^^^^^^^^\n\ntests/test_prompts.py:497: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \noutlines/prompts.py:43: in __call__\n return self.template.render(**kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/jinja2/environment.py:1295: in render\n self.environment.handle_exception()\n/usr/local/lib/python3.11/site-packages/jinja2/environment.py:942: in handle_exception\n raise rewrite_traceback_stack(source=source)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n> ???\nE TypeError: descriptor 'upper' for 'str' objects doesn't apply to a 'int' object\n\n<template>:1: TypeError\n=========================== short test summary info ============================\nFAILED tests/test_prompts.py::test_builtin_filters_format_utils - jinja2.exce...\nFAILED tests/test_prompts.py::test_builtin_filters_edge_cases - TypeError: de...\n========================= 2 failed, 25 passed in 2.46s =========================\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving .pytest_cache/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/generate/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving tests/__pycache__/\nRepository cleaned.\n/patches/tests2.patch:16: trailing whitespace.\n \n/patches/tests2.patch:19: trailing whitespace.\n \n/patches/tests2.patch:28: trailing whitespace.\n \n/patches/tests2.patch:36: trailing whitespace.\n \n/patches/tests2.patch:41: trailing whitespace.\n \nwarning: squelched 15 whitespace errors\nwarning: 20 lines add whitespace errors.\nUsing Python 3.11.14 environment at: /usr/local\nResolved 52 packages in 1.04s\n Building outlines @ file:///workspace/repo\n Built outlines @ file:///workspace/repo\nPrepared 1 package in 434ms\nUninstalled 1 package in 0.80ms\nInstalled 1 package in 1ms\n ~ outlines==0.1.13.dev0+g7149a5e61.d20220101 (from file:///workspace/repo)\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 6ms\n"
17
+ },
18
+ "both_passed": false,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:21:18.368631"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 1,
6
+ 4
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "54683c05",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.001287",
14
+ "ended_at": "2026-02-14T21:20:34.112484",
15
+ "duration_seconds": 189.111197,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.14717239999999998,
19
+ "steps": 15,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 259,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.14717239999999998,
28
+ "total_steps": 15,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4/solo.patch ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/prompts.py b/outlines/prompts.py
2
+ index 86519ada..d2c69268 100644
3
+ --- a/outlines/prompts.py
4
+ +++ b/outlines/prompts.py
5
+ @@ -1,12 +1,15 @@
6
+ +import csv
7
+ import functools
8
+ +import html
9
+ import inspect
10
+ +import io
11
+ import json
12
+ import os
13
+ import re
14
+ import textwrap
15
+ from dataclasses import dataclass
16
+ from pathlib import Path
17
+ -from typing import Any, Callable, Dict, Optional, Type, cast
18
+ +from typing import Any, Callable, Dict, List, Optional, Type, Union, cast
19
+
20
+ import jinja2
21
+ import pydantic
22
+ @@ -40,7 +43,12 @@ class Prompt:
23
+ return self.template.render(**kwargs)
24
+
25
+ @classmethod
26
+ - def from_str(cls, content: str):
27
+ + def from_str(
28
+ + cls,
29
+ + content: str,
30
+ + filters: Optional[Dict[str, Callable]] = None,
31
+ + builtin_filters: Optional[List[str]] = None,
32
+ + ):
33
+ """
34
+ Create an instance of the class from a string.
35
+
36
+ @@ -48,15 +56,24 @@ class Prompt:
37
+ ----------
38
+ content : str
39
+ The string content to be converted into a template.
40
+ + filters : Optional[Dict[str, Callable]]
41
+ + A dictionary mapping filter names to callable functions.
42
+ + builtin_filters : Optional[List[str]]
43
+ + A list of filter category names to load.
44
+
45
+ Returns
46
+ -------
47
+ An instance of the class with the provided content as a template.
48
+ """
49
+ - return cls(cls._template_from_str(content), None)
50
+ + return cls(cls._template_from_str(content, filters, builtin_filters), None)
51
+
52
+ @classmethod
53
+ - def from_file(cls, path: Path):
54
+ + def from_file(
55
+ + cls,
56
+ + path: Path,
57
+ + filters: Optional[Dict[str, Callable]] = None,
58
+ + builtin_filters: Optional[List[str]] = None,
59
+ + ):
60
+ """
61
+ Create a Prompt instance from a file containing a Jinja template.
62
+
63
+ @@ -67,6 +84,10 @@ class Prompt:
64
+ ----------
65
+ path : Path
66
+ The path to the file containing the Jinja template.
67
+ + filters : Optional[Dict[str, Callable]]
68
+ + A dictionary mapping filter names to callable functions.
69
+ + builtin_filters : Optional[List[str]]
70
+ + A list of filter category names to load.
71
+
72
+ Returns
73
+ -------
74
+ @@ -75,10 +96,15 @@ class Prompt:
75
+ """
76
+ # We don't use a `Signature` here because it seems not feasible to infer one from a Jinja2 environment that is
77
+ # split across multiple files (since e.g. we support features like Jinja2 includes and template inheritance)
78
+ - return cls(cls._template_from_file(path), None)
79
+ + return cls(cls._template_from_file(path, filters, builtin_filters), None)
80
+
81
+ @classmethod
82
+ - def _template_from_str(_, content: str) -> jinja2.Template:
83
+ + def _template_from_str(
84
+ + cls,
85
+ + content: str,
86
+ + filters: Optional[Dict[str, Callable]] = None,
87
+ + builtin_filters: Optional[List[str]] = None,
88
+ + ) -> jinja2.Template:
89
+ # Dedent, and remove extra linebreak
90
+ cleaned_template = inspect.cleandoc(content)
91
+
92
+ @@ -93,35 +119,31 @@ class Prompt:
93
+ # used to continue to the next line without linebreak.
94
+ cleaned_template = re.sub(r"(?![\r\n])(\b\s+)", " ", cleaned_template)
95
+
96
+ - env = jinja2.Environment(
97
+ - trim_blocks=True,
98
+ - lstrip_blocks=True,
99
+ - keep_trailing_newline=True,
100
+ - undefined=jinja2.StrictUndefined,
101
+ - )
102
+ - env.filters["name"] = get_fn_name
103
+ - env.filters["description"] = get_fn_description
104
+ - env.filters["source"] = get_fn_source
105
+ - env.filters["signature"] = get_fn_signature
106
+ - env.filters["schema"] = get_schema
107
+ - env.filters["args"] = get_fn_args
108
+ + env = create_jinja_env(filters=filters, builtin_filters=builtin_filters)
109
+
110
+ return env.from_string(cleaned_template)
111
+
112
+ @classmethod
113
+ - def _template_from_file(_, path: Path) -> jinja2.Template:
114
+ + def _template_from_file(
115
+ + cls,
116
+ + path: Path,
117
+ + filters: Optional[Dict[str, Callable]] = None,
118
+ + builtin_filters: Optional[List[str]] = None,
119
+ + ) -> jinja2.Template:
120
+ file_directory = os.path.dirname(os.path.abspath(path))
121
+ - env = jinja2.Environment(
122
+ - loader=jinja2.FileSystemLoader(file_directory),
123
+ - trim_blocks=True,
124
+ - lstrip_blocks=True,
125
+ - keep_trailing_newline=True,
126
+ - undefined=jinja2.StrictUndefined,
127
+ + loader = jinja2.FileSystemLoader(file_directory)
128
+ + env = create_jinja_env(
129
+ + loader=loader, filters=filters, builtin_filters=builtin_filters
130
+ )
131
+ return env.get_template(os.path.basename(path))
132
+
133
+
134
+ -def prompt(fn: Callable) -> Prompt:
135
+ +def prompt(
136
+ + fn: Optional[Callable] = None,
137
+ + *,
138
+ + filters: Optional[Dict[str, Callable]] = None,
139
+ + builtin_filters: Optional[List[str]] = None,
140
+ +) -> Union[Prompt, Callable[[Callable], Prompt]]:
141
+ """Decorate a function that contains a prompt template.
142
+
143
+ This allows to define prompts in the docstring of a function and simplify their
144
+ @@ -158,17 +180,25 @@ def prompt(fn: Callable) -> Prompt:
145
+
146
+ """
147
+
148
+ - signature = inspect.signature(fn)
149
+ + def decorator(f: Callable) -> Prompt:
150
+ + signature = inspect.signature(f)
151
+
152
+ - # The docstring contains the template that will be rendered to be used
153
+ - # as a prompt to the language model.
154
+ - docstring = fn.__doc__
155
+ - if docstring is None:
156
+ - raise TypeError("Could not find a template in the function's docstring.")
157
+ + # The docstring contains the template that will be rendered to be used
158
+ + # as a prompt to the language model.
159
+ + docstring = f.__doc__
160
+ + if docstring is None:
161
+ + raise TypeError("Could not find a template in the function's docstring.")
162
+
163
+ - template = Prompt._template_from_str(cast(str, docstring))
164
+ + template = Prompt._template_from_str(
165
+ + cast(str, docstring), filters=filters, builtin_filters=builtin_filters
166
+ + )
167
+ +
168
+ + return Prompt(template, signature)
169
+
170
+ - return Prompt(template, signature)
171
+ + if fn is None:
172
+ + return decorator
173
+ + else:
174
+ + return decorator(fn)
175
+
176
+
177
+ def get_fn_name(fn: Callable):
178
+ @@ -293,3 +323,81 @@ def parse_pydantic_schema(raw_schema, definitions):
179
+ simple_schema[name] = f"<{name}>"
180
+
181
+ return simple_schema
182
+ +
183
+ +
184
+ +def to_csv(data):
185
+ + output = io.StringIO()
186
+ + writer = csv.writer(output)
187
+ + if isinstance(data, list) and len(data) > 0 and isinstance(data[0], list):
188
+ + writer.writerows(data)
189
+ + elif isinstance(data, list):
190
+ + writer.writerow(data)
191
+ + else:
192
+ + writer.writerow([data])
193
+ + return output.getvalue().strip()
194
+ +
195
+ +
196
+ +BUILTIN_FILTERS = {
197
+ + "string_utils": {
198
+ + "upper": str.upper,
199
+ + "lower": str.lower,
200
+ + "title": str.title,
201
+ + "reverse": lambda s: s[::-1],
202
+ + "truncate": lambda s, length=255, end="...": (
203
+ + s[:length] + end if len(s) > length else s
204
+ + ),
205
+ + "padding": lambda s, width, fillchar=" ": s.ljust(width, fillchar),
206
+ + },
207
+ + "math_utils": {
208
+ + "add": lambda x, y: x + y,
209
+ + "subtract": lambda x, y: x - y,
210
+ + "multiply": lambda x, y: x * y,
211
+ + "divide": lambda x, y: x / y,
212
+ + "abs": abs,
213
+ + "round": round,
214
+ + "min": min,
215
+ + "max": max,
216
+ + },
217
+ + "format_utils": {
218
+ + "json": lambda x, **kwargs: json.dumps(x, **kwargs),
219
+ + "csv": to_csv,
220
+ + "indent": lambda s, width=4: textwrap.indent(s, " " * width),
221
+ + "wrap": lambda s, width=70: textwrap.fill(s, width),
222
+ + "escape": html.escape,
223
+ + "unescape": html.unescape,
224
+ + },
225
+ +}
226
+ +
227
+ +
228
+ +def create_jinja_env(
229
+ + loader: Optional[jinja2.BaseLoader] = None,
230
+ + filters: Optional[Dict[str, Callable]] = None,
231
+ + builtin_filters: Optional[List[str]] = None,
232
+ +) -> jinja2.Environment:
233
+ + env = jinja2.Environment(
234
+ + loader=loader,
235
+ + trim_blocks=True,
236
+ + lstrip_blocks=True,
237
+ + keep_trailing_newline=True,
238
+ + undefined=jinja2.StrictUndefined,
239
+ + )
240
+ +
241
+ + if builtin_filters:
242
+ + for category in builtin_filters:
243
+ + if category not in BUILTIN_FILTERS:
244
+ + raise ValueError(f"Unknown builtin filter category: {category}")
245
+ + for name, filter_fn in BUILTIN_FILTERS[category].items():
246
+ + env.filters[name] = filter_fn
247
+ +
248
+ + # Add standard Outlines filters. These take precedence over builtin filters.
249
+ + env.filters["name"] = get_fn_name
250
+ + env.filters["description"] = get_fn_description
251
+ + env.filters["source"] = get_fn_source
252
+ + env.filters["signature"] = get_fn_signature
253
+ + env.filters["schema"] = get_schema
254
+ + env.filters["args"] = get_fn_args
255
+ +
256
+ + if filters:
257
+ + env.filters.update(filters)
258
+ +
259
+ + return env
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f1_f4/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 2,
6
+ 3
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nFeature patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nNo uv.lock found, installing manually...\nExtras unavailable; installing base package\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: mock-3.15.1, xdist-3.8.0\ncollecting ... collected 20 items\n\ntests/test_prompts.py::test_render PASSED [ 5%]\ntests/test_prompts.py::test_render_escaped_linebreak PASSED [ 10%]\ntests/test_prompts.py::test_render_jinja PASSED [ 15%]\ntests/test_prompts.py::test_prompt_basic PASSED [ 20%]\ntests/test_prompts.py::test_prompt_kwargs PASSED [ 25%]\ntests/test_prompts.py::test_no_prompt PASSED [ 30%]\ntests/test_prompts.py::test_prompt_function PASSED [ 35%]\ntests/test_prompts.py::test_prompt_pydantic_response PASSED [ 40%]\ntests/test_prompts.py::test_prompt_dict_response PASSED [ 45%]\ntests/test_prompts.py::test_prompt_args PASSED [ 50%]\ntests/test_prompts.py::test_prompt_from_file PASSED [ 55%]\ntests/test_prompts.py::test_prompt_from_str PASSED [ 60%]\ntests/test_prompts.py::test_template_from_str_with_extra_linebreaks PASSED [ 65%]\ntests/test_prompts.py::test_register_filter_basic PASSED [ 70%]\ntests/test_prompts.py::test_unregister_filter PASSED [ 75%]\ntests/test_prompts.py::test_global_filters_in_prompt_decorator PASSED [ 80%]\ntests/test_prompts.py::test_global_filters_in_from_str PASSED [ 85%]\ntests/test_prompts.py::test_global_filters_in_from_file PASSED [ 90%]\ntests/test_prompts.py::test_multiple_global_filters PASSED [ 95%]\ntests/test_prompts.py::test_filter_with_arguments PASSED [100%]\n\n============================== 20 passed in 3.40s ==============================\nTest execution completed!\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving .pytest_cache/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/generate/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving tests/__pycache__/\nRepository cleaned.\n/patches/tests1.patch:31: trailing whitespace.\n \n/patches/tests1.patch:37: trailing whitespace.\n \n/patches/tests1.patch:46: trailing whitespace.\n \n/patches/tests1.patch:52: trailing whitespace.\n \n/patches/tests1.patch:55: trailing whitespace.\n \nwarning: squelched 19 whitespace errors\nwarning: 24 lines add whitespace errors.\n/patches/solo.patch:72: trailing whitespace.\n if (os.getenv(\"ENV\", \"\").lower() == \"testing\" or \n/patches/solo.patch:73: trailing whitespace.\n os.getenv(\"OUTLINES_TESTING\", \"\").lower() == \"true\" or \n/patches/solo.patch:76: trailing whitespace.\n \nwarning: 3 lines add whitespace errors.\nUsing Python 3.11.14 environment at: /usr/local\nResolved 52 packages in 1.05s\n Building outlines @ file:///workspace/repo\n Built outlines @ file:///workspace/repo\nPrepared 1 package in 440ms\nUninstalled 2 packages in 2ms\nInstalled 2 packages in 4ms\n - outlines==0.1.12 (from file:///workspace/repo)\n + outlines==0.1.13.dev0+g7149a5e61.d20220101 (from file:///workspace/repo)\n - typing-extensions==4.12.2\n + typing-extensions==4.15.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 7ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": true,
16
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nFeature patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nNo uv.lock found, installing manually...\nExtras unavailable; installing base package\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: mock-3.15.1, xdist-3.8.0\ncollecting ... collected 24 items\n\ntests/test_prompts.py::test_render PASSED [ 4%]\ntests/test_prompts.py::test_render_escaped_linebreak PASSED [ 8%]\ntests/test_prompts.py::test_render_jinja PASSED [ 12%]\ntests/test_prompts.py::test_prompt_basic PASSED [ 16%]\ntests/test_prompts.py::test_prompt_kwargs PASSED [ 20%]\ntests/test_prompts.py::test_no_prompt PASSED [ 25%]\ntests/test_prompts.py::test_prompt_function PASSED [ 29%]\ntests/test_prompts.py::test_prompt_pydantic_response PASSED [ 33%]\ntests/test_prompts.py::test_prompt_dict_response PASSED [ 37%]\ntests/test_prompts.py::test_prompt_args PASSED [ 41%]\ntests/test_prompts.py::test_prompt_from_file PASSED [ 45%]\ntests/test_prompts.py::test_prompt_from_str PASSED [ 50%]\ntests/test_prompts.py::test_template_from_str_with_extra_linebreaks PASSED [ 54%]\ntests/test_prompts.py::test_conditional_filters_basic PASSED [ 58%]\ntests/test_prompts.py::test_conditional_filters_environment_variables PASSED [ 62%]\ntests/test_prompts.py::test_conditional_filters_priority PASSED [ 66%]\ntests/test_prompts.py::test_conditional_filters_no_match PASSED [ 70%]\ntests/test_prompts.py::test_conditional_filters_none PASSED [ 75%]\ntests/test_prompts.py::test_conditional_filters_empty PASSED [ 79%]\ntests/test_prompts.py::test_conditional_filters_invalid_condition PASSED [ 83%]\ntests/test_prompts.py::test_conditional_filters_multiple_filters PASSED [ 87%]\ntests/test_prompts.py::test_conditional_filters_with_existing_filters PASSED [ 91%]\ntests/test_prompts.py::test_conditional_filters_edge_cases PASSED [ 95%]\ntests/test_prompts.py::test_conditional_filters_performance PASSED [100%]\n\n============================== 24 passed in 2.34s ==============================\nTest execution completed!\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving .pytest_cache/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/generate/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving tests/__pycache__/\nRepository cleaned.\n/patches/tests2.patch:15: trailing whitespace.\n \n/patches/tests2.patch:18: trailing whitespace.\n \n/patches/tests2.patch:23: trailing whitespace.\n \n/patches/tests2.patch:26: trailing whitespace.\n \n/patches/tests2.patch:30: trailing whitespace.\n \nwarning: squelched 49 whitespace errors\nwarning: 54 lines add whitespace errors.\n/patches/solo.patch:72: trailing whitespace.\n if (os.getenv(\"ENV\", \"\").lower() == \"testing\" or \n/patches/solo.patch:73: trailing whitespace.\n os.getenv(\"OUTLINES_TESTING\", \"\").lower() == \"true\" or \n/patches/solo.patch:76: trailing whitespace.\n \nwarning: 3 lines add whitespace errors.\nUsing Python 3.11.14 environment at: /usr/local\nResolved 52 packages in 1.06s\n Building outlines @ file:///workspace/repo\n Built outlines @ file:///workspace/repo\nPrepared 1 package in 440ms\nUninstalled 1 package in 0.71ms\nInstalled 1 package in 1ms\n ~ outlines==0.1.13.dev0+g7149a5e61.d20220101 (from file:///workspace/repo)\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 6ms\n"
17
+ },
18
+ "both_passed": true,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:22:08.592058"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 2,
6
+ 3
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "157bd206",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.001345",
14
+ "ended_at": "2026-02-14T21:21:27.236827",
15
+ "duration_seconds": 242.235482,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.17594500000000002,
19
+ "steps": 33,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 211,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.17594500000000002,
28
+ "total_steps": 33,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3/solo.patch ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/prompts.py b/outlines/prompts.py
2
+ index 86519ada..dc34604d 100644
3
+ --- a/outlines/prompts.py
4
+ +++ b/outlines/prompts.py
5
+ @@ -4,13 +4,39 @@ import json
6
+ import os
7
+ import re
8
+ import textwrap
9
+ -from dataclasses import dataclass
10
+ +from dataclasses import dataclass, field
11
+ from pathlib import Path
12
+ from typing import Any, Callable, Dict, Optional, Type, cast
13
+
14
+ import jinja2
15
+ import pydantic
16
+
17
+ +GLOBAL_FILTERS: Dict[str, Callable] = {}
18
+ +
19
+ +
20
+ +def register_filter(name: str, func: Callable):
21
+ + """Register a global template filter.
22
+ +
23
+ + Parameters
24
+ + ----------
25
+ + name : str
26
+ + The name of the filter.
27
+ + func : Callable
28
+ + The function that implements the filter.
29
+ + """
30
+ + GLOBAL_FILTERS[name] = func
31
+ +
32
+ +
33
+ +def unregister_filter(name: str):
34
+ + """Unregister a global template filter.
35
+ +
36
+ + Parameters
37
+ + ----------
38
+ + name : str
39
+ + The name of the filter to unregister.
40
+ + """
41
+ + GLOBAL_FILTERS.pop(name, None)
42
+ +
43
+
44
+ @dataclass
45
+ class Prompt:
46
+ @@ -23,6 +49,35 @@ class Prompt:
47
+
48
+ template: jinja2.Template
49
+ signature: Optional[inspect.Signature]
50
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None
51
+ + template_source: str = ""
52
+ +
53
+ + def __post_init__(self):
54
+ + """Apply conditional filters if provided."""
55
+ + if self.conditional_filters:
56
+ + condition = self._resolve_condition(self.conditional_filters)
57
+ + if condition:
58
+ + filters = self.conditional_filters[condition]
59
+ + self.template.environment.filters.update(filters)
60
+ +
61
+ + @staticmethod
62
+ + def _resolve_condition(conditional_filters: Dict[str, Dict[str, Callable]]) -> Optional[str]:
63
+ + """Resolve the active condition based on environment variables."""
64
+ + if not conditional_filters:
65
+ + return None
66
+ +
67
+ + # Priority order: debug > production > testing
68
+ + if os.getenv("OUTLINES_DEBUG", "").lower() == "true" and "debug" in conditional_filters:
69
+ + return "debug"
70
+ + if os.getenv("ENVIRONMENT", "").lower() == "production" and "production" in conditional_filters:
71
+ + return "production"
72
+ + if (os.getenv("ENV", "").lower() == "testing" or
73
+ + os.getenv("OUTLINES_TESTING", "").lower() == "true" or
74
+ + os.getenv("TESTING_MODE", "").lower() == "on") and "testing" in conditional_filters:
75
+ + return "testing"
76
+ +
77
+ + # Fallback: first condition alphabetically
78
+ + return sorted(conditional_filters.keys())[0]
79
+
80
+ def __call__(self, *args, **kwargs) -> str:
81
+ """Render and return the template.
82
+ @@ -40,7 +95,7 @@ class Prompt:
83
+ return self.template.render(**kwargs)
84
+
85
+ @classmethod
86
+ - def from_str(cls, content: str):
87
+ + def from_str(cls, content: str, conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None):
88
+ """
89
+ Create an instance of the class from a string.
90
+
91
+ @@ -48,15 +103,23 @@ class Prompt:
92
+ ----------
93
+ content : str
94
+ The string content to be converted into a template.
95
+ + conditional_filters : Optional[Dict[str, Dict[str, Callable]]]
96
+ + A mapping of condition names to filter sets.
97
+
98
+ Returns
99
+ -------
100
+ An instance of the class with the provided content as a template.
101
+ """
102
+ - return cls(cls._template_from_str(content), None)
103
+ + extra_filters = {}
104
+ + if conditional_filters:
105
+ + condition = cls._resolve_condition(conditional_filters)
106
+ + if condition:
107
+ + extra_filters = conditional_filters[condition]
108
+ +
109
+ + return cls(cls._template_from_str(content, extra_filters), None, conditional_filters, content)
110
+
111
+ @classmethod
112
+ - def from_file(cls, path: Path):
113
+ + def from_file(cls, path: Path, conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None):
114
+ """
115
+ Create a Prompt instance from a file containing a Jinja template.
116
+
117
+ @@ -67,6 +130,8 @@ class Prompt:
118
+ ----------
119
+ path : Path
120
+ The path to the file containing the Jinja template.
121
+ + conditional_filters : Optional[Dict[str, Dict[str, Callable]]]
122
+ + A mapping of condition names to filter sets.
123
+
124
+ Returns
125
+ -------
126
+ @@ -75,10 +140,16 @@ class Prompt:
127
+ """
128
+ # We don't use a `Signature` here because it seems not feasible to infer one from a Jinja2 environment that is
129
+ # split across multiple files (since e.g. we support features like Jinja2 includes and template inheritance)
130
+ - return cls(cls._template_from_file(path), None)
131
+ + extra_filters = {}
132
+ + if conditional_filters:
133
+ + condition = cls._resolve_condition(conditional_filters)
134
+ + if condition:
135
+ + extra_filters = conditional_filters[condition]
136
+ +
137
+ + return cls(cls._template_from_file(path, extra_filters), None, conditional_filters, str(path))
138
+
139
+ @classmethod
140
+ - def _template_from_str(_, content: str) -> jinja2.Template:
141
+ + def _template_from_str(_, content: str, extra_filters: Dict[str, Callable] = {}) -> jinja2.Template:
142
+ # Dedent, and remove extra linebreak
143
+ cleaned_template = inspect.cleandoc(content)
144
+
145
+ @@ -99,6 +170,8 @@ class Prompt:
146
+ keep_trailing_newline=True,
147
+ undefined=jinja2.StrictUndefined,
148
+ )
149
+ + env.filters.update(GLOBAL_FILTERS)
150
+ + env.filters.update(extra_filters)
151
+ env.filters["name"] = get_fn_name
152
+ env.filters["description"] = get_fn_description
153
+ env.filters["source"] = get_fn_source
154
+ @@ -109,7 +182,7 @@ class Prompt:
155
+ return env.from_string(cleaned_template)
156
+
157
+ @classmethod
158
+ - def _template_from_file(_, path: Path) -> jinja2.Template:
159
+ + def _template_from_file(_, path: Path, extra_filters: Dict[str, Callable] = {}) -> jinja2.Template:
160
+ file_directory = os.path.dirname(os.path.abspath(path))
161
+ env = jinja2.Environment(
162
+ loader=jinja2.FileSystemLoader(file_directory),
163
+ @@ -118,10 +191,19 @@ class Prompt:
164
+ keep_trailing_newline=True,
165
+ undefined=jinja2.StrictUndefined,
166
+ )
167
+ + env.filters.update(GLOBAL_FILTERS)
168
+ + env.filters.update(extra_filters)
169
+ + env.filters["name"] = get_fn_name
170
+ + env.filters["description"] = get_fn_description
171
+ + env.filters["source"] = get_fn_source
172
+ + env.filters["signature"] = get_fn_signature
173
+ + env.filters["schema"] = get_schema
174
+ + env.filters["args"] = get_fn_args
175
+ +
176
+ return env.get_template(os.path.basename(path))
177
+
178
+
179
+ -def prompt(fn: Callable) -> Prompt:
180
+ +def prompt(fn: Optional[Callable] = None, *, conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None) -> Any:
181
+ """Decorate a function that contains a prompt template.
182
+
183
+ This allows to define prompts in the docstring of a function and simplify their
184
+ @@ -157,6 +239,8 @@ def prompt(fn: Callable) -> Prompt:
185
+ A `Prompt` callable class which will render the template when called.
186
+
187
+ """
188
+ + if fn is None:
189
+ + return functools.partial(prompt, conditional_filters=conditional_filters)
190
+
191
+ signature = inspect.signature(fn)
192
+
193
+ @@ -166,9 +250,16 @@ def prompt(fn: Callable) -> Prompt:
194
+ if docstring is None:
195
+ raise TypeError("Could not find a template in the function's docstring.")
196
+
197
+ - template = Prompt._template_from_str(cast(str, docstring))
198
+ + extra_filters = {}
199
+ + if conditional_filters:
200
+ + extra_filters = {}
201
+ + condition = Prompt._resolve_condition(conditional_filters)
202
+ + if condition:
203
+ + extra_filters = conditional_filters[condition]
204
+ +
205
+ + template = Prompt._template_from_str(cast(str, docstring), extra_filters)
206
+
207
+ - return Prompt(template, signature)
208
+ + return Prompt(template, signature, conditional_filters=conditional_filters, template_source=cast(str, docstring))
209
+
210
+
211
+ def get_fn_name(fn: Callable):
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f3/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 2,
6
+ 4
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": false,
12
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nWarning: Feature patch check failed. Attempting to apply anyway...\nError: Failed to apply feature patch.\nPatch file: /patches/solo.patch\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRepository cleaned.\n/patches/tests1.patch:31: trailing whitespace.\n \n/patches/tests1.patch:37: trailing whitespace.\n \n/patches/tests1.patch:46: trailing whitespace.\n \n/patches/tests1.patch:52: trailing whitespace.\n \n/patches/tests1.patch:55: trailing whitespace.\n \nwarning: squelched 19 whitespace errors\nwarning: 24 lines add whitespace errors.\nerror: corrupt patch at line 153\n"
13
+ },
14
+ "feature2": {
15
+ "passed": false,
16
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nWarning: Feature patch check failed. Attempting to apply anyway...\nError: Failed to apply feature patch.\nPatch file: /patches/solo.patch\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRepository cleaned.\n/patches/tests2.patch:16: trailing whitespace.\n \n/patches/tests2.patch:19: trailing whitespace.\n \n/patches/tests2.patch:28: trailing whitespace.\n \n/patches/tests2.patch:36: trailing whitespace.\n \n/patches/tests2.patch:41: trailing whitespace.\n \nwarning: squelched 15 whitespace errors\nwarning: 20 lines add whitespace errors.\nerror: corrupt patch at line 153\n"
17
+ },
18
+ "both_passed": false,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:20:22.537961"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 2,
6
+ 4
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "f63099c2",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.001441",
14
+ "ended_at": "2026-02-14T21:20:09.842893",
15
+ "duration_seconds": 164.841452,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.13430654999999997,
19
+ "steps": 24,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 152,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.13430654999999997,
28
+ "total_steps": 24,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4/solo.patch ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/prompts.py b/outlines/prompts.py
2
+ index 86519ada..fc2bbad9 100644
3
+ --- a/outlines/prompts.py
4
+ +++ b/outlines/prompts.py
5
+ @@ -1,4 +1,5 @@
6
+ import functools
7
+ +import html
8
+ import inspect
9
+ import json
10
+ import os
11
+ @@ -6,12 +7,59 @@ import re
12
+ import textwrap
13
+ from dataclasses import dataclass
14
+ from pathlib import Path
15
+ -from typing import Any, Callable, Dict, Optional, Type, cast
16
+ +from typing import Any, Callable, Dict, List, Optional, Type, cast
17
+
18
+ import jinja2
19
+ import pydantic
20
+
21
+
22
+ +_GLOBAL_FILTERS: Dict[str, Callable] = {}
23
+ +
24
+ +
25
+ +def register_filter(name: str, func: Callable):
26
+ + """Register a global filter."""
27
+ + _GLOBAL_FILTERS[name] = func
28
+ +
29
+ +
30
+ +def unregister_filter(name: str):
31
+ + """Unregister a global filter."""
32
+ + _GLOBAL_FILTERS.pop(name, None)
33
+ +
34
+ +
35
+ +def padding(text, width, char=" "):
36
+ + return str(text).ljust(width, char)
37
+ +
38
+ +
39
+ +BUILTIN_FILTERS = {
40
+ + "string_utils": {
41
+ + "upper": str.upper,
42
+ + "lower": str.lower,
43
+ + "title": str.title,
44
+ + "reverse": lambda s: s[::-1],
45
+ + "truncate": lambda s, length: s[:length],
46
+ + "padding": padding,
47
+ + },
48
+ + "math_utils": {
49
+ + "add": lambda x, y: x + y,
50
+ + "subtract": lambda x, y: x - y,
51
+ + "multiply": lambda x, y: x * y,
52
+ + "divide": lambda x, y: x / y,
53
+ + "abs": abs,
54
+ + "round": round,
55
+ + "min": min,
56
+ + "max": max,
57
+ + },
58
+ + "format_utils": {
59
+ + "json": json.dumps,
60
+ + "csv": lambda data: ",".join(map(str, data)),
61
+ + "indent": lambda text, spaces: textwrap.indent(text, " " * spaces),
62
+ + "wrap": textwrap.fill,
63
+ + "escape": html.escape,
64
+ + "unescape": html.unescape,
65
+ + },
66
+ +}
67
+ +
68
+ +
69
+ @dataclass
70
+ class Prompt:
71
+ """Represents a prompt function.
72
+ @@ -40,7 +88,7 @@ class Prompt:
73
+ return self.template.render(**kwargs)
74
+
75
+ @classmethod
76
+ - def from_str(cls, content: str):
77
+ + def from_str(cls, content: str, builtin_filters: Optional[List[str]] = None):
78
+ """
79
+ Create an instance of the class from a string.
80
+
81
+ @@ -53,10 +101,10 @@ class Prompt:
82
+ -------
83
+ An instance of the class with the provided content as a template.
84
+ """
85
+ - return cls(cls._template_from_str(content), None)
86
+ + return cls(cls._template_from_str(content, builtin_filters), None)
87
+
88
+ @classmethod
89
+ - def from_file(cls, path: Path):
90
+ + def from_file(cls, path: Path, builtin_filters: Optional[List[str]] = None):
91
+ """
92
+ Create a Prompt instance from a file containing a Jinja template.
93
+
94
+ @@ -75,10 +123,30 @@ class Prompt:
95
+ """
96
+ # We don't use a `Signature` here because it seems not feasible to infer one from a Jinja2 environment that is
97
+ # split across multiple files (since e.g. we support features like Jinja2 includes and template inheritance)
98
+ - return cls(cls._template_from_file(path), None)
99
+ + return cls(cls._template_from_file(path, builtin_filters), None)
100
+ +
101
+
102
+ @classmethod
103
+ - def _template_from_str(_, content: str) -> jinja2.Template:
104
+ + def _register_filters(cls, env: jinja2.Environment, builtin_filters: Optional[List[str]] = None):
105
+ + env.filters["name"] = get_fn_name
106
+ + env.filters["description"] = get_fn_description
107
+ + env.filters["source"] = get_fn_source
108
+ + env.filters["signature"] = get_fn_signature
109
+ + env.filters["schema"] = get_schema
110
+ + env.filters["args"] = get_fn_args
111
+ +
112
+ + for name, func in _GLOBAL_FILTERS.items():
113
+ + env.filters[name] = func
114
+ +
115
+ + if builtin_filters is not None:
116
+ + for category in builtin_filters:
117
+ + if category not in BUILTIN_FILTERS:
118
+ + raise ValueError(f"Unknown builtin filter category: {category}")
119
+ + for name, func in BUILTIN_FILTERS[category].items():
120
+ + env.filters[name] = func
121
+ +
122
+ + @classmethod
123
+ + def _template_from_str(cls, content: str, builtin_filters: Optional[List[str]] = None) -> jinja2.Template:
124
+ # Dedent, and remove extra linebreak
125
+ cleaned_template = inspect.cleandoc(content)
126
+
127
+ @@ -99,17 +167,12 @@ class Prompt:
128
+ keep_trailing_newline=True,
129
+ undefined=jinja2.StrictUndefined,
130
+ )
131
+ - env.filters["name"] = get_fn_name
132
+ - env.filters["description"] = get_fn_description
133
+ - env.filters["source"] = get_fn_source
134
+ - env.filters["signature"] = get_fn_signature
135
+ - env.filters["schema"] = get_schema
136
+ - env.filters["args"] = get_fn_args
137
+ + cls._register_filters(env, builtin_filters)
138
+
139
+ return env.from_string(cleaned_template)
140
+
141
+ @classmethod
142
+ - def _template_from_file(_, path: Path) -> jinja2.Template:
143
+ + def _template_from_file(cls, path: Path, builtin_filters: Optional[List[str]] = None) -> jinja2.Template:
144
+ file_directory = os.path.dirname(os.path.abspath(path))
145
+ env = jinja2.Environment(
146
+ loader=jinja2.FileSystemLoader(file_directory),
147
+ @@ -118,6 +181,7 @@ class Prompt:
148
+ keep_trailing_newline=True,
149
+ undefined=jinja2.StrictUndefined,
150
+ )
151
+ + cls._register_filters(env, builtin_filters)
152
+ return env.get_template(os.path.basename(path))
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f2_f4/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 3,
6
+ 4
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nFeature patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nNo uv.lock found, installing manually...\nExtras unavailable; installing base package\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: mock-3.15.1, xdist-3.8.0\ncollecting ... collected 24 items\n\ntests/test_prompts.py::test_render PASSED [ 4%]\ntests/test_prompts.py::test_render_escaped_linebreak PASSED [ 8%]\ntests/test_prompts.py::test_render_jinja PASSED [ 12%]\ntests/test_prompts.py::test_prompt_basic PASSED [ 16%]\ntests/test_prompts.py::test_prompt_kwargs PASSED [ 20%]\ntests/test_prompts.py::test_no_prompt PASSED [ 25%]\ntests/test_prompts.py::test_prompt_function PASSED [ 29%]\ntests/test_prompts.py::test_prompt_pydantic_response PASSED [ 33%]\ntests/test_prompts.py::test_prompt_dict_response PASSED [ 37%]\ntests/test_prompts.py::test_prompt_args PASSED [ 41%]\ntests/test_prompts.py::test_prompt_from_file PASSED [ 45%]\ntests/test_prompts.py::test_prompt_from_str PASSED [ 50%]\ntests/test_prompts.py::test_template_from_str_with_extra_linebreaks PASSED [ 54%]\ntests/test_prompts.py::test_conditional_filters_basic PASSED [ 58%]\ntests/test_prompts.py::test_conditional_filters_environment_variables PASSED [ 62%]\ntests/test_prompts.py::test_conditional_filters_priority PASSED [ 66%]\ntests/test_prompts.py::test_conditional_filters_no_match PASSED [ 70%]\ntests/test_prompts.py::test_conditional_filters_none PASSED [ 75%]\ntests/test_prompts.py::test_conditional_filters_empty PASSED [ 79%]\ntests/test_prompts.py::test_conditional_filters_invalid_condition PASSED [ 83%]\ntests/test_prompts.py::test_conditional_filters_multiple_filters PASSED [ 87%]\ntests/test_prompts.py::test_conditional_filters_with_existing_filters PASSED [ 91%]\ntests/test_prompts.py::test_conditional_filters_edge_cases PASSED [ 95%]\ntests/test_prompts.py::test_conditional_filters_performance PASSED [100%]\n\n============================== 24 passed in 5.07s ==============================\nTest execution completed!\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving .pytest_cache/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/generate/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving tests/__pycache__/\nRepository cleaned.\n/patches/tests1.patch:15: trailing whitespace.\n \n/patches/tests1.patch:18: trailing whitespace.\n \n/patches/tests1.patch:23: trailing whitespace.\n \n/patches/tests1.patch:26: trailing whitespace.\n \n/patches/tests1.patch:30: trailing whitespace.\n \nwarning: squelched 49 whitespace errors\nwarning: 54 lines add whitespace errors.\nUsing Python 3.11.14 environment at: /usr/local\nResolved 52 packages in 1.26s\n Building outlines @ file:///workspace/repo\n Built outlines @ file:///workspace/repo\nPrepared 1 package in 508ms\nUninstalled 2 packages in 3ms\nInstalled 2 packages in 24ms\n - outlines==0.1.12 (from file:///workspace/repo)\n + outlines==0.1.13.dev0+g7149a5e61.d20220101 (from file:///workspace/repo)\n - typing-extensions==4.12.2\n + typing-extensions==4.15.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 7ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": false,
16
+ "test_output": "HEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nReset to base: 7149a5e613b9c2bb3c2ed3ee5b7c9228772504b1\nEnsuring clean repository state...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nApplying test patch...\nTest patch applied successfully.\nApplying feature patch...\nFeature patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nNo uv.lock found, installing manually...\nExtras unavailable; installing base package\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: mock-3.15.1, xdist-3.8.0\ncollecting ... collected 27 items\n\ntests/test_prompts.py::test_render PASSED [ 3%]\ntests/test_prompts.py::test_render_escaped_linebreak PASSED [ 7%]\ntests/test_prompts.py::test_render_jinja PASSED [ 11%]\ntests/test_prompts.py::test_prompt_basic PASSED [ 14%]\ntests/test_prompts.py::test_prompt_kwargs PASSED [ 18%]\ntests/test_prompts.py::test_no_prompt PASSED [ 22%]\ntests/test_prompts.py::test_prompt_function PASSED [ 25%]\ntests/test_prompts.py::test_prompt_pydantic_response PASSED [ 29%]\ntests/test_prompts.py::test_prompt_dict_response PASSED [ 33%]\ntests/test_prompts.py::test_prompt_args PASSED [ 37%]\ntests/test_prompts.py::test_prompt_from_file PASSED [ 40%]\ntests/test_prompts.py::test_prompt_from_str PASSED [ 44%]\ntests/test_prompts.py::test_template_from_str_with_extra_linebreaks PASSED [ 48%]\ntests/test_prompts.py::test_builtin_filters_string_utils PASSED [ 51%]\ntests/test_prompts.py::test_builtin_filters_math_utils PASSED [ 55%]\ntests/test_prompts.py::test_builtin_filters_format_utils FAILED [ 59%]\ntests/test_prompts.py::test_builtin_filters_multiple_categories PASSED [ 62%]\ntests/test_prompts.py::test_builtin_filters_empty_list PASSED [ 66%]\ntests/test_prompts.py::test_builtin_filters_none PASSED [ 70%]\ntests/test_prompts.py::test_builtin_filters_default_parameter PASSED [ 74%]\ntests/test_prompts.py::test_builtin_filters_invalid_category PASSED [ 77%]\ntests/test_prompts.py::test_builtin_filters_with_existing_filters PASSED [ 81%]\ntests/test_prompts.py::test_builtin_filters_edge_cases PASSED [ 85%]\ntests/test_prompts.py::test_builtin_filters_large_data PASSED [ 88%]\ntests/test_prompts.py::test_builtin_filters_parameter_validation PASSED [ 92%]\ntests/test_prompts.py::test_builtin_filters_integration PASSED [ 96%]\ntests/test_prompts.py::test_builtin_filters_performance PASSED [100%]\n\n=================================== FAILURES ===================================\n______________________ test_builtin_filters_format_utils _______________________\n\n def test_builtin_filters_format_utils():\n \"\"\"Test formatting utility filters.\"\"\"\n data = {\"name\": \"test\", \"value\": 42}\n \n prompt = Prompt.from_str(\"{{ data | json }}\", builtin_filters=[\"format_utils\"])\n result = prompt(data=data)\n assert '\"name\": \"test\"' in result\n assert '\"value\": 42' in result\n \n> prompt = Prompt.from_str(\"{{ data | yaml }}\", builtin_filters=[\"format_utils\"])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\ntests/test_prompts.py:439: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \noutlines/prompts.py:85: in from_str\n template = cls._template_from_str(content, conditional_filters, builtin_filters)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\noutlines/prompts.py:148: in _template_from_str\n return env.from_string(cleaned_template)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/jinja2/environment.py:1111: in from_string\n return cls.from_code(self, self.compile(source), gs, None)\n ^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/jinja2/environment.py:771: in compile\n self.handle_exception(source=source_hint)\n/usr/local/lib/python3.11/site-packages/jinja2/environment.py:942: in handle_exception\n raise rewrite_traceback_stack(source=source)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n> ???\nE jinja2.exceptions.TemplateAssertionError: No filter named 'yaml'.\n\n<unknown>:1: TemplateAssertionError\n=========================== short test summary info ============================\nFAILED tests/test_prompts.py::test_builtin_filters_format_utils - jinja2.exce...\n========================= 1 failed, 26 passed in 2.68s =========================\nCleaning up repository...\nResetting to HEAD (HEAD) and cleaning...\nHEAD is now at 7149a5e6 Apply a small fix suggested by linter: Ruff E721\nRemoving .pytest_cache/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/generate/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving tests/__pycache__/\nRepository cleaned.\n/patches/tests2.patch:16: trailing whitespace.\n \n/patches/tests2.patch:19: trailing whitespace.\n \n/patches/tests2.patch:28: trailing whitespace.\n \n/patches/tests2.patch:36: trailing whitespace.\n \n/patches/tests2.patch:41: trailing whitespace.\n \nwarning: squelched 15 whitespace errors\nwarning: 20 lines add whitespace errors.\nUsing Python 3.11.14 environment at: /usr/local\nResolved 52 packages in 1.23s\n Building outlines @ file:///workspace/repo\n Built outlines @ file:///workspace/repo\nPrepared 1 package in 496ms\nUninstalled 1 package in 0.82ms\nInstalled 1 package in 2ms\n ~ outlines==0.1.13.dev0+g7149a5e61.d20220101 (from file:///workspace/repo)\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 7ms\n"
17
+ },
18
+ "both_passed": false,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:22:40.444209"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1371,
4
+ "features": [
5
+ 3,
6
+ 4
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "4e16a193",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.001588",
14
+ "ended_at": "2026-02-14T21:21:39.025596",
15
+ "duration_seconds": 254.024008,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.15950115000000004,
19
+ "steps": 21,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 296,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.15950115000000004,
28
+ "total_steps": 21,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4/solo.patch ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/prompts.py b/outlines/prompts.py
2
+ index 86519ada..f003f8fb 100644
3
+ --- a/outlines/prompts.py
4
+ +++ b/outlines/prompts.py
5
+ @@ -1,4 +1,5 @@
6
+ import functools
7
+ +import html
8
+ import inspect
9
+ import json
10
+ import os
11
+ @@ -6,13 +7,13 @@ import re
12
+ import textwrap
13
+ from dataclasses import dataclass
14
+ from pathlib import Path
15
+ -from typing import Any, Callable, Dict, Optional, Type, cast
16
+ +from typing import Any, Callable, Dict, List, Optional, Type, cast
17
+
18
+ import jinja2
19
+ import pydantic
20
+
21
+
22
+ -@dataclass
23
+ +@dataclass(init=False)
24
+ class Prompt:
25
+ """Represents a prompt function.
26
+
27
+ @@ -23,6 +24,25 @@ class Prompt:
28
+
29
+ template: jinja2.Template
30
+ signature: Optional[inspect.Signature]
31
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None
32
+ + template_source: str = ""
33
+ +
34
+ + def __init__(
35
+ + self,
36
+ + template: Any,
37
+ + signature: Optional[inspect.Signature] = None,
38
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
39
+ + template_source: str = "",
40
+ + ):
41
+ + self.signature = signature
42
+ + self.conditional_filters = conditional_filters
43
+ + self.template_source = template_source
44
+ +
45
+ + if isinstance(template, str):
46
+ + self.template_source = template
47
+ + self.template = self._template_from_str(template, conditional_filters)
48
+ + else:
49
+ + self.template = template
50
+
51
+ def __call__(self, *args, **kwargs) -> str:
52
+ """Render and return the template.
53
+ @@ -40,7 +60,12 @@ class Prompt:
54
+ return self.template.render(**kwargs)
55
+
56
+ @classmethod
57
+ - def from_str(cls, content: str):
58
+ + def from_str(
59
+ + cls,
60
+ + content: str,
61
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
62
+ + builtin_filters: Optional[List[str]] = None,
63
+ + ):
64
+ """
65
+ Create an instance of the class from a string.
66
+
67
+ @@ -48,15 +73,25 @@ class Prompt:
68
+ ----------
69
+ content : str
70
+ The string content to be converted into a template.
71
+ + conditional_filters : Dict[str, Dict[str, Callable]], optional
72
+ + A mapping of condition names to filter sets.
73
+ + builtin_filters : List[str], optional
74
+ + A list of built-in filter category names to load.
75
+
76
+ Returns
77
+ -------
78
+ An instance of the class with the provided content as a template.
79
+ """
80
+ - return cls(cls._template_from_str(content), None)
81
+ + template = cls._template_from_str(content, conditional_filters, builtin_filters)
82
+ + return cls(template, None, conditional_filters, content)
83
+
84
+ @classmethod
85
+ - def from_file(cls, path: Path):
86
+ + def from_file(
87
+ + cls,
88
+ + path: Path,
89
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
90
+ + builtin_filters: Optional[List[str]] = None,
91
+ + ):
92
+ """
93
+ Create a Prompt instance from a file containing a Jinja template.
94
+
95
+ @@ -67,18 +102,26 @@ class Prompt:
96
+ ----------
97
+ path : Path
98
+ The path to the file containing the Jinja template.
99
+ + conditional_filters : Dict[str, Dict[str, Callable]], optional
100
+ + A mapping of condition names to filter sets.
101
+ + builtin_filters : List[str], optional
102
+ + A list of built-in filter category names to load.
103
+
104
+ Returns
105
+ -------
106
+ Prompt
107
+ An instance of the Prompt class with the template loaded from the file.
108
+ """
109
+ - # We don't use a `Signature` here because it seems not feasible to infer one from a Jinja2 environment that is
110
+ - # split across multiple files (since e.g. we support features like Jinja2 includes and template inheritance)
111
+ - return cls(cls._template_from_file(path), None)
112
+ + template = cls._template_from_file(path, conditional_filters, builtin_filters)
113
+ + return cls(template, None, conditional_filters, str(path))
114
+
115
+ @classmethod
116
+ - def _template_from_str(_, content: str) -> jinja2.Template:
117
+ + def _template_from_str(
118
+ + cls,
119
+ + content: str,
120
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
121
+ + builtin_filters: Optional[List[str]] = None,
122
+ + ) -> jinja2.Template:
123
+ # Dedent, and remove extra linebreak
124
+ cleaned_template = inspect.cleandoc(content)
125
+
126
+ @@ -99,17 +142,18 @@ class Prompt:
127
+ keep_trailing_newline=True,
128
+ undefined=jinja2.StrictUndefined,
129
+ )
130
+ - env.filters["name"] = get_fn_name
131
+ - env.filters["description"] = get_fn_description
132
+ - env.filters["source"] = get_fn_source
133
+ - env.filters["signature"] = get_fn_signature
134
+ - env.filters["schema"] = get_schema
135
+ - env.filters["args"] = get_fn_args
136
+ +
137
+ + cls._apply_filters(env, conditional_filters, builtin_filters)
138
+
139
+ return env.from_string(cleaned_template)
140
+
141
+ @classmethod
142
+ - def _template_from_file(_, path: Path) -> jinja2.Template:
143
+ + def _template_from_file(
144
+ + cls,
145
+ + path: Path,
146
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
147
+ + builtin_filters: Optional[List[str]] = None,
148
+ + ) -> jinja2.Template:
149
+ file_directory = os.path.dirname(os.path.abspath(path))
150
+ env = jinja2.Environment(
151
+ loader=jinja2.FileSystemLoader(file_directory),
152
+ @@ -118,10 +162,46 @@ class Prompt:
153
+ keep_trailing_newline=True,
154
+ undefined=jinja2.StrictUndefined,
155
+ )
156
+ +
157
+ + cls._apply_filters(env, conditional_filters, builtin_filters)
158
+ +
159
+ return env.get_template(os.path.basename(path))
160
+
161
+ + @staticmethod
162
+ + def _apply_filters(
163
+ + env: jinja2.Environment,
164
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
165
+ + builtin_filters: Optional[List[str]] = None,
166
+ + ):
167
+ + # 1. Built-in Extensions (lowest priority)
168
+ + if builtin_filters:
169
+ + for category in builtin_filters:
170
+ + if category not in BUILTIN_FILTERS:
171
+ + raise ValueError(f"Unknown builtin filter category: {category}")
172
+ + for name, func in BUILTIN_FILTERS[category].items():
173
+ + env.filters[name] = func
174
+ +
175
+ + # 2. Standard filters (override built-in extensions)
176
+ + env.filters["name"] = get_fn_name
177
+ + env.filters["description"] = get_fn_description
178
+ + env.filters["source"] = get_fn_source
179
+ + env.filters["signature"] = get_fn_signature
180
+ + env.filters["schema"] = get_schema
181
+ + env.filters["args"] = get_fn_args
182
+ +
183
+ + # 3. Conditional filters (highest priority)
184
+ + if conditional_filters:
185
+ + active_condition = resolve_active_condition(conditional_filters)
186
+ + if active_condition:
187
+ + for name, func in conditional_filters[active_condition].items():
188
+ + env.filters[name] = func
189
+
190
+ -def prompt(fn: Callable) -> Prompt:
191
+ +
192
+ +def prompt(
193
+ + fn: Optional[Callable] = None,
194
+ + *,
195
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]] = None,
196
+ +) -> Any:
197
+ """Decorate a function that contains a prompt template.
198
+
199
+ This allows to define prompts in the docstring of a function and simplify their
200
+ @@ -157,6 +237,8 @@ def prompt(fn: Callable) -> Prompt:
201
+ A `Prompt` callable class which will render the template when called.
202
+
203
+ """
204
+ + if fn is None:
205
+ + return functools.partial(prompt, conditional_filters=conditional_filters)
206
+
207
+ signature = inspect.signature(fn)
208
+
209
+ @@ -166,9 +248,16 @@ def prompt(fn: Callable) -> Prompt:
210
+ if docstring is None:
211
+ raise TypeError("Could not find a template in the function's docstring.")
212
+
213
+ - template = Prompt._template_from_str(cast(str, docstring))
214
+ + template = Prompt._template_from_str(
215
+ + cast(str, docstring), conditional_filters=conditional_filters
216
+ + )
217
+
218
+ - return Prompt(template, signature)
219
+ + return Prompt(
220
+ + template,
221
+ + signature,
222
+ + conditional_filters=conditional_filters,
223
+ + template_source=docstring,
224
+ + )
225
+
226
+
227
+ def get_fn_name(fn: Callable):
228
+ @@ -293,3 +382,68 @@ def parse_pydantic_schema(raw_schema, definitions):
229
+ simple_schema[name] = f"<{name}>"
230
+
231
+ return simple_schema
232
+ +
233
+ +
234
+ +def resolve_active_condition(
235
+ + conditional_filters: Optional[Dict[str, Dict[str, Callable]]]
236
+ +) -> Optional[str]:
237
+ + """Resolve the active condition based on environment variables."""
238
+ + if not conditional_filters:
239
+ + return None
240
+ +
241
+ + # Priority order: debug > production > testing
242
+ + # 1. OUTLINES_DEBUG (if "true", activates "debug")
243
+ + if os.getenv("OUTLINES_DEBUG") == "true":
244
+ + if "debug" in conditional_filters:
245
+ + return "debug"
246
+ +
247
+ + # 2. ENVIRONMENT (if "production", activates "production")
248
+ + if os.getenv("ENVIRONMENT") == "production":
249
+ + if "production" in conditional_filters:
250
+ + return "production"
251
+ +
252
+ + # 3. ENV (if "testing", activates "testing")
253
+ + # 4. OUTLINES_TESTING (if "true", activates "testing")
254
+ + # 5. TESTING_MODE (if "on", activates "testing")
255
+ + if (
256
+ + os.getenv("ENV") == "testing"
257
+ + or os.getenv("OUTLINES_TESTING") == "true"
258
+ + or os.getenv("TESTING_MODE") == "on"
259
+ + ):
260
+ + if "testing" in conditional_filters:
261
+ + return "testing"
262
+ +
263
+ + # If no match, use the first condition key alphabetically
264
+ + return sorted(conditional_filters.keys())[0]
265
+ +
266
+ +
267
+ +BUILTIN_FILTERS: Dict[str, Dict[str, Callable]] = {
268
+ + "string_utils": {
269
+ + "upper": lambda x: str(x).upper(),
270
+ + "lower": lambda x: str(x).lower(),
271
+ + "title": lambda x: str(x).title(),
272
+ + "reverse": lambda x: str(x)[::-1],
273
+ + "truncate": lambda x, length, suffix="...": str(x)[:length] + suffix
274
+ + if len(str(x)) > length
275
+ + else str(x),
276
+ + "padding": lambda x, width, fillchar=" ": str(x).center(width, fillchar),
277
+ + },
278
+ + "math_utils": {
279
+ + "add": lambda x, y: x + y,
280
+ + "subtract": lambda x, y: x - y,
281
+ + "multiply": lambda x, y: x * y,
282
+ + "divide": lambda x, y: x / y,
283
+ + "round": lambda x, n=0: round(x, n),
284
+ + "abs": lambda x: abs(x),
285
+ + "min": lambda x: min(x),
286
+ + "max": lambda x: max(x),
287
+ + },
288
+ + "format_utils": {
289
+ + "json": lambda x: json.dumps(x),
290
+ + "csv": lambda x: ",".join(map(str, x)) if isinstance(x, (list, tuple)) else x,
291
+ + "indent": lambda x, width=4: textwrap.indent(str(x), " " * width),
292
+ + "wrap": lambda x, width=70: textwrap.fill(str(x), width),
293
+ + "escape": lambda x: html.escape(str(x)),
294
+ + "unescape": lambda x: html.unescape(str(x)),
295
+ + },
296
+ +}
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1371/f3_f4/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 10
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests1.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: anyio-4.12.1, benchmark-5.2.3, xdist-3.8.0, cov-7.0.0, asyncio-1.3.0, mock-3.15.1\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 95 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 49%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-0x123-True] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-0xABC-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-0xabc-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-0x123ABC-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-123-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-ABC-True] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-abc-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-123ABC-True] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-0xg123-False] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-0x-False] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-0x123G-False] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-123e4567-e89b-42d3-a456-426614174000-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-00000000-0000-4000-8000-000000000000-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-123e4567-e89b-12d3-a456-426614174000-False] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-123e4567-e89b-12d3-a456-42661417400-False] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-123e4567-e89b-12d3-a456-4266141740000-False] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-123e4567-e89b-12d3-x456-426614174000-False] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-123e4567-e89b-12d3-a456-42661417400g-False] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-192.168.1.1-True] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-10.0.0.1-True] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71-172.16.0.1-True] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type72-255.255.255.255-True] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type73-0.0.0.0-True] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type74-256.1.2.3-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type75-1.256.2.3-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type76-1.2.256.3-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type77-1.2.3.256-False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type78-1.2.3-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type79-1.2.3.4.5-False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type80-1.2.3.4.-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_regex[custom_type81-.1.2.3.4-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_regex[custom_type82-1..2.3.4-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 95 passed in 3.58s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 3.84s\n Building outlines @ file:///workspace/repo\nDownloading nvidia-cublas-cu12 (391.6MiB)\nDownloading nvidia-nccl-cu12 (168.1MiB)\nDownloading nvidia-cuda-nvrtc-cu12 (22.6MiB)\nDownloading nvidia-curand-cu12 (53.9MiB)\nDownloading nvidia-cufft-cu12 (116.0MiB)\nDownloading nvidia-cuda-cupti-cu12 (13.5MiB)\nDownloading torch (743.1MiB)\nDownloading triton (160.3MiB)\nDownloading networkx (1.6MiB)\nDownloading pydantic-core (1.9MiB)\nDownloading nvidia-cusparse-cu12 (186.9MiB)\nDownloading nvidia-nvjitlink-cu12 (18.8MiB)\nDownloading pillow (4.3MiB)\nDownloading sympy (5.9MiB)\nDownloading nvidia-cusolver-cu12 (118.4MiB)\nDownloading nvidia-cudnn-cu12 (697.8MiB)\n Built outlines @ file:///workspace/repo\n Downloaded pydantic-core\n Downloaded pillow\n Downloaded networkx\n Downloaded nvidia-cuda-cupti-cu12\n Downloaded nvidia-nvjitlink-cu12\n Downloaded nvidia-cuda-nvrtc-cu12\n Downloaded nvidia-curand-cu12\n Downloaded nvidia-cufft-cu12\n Downloaded nvidia-cusolver-cu12\n Downloaded triton\n Downloaded sympy\n Downloaded nvidia-nccl-cu12\n Downloaded nvidia-cusparse-cu12\n Downloaded nvidia-cublas-cu12\n Downloaded nvidia-cudnn-cu12\n Downloaded torch\nPrepared 47 packages in 31.35s\nInstalled 47 packages in 756ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": true,
16
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests2.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: anyio-4.12.1, benchmark-5.2.3, xdist-3.8.0, cov-7.0.0, asyncio-1.3.0, mock-3.15.1\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 80 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-True] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-A665A45920422F9D417E4867EFDC4FB8A04A1F3FFF1FA07E998E86F7F7A27AE3-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3-True] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-AbCdEf1234567890AbCdEf1234567890AbCdEf1234567890AbCdEf1234567890-True] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef-True] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85-False] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b8555-False] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59--False] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-g3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-False] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85z-False] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85@-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85 -False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-123-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz12-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 80 passed in 2.66s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 249ms\nInstalled 47 packages in 787ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
17
+ },
18
+ "both_passed": true,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:19:09.451083"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 10
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "05b8ee6e",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.007945",
14
+ "ended_at": "2026-02-14T21:18:13.304544",
15
+ "duration_seconds": 48.296599,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.04274735,
19
+ "steps": 12,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 22,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.04274735,
28
+ "total_steps": 12,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10/solo.patch ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/types/__init__.py b/outlines/types/__init__.py
2
+ index 85af9adc..33a3bbbb 100644
3
+ --- a/outlines/types/__init__.py
4
+ +++ b/outlines/types/__init__.py
5
+ @@ -48,6 +48,17 @@ char = Regex(r"\w")
6
+ newline = Regex(r"(\r\n|\r|\n)") # Matched new lines on Linux, Windows & MacOS
7
+ whitespace = Regex(r"\s")
8
+
9
+ +hex_str = Regex(r"(0x)?[0-9a-fA-F]+")
10
+ +uuid4 = Regex(
11
+ + r"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-"
12
+ + r"[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}"
13
+ +)
14
+ +ipv4 = Regex(
15
+ + r"(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}"
16
+ + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
17
+ +)
18
+ +hash_sha256 = Regex(r"[a-fA-F0-9]{64}")
19
+ +
20
+ # Document-specific types
21
+ sentence = Regex(r"[A-Z].*\s*[.!?]")
22
+ paragraph = Regex(rf"{sentence.pattern}(?:\s+{sentence.pattern})*\n+")
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f10/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 2
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests1.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: benchmark-5.2.3, asyncio-1.3.0, anyio-4.12.1, cov-7.0.0, xdist-3.8.0, mock-3.15.1\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 95 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 49%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-0x123-True] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-0xABC-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-0xabc-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-0x123ABC-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-123-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-ABC-True] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-abc-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-123ABC-True] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-0xg123-False] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-0x-False] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-0x123G-False] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-123e4567-e89b-42d3-a456-426614174000-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-00000000-0000-4000-8000-000000000000-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-123e4567-e89b-12d3-a456-426614174000-False] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-123e4567-e89b-12d3-a456-42661417400-False] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-123e4567-e89b-12d3-a456-4266141740000-False] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-123e4567-e89b-12d3-x456-426614174000-False] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-123e4567-e89b-12d3-a456-42661417400g-False] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-192.168.1.1-True] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-10.0.0.1-True] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71-172.16.0.1-True] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type72-255.255.255.255-True] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type73-0.0.0.0-True] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type74-256.1.2.3-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type75-1.256.2.3-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type76-1.2.256.3-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type77-1.2.3.256-False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type78-1.2.3-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type79-1.2.3.4.5-False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type80-1.2.3.4.-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_regex[custom_type81-.1.2.3.4-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_regex[custom_type82-1..2.3.4-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 95 passed in 7.33s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 4.86s\n Building outlines @ file:///workspace/repo\nDownloading torch (743.1MiB)\nDownloading networkx (1.6MiB)\nDownloading nvidia-nvjitlink-cu12 (18.8MiB)\nDownloading nvidia-cusparse-cu12 (186.9MiB)\nDownloading nvidia-cufft-cu12 (116.0MiB)\nDownloading pydantic-core (1.9MiB)\nDownloading nvidia-cublas-cu12 (391.6MiB)\nDownloading nvidia-curand-cu12 (53.9MiB)\nDownloading nvidia-cuda-nvrtc-cu12 (22.6MiB)\nDownloading pillow (4.3MiB)\nDownloading nvidia-nccl-cu12 (168.1MiB)\nDownloading sympy (5.9MiB)\nDownloading nvidia-cudnn-cu12 (697.8MiB)\nDownloading nvidia-cuda-cupti-cu12 (13.5MiB)\nDownloading triton (160.3MiB)\nDownloading nvidia-cusolver-cu12 (118.4MiB)\n Built outlines @ file:///workspace/repo\n Downloaded pydantic-core\n Downloaded pillow\n Downloaded networkx\n Downloaded nvidia-cuda-cupti-cu12\n Downloaded nvidia-nvjitlink-cu12\n Downloaded nvidia-cuda-nvrtc-cu12\n Downloaded nvidia-curand-cu12\n Downloaded nvidia-cufft-cu12\n Downloaded nvidia-cusolver-cu12\n Downloaded triton\n Downloaded nvidia-nccl-cu12\n Downloaded nvidia-cusparse-cu12\n Downloaded sympy\n Downloaded nvidia-cublas-cu12\n Downloaded nvidia-cudnn-cu12\n Downloaded torch\nPrepared 47 packages in 34.63s\nInstalled 47 packages in 1.51s\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 11ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": true,
16
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests2.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: benchmark-5.2.3, asyncio-1.3.0, anyio-4.12.1, cov-7.0.0, xdist-3.8.0, mock-3.15.1\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 82 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 19%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 39%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 59%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-0b1010-True] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-0b0-True] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-0b1-True] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-0b11110000-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-0b101010101010-True] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-0b1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-True] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-0b00000000000000000000000000000000000000000000000000-True] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-0b-False] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-1010-False] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-b1010-False] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-0x1010-False] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-0b1012-False] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-0b101a-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-0B1010-False] PASSED [ 79%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65- 0b1010-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-0b1010 -False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67--False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-0b -False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-0b-1010-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 82 passed in 4.34s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 529ms\nInstalled 47 packages in 1.50s\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 12ms\n"
17
+ },
18
+ "both_passed": true,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:20:17.611613"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 2
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "c3f12afd",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.001960",
14
+ "ended_at": "2026-02-14T21:19:06.902813",
15
+ "duration_seconds": 101.900853,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.06925155,
19
+ "steps": 19,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 22,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.06925155,
28
+ "total_steps": 19,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2/solo.patch ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/types/__init__.py b/outlines/types/__init__.py
2
+ index 85af9adc..1a2ee92b 100644
3
+ --- a/outlines/types/__init__.py
4
+ +++ b/outlines/types/__init__.py
5
+ @@ -48,6 +48,17 @@ char = Regex(r"\w")
6
+ newline = Regex(r"(\r\n|\r|\n)") # Matched new lines on Linux, Windows & MacOS
7
+ whitespace = Regex(r"\s")
8
+
9
+ +hex_str = Regex(r"(0x)?[0-9a-fA-F]+")
10
+ +uuid4 = Regex(
11
+ + r"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-"
12
+ + r"[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}"
13
+ +)
14
+ +ipv4 = Regex(
15
+ + r"(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}"
16
+ + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
17
+ +)
18
+ +binary_str = Regex(r"0b[01]+")
19
+ +
20
+ # Document-specific types
21
+ sentence = Regex(r"[A-Z].*\s*[.!?]")
22
+ paragraph = Regex(rf"{sentence.pattern}(?:\s+{sentence.pattern})*\n+")
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f2/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 3
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests1.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: asyncio-1.3.0, mock-3.15.1, benchmark-5.2.3, cov-7.0.0, anyio-4.12.1, xdist-3.8.0\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 95 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 49%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-0x123-True] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-0xABC-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-0xabc-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-0x123ABC-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-123-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-ABC-True] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-abc-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-123ABC-True] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-0xg123-False] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-0x-False] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-0x123G-False] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-123e4567-e89b-42d3-a456-426614174000-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-00000000-0000-4000-8000-000000000000-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-123e4567-e89b-12d3-a456-426614174000-False] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-123e4567-e89b-12d3-a456-42661417400-False] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-123e4567-e89b-12d3-a456-4266141740000-False] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-123e4567-e89b-12d3-x456-426614174000-False] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-123e4567-e89b-12d3-a456-42661417400g-False] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-192.168.1.1-True] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-10.0.0.1-True] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71-172.16.0.1-True] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type72-255.255.255.255-True] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type73-0.0.0.0-True] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type74-256.1.2.3-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type75-1.256.2.3-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type76-1.2.256.3-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type77-1.2.3.256-False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type78-1.2.3-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type79-1.2.3.4.5-False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type80-1.2.3.4.-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_regex[custom_type81-.1.2.3.4-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_regex[custom_type82-1..2.3.4-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 95 passed in 4.39s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 5.25s\n Building outlines @ file:///workspace/repo\nDownloading networkx (1.6MiB)\nDownloading nvidia-cufft-cu12 (116.0MiB)\nDownloading pydantic-core (1.9MiB)\nDownloading sympy (5.9MiB)\nDownloading nvidia-nccl-cu12 (168.1MiB)\nDownloading nvidia-cuda-nvrtc-cu12 (22.6MiB)\nDownloading nvidia-cudnn-cu12 (697.8MiB)\nDownloading nvidia-nvjitlink-cu12 (18.8MiB)\nDownloading nvidia-cublas-cu12 (391.6MiB)\nDownloading nvidia-curand-cu12 (53.9MiB)\nDownloading torch (743.1MiB)\nDownloading nvidia-cusolver-cu12 (118.4MiB)\nDownloading nvidia-cuda-cupti-cu12 (13.5MiB)\nDownloading pillow (4.3MiB)\nDownloading nvidia-cusparse-cu12 (186.9MiB)\nDownloading triton (160.3MiB)\n Built outlines @ file:///workspace/repo\n Downloaded pydantic-core\n Downloaded pillow\n Downloaded networkx\n Downloaded nvidia-cuda-cupti-cu12\n Downloaded nvidia-nvjitlink-cu12\n Downloaded nvidia-cuda-nvrtc-cu12\n Downloaded nvidia-curand-cu12\n Downloaded nvidia-cufft-cu12\n Downloaded nvidia-cusolver-cu12\n Downloaded triton\n Downloaded nvidia-nccl-cu12\n Downloaded nvidia-cusparse-cu12\n Downloaded sympy\n Downloaded nvidia-cublas-cu12\n Downloaded nvidia-cudnn-cu12\n Downloaded torch\nPrepared 47 packages in 33.47s\nInstalled 47 packages in 776ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 11ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": true,
16
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests2.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: asyncio-1.3.0, mock-3.15.1, benchmark-5.2.3, cov-7.0.0, anyio-4.12.1, xdist-3.8.0\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 87 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 19%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 39%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 49%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-0o755-True] PASSED [ 59%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-0o644-True] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-0o777-True] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-0o000-True] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-0o1234567-True] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-0o0-True] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-0o7-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-0o-False] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-0o01-True] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-0o77777777777777777777-True] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-755-False] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-0x755-False] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-0o888-False] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-0o999-False] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-0oabc-False] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-0o75a-False] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67- 0o755-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-0o755 -False] PASSED [ 79%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-0o7-55-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-0o7.55-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71--False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type72-o755-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type73-0o+755-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_regex[custom_type74-0o-755-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 87 passed in 2.71s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 272ms\nInstalled 47 packages in 778ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
17
+ },
18
+ "both_passed": true,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:20:21.704757"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 3
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "f2cb88fc",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.002073",
14
+ "ended_at": "2026-02-14T21:19:18.602324",
15
+ "duration_seconds": 113.600251,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.09118090000000001,
19
+ "steps": 17,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 33,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.09118090000000001,
28
+ "total_steps": 17,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3/solo.patch ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/types/__init__.py b/outlines/types/__init__.py
2
+ index 85af9adc..320edd6e 100644
3
+ --- a/outlines/types/__init__.py
4
+ +++ b/outlines/types/__init__.py
5
+ @@ -48,10 +48,28 @@ char = Regex(r"\w")
6
+ newline = Regex(r"(\r\n|\r|\n)") # Matched new lines on Linux, Windows & MacOS
7
+ whitespace = Regex(r"\s")
8
+
9
+ +hex_str = Regex(r"(?:0x|0X)?[0-9a-fA-F]+")
10
+ +uuid4 = Regex(
11
+ + r"[0-9a-fA-F]{8}-"
12
+ + r"[0-9a-fA-F]{4}-"
13
+ + r"4[0-9a-fA-F]{3}-"
14
+ + r"[89abAB][0-9a-fA-F]{3}-"
15
+ + r"[0-9a-fA-F]{12}"
16
+ +)
17
+ +ipv4 = Regex(
18
+ + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\."
19
+ + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\."
20
+ + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\."
21
+ + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
22
+ +)
23
+ +
24
+ # Document-specific types
25
+ sentence = Regex(r"[A-Z].*\s*[.!?]")
26
+ paragraph = Regex(rf"{sentence.pattern}(?:\s+{sentence.pattern})*\n+")
27
+
28
+ +# System-specific types
29
+ +octal_str = Regex(r"0o[0-7]+")
30
+ +
31
+
32
+ # The following regex is FRC 5322 compliant and was found at:
33
+ # https://emailregex.com/
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f3/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 4
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests1.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: asyncio-1.3.0, anyio-4.12.1, xdist-3.8.0, cov-7.0.0, benchmark-5.2.3, mock-3.15.1\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 95 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 49%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-0x123-True] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-0xABC-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-0xabc-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-0x123ABC-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-123-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-ABC-True] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-abc-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-123ABC-True] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-0xg123-False] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-0x-False] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-0x123G-False] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-123e4567-e89b-42d3-a456-426614174000-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-00000000-0000-4000-8000-000000000000-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-123e4567-e89b-12d3-a456-426614174000-False] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-123e4567-e89b-12d3-a456-42661417400-False] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-123e4567-e89b-12d3-a456-4266141740000-False] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-123e4567-e89b-12d3-x456-426614174000-False] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-123e4567-e89b-12d3-a456-42661417400g-False] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-192.168.1.1-True] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-10.0.0.1-True] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71-172.16.0.1-True] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type72-255.255.255.255-True] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type73-0.0.0.0-True] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type74-256.1.2.3-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type75-1.256.2.3-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type76-1.2.256.3-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type77-1.2.3.256-False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type78-1.2.3-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type79-1.2.3.4.5-False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type80-1.2.3.4.-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_regex[custom_type81-.1.2.3.4-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_regex[custom_type82-1..2.3.4-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 95 passed in 3.97s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\n/patches/solo.patch:30: new blank line at EOF.\n+\nwarning: 1 line adds whitespace errors.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 4.09s\n Building outlines @ file:///workspace/repo\nDownloading networkx (1.6MiB)\nDownloading nvidia-cufft-cu12 (116.0MiB)\nDownloading nvidia-cuda-nvrtc-cu12 (22.6MiB)\nDownloading pillow (4.3MiB)\nDownloading nvidia-cusolver-cu12 (118.4MiB)\nDownloading sympy (5.9MiB)\nDownloading nvidia-nccl-cu12 (168.1MiB)\nDownloading torch (743.1MiB)\nDownloading nvidia-cusparse-cu12 (186.9MiB)\nDownloading nvidia-cuda-cupti-cu12 (13.5MiB)\nDownloading pydantic-core (1.9MiB)\nDownloading nvidia-cublas-cu12 (391.6MiB)\nDownloading triton (160.3MiB)\nDownloading nvidia-cudnn-cu12 (697.8MiB)\nDownloading nvidia-nvjitlink-cu12 (18.8MiB)\nDownloading nvidia-curand-cu12 (53.9MiB)\n Built outlines @ file:///workspace/repo\n Downloaded pydantic-core\n Downloaded pillow\n Downloaded networkx\n Downloaded nvidia-cuda-cupti-cu12\n Downloaded nvidia-nvjitlink-cu12\n Downloaded nvidia-cuda-nvrtc-cu12\n Downloaded nvidia-curand-cu12\n Downloaded sympy\n Downloaded nvidia-cufft-cu12\n Downloaded nvidia-cusolver-cu12\n Downloaded triton\n Downloaded nvidia-nccl-cu12\n Downloaded nvidia-cusparse-cu12\n Downloaded nvidia-cublas-cu12\n Downloaded nvidia-cudnn-cu12\n Downloaded torch\nPrepared 47 packages in 38.88s\nInstalled 47 packages in 870ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": true,
16
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests2.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: asyncio-1.3.0, anyio-4.12.1, xdist-3.8.0, cov-7.0.0, benchmark-5.2.3, mock-3.15.1\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 84 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 19%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 39%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 59%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-00:1B:44:11:3A:B7-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-00-1B-44-11-3A-B7-True] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-FF:FF:FF:FF:FF:FF-True] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-ff:ff:ff:ff:ff:ff-True] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-AA-BB-CC-DD-EE-FF-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-12:34:56:78:9A:BC-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-00:00:00:00:00:00-True] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-0A:0B:0C:0D:0E:0F-True] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-a1:b2:c3:d4:e5:f6-True] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-A1-B2-C3-D4-E5-F6-True] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-00:1B:44:11:3A-False] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-00:1B:44:11:3A:B7:C8-False] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-00:1B:44:11:3A:G7-False] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-00:1B:44:11:3A:B-False] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-00.1B.44.11.3A.B7-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-00:1B:44-11:3A:B7-False] PASSED [ 79%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-001B44113AB7-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68--False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-00:1B:44:11:3A:B7::-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-ZZ:YY:XX:WW:VV:UU-False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71-00:1b:44:11:3a:b7:extra-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 84 passed in 2.65s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\n/patches/solo.patch:30: new blank line at EOF.\n+\nwarning: 1 line adds whitespace errors.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 219ms\nInstalled 47 packages in 910ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
17
+ },
18
+ "both_passed": true,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:20:29.339552"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 4
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "879b0cab",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.002304",
14
+ "ended_at": "2026-02-14T21:19:22.135158",
15
+ "duration_seconds": 117.132854,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.09538859999999999,
19
+ "steps": 14,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 30,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.09538859999999999,
28
+ "total_steps": 14,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4/solo.patch ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/types/__init__.py b/outlines/types/__init__.py
2
+ index 85af9adc..9a676d45 100644
3
+ --- a/outlines/types/__init__.py
4
+ +++ b/outlines/types/__init__.py
5
+ @@ -48,6 +48,16 @@ char = Regex(r"\w")
6
+ newline = Regex(r"(\r\n|\r|\n)") # Matched new lines on Linux, Windows & MacOS
7
+ whitespace = Regex(r"\s")
8
+
9
+ +hex_str = Regex(r"(0x)?[0-9a-fA-F]+")
10
+ +uuid4 = Regex(
11
+ + r"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-"
12
+ + r"[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}"
13
+ +)
14
+ +ipv4 = Regex(
15
+ + r"(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}"
16
+ + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
17
+ +)
18
+ +
19
+ # Document-specific types
20
+ sentence = Regex(r"[A-Z].*\s*[.!?]")
21
+ paragraph = Regex(rf"{sentence.pattern}(?:\s+{sentence.pattern})*\n+")
22
+ @@ -68,3 +78,8 @@ email = Regex(
23
+ isbn = Regex(
24
+ r"(?:ISBN(?:-1[03])?:? )?(?=[0-9X]{10}$|(?=(?:[0-9]+[- ]){3})[- 0-9X]{13}$|97[89][0-9]{10}$|(?=(?:[0-9]+[- ]){4})[- 0-9]{17}$)(?:97[89][- ]?)?[0-9]{1,5}[- ]?[0-9]+[- ]?[0-9]+[- ]?[0-9X]"
25
+ )
26
+ +
27
+ +mac_address = Regex(
28
+ + r"(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}|(?:[0-9a-fA-F]{2}-){5}[0-9a-fA-F]{2}"
29
+ +)
30
+ +
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f4/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 5
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests1.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: anyio-4.12.1, mock-3.15.1, benchmark-5.2.3, asyncio-1.3.0, xdist-3.8.0, cov-7.0.0\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 95 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 49%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-0x123-True] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-0xABC-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-0xabc-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-0x123ABC-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-123-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-ABC-True] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-abc-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-123ABC-True] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-0xg123-False] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-0x-False] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-0x123G-False] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-123e4567-e89b-42d3-a456-426614174000-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-00000000-0000-4000-8000-000000000000-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-123e4567-e89b-12d3-a456-426614174000-False] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-123e4567-e89b-12d3-a456-42661417400-False] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-123e4567-e89b-12d3-a456-4266141740000-False] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-123e4567-e89b-12d3-x456-426614174000-False] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-123e4567-e89b-12d3-a456-42661417400g-False] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-192.168.1.1-True] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-10.0.0.1-True] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71-172.16.0.1-True] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type72-255.255.255.255-True] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type73-0.0.0.0-True] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type74-256.1.2.3-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type75-1.256.2.3-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type76-1.2.256.3-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type77-1.2.3.256-False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type78-1.2.3-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type79-1.2.3.4.5-False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type80-1.2.3.4.-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_regex[custom_type81-.1.2.3.4-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_regex[custom_type82-1..2.3.4-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 95 passed in 3.88s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 4.57s\n Building outlines @ file:///workspace/repo\nDownloading sympy (5.9MiB)\nDownloading nvidia-cusolver-cu12 (118.4MiB)\nDownloading nvidia-cuda-cupti-cu12 (13.5MiB)\nDownloading nvidia-cudnn-cu12 (697.8MiB)\nDownloading nvidia-cusparse-cu12 (186.9MiB)\nDownloading nvidia-cufft-cu12 (116.0MiB)\nDownloading nvidia-nccl-cu12 (168.1MiB)\nDownloading pillow (4.3MiB)\nDownloading pydantic-core (1.9MiB)\nDownloading nvidia-nvjitlink-cu12 (18.8MiB)\nDownloading networkx (1.6MiB)\nDownloading nvidia-cublas-cu12 (391.6MiB)\nDownloading nvidia-cuda-nvrtc-cu12 (22.6MiB)\nDownloading nvidia-curand-cu12 (53.9MiB)\nDownloading triton (160.3MiB)\nDownloading torch (743.1MiB)\n Built outlines @ file:///workspace/repo\n Downloaded pydantic-core\n Downloaded pillow\n Downloaded networkx\n Downloaded nvidia-cuda-cupti-cu12\n Downloaded nvidia-nvjitlink-cu12\n Downloaded nvidia-cuda-nvrtc-cu12\n Downloaded nvidia-curand-cu12\n Downloaded nvidia-cufft-cu12\n Downloaded nvidia-cusolver-cu12\n Downloaded sympy\n Downloaded nvidia-nccl-cu12\n Downloaded triton\n Downloaded nvidia-cusparse-cu12\n Downloaded nvidia-cublas-cu12\n Downloaded nvidia-cudnn-cu12\n Downloaded torch\nPrepared 47 packages in 38.48s\nInstalled 47 packages in 755ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": true,
16
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests2.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: anyio-4.12.1, mock-3.15.1, benchmark-5.2.3, asyncio-1.3.0, xdist-3.8.0, cov-7.0.0\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 76 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 19%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 39%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 59%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-2001:0db8:85a3:0000:0000:8a2e:0370:7334-True] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-2001:db8:85a3:0:0:8a2e:370:7334-True] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-2001:0db8:85a3:0000:0000:8a2e:0370:7334-True] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF-True] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-0000:0000:0000:0000:0000:0000:0000:0000-True] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-1234:5678:9abc:def0:1234:5678:9abc:def0-True] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-2001:0db8:85a3:0000:0000:8a2e:0370:733g-False] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-2001:0db8:85a3:0000:0000:8a2e:0370-False] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-2001:0db8:85a3:0000:0000:8a2e:0370:7334:extra-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-2001:0db8:85a3:0000:0000:8a2e:0370:12345-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-2001::85a3:0000:0000:8a2e:0370:7334-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-192.168.1.1-False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63--False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 76 passed in 2.65s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 220ms\nInstalled 47 packages in 1.20s\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
17
+ },
18
+ "both_passed": true,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:19:22.627930"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 5
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "c46f0cf6",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.002821",
14
+ "ended_at": "2026-02-14T21:18:17.613028",
15
+ "duration_seconds": 52.610207,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.03930825,
19
+ "steps": 12,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 33,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.03930825,
28
+ "total_steps": 12,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5/solo.patch ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/types/__init__.py b/outlines/types/__init__.py
2
+ index 85af9adc..cc134cfc 100644
3
+ --- a/outlines/types/__init__.py
4
+ +++ b/outlines/types/__init__.py
5
+ @@ -47,6 +47,18 @@ digit = Regex(r"\d")
6
+ char = Regex(r"\w")
7
+ newline = Regex(r"(\r\n|\r|\n)") # Matched new lines on Linux, Windows & MacOS
8
+ whitespace = Regex(r"\s")
9
+ +hex_str = Regex(r"(0x)?[0-9a-fA-F]+")
10
+ +uuid4 = Regex(
11
+ + r"[0-9a-fA-F]{8}-"
12
+ + r"[0-9a-fA-F]{4}-"
13
+ + r"4[0-9a-fA-F]{3}-"
14
+ + r"[89abAB][0-9a-fA-F]{3}-"
15
+ + r"[0-9a-fA-F]{12}"
16
+ +)
17
+ +ipv4 = Regex(
18
+ + r"(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}"
19
+ + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
20
+ +)
21
+
22
+ # Document-specific types
23
+ sentence = Regex(r"[A-Z].*\s*[.!?]")
24
+ @@ -68,3 +80,9 @@ email = Regex(
25
+ isbn = Regex(
26
+ r"(?:ISBN(?:-1[03])?:? )?(?=[0-9X]{10}$|(?=(?:[0-9]+[- ]){3})[- 0-9X]{13}$|97[89][0-9]{10}$|(?=(?:[0-9]+[- ]){4})[- 0-9]{17}$)(?:97[89][- ]?)?[0-9]{1,5}[- ]?[0-9]+[- ]?[0-9]+[- ]?[0-9X]"
27
+ )
28
+ +
29
+ +# Network types
30
+ +ipv6 = Regex(
31
+ + r"(?:[0-9a-fA-F]{1,4}:){7}"
32
+ + r"[0-9a-fA-F]{1,4}"
33
+ +)
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f5/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff
 
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6/eval.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 6
7
+ ],
8
+ "setting": "solo",
9
+ "merge": null,
10
+ "feature1": {
11
+ "passed": true,
12
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving outlines.egg-info/\nRemoving outlines/_version.py\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests1.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: xdist-3.8.0, mock-3.15.1, cov-7.0.0, asyncio-1.3.0, benchmark-5.2.3, anyio-4.12.1\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 95 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 49%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-0x123-True] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-0xABC-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-0xabc-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-0x123ABC-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-123-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-ABC-True] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-abc-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-123ABC-True] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-0xg123-False] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-0x-False] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-0x123G-False] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-123e4567-e89b-42d3-a456-426614174000-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-00000000-0000-4000-8000-000000000000-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-123e4567-e89b-12d3-a456-426614174000-False] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-123e4567-e89b-12d3-a456-42661417400-False] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-123e4567-e89b-12d3-a456-4266141740000-False] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-123e4567-e89b-12d3-x456-426614174000-False] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-123e4567-e89b-12d3-a456-42661417400g-False] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-192.168.1.1-True] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-10.0.0.1-True] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71-172.16.0.1-True] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type72-255.255.255.255-True] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type73-0.0.0.0-True] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type74-256.1.2.3-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type75-1.256.2.3-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type76-1.2.256.3-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type77-1.2.3.256-False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type78-1.2.3-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type79-1.2.3.4.5-False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type80-1.2.3.4.-False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_regex[custom_type81-.1.2.3.4-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_regex[custom_type82-1..2.3.4-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================== 95 passed in 3.92s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 3.66s\n Building outlines @ file:///workspace/repo\nDownloading sympy (5.9MiB)\nDownloading nvidia-cublas-cu12 (391.6MiB)\nDownloading nvidia-cuda-cupti-cu12 (13.5MiB)\nDownloading nvidia-nvjitlink-cu12 (18.8MiB)\nDownloading pydantic-core (1.9MiB)\nDownloading nvidia-cufft-cu12 (116.0MiB)\nDownloading torch (743.1MiB)\nDownloading nvidia-cusolver-cu12 (118.4MiB)\nDownloading nvidia-curand-cu12 (53.9MiB)\nDownloading nvidia-cuda-nvrtc-cu12 (22.6MiB)\nDownloading nvidia-cusparse-cu12 (186.9MiB)\nDownloading nvidia-cudnn-cu12 (697.8MiB)\nDownloading nvidia-nccl-cu12 (168.1MiB)\nDownloading triton (160.3MiB)\nDownloading pillow (4.3MiB)\nDownloading networkx (1.6MiB)\n Built outlines @ file:///workspace/repo\n Downloaded pydantic-core\n Downloaded pillow\n Downloaded networkx\n Downloaded nvidia-cuda-cupti-cu12\n Downloaded nvidia-nvjitlink-cu12\n Downloaded nvidia-cuda-nvrtc-cu12\n Downloaded nvidia-curand-cu12\n Downloaded nvidia-cufft-cu12\n Downloaded nvidia-cusolver-cu12\n Downloaded sympy\n Downloaded triton\n Downloaded nvidia-nccl-cu12\n Downloaded nvidia-cusparse-cu12\n Downloaded nvidia-cublas-cu12\n Downloaded nvidia-cudnn-cu12\n Downloaded torch\nPrepared 47 packages in 32.22s\nInstalled 47 packages in 761ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
13
+ },
14
+ "feature2": {
15
+ "passed": true,
16
+ "test_output": "HEAD is now at 4dd7802a Add setup example for local server (#1646)\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nReset to base: 4dd7802a8a5021f31dac75bc652f88d410a28675\nEnsuring clean repository state...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nApplying feature patch: solo.patch\nFeature patch applied successfully.\nApplying test patch: tests2.patch\nTest patch applied successfully.\nSetting up Python environment with uv...\nInstalling dependencies...\nSyncing from uv.lock...\nInstalled test extras\nTest tools installed\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /workspace/repo\nconfigfile: pyproject.toml\nplugins: xdist-3.8.0, mock-3.15.1, cov-7.0.0, asyncio-1.3.0, benchmark-5.2.3, anyio-4.12.1\nasyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function\ncollecting ... collected 100 items\n\ntests/types/test_custom_types.py::test_type_regex[custom_type0-12-False] PASSED [ 1%]\ntests/types/test_custom_types.py::test_type_regex[custom_type1-(123) 123-1234-True] PASSED [ 2%]\ntests/types/test_custom_types.py::test_type_regex[custom_type2-123-123-1234-True] PASSED [ 3%]\ntests/types/test_custom_types.py::test_type_regex[custom_type3-12-False] PASSED [ 4%]\ntests/types/test_custom_types.py::test_type_regex[custom_type4-12345-True] PASSED [ 5%]\ntests/types/test_custom_types.py::test_type_regex[custom_type5-12345-1234-True] PASSED [ 6%]\ntests/types/test_custom_types.py::test_type_regex[custom_type6-ISBN 0-1-2-3-4-5-False] PASSED [ 7%]\ntests/types/test_custom_types.py::test_type_regex[custom_type7-ISBN 978-0-596-52068-7-True] PASSED [ 8%]\ntests/types/test_custom_types.py::test_type_regex[custom_type8-ISBN-13: 978-0-596-52068-7-True] PASSED [ 9%]\ntests/types/test_custom_types.py::test_type_regex[custom_type9-978 0 596 52068 7-True] PASSED [ 10%]\ntests/types/test_custom_types.py::test_type_regex[custom_type10-9780596520687-True] PASSED [ 11%]\ntests/types/test_custom_types.py::test_type_regex[custom_type11-ISBN-10: 0-596-52068-9-True] PASSED [ 12%]\ntests/types/test_custom_types.py::test_type_regex[custom_type12-0-596-52068-9-True] PASSED [ 13%]\ntests/types/test_custom_types.py::test_type_regex[custom_type13-eitan@gmail.com-True] PASSED [ 14%]\ntests/types/test_custom_types.py::test_type_regex[custom_type14-99@yahoo.com-True] PASSED [ 15%]\ntests/types/test_custom_types.py::test_type_regex[custom_type15-eitan@.gmail.com-False] PASSED [ 16%]\ntests/types/test_custom_types.py::test_type_regex[custom_type16-myemail-False] PASSED [ 17%]\ntests/types/test_custom_types.py::test_type_regex[custom_type17-eitan@gmail-False] PASSED [ 18%]\ntests/types/test_custom_types.py::test_type_regex[custom_type18-eitan@my.custom.domain-True] PASSED [ 19%]\ntests/types/test_custom_types.py::test_type_regex[custom_type19--19-True] PASSED [ 20%]\ntests/types/test_custom_types.py::test_type_regex[custom_type20-19-True] PASSED [ 21%]\ntests/types/test_custom_types.py::test_type_regex[custom_type21-019-False] PASSED [ 22%]\ntests/types/test_custom_types.py::test_type_regex[custom_type22-1.9-False] PASSED [ 23%]\ntests/types/test_custom_types.py::test_type_regex[custom_type23-a-False] PASSED [ 24%]\ntests/types/test_custom_types.py::test_type_regex[custom_type24-True-True] PASSED [ 25%]\ntests/types/test_custom_types.py::test_type_regex[custom_type25-False-True] PASSED [ 26%]\ntests/types/test_custom_types.py::test_type_regex[custom_type26-true-False] PASSED [ 27%]\ntests/types/test_custom_types.py::test_type_regex[custom_type27-10-True] PASSED [ 28%]\ntests/types/test_custom_types.py::test_type_regex[custom_type28-10.9-True] PASSED [ 29%]\ntests/types/test_custom_types.py::test_type_regex[custom_type29-10.9e+3-True] PASSED [ 30%]\ntests/types/test_custom_types.py::test_type_regex[custom_type30-10.9e-3-True] PASSED [ 31%]\ntests/types/test_custom_types.py::test_type_regex[custom_type31-a-False] PASSED [ 32%]\ntests/types/test_custom_types.py::test_type_regex[custom_type32-2022-03-23-True] PASSED [ 33%]\ntests/types/test_custom_types.py::test_type_regex[custom_type33-2022-03-32-False] PASSED [ 34%]\ntests/types/test_custom_types.py::test_type_regex[custom_type34-2022-13-23-False] PASSED [ 35%]\ntests/types/test_custom_types.py::test_type_regex[custom_type35-32-03-2022-False] PASSED [ 36%]\ntests/types/test_custom_types.py::test_type_regex[custom_type36-01:23:59-True] PASSED [ 37%]\ntests/types/test_custom_types.py::test_type_regex[custom_type37-01:23:61-False] PASSED [ 38%]\ntests/types/test_custom_types.py::test_type_regex[custom_type38-01:61:59-False] PASSED [ 39%]\ntests/types/test_custom_types.py::test_type_regex[custom_type39-24:23:59-False] PASSED [ 40%]\ntests/types/test_custom_types.py::test_type_regex[custom_type40-The temperature is 23.5 degrees !-True] PASSED [ 41%]\ntests/types/test_custom_types.py::test_type_regex[custom_type41-Did you earn $1,234.56 last month ?-True] PASSED [ 42%]\ntests/types/test_custom_types.py::test_type_regex[custom_type42-The #1 player scored 100 points .-True] PASSED [ 43%]\ntests/types/test_custom_types.py::test_type_regex[custom_type43-Hello @world, this is a test!-True] PASSED [ 44%]\ntests/types/test_custom_types.py::test_type_regex[custom_type44-invalid sentence.-False] PASSED [ 45%]\ntests/types/test_custom_types.py::test_type_regex[custom_type45-Invalid sentence-False] PASSED [ 46%]\ntests/types/test_custom_types.py::test_type_regex[custom_type46-This is a paragraph!\\n-True] PASSED [ 47%]\ntests/types/test_custom_types.py::test_type_regex[custom_type47-Line1\\nLine2-False] PASSED [ 48%]\ntests/types/test_custom_types.py::test_type_regex[custom_type48-One sentence. Two sentences.\\n\\n-True] PASSED [ 49%]\ntests/types/test_custom_types.py::test_type_regex[custom_type49-One sentence. invalid sentence.-False] PASSED [ 50%]\ntests/types/test_custom_types.py::test_type_regex[custom_type50-One sentence. Invalid sentence\\n-False] PASSED [ 51%]\ntests/types/test_custom_types.py::test_type_regex[custom_type51-https://www.example.com-True] PASSED [ 52%]\ntests/types/test_custom_types.py::test_type_regex[custom_type52-http://example.com-True] PASSED [ 53%]\ntests/types/test_custom_types.py::test_type_regex[custom_type53-https://subdomain.example.com-True] PASSED [ 54%]\ntests/types/test_custom_types.py::test_type_regex[custom_type54-http://example.com/path-True] PASSED [ 55%]\ntests/types/test_custom_types.py::test_type_regex[custom_type55-https://example.com/path/to/resource-True] PASSED [ 56%]\ntests/types/test_custom_types.py::test_type_regex[custom_type56-http://example.com:8080-True] PASSED [ 57%]\ntests/types/test_custom_types.py::test_type_regex[custom_type57-https://example.com:443/path-True] PASSED [ 58%]\ntests/types/test_custom_types.py::test_type_regex[custom_type58-http://192.168.1.1-True] PASSED [ 59%]\ntests/types/test_custom_types.py::test_type_regex[custom_type59-https://192.168.1.1:8080/api-True] PASSED [ 60%]\ntests/types/test_custom_types.py::test_type_regex[custom_type60-http://example.com/path?query=value-True] PASSED [ 61%]\ntests/types/test_custom_types.py::test_type_regex[custom_type61-https://example.com/path?q=1&r=2-True] PASSED [ 62%]\ntests/types/test_custom_types.py::test_type_regex[custom_type62-http://example.com/path#fragment-True] PASSED [ 63%]\ntests/types/test_custom_types.py::test_type_regex[custom_type63-https://example.com/path?q=1#frag-True] PASSED [ 64%]\ntests/types/test_custom_types.py::test_type_regex[custom_type64-http://localhost-True] PASSED [ 65%]\ntests/types/test_custom_types.py::test_type_regex[custom_type65-https://localhost:3000-True] PASSED [ 66%]\ntests/types/test_custom_types.py::test_type_regex[custom_type66-http://api.example.com/v1/users-True] PASSED [ 67%]\ntests/types/test_custom_types.py::test_type_regex[custom_type67-https://cdn.example.com/assets/style.css-True] PASSED [ 68%]\ntests/types/test_custom_types.py::test_type_regex[custom_type68-http://a.bc-True] PASSED [ 69%]\ntests/types/test_custom_types.py::test_type_regex[custom_type69-https://x.y.co-True] PASSED [ 70%]\ntests/types/test_custom_types.py::test_type_regex[custom_type70-http://example.com/-True] PASSED [ 71%]\ntests/types/test_custom_types.py::test_type_regex[custom_type71-https://example.com//double/slash-True] PASSED [ 72%]\ntests/types/test_custom_types.py::test_type_regex[custom_type72-http://example.com/path-with-dashes-True] PASSED [ 73%]\ntests/types/test_custom_types.py::test_type_regex[custom_type73-https://example.com/path_with_underscores-True] PASSED [ 74%]\ntests/types/test_custom_types.py::test_type_regex[custom_type74-http://example.com/path%20encoded-True] PASSED [ 75%]\ntests/types/test_custom_types.py::test_type_regex[custom_type75-https://example.com:65535-True] PASSED [ 76%]\ntests/types/test_custom_types.py::test_type_regex[custom_type76-ftp://example.com-False] PASSED [ 77%]\ntests/types/test_custom_types.py::test_type_regex[custom_type77-example.com-False] PASSED [ 78%]\ntests/types/test_custom_types.py::test_type_regex[custom_type78-www.example.com-False] PASSED [ 79%]\ntests/types/test_custom_types.py::test_type_regex[custom_type79-http://-False] PASSED [ 80%]\ntests/types/test_custom_types.py::test_type_regex[custom_type80-https://-False] PASSED [ 81%]\ntests/types/test_custom_types.py::test_type_regex[custom_type81-http:// example.com-False] PASSED [ 82%]\ntests/types/test_custom_types.py::test_type_regex[custom_type82-https://example .com-False] PASSED [ 83%]\ntests/types/test_custom_types.py::test_type_regex[custom_type83-http://example.com with spaces-False] PASSED [ 84%]\ntests/types/test_custom_types.py::test_type_regex[custom_type84--False] PASSED [ 85%]\ntests/types/test_custom_types.py::test_type_regex[custom_type85-not a url-False] PASSED [ 86%]\ntests/types/test_custom_types.py::test_type_regex[custom_type86-mailto:user@example.com-False] PASSED [ 87%]\ntests/types/test_custom_types.py::test_type_regex[custom_type87-file:///path/to/file-False] PASSED [ 88%]\ntests/types/test_custom_types.py::test_type_enum[Airport-CDG-True] PASSED [ 89%]\ntests/types/test_custom_types.py::test_type_enum[Airport-XXX-False] PASSED [ 90%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-FR-True] PASSED [ 91%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_2-XX-False] PASSED [ 92%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-UKR-True] PASSED [ 93%]\ntests/types/test_custom_types.py::test_type_enum[Alpha_3-XXX-False] PASSED [ 94%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-004-True] PASSED [ 95%]\ntests/types/test_custom_types.py::test_type_enum[Numeric_code-900-False] PASSED [ 96%]\ntests/types/test_custom_types.py::test_type_enum[Name-Ukraine-True] PASSED [ 97%]\ntests/types/test_custom_types.py::test_type_enum[Name-Wonderland-False] PASSED [ 98%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f1ff\\U0001f1fc-True] PASSED [ 99%]\ntests/types/test_custom_types.py::test_type_enum[Flag-\\U0001f917-False] PASSED [100%]\n\n============================= 100 passed in 2.73s ==============================\nTest execution completed!\nCleaning up repository...\nHEAD is now at 4dd7802a Add setup example for local server (#1646)\nRemoving .benchmarks/\nRemoving .pytest_cache/\nRemoving .venv/\nRemoving outlines.egg-info/\nRemoving outlines/__pycache__/\nRemoving outlines/_version.py\nRemoving outlines/fsm/__pycache__/\nRemoving outlines/models/__pycache__/\nRemoving outlines/processors/__pycache__/\nRemoving outlines/processors/tensor_adapters/__pycache__/\nRemoving outlines/types/__pycache__/\nRemoving outlines/types/locale/__pycache__/\nRemoving outlines/v0_legacy/__pycache__/\nRemoving outlines/v0_legacy/generate/__pycache__/\nRemoving outlines/v0_legacy/models/__pycache__/\nRemoving tests/__pycache__/\nRemoving tests/types/__pycache__/\nRepository cleaned.\nUsing CPython 3.11.14 interpreter at: /usr/local/bin/python3\nCreating virtual environment at: .venv\nResolved 242 packages in 272ms\nInstalled 47 packages in 838ms\n + airportsdata==20241001\n + annotated-types==0.7.0\n + attrs==24.3.0\n + certifi==2024.12.14\n + charset-normalizer==3.4.1\n + cloudpickle==3.1.1\n + diskcache==5.6.3\n + filelock==3.16.1\n + fsspec==2024.9.0\n + genson==1.3.0\n + idna==3.10\n + interegular==0.3.3\n + iso3166==2.1.1\n + jinja2==3.1.5\n + jsonschema==4.23.0\n + jsonschema-specifications==2024.10.1\n + lark==1.2.2\n + markupsafe==3.0.2\n + mpmath==1.3.0\n + nest-asyncio==1.6.0\n + networkx==3.4.2\n + nvidia-cublas-cu12==12.1.3.1\n + nvidia-cuda-cupti-cu12==12.1.105\n + nvidia-cuda-nvrtc-cu12==12.1.105\n + nvidia-cuda-runtime-cu12==12.1.105\n + nvidia-cudnn-cu12==8.9.2.26\n + nvidia-cufft-cu12==11.0.2.54\n + nvidia-curand-cu12==10.3.2.106\n + nvidia-cusolver-cu12==11.4.5.107\n + nvidia-cusparse-cu12==12.1.0.106\n + nvidia-nccl-cu12==2.20.5\n + nvidia-nvjitlink-cu12==12.6.85\n + nvidia-nvtx-cu12==12.1.105\n + outlines==1.0.2.dev7+g4dd7802a8.d20220101 (from file:///workspace/repo)\n + outlines-core==0.1.26\n + pillow==11.1.0\n + pydantic==2.10.5\n + pydantic-core==2.27.2\n + referencing==0.36.1\n + requests==2.32.3\n + rpds-py==0.22.3\n + sympy==1.13.3\n + torch==2.3.0\n + tqdm==4.67.1\n + triton==2.3.0\n + typing-extensions==4.12.2\n + urllib3==2.3.0\nUsing Python 3.11.14 environment at: /usr/local\nAudited 3 packages in 10ms\n"
17
+ },
18
+ "both_passed": true,
19
+ "error": null,
20
+ "evaluated_at": "2026-02-14T21:20:21.555004"
21
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6/result.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "dottxt_ai_outlines_task",
3
+ "task_id": 1655,
4
+ "features": [
5
+ 1,
6
+ 6
7
+ ],
8
+ "setting": "solo",
9
+ "run_id": "08872733",
10
+ "run_name": "solo-msa_v2-gemini-3-flash",
11
+ "agent_framework": "mini_swe_agent_v2",
12
+ "model": "vertex_ai/gemini-3-flash-preview",
13
+ "started_at": "2026-02-14T21:17:25.003360",
14
+ "ended_at": "2026-02-14T21:19:24.185458",
15
+ "duration_seconds": 119.182098,
16
+ "agent": {
17
+ "status": "Submitted",
18
+ "cost": 0.051053999999999995,
19
+ "steps": 13,
20
+ "input_tokens": 0,
21
+ "output_tokens": 0,
22
+ "cache_read_tokens": 0,
23
+ "cache_write_tokens": 0,
24
+ "patch_lines": 30,
25
+ "error": null
26
+ },
27
+ "total_cost": 0.051053999999999995,
28
+ "total_steps": 13,
29
+ "log_dir": "logs/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6"
30
+ }
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6/solo.patch ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/outlines/types/__init__.py b/outlines/types/__init__.py
2
+ index 85af9adc..0052667f 100644
3
+ --- a/outlines/types/__init__.py
4
+ +++ b/outlines/types/__init__.py
5
+ @@ -47,6 +47,16 @@ digit = Regex(r"\d")
6
+ char = Regex(r"\w")
7
+ newline = Regex(r"(\r\n|\r|\n)") # Matched new lines on Linux, Windows & MacOS
8
+ whitespace = Regex(r"\s")
9
+ +hex_str = Regex(r"(0x)?[0-9a-fA-F]+")
10
+ +uuid4 = Regex(
11
+ + r"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-"
12
+ + r"[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}"
13
+ +)
14
+ +ipv4_octet = r"(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
15
+ +ipv4 = Regex(
16
+ + ipv4_octet + r"\." + ipv4_octet + r"\." + ipv4_octet + r"\." + ipv4_octet
17
+ +)
18
+ +
19
+
20
+ # Document-specific types
21
+ sentence = Regex(r"[A-Z].*\s*[.!?]")
22
+ @@ -68,3 +78,8 @@ email = Regex(
23
+ isbn = Regex(
24
+ r"(?:ISBN(?:-1[03])?:? )?(?=[0-9X]{10}$|(?=(?:[0-9]+[- ]){3})[- 0-9X]{13}$|97[89][0-9]{10}$|(?=(?:[0-9]+[- ]){4})[- 0-9]{17}$)(?:97[89][- ]?)?[0-9]{1,5}[- ]?[0-9]+[- ]?[0-9]+[- ]?[0-9X]"
25
+ )
26
+ +
27
+ +
28
+ +
29
+ +
30
+ +url = Regex(r"https?://(?:(?:[a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-z]{2,6})|(?:localhost)|(?:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(?::\d+)?(?:[-a-zA-Z0-9()@:%_\+.~#?&//=]*)")
msa_v2_verified/solo-msa_v2-gemini-3-flash/solo/dottxt_ai_outlines_task/1655/f1_f6/solo_traj.json ADDED
The diff for this file is too large to render. See raw diff