算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
palantir-core-workflow-a【设计与创意】Design and validate a Foundry Python transform pipeline with explicit datasets, compute choice, expectations, and incremental semantics. Use when building or changing batch data pipelines. Trigger with "Foundry transform" or "Palantir data pipeline".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Create a pipeline whose inputs, outputs, engine, write behavior, and quality checks are explicit before the first production build. Prefer the simplest supported compute engine that satisfies data scale and feature requirements, then prove the choice with Foundry metrics.
references/official-docs.md and inspect current input transaction history before selecting incremental semantics.modify and replace are not interchangeable.Write the pipeline contract: owner, inputs, output, primary key or deduplication rule, schema, data-quality expectations, and recovery objective.
Choose the engine from required features and observed scale; document why single-node or Spark is appropriate.
Implement the transform with explicit input and output declarations and keep pure business logic separately testable.
If incremental processing is justified, define input read modes, output write mode, late-arrival behavior, and snapshot recovery.
Preview representative cases, run repository checks, build on the branch, inspect metrics and output transactions, then request review.
The data owner must approve new outputs, schema changes, marking changes, retention behavior, and production schedules. An incremental conversion also requires an approved snapshot and rollback plan.
A pipeline contract, reviewed transform change, test evidence, branch build, metrics, output validation, ownership record, and recovery procedure. Include the exact input transactions and output transaction used for acceptance.
| Condition | Response |
|---|---|
| A cycle is detected | Separate the input and output datasets and redesign any feedback loop. |
| Incremental output duplicates rows | Stop promotion and correct keys, read modes, write mode, or late-arrival handling; rebuild from a controlled snapshot. |
| The build is memory-bound | Inspect Foundry metrics, then change engine or resources from measured evidence rather than a fixed size band. |
| Schema drifts unexpectedly | Fail the expectation, quarantine the output transaction, and resolve the producer contract. |
Convert an append-only event transform to incremental processing by defining the added input behavior, deduplication key, modify output behavior, snapshot recovery, and parity check against a full rebuild.
Move a medium-scale production transform from Spark to Polars only after feature compatibility, branch-build duration, memory, and output parity demonstrate the single-node engine is appropriate.