Skip to content

Commit ef346fa

Browse files
propose fix a couple of typos and avoid emacs backup files (#237) (#238)
(cherry picked from commit f8c45b6) Signed-off-by: John E <jeis4wpi@outlook.com> Co-authored-by: John Eismeier <42679190+jeis4wpi@users.noreply.github.com>
1 parent 41c6ec2 commit ef346fa

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ cython_debug/
189189
# you could uncomment the following to ignore the enitre vscode folder
190190
.vscode/
191191

192+
# Emacs backup files
193+
*~
194+
192195
# Ruff stuff:
193196
.ruff_cache/
194197

docs/deep-dive/birds-eye-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ flowchart TD
496496
Continuous learning keeps the algorithm loop running while runners report tasks and spans opportunistically. Key differences from batch mode:
497497

498498
1. The algorithm does not enqueue rollouts from a fixed dataset. Runners report tasks/rollouts and spans spontaneously.
499-
2. The algorithm can wait for rollouts with a expected set of rollout IDs, but more oftenly polls for new rollouts and spans or waits for a count to arrive.
499+
2. The algorithm can wait for rollouts with a expected set of rollout IDs, but more often polls for new rollouts and spans or waits for a count to arrive.
500500
3. The [`Runner`][agentlightning.Runner] processes one rollout at a time via [`step(task)`][agentlightning.Runner.step] instead of exhausting a task queue. It notifies the store when starting a rollout so the store records it.
501501
4. A user or higher-level loop controls which resources the next step uses and when to retry.
502502

examples/apo/apo_custom_algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async def llm_judge(task: str, output: Optional[str]) -> float:
141141
try:
142142
content = result.choices[0].message.content
143143
if content is None:
144-
console.print(f"[bold blue][Judge][/bold blue] Judge retured no content: {result}")
144+
console.print(f"[bold blue][Judge][/bold blue] Judge returned no content: {result}")
145145
return 0.0
146146
score = float(content)
147147
console.print(f"[bold blue][Judge][/bold blue] Judge returned score: {score}")

examples/spider/spider_eval/exec_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def replace_cur_year(query: str) -> str:
136136
def get_cursor_from_path(sqlite_path: str):
137137
try:
138138
if not os.path.exists(sqlite_path):
139-
print("Openning a new connection %s" % sqlite_path)
139+
print("Opening a new connection %s" % sqlite_path)
140140
connection = sqlite3.connect(sqlite_path)
141141
except Exception as e:
142142
print(sqlite_path)

0 commit comments

Comments
 (0)