Document direct file usage and proven SDK21 compiler installation
Browse files
README.md
CHANGED
|
@@ -13,7 +13,7 @@ tags:
|
|
| 13 |
|
| 14 |
# A small local judge for Gooo program construction
|
| 15 |
|
| 16 |
-
Updated 2026-10-
|
| 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 |
-
๊ณต๊ฐํ์ต๋๋ค.
|
| 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)
|