EvoScientist 0.0.1.dev4__py3-none-any.whl → 0.1.0rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. EvoScientist/EvoScientist.py +26 -62
  2. EvoScientist/__init__.py +0 -19
  3. EvoScientist/backends.py +0 -26
  4. EvoScientist/cli.py +1111 -498
  5. EvoScientist/middleware.py +8 -61
  6. EvoScientist/stream/__init__.py +0 -25
  7. EvoScientist/stream/utils.py +16 -23
  8. EvoScientist/tools.py +2 -75
  9. evoscientist-0.1.0rc1.dist-info/METADATA +199 -0
  10. evoscientist-0.1.0rc1.dist-info/RECORD +21 -0
  11. evoscientist-0.1.0rc1.dist-info/entry_points.txt +2 -0
  12. EvoScientist/config.py +0 -274
  13. EvoScientist/llm/__init__.py +0 -21
  14. EvoScientist/llm/models.py +0 -99
  15. EvoScientist/memory.py +0 -715
  16. EvoScientist/onboard.py +0 -725
  17. EvoScientist/paths.py +0 -44
  18. EvoScientist/skills/accelerate/SKILL.md +0 -332
  19. EvoScientist/skills/accelerate/references/custom-plugins.md +0 -453
  20. EvoScientist/skills/accelerate/references/megatron-integration.md +0 -489
  21. EvoScientist/skills/accelerate/references/performance.md +0 -525
  22. EvoScientist/skills/bitsandbytes/SKILL.md +0 -411
  23. EvoScientist/skills/bitsandbytes/references/memory-optimization.md +0 -521
  24. EvoScientist/skills/bitsandbytes/references/qlora-training.md +0 -521
  25. EvoScientist/skills/bitsandbytes/references/quantization-formats.md +0 -447
  26. EvoScientist/skills/find-skills/SKILL.md +0 -133
  27. EvoScientist/skills/find-skills/scripts/install_skill.py +0 -211
  28. EvoScientist/skills/flash-attention/SKILL.md +0 -367
  29. EvoScientist/skills/flash-attention/references/benchmarks.md +0 -215
  30. EvoScientist/skills/flash-attention/references/transformers-integration.md +0 -293
  31. EvoScientist/skills/llama-cpp/SKILL.md +0 -258
  32. EvoScientist/skills/llama-cpp/references/optimization.md +0 -89
  33. EvoScientist/skills/llama-cpp/references/quantization.md +0 -213
  34. EvoScientist/skills/llama-cpp/references/server.md +0 -125
  35. EvoScientist/skills/lm-evaluation-harness/SKILL.md +0 -490
  36. EvoScientist/skills/lm-evaluation-harness/references/api-evaluation.md +0 -490
  37. EvoScientist/skills/lm-evaluation-harness/references/benchmark-guide.md +0 -488
  38. EvoScientist/skills/lm-evaluation-harness/references/custom-tasks.md +0 -602
  39. EvoScientist/skills/lm-evaluation-harness/references/distributed-eval.md +0 -519
  40. EvoScientist/skills/ml-paper-writing/SKILL.md +0 -937
  41. EvoScientist/skills/ml-paper-writing/references/checklists.md +0 -361
  42. EvoScientist/skills/ml-paper-writing/references/citation-workflow.md +0 -562
  43. EvoScientist/skills/ml-paper-writing/references/reviewer-guidelines.md +0 -367
  44. EvoScientist/skills/ml-paper-writing/references/sources.md +0 -159
  45. EvoScientist/skills/ml-paper-writing/references/writing-guide.md +0 -476
  46. EvoScientist/skills/ml-paper-writing/templates/README.md +0 -251
  47. EvoScientist/skills/ml-paper-writing/templates/aaai2026/README.md +0 -534
  48. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-supp.tex +0 -144
  49. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-template.tex +0 -952
  50. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026.bib +0 -111
  51. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026.bst +0 -1493
  52. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026.sty +0 -315
  53. EvoScientist/skills/ml-paper-writing/templates/acl/README.md +0 -50
  54. EvoScientist/skills/ml-paper-writing/templates/acl/acl.sty +0 -312
  55. EvoScientist/skills/ml-paper-writing/templates/acl/acl_latex.tex +0 -377
  56. EvoScientist/skills/ml-paper-writing/templates/acl/acl_lualatex.tex +0 -101
  57. EvoScientist/skills/ml-paper-writing/templates/acl/acl_natbib.bst +0 -1940
  58. EvoScientist/skills/ml-paper-writing/templates/acl/anthology.bib.txt +0 -26
  59. EvoScientist/skills/ml-paper-writing/templates/acl/custom.bib +0 -70
  60. EvoScientist/skills/ml-paper-writing/templates/acl/formatting.md +0 -326
  61. EvoScientist/skills/ml-paper-writing/templates/colm2025/README.md +0 -3
  62. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bib +0 -11
  63. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bst +0 -1440
  64. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.pdf +0 -0
  65. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.sty +0 -218
  66. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.tex +0 -305
  67. EvoScientist/skills/ml-paper-writing/templates/colm2025/fancyhdr.sty +0 -485
  68. EvoScientist/skills/ml-paper-writing/templates/colm2025/math_commands.tex +0 -508
  69. EvoScientist/skills/ml-paper-writing/templates/colm2025/natbib.sty +0 -1246
  70. EvoScientist/skills/ml-paper-writing/templates/iclr2026/fancyhdr.sty +0 -485
  71. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bib +0 -24
  72. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bst +0 -1440
  73. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.pdf +0 -0
  74. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.sty +0 -246
  75. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.tex +0 -414
  76. EvoScientist/skills/ml-paper-writing/templates/iclr2026/math_commands.tex +0 -508
  77. EvoScientist/skills/ml-paper-writing/templates/iclr2026/natbib.sty +0 -1246
  78. EvoScientist/skills/ml-paper-writing/templates/icml2026/algorithm.sty +0 -79
  79. EvoScientist/skills/ml-paper-writing/templates/icml2026/algorithmic.sty +0 -201
  80. EvoScientist/skills/ml-paper-writing/templates/icml2026/example_paper.bib +0 -75
  81. EvoScientist/skills/ml-paper-writing/templates/icml2026/example_paper.pdf +0 -0
  82. EvoScientist/skills/ml-paper-writing/templates/icml2026/example_paper.tex +0 -662
  83. EvoScientist/skills/ml-paper-writing/templates/icml2026/fancyhdr.sty +0 -864
  84. EvoScientist/skills/ml-paper-writing/templates/icml2026/icml2026.bst +0 -1443
  85. EvoScientist/skills/ml-paper-writing/templates/icml2026/icml2026.sty +0 -767
  86. EvoScientist/skills/ml-paper-writing/templates/icml2026/icml_numpapers.pdf +0 -0
  87. EvoScientist/skills/ml-paper-writing/templates/neurips2025/Makefile +0 -36
  88. EvoScientist/skills/ml-paper-writing/templates/neurips2025/extra_pkgs.tex +0 -53
  89. EvoScientist/skills/ml-paper-writing/templates/neurips2025/main.tex +0 -38
  90. EvoScientist/skills/ml-paper-writing/templates/neurips2025/neurips.sty +0 -382
  91. EvoScientist/skills/peft/SKILL.md +0 -431
  92. EvoScientist/skills/peft/references/advanced-usage.md +0 -514
  93. EvoScientist/skills/peft/references/troubleshooting.md +0 -480
  94. EvoScientist/skills/ray-data/SKILL.md +0 -326
  95. EvoScientist/skills/ray-data/references/integration.md +0 -82
  96. EvoScientist/skills/ray-data/references/transformations.md +0 -83
  97. EvoScientist/skills/skill-creator/LICENSE.txt +0 -202
  98. EvoScientist/skills/skill-creator/SKILL.md +0 -356
  99. EvoScientist/skills/skill-creator/references/output-patterns.md +0 -82
  100. EvoScientist/skills/skill-creator/references/workflows.md +0 -28
  101. EvoScientist/skills/skill-creator/scripts/init_skill.py +0 -303
  102. EvoScientist/skills/skill-creator/scripts/package_skill.py +0 -110
  103. EvoScientist/skills/skill-creator/scripts/quick_validate.py +0 -95
  104. EvoScientist/skills_manager.py +0 -391
  105. EvoScientist/stream/display.py +0 -604
  106. EvoScientist/stream/events.py +0 -415
  107. EvoScientist/stream/state.py +0 -343
  108. evoscientist-0.0.1.dev4.dist-info/METADATA +0 -367
  109. evoscientist-0.0.1.dev4.dist-info/RECORD +0 -117
  110. evoscientist-0.0.1.dev4.dist-info/entry_points.txt +0 -5
  111. {evoscientist-0.0.1.dev4.dist-info → evoscientist-0.1.0rc1.dist-info}/WHEEL +0 -0
  112. {evoscientist-0.0.1.dev4.dist-info → evoscientist-0.1.0rc1.dist-info}/licenses/LICENSE +0 -0
  113. {evoscientist-0.0.1.dev4.dist-info → evoscientist-0.1.0rc1.dist-info}/top_level.txt +0 -0
@@ -1,767 +0,0 @@
1
- % File: icml2026.sty (LaTeX style file for ICML-2026, version of 2025-10-29)
2
-
3
- % This file contains the LaTeX formatting parameters for a two-column
4
- % conference proceedings that is 8.5 inches wide by 11 inches high.
5
- %
6
- % Modified by Hanze Dong, Alberto Bietti, and Felix Berkenkamp, 2025
7
- % - Revert to times for better compatibility
8
- % - Updated years, volume, location
9
- % - Added preprint version
10
- % - Based on the suggestion from Johan Larsson:
11
- % 1. Added an end-of-document safety check to ensure the affiliations or notice footnote is printed:
12
- % (1) Introduces a flag \newif\ificml@noticeprinted and sets it false by default.
13
- % (2) At end of document, emits a package warning if \printAffiliationsAndNotice{...} was never called.
14
- % 2. \printAffiliationsAndNotice now sets the flag when called: Begins with \global\icml@noticeprintedtrue.
15
- % - Migrated to more recent version of fancyhdr for running title in header
16
- %
17
- % Modified by Johan Larsson, 2025
18
- % - Use newtx instead of times, aligning serif, sans-serif, typerwriter,
19
- % and math fonts.
20
- % - Use caption package to setup captions instead of manually defining themanually defining them.
21
- % - Formatted icml2026.sty and example_paper.tex
22
- % - Use title case for section title to 2.9
23
- % - Replace subfigure package with subcaption in example, since it is
24
- % designed to work together with the caption package (which is now required).
25
- % - Remove unused label in example
26
- %
27
- % Modified by Tegan Maharaj and Felix Berkenkamp 2025: changed years, volume, location
28
- %
29
- % Modified by Jonathan Scarlett 2024: changed years, volume, location
30
- %
31
- % Modified by Sivan Sabato 2023: changed years and volume number.
32
- % Modified by Jonathan Scarlett 2023: added page numbers to every page
33
- %
34
- % Modified by Csaba Szepesvari 2022: changed years, PMLR ref. Turned off checking marginparwidth
35
- % as marginparwidth only controls the space available for margin notes and margin notes
36
- % will NEVER be used anyways in submitted versions, so there is no reason one should
37
- % check whether marginparwidth has been tampered with.
38
- % Also removed pdfview=FitH from hypersetup as it did not do its job; the default choice is a bit better
39
- % but of course the double-column format is not supported by this hyperlink preview functionality
40
- % in a completely satisfactory fashion.
41
- % Modified by Gang Niu 2022: Changed color to xcolor
42
- %
43
- % Modified by Iain Murray 2018: changed years, location. Remove affiliation notes when anonymous.
44
- % Move times dependency from .tex to .sty so fewer people delete it.
45
- %
46
- % Modified by Daniel Roy 2017: changed byline to use footnotes for affiliations, and removed emails
47
- %
48
- % Modified by Percy Liang 12/2/2013: changed the year, location from the previous template for ICML 2014
49
-
50
- % Modified by Fei Sha 9/2/2013: changed the year, location form the previous template for ICML 2013
51
- %
52
- % Modified by Fei Sha 4/24/2013: (1) remove the extra whitespace after the
53
- % first author's email address (in %the camera-ready version) (2) change the
54
- % Proceeding ... of ICML 2010 to 2014 so PDF's metadata will show up %
55
- % correctly
56
- %
57
- % Modified by Sanjoy Dasgupta, 2013: changed years, location
58
- %
59
- % Modified by Francesco Figari, 2012: changed years, location
60
- %
61
- % Modified by Christoph Sawade and Tobias Scheffer, 2011: added line
62
- % numbers, changed years
63
- %
64
- % Modified by Hal Daume III, 2010: changed years, added hyperlinks
65
- %
66
- % Modified by Kiri Wagstaff, 2009: changed years
67
- %
68
- % Modified by Sam Roweis, 2008: changed years
69
- %
70
- % Modified by Ricardo Silva, 2007: update of the ifpdf verification
71
- %
72
- % Modified by Prasad Tadepalli and Andrew Moore, merely changing years.
73
- %
74
- % Modified by Kristian Kersting, 2005, based on Jennifer Dy's 2004 version
75
- % - running title. If the original title is to long or is breaking a line,
76
- % use \icmltitlerunning{...} in the preamble to supply a shorter form.
77
- % Added fancyhdr package to get a running head.
78
- % - Updated to store the page size because pdflatex does compile the
79
- % page size into the pdf.
80
- %
81
- % Hacked by Terran Lane, 2003:
82
- % - Updated to use LaTeX2e style file conventions (ProvidesPackage,
83
- % etc.)
84
- % - Added an ``appearing in'' block at the base of the first column
85
- % (thus keeping the ``appearing in'' note out of the bottom margin
86
- % where the printer should strip in the page numbers).
87
- % - Added a package option [accepted] that selects between the ``Under
88
- % review'' notice (default, when no option is specified) and the
89
- % ``Appearing in'' notice (for use when the paper has been accepted
90
- % and will appear).
91
- %
92
- % Originally created as: ml2k.sty (LaTeX style file for ICML-2000)
93
- % by P. Langley (12/23/99)
94
-
95
- %%%%%%%%%%%%%%%%%%%%
96
- %% This version of the style file supports both a ``review'' version
97
- %% and a ``final/accepted'' version. The difference is only in the
98
- %% text that appears in the note at the bottom of the first column of
99
- %% the first page. The default behavior is to print a note to the
100
- %% effect that the paper is under review and don't distribute it. The
101
- %% final/accepted version prints an ``Appearing in'' note. To get the
102
- %% latter behavior, in the calling file change the ``usepackage'' line
103
- %% from:
104
- %% \usepackage{icml2025}
105
- %% to
106
- %% \usepackage[accepted]{icml2025}
107
- %%%%%%%%%%%%%%%%%%%%
108
-
109
- \NeedsTeXFormat{LaTeX2e}
110
- \ProvidesPackage{icml2026}[2025/10/29 v2.0 ICML Conference Style File]
111
-
112
- % Before 2018, \usepackage{times} was in the example TeX, but inevitably
113
- % not everybody did it.
114
- % \RequirePackage[amsthm]{newtx}
115
- % 2025.11.6 revert to times for better compatibility
116
- \RequirePackage{times}
117
-
118
- % Use fancyhdr package
119
- \RequirePackage{fancyhdr}
120
- \RequirePackage{xcolor} % changed from color to xcolor (2021/11/24)
121
- \RequirePackage{algorithm}
122
- \RequirePackage{algorithmic}
123
- \RequirePackage{natbib}
124
- \RequirePackage{eso-pic} % used by \AddToShipoutPicture
125
- \RequirePackage{forloop}
126
- \RequirePackage{url}
127
- \RequirePackage{caption}
128
-
129
- %%%%%%%% Options
130
- \DeclareOption{accepted}{%
131
- \renewcommand{\Notice@String}{\ICML@appearing}
132
- \gdef\isaccepted{1}
133
- }
134
-
135
- % === Preprint option ===
136
- \DeclareOption{preprint}{%%
137
- \renewcommand{\Notice@String}{\ICML@preprint}%%
138
- \gdef\ispreprint{1}%%
139
- }
140
-
141
- % Distinct preprint footer text
142
- \newcommand{\ICML@preprint}{%
143
- \textit{Preprint. \today.}%
144
- }
145
-
146
- \DeclareOption{nohyperref}{%
147
- \gdef\nohyperref{1}
148
- }
149
-
150
- % Helper flag: show real authors for accepted or preprint
151
- \newif\ificmlshowauthors
152
- \icmlshowauthorsfalse
153
-
154
- %%%%%%%%%%%%%%%%%%%%
155
- % This string is printed at the bottom of the page for the
156
- % final/accepted version of the ``appearing in'' note. Modify it to
157
- % change that text.
158
- %%%%%%%%%%%%%%%%%%%%
159
- \newcommand{\ICML@appearing}{\textit{Proceedings of the
160
- $\mathit{43}^{rd}$ International Conference on Machine Learning},
161
- Seoul, South Korea. PMLR 306, 2026.
162
- Copyright 2026 by the author(s).}
163
-
164
- %%%%%%%%%%%%%%%%%%%%
165
- % This string is printed at the bottom of the page for the draft/under
166
- % review version of the ``appearing in'' note. Modify it to change
167
- % that text.
168
- %%%%%%%%%%%%%%%%%%%%
169
- \newcommand{\Notice@String}{Preliminary work. Under review by the
170
- International Conference on Machine Learning (ICML)\@. Do not distribute.}
171
-
172
- % Cause the declared options to actually be parsed and activated
173
- \ProcessOptions\relax
174
-
175
- % After options are processed, decide if authors should be visible
176
- \ifdefined\isaccepted \icmlshowauthorstrue \fi
177
- \ifdefined\ispreprint \icmlshowauthorstrue \fi
178
-
179
- \ifdefined\isaccepted\else\ifdefined\ispreprint\else\ifdefined\hypersetup
180
- \hypersetup{pdfauthor={Anonymous Authors}}
181
- \fi\fi\fi
182
-
183
- \ifdefined\nohyperref\else\ifdefined\hypersetup
184
- \definecolor{mydarkblue}{rgb}{0,0.08,0.45}
185
- \hypersetup{ %
186
- pdftitle={},
187
- pdfsubject={Proceedings of the International Conference on Machine Learning 2026},
188
- pdfkeywords={},
189
- pdfborder=0 0 0,
190
- pdfpagemode=UseNone,
191
- colorlinks=true,
192
- linkcolor=mydarkblue,
193
- citecolor=mydarkblue,
194
- filecolor=mydarkblue,
195
- urlcolor=mydarkblue,
196
- }
197
- \fi
198
- \fi
199
-
200
-
201
-
202
- % Uncomment the following for debugging. It will cause LaTeX to dump
203
- % the version of the ``appearing in'' string that will actually appear
204
- % in the document.
205
- %\typeout{>> Notice string='\Notice@String'}
206
-
207
- % Change citation commands to be more like old ICML styles
208
- \newcommand{\yrcite}[1]{\citeyearpar{#1}}
209
- \renewcommand{\cite}[1]{\citep{#1}}
210
-
211
-
212
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
213
- % to ensure the letter format is used. pdflatex does compile the
214
- % page size into the pdf. This is done using \pdfpagewidth and
215
- % \pdfpageheight. As Latex does not know this directives, we first
216
- % check whether pdflatex or latex is used.
217
- %
218
- % Kristian Kersting 2005
219
- %
220
- % in order to account for the more recent use of pdfetex as the default
221
- % compiler, I have changed the pdf verification.
222
- %
223
- % Ricardo Silva 2007
224
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
225
-
226
- \paperwidth=8.5in
227
- \paperheight=11in
228
-
229
- % old PDFLaTex verification, circa 2005
230
- %
231
- %\newif\ifpdf\ifx\pdfoutput\undefined
232
- % \pdffalse % we are not running PDFLaTeX
233
- %\else
234
- % \pdfoutput=1 % we are running PDFLaTeX
235
- % \pdftrue
236
- %\fi
237
-
238
- \newif\ifpdf %adapted from ifpdf.sty
239
- \ifx\pdfoutput\undefined
240
- \else
241
- \ifx\pdfoutput\relax
242
- \else
243
- \ifcase\pdfoutput
244
- \else
245
- \pdftrue
246
- \fi
247
- \fi
248
- \fi
249
-
250
- \ifpdf
251
- % \pdfpagewidth=\paperwidth
252
- % \pdfpageheight=\paperheight
253
- \setlength{\pdfpagewidth}{8.5in}
254
- \setlength{\pdfpageheight}{11in}
255
- \fi
256
-
257
- % Physical page layout
258
-
259
- \evensidemargin -0.23in
260
- \oddsidemargin -0.23in
261
- \setlength\textheight{9.0in}
262
- \setlength\textwidth{6.75in}
263
- \setlength\columnsep{0.25in}
264
- \setlength\headheight{10pt}
265
- \setlength\headsep{10pt}
266
- \addtolength{\topmargin}{-20pt}
267
- \addtolength{\topmargin}{-0.29in}
268
-
269
- % Historically many authors tried to include packages like geometry or fullpage,
270
- % which change the page layout. It either makes the proceedings inconsistent, or
271
- % wastes organizers' time chasing authors. So let's nip these problems in the
272
- % bud here. -- Iain Murray 2018.
273
- %\RequirePackage{printlen}
274
- \AtBeginDocument{%
275
- \newif\ifmarginsmessedwith
276
- \marginsmessedwithfalse
277
- \ifdim\oddsidemargin=-16.62178pt \else oddsidemargin has been altered.\\ \marginsmessedwithtrue\fi
278
- \ifdim\headheight=10.0pt \else headheight has been altered.\\ \marginsmessedwithtrue\fi
279
- \ifdim\textheight=650.43pt \else textheight has been altered.\\ \marginsmessedwithtrue\fi
280
- \ifdim\marginparsep=11.0pt \else marginparsep has been altered.\\ \marginsmessedwithtrue\fi
281
- \ifdim\footskip=25.0pt \else footskip has been altered.\\ \marginsmessedwithtrue\fi
282
- \ifdim\hoffset=0.0pt \else hoffset has been altered.\\ \marginsmessedwithtrue\fi
283
- \ifdim\paperwidth=614.295pt \else paperwidth has been altered.\\ \marginsmessedwithtrue\fi
284
- \ifdim\topmargin=-24.95781pt \else topmargin has been altered.\\ \marginsmessedwithtrue\fi
285
- \ifdim\headsep=10.0pt \else headsep has been altered.\\ \marginsmessedwithtrue\fi
286
- \ifdim\textwidth=487.8225pt \else textwidth has been altered.\\ \marginsmessedwithtrue\fi
287
- \ifdim\marginparpush=5.0pt \else marginparpush has been altered.\\ \marginsmessedwithtrue\fi
288
- \ifdim\voffset=0.0pt \else voffset has been altered.\\ \marginsmessedwithtrue\fi
289
- \ifdim\paperheight=794.96999pt \else paperheight has been altered.\\ \marginsmessedwithtrue\fi
290
- \ifmarginsmessedwith
291
-
292
- \textbf{\large \em The page layout violates the ICML style.}
293
-
294
- Please do not change the page layout, or include packages like geometry,
295
- savetrees, or fullpage, which change it for you.
296
-
297
- We're not able to reliably undo arbitrary changes to the style. Please remove
298
- the offending package(s), or layout-changing commands and try again.
299
-
300
- \fi}
301
-
302
-
303
- %% The following is adapted from code in the acmconf.sty conference
304
- %% style file. The constants in it are somewhat magical, and appear
305
- %% to work well with the two-column format on US letter paper that
306
- %% ICML uses, but will break if you change that layout, or if you use
307
- %% a longer block of text for the copyright notice string. Fiddle with
308
- %% them if necessary to get the block to fit/look right.
309
- %%
310
- %% -- Terran Lane, 2003
311
- %%
312
- %% The following comments are included verbatim from acmconf.sty:
313
- %%
314
- %%% This section (written by KBT) handles the 1" box in the lower left
315
- %%% corner of the left column of the first page by creating a picture,
316
- %%% and inserting the predefined string at the bottom (with a negative
317
- %%% displacement to offset the space allocated for a non-existent
318
- %%% caption).
319
- %%%
320
- \def\ftype@copyrightbox{8}
321
- \def\@copyrightspace{
322
- \@float{copyrightbox}[b]
323
- \begin{center}
324
- \setlength{\unitlength}{1pc}
325
- \begin{picture}(20,1.5)
326
- \put(0,2.5){\line(1,0){4.818}}
327
- \put(0,0){\parbox[b]{19.75pc}{\small \Notice@String}}
328
- \end{picture}
329
- \end{center}
330
- \end@float}
331
-
332
- \setlength\footskip{25.0pt}
333
- \flushbottom \twocolumn
334
- \sloppy
335
-
336
- % Clear out the addcontentsline command
337
- \def\addcontentsline#1#2#3{}
338
-
339
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
340
- %%% commands for formatting paper title, author names, and addresses.
341
-
342
- % box to check the size of the running head
343
- \newbox\titrun
344
-
345
- % general page style
346
- \pagestyle{fancy}
347
- \fancyhf{}
348
- \fancyfoot[C]{\thepage}
349
- % set the width of the head rule to 1 point
350
- \renewcommand{\headrulewidth}{1pt}
351
-
352
- % definition to set the head as running head in the preamble
353
- \def\icmltitlerunning#1{\gdef\@icmltitlerunning{#1}}
354
-
355
- % main definition adapting \icmltitle from 2004
356
- \long\def\icmltitle#1{%
357
-
358
- %check whether @icmltitlerunning exists
359
- % if not \icmltitle is used as running head
360
- \ifx\undefined\@icmltitlerunning%
361
- \gdef\@icmltitlerunning{#1}
362
- \fi
363
-
364
- %add it to pdf information
365
- \ifdefined\nohyperref\else\ifdefined\hypersetup
366
- \hypersetup{pdftitle={#1}}
367
- \fi\fi
368
-
369
- %get the dimension of the running title
370
- \global\setbox\titrun=\vbox{\small\bf\@icmltitlerunning}
371
-
372
- % error flag
373
- \gdef\@runningtitleerror{0}
374
-
375
- % running title too long
376
- \ifdim\wd\titrun>\textwidth%
377
- \gdef\@runningtitleerror{1}%
378
- % running title breaks a line
379
- \else \ifdim\ht\titrun>6.25pt
380
- \gdef\@runningtitleerror{2}%
381
- \fi
382
- \fi
383
-
384
- % if there is somthing wrong with the running title
385
- \ifnum\@runningtitleerror>0
386
- \typeout{}%
387
- \typeout{}%
388
- \typeout{*******************************************************}%
389
- \typeout{Title exceeds size limitations for running head.}%
390
- \typeout{Please supply a shorter form for the running head}
391
- \typeout{with \string\icmltitlerunning{...}\space prior to \string\begin{document}}%
392
- \typeout{*******************************************************}%
393
- \typeout{}%
394
- \typeout{}%
395
- % set default running title
396
- \gdef\@icmltitlerunning{Title Suppressed Due to Excessive Size}
397
- \fi
398
-
399
- % no running title on the first page of the paper
400
- \thispagestyle{plain}
401
-
402
- {\center\baselineskip 18pt
403
- \toptitlebar{\Large\bf #1}\bottomtitlebar}
404
- }
405
-
406
- % set running title header
407
- \fancyhead[C]{\small\bf\@icmltitlerunning}
408
-
409
- \gdef\icmlfullauthorlist{}
410
- \newcommand\addstringtofullauthorlist{\g@addto@macro\icmlfullauthorlist}
411
- \newcommand\addtofullauthorlist[1]{%
412
- \ifdefined\icmlanyauthors%
413
- \addstringtofullauthorlist{, #1}%
414
- \else%
415
- \addstringtofullauthorlist{#1}%
416
- \gdef\icmlanyauthors{1}%
417
- \fi%
418
- \ifdefined\hypersetup%
419
- \hypersetup{pdfauthor=\icmlfullauthorlist}%
420
- \fi
421
- }
422
-
423
- \def\toptitlebar{\hrule height1pt \vskip .25in}
424
- \def\bottomtitlebar{\vskip .22in \hrule height1pt \vskip .3in}
425
-
426
- \newenvironment{icmlauthorlist}{%
427
- \setlength\topsep{0pt}
428
- \setlength\parskip{0pt}
429
- \begin{center}
430
- }{%
431
- \end{center}
432
- }
433
-
434
- \newcounter{@affiliationcounter}
435
- \newcommand{\@pa}[1]{%
436
- \ifcsname the@affil#1\endcsname
437
- % do nothing
438
- \else
439
- \ifcsname @icmlsymbol#1\endcsname
440
- % nothing
441
- \else
442
- \stepcounter{@affiliationcounter}%
443
- \newcounter{@affil#1}%
444
- \setcounter{@affil#1}{\value{@affiliationcounter}}%
445
- \fi
446
- \fi%
447
- \ifcsname @icmlsymbol#1\endcsname
448
- \textsuperscript{\csname @icmlsymbol#1\endcsname\,}%
449
- \else
450
- \textsuperscript{\arabic{@affil#1}\,}%
451
- \fi
452
- }
453
-
454
- \newcommand{\icmlauthor}[2]{%
455
- \ificmlshowauthors
456
- \mbox{\bf #1}\,\@for\theaffil:=#2\do{\@pa{\theaffil}} \addtofullauthorlist{#1}%
457
- \else
458
- \ifdefined\@icmlfirsttime\else
459
- \gdef\@icmlfirsttime{1}
460
- \mbox{\bf Anonymous Authors}\@pa{@anon} \addtofullauthorlist{Anonymous Authors}
461
- \fi
462
- \fi
463
- }
464
-
465
- \newcommand{\icmlsetsymbol}[2]{%
466
- \expandafter\gdef\csname @icmlsymbol#1\endcsname{#2}
467
- }
468
-
469
- \newcommand{\icmlaffiliation}[2]{%
470
- \ificmlshowauthors
471
- \ifcsname the@affil#1\endcsname
472
- \expandafter\gdef\csname @affilname\csname the@affil#1\endcsname\endcsname{#2}%
473
- \else
474
- {\bf AUTHORERR: Error in use of \textbackslash{}icmlaffiliation command. Label ``#1'' not mentioned in some \textbackslash{}icmlauthor\{author name\}\{labels here\} command beforehand. }
475
- \typeout{}%
476
- \typeout{}%
477
- \typeout{*******************************************************}%
478
- \typeout{Affiliation label undefined. }%
479
- \typeout{Make sure \string\icmlaffiliation\space follows }%
480
- \typeout{all of \string\icmlauthor\space commands}%
481
- \typeout{*******************************************************}%
482
- \typeout{}%
483
- \typeout{}%
484
- \fi
485
- \else
486
- \expandafter\gdef\csname @affilname1\endcsname{Anonymous Institution, Anonymous City, Anonymous Region, Anonymous Country}
487
- \fi
488
- }
489
-
490
- \newcommand{\icmlcorrespondingauthor}[2]{%
491
- \ificmlshowauthors
492
- \ifdefined\icmlcorrespondingauthor@text
493
- \g@addto@macro\icmlcorrespondingauthor@text{, #1 \textless{}#2\textgreater{}}
494
- \else
495
- \gdef\icmlcorrespondingauthor@text{#1 \textless{}#2\textgreater{}}
496
- \fi
497
- \else
498
- \gdef\icmlcorrespondingauthor@text{Anonymous Author \textless{}anon.email@domain.com\textgreater{}}
499
- \fi
500
- }
501
-
502
- \newcommand{\icmlEqualContribution}{\textsuperscript{*}Equal contribution }
503
-
504
-
505
- % --- ICML 2026: ensure authors do not omit the affiliations/notice footnote ---
506
- \newif\ificml@noticeprinted
507
- \icml@noticeprintedfalse
508
- \AtEndDocument{%
509
- \ificml@noticeprinted\relax\else
510
- \PackageWarningNoLine{icml2026}{%
511
- You did not call \string\printAffiliationsAndNotice{}. If you have no notice,%
512
- call \string\printAffiliationsAndNotice\string{} (empty braces).%
513
- }%
514
- \fi
515
- }
516
-
517
-
518
- \newcounter{@affilnum}
519
- \newcommand{\printAffiliationsAndNotice}[1]{\global\icml@noticeprintedtrue%
520
- \stepcounter{@affiliationcounter}%
521
- {\let\thefootnote\relax\footnotetext{\hspace*{-\footnotesep}\ificmlshowauthors #1\fi%
522
- \forloop{@affilnum}{1}{\value{@affilnum} < \value{@affiliationcounter}}{
523
- \textsuperscript{\arabic{@affilnum}}\ifcsname @affilname\the@affilnum\endcsname%
524
- \csname @affilname\the@affilnum\endcsname%
525
- \else
526
- {\bf AUTHORERR: Missing \textbackslash{}icmlaffiliation.}
527
- \fi
528
- }.%
529
- \ifdefined\icmlcorrespondingauthor@text
530
- { }Correspondence to: \icmlcorrespondingauthor@text.
531
- \else
532
- {\bf AUTHORERR: Missing \textbackslash{}icmlcorrespondingauthor.}
533
- \fi
534
-
535
- \ \\
536
- \Notice@String
537
- }
538
- }
539
- }
540
-
541
- \long\def\icmladdress#1{%
542
- {\bf The \textbackslash{}icmladdress command is no longer used. See the example\_paper PDF .tex for usage of \textbackslash{}icmlauther and \textbackslash{}icmlaffiliation.}
543
- }
544
-
545
- %% keywords as first class citizens
546
- \def\icmlkeywords#1{%
547
- \ifdefined\nohyperref\else\ifdefined\hypersetup
548
- \hypersetup{pdfkeywords={#1}}
549
- \fi\fi
550
- }
551
-
552
- % modification to natbib citations
553
- \setcitestyle{authoryear,round,citesep={;},aysep={,},yysep={;}}
554
-
555
- % Redefinition of the abstract environment.
556
- \renewenvironment{abstract}
557
- {%
558
- \centerline{\large\bf Abstract}
559
- \vspace{-0.12in}\begin{quote}}
560
- {\par\end{quote}\vskip 0.12in}
561
-
562
- % numbered section headings with different treatment of numbers
563
-
564
- \def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi
565
- \par \@tempskipa #4\relax
566
- \@afterindenttrue
567
- \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \fi
568
- \if@nobreak \everypar{}\else
569
- \addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar
570
- {\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sict{#1}{#2}{#3}{#4}{#5}{#6}}}}
571
-
572
- \def\@sict#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
573
- \def\@svsec{}\else
574
- \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname}\fi
575
- \@tempskipa #5\relax
576
- \ifdim \@tempskipa>\z@
577
- \begingroup #6\relax
578
- \@hangfrom{\hskip #3\relax\@svsec.~}{\interlinepenalty \@M #8\par}
579
- \endgroup
580
- \csname #1mark\endcsname{#7}\addcontentsline
581
- {toc}{#1}{\ifnum #2>\c@secnumdepth \else
582
- \protect\numberline{\csname the#1\endcsname}\fi
583
- #7}\else
584
- \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
585
- {#7}\addcontentsline
586
- {toc}{#1}{\ifnum #2>\c@secnumdepth \else
587
- \protect\numberline{\csname the#1\endcsname}\fi
588
- #7}}\fi
589
- \@xsect{#5}}
590
-
591
- \def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
592
- \def\@svsec{}\else
593
- \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 0.4em }\fi
594
- \@tempskipa #5\relax
595
- \ifdim \@tempskipa>\z@
596
- \begingroup #6\relax
597
- \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}
598
- \endgroup
599
- \csname #1mark\endcsname{#7}\addcontentsline
600
- {toc}{#1}{\ifnum #2>\c@secnumdepth \else
601
- \protect\numberline{\csname the#1\endcsname}\fi
602
- #7}\else
603
- \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
604
- {#7}\addcontentsline
605
- {toc}{#1}{\ifnum #2>\c@secnumdepth \else
606
- \protect\numberline{\csname the#1\endcsname}\fi
607
- #7}}\fi
608
- \@xsect{#5}}
609
-
610
- % section headings with less space above and below them
611
- \def\thesection {\arabic{section}}
612
- \def\thesubsection {\thesection.\arabic{subsection}}
613
- \def\section{\@startsection{section}{1}{\z@}{-0.12in}{0.02in}
614
- {\large\bf\raggedright}}
615
- \def\subsection{\@startsection{subsection}{2}{\z@}{-0.10in}{0.01in}
616
- {\normalsize\bf\raggedright}}
617
- \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-0.08in}{0.01in}
618
- {\normalsize\sc\raggedright}}
619
- \def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
620
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
621
- \def\subparagraph{\@startsection{subparagraph}{5}{\z@}{1.5ex plus
622
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
623
-
624
- % Footnotes
625
- \footnotesep 6.65pt %
626
- \skip\footins 9pt
627
- \def\footnoterule{\kern-3pt \hrule width 0.8in \kern 2.6pt }
628
- \setcounter{footnote}{0}
629
-
630
- % Lists and paragraphs
631
- \parindent 0pt
632
- \topsep 4pt plus 1pt minus 2pt
633
- \partopsep 1pt plus 0.5pt minus 0.5pt
634
- \itemsep 2pt plus 1pt minus 0.5pt
635
- \parsep 2pt plus 1pt minus 0.5pt
636
- \parskip 6pt
637
-
638
- \leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
639
- \leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em
640
- \leftmarginvi .5em
641
- \labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
642
-
643
- \def\@listi{\leftmargin\leftmargini}
644
- \def\@listii{\leftmargin\leftmarginii
645
- \labelwidth\leftmarginii\advance\labelwidth-\labelsep
646
- \topsep 2pt plus 1pt minus 0.5pt
647
- \parsep 1pt plus 0.5pt minus 0.5pt
648
- \itemsep \parsep}
649
- \def\@listiii{\leftmargin\leftmarginiii
650
- \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
651
- \topsep 1pt plus 0.5pt minus 0.5pt
652
- \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
653
- \itemsep \topsep}
654
- \def\@listiv{\leftmargin\leftmarginiv
655
- \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
656
- \def\@listv{\leftmargin\leftmarginv
657
- \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
658
- \def\@listvi{\leftmargin\leftmarginvi
659
- \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
660
-
661
- \abovedisplayskip 7pt plus2pt minus5pt%
662
- \belowdisplayskip \abovedisplayskip
663
- \abovedisplayshortskip 0pt plus3pt%
664
- \belowdisplayshortskip 4pt plus3pt minus3pt%
665
-
666
- % Less leading in most fonts (due to the narrow columns)
667
- % The choices were between 1-pt and 1.5-pt leading
668
- \def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
669
- \def\small{\@setsize\small{10pt}\ixpt\@ixpt}
670
- \def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
671
- \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
672
- \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
673
- \def\large{\@setsize\large{14pt}\xiipt\@xiipt}
674
- \def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
675
- \def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
676
- \def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
677
- \def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
678
-
679
- % Revised formatting for figure captions and table titles.
680
- \captionsetup{
681
- skip=0.1in,
682
- font=small,
683
- labelfont={it,small},
684
- labelsep=period
685
- }
686
- \captionsetup[table]{position=above}
687
- \captionsetup[figure]{position=below}
688
-
689
- \def\fnum@figure{Figure \thefigure}
690
- \def\fnum@table{Table \thetable}
691
-
692
- % Strut macros for skipping spaces above and below text in tables.
693
- \def\abovestrut#1{\rule[0in]{0in}{#1}\ignorespaces}
694
- \def\belowstrut#1{\rule[-#1]{0in}{#1}\ignorespaces}
695
-
696
- \def\abovespace{\abovestrut{0.20in}}
697
- \def\aroundspace{\abovestrut{0.20in}\belowstrut{0.10in}}
698
- \def\belowspace{\belowstrut{0.10in}}
699
-
700
- % Various personal itemization commands.
701
- \def\texitem#1{\par\noindent\hangindent 12pt
702
- \hbox to 12pt {\hss #1 ~}\ignorespaces}
703
- \def\icmlitem{\texitem{$\bullet$}}
704
-
705
- % To comment out multiple lines of text.
706
- \long\def\comment#1{}
707
-
708
- %% Line counter (not in final version). Adapted from NIPS style file by Christoph Sawade
709
-
710
- % Vertical Ruler
711
- % This code is, largely, from the CVPR 2010 conference style file
712
- % ----- define vruler
713
- \makeatletter
714
- \newbox\icmlrulerbox
715
- \newcount\icmlrulercount
716
- \newdimen\icmlruleroffset
717
- \newdimen\cv@lineheight
718
- \newdimen\cv@boxheight
719
- \newbox\cv@tmpbox
720
- \newcount\cv@refno
721
- \newcount\cv@tot
722
- % NUMBER with left flushed zeros \fillzeros[<WIDTH>]<NUMBER>
723
- \newcount\cv@tmpc@ \newcount\cv@tmpc
724
- \def\fillzeros[#1]#2{\cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi
725
- \cv@tmpc=1 %
726
- \loop\ifnum\cv@tmpc@<10 \else \divide\cv@tmpc@ by 10 \advance\cv@tmpc by 1 \fi
727
- \ifnum\cv@tmpc@=10\relax\cv@tmpc@=11\relax\fi \ifnum\cv@tmpc@>10 \repeat
728
- \ifnum#2<0\advance\cv@tmpc1\relax-\fi
729
- \loop\ifnum\cv@tmpc<#1\relax0\advance\cv@tmpc1\relax\fi \ifnum\cv@tmpc<#1 \repeat
730
- \cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi \relax\the\cv@tmpc@}%
731
- % \makevruler[<SCALE>][<INITIAL_COUNT>][<STEP>][<DIGITS>][<HEIGHT>]
732
- \def\makevruler[#1][#2][#3][#4][#5]{
733
- \begingroup\offinterlineskip
734
- \textheight=#5\vbadness=10000\vfuzz=120ex\overfullrule=0pt%
735
- \global\setbox\icmlrulerbox=\vbox to \textheight{%
736
- {
737
- \parskip=0pt\hfuzz=150em\cv@boxheight=\textheight
738
- \cv@lineheight=#1\global\icmlrulercount=#2%
739
- \cv@tot\cv@boxheight\divide\cv@tot\cv@lineheight\advance\cv@tot2%
740
- \cv@refno1\vskip-\cv@lineheight\vskip1ex%
741
- \loop\setbox\cv@tmpbox=\hbox to0cm{\hfil {\hfil\fillzeros[#4]\icmlrulercount}}%
742
- \ht\cv@tmpbox\cv@lineheight\dp\cv@tmpbox0pt\box\cv@tmpbox\break
743
- \advance\cv@refno1\global\advance\icmlrulercount#3\relax
744
- \ifnum\cv@refno<\cv@tot\repeat
745
- }
746
- }
747
- \endgroup
748
- }%
749
- \makeatother
750
- % ----- end of vruler
751
-
752
- % \makevruler[<SCALE>][<INITIAL_COUNT>][<STEP>][<DIGITS>][<HEIGHT>]
753
- \def\icmlruler#1{\makevruler[12pt][#1][1][3][\textheight]\usebox{\icmlrulerbox}}
754
- \AddToShipoutPicture{%
755
- \icmlruleroffset=\textheight
756
- \advance\icmlruleroffset by 5.2pt % top margin
757
- \color[rgb]{.7,.7,.7}
758
- \ificmlshowauthors\else
759
- \AtTextUpperLeft{%
760
- \put(\LenToUnit{-35pt},\LenToUnit{-\icmlruleroffset}){%left ruler
761
- \icmlruler{\icmlrulercount}}
762
- %\put(\LenToUnit{1.04\textwidth},\LenToUnit{-\icmlruleroffset}){%right ruler
763
- % \icmlruler{\icmlrulercount}}
764
- }
765
- \fi
766
- }
767
- \endinput