JuliaAI / JuliaAI/IterationControl.jl

Support ProgressMeter or other progress logging utiliites such Term.jl?

Open
#58 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
25
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Currently, predefined controls emits message by using @info which will break ProgressMeter. The issue is that the progress meter will no longer stay at the same place as the @info displays. The suggested fix is to wrap the message in rpad such as

@info rpad("my message ...", displaysize(stdout)[2])

However, with the predefined control behavior, it is impossible to wrap the message before @info.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the predefined controls that emit messages with @info, then inspect how their output interacts with ProgressMeter or Term.jl. The work is done when predefined-control messages no longer disrupt the progress meter and the relevant behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.