propose fix a couple of typos and avoid emacs backup files (#237)

Signed-off-by: John E <jeis4wpi@outlook.com>
This commit is contained in:
John Eismeier
2025-10-28 21:42:58 -04:00
committed by GitHub
parent 01955aead7
commit f8c45b6ca8
4 changed files with 6 additions and 3 deletions
+3
View File
@@ -189,6 +189,9 @@ cython_debug/
# you could uncomment the following to ignore the enitre vscode folder
.vscode/
# Emacs backup files
*~
# Ruff stuff:
.ruff_cache/
+1 -1
View File
@@ -496,7 +496,7 @@ flowchart TD
Continuous learning keeps the algorithm loop running while runners report tasks and spans opportunistically. Key differences from batch mode:
1. The algorithm does not enqueue rollouts from a fixed dataset. Runners report tasks/rollouts and spans spontaneously.
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.
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.
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.
4. A user or higher-level loop controls which resources the next step uses and when to retry.
+1 -1
View File
@@ -141,7 +141,7 @@ Return only a number between 0 and 1. No text, punctuation, or explanation."""
try:
content = result.choices[0].message.content
if content is None:
console.print(f"[bold blue][Judge][/bold blue] Judge retured no content: {result}")
console.print(f"[bold blue][Judge][/bold blue] Judge returned no content: {result}")
return 0.0
score = float(content)
console.print(f"[bold blue][Judge][/bold blue] Judge returned score: {score}")
+1 -1
View File
@@ -136,7 +136,7 @@ def replace_cur_year(query: str) -> str:
def get_cursor_from_path(sqlite_path: str):
try:
if not os.path.exists(sqlite_path):
print("Openning a new connection %s" % sqlite_path)
print("Opening a new connection %s" % sqlite_path)
connection = sqlite3.connect(sqlite_path)
except Exception as e:
print(sqlite_path)