AGENT SKILL

configuration-and-output

Guides fg-data-profiling Settings, YAML config, environment variables, report sections, HTML assets, cache, and serialization workflows.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
configuration-and-output
license
MIT
metadata
{ "disco-role": "operating" }
description
Guides fg-data-profiling Settings, YAML config, environment variables, report sections, HTML assets, cache, and serialization workflows.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

Configuration and Output

Use this sub-skill when a user wants to control report contents, performance, HTML rendering, YAML settings, environment variables, cache invalidation, or serialization.

Read first

Common configuration routes

User intent Start with
Large dataset, faster report minimal=True, a minimal YAML, or disable correlations/interactions/missing diagrams/samples/duplicates
Privacy-aware report sections samples=None, duplicates=None, sensitive workflow in comparison/quality sub-skill
Branded HTML report html={"style": {"theme": "flatly", "primary_colors": [...]}} and output reference
External assets instead of inline HTML html={"inline": False} and preserve the generated assets directory
Programmatic settings object from data_profiling.config import Settings and mutate before report computation
Environment-variable control Use PROFILE_-prefixed variables, for example PROFILE_TITLE or JSON-valued PROFILE_PLOT
Re-render after changing config profile.invalidate_cache() or construct a new ProfileReport

Key source-verified field names

Use current source names. In particular, categorical frequency plot settings live under plot.cat_freq, not stale plot.pie naming.

profile = ProfileReport(
    df,
    title="Configured profile",
    samples=None,
    correlations=None,
    missing_diagrams=None,
    duplicates=None,
    interactions=None,
    plot={"cat_freq": {"show": False}},
    html={"inline": False, "style": {"theme": "united"}},
)

YAML config pattern

Use a YAML config when the same settings should be reused by API and CLI. Do not combine a config file with minimal=True or CLI --minimal.

profile = ProfileReport(df, config_file="profiling-config.yml")
data_profiling --silent --config_file profiling-config.yml data.csv report.html

Boundaries

Validation

When generating settings for a user, prefer the bundled config writer or a small snippet that parses with Settings.from_file(). For output behavior, create a tiny local DataFrame and verify that the expected HTML/JSON file and assets exist before using the same settings on real data.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351