asketeddy commited on
Commit
e6fc9ad
ยท
verified ยท
1 Parent(s): 7c2781c

Document direct file usage and proven SDK21 compiler installation

Browse files
Files changed (1) hide show
  1. README.md +81 -3
README.md CHANGED
@@ -13,7 +13,7 @@ tags:
13
 
14
  # A small local judge for Gooo program construction
15
 
16
- Updated 2026-10-03. This model ranks **eight permitted Gooo body paths** built
17
  from three binary decisions. The project explores a language and a small model
18
  working together: Gooo provides the construction plan, the model suggests a
19
  route through it, and the compiler checks the assembled body and generates Go.
@@ -44,8 +44,9 @@ attempt. A receipt connects the original intention to the choices and result.
44
  [Linux ๊ฒ€์‚ฌ 37126899513](https://github.com/kimjooyoon/gooo-neural-decision-experiments/actions/runs/37126899513)์˜
45
  19๊ฐœ ์ž‘์—…์ด ํ†ต๊ณผํ•œ ๋’ค ์—ฐ๊ตฌ PR #1์„ ๋ณ‘ํ•ฉํ–ˆ์Šต๋‹ˆ๋‹ค. ์ƒˆ ์‚ฐ์ˆ ์˜ ํ”Œ๋žซํผ ๊ฐ„ ๊ฒ€์‚ฌ๋Š”
46
  ๊ณ„์† ๋ณ„๋„๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. [์ƒˆ ์›๋ณธ๊ณผ ์žฌํ˜„ ๋ฐฉ๋ฒ•](research/legacy-platform-replay-20261003/README.md)์„
47
- ๊ณต๊ฐœํ–ˆ์Šต๋‹ˆ๋‹ค. ํ˜„์žฌ ์„ค์น˜๋œ ์ปดํŒŒ์ผ๋Ÿฌ main `ed2c2cac`๋Š” SDK v0.2.20-experimental์„
48
- ์‚ฌ์šฉํ•˜๊ณ , ์ด์ „ ์—ฐ๊ฒฐ ์‹คํ—˜์˜ ๋ฒ„์ „ยท๊ฒฐ๊ณผ๋Š” ์•„๋ž˜์— ๋‚จ์•„ ์žˆ์Šต๋‹ˆ๋‹ค.
 
49
 
50
  Gooo ์„ ์–ธ์„ ์„ค๊ณ„๋„, ์ž‘์€ ๋ชจ๋ธ์„ ์กฐ๋ฆฝ ์ˆœ์„œ๋ฅผ ๊ณ ๋ฅด๋Š” ์žฅ์น˜๋กœ ์ƒ๊ฐํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.
51
  ํ˜„์žฌ ๋ชจ๋ธ์€ ์„ธ ๊ฐ€์ง€ ์ด์ง„ ํŒ๋‹จ์œผ๋กœ ์ด๋ฃจ์–ด์ง„ ์—ฌ๋Ÿ ๊ฒฝ๋กœ์— ์ˆœ์œ„๋ฅผ ๋งค๊น๋‹ˆ๋‹ค.
@@ -73,6 +74,83 @@ Gooo ์„ ์–ธ์„ ์„ค๊ณ„๋„, ์ž‘์€ ๋ชจ๋ธ์„ ์กฐ๋ฆฝ ์ˆœ์„œ๋ฅผ ๊ณ ๋ฅด๋Š” ์žฅ์น˜๋กœ
73
  ๋ชจ๋‘ ์ผ์น˜ํ–ˆ์Šต๋‹ˆ๋‹ค. ์‹ค์ œ ๋ชจ๋ธ ํŒ๋‹จ์€ 816ํšŒ์˜€์œผ๋ฉฐ, ๋ชจ๋ธ์„ ๋ˆ ๊ฒฝ๋กœ๋„ ๊ฒฐ์ •๋ก ์ ์œผ๋กœ
74
  ์™„๋ฃŒํ–ˆ์Šต๋‹ˆ๋‹ค. ์•„๋ž˜์— ์ƒˆ ๊ด€์ธก๊ณผ ๊ธฐ์กด V3 ๋ชจ๋ธ ์‚ฌ์šฉ ์˜ˆ์‹œ๋ฅผ ๊ฐ๊ฐ ์—ฐ๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  ## What we want this to contribute
77
 
78
  The [2026-10-03 research update](https://github.com/kimjooyoon/gooo-neural-decision-experiments/blob/main/docs/agile-language-research-20261003.ko.md)
 
13
 
14
  # A small local judge for Gooo program construction
15
 
16
+ Updated 2026-10-04. This model ranks **eight permitted Gooo body paths** built
17
  from three binary decisions. The project explores a language and a small model
18
  working together: Gooo provides the construction plan, the model suggests a
19
  route through it, and the compiler checks the assembled body and generates Go.
 
44
  [Linux ๊ฒ€์‚ฌ 37126899513](https://github.com/kimjooyoon/gooo-neural-decision-experiments/actions/runs/37126899513)์˜
45
  19๊ฐœ ์ž‘์—…์ด ํ†ต๊ณผํ•œ ๋’ค ์—ฐ๊ตฌ PR #1์„ ๋ณ‘ํ•ฉํ–ˆ์Šต๋‹ˆ๋‹ค. ์ƒˆ ์‚ฐ์ˆ ์˜ ํ”Œ๋žซํผ ๊ฐ„ ๊ฒ€์‚ฌ๋Š”
46
  ๊ณ„์† ๋ณ„๋„๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. [์ƒˆ ์›๋ณธ๊ณผ ์žฌํ˜„ ๋ฐฉ๋ฒ•](research/legacy-platform-replay-20261003/README.md)์„
47
+ ๊ณต๊ฐœํ–ˆ์Šต๋‹ˆ๋‹ค. ๋‹น์‹œ ์„ค์น˜๋œ ์ปดํŒŒ์ผ๋Ÿฌ main `ed2c2cac`๋Š” SDK v0.2.20-experimental์„
48
+ ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค. ์ตœ๊ทผ ํŒŒ์ผ ์—ฐ๊ฒฐ๊ณผ ์„ค์น˜ ์ƒํƒœ๋Š” ์•„๋ž˜ ๊ฐฑ์‹ ์—, ์ด์ „ ์—ฐ๊ฒฐ ์‹คํ—˜์˜
49
+ ๋ฒ„์ „ยท๊ฒฐ๊ณผ๋Š” ๊ฐ ๋‚ ์งœ์˜ ๊ธฐ๋ก์— ๋‚จ์•„ ์žˆ์Šต๋‹ˆ๋‹ค.
50
 
51
  Gooo ์„ ์–ธ์„ ์„ค๊ณ„๋„, ์ž‘์€ ๋ชจ๋ธ์„ ์กฐ๋ฆฝ ์ˆœ์„œ๋ฅผ ๊ณ ๋ฅด๋Š” ์žฅ์น˜๋กœ ์ƒ๊ฐํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.
52
  ํ˜„์žฌ ๋ชจ๋ธ์€ ์„ธ ๊ฐ€์ง€ ์ด์ง„ ํŒ๋‹จ์œผ๋กœ ์ด๋ฃจ์–ด์ง„ ์—ฌ๋Ÿ ๊ฒฝ๋กœ์— ์ˆœ์œ„๋ฅผ ๋งค๊น๋‹ˆ๋‹ค.
 
74
  ๋ชจ๋‘ ์ผ์น˜ํ–ˆ์Šต๋‹ˆ๋‹ค. ์‹ค์ œ ๋ชจ๋ธ ํŒ๋‹จ์€ 816ํšŒ์˜€์œผ๋ฉฐ, ๋ชจ๋ธ์„ ๋ˆ ๊ฒฝ๋กœ๋„ ๊ฒฐ์ •๋ก ์ ์œผ๋กœ
75
  ์™„๋ฃŒํ–ˆ์Šต๋‹ˆ๋‹ค. ์•„๋ž˜์— ์ƒˆ ๊ด€์ธก๊ณผ ๊ธฐ์กด V3 ๋ชจ๋ธ ์‚ฌ์šฉ ์˜ˆ์‹œ๋ฅผ ๊ฐ๊ฐ ์—ฐ๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.
76
 
77
+ ## Connecting model files to Gooo โ€” 2026-10-04
78
+
79
+ The [released Go SDK v0.2.21](https://github.com/kimjooyoon/gooo-decision-runtime/releases/tag/v0.2.21-experimental)
80
+ uses bounded model reads and checks the opened regular-file identity and extent.
81
+ On Unix, nonblocking/no-follow open prevents the observed replacement-FIFO
82
+ writer wait. The SDK's existing non-symlink model rule is retained. Use
83
+ `hf download --local-dir` to obtain regular metadata and adjacent weights.
84
+ The exact compact FP32 pair at Hub revision
85
+ `7c2781cbbcf81edba89a50d0423276c042b082de` was downloaded and checked:
86
+ metadata SHA256 `6478334e1e181d0854865d1da54b9c2203eaa0e488f2b05617c92e27f08b755f`,
87
+ weights SHA256 `43c503b224a78f23725101e58cdef1ec4647831329eea4de80f0a259a0253d31`.
88
+
89
+ Compiler [dev PR1206](https://github.com/kimjooyoon/meta-ontology-go/pull/1206)
90
+ passed its exact-head CI and independent source proof. Candidate `2420ad19`
91
+ completed 128 model-path swaps with zero writer releases/timeouts; 34 regular
92
+ completions kept 4,352/4,352 expectations. The standalone shared-model worker
93
+ kept 512/512 in concurrent Korean/English requests and joined both processes.
94
+ [Original failures, counts and process CPU scope](https://github.com/kimjooyoon/gooo-neural-decision-experiments/tree/0e24fffeae993af22032f6694d8a4a118be8eabf/publication/legacy-model-open-20261004).
95
+ Main promotion [PR1207](https://github.com/kimjooyoon/meta-ontology-go/pull/1207)
96
+ passed its own canonical CI37167954453, independently verified source proof and
97
+ live promotion authorization, then normally merged as `4f6c7566`. Both CLI and
98
+ worker are freshly installed from that clean main with Go1.27.1 / SDK v0.2.21.
99
+ Fresh installed swaps completed 128 requests with zero writer releases/timeouts;
100
+ 35 regular completions kept 4,480/4,480. Separate ordinary runs kept 1,024/1,024
101
+ and concurrent shared-model worker requests kept 512/512 with joined EOF.
102
+ The older d1bfd273 / SDK v0.2.20 wait remains recorded as the baseline.
103
+
104
+ The research comparator now binds each recorded source inventory to its own
105
+ immutable Git revision. Complete local/Linux replays each made 73,728 actual
106
+ predictions over 18,432 paired inputs. Explicit arithmetic kept all values,
107
+ rankings and finite curves; fourteen source changes stay visible. Legacy
108
+ arithmetic keeps 272 ranking and 38 finite-outcome differences between platforms.
109
+ Research CI37168510833 completed SUCCESS, and its arithmetic archive was
110
+ independently downloaded, hash-checked and fully consumed.
111
+ [Source deltas and original differences](https://github.com/kimjooyoon/gooo-neural-decision-experiments/tree/main/publication/arithmetic-source-delta-20261004).
112
+
113
+ ### A direct file-based example
114
+
115
+ With Go1.27.1, a compatible compiler and the compiler repository as working
116
+ directory, the existing compound source, plan and expectations can run directly:
117
+
118
+ ```sh
119
+ hf download asketeddy/gooo-shared-judgment-tiny-v1 \
120
+ --revision 7c2781cbbcf81edba89a50d0423276c042b082de \
121
+ --include 'research/compact-runtime-20261003/models/fp32/*' \
122
+ --local-dir ./gooo-models
123
+
124
+ gooo body-path-run \
125
+ --source examples/body-codegen/typed-path-compound.gooo.fixture \
126
+ --activity Combined \
127
+ --path-plan examples/body-codegen/typed-path-compound-plan.json \
128
+ --cases examples/body-codegen/typed-path-runtime-cases.json \
129
+ --model gooo-models/research/compact-runtime-20261003/models/fp32/model.json \
130
+ --repeat 2 --timing --out compound-model-results
131
+
132
+ gooo body-path-run --verify-timing --out compound-model-results
133
+ ```
134
+
135
+ Choose a fresh output path. Omitting `--model` uses deterministic construction.
136
+ Read assembled Go in `run-N-generated.go`, current case outputs in
137
+ `run-N-runtime.json`, and request status plus the finite numerator/denominator in
138
+ `summary.json`. Setup failures and unobserved cases have their own recorded state.
139
+ The clean candidate made two actual shared-model predictions and four native
140
+ runs, keeping 6/6 expectations in this existing example. First/repeated responses
141
+ were 884.413250/70.435292ms, covering construction and execution while excluding
142
+ initial model preparation and saving/output. Weights and training remain unchanged.
143
+ Fresh main `4f6c7566` also kept 6/6 in two constructions, two predictions and
144
+ four native runs. Its original first/repeated responses are
145
+ 1,188.190292/75.380833ms, and the saved-file timing verifier passed. The earlier
146
+ candidate timing stays attached to its own run. Current installed concurrent
147
+ worker CPU averaged 72.69% of one core during a 1.796446292s process interval;
148
+ this includes setup, native children and EOF joining. Host CPU and model-only
149
+ RAM remain unobserved.
150
+ [Commands, saved outputs and int64 readback](https://github.com/kimjooyoon/gooo-neural-decision-experiments/tree/main/publication/direct-body-quickstart-20261004)
151
+ and [Korean input/error guide](https://github.com/kimjooyoon/meta-ontology-go/wiki/Reading-Input-Files)
152
+ give the full scope.
153
+
154
  ## What we want this to contribute
155
 
156
  The [2026-10-03 research update](https://github.com/kimjooyoon/gooo-neural-decision-experiments/blob/main/docs/agile-language-research-20261003.ko.md)