f8-engine 0.6.1__tar.gz → 0.6.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. {f8_engine-0.6.1 → f8_engine-0.6.2}/Cargo.lock +3 -3
  2. {f8_engine-0.6.1 → f8_engine-0.6.2}/Cargo.toml +1 -1
  3. {f8_engine-0.6.1 → f8_engine-0.6.2}/PKG-INFO +10 -7
  4. {f8_engine-0.6.1 → f8_engine-0.6.2}/README.md +9 -6
  5. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/model/table.rs +14 -1
  6. {f8_engine-0.6.1 → f8_engine-0.6.2}/LICENSE +0 -0
  7. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/Cargo.toml +0 -0
  8. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/compiled/error.rs +0 -0
  9. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/compiled/mod.rs +0 -0
  10. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/compiled/model.rs +0 -0
  11. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/emission/error.rs +0 -0
  12. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/emission/format.rs +0 -0
  13. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/emission/mod.rs +0 -0
  14. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/emission/workbook.rs +0 -0
  15. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/error.rs +0 -0
  16. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/eval/context.rs +0 -0
  17. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/eval/error.rs +0 -0
  18. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/eval/expr.rs +0 -0
  19. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/eval/mod.rs +0 -0
  20. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/eval/model.rs +0 -0
  21. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/graph/cycle.rs +0 -0
  22. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/graph/dependency.rs +0 -0
  23. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/graph/error.rs +0 -0
  24. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/graph/mod.rs +0 -0
  25. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/graph/resolve.rs +0 -0
  26. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/ir/cell.rs +0 -0
  27. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/ir/error.rs +0 -0
  28. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/ir/expand.rs +0 -0
  29. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/ir/id.rs +0 -0
  30. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/ir/mod.rs +0 -0
  31. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/ir/symbol.rs +0 -0
  32. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/layout/a1.rs +0 -0
  33. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/layout/error.rs +0 -0
  34. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/layout/mod.rs +0 -0
  35. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/lowering/address.rs +0 -0
  36. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/lowering/error.rs +0 -0
  37. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/lowering/mod.rs +0 -0
  38. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/compiler/mod.rs +0 -0
  39. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/expr/ast.rs +0 -0
  40. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/expr/error.rs +0 -0
  41. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/expr/mod.rs +0 -0
  42. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/expr/parser.rs +0 -0
  43. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/binder.rs +0 -0
  44. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/common.rs +0 -0
  45. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/date/constructors.rs +0 -0
  46. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/date/mod.rs +0 -0
  47. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/date/parts.rs +0 -0
  48. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/date/yearfrac.rs +0 -0
  49. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/error.rs +0 -0
  50. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/financial/annuity.rs +0 -0
  51. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/financial/discounting.rs +0 -0
  52. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/financial/irr.rs +0 -0
  53. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/financial/mod.rs +0 -0
  54. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/information/mod.rs +0 -0
  55. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/logical/boolean.rs +0 -0
  56. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/logical/branching.rs +0 -0
  57. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/logical/error_handling.rs +0 -0
  58. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/logical/mod.rs +0 -0
  59. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/lookup/index.rs +0 -0
  60. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/lookup/mod.rs +0 -0
  61. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/lookup/search.rs +0 -0
  62. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/lookup/xlookup.rs +0 -0
  63. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/lookup/xmatch.rs +0 -0
  64. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/math/aggregation.rs +0 -0
  65. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/math/basic.rs +0 -0
  66. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/math/mod.rs +0 -0
  67. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/math/product.rs +0 -0
  68. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/math/rounding.rs +0 -0
  69. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/mod.rs +0 -0
  70. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/registry.rs +0 -0
  71. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/traits.rs +0 -0
  72. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/functions/typecheck.rs +0 -0
  73. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/lib.rs +0 -0
  74. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/model/error.rs +0 -0
  75. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/model/format.rs +0 -0
  76. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/model/id.rs +0 -0
  77. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/model/manifest.rs +0 -0
  78. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/model/mod.rs +0 -0
  79. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/model/theme.rs +0 -0
  80. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/value/date.rs +0 -0
  81. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/value/error.rs +0 -0
  82. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/value/format.rs +0 -0
  83. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-core/src/value/mod.rs +0 -0
  84. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-python/Cargo.toml +0 -0
  85. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-python/src/error.rs +0 -0
  86. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-python/src/lib.rs +0 -0
  87. {f8_engine-0.6.1 → f8_engine-0.6.2}/crates/f8-python/src/model.rs +0 -0
  88. {f8_engine-0.6.1 → f8_engine-0.6.2}/pyproject.toml +0 -0
  89. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/__init__.py +0 -0
  90. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/__main__.py +0 -0
  91. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/_core.pyi +0 -0
  92. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/audit.py +0 -0
  93. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/builder.py +0 -0
  94. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/cli.py +0 -0
  95. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/py.typed +0 -0
  96. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/skills/f8-modeling/SKILL.md +0 -0
  97. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/skills/f8-modeling/references/auditing-and-repair.md +0 -0
  98. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/skills/f8-modeling/references/functions.md +0 -0
  99. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/skills/f8-modeling/references/syntax-and-grid.md +0 -0
  100. {f8_engine-0.6.1 → f8_engine-0.6.2}/python/f8/types.py +0 -0
@@ -58,7 +58,7 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
58
58
 
59
59
  [[package]]
60
60
  name = "f8-core"
61
- version = "0.6.1"
61
+ version = "0.6.2"
62
62
  dependencies = [
63
63
  "indexmap",
64
64
  "petgraph",
@@ -71,7 +71,7 @@ dependencies = [
71
71
 
72
72
  [[package]]
73
73
  name = "f8-python"
74
- version = "0.6.1"
74
+ version = "0.6.2"
75
75
  dependencies = [
76
76
  "f8-core",
77
77
  "pyo3",
@@ -80,7 +80,7 @@ dependencies = [
80
80
 
81
81
  [[package]]
82
82
  name = "f8-wasm"
83
- version = "0.6.1"
83
+ version = "0.6.2"
84
84
  dependencies = [
85
85
  "f8-core",
86
86
  "rust_xlsxwriter",
@@ -3,7 +3,7 @@ resolver = "3"
3
3
  members = ["crates/f8-core", "crates/f8-python"]
4
4
 
5
5
  [workspace.package]
6
- version = "0.6.1"
6
+ version = "0.6.2"
7
7
  edition = "2024"
8
8
  description = "Financial modeling engine with compiler verification and live Excel formulas"
9
9
  authors = ["Michael (Chencheng) Hu, CFA"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: f8-engine
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Intended Audience :: Financial and Insurance Industry
@@ -175,15 +175,18 @@ Output:
175
175
 
176
176
  ## Sample deliverables
177
177
 
178
- Inspect compiled deliverables generated from real-world models:
178
+ ### Autonomous Costco equity research
179
179
 
180
- - [costco-valuation.xlsx](https://github.com/mhcfa/f8/releases/latest/download/costco-valuation.xlsx): Compiled 3-statement, DCF, and trading comparables financial model with live Excel formulas.
181
- - [costco-equity-valuation.pdf](https://github.com/mhcfa/f8/releases/latest/download/costco-equity-valuation.pdf): Equity valuation report and presentation rendered from the compiled `f8` model.
182
- - [lbo_model.xlsx](https://github.com/mhcfa/f8/releases/latest/download/lbo_model.xlsx): Multi-sheet leveraged buyout (LBO) model with transaction structuring, debt waterfall, and returns analysis.
180
+ Built in a 4-hour, ~$70 autonomous multi-agent run across 50 SEC and macro sources with zero human intervention:
183
181
 
184
- ### LBO model demo
182
+ - Model repo (TypeScript): [mhcfa/faac](https://github.com/mhcfa/faac) ([`public-equity/costco`](https://github.com/mhcfa/faac/tree/main/public-equity/costco))
183
+ - Write-up: [Running an Autonomous Agent on Costco Equity Research: Why It Called a Short](https://mhcfa.github.io/blog/autonomous-costco-equity-research/)
184
+ - Excel model: [costco-valuation.xlsx](https://github.com/mhcfa/f8/releases/latest/download/costco-valuation.xlsx) (9 sheets, 35 tables, 6,500 cells, 4,228 live Excel formulas across 3-statement, DCF, and trading comps)
185
+ - Valuation deck: [costco-equity-valuation.pdf](https://github.com/mhcfa/f8/releases/latest/download/costco-equity-valuation.pdf) (21 slides bound directly to the compiled `f8` model with no copy-paste)
185
186
 
186
- Complete model repo: https://github.com/mhcfa/f8-demo (this one is written in Python)
187
+ ### LBO model preview
188
+
189
+ - Excel model: [lbo_model.xlsx](https://github.com/mhcfa/f8/releases/latest/download/lbo_model.xlsx) (multi-sheet LBO workbook with transaction structuring, debt waterfall, and returns analysis)
187
190
 
188
191
  ![LBO Executive Dashboard](https://github.com/mhcfa/f8/releases/latest/download/lbo-dashboard.png)
189
192
 
@@ -149,15 +149,18 @@ Output:
149
149
 
150
150
  ## Sample deliverables
151
151
 
152
- Inspect compiled deliverables generated from real-world models:
152
+ ### Autonomous Costco equity research
153
153
 
154
- - [costco-valuation.xlsx](https://github.com/mhcfa/f8/releases/latest/download/costco-valuation.xlsx): Compiled 3-statement, DCF, and trading comparables financial model with live Excel formulas.
155
- - [costco-equity-valuation.pdf](https://github.com/mhcfa/f8/releases/latest/download/costco-equity-valuation.pdf): Equity valuation report and presentation rendered from the compiled `f8` model.
156
- - [lbo_model.xlsx](https://github.com/mhcfa/f8/releases/latest/download/lbo_model.xlsx): Multi-sheet leveraged buyout (LBO) model with transaction structuring, debt waterfall, and returns analysis.
154
+ Built in a 4-hour, ~$70 autonomous multi-agent run across 50 SEC and macro sources with zero human intervention:
157
155
 
158
- ### LBO model demo
156
+ - Model repo (TypeScript): [mhcfa/faac](https://github.com/mhcfa/faac) ([`public-equity/costco`](https://github.com/mhcfa/faac/tree/main/public-equity/costco))
157
+ - Write-up: [Running an Autonomous Agent on Costco Equity Research: Why It Called a Short](https://mhcfa.github.io/blog/autonomous-costco-equity-research/)
158
+ - Excel model: [costco-valuation.xlsx](https://github.com/mhcfa/f8/releases/latest/download/costco-valuation.xlsx) (9 sheets, 35 tables, 6,500 cells, 4,228 live Excel formulas across 3-statement, DCF, and trading comps)
159
+ - Valuation deck: [costco-equity-valuation.pdf](https://github.com/mhcfa/f8/releases/latest/download/costco-equity-valuation.pdf) (21 slides bound directly to the compiled `f8` model with no copy-paste)
159
160
 
160
- Complete model repo: https://github.com/mhcfa/f8-demo (this one is written in Python)
161
+ ### LBO model preview
162
+
163
+ - Excel model: [lbo_model.xlsx](https://github.com/mhcfa/f8/releases/latest/download/lbo_model.xlsx) (multi-sheet LBO workbook with transaction structuring, debt waterfall, and returns analysis)
161
164
 
162
165
  ![LBO Executive Dashboard](https://github.com/mhcfa/f8/releases/latest/download/lbo-dashboard.png)
163
166
 
@@ -443,11 +443,24 @@ impl Serialize for ValueLiteral {
443
443
  }
444
444
  }
445
445
 
446
+ fn deserialize_optional_value_literal<'de, D>(
447
+ deserializer: D,
448
+ ) -> Result<Option<ValueLiteral>, D::Error>
449
+ where
450
+ D: serde::Deserializer<'de>,
451
+ {
452
+ ValueLiteral::deserialize(deserializer).map(Some)
453
+ }
454
+
446
455
  /// Detailed cell override containing optional value, formula expression, formatting, note, or provenance.
447
456
  #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
448
457
  #[serde(deny_unknown_fields)]
449
458
  pub struct DetailedCellInput {
450
- #[serde(default, skip_serializing_if = "Option::is_none")]
459
+ #[serde(
460
+ default,
461
+ deserialize_with = "deserialize_optional_value_literal",
462
+ skip_serializing_if = "Option::is_none"
463
+ )]
451
464
  pub value: Option<ValueLiteral>,
452
465
  #[serde(default, skip_serializing_if = "Option::is_none")]
453
466
  pub expr: Option<String>,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes