Create a uniform way to initialize module level loggers, add auto-logging for managers creation/deletion etc.

オープン
#112 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

Read the issue’s examples of logger creation, manager lifecycle logs, and configuration handling to understand the proposed scope. The payload names no files, tests, or entry points, so first locate these patterns in the repository and assess whether a shared cavise class with decorators and runtime checks can cover them. Done would require agreeing on the design and its scope before implementation.

索引モデルが issue の本文から書いたものです。

説明

good first issue logging

We have a lot of common code around this repo, especially:

  1. loggers' creation in a form logger = ..., that ideally should be bound to classes, not modules.
  2. common logs, like "X was created, Y was removed" - that may be automatically generated via code wrappers (decorators)
  3. here I'd also mention configs - we have dicts with random filling, they are modified there, keys are extracted and joined elsewhere... The situation has become better since we started running static typing with TypedDicts, but runtime validations may be welcomed as common code, too. (also OmegaConf may be gone, if such code as ever to be introduced)

My proposition here is developing a cavise class with decorators, like SimObject for example, to fix those issues. That module may also provide configuration helpers and runtime checks for data.

主要言語
Python
スター
11
フォーク
11
平均マージ
1日 16時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CAVISE/OpenCDA のほかの issue

CAVISE/OpenCDA の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。