Files
Liti-agent-Development/Default_Agent_청구취지기재방법/docs/workflows/python-work.md
T
jhogyuandClaude Fable 5.1 5f9853e44b chore: snapshot of work since 2026-10-05 (Stage 1 v.8, S2_00 v7.4/v7.5 handoff, S2_10 rewrite research v.2, 청구취지·요건사실 corpora)
Case_02_Comparison_Research
- Stage 1 v.8: Part 1~4 YAMLs with R1~R3 patches, F-1/F-2 fixes, 피고과식별방지 prompt
  (defendant_qualification), dated backups, 실행검사/실패분석 reports
- Stage 2 S2_00: v7.4 handoff (Task_S2_00_handoff, 경량화 전략서 + §2 개정) and
  v7.5 defendant qualification gate (피고관련작업_개정_S2_00.md), copies v.7/v.10/v.11,
  dated backups, 실행보고서/실패분석/결과물 리스트
- Stage 2 S2_10: v6/v7/v8 failure analyses, 재작성전략 10_06/10_08, case_kind_registry.json,
  연구조사보고서_S2_10_재작성용.md (v.1), _추가.md (multi-claim methodology) and
  merged _v.2.md (claims[] 1~4, join PRELIMINARY/SELECTIVE/INDEPENDENT, V1~V6),
  S2_10_Test run outputs, 실행검사 v.10/v.11
- Stage_2 MEMORY.md / CLAUDE.md / work-history notes, AGENTS.md and README_KO.md updates

Other corpora and tooling
- Default_Agent_청구취지기재방법: 청구취지 규칙문서 전체 모음(원문·사건종류별·raw) and tmp drafts
- 요건사실론: 사건종류별 문서(raw·filtered), plans, rf_draft
- 판례모음, STT_앱구성_연구, API Crowdness 조사, update_numbers.py

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-12 13:02:13 +09:00

2.0 KiB

Python and Quantitative Work Workflow

1. Inspect before changing

Determine:

  • Python version and execution environment;
  • package manager and lockfile;
  • existing dependencies, style, tests, and entry points;
  • data schema, units, keys, time indexes, missing values, and expected outputs;
  • whether the task is exploratory, production, or evidentiary.

Do not replace the project's toolchain without a task-specific reason.

2. Design the smallest adequate solution

Prefer:

  • existing dependencies before new dependencies;
  • small functions with explicit inputs and outputs;
  • pathlib for paths;
  • type hints for nontrivial interfaces;
  • deterministic random seeds;
  • clear units, index conventions, and numerical tolerances;
  • scripts or modules as the reproducible source of truth, even when a notebook is used for exploration.

Avoid hidden global state, silent data coercion, and unrelated refactoring.

3. Protect data and secrets

  • Treat raw data as immutable.
  • Write intermediate and final results to designated derived-data or artifact paths.
  • Never print, commit, or transmit secrets.
  • Confirm before accessing external systems, installing production dependencies, or performing costly computation.
  • Record material transformations and exclusions.

4. Validate

Select checks proportionate to the task:

  • syntax/import check;
  • targeted unit tests;
  • smoke test on a small sample;
  • edge cases and failure paths;
  • schema, uniqueness, merge, and index-alignment checks;
  • missing-value and outlier checks;
  • unit and dimensional consistency;
  • tolerance-based numerical assertions;
  • independent formula or implementation;
  • benchmark or regression test against a known result;
  • look-ahead, survivorship, leakage, and timing checks for empirical finance or econometrics.

5. Report

State:

  • files changed;
  • commands actually run;
  • tests and numerical checks;
  • results;
  • data or environment assumptions;
  • warnings, failures, and untested branches;
  • reproduction steps.

Never convert an unexecuted suggestion into a claim that the code works.