-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcalkit.yaml
More file actions
99 lines (90 loc) · 2.31 KB
/
Copy pathcalkit.yaml
File metadata and controls
99 lines (90 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
owner: calkit
name: example-basic
title: Basic Calkit example
description: A basic Calkit example project.
git_repo_url: https://github.com/calkit/example-basic
dependencies:
- docker
- uv
questions:
- question: How does the system respond to increasing $x$?
hypothesis: The value of $y$ increases linearly with $x$.
answer: $y$ increases quadratically with $x$, not linearly.
evidence:
- kind: figure
path: figures/x-vs-y.png
- kind: result
path: results/summary.json
key: r_squared_quadratic
environments:
py:
path: requirements.txt
kind: uv-venv
python: "3.13"
prefix: .venv
description: A Python virtual environment managed with uv
tex:
kind: docker
image: texlive/texlive:latest-full
description: TeX Live via Docker.
pipeline:
stages:
collect-data:
kind: python-script
script_path: scripts/collect-data.py
environment: py
outputs:
- data/raw/data.csv
analyze:
kind: python-script
script_path: scripts/analyze.py
environment: py
inputs:
- from_stage_outputs: collect-data
outputs:
- figures/x-vs-y.png
- path: results/summary.json
storage: git
figs-to-paper:
kind: map-paths
paths:
- kind: dir-to-dir-replace
src: figures
dest: paper/figures
results-to-tex:
kind: json-to-latex
inputs:
- results/summary.json
outputs:
- paper/results.tex
build-paper:
kind: latex
target_path: paper/paper.tex
environment: tex
inputs:
- from_stage_outputs: figs-to-paper
- from_stage_outputs: results-to-tex
- paper/references.bib
outputs:
- paper/paper.pdf
datasets:
- path: data/raw/data.csv
title: Raw data
description: This is raw $x$ and $y$ data.
stage: collect-data
figures:
- path: figures/x-vs-y.png
title: Analysis of $x$ vs $y$
description: >-
A plot of the measured $x$ vs $y$ data with linear and quadratic
fits, showing the quadratic fit is much better.
stage: analyze
references:
- path: paper/references.bib
publications:
- path: paper/paper.pdf
title: The paper
description: This is the paper.
stage: build-paper
showcase:
- publication: paper/paper.pdf