Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2f5292e
kg_aware_slate_recommendation: initial sketch
chriscoey Apr 30, 2026
ea9c3f4
kg_aware_slate_recommendation: E2E debug pass
chriscoey Apr 30, 2026
3737b61
kg_aware_slate_recommendation: pivot to Open Library (CC0)
chriscoey Apr 30, 2026
e656f7f
kg_aware_slate_recommendation: pin count.per | 0 idiom; document unio…
chriscoey Apr 30, 2026
90888c8
kg_aware_slate_recommendation: review-driven fixes
chriscoey Apr 30, 2026
359976b
kg_aware_slate_recommendation: review cycle-2/3 honesty + idempotency…
chriscoey Apr 30, 2026
078097f
Merge remote-tracking branch 'origin/main' into kg_aware_slate_recomm…
chriscoey May 1, 2026
fe10571
kg_aware_slate_recommendation: register in v1/README.md index
chriscoey May 1, 2026
7b8e5d4
Merge remote-tracking branch 'origin/main' into kg_aware_slate_recomm…
chriscoey May 7, 2026
1af7eec
Rename template: kg_aware_slate_recommendation -> book_slate_recommen…
chriscoey May 7, 2026
4dc5b84
book_slate_recommendation: align with cart conventions
chriscoey May 8, 2026
4f6d0f6
book_slate_recommendation: tighten cart conventions, fix references, …
chriscoey May 8, 2026
25307a3
book_slate_recommendation: pre-solve diagnostic, fetcher hardening, d…
chriscoey May 8, 2026
6730939
book_slate_recommendation: pre-solve unread-candidate assert and mino…
chriscoey May 8, 2026
61a8696
book_slate_recommendation: extend pre-solve assert to cover fresh and…
chriscoey May 8, 2026
6546a22
Align with canonical v1 conventions: invariants up front, trim essays
chriscoey May 8, 2026
f871f01
Drop stale Paths references after reasoning_types alignment
chriscoey May 8, 2026
0870207
Make Paths the architectural centerpiece; replace PageRank with trian…
chriscoey May 8, 2026
3d34f5b
Convert book_slate_recommendation to CSP/MiniZinc with stronger graph…
chriscoey May 8, 2026
bc47d47
book_slate_recommendation: integer-slot CSP with hero pin and engagem…
chriscoey May 8, 2026
adace78
book_slate_recommendation: add per-IC pre-solve feasibility checks; t…
chriscoey May 8, 2026
81c8d85
book_slate_recommendation: rename reasoner type from Paths to Path
chriscoey May 8, 2026
c71f8ad
book_slate_recommendation: drop Path from reasoning_types and reasone…
chriscoey May 8, 2026
263651a
book_slate_recommendation: drop dramatic 'collapses' framing and cart…
chriscoey May 8, 2026
ade915d
Drop pillar/sibling/roadmap framing from customer-facing prose
chriscoey May 8, 2026
a2f5b6f
book_slate_recommendation: mark template as private (paths-library co…
chriscoey May 8, 2026
324e1c1
book_slate_recommendation: filter Open Library noise and tighten README
chriscoey May 8, 2026
93190bb
book_slate_recommendation: canonical-tag subject map and README polish
chriscoey May 8, 2026
c2bf151
book_slate_recommendation: fix doc drift and widen MiniZinc time budget
chriscoey May 8, 2026
8cdf35c
book_slate_recommendation: align README and fetcher Usage with curren…
chriscoey May 8, 2026
e1b3076
book_slate_recommendation: drop internal breadcrumb from canonical-ma…
chriscoey May 8, 2026
066c87d
book_slate_recommendation: regenerate v1 index after description edit
chriscoey May 12, 2026
7014e3a
Merge remote-tracking branch 'origin/main' into book_slate_recommenda…
chriscoey May 12, 2026
9494af2
book_slate_recommendation: regenerate v1 index after merging main
chriscoey May 12, 2026
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
3 changes: 2 additions & 1 deletion v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This directory contains the templates for v1. Each template folder includes its
| --- | --- |
| [ad_spend_allocation](./ad_spend_allocation/) | Allocate marketing budget across channels and campaigns to maximize conversions. |
| [bom-reachability](./bom-reachability/) | Trace transitive dependencies through a bill of materials to identify which raw materials each finished product depends on and which components are structural bottlenecks. |
| [book_slate_recommendation](./book_slate_recommendation/) | Recommend K books per reader and order them by slot, under diversity, freshness, and explainability constraints. |
| [campaign_roi](./campaign_roi/) | Reallocate marketing campaign budgets across regions to maximize conversions, with per-campaign floor and cap constraints and a regional cap on a paused region. |
| [cicd_runner_allocation](./cicd_runner_allocation/) | Assign CI/CD workflow jobs to the cheapest compatible runner type, subject to concurrency limits, with scenario analysis across capacity levels. |
| [commercial_underwriting](./commercial_underwriting/) | Run rules-based eligibility checks and risk-tier classification across a four-level commercial property/casualty hierarchy (insured entity, policy, location, coverage). |
Expand Down Expand Up @@ -39,7 +40,7 @@ This directory contains the templates for v1. Each template folder includes its
| [supply_chain_transport](./supply_chain_transport/) | Minimize inventory holding and transport costs with TL/LTL mode selection. |
| [synthetic_eligibility_records](./synthetic_eligibility_records/) | Generate K distinct, internally consistent member eligibility records per solve using a CSP solver in multi-solution mode: each record satisfies CMS Medicare-eligibility, age-by-plan-type CFDs, and PCP-network attribution. |
| [synthetic_order_lifecycle](./synthetic_order_lifecycle/) | Generate synthetic order-lifecycle event traces (PLACE / MODIFY / CANCEL / FILL) that satisfy MiFID II / Reg NMS-flavour sequencing rules using a CSP solver. |
| [telco_network_recovery](./telco_network_recovery/) | Multi-reasoner template: GNN demand forecasting, declarative critical-tower rules, call-graph blast radius, and tower-upgrade optimization on a shared telco ontology. |
| [telco_network_recovery](./telco_network_recovery/) | Multi-reasoner template: equipment-failure GNN over a heterogeneous graph (with manufacturer advisories), declarative critical-tower rules, call-graph blast radius, and tower-upgrade optimization on a shared telco ontology. |
| [test_data_generation](./test_data_generation/) | Determine optimal row counts for test database tables satisfying schema and referential integrity constraints. |
| [traveling_salesman](./traveling_salesman/) | Find the shortest route visiting all cities exactly once using the MTZ formulation. |
| [warehouse_allocation](./warehouse_allocation/) | Allocate inventory across a distribution network using graph centrality, weakly-connected-components, and bridge-route detection to prioritize critical hubs. |
Expand Down
5 changes: 5 additions & 0 deletions v1/book_slate_recommendation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
data/_cache/
*.egg-info/
__pycache__/
build/
debug.jsonl
538 changes: 538 additions & 0 deletions v1/book_slate_recommendation/README.md

Large diffs are not rendered by default.

952 changes: 952 additions & 0 deletions v1/book_slate_recommendation/book_slate_recommendation.py

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions v1/book_slate_recommendation/data/authors.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
id,name
1,Eva Kumar
2,Samuel Luke Fildes
3,Evelynn D. Smith
4,Charlotte Brontë
5,John Cuming Walters
6,Emma Orczy
7,H. G. Wells
8,Onésimo Colavidas
9,Chavdar Georgiev
10,Arthur Conan Doyle
11,Alexandre Dumas
12,Thomas Hardy
13,Daniel Defoe
14,Mark Twain
15,Όμηρος
16,Gilbert Keith Chesterton
17,John Buchan
18,Henry David Thoreau
19,Washington Irving
20,Aldous Huxley
21,Oscar Wilde
22,Henry James
23,Jane Austen
24,Lewis Carroll
25,Фёдор Михайлович Достоевский
26,Niccolò Machiavelli
27,L. Frank Baum
28,Jonathan Swift
29,Stephen Crane
30,Emily Brontë
31,Charles Dickens
32,Charles Bernard Derosne
33,Mary Shelley
34,Robert Louis Stevenson
35,Лев Толстой
36,Lionel Giles
37,F. Scott Fitzgerald
38,Agatha Christie
39,Stephen F. Kaufman
40,Dashiell Hammett
41,Dante Alighieri
42,孙武 (Sun Tzu)
43,Bram Stoker
44,Antoine de Saint-Exupéry
45,Voltaire
46,Charlotte Perkins Gilman
47,J. J. Grandville
48,Petrus Borel
49,Sheridan Le Fanu
50,N. C. Wyeth
51,Miguel de Cervantes Saavedra
52,William Shakespeare
72 changes: 72 additions & 0 deletions v1/book_slate_recommendation/data/book_author.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
book_id,author_id
1,45
2,44
3,26
4,4
5,6
6,24
7,24
8,24
9,25
10,27
11,28
12,29
13,25
14,30
15,34
16,8
16,36
16,39
16,42
17,27
18,10
19,10
20,10
21,10
22,10
23,10
24,10
25,10
26,35
27,35
28,22
29,1
29,3
29,9
29,46
30,21
31,49
32,52
33,11
34,33
35,13
35,47
35,48
35,50
36,37
37,38
38,40
39,38
40,51
41,7
42,7
43,14
44,18
45,15
46,19
47,20
48,23
49,23
50,23
51,16
52,17
53,12
54,31
55,43
56,43
57,2
57,5
57,31
57,32
58,52
59,41
Loading
Loading