Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,15 @@ The Go command `go run ./cmd/docs-release-sync` writes the public build snapshot
Release publication, edits, deletion or unpublication request a documentation workflow on `main`, preserving the existing Pages deployment branch policy. The existing daily schedule refreshes the saved history as well. Pull request checks use separate concurrency groups from production Pages deployment.

Validate the generator with `go test ./cmd/docs-release-sync` and the browser pagination/normalization with `npm run test:releases --prefix docs`. Runtime release Markdown is parsed and sanitized before rendering. Screenshots in release notes should use an immutable raw GitHub commit URL; the normal documentation guides reference their repository-owned static image paths.

### Scheduled blog posts

Set a quoted `publish_at` timestamp with an explicit offset in the article's
front matter, for example `publish_at: "2026-12-10T00:00:00-03:00"`. Deploy the
article and its images together. The blog and article route unlock in the
browser at the scheduled time. The next daily Pages build updates the feed,
archive, tags, author pages, search index, and sitemap.

Append `?preview=scheduled` to the blog or article URL to preview scheduled
posts. The flag is public, and scheduled content ships in the site's static
assets. Use drafts for content that should stay off the deployed site.
24 changes: 17 additions & 7 deletions docs/blog/2026-10-21-montage-050.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
slug: montage-050-from-observations-to-a-mosaic
authors: [ovvesley, llms]
title: "Montage 050: a sky made of workflows"
description: Twelve observations, 58 activities, one astronomical mosaic. Explore the science, reproduce the local workflow, and read the evidence behind a completed experiment.
description: Twelve observations, 58 activities, one astronomical mosaic. Explore the measured run on AkôFlow Hub and import the versioned workflow into Desktop.
image: /img/blog/montage-050/mosaic-color.png
cover_alt: The 1800 by 1800 pixel color mosaic produced by the completed AkôFlow Montage hybrid experiment.
cover_style: photograph
Expand All @@ -13,11 +13,23 @@ import WorkflowDag from "@site/src/components/WorkflowDag";

The stars in the opening image are the output of a scientific computation. Before the color mosaic existed, individual observations had to be reprojected, their overlaps compared, their backgrounds reconciled, and their pixels combined. AkôFlow coordinates those steps as a workflow and keeps the execution evidence alongside the result.

This field note follows **Montage 050**, a 58-activity astronomy workflow. We will look at what the activities do, how to reproduce the local example, and what an existing completed experiment tells us about planning and execution.
**Montage 050** turns twelve FITS observations into three astronomical mosaics and a color preview. On AkôFlow Hub you can inspect the 58-activity workflow, open the results of a completed local run, and import the same workflow version into Desktop.

<!-- truncate -->

## Start with the image—and its provenance
## Open the workflow on AkôFlow Hub

Start with [Montage 050 on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/scientific-workflows-montage-050). Follow the dependencies in the workflow graph, then open **Results** to inspect the local run's plan, activity attempts, metrics, and logs. It completed **58 of 58 activities** in **53 minutes and 17 seconds** on the reference homeserver with two local Docker CPU slots. It produced [three validated FITS mosaics and four PNG previews](https://github.com/UFFeScience/akoflow-examples/releases/download/showcase-hub-v1/scientific-workflows-montage-050-results.tar.gz).

To run your own copy, choose **Create workflow → Import from Hub** in Desktop and paste the URI for version 1.

```text
akoflow://hub/publications/4a1b3c21-a122-4c19-bd2d-c305d400b41f/versions/1
```

The URI imports the workflow definition. Pull the pinned container image and register the companion environment, scope, and topology from the [local showcase bundle](/docs/showcase/scientific-workflows/montage-050) before planning your run.

## Where the cover image came from

The cover is the actual **1800 × 1800** color preview from run `montage-docker-image-real-20261010-v2`. It is a recorded product of a completed hybrid GCP/HPC experiment. Click it to enlarge the image, or [open the original PNG](/img/blog/montage-050/mosaic-color.png).

Expand Down Expand Up @@ -350,11 +362,9 @@ The recorded cloud compute-and-boot-disk lifecycle estimate was **USD 0.3532** a

[Download the result summary and its limitations](/downloads/blog/montage-050/observed-results.json). The repository preserves the original [completion record](https://github.com/UFFeScience/akoflow/blob/main/experiments/montage-micro-hpc-e2/docker-image-real-v2-completion.json) and [detailed results](https://github.com/UFFeScience/akoflow/blob/main/experiments/montage-micro-hpc-e2/docker-image-real-v2-results.json).

## What is—and is not—verified for the local bundle

The checked-in local image contract was validated on **2026-10-20**: twelve FITS inputs, 58 activities, and 138 named handoffs. That record explicitly states `fullExecutionPerformed: false`. Its separate daemon snapshot recorded a running workflow with zero completed activities at capture time. These are historical snapshots; neither establishes the current state of another instance.
## Compare your run with the local reference

The completed hybrid run supplies the mosaic and the results in this article. To claim a completed reproduction on your machine, retain your own successful validator output, activity records, and output manifest. The [local showcase page](/docs/showcase/scientific-workflows/montage-050) links the checked-in contract and daemon evidence.
Use the [local experiment capture](https://hub.akoflow.com/api/v1/publications/4a1b3c21-a122-4c19-bd2d-c305d400b41f/experiments/4932099c-030e-47c5-acff-0ac0a32611e1) for the two-slot Docker profile. Keep your own validator output, activity records, and output manifest so you can compare the artifacts and observed activity times in the two executions. The historical hybrid metrics above describe a separate GCP/HPC run.

## Keep the experiment with the picture

Expand Down
52 changes: 52 additions & 0 deletions docs/blog/2026-11-28-document-intelligence.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
slug: document-intelligence-workflow
publish_at: "2026-11-28T00:00:00-03:00"
authors: [ovvesley, llms]
title: "Document Intelligence with AkôFlow: from invoices to a checked CSV"
description: Run a five-activity invoice workflow locally, inspect its reconciliation report, and import the versioned example from AkôFlow Hub.
image: /img/blog/document-intelligence/workflow.jpg
cover_alt: AkôFlow Desktop showing the five activities from document ingestion to the final report.
tags: [Workflows, Experiments]
---

An invoice summary is easier to trust when you can see how its fields were extracted and how the line items were reconciled. This AkôFlow example starts with bundled business documents and finishes with an invoice summary CSV and a reconciliation report. Each activity writes a file that you can inspect before opening the final result.

The [Document Intelligence workflow on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/document-ai-document-intelligence) includes a local reference execution. All **five activities completed in 10.76 seconds** in Docker on the reference homeserver. You can open the run in the Hub and import the workflow into Desktop to try it with the same fixture files.

<!-- truncate -->

## Follow an invoice through the workflow

The first activity ingests the bundled documents. Classification assigns a document type, and extraction converts the relevant fields into structured data. Reconciliation checks the extracted invoice lines. The last activity publishes the report and summary CSV.

| Activity | File to inspect |
| --- | --- |
| Ingest | `ingested.json` |
| Classify | `classified.json` |
| Extract | `extracted.json` |
| Reconcile | `reconciliation.json` |
| Report | `invoice-summary.csv` and `report.json` |

AkôFlow records the activity boundaries and the dependencies between those files. If a value in the CSV looks wrong, you can trace it to an earlier file and inspect the corresponding activity logs. The Desktop walkthrough below shows the reconciliation stage on the bundled example.

![AkôFlow Desktop walkthrough showing the invoice reconciliation activity](/img/blog/document-intelligence/reconcile.jpg)

## Inspect the result before you run it

Open **Results** in the Hub to see the measured execution, including its plan, attempts, metrics, and logs. Download the outputs and open `invoice-summary.csv` alongside `reconciliation.json` to see what the workflow checked. The Desktop screenshots show the example walkthrough. The Hub experiment capture contains the measured run.

![AkôFlow Desktop walkthrough showing the final document report](/img/blog/document-intelligence/report.jpg)

[Download the validated output files](https://github.com/UFFeScience/akoflow-examples/releases/download/showcase-hub-v1/document-ai-document-intelligence-results.tar.gz) or [open the native experiment capture](https://hub.akoflow.com/api/v1/publications/85d4152f-da21-4d6b-84d0-6cc937d8b96e/experiments/54ec1072-9abf-410b-8f11-553a16f32340).

## Run the example in AkôFlow Desktop

Choose **Create workflow → Import from Hub** and paste the URI for version 1.

```text
akoflow://hub/publications/85d4152f-da21-4d6b-84d0-6cc937d8b96e/versions/1
```

The URI imports the workflow definition. Follow the [showcase guide](/docs/showcase/document-ai/document-intelligence) to obtain the pinned image and register the companion environment, scope, and topology. The example uses a local CPU Docker profile.

Run the bundled documents first and compare your CSV and reconciliation output with the published files. Once you can follow the result through all five activities, you have a concrete starting point for adapting the workflow to your own document format.
40 changes: 40 additions & 0 deletions docs/blog/2026-11-29-foucault-precession.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
slug: foucault-parallel-workflow
publish_at: "2026-11-29T00:00:00-03:00"
authors: [ovvesley, llms]
title: "Foucault with AkôFlow: one pendulum workflow, five parallel slots"
description: Compare two measured executions of the same workflow and follow five independent latitude simulations in the AkôFlow timeline.
image: /img/blog/foucault-precession/precession-vs-latitude.png
cover_alt: Fitted pendulum precession rates change sign across the equator and follow the analytical latitude curve.
tags: [Scientific workflows, Experiments]
---

The same pendulum workflow took **273.21 seconds with one slot** and **82.08 seconds with five** on the reference host. AkôFlow recorded the timing of each activity, so you can see which calculations ran together and where the workflow waited for results.

<!-- truncate -->

## Five latitudes, one comparison

The workflow integrates one sidereal day at latitudes −60°, −30°, 0°, +30°, and +60°. Each branch works from its own initial conditions and can run as soon as its inputs and a slot are available. Downstream activities compare the trajectories with the exact small-angle solution, check step refinement, and render the combined result.

The results recover the expected change in precession direction across the equator. The maximum coordinate disagreement with the exact solution was **2.18 × 10⁻⁸ m**.

![Simulated rotation of the Foucault pendulum plane across five latitudes](/img/blog/foucault-precession/foucault-precession.gif)

## What the timeline shows

All five latitude activities overlapped for **56.25 seconds** in the five-slot run. Compare the full execution times to see the effect of those overlapping intervals. The observed **3.33×** makespan ratio applies to these two runs on this host with the same workflow image.

![Measured execution timeline with five overlapping latitude activities](/img/blog/foucault-precession/measured-timeline.png)

Open the [recorded five-slot execution on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/community-explorer-issue-44-foucault-precession-v1/results/2/executions/a004359f-76ee-4f8a-89c7-3f793d53945b/runs/community-foucault-run-v2/workflow) to inspect the activity graph and observed durations.

## Try the same workflow with a different slot count

In Desktop, choose **Create workflow → Import from Hub** and paste the URI for version 2.

```text
akoflow://hub/publications/f67f3cd3-de44-48cc-a8ab-f171f9a4132b/versions/2
```

Use the same image and inputs for both runs. Change the local capacity from one slot to five, then compare the total runtime, the overlap in the timeline, and the validation output. The activity graph gives you a way to identify the branches that can benefit from the extra capacity before launching the comparison.
30 changes: 30 additions & 0 deletions docs/blog/2026-11-30-weatherbench2.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
slug: weatherbench2-score-audit
publish_at: "2026-11-30T00:00:00-03:00"
authors: [ovvesley, llms]
title: "WeatherBench 2 with AkôFlow: two forecasts, one reference"
description: Follow the workflow that compares GraphCast and IFS HRES across 40 forecast horizons using the same ERA5 target.
image: /img/blog/weatherbench2/rmse-by-lead.png
cover_alt: GraphCast and IFS HRES global RMSE curves across common forecast horizons.
tags: [Scientific workflows, Experiments]
---

A forecast comparison depends on which observations count as the reference and which horizons the two models share. In this example, AkôFlow extracts the official WeatherBench 2 aggregate scores for GraphCast and IFS HRES, aligns them on ERA5, and produces the curves above.

The recorded workflow completed **10 activities in 20.68 seconds**. Its inputs are two immutable score objects for 2020 on the 1.5° grid. The analysis uses global RMSE for Z500 and T2M across 40 six-hour leads, from 6 to 240 hours.

<!-- truncate -->

## Read the result from source to chart

Four independent branches verify and extract scores for the two models and two variables. Two downstream comparisons pair the values at the common leads. The chart and animation activities use those tables, and the final activity validates the numbers against registered hashes.

![WeatherBench 2 score comparison as the forecast horizon increases](/img/blog/weatherbench2/rmse-by-lead.gif)

The workflow audits published aggregate scores. It uses ERA5 for both models and preserves that comparison rule in the outputs. The [source bundle](https://github.com/UFFeScience/akoflow-examples/tree/main/weather/weatherbench2-common-era5-score-audit) records the input objects, measurement evidence, and attribution to the WeatherBench 2 and GraphCast teams.

## Take the workflow apart in AkôFlow

Use the bundle to build the pinned image, run its offline preflight, and import the workflow into an AkôFlow daemon. Open the execution timeline to see which extractions overlap and which outputs the comparison stages depend on. The independent GraphCast branches overlapped for roughly 0.60 seconds in the recorded run.

The comparison CSV is the place to inspect a particular horizon. The validation file records whether the extracted values match the registered inputs. Keeping both files with the execution lets you trace a chart point back to the scores used to draw it.
28 changes: 28 additions & 0 deletions docs/blog/2026-12-01-tpch-q1.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
slug: tpch-q1-workflow-audit
publish_at: "2026-12-01T00:00:00-03:00"
authors: [ovvesley, llms]
title: "Auditing PostgreSQL and MongoDB with AkôFlow"
description: Run the original and aligned TPC-H Q1 variants in isolation and trace a difference in results back to a date filter.
image: /img/blog/tpch-q1/aligned-aggregates.png
cover_alt: Numerical aggregates from PostgreSQL and MongoDB after aligning the date cutoffs.
tags: [Scientific workflows, Experiments]
---

One query selected **59,307 rows** in PostgreSQL. The other selected **60,175** in MongoDB. Both came from the same TPC-H Q1 comparison. The workflow ran the original queries first, then tested a controlled change to the MongoDB date cutoff. With the filters aligned, all numerical aggregates agreed in the observed run.

<!-- truncate -->

## Preserve the original variants

The PostgreSQL source used September 2, 1998, as its cutoff. The MongoDB pipeline used December 1, 1998. The AkôFlow workflow retains both originals and names the adjusted variant separately. It runs each engine and mode with and without an index in isolated database instances, then checks agreement for the cases that select the same rows.

This is the Q1 audit at scale factor 0.01 using the complete generated lineitem table for that scale. The workflow records the result of each variant so you can trace the difference to the input filter. Timings describe that execution with its particular client and concurrency settings.

![Observed timeline of AkôFlow activities for the TPC-H Q1 audit](/img/blog/tpch-q1/execution-timeline.png)

## Inspect what each activity proved

The reference execution completed **10 activities in 32.59 seconds**, with up to three active at once. Opening the recorded timeline shows how the isolated branches fed the validation. The scientific validation JSON records the original disagreement and the aligned numerical checks.

To run the audit, start with the [AkôFlow source bundle](https://github.com/UFFeScience/akoflow-examples/tree/main/scientific-workflows/tpch-databases). It includes the workflow definition, the observed execution evidence, and the attribution to Merlo and colleagues. Compare the validation output before drawing conclusions from timings. The same workflow pattern works whenever you need to preserve an original query and test a hypothesis about a change.
32 changes: 32 additions & 0 deletions docs/blog/2026-12-02-blender-render-farm.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
slug: blender-render-farm-workflow
publish_at: "2026-12-02T00:00:00-03:00"
authors: [ovvesley, llms]
title: "Blender with AkôFlow: split a render and assemble the animation"
description: Follow a Blender scene through two render branches and download the validated MP4 from the reference execution.
image: /img/blog/blender-render-farm/compose.jpg
cover_alt: Desktop walkthrough showing the composition stage of the Blender render workflow.
tags: [Workflows, Rendering]
---

A Blender scene goes into this workflow. An MP4 and a render report come out. In between, AkôFlow lets the even and odd frame activities run independently and makes composition wait for both sets of frames. [Download the reference animation and report](https://github.com/UFFeScience/akoflow-examples/releases/download/showcase-hub-v1/rendering-blender-render-farm-results.tar.gz).

The [reference run on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/rendering-blender-render-farm) completed **five activities in 18.98 seconds** on the local Docker profile with the bundled scene.

<!-- truncate -->

## Follow both render branches

Setup creates the scene and render plan. The separate rendering activities consume the same scene and write distinct frame sets. The composition activity consumes both sets, and verification records the completed animation in the report. In AkôFlow, those dependencies are visible in the graph and the execution history shows when each branch ran.

![AkôFlow Desktop walkthrough showing the Blender render branches](/img/blog/blender-render-farm/workflow.jpg)

## Run it in Desktop

Choose **Create workflow → Import from Hub**, then paste the version 1 URI.

```text
akoflow://hub/publications/f0608ece-22cb-45d9-ba33-aaf5d1c42231/versions/1
```

Use the [Blender showcase guide](/docs/showcase/rendering/blender-render-farm) to prepare the image and register the companion definitions. After execution, inspect each render activity and open the final report alongside the MP4. The same dependency structure gives you a starting point for splitting a larger scene into frame groups.
Loading
Loading