Files
bookspec/target/doc/bookspec_gnucash/index.html
T
swaitsandClaude Fable 5.1 73dd967b1a
check / check (push) Canceled after 0s
feat(checker): examples() and spec_files() carry the specification's files
A consumer of the checker crate needs no path into this repository.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HS8WZziDnyxunC23MUxrLp
2026-10-29 16:35:29 -06:00

14 lines
5.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="GnuCash as a second bookspec engine (`plan/served.md` P13 step 5)."><title>bookspec_gnucash - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-0c87338a.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bookspec_gnucash" data-themes="" data-resource-suffix="" data-rustdoc-version="1.99.1 (58cf8f9c3 2026-10-13)" data-channel="1.99.1" data-search-js="search-cf4fc35e.js" data-stringdex-js="stringdex-b5109af9.js" data-settings-js="settings-170eb4bf.js" ><script src="../static.files/storage-41dd4d93.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-417ebf0a.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-9f56287d.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate bookspec_gnucash</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../bookspec_gnucash/index.html">bookspec_<wbr>gnucash</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><h1>Crate <span>bookspec_<wbr>gnucash</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/bookspec_gnucash/lib.rs.html#1-250">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>GnuCash as a second bookspec engine (<code>plan/served.md</code> P13 step 5).</p>
<p>The adapter keeps an example’s chart and entries as the oracle’s JSON
books (<code>oracle/gnucash/books.py</code>: accounts, entries, as-of days) and
asks GnuCash 5.10, in its pinned container, for each balance. GnuCash
is a cross-check, never the authority (<code>docs/oracle.md</code>, “Who is
right”): where it differs from an example, the difference is
adjudicated from the sources and recorded, not conformed to.</p>
<p>Only what GnuCash itself answers is claimed: the balance queries
(<code>trial_balance</code>, <code>balances</code>), by the rules whose examples ask nothing
else. GnuCash never refuses an entry (it books the difference to an
<code>Imbalance</code> account), so a refused event is <em>accepted</em> here, as it
would be by a GnuCash user, and the runner reports the difference.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.GnuCash.html" title="struct bookspec_gnucash::GnuCash">GnuCash</a></dt><dd>GnuCash, as bookspec’s <code>Engine</code>.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.IMAGE.html" title="constant bookspec_gnucash::IMAGE">IMAGE</a></dt><dd>The oracle container (<code>just oracle</code> builds it from <code>oracle/gnucash</code>).</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.claimed.html" title="fn bookspec_gnucash::claimed">claimed</a></dt><dd>The rules this adapter claims: those whose examples ask only for
balances, which GnuCash answers itself.</dd></dl></section></div></main></body></html>