buildocc 1.0.0__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 (55) hide show
  1. buildocc-1.0.0/LICENSE +187 -0
  2. buildocc-1.0.0/PKG-INFO +727 -0
  3. buildocc-1.0.0/README.md +495 -0
  4. buildocc-1.0.0/buildocc.egg-info/PKG-INFO +727 -0
  5. buildocc-1.0.0/buildocc.egg-info/SOURCES.txt +53 -0
  6. buildocc-1.0.0/buildocc.egg-info/dependency_links.txt +1 -0
  7. buildocc-1.0.0/buildocc.egg-info/entry_points.txt +8 -0
  8. buildocc-1.0.0/buildocc.egg-info/requires.txt +26 -0
  9. buildocc-1.0.0/buildocc.egg-info/top_level.txt +1 -0
  10. buildocc-1.0.0/occupant_agent/__init__.py +190 -0
  11. buildocc-1.0.0/occupant_agent/agent/__init__.py +0 -0
  12. buildocc-1.0.0/occupant_agent/agent/memory.py +282 -0
  13. buildocc-1.0.0/occupant_agent/agent/occupant.py +761 -0
  14. buildocc-1.0.0/occupant_agent/agent/persona.py +508 -0
  15. buildocc-1.0.0/occupant_agent/analysis/__init__.py +28 -0
  16. buildocc-1.0.0/occupant_agent/analysis/metrics.py +210 -0
  17. buildocc-1.0.0/occupant_agent/analysis/simulation_log.py +176 -0
  18. buildocc-1.0.0/occupant_agent/api/__init__.py +0 -0
  19. buildocc-1.0.0/occupant_agent/api/app.py +248 -0
  20. buildocc-1.0.0/occupant_agent/cli.py +298 -0
  21. buildocc-1.0.0/occupant_agent/core/__init__.py +49 -0
  22. buildocc-1.0.0/occupant_agent/core/base_memory.py +127 -0
  23. buildocc-1.0.0/occupant_agent/core/base_persona.py +185 -0
  24. buildocc-1.0.0/occupant_agent/core/base_scheduler.py +78 -0
  25. buildocc-1.0.0/occupant_agent/core/registry.py +188 -0
  26. buildocc-1.0.0/occupant_agent/data/README.txt +20 -0
  27. buildocc-1.0.0/occupant_agent/data/activity_frequency_O1.csv +51 -0
  28. buildocc-1.0.0/occupant_agent/data/activity_frequency_O2.csv +51 -0
  29. buildocc-1.0.0/occupant_agent/data/activity_frequency_O3.csv +51 -0
  30. buildocc-1.0.0/occupant_agent/data/activity_frequency_O4.csv +51 -0
  31. buildocc-1.0.0/occupant_agent/data/mapping_coverage.csv +4 -0
  32. buildocc-1.0.0/occupant_agent/data/schedule_peak_hours.csv +65 -0
  33. buildocc-1.0.0/occupant_agent/data/tewhere_validation.csv +8 -0
  34. buildocc-1.0.0/occupant_agent/data/time_at_activity.csv +1537 -0
  35. buildocc-1.0.0/occupant_agent/data/time_of_day_distributions.csv +673 -0
  36. buildocc-1.0.0/occupant_agent/environment/__init__.py +0 -0
  37. buildocc-1.0.0/occupant_agent/environment/simulation.py +645 -0
  38. buildocc-1.0.0/occupant_agent/environment/state.py +86 -0
  39. buildocc-1.0.0/occupant_agent/grounding/__init__.py +0 -0
  40. buildocc-1.0.0/occupant_agent/grounding/activity_code_map.py +747 -0
  41. buildocc-1.0.0/occupant_agent/grounding/fixed_schedule.py +124 -0
  42. buildocc-1.0.0/occupant_agent/grounding/scheduler.py +285 -0
  43. buildocc-1.0.0/occupant_agent/llm/__init__.py +1 -0
  44. buildocc-1.0.0/occupant_agent/llm/client.py +226 -0
  45. buildocc-1.0.0/occupant_agent/mcp_server/__init__.py +0 -0
  46. buildocc-1.0.0/occupant_agent/mcp_server/server.py +303 -0
  47. buildocc-1.0.0/occupant_agent/persistence/__init__.py +0 -0
  48. buildocc-1.0.0/occupant_agent/persistence/store.py +409 -0
  49. buildocc-1.0.0/occupant_agent/py.typed +0 -0
  50. buildocc-1.0.0/occupant_agent/testing/__init__.py +48 -0
  51. buildocc-1.0.0/occupant_agent/testing/conformance.py +228 -0
  52. buildocc-1.0.0/occupant_agent/testing/fixtures.py +170 -0
  53. buildocc-1.0.0/occupant_agent/testing/mock_llm.py +141 -0
  54. buildocc-1.0.0/pyproject.toml +127 -0
  55. buildocc-1.0.0/setup.cfg +4 -0
buildocc-1.0.0/LICENSE ADDED
@@ -0,0 +1,187 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship made available under
36
+ the License, as indicated by a copyright notice that is included in
37
+ or attached to the work (an example is provided in the Appendix below).
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean, as defined by Sections 2 through 9 of this
48
+ document, any work of authorship, including the original version of
49
+ the Work and any modifications or additions to that Work or Derivative
50
+ Works of the Work, that is intentionally submitted to the Licensor for
51
+ inclusion in the Work by the copyright owner or by an individual or
52
+ Legal Entity authorized to submit on behalf of the copyright owner.
53
+ For the purposes of this definition, "submitted" means any form of
54
+ electronic, verbal, or written communication sent to the Licensor or
55
+ its representatives, including but not limited to communication on
56
+ electronic mailing lists, source code control systems, and issue
57
+ tracking systems that are managed by, or on behalf of, the Licensor
58
+ for the purpose of discussing and improving the Work, but excluding
59
+ communication that is conspicuously marked or designated in writing
60
+ by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
63
+ whom a Contribution has been received by the Licensor and included
64
+ within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contributions
81
+ with the Work to which such Contributions were submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or Derivative
95
+ Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, You must include a readable copy of the
108
+ attribution notices contained within such NOTICE file, in
109
+ at least one of the following places: within a NOTICE text
110
+ file distributed as part of the Derivative Works; within
111
+ the Source form or documentation, if provided along with the
112
+ Derivative Works; or, within a display generated by the
113
+ Derivative Works, if and wherever such third-party notices
114
+ normally appear. The contents of the NOTICE file are for
115
+ informational purposes only and do not modify the License.
116
+ You may add Your own attribution notices within Derivative
117
+ Works that You distribute, alongside or in addition to the
118
+ NOTICE text from the Work, provided that such additional
119
+ attribution notices cannot be construed as modifying the License.
120
+
121
+ You may add Your own license statement for Your modifications and
122
+ may provide additional grant of rights to use, copy, modify, merge,
123
+ publish, distribute, sublicense, and/or sell copies of the
124
+ Contribution, and to permit persons to whom the Contribution is
125
+ furnished to do so.
126
+
127
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
128
+ any Contribution intentionally submitted for inclusion in the Work
129
+ by You to the Licensor shall be under the terms and conditions of
130
+ this License, without any additional terms or conditions.
131
+ Notwithstanding the above, nothing herein shall supersede or modify
132
+ the terms of any separate license agreement you may have executed
133
+ with Licensor regarding such Contributions.
134
+
135
+ 6. Trademarks. This License does not grant permission to use the trade
136
+ names, trademarks, service marks, or product names of the Licensor,
137
+ except as required for reasonable and customary use in describing the
138
+ origin of the Work and reproducing the content of the NOTICE file.
139
+
140
+ 7. Disclaimer of Warranty. Unless required by applicable law or
141
+ agreed to in writing, Licensor provides the Work (and each
142
+ Contributor provides its Contributions) on an "AS IS" BASIS,
143
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
144
+ implied, including, without limitation, any warranties or conditions
145
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
146
+ PARTICULAR PURPOSE. You are solely responsible for determining the
147
+ appropriateness of using or reproducing the Work and assume any
148
+ risks associated with Your exercise of permissions under this License.
149
+
150
+ 8. Limitation of Liability. In no event and under no legal theory,
151
+ whether in tort (including negligence), contract, or otherwise,
152
+ unless required by applicable law (such as deliberate and grossly
153
+ negligent acts) or agreed to in writing, shall any Contributor be
154
+ liable to You for damages, including any direct, indirect, special,
155
+ incidental, or exemplary damages of any character arising as a
156
+ result of this License or out of the use or inability to use the
157
+ Work (including but not limited to damages for loss of goodwill,
158
+ work stoppage, computer failure or malfunction, or all other
159
+ commercial damages or losses), even if such Contributor has been
160
+ advised of the possibility of such damages.
161
+
162
+ 9. Accepting Warranty or Additional Liability. While redistributing
163
+ the Work or Derivative Works thereof, You may choose to offer,
164
+ and charge a fee for, acceptance of support, warranty, indemnity,
165
+ or other liability obligations and/or rights consistent with this
166
+ License. However, in accepting such obligations, You may offer such
167
+ obligations only on Your own behalf and on Your sole responsibility,
168
+ not on behalf of any other Contributor, and only if You agree to
169
+ indemnify, defend, and hold each Contributor harmless for any
170
+ liability incurred by, or claims asserted against, such Contributor
171
+ by reason of your accepting any such warranty or additional liability.
172
+
173
+ END OF TERMS AND CONDITIONS
174
+
175
+ Copyright 2026 Wooyoung Jung
176
+
177
+ Licensed under the Apache License, Version 2.0 (the "License");
178
+ you may not use this file except in compliance with the License.
179
+ You may obtain a copy of the License at
180
+
181
+ http://www.apache.org/licenses/LICENSE-2.0
182
+
183
+ Unless required by applicable law or agreed to in writing, software
184
+ distributed under the License is distributed on an "AS IS" BASIS,
185
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
186
+ See the License for the specific language governing permissions and
187
+ limitations under the License.