feat(progress): count stubs no measured use needs as unobserved #13801

Closed
MarcZX10 wants to merge 78 commits from upstream-pr/13801 into main
MarcZX10 commented 2026-10-31 07:17:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T07:17:41Z.


What

This is a proposal that changes how project status is reported. The owner has decided that the headline is the rule below, implemented / (implemented + observed stubs), which shows 98.83% today. The declared figure (26.25%) stays visible next to it in every report and page. Read the headline as the share of functions that a measured use has shown to be needed, not as the share of PS5 functions implemented; the declared figure counts every declared function. If the rule changes later, only the headline commits change.

Today a function counts as pending whenever its body calls NotImplemented_nid_no_patch. Commits that declare every callable export of a firmware library add thousands of stubs that no measured use needs (libSceNKWebKit alone has 8842 pending against 11 implemented), so the libraries figure drops and suggests work that nothing needs.

This PR adds a third state to tools/progress.py:

  • implemented: unchanged.
  • observed stub: pending, and its NID is listed in docs/dev/observed/<library>.txt.
  • unobserved stub: pending, and its NID is not listed. A NID is observed when any measured use shows it is needed, anywhere: the imports of any title or module, any dump or audit run, and what is needed before a title's own code runs (what the loader or system startup requires). The word is "unobserved", not "unused": the only evidence is that no measured use has shown it to be needed.

Evidence search, 2026-10-31

Source: all 11,972 pull requests with their bodies and review bodies, all 1,314 issues, all pull request and issue comments (48,215 and 5,455), 333 review comments, 415 discussions, every commit message in the history (47,472 commits) and every markdown file on upstream/main e8c25dd3ba.

Method: an exact match of each of the 20,305 pending names, and of their 11-character NIDs computed with the repository's NID function, against all that text. 8,430 names appear in human text and 17,829 in all text including the docs. Of those, 412 names have a game or title word, or a title ID, together with a use word (calls, imports, stops, crashes, needs, requires and similar); each was classified by reading its excerpts (four reviewers, then a lead check of all 140 game-use verdicts).

Results: 82 stubs with retail-title use (26 libraries; libSceHttp2 has 20), 30 with only homebrew, emulator or app use, 26 unclear and 2 with no evidence. The 82, with the reference and the title identifier only and no excerpts:

The 82 stubs with retail-title use
Name Library Reference Title identifier
sceAgcCbMemsetExclusive libSceAgc PR #11169 named retail title or title count, no ID
sceAgcUpdateInterpolantMapping_0100 libSceAgc PR #10736 PPSA03530
sceAjmBatchJobControl libSceAjm.native PR #884 PPSA26344
sceAjmBatchJobGetStatistics libSceAjm.native PR #12231 PPSA25286
sceAjmInstanceCreate libSceAjm.native comment on #9372 named retail title or title count, no ID
sceAjmStrError libSceAjm.native comment on #3205 named retail title or title count, no ID
_ZNKSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE3getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateEP2tmPKcSE__nid_postfix libSceAmpr comment on #11735 PPSA16064
_ZNSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE7_GetcatEPPKNSt6locale5facetEPKS5__nid_postfix libSceAmpr comment on #11735 PPSA16064
sceAmprAmmSetPageTablePoolOccupancyNotificationThreshold libSceAmpr PR #4251 PPSA35169
sceContentDeleteByPath libSceContentDelete issue #4109 PPSA12338
sceContentExportFromData libSceContentExport issue #10553 PPSA01746
sceContentExportFromDataWithThumbnail libSceContentExport PR #2740 PPSA06465
sceContentExportGetProgress libSceContentExport PR #2740 PPSA06465
sceContentSearchOpenMetadataByContentId libSceContentSearch PR #2740 PPSA06465
sceHmd2GazeGetResult libSceHmd2 PR #8907 PPSA05666
sceHmd2GazeGetResultForFoveatedRendering libSceHmd2 PR #8907 PPSA05666
sceHmd2ReprojectionEnableVrMode libSceHmd2 PR #7786 PPSA05666
sceHmd2ReprojectionGetStatus libSceHmd2 commit 9a0aa5f6a7 PPSA09030
sceHmd2ReprojectionInitialize libSceHmd2 PR #8645 PPSA23479
sceHmd2ReprojectionQueryBufferSizeAlign libSceHmd2 comment on #7323 PPSA01317
sceHmd2ReprojectionSetAllowPositionalReprojection libSceHmd2 comment on #7658 PPSA05666
sceHttp2AddRequestHeader libSceHttp2 PR #11627 PPSA23126
sceHttp2GetAllResponseHeaders libSceHttp2 comment on #12305 PPSA02530
sceHttp2GetResponseContentLength libSceHttp2 PR #11518 PPSA01494, PPSA18194, PPSA21564, PPSA30839, PPSA31162
sceHttp2GetStatusCode libSceHttp2 PR #11518 PPSA01494, PPSA18194, PPSA21564, PPSA30839, PPSA31162
sceHttp2ReadDataAsync libSceHttp2 PR #11900 PPSA25286
sceHttp2SendRequest libSceHttp2 issue #12089 PPSA14299
sceHttp2SendRequestAsync libSceHttp2 PR #3925 PPSA15508
sceHttp2SetCookieBox libSceHttp2 PR #11950 PPSA31872
sceHttp2SetMinSslVersion libSceHttp2 commit 23398893cd named retail title or title count, no ID
sceHttp2SetRedirectCallback libSceHttp2 comment on #11575 PPSA30839
sceHttp2SetResolveRetry libSceHttp2 PR #11617 PPSA30839
sceHttp2SetSslCallback libSceHttp2 comment on #11575 PPSA03659
sceHttp2SslEnableOption libSceHttp2 PR #13734 PPSA06866
sceHttp2WaitAsync libSceHttp2 PR #3925 named retail title or title count, no ID
sceHttp2WebSocketCloseAsync libSceHttp2 PR #11470 PPSA27836
sceHttp2WebSocketCreateRequest libSceHttp2 PR #11470 PPSA27836
sceHttp2WebSocketSendDataMessageAsync libSceHttp2 PR #11470 PPSA27836
sceHttp2WebSocketSendTextMessageAsync libSceHttp2 PR #11470 PPSA27836
sceHttp2WebSocketSetPingInterval libSceHttp2 PR #3319 PPSA23126
sceHttp2WebSocketSetPingTimeout libSceHttp2 PR #5771 PPSA27836
sceImeSetConsecutiveClauseConversionEnabled libSceIme PR #8553 PPSA24191
sceMouseSetAbsoluteVirtualScreenSize libSceMouse comment on #11477 PPSA37318
sceNpAppLauncherLaunchApp libSceNpGameIntent PR #10573 PPSA20397
sceNpGetSandboxInfo libSceNpManager PR #10989 PPSA28416
sceNpMatching2SignalingGetConnectionStatus libSceNpMatching2 PR #12013 CUSA03312
sceNpSignalingGetConnectionStatus libSceNpSignaling PR #4695 PPSA21564
scePadOpenExt libScePad comment on #5676 PPSA01317
scePadOpen_nid_postfix libScePad comment on #10935 PPSA31246
scePadReadExt libScePad PR #5038 PPSA01317
scePadSetAngularVelocityBiasCorrectionState libScePad comment on #1672 PPSA16064
scePadVrControllerGetDeviceInformation libScePad PR #905 PPSA21402
scePadVrControllerGetTriggerEffectState libScePad comment on #3773 named retail title or title count, no ID
scePadVrControllerRead libScePad PR #905 PPSA21402
scePsmlMfsrCreateContext1100 libScePsml_debug PR #644 PPSA26344
scePsmlMfsrCreateContext1300 libScePsml_debug PR #2888 PPSA28416
scePsmlMfsrGetContextBufferRequirement1100 libScePsml_debug PR #644 PPSA26344
scePsmlMfsrGetDispatchMfsrPacket1000 libScePsml_debug PR #2412 PPSA25344
scePsmlMfsrGetDispatchMfsrPacket1100 libScePsml_debug PR #644 PPSA26344
scePsmlMfsrGetDispatchMfsrPacket1300 libScePsml_debug commit beba4ce204 PPSA28416
sceRegMgrNonSysGetInt libSceRegMgr PR #6497 PPSA21564
sceRudpGetOption libSceRudp PR #7087 PPSA06888
sceRudpGetRemoteInfo libSceRudp commit e2bfacefa3 PPSA06888
sceSaveDataCancel libSceSaveData.native PR #2623 PPSA23126
sceSaveDataMount libSceSaveData.native PR #7780 CUSA03312
sceSaveDataPrepareForTransferring libSceSaveData.native PR #4906 PPSA17221
sceTextToSpeech2RegisterTextConversionItem libSceTextToSpeech2 PR #3928 PPSA01317
sceVideoOutClearFlipMaster libSceVideoOut PR #6253 PPSA29866
sceVideoOutCursorSet2xMagnify libSceVideoOut PR #13008 PPSA11018
sceVideoOutSetFlipMaster libSceVideoOut PR #6253 PPSA29866
sceVideoRecordingClose libSceVideoRecordingP PR #11478 PPSA26785
sceVideoRecordingOpen libSceVideoRecordingP PR #11478 PPSA26785
sceVideoRecordingQueryMemSize libSceVideoRecordingP PR #11478 PPSA26785
sceVideoRecordingStart libSceVideoRecordingP PR #11478 PPSA26785
sceVideoRecordingStop libSceVideoRecordingP PR #11478 PPSA26785
sceVoiceWriteToIPort libSceVoice PR #6090 PPSA34015
sceVoiceQoSGetLocalEndpointAttribute libSceVoiceQoS PR #7727 PPSA03393
sceKernelAddFileEvent libkernel PR #3764 named retail title or title count, no ID
sceKernelCreateSema libkernel PR #9005 PPSA28061
sceKernelGetModuleInfoForUnwind libkernel PR #279 PPSA02929
sceKernelPrintBacktraceWithModuleInfo libkernel PR #8114 CUSA03312
sceKernelIsNeoMode libkernel_sys PR #12427 CUSA04865

Rules used: a title identifier (PPSA or CUSA with a number under 90000, or a named retail title) counts as retail; identifiers in the 90000 range and named apps, emulators or homebrew do not; a statement that no title reaches a function does not count; a source link to shadPS4 does not count.

Limits: about 8,000 names appear only in human text without a game word or a use word and were not read one by one, so the count is a lower bound. The excerpts come from what people wrote publicly, not from dumps or console runs. A few counts rely on a title count ("six title binaries", "20 titles") without naming the titles.

Manifests: following the owner's decision, this PR ships a manifest for each of the 32 libraries with at least one listed name: 111 NIDs in total, the 82 retail-use and the 30 homebrew, app or emulator-use names minus one entry judged too weak; 110 of them are pending stubs on the current tree (one listed function has since been implemented upstream). The 26 unclear and the 2 no-evidence names are not listed. Each NID line is tagged manual: reported in PR #N, issue #N, comment #N or found in commit <sha>, cites only the public reference and holds no title name; every NID was checked with the repository's NID function against its name before it was written.

Effect on this PR's tree (upstream/main 5bae1a4bc2 merged in)

The default is unobserved, so only the 108 observed stubs count as pending. Scanner output on the PR head e8410ce824 (after merging upstream/main 5bae1a4bc2): libraries 9138/9246, headline 98.83%; declared figure 26.25% (9138/34808); 108 observed stubs and 25,562 unobserved stubs. The per-library numbers for the 32 libraries that have a manifest (every other library has all its pending stubs unobserved):

Library Implemented Observed stubs Unobserved stubs Declared % (old figure) % (headline rule)
libc 1489 1 15 98.94% 99.93%
libkernel 702 15 34 93.48% 97.91%
libkernel_sys 136 6 690 16.35% 95.77%
libSceAgc 233 2 5 97.08% 99.15%
libSceAjm.native 31 4 17 59.62% 88.57%
libSceAmpr 134 3 0 97.81% 97.81%
libSceAppInstUtil 0 1 157 0.00% 0.00%
libSceAudioOut 68 1 123 35.42% 98.55%
libSceContentDelete 2 1 5 25.00% 66.67%
libSceContentExport 5 3 14 22.73% 62.50%
libSceContentSearch 15 1 13 51.72% 93.75%
libSceHmd2 16 7 130 10.46% 69.57%
libSceHttp2 17 19 35 23.94% 47.22%
libSceIme 16 1 47 25.00% 94.12%
libSceKeyboard 8 1 19 28.57% 88.89%
libSceMouse 5 1 23 17.24% 83.33%
libSceNet 83 1 148 35.78% 98.81%
libSceNpGameIntent 10 1 10 47.62% 90.91%
libSceNpManager 71 1 290 19.61% 98.61%
libSceNpMatching2 12 1 56 17.39% 92.31%
libSceNpSignaling 9 1 14 37.50% 90.00%
libScePad 43 8 154 20.98% 84.31%
libScePsml_debug 21 6 4 67.74% 77.78%
libSceRegMgr 3 1 70 4.05% 75.00%
libSceRudp 33 1 1 94.29% 97.06%
libSceSaveData.native 45 3 71 37.82% 93.75%
libSceSystemService 114 2 468 19.52% 98.28%
libSceTextToSpeech2 8 1 5 57.14% 88.89%
libSceVideoOut 55 7 191 21.74% 88.71%
libSceVideoRecordingP 6 5 15 23.08% 54.55%
libSceVoice 35 1 0 97.22% 97.22%
libSceVoiceQoS 14 1 10 56.00% 93.33%

The headline is 98.83% because it divides by implemented plus observed stubs, and only 108 stubs are observed; the declared figure is 26.25%. The owner has decided to show this headline, with the declared figure next to it. Implemented functions always count; of the stubs, only those with a measured use enter the denominator, so the headline says nothing about how many PS5 functions are still missing.

Headline rule: libraries percent = implemented / (implemented + observed stubs). Every implemented function counts whether observed or not, so implementing never lowers a number. The old figure stays visible as declared_total / declared_percent in progress.json, as the Declared % column and the Implemented / Observed stubs / Unobserved stubs columns on the progress page, in the page text, in the PR report and in the summary line.

Default: a library with no manifest file has an empty set of observed NIDs, so every pending stub in it is an unobserved stub (grey on the map, including libSceNKWebKit's); a stub is observed (red) only when a manifest names its NID, that is when a measured use found in the texts shows it is needed. There is no separate state for libraries nobody has looked at.

Known limit, stated in docs/dev/PROGRESS.md: the import audit reads what the relinker resolves at load time and misses functions a title resolves at run time (sceKernelDlsym by name), and a NID no measurement has reached yet is unobserved, so a manifest can undercount; a manual entry with # evidence: <reason> is supported.

Traceability and graphs (all optional; none changes a count or the headline rule, and none holds a title name):

  • Origin of every declaration: tools/progress.py --origins adds origins to each library group in progress.json: for each declaration, the commit, UTC date and time, author and pull request number (pr, or null) from git blame of the declaration line. The pull request is taken from the commit subject ((#N), Merge pull request #N) or from the first-parent merge that brought the commit into the branch. It needs a git work tree and is behind the flag, so the scanner still runs on a plain archive. A blame names the commit that last wrote the line, so a later edit of the declaration moves the origin; this is stated in docs/dev/PROGRESS.md. New module tools/stub_origins.py.
  • Provenance of every observation: each manifest NID carries a tag, audit: <tool> <date>, loader or manual: <reason>. observed_imports.py add writes the audit tag, entry requires --tag, check rejects unknown tags and lists untagged entries (old lines without a tag stay valid and count as untagged). The scan records observed_tags per observed stub and observed_by_tag in the totals; the conventions check rejects unknown tags and warns on untagged added lines.
  • Inventory source of a stub: docs/dev/inventory/<library>.txt (<NID> <source>), written by tools/stubgen.py --inventory-source/--inventory-out, read by the scan as inventory, validated by a conventions rule. No listing is shipped, because there is no machine-readable firmware list for the existing stubs on this machine.
  • Map: implemented functions are green, observed stubs red and unobserved stubs grey; the grey is the same constant as the not-implemented shader instructions, and the legend has one grey entry for both ("Unobserved, not known to be needed" for the libraries, "Not implemented" for the shaders). When origins, tags or inventory exist the site also gets progress-detail.svg, whose tooltip for each pending cell shows the function, its state and tag, the origin commit and date, and the inventory source; the plain progress.svg stays small. The page says how many pending functions are unobserved and counts observed stubs by tag.
  • History: every point in history.json keeps unobserved and declared_total (old cached and old points still load and chart), the chart gains an observed-stubs line (red) and an unobserved-stubs line (grey) with their own labels, and the table links each day's commit and shows the functions declared since the previous day.
  • PR report: the headline shows declared <before>% → <after>% when unobserved stubs change, the unit is dropped from the stub counts, and each newly declared stub is listed with a link to its origin commit, its time, its author and its pull request. The report, Pages and Pages-progress workflows now pass --origins (Pages-progress checks out the full history).

For reference only, the earlier scanner gave 44.67% (6822/15273) at 7a225bb303 (2026-10-29) and 41.26% (6946/16836) at the parent of #13117.

Changes, one coherent commit each:

  • tools/progress.py: manifest reader and validation, split of the pending functions, unobserved / unobserved_names / done_unobserved_names fields (old fields keep their meaning; old snapshots with classified still validate), declared figure, snapshot validation that accepts old snapshots, comparisons and the PR report (new stubs listed as observed or unobserved, and the declared percentage before and after in the headline when unobserved stubs change, plus "implemented but not observed anywhere"), changed-libraries table, treemap with a dimmer third colour and a legend, library table, page text, summary line.
  • tools/progress_history.py: measures docs/dev/observed where a commit has it; commits from before the manifests have none, so their stubs are all unobserved (said on the page).
  • tools/observed_imports.py (new): add merges import_audit.py --json / audit_dump.py --json into the manifests (sorted, deduplicated, rejects malformed NIDs and unknown libraries, --check writes nothing), entry adds one NID with a required provenance tag, check validates the files and the tags. NID matching reuses nid_names.nids_of (moved from import_audit.py), so APS5_EXPORT aliases and postfixes map exactly as the audit maps them.
  • tools/check_conventions.py: new observed-manifest rule for files under docs/dev/observed (name, library exists, sorted, unique, valid NIDs). The silent-stub and unknown-nid rules are untouched. I did not add a non-blocking note for PRs that add many exports absent from the manifest.
  • tools/stubgen.py: help text says stubs for unobserved NIDs are inventory only. tools/import_audit.py counts observed and unobserved stubs alike as stubs, so the audit does not depend on the manifests.
  • Workflows: docs/dev/observed/** (and the new tool or nid_names.py where they matter) added to the path filters of pages.yml, pages-progress.yml and progress-report.yml. progress-comment.yml needs no change.
  • Docs: docs/dev/PROGRESS.md (states, headline vs declared, manifest format, tool, limits), the README footnote and the footnotes of the four translated READMEs (docs/user/README.es.md, docs/user/README.pt-BR.md, docs/user/README.ru.md, docs/user/README.zh-CN.md), CONTRIBUTING.md, docs/dev/GAME_TESTING.md, docs/user/USAGE.md. The translations of the footnote are not reviewed by a native speaker.

Tested

No C++ changed, so no build or ctest run. Everything below was run locally on Linux with Python 3.11 on the head named in the PR; Hosted CI results are on the PR checks, not in this description.

Scanner, python3 tools/progress.py --json. With no manifest every pending stub is unobserved, so the merge base 93c71cc1bb (a tree without manifests) gives libraries 7216/7216, headline 100.0%, declared 7216/27404 = 26.33%, which is the old headline; shaders 1166/1166 as before. On the PR head tree (with the 32 manifests and upstream/main 5bae1a4bc2 merged in): libraries 9138/9246, 98.83%, declared 26.25% (9138/34808), 108 observed and 25,562 unobserved stubs (observed_by_tag {manual: 110}). The rule that a library with no manifest is unobserved is pinned by a test that scans a library with no manifest, by one that scans a whole tree with no manifest directory, and by the same stub counted observed only once a manifest names its NID.

Tests on the PR head, all passing: 446 tests across test_progress, test_progress_history, test_shader_scan, test_progress_render_sliver, test_progress_wrappers, test_import_audit, test_observed_imports, test_stub_origins, test_stubgen, test_check_conventions_observed, test_inspect_self and test_audit_dump (7 skipped). The full tools suite (every tools/tests module except test_run_report_schema, which needs jsonschema from its own workflow venv) runs 2021 tests with 2 errors, both in test_patch_lib_atrac9; the same two fail on main, because that test reads CMake's sys.argv[1]. tools/check_test_registration.py --scripts (243 scripts), python3 tools/check_conventions.py --base upstream/main and git diff --check pass. Negative control on the PR head: counting unobserved stubs in the headline denominator (summarize) makes 12 tests fail in test_progress, test_progress_history, test_progress_render_sliver and test_progress_wrappers; with the change reverted all of them pass again. tools/env_reference.py --check fails identically on upstream/main and on this branch (APS5_PAD_SPEAKER_FALLBACK_DB has a row but is no longer read).

Negative controls for the traceability work, each failing as expected and passing again after restoring: no per-cell tooltips fails 2, accepting unknown tags fails 1, no declared figure in the headline fails 2, a flat unobserved series fails 1, no origins fails 2, the unit on stub counts fails 3. Negative control for the default: counting every pending function as observed fails 8 tests and errors in 3 in test_progress, and fails 3 in test_progress_history. Tests also cover a stub with its NID in the manifest counted and the same stub without it not counted, an empty manifest, aliases, and an old snapshot that still compares.

The branch is based on 93c71cc1bb and has upstream/main 5bae1a4bc2 merged in.

With --origins the run takes about two minutes and names the origin of nearly every function; progress.json with origins is 11.8 MB, progress-detail.svg 7.9 MB and the plain progress.svg 4.0 MB, which is why only the detailed map has per-cell tooltips. On the full history at head 969a4d5d5f, 26,277 of the 32,925 declarations name a pull request (1,462 distinct pull requests) and all 32,925 have a time and an author; the other 6,648 declarations come from 67 commits that reached main without a merge commit naming a pull request or a (#N) subject, so their pr is null. On a fixture repository with a manifest (one audit-tagged and one loader-tagged NID), an inventory listing and one commit, the scan printed libraries 1/3 (33.33%), declared 25.0% with 1 unobserved stubs, observed_by_tag {audit: 1, loader: 1}, the colours in the detailed map and the tooltip of that stub named its declaration commit and date; the time, author and pull request parts were added afterwards and are checked by test_origin_text_names_the_time_author_and_pull_request, which prints <sha10> on 2026-05-06 12:00 UTC by <author> in PR #<n>.

Not done: no inventory listing is shipped (no data) and the manifests hold only the 111 NIDs with public evidence, so the headline is high until more evidence is added; origins name the commit that last wrote a declaration line, not always the first one, and the 67 commits without a pull request number have no pr; the history chart and table use the commit of each day, not a per-stub origin; the history chart attached for review samples about a dozen days of the first-parent history instead of every day; C++ build and ctest, CI, the Pages workflows, and a visual check of the rendered SVG and HTML were not run.

Overlaps, rechecked on head e8410ce824 (merge previews against the current heads of the open pull requests named here): clean with #13171, #12766, #12767, #10218, #12881, #14321 and #14424. #13615 has merged since the earlier check. #14212 (a draft, janzezno) conflicts with this branch in tools/check_conventions.py and needs a rebase after this PR or before it. #7454 already conflicts with main, and this PR does not touch those lines.

Completeness audit: every file named in the task was re-read and either changed or checked and left alone (audit_dump.py, audit_nid_names.py, pr_overlap.py, progress-comment.yml, the PR template, TechnicalDebt.md and the debt documents); a git grep for the two-state names over tools, docs, README files, workflows and tests found no remaining consumer that assumes two states other than the ones above. It is repeated against the pushed head after opening.

Graphs

Reading the graphs (the same explanation is on progress.html, history.html and in the README footnote). Green is implemented: the function no longer calls NotImplemented_nid_no_patch. Red is an observed stub: declared but not implemented, and a measured use shows it is needed. Grey is an unobserved stub: declared but not implemented, and no measured use is known, which does not mean no title uses it; in the shader panel the same grey is a form the decoder does not decode yet, or an instruction that is not implemented, and red is never used there, and the map legend has one grey entry, "Unobserved stub (libraries) / Not implemented (shaders)". The headline is implemented / (implemented + observed stubs), so grey stubs do not lower it; the declared figure is implemented / (implemented + observed + unobserved) and counts every declared function. The headline is 98.55% because only 110 stubs are observed; the declared figure is 22.72%. The maintainer must choose the headline rule before this leaves draft.

The history chart keeps the original two panels. The system library panel now plots implemented (blue), observed stubs (red) and unobserved stubs (grey) on the same axes, with the dashed counted line and a label for each series at the right edge; the GPU shader panel is unchanged. It samples 48 days, from 2026-09-15 to 2026-11-01, one point each, because measuring every commit takes hours. The maps and the history chart below were generated from head e8410ce824 (after merging upstream/main 5bae1a4bc2) and are the current files of the gist. Their numbers are 9138/9246 (98.83%) with 25,562 unobserved stubs, the same as the figures above.

Progress map

History

What the progress-report comment looks like (example from head e8410ce824)

The Progress report workflow comments this text on a pull request. The block below is the exact output of python3 tools/progress.py --compare base.json head.json, generated locally from base 5bae1a4bc2 (upstream/main, a tree without manifests) and head e8410ce824 (this PR, scanned with --origins), the same snapshots and function the workflow uses; nothing was edited.

📈 **System libraries**: 98.83% (+72.58%, 108 observed stubs in total, 25562 unobserved stubs in total, declared 26.25% → 26.25%)


#### Changed libraries (implemented exports)

Before and After are implemented over implemented plus observed stubs. A library with no observed stub shows 100%: unobserved is the default for a stub with no measured use, so nothing is counted as pending there.

| Library | Before | After | Change |
| - | - | - | - |
| libc | 1489/1505 (98.94%) | 1489/1490 (99.93%), +15 unobserved | +1.00% |
| libcairo | 0/161 (0.00%) | 0/0 observed, +161 unobserved | n/a |
| libCprm | 0/35 (0.00%) | 0/0 observed, +35 unobserved | n/a |
| libcurl | 0/85 (0.00%) | 0/0 observed, +85 unobserved | n/a |
| libfontconfig | 0/53 (0.00%) | 0/0 observed, +53 unobserved | n/a |
| libfreetype | 0/24 (0.00%) | 0/0 observed, +24 unobserved | n/a |
| libharfbuzz | 0/35 (0.00%) | 0/0 observed, +35 unobserved | n/a |
| libkernel | 702/751 (93.48%) | 702/717 (97.91%), +34 unobserved | +4.43% |
| libkernel_sys | 136/832 (16.35%) | 136/142 (95.77%), +690 unobserved | +79.43% |
| libkernel_web | 0/43 (0.00%) | 0/0 observed, +43 unobserved | n/a |
| libmdbg_syscore | 2/171 (1.17%) | 2/2 (100.00%), +169 unobserved | +98.83% |
| libSceAbstractLocal | No exports | No exports | n/a |
| libSceAbstractStorage | 0/131 (0.00%) | 0/0 observed, +131 unobserved | n/a |
| libSceAbstractTcs | 0/40 (0.00%) | 0/0 observed, +40 unobserved | n/a |
| libSceAbstractTwitter | No exports | No exports | n/a |
| libSceAbstractYoutube | 0/17 (0.00%) | 0/0 observed, +17 unobserved | n/a |
| libSceAc3Enc | 0/7 (0.00%) | 0/0 observed, +7 unobserved | n/a |
| libSceAcm | 10/28 (35.71%) | 10/10 (100.00%), +18 unobserved | +64.29% |
| libSceAddressSanitizer | 0/301 (0.00%) | 0/0 observed, +301 unobserved | n/a |
| libSceAgc | 233/240 (97.08%) | 233/235 (99.15%), +5 unobserved | +2.07% |
| libSceAgcDriver | 91/146 (62.33%) | 91/91 (100.00%), +55 unobserved | +37.67% |
| libSceAgcResourceRegistration | No exports | No exports | n/a |
| libSceAgcVsh | 0/150 (0.00%) | 0/0 observed, +150 unobserved | n/a |
| libSceAgcVshDebug | No exports | No exports | n/a |
| libSceAjm | 0/3 (0.00%) | 0/0 observed, +3 unobserved | n/a |
| libSceAjm.native | 31/52 (59.62%) | 31/35 (88.57%), +17 unobserved | +28.96% |
| libSceAjmi | 2/2 (100.00%) | 2/2 (100.00%) | +0.00% |
| libSceAmpr | 134/137 (97.81%) | 134/137 (97.81%) | +0.00% |
| libSceAppChecker | 0/3 (0.00%) | 0/0 observed, +3 unobserved | n/a |
| libSceAppContent | 27/36 (75.00%) | 27/27 (100.00%), +9 unobserved | +25.00% |
| libSceAppDbShellCoreClient | 0/28 (0.00%) | 0/0 observed, +28 unobserved | n/a |
| libSceAppDbShellCoreClientForSystemService | No exports | No exports | n/a |
| libSceAppInstUtil | 0/158 (0.00%) | 0/1 (0.00%), +157 unobserved | +0.00% |
| libSceAsyncStorageInternal | 0/22 (0.00%) | 0/0 observed, +22 unobserved | n/a |
| libSceAt9Enc | 0/5 (0.00%) | 0/0 observed, +5 unobserved | n/a |
| libSceAudio | No exports | No exports | n/a |
| libSceAudio3d | 32/32 (100.00%) | 32/32 (100.00%) | +0.00% |
| libSceAudiodec | 6/6 (100.00%) | 6/6 (100.00%) | +0.00% |
| libSceAudiodec.native | 1/16 (6.25%) | 1/1 (100.00%), +15 unobserved | +93.75% |
| libSceAudiodecCpu | 0/8 (0.00%) | 0/0 observed, +8 unobserved | n/a |
| libSceAudiodecCpuAlac | No exports | No exports | n/a |
| libSceAudiodecCpuDdp | No exports | No exports | n/a |
| libSceAudiodecCpuDts | No exports | No exports | n/a |
| libSceAudiodecCpuDtsHdLbr | No exports | No exports | n/a |
| libSceAudiodecCpuDtsHdMa | No exports | No exports | n/a |
| libSceAudiodecCpuFlac | No exports | No exports | n/a |
| libSceAudiodecCpuLpcm | No exports | No exports | n/a |
| libSceAudiodecCpuM4aac | No exports | No exports | n/a |
| libSceAudiodecCpuTrhd | No exports | No exports | n/a |
| libSceAudiodReport | No exports | No exports | n/a |
| libSceAudioIn | 14/48 (29.17%) | 14/14 (100.00%), +34 unobserved | +70.83% |
| libSceAudioLatencyEstimation | 0/4 (0.00%) | 0/0 observed, +4 unobserved | n/a |
| libSceAudioOut | 68/192 (35.42%) | 68/69 (98.55%), +123 unobserved | +63.13% |
| libSceAudioPropagation | 23/41 (56.10%) | 23/23 (100.00%), +18 unobserved | +43.90% |
| libSceAudioSystem | 0/8 (0.00%) | 0/0 observed, +8 unobserved | n/a |
| libSceAutoMounterClient | 0/6 (0.00%) | 0/0 observed, +6 unobserved | n/a |
| libSceAvcap2 | 0/42 (0.00%) | 0/0 observed, +42 unobserved | n/a |
| libSceAvcap2mvr | 0/13 (0.00%) | 0/0 observed, +13 unobserved | n/a |
| libSceAvPlayer | 28/28 (100.00%) | 28/28 (100.00%) | +0.00% |
| libSceAvPlayer.native | 0/2 (0.00%) | 0/0 observed, +2 unobserved | n/a |
| libSceAvPlayerStreaming | 0/34 (0.00%) | 0/0 observed, +34 unobserved | n/a |
| libSceAvSetting | 6/157 (3.82%) | 6/6 (100.00%), +151 unobserved | +96.18% |
| libSceBackupRestoreUtil | 0/21 (0.00%) | 0/0 observed, +21 unobserved | n/a |
| libSceBeisobmf | 10/18 (55.56%) | 10/10 (100.00%), +8 unobserved | +44.44% |
| libSceBemp2sys | 0/33 (0.00%) | 0/0 observed, +33 unobserved | n/a |
| libSceBgft | 0/103 (0.00%) | 0/0 observed, +103 unobserved | n/a |
| libSceBgsStorage | 0/17 (0.00%) | 0/0 observed, +17 unobserved | n/a |
| libSceBluetoothHid | 8/17 (47.06%) | 8/8 (100.00%), +9 unobserved | +52.94% |
| libSceCamera | 52/125 (41.60%) | 52/52 (100.00%), +73 unobserved | +58.40% |
| libSceCdlgAdIdClient | 0/7 (0.00%) | 0/0 observed, +7 unobserved | n/a |
| libSceCdlgG2P | 7/7 (100.00%) | 7/7 (100.00%) | +0.00% |
| libSceCdlgPlayerReview | 7/7 (100.00%) | 7/7 (100.00%) | +0.00% |
| libSceCdlgUtilServer | 0/43 (0.00%) | 0/0 observed, +43 unobserved | n/a |
| libSceCesCs | 261/287 (90.94%) | 261/261 (100.00%), +26 unobserved | +9.06% |
| libSceCesCs-module | Shared sources: `libSceCesCs` | Shared sources: `libSceCesCs` | n/a |
| libSceCffMgr | 0/14 (0.00%) | 0/0 observed, +14 unobserved | n/a |
| libSceCommonDialog | 2/28 (7.14%) | 2/2 (100.00%), +26 unobserved | +92.86% |
| libSceCompanionHttpd | 9/17 (52.94%) | 9/9 (100.00%), +8 unobserved | +47.06% |
| libSceCompanionUtil | 5/5 (100.00%) | 5/5 (100.00%) | +0.00% |
| libSceComposite | 5/101 (4.95%) | 5/5 (100.00%), +96 unobserved | +95.05% |
| libSceCompositeExt | No exports | No exports | n/a |
| libSceConnectAccountDialog | 0/7 (0.00%) | 0/0 observed, +7 unobserved | n/a |
| libSceContentDelete | 2/8 (25.00%) | 2/3 (66.67%), +5 unobserved | +41.67% |
| libSceContentExport | 5/22 (22.73%) | 5/8 (62.50%), +14 unobserved | +39.77% |
| libSceContentListController | 0/19 (0.00%) | 0/0 observed, +19 unobserved | n/a |
| libSceContentSearch | 15/29 (51.72%) | 15/16 (93.75%), +13 unobserved | +42.03% |
| libSceConvertKeycode | 4/4 (100.00%) | 4/4 (100.00%) | +0.00% |
| libSceCtrlp | No exports | No exports | n/a |
| libSceCustomMusicAudioOut | 0/10 (0.00%) | 0/0 observed, +10 unobserved | n/a |
| libSceCustomMusicCore | 0/29 (0.00%) | 0/0 observed, +29 unobserved | n/a |
| libSceCustomMusicPlayReady4 | 0/82 (0.00%) | 0/0 observed, +82 unobserved | n/a |
| libSceCustomMusicSysCallWrapper | 0/1 (0.00%) | 0/0 observed, +1 unobserved | n/a |
| libSceDataTransfer | 0/90 (0.00%) | 0/0 observed, +90 unobserved | n/a |
| libSceDbg | No exports | No exports | n/a |
| libSceDbgAssist | No exports | No exports | n/a |
| libSceDbgThreadSanitizer | 2/2 (100.00%) | 2/2 (100.00%) | +0.00% |
| libSceDeci5 | No exports | No exports | n/a |
| libSceDeci5Appmp | No exports | No exports | n/a |
| libSceDeci5CpComm | No exports | No exports | n/a |
| libSceDeci5Ctrlp | No exports | No exports | n/a |
| ... | 299 more libraries | | |
  • Headline line: 98.83% (..., ...) is implemented over implemented plus observed stubs on the head, and the figure in brackets is its change from the base. It is printed whenever the headline, the observed count or the unobserved count changes, even when no function was implemented or declared, so a reviewer always sees the headline move. Here it falls because the base has no manifests, so every stub there is unobserved and the base headline is 100%.
  • Counts: 108 observed stubs in total, 25562 unobserved stubs in total are the totals on the head, after the per-function changes such as +1 implemented functions or +2 observed stubs when there are any. They say how much of what is declared has a measured use (observed, red) and how much has none known (unobserved, grey).
  • Declared figure: declared 26.25% → 26.25% is implemented over every declared function, observed or not, before and after. It does not move when only classifications change, which is why it sits next to the headline: it shows whether the headline moved because functions were implemented or because stubs were reclassified.
  • Library table: one row per changed library, with Before and After as implemented/(implemented + observed stubs) (percent) plus +N unobserved for that library's grey stubs, and Change as the difference of the two percentages (n/a when a side has no observed or implemented function). A library whose Before is 100% had no observed stub on the base, so nothing counted as pending: unobserved is the default for a stub with no measured use, and the sentence above the table says so.
  • Collapsed lists under the table (not present in this output because no function was implemented or declared in the merged base): implemented functions, implemented functions not observed anywhere, newly declared observed and unobserved stubs with a link to their origin commit, reverts, removals and shared-source changes.

Newly implemented functions with no measured use: when a pull request implements a function that no measured use shows to be needed, the report adds a warning line under the headline, for example ⚠️ 1 newly implemented function with no measured use: add each one to docs/dev/observed with its reason in this PR, or name the observed function that needs it. The sample above has no such function, so the warning is not in it. The warning is not an error: it clears when the function is listed with its reason in the same pull request, or when the pull request names the observed function that needs it.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5095507437 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13801). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T07:17:41Z. --- ### What This is a proposal that changes how project status is reported. The owner has decided that the headline is the rule below, implemented / (implemented + observed stubs), which shows 98.83% today. The declared figure (26.25%) stays visible next to it in every report and page. Read the headline as the share of functions that a measured use has shown to be needed, not as the share of PS5 functions implemented; the declared figure counts every declared function. If the rule changes later, only the headline commits change. Today a function counts as pending whenever its body calls `NotImplemented_nid_no_patch`. Commits that declare every callable export of a firmware library add thousands of stubs that no measured use needs (libSceNKWebKit alone has 8842 pending against 11 implemented), so the libraries figure drops and suggests work that nothing needs. This PR adds a third state to `tools/progress.py`: - implemented: unchanged. - observed stub: pending, and its NID is listed in `docs/dev/observed/<library>.txt`. - unobserved stub: pending, and its NID is not listed. A NID is observed when any measured use shows it is needed, anywhere: the imports of any title or module, any dump or audit run, and what is needed before a title's own code runs (what the loader or system startup requires). The word is "unobserved", not "unused": the only evidence is that no measured use has shown it to be needed. #### Evidence search, 2026-10-31 Source: all 11,972 pull requests with their bodies and review bodies, all 1,314 issues, all pull request and issue comments (48,215 and 5,455), 333 review comments, 415 discussions, every commit message in the history (47,472 commits) and every markdown file on `upstream/main` `e8c25dd3ba`. Method: an exact match of each of the 20,305 pending names, and of their 11-character NIDs computed with the repository's NID function, against all that text. 8,430 names appear in human text and 17,829 in all text including the docs. Of those, 412 names have a game or title word, or a title ID, together with a use word (calls, imports, stops, crashes, needs, requires and similar); each was classified by reading its excerpts (four reviewers, then a lead check of all 140 game-use verdicts). Results: 82 stubs with retail-title use (26 libraries; libSceHttp2 has 20), 30 with only homebrew, emulator or app use, 26 unclear and 2 with no evidence. The 82, with the reference and the title identifier only and no excerpts: <details> <summary>The 82 stubs with retail-title use</summary> | Name | Library | Reference | Title identifier | | - | - | - | - | | `sceAgcCbMemsetExclusive` | libSceAgc | PR #11169 | named retail title or title count, no ID | | `sceAgcUpdateInterpolantMapping_0100` | libSceAgc | PR #10736 | PPSA03530 | | `sceAjmBatchJobControl` | libSceAjm.native | PR #884 | PPSA26344 | | `sceAjmBatchJobGetStatistics` | libSceAjm.native | PR #12231 | PPSA25286 | | `sceAjmInstanceCreate` | libSceAjm.native | comment on #9372 | named retail title or title count, no ID | | `sceAjmStrError` | libSceAjm.native | comment on #3205 | named retail title or title count, no ID | | `_ZNKSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE3getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateEP2tmPKcSE__nid_postfix` | libSceAmpr | comment on #11735 | PPSA16064 | | `_ZNSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE7_GetcatEPPKNSt6locale5facetEPKS5__nid_postfix` | libSceAmpr | comment on #11735 | PPSA16064 | | `sceAmprAmmSetPageTablePoolOccupancyNotificationThreshold` | libSceAmpr | PR #4251 | PPSA35169 | | `sceContentDeleteByPath` | libSceContentDelete | issue #4109 | PPSA12338 | | `sceContentExportFromData` | libSceContentExport | issue #10553 | PPSA01746 | | `sceContentExportFromDataWithThumbnail` | libSceContentExport | PR #2740 | PPSA06465 | | `sceContentExportGetProgress` | libSceContentExport | PR #2740 | PPSA06465 | | `sceContentSearchOpenMetadataByContentId` | libSceContentSearch | PR #2740 | PPSA06465 | | `sceHmd2GazeGetResult` | libSceHmd2 | PR #8907 | PPSA05666 | | `sceHmd2GazeGetResultForFoveatedRendering` | libSceHmd2 | PR #8907 | PPSA05666 | | `sceHmd2ReprojectionEnableVrMode` | libSceHmd2 | PR #7786 | PPSA05666 | | `sceHmd2ReprojectionGetStatus` | libSceHmd2 | commit 9a0aa5f6a7 | PPSA09030 | | `sceHmd2ReprojectionInitialize` | libSceHmd2 | PR #8645 | PPSA23479 | | `sceHmd2ReprojectionQueryBufferSizeAlign` | libSceHmd2 | comment on #7323 | PPSA01317 | | `sceHmd2ReprojectionSetAllowPositionalReprojection` | libSceHmd2 | comment on #7658 | PPSA05666 | | `sceHttp2AddRequestHeader` | libSceHttp2 | PR #11627 | PPSA23126 | | `sceHttp2GetAllResponseHeaders` | libSceHttp2 | comment on #12305 | PPSA02530 | | `sceHttp2GetResponseContentLength` | libSceHttp2 | PR #11518 | PPSA01494, PPSA18194, PPSA21564, PPSA30839, PPSA31162 | | `sceHttp2GetStatusCode` | libSceHttp2 | PR #11518 | PPSA01494, PPSA18194, PPSA21564, PPSA30839, PPSA31162 | | `sceHttp2ReadDataAsync` | libSceHttp2 | PR #11900 | PPSA25286 | | `sceHttp2SendRequest` | libSceHttp2 | issue #12089 | PPSA14299 | | `sceHttp2SendRequestAsync` | libSceHttp2 | PR #3925 | PPSA15508 | | `sceHttp2SetCookieBox` | libSceHttp2 | PR #11950 | PPSA31872 | | `sceHttp2SetMinSslVersion` | libSceHttp2 | commit 23398893cd | named retail title or title count, no ID | | `sceHttp2SetRedirectCallback` | libSceHttp2 | comment on #11575 | PPSA30839 | | `sceHttp2SetResolveRetry` | libSceHttp2 | PR #11617 | PPSA30839 | | `sceHttp2SetSslCallback` | libSceHttp2 | comment on #11575 | PPSA03659 | | `sceHttp2SslEnableOption` | libSceHttp2 | PR #13734 | PPSA06866 | | `sceHttp2WaitAsync` | libSceHttp2 | PR #3925 | named retail title or title count, no ID | | `sceHttp2WebSocketCloseAsync` | libSceHttp2 | PR #11470 | PPSA27836 | | `sceHttp2WebSocketCreateRequest` | libSceHttp2 | PR #11470 | PPSA27836 | | `sceHttp2WebSocketSendDataMessageAsync` | libSceHttp2 | PR #11470 | PPSA27836 | | `sceHttp2WebSocketSendTextMessageAsync` | libSceHttp2 | PR #11470 | PPSA27836 | | `sceHttp2WebSocketSetPingInterval` | libSceHttp2 | PR #3319 | PPSA23126 | | `sceHttp2WebSocketSetPingTimeout` | libSceHttp2 | PR #5771 | PPSA27836 | | `sceImeSetConsecutiveClauseConversionEnabled` | libSceIme | PR #8553 | PPSA24191 | | `sceMouseSetAbsoluteVirtualScreenSize` | libSceMouse | comment on #11477 | PPSA37318 | | `sceNpAppLauncherLaunchApp` | libSceNpGameIntent | PR #10573 | PPSA20397 | | `sceNpGetSandboxInfo` | libSceNpManager | PR #10989 | PPSA28416 | | `sceNpMatching2SignalingGetConnectionStatus` | libSceNpMatching2 | PR #12013 | CUSA03312 | | `sceNpSignalingGetConnectionStatus` | libSceNpSignaling | PR #4695 | PPSA21564 | | `scePadOpenExt` | libScePad | comment on #5676 | PPSA01317 | | `scePadOpen_nid_postfix` | libScePad | comment on #10935 | PPSA31246 | | `scePadReadExt` | libScePad | PR #5038 | PPSA01317 | | `scePadSetAngularVelocityBiasCorrectionState` | libScePad | comment on #1672 | PPSA16064 | | `scePadVrControllerGetDeviceInformation` | libScePad | PR #905 | PPSA21402 | | `scePadVrControllerGetTriggerEffectState` | libScePad | comment on #3773 | named retail title or title count, no ID | | `scePadVrControllerRead` | libScePad | PR #905 | PPSA21402 | | `scePsmlMfsrCreateContext1100` | libScePsml_debug | PR #644 | PPSA26344 | | `scePsmlMfsrCreateContext1300` | libScePsml_debug | PR #2888 | PPSA28416 | | `scePsmlMfsrGetContextBufferRequirement1100` | libScePsml_debug | PR #644 | PPSA26344 | | `scePsmlMfsrGetDispatchMfsrPacket1000` | libScePsml_debug | PR #2412 | PPSA25344 | | `scePsmlMfsrGetDispatchMfsrPacket1100` | libScePsml_debug | PR #644 | PPSA26344 | | `scePsmlMfsrGetDispatchMfsrPacket1300` | libScePsml_debug | commit beba4ce204 | PPSA28416 | | `sceRegMgrNonSysGetInt` | libSceRegMgr | PR #6497 | PPSA21564 | | `sceRudpGetOption` | libSceRudp | PR #7087 | PPSA06888 | | `sceRudpGetRemoteInfo` | libSceRudp | commit e2bfacefa3 | PPSA06888 | | `sceSaveDataCancel` | libSceSaveData.native | PR #2623 | PPSA23126 | | `sceSaveDataMount` | libSceSaveData.native | PR #7780 | CUSA03312 | | `sceSaveDataPrepareForTransferring` | libSceSaveData.native | PR #4906 | PPSA17221 | | `sceTextToSpeech2RegisterTextConversionItem` | libSceTextToSpeech2 | PR #3928 | PPSA01317 | | `sceVideoOutClearFlipMaster` | libSceVideoOut | PR #6253 | PPSA29866 | | `sceVideoOutCursorSet2xMagnify` | libSceVideoOut | PR #13008 | PPSA11018 | | `sceVideoOutSetFlipMaster` | libSceVideoOut | PR #6253 | PPSA29866 | | `sceVideoRecordingClose` | libSceVideoRecordingP | PR #11478 | PPSA26785 | | `sceVideoRecordingOpen` | libSceVideoRecordingP | PR #11478 | PPSA26785 | | `sceVideoRecordingQueryMemSize` | libSceVideoRecordingP | PR #11478 | PPSA26785 | | `sceVideoRecordingStart` | libSceVideoRecordingP | PR #11478 | PPSA26785 | | `sceVideoRecordingStop` | libSceVideoRecordingP | PR #11478 | PPSA26785 | | `sceVoiceWriteToIPort` | libSceVoice | PR #6090 | PPSA34015 | | `sceVoiceQoSGetLocalEndpointAttribute` | libSceVoiceQoS | PR #7727 | PPSA03393 | | `sceKernelAddFileEvent` | libkernel | PR #3764 | named retail title or title count, no ID | | `sceKernelCreateSema` | libkernel | PR #9005 | PPSA28061 | | `sceKernelGetModuleInfoForUnwind` | libkernel | PR #279 | PPSA02929 | | `sceKernelPrintBacktraceWithModuleInfo` | libkernel | PR #8114 | CUSA03312 | | `sceKernelIsNeoMode` | libkernel_sys | PR #12427 | CUSA04865 | </details> Rules used: a title identifier (PPSA or CUSA with a number under 90000, or a named retail title) counts as retail; identifiers in the 90000 range and named apps, emulators or homebrew do not; a statement that no title reaches a function does not count; a source link to shadPS4 does not count. Limits: about 8,000 names appear only in human text without a game word or a use word and were not read one by one, so the count is a lower bound. The excerpts come from what people wrote publicly, not from dumps or console runs. A few counts rely on a title count ("six title binaries", "20 titles") without naming the titles. Manifests: following the owner's decision, this PR ships a manifest for each of the 32 libraries with at least one listed name: 111 NIDs in total, the 82 retail-use and the 30 homebrew, app or emulator-use names minus one entry judged too weak; 110 of them are pending stubs on the current tree (one listed function has since been implemented upstream). The 26 unclear and the 2 no-evidence names are not listed. Each NID line is tagged `manual: reported in PR #N`, `issue #N`, `comment #N` or `found in commit <sha>`, cites only the public reference and holds no title name; every NID was checked with the repository's NID function against its name before it was written. #### Effect on this PR's tree (`upstream/main` `5bae1a4bc2` merged in) The default is unobserved, so only the 108 observed stubs count as pending. Scanner output on the PR head `e8410ce824` (after merging `upstream/main` `5bae1a4bc2`): libraries 9138/9246, headline 98.83%; declared figure 26.25% (9138/34808); 108 observed stubs and 25,562 unobserved stubs. The per-library numbers for the 32 libraries that have a manifest (every other library has all its pending stubs unobserved): | Library | Implemented | Observed stubs | Unobserved stubs | Declared % (old figure) | % (headline rule) | | - | - | - | - | - | - | | libc | 1489 | 1 | 15 | 98.94% | 99.93% | | libkernel | 702 | 15 | 34 | 93.48% | 97.91% | | libkernel_sys | 136 | 6 | 690 | 16.35% | 95.77% | | libSceAgc | 233 | 2 | 5 | 97.08% | 99.15% | | libSceAjm.native | 31 | 4 | 17 | 59.62% | 88.57% | | libSceAmpr | 134 | 3 | 0 | 97.81% | 97.81% | | libSceAppInstUtil | 0 | 1 | 157 | 0.00% | 0.00% | | libSceAudioOut | 68 | 1 | 123 | 35.42% | 98.55% | | libSceContentDelete | 2 | 1 | 5 | 25.00% | 66.67% | | libSceContentExport | 5 | 3 | 14 | 22.73% | 62.50% | | libSceContentSearch | 15 | 1 | 13 | 51.72% | 93.75% | | libSceHmd2 | 16 | 7 | 130 | 10.46% | 69.57% | | libSceHttp2 | 17 | 19 | 35 | 23.94% | 47.22% | | libSceIme | 16 | 1 | 47 | 25.00% | 94.12% | | libSceKeyboard | 8 | 1 | 19 | 28.57% | 88.89% | | libSceMouse | 5 | 1 | 23 | 17.24% | 83.33% | | libSceNet | 83 | 1 | 148 | 35.78% | 98.81% | | libSceNpGameIntent | 10 | 1 | 10 | 47.62% | 90.91% | | libSceNpManager | 71 | 1 | 290 | 19.61% | 98.61% | | libSceNpMatching2 | 12 | 1 | 56 | 17.39% | 92.31% | | libSceNpSignaling | 9 | 1 | 14 | 37.50% | 90.00% | | libScePad | 43 | 8 | 154 | 20.98% | 84.31% | | libScePsml_debug | 21 | 6 | 4 | 67.74% | 77.78% | | libSceRegMgr | 3 | 1 | 70 | 4.05% | 75.00% | | libSceRudp | 33 | 1 | 1 | 94.29% | 97.06% | | libSceSaveData.native | 45 | 3 | 71 | 37.82% | 93.75% | | libSceSystemService | 114 | 2 | 468 | 19.52% | 98.28% | | libSceTextToSpeech2 | 8 | 1 | 5 | 57.14% | 88.89% | | libSceVideoOut | 55 | 7 | 191 | 21.74% | 88.71% | | libSceVideoRecordingP | 6 | 5 | 15 | 23.08% | 54.55% | | libSceVoice | 35 | 1 | 0 | 97.22% | 97.22% | | libSceVoiceQoS | 14 | 1 | 10 | 56.00% | 93.33% | The headline is 98.83% because it divides by implemented plus observed stubs, and only 108 stubs are observed; the declared figure is 26.25%. The owner has decided to show this headline, with the declared figure next to it. Implemented functions always count; of the stubs, only those with a measured use enter the denominator, so the headline says nothing about how many PS5 functions are still missing. Headline rule: libraries percent = implemented / (implemented + observed stubs). Every implemented function counts whether observed or not, so implementing never lowers a number. The old figure stays visible as `declared_total` / `declared_percent` in `progress.json`, as the Declared % column and the Implemented / Observed stubs / Unobserved stubs columns on the progress page, in the page text, in the PR report and in the summary line. Default: a library with no manifest file has an empty set of observed NIDs, so every pending stub in it is an unobserved stub (grey on the map, including libSceNKWebKit's); a stub is observed (red) only when a manifest names its NID, that is when a measured use found in the texts shows it is needed. There is no separate state for libraries nobody has looked at. Known limit, stated in `docs/dev/PROGRESS.md`: the import audit reads what the relinker resolves at load time and misses functions a title resolves at run time (`sceKernelDlsym` by name), and a NID no measurement has reached yet is unobserved, so a manifest can undercount; a manual entry with `# evidence: <reason>` is supported. Traceability and graphs (all optional; none changes a count or the headline rule, and none holds a title name): - Origin of every declaration: `tools/progress.py --origins` adds `origins` to each library group in `progress.json`: for each declaration, the commit, UTC date and time, author and pull request number (`pr`, or `null`) from `git blame` of the declaration line. The pull request is taken from the commit subject (`(#N)`, `Merge pull request #N`) or from the first-parent merge that brought the commit into the branch. It needs a git work tree and is behind the flag, so the scanner still runs on a plain archive. A blame names the commit that last wrote the line, so a later edit of the declaration moves the origin; this is stated in `docs/dev/PROGRESS.md`. New module `tools/stub_origins.py`. - Provenance of every observation: each manifest NID carries a tag, `audit: <tool> <date>`, `loader` or `manual: <reason>`. `observed_imports.py add` writes the audit tag, `entry` requires `--tag`, `check` rejects unknown tags and lists untagged entries (old lines without a tag stay valid and count as `untagged`). The scan records `observed_tags` per observed stub and `observed_by_tag` in the totals; the conventions check rejects unknown tags and warns on untagged added lines. - Inventory source of a stub: `docs/dev/inventory/<library>.txt` (`<NID> <source>`), written by `tools/stubgen.py --inventory-source/--inventory-out`, read by the scan as `inventory`, validated by a conventions rule. No listing is shipped, because there is no machine-readable firmware list for the existing stubs on this machine. - Map: implemented functions are green, observed stubs red and unobserved stubs grey; the grey is the same constant as the not-implemented shader instructions, and the legend has one grey entry for both ("Unobserved, not known to be needed" for the libraries, "Not implemented" for the shaders). When origins, tags or inventory exist the site also gets `progress-detail.svg`, whose tooltip for each pending cell shows the function, its state and tag, the origin commit and date, and the inventory source; the plain `progress.svg` stays small. The page says how many pending functions are unobserved and counts observed stubs by tag. - History: every point in `history.json` keeps `unobserved` and `declared_total` (old cached and old points still load and chart), the chart gains an observed-stubs line (red) and an unobserved-stubs line (grey) with their own labels, and the table links each day's commit and shows the functions declared since the previous day. - PR report: the headline shows `declared <before>% → <after>%` when unobserved stubs change, the unit is dropped from the stub counts, and each newly declared stub is listed with a link to its origin commit, its time, its author and its pull request. The report, Pages and Pages-progress workflows now pass `--origins` (Pages-progress checks out the full history). For reference only, the earlier scanner gave 44.67% (6822/15273) at `7a225bb303` (2026-10-29) and 41.26% (6946/16836) at the parent of #13117. Changes, one coherent commit each: - `tools/progress.py`: manifest reader and validation, split of the pending functions, `unobserved` / `unobserved_names` / `done_unobserved_names` fields (old fields keep their meaning; old snapshots with `classified` still validate), declared figure, snapshot validation that accepts old snapshots, comparisons and the PR report (new stubs listed as observed or unobserved, and the declared percentage before and after in the headline when unobserved stubs change, plus "implemented but not observed anywhere"), changed-libraries table, treemap with a dimmer third colour and a legend, library table, page text, summary line. - `tools/progress_history.py`: measures `docs/dev/observed` where a commit has it; commits from before the manifests have none, so their stubs are all unobserved (said on the page). - `tools/observed_imports.py` (new): `add` merges `import_audit.py --json` / `audit_dump.py --json` into the manifests (sorted, deduplicated, rejects malformed NIDs and unknown libraries, `--check` writes nothing), `entry` adds one NID with a required provenance tag, `check` validates the files and the tags. NID matching reuses `nid_names.nids_of` (moved from `import_audit.py`), so `APS5_EXPORT` aliases and postfixes map exactly as the audit maps them. - `tools/check_conventions.py`: new `observed-manifest` rule for files under `docs/dev/observed` (name, library exists, sorted, unique, valid NIDs). The silent-stub and unknown-nid rules are untouched. I did not add a non-blocking note for PRs that add many exports absent from the manifest. - `tools/stubgen.py`: help text says stubs for unobserved NIDs are inventory only. `tools/import_audit.py` counts observed and unobserved stubs alike as stubs, so the audit does not depend on the manifests. - Workflows: `docs/dev/observed/**` (and the new tool or `nid_names.py` where they matter) added to the path filters of `pages.yml`, `pages-progress.yml` and `progress-report.yml`. `progress-comment.yml` needs no change. - Docs: `docs/dev/PROGRESS.md` (states, headline vs declared, manifest format, tool, limits), the README footnote and the footnotes of the four translated READMEs (`docs/user/README.es.md`, `docs/user/README.pt-BR.md`, `docs/user/README.ru.md`, `docs/user/README.zh-CN.md`), `CONTRIBUTING.md`, `docs/dev/GAME_TESTING.md`, `docs/user/USAGE.md`. The translations of the footnote are not reviewed by a native speaker. ### Tested No C++ changed, so no build or ctest run. Everything below was run locally on Linux with Python 3.11 on the head named in the PR; Hosted CI results are on the PR checks, not in this description. Scanner, `python3 tools/progress.py --json`. With no manifest every pending stub is unobserved, so the merge base `93c71cc1bb` (a tree without manifests) gives libraries 7216/7216, headline 100.0%, declared 7216/27404 = 26.33%, which is the old headline; shaders 1166/1166 as before. On the PR head tree (with the 32 manifests and `upstream/main` `5bae1a4bc2` merged in): libraries 9138/9246, 98.83%, declared 26.25% (9138/34808), 108 observed and 25,562 unobserved stubs (`observed_by_tag` `{manual: 110}`). The rule that a library with no manifest is unobserved is pinned by a test that scans a library with no manifest, by one that scans a whole tree with no manifest directory, and by the same stub counted observed only once a manifest names its NID. Tests on the PR head, all passing: 446 tests across `test_progress`, `test_progress_history`, `test_shader_scan`, `test_progress_render_sliver`, `test_progress_wrappers`, `test_import_audit`, `test_observed_imports`, `test_stub_origins`, `test_stubgen`, `test_check_conventions_observed`, `test_inspect_self` and `test_audit_dump` (7 skipped). The full tools suite (every `tools/tests` module except `test_run_report_schema`, which needs `jsonschema` from its own workflow venv) runs 2021 tests with 2 errors, both in `test_patch_lib_atrac9`; the same two fail on `main`, because that test reads CMake's `sys.argv[1]`. `tools/check_test_registration.py --scripts` (243 scripts), `python3 tools/check_conventions.py --base upstream/main` and `git diff --check` pass. Negative control on the PR head: counting unobserved stubs in the headline denominator (`summarize`) makes 12 tests fail in `test_progress`, `test_progress_history`, `test_progress_render_sliver` and `test_progress_wrappers`; with the change reverted all of them pass again. `tools/env_reference.py --check` fails identically on `upstream/main` and on this branch (`APS5_PAD_SPEAKER_FALLBACK_DB` has a row but is no longer read). Negative controls for the traceability work, each failing as expected and passing again after restoring: no per-cell tooltips fails 2, accepting unknown tags fails 1, no declared figure in the headline fails 2, a flat unobserved series fails 1, no origins fails 2, the unit on stub counts fails 3. Negative control for the default: counting every pending function as observed fails 8 tests and errors in 3 in `test_progress`, and fails 3 in `test_progress_history`. Tests also cover a stub with its NID in the manifest counted and the same stub without it not counted, an empty manifest, aliases, and an old snapshot that still compares. The branch is based on `93c71cc1bb` and has `upstream/main` `5bae1a4bc2` merged in. With `--origins` the run takes about two minutes and names the origin of nearly every function; `progress.json` with origins is 11.8 MB, `progress-detail.svg` 7.9 MB and the plain `progress.svg` 4.0 MB, which is why only the detailed map has per-cell tooltips. On the full history at head 969a4d5d5f, 26,277 of the 32,925 declarations name a pull request (1,462 distinct pull requests) and all 32,925 have a time and an author; the other 6,648 declarations come from 67 commits that reached `main` without a merge commit naming a pull request or a `(#N)` subject, so their `pr` is `null`. On a fixture repository with a manifest (one audit-tagged and one loader-tagged NID), an inventory listing and one commit, the scan printed `libraries 1/3 (33.33%), declared 25.0% with 1 unobserved stubs`, `observed_by_tag` `{audit: 1, loader: 1}`, the colours in the detailed map and the tooltip of that stub named its declaration commit and date; the time, author and pull request parts were added afterwards and are checked by `test_origin_text_names_the_time_author_and_pull_request`, which prints `<sha10> on 2026-05-06 12:00 UTC by <author> in PR #<n>`. Not done: no inventory listing is shipped (no data) and the manifests hold only the 111 NIDs with public evidence, so the headline is high until more evidence is added; origins name the commit that last wrote a declaration line, not always the first one, and the 67 commits without a pull request number have no `pr`; the history chart and table use the commit of each day, not a per-stub origin; the history chart attached for review samples about a dozen days of the first-parent history instead of every day; C++ build and ctest, CI, the Pages workflows, and a visual check of the rendered SVG and HTML were not run. Overlaps, rechecked on head `e8410ce824` (merge previews against the current heads of the open pull requests named here): clean with #13171, #12766, #12767, #10218, #12881, #14321 and #14424. #13615 has merged since the earlier check. #14212 (a draft, janzezno) conflicts with this branch in `tools/check_conventions.py` and needs a rebase after this PR or before it. #7454 already conflicts with `main`, and this PR does not touch those lines. Completeness audit: every file named in the task was re-read and either changed or checked and left alone (`audit_dump.py`, `audit_nid_names.py`, `pr_overlap.py`, `progress-comment.yml`, the PR template, `TechnicalDebt.md` and the debt documents); a `git grep` for the two-state names over tools, docs, README files, workflows and tests found no remaining consumer that assumes two states other than the ones above. It is repeated against the pushed head after opening. ### Graphs Reading the graphs (the same explanation is on `progress.html`, `history.html` and in the README footnote). Green is implemented: the function no longer calls `NotImplemented_nid_no_patch`. Red is an observed stub: declared but not implemented, and a measured use shows it is needed. Grey is an unobserved stub: declared but not implemented, and no measured use is known, which does not mean no title uses it; in the shader panel the same grey is a form the decoder does not decode yet, or an instruction that is not implemented, and red is never used there, and the map legend has one grey entry, "Unobserved stub (libraries) / Not implemented (shaders)". The headline is implemented / (implemented + observed stubs), so grey stubs do not lower it; the declared figure is implemented / (implemented + observed + unobserved) and counts every declared function. The headline is 98.55% because only 110 stubs are observed; the declared figure is 22.72%. The maintainer must choose the headline rule before this leaves draft. The history chart keeps the original two panels. The system library panel now plots implemented (blue), observed stubs (red) and unobserved stubs (grey) on the same axes, with the dashed counted line and a label for each series at the right edge; the GPU shader panel is unchanged. It samples 48 days, from 2026-09-15 to 2026-11-01, one point each, because measuring every commit takes hours. The maps and the history chart below were generated from head `e8410ce824` (after merging `upstream/main` `5bae1a4bc2`) and are the current files of the gist. Their numbers are 9138/9246 (98.83%) with 25,562 unobserved stubs, the same as the figures above. ![Progress map](https://gist.githubusercontent.com/MarcZX10/5d965241ef53922d5ec6a4f751e2786f/raw/progress.svg) ![History](https://gist.githubusercontent.com/MarcZX10/5d965241ef53922d5ec6a4f751e2786f/raw/history.svg) #### What the progress-report comment looks like (example from head `e8410ce824`) The Progress report workflow comments this text on a pull request. The block below is the exact output of `python3 tools/progress.py --compare base.json head.json`, generated locally from base `5bae1a4bc2` (`upstream/main`, a tree without manifests) and head `e8410ce824` (this PR, scanned with `--origins`), the same snapshots and function the workflow uses; nothing was edited. ``` 📈 **System libraries**: 98.83% (+72.58%, 108 observed stubs in total, 25562 unobserved stubs in total, declared 26.25% → 26.25%) #### Changed libraries (implemented exports) Before and After are implemented over implemented plus observed stubs. A library with no observed stub shows 100%: unobserved is the default for a stub with no measured use, so nothing is counted as pending there. | Library | Before | After | Change | | - | - | - | - | | libc | 1489/1505 (98.94%) | 1489/1490 (99.93%), +15 unobserved | +1.00% | | libcairo | 0/161 (0.00%) | 0/0 observed, +161 unobserved | n/a | | libCprm | 0/35 (0.00%) | 0/0 observed, +35 unobserved | n/a | | libcurl | 0/85 (0.00%) | 0/0 observed, +85 unobserved | n/a | | libfontconfig | 0/53 (0.00%) | 0/0 observed, +53 unobserved | n/a | | libfreetype | 0/24 (0.00%) | 0/0 observed, +24 unobserved | n/a | | libharfbuzz | 0/35 (0.00%) | 0/0 observed, +35 unobserved | n/a | | libkernel | 702/751 (93.48%) | 702/717 (97.91%), +34 unobserved | +4.43% | | libkernel_sys | 136/832 (16.35%) | 136/142 (95.77%), +690 unobserved | +79.43% | | libkernel_web | 0/43 (0.00%) | 0/0 observed, +43 unobserved | n/a | | libmdbg_syscore | 2/171 (1.17%) | 2/2 (100.00%), +169 unobserved | +98.83% | | libSceAbstractLocal | No exports | No exports | n/a | | libSceAbstractStorage | 0/131 (0.00%) | 0/0 observed, +131 unobserved | n/a | | libSceAbstractTcs | 0/40 (0.00%) | 0/0 observed, +40 unobserved | n/a | | libSceAbstractTwitter | No exports | No exports | n/a | | libSceAbstractYoutube | 0/17 (0.00%) | 0/0 observed, +17 unobserved | n/a | | libSceAc3Enc | 0/7 (0.00%) | 0/0 observed, +7 unobserved | n/a | | libSceAcm | 10/28 (35.71%) | 10/10 (100.00%), +18 unobserved | +64.29% | | libSceAddressSanitizer | 0/301 (0.00%) | 0/0 observed, +301 unobserved | n/a | | libSceAgc | 233/240 (97.08%) | 233/235 (99.15%), +5 unobserved | +2.07% | | libSceAgcDriver | 91/146 (62.33%) | 91/91 (100.00%), +55 unobserved | +37.67% | | libSceAgcResourceRegistration | No exports | No exports | n/a | | libSceAgcVsh | 0/150 (0.00%) | 0/0 observed, +150 unobserved | n/a | | libSceAgcVshDebug | No exports | No exports | n/a | | libSceAjm | 0/3 (0.00%) | 0/0 observed, +3 unobserved | n/a | | libSceAjm.native | 31/52 (59.62%) | 31/35 (88.57%), +17 unobserved | +28.96% | | libSceAjmi | 2/2 (100.00%) | 2/2 (100.00%) | +0.00% | | libSceAmpr | 134/137 (97.81%) | 134/137 (97.81%) | +0.00% | | libSceAppChecker | 0/3 (0.00%) | 0/0 observed, +3 unobserved | n/a | | libSceAppContent | 27/36 (75.00%) | 27/27 (100.00%), +9 unobserved | +25.00% | | libSceAppDbShellCoreClient | 0/28 (0.00%) | 0/0 observed, +28 unobserved | n/a | | libSceAppDbShellCoreClientForSystemService | No exports | No exports | n/a | | libSceAppInstUtil | 0/158 (0.00%) | 0/1 (0.00%), +157 unobserved | +0.00% | | libSceAsyncStorageInternal | 0/22 (0.00%) | 0/0 observed, +22 unobserved | n/a | | libSceAt9Enc | 0/5 (0.00%) | 0/0 observed, +5 unobserved | n/a | | libSceAudio | No exports | No exports | n/a | | libSceAudio3d | 32/32 (100.00%) | 32/32 (100.00%) | +0.00% | | libSceAudiodec | 6/6 (100.00%) | 6/6 (100.00%) | +0.00% | | libSceAudiodec.native | 1/16 (6.25%) | 1/1 (100.00%), +15 unobserved | +93.75% | | libSceAudiodecCpu | 0/8 (0.00%) | 0/0 observed, +8 unobserved | n/a | | libSceAudiodecCpuAlac | No exports | No exports | n/a | | libSceAudiodecCpuDdp | No exports | No exports | n/a | | libSceAudiodecCpuDts | No exports | No exports | n/a | | libSceAudiodecCpuDtsHdLbr | No exports | No exports | n/a | | libSceAudiodecCpuDtsHdMa | No exports | No exports | n/a | | libSceAudiodecCpuFlac | No exports | No exports | n/a | | libSceAudiodecCpuLpcm | No exports | No exports | n/a | | libSceAudiodecCpuM4aac | No exports | No exports | n/a | | libSceAudiodecCpuTrhd | No exports | No exports | n/a | | libSceAudiodReport | No exports | No exports | n/a | | libSceAudioIn | 14/48 (29.17%) | 14/14 (100.00%), +34 unobserved | +70.83% | | libSceAudioLatencyEstimation | 0/4 (0.00%) | 0/0 observed, +4 unobserved | n/a | | libSceAudioOut | 68/192 (35.42%) | 68/69 (98.55%), +123 unobserved | +63.13% | | libSceAudioPropagation | 23/41 (56.10%) | 23/23 (100.00%), +18 unobserved | +43.90% | | libSceAudioSystem | 0/8 (0.00%) | 0/0 observed, +8 unobserved | n/a | | libSceAutoMounterClient | 0/6 (0.00%) | 0/0 observed, +6 unobserved | n/a | | libSceAvcap2 | 0/42 (0.00%) | 0/0 observed, +42 unobserved | n/a | | libSceAvcap2mvr | 0/13 (0.00%) | 0/0 observed, +13 unobserved | n/a | | libSceAvPlayer | 28/28 (100.00%) | 28/28 (100.00%) | +0.00% | | libSceAvPlayer.native | 0/2 (0.00%) | 0/0 observed, +2 unobserved | n/a | | libSceAvPlayerStreaming | 0/34 (0.00%) | 0/0 observed, +34 unobserved | n/a | | libSceAvSetting | 6/157 (3.82%) | 6/6 (100.00%), +151 unobserved | +96.18% | | libSceBackupRestoreUtil | 0/21 (0.00%) | 0/0 observed, +21 unobserved | n/a | | libSceBeisobmf | 10/18 (55.56%) | 10/10 (100.00%), +8 unobserved | +44.44% | | libSceBemp2sys | 0/33 (0.00%) | 0/0 observed, +33 unobserved | n/a | | libSceBgft | 0/103 (0.00%) | 0/0 observed, +103 unobserved | n/a | | libSceBgsStorage | 0/17 (0.00%) | 0/0 observed, +17 unobserved | n/a | | libSceBluetoothHid | 8/17 (47.06%) | 8/8 (100.00%), +9 unobserved | +52.94% | | libSceCamera | 52/125 (41.60%) | 52/52 (100.00%), +73 unobserved | +58.40% | | libSceCdlgAdIdClient | 0/7 (0.00%) | 0/0 observed, +7 unobserved | n/a | | libSceCdlgG2P | 7/7 (100.00%) | 7/7 (100.00%) | +0.00% | | libSceCdlgPlayerReview | 7/7 (100.00%) | 7/7 (100.00%) | +0.00% | | libSceCdlgUtilServer | 0/43 (0.00%) | 0/0 observed, +43 unobserved | n/a | | libSceCesCs | 261/287 (90.94%) | 261/261 (100.00%), +26 unobserved | +9.06% | | libSceCesCs-module | Shared sources: `libSceCesCs` | Shared sources: `libSceCesCs` | n/a | | libSceCffMgr | 0/14 (0.00%) | 0/0 observed, +14 unobserved | n/a | | libSceCommonDialog | 2/28 (7.14%) | 2/2 (100.00%), +26 unobserved | +92.86% | | libSceCompanionHttpd | 9/17 (52.94%) | 9/9 (100.00%), +8 unobserved | +47.06% | | libSceCompanionUtil | 5/5 (100.00%) | 5/5 (100.00%) | +0.00% | | libSceComposite | 5/101 (4.95%) | 5/5 (100.00%), +96 unobserved | +95.05% | | libSceCompositeExt | No exports | No exports | n/a | | libSceConnectAccountDialog | 0/7 (0.00%) | 0/0 observed, +7 unobserved | n/a | | libSceContentDelete | 2/8 (25.00%) | 2/3 (66.67%), +5 unobserved | +41.67% | | libSceContentExport | 5/22 (22.73%) | 5/8 (62.50%), +14 unobserved | +39.77% | | libSceContentListController | 0/19 (0.00%) | 0/0 observed, +19 unobserved | n/a | | libSceContentSearch | 15/29 (51.72%) | 15/16 (93.75%), +13 unobserved | +42.03% | | libSceConvertKeycode | 4/4 (100.00%) | 4/4 (100.00%) | +0.00% | | libSceCtrlp | No exports | No exports | n/a | | libSceCustomMusicAudioOut | 0/10 (0.00%) | 0/0 observed, +10 unobserved | n/a | | libSceCustomMusicCore | 0/29 (0.00%) | 0/0 observed, +29 unobserved | n/a | | libSceCustomMusicPlayReady4 | 0/82 (0.00%) | 0/0 observed, +82 unobserved | n/a | | libSceCustomMusicSysCallWrapper | 0/1 (0.00%) | 0/0 observed, +1 unobserved | n/a | | libSceDataTransfer | 0/90 (0.00%) | 0/0 observed, +90 unobserved | n/a | | libSceDbg | No exports | No exports | n/a | | libSceDbgAssist | No exports | No exports | n/a | | libSceDbgThreadSanitizer | 2/2 (100.00%) | 2/2 (100.00%) | +0.00% | | libSceDeci5 | No exports | No exports | n/a | | libSceDeci5Appmp | No exports | No exports | n/a | | libSceDeci5CpComm | No exports | No exports | n/a | | libSceDeci5Ctrlp | No exports | No exports | n/a | | ... | 299 more libraries | | | ``` - Headline line: `98.83% (..., ...)` is implemented over implemented plus observed stubs on the head, and the figure in brackets is its change from the base. It is printed whenever the headline, the observed count or the unobserved count changes, even when no function was implemented or declared, so a reviewer always sees the headline move. Here it falls because the base has no manifests, so every stub there is unobserved and the base headline is 100%. - Counts: `108 observed stubs in total, 25562 unobserved stubs in total` are the totals on the head, after the per-function changes such as `+1 implemented functions` or `+2 observed stubs` when there are any. They say how much of what is declared has a measured use (observed, red) and how much has none known (unobserved, grey). - Declared figure: `declared 26.25% → 26.25%` is implemented over every declared function, observed or not, before and after. It does not move when only classifications change, which is why it sits next to the headline: it shows whether the headline moved because functions were implemented or because stubs were reclassified. - Library table: one row per changed library, with Before and After as `implemented/(implemented + observed stubs) (percent)` plus `+N unobserved` for that library's grey stubs, and Change as the difference of the two percentages (`n/a` when a side has no observed or implemented function). A library whose Before is 100% had no observed stub on the base, so nothing counted as pending: unobserved is the default for a stub with no measured use, and the sentence above the table says so. - Collapsed lists under the table (not present in this output because no function was implemented or declared in the merged base): implemented functions, implemented functions not observed anywhere, newly declared observed and unobserved stubs with a link to their origin commit, reverts, removals and shared-source changes. Newly implemented functions with no measured use: when a pull request implements a function that no measured use shows to be needed, the report adds a warning line under the headline, for example `⚠️ 1 newly implemented function with no measured use: add each one to docs/dev/observed with its reason in this PR, or name the observed function that needs it.` The sample above has no such function, so the warning is not in it. The warning is not an error: it clears when the function is listed with its reason in the same pull request, or when the pull request names the observed function that needs it. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!13801
No description provided.