{"band":"significant findings","note":"Deterministic layer only. No model calls were made and no source content left this machine.","layer":"deterministic","coverage":{"statement":"A repository answers roughly three and a half of seven dimensions. The rest are reported as not assessable, with the questions a human would ask instead.","languages_read":["1C Enterprise","4D","ABAP","ABAP CDS","AGS Script","AIDL","AL","ALGOL","AMPL","ANTLR","APL","ASL","ASP.NET","ATS","ActionScript","Ada","Agda","Aiken","Aleo","Alloy","AngelScript","Answer Set Programming","Apex","Apollo Guidance Computer","AppleScript","Arc","ArkTS","AspectJ","Assembly","Augeas","AutoHotkey","AutoIt","Awk","B (Formal Method)","B4X","BAML","BQN","Ballerina","Batchfile","Beef","Befunge","Bend","Berry","Bicep","Bison","BitBake","BlitzBasic","BlitzMax","Bluespec","Boo","Boogie","Brightscript","C","C#","C++","C2hs Haskell","C3","CAP CDS","CLIPS","CMake","COBOL","CQL","CWeb","Cadence","Cairo","CameLIGO","Cangjie","Cap'n Proto","Carbon","CartoCSS","Ceylon","Chapel","Charity","ChucK","Circom","Cirru","Clarion","Clarity","Classic ASP","Clean","Click","Clojure","Clue","CodeQL","CoffeeScript","ColdFusion","ColdFusion CFC","Common Lisp","Common Workflow Language","Component Pascal","Crystal","Csound","Csound Document","Csound Score","Cuda","Curry","Cycript","Cypher","Cython","D","DIGITAL Command Language","DM","Dafny","Dart","Daslang","DataWeave","Dhall","Dockerfile","Dogescript","Dylan","E","ECL","EQ","EdgeQL","Elixir","Elm","Elvish","Emacs Lisp","EmberScript","Erlang","F#","F*","FIRRTL","FLUX","FPP","Factor","Fancy","Fantom","Fennel","Filebench WML","Flix","Fluent","Forth","Fortran","Fortran Free Form","FreeBASIC","FreeMarker","Futhark","G-code","GAML","GAMS","GAP","GDB","GDScript","GDShader","GLSL","GSC","Genero 4gl","Genshi","Gentoo Ebuild","Gentoo Eclass","Gherkin","Gleam","Glimmer JS","Glimmer TS","Glyph","Gno","Gnuplot","Go","Golo","Gosu","Grace","Grammatical Framework","Groovy","Groovy Server Pages","HCL","HIP","HLSL","Hack","Harbour","Hare","Haskell","Haxe","HiveQL","HolyC","Hurl","Hy","IDL","IGOR Pro","IL Assembly","ISPC","Idris","ImHex Pattern Language","ImageJ Macro","Imba","Inform 7","Ink","Inno Setup","Io","Ioke","Isabelle","J","JASS","JCL","JFlex","JSONiq","Jac","Jai","Janet","Java","Java Server Pages","Java Template Engine","JavaScript","JavaScript+ERB","JetBrains MPS","Jison","Jison Lex","Jolie","Jsonnet","Julia","Just","KCL","KRL","Kaitai Struct","KakouneScript","Koka","Kotlin","LFE","LLVM","LLVM TableGen","LOLCODE","LSL","LabVIEW","Langium","Lasso","Lean","Leo","Lex","LigoLANG","LilyPond","Linker Script","Liquidsoap","Literate Agda","Literate CoffeeScript","Literate Haskell","LiveCode Script","LiveScript","Lobster","Logos","Logtalk","LookML","Lua","Luau","M","M4","MATLAB","MAXScript","MLIR","MQL4","MQL5","MUF","Macaulay2","Makefile","Mako","Max","MeTTa","Mercury","Metal","MiniD","MiniZinc","Mint","Mirah","Modelica","Modula-3","Module Management System","Mojo","Monkey","MoonBit","MoonScript","Motorola 68K Assembly","Move","Myghty","NASL","NSIS","NWScript","Nearley","NetLinx","NetLinx+ERB","NetLogo","Nextflow","Nim","Nit","Nix","Nu","NumPy","OCaml","OMNeT++ NED","Oberon","Objective-C","Objective-C++","Objective-J","Odin","Omgrofl","Opa","Opal","Open Policy Agent","OpenCL","OpenQASM","OpenSCAD","OverPy","OverpassQL","Ox","Oxygene","Oz","P4","PDDL","PEG.js","PHP","PLSQL","PLpgSQL","POV-Ray SDL","Pact","Pan","Papyrus","Parrot","Parrot Assembly","Parrot Internal Representation","Pascal","Pawn","Pep8","Perl","PigLatin","Pike","PogoScript","Polar","Pony","Portugol","Power Query","PowerBuilder","PowerShell","Praat","Processing","Prolog","Promela","Propeller Spin","Puppet","PureBasic","PureScript","Pyret","Python","Q#","QML","QMake","QuakeC","Quint","R","RAScript","REALbasic","REXX","RPGLE","Racket","Ragel","Raku","Rascal","ReScript","Reason","ReasonLIGO","Rebol","Red","Redcode","RenderScript","Rhai","Ring","RobotFramework","Roc","Rocq Prover","Rouge","Ruby","Rust","SAS","SMT","SQF","SQL","SQLPL","SWIG","Sage","Sail","Salt","Scala","Scenic","Scheme","Scilab","Self","Shell","ShellSession","Shen","Sieve","Slang","Slash","SmPL","Smali","Smithy","Snakemake","Solidity","SourcePawn","Squirrel","Stan","Standard ML","Starlark","Stata","SurrealQL","Swift","SystemVerilog","TI Program","TL-Verilog","TLA","TSX","TXL","Tact","Talon","Tape","Tcl","Tcsh","Thrift","Toit","Tolk","Turing","TypeScript","Unified Parallel C","Uno","UnrealScript","Untyped Plutus Core","UrWeb","VBA","VBScript","VCL","VHDL","Vala","Verilog","Verse","Vim script","Visual Basic .NET","Visual Basic 6.0","Volt","Vyper","WDL","WGSL","WebAssembly","WebIDL","Whiley","Witcher Script","Wolfram Language","Wollok","Wren","X10","XC","XProc","XQuery","XS","XSLT","Xojo","Xonsh","Xtend","YARA","Yacc","Yul","ZAP","ZIL","Zeek","ZenScript","Zephir","Zig","Zimpl","eC","fish","hoon","mIRC Script","mcfunction","mupad","nesC","ooc","sed","wisp","xBase"],"total_dimensions":7,"assessable_dimensions":6},"dimensions":[{"id":"01","band":"strong","name":"Architecture & Codebase — including AI provenance","coverage":"full","findings":[{"id":"01.6","band":"adequate","layer":"deterministic","title":"mineru/model/_internal/pytorchocr/modeling/heads/rec_unimernet_head.py is 2,652 lines, 17× this codebase's median file","signal":"oversized_modules","weight":"corroborating","context":true,"evidence":[{"ref":"line-count","kind":"path","path":"mineru/model/_internal/pytorchocr/modeling/heads/rec_unimernet_head.py","detail":"2,652 lines (17× median)","line_end":2652,"line_start":1},{"ref":"line-count","kind":"path","path":"mineru/parser/api_server.py","detail":"2,249 lines (15× median)","line_end":2249,"line_start":1},{"ref":"line-count","kind":"path","path":"mineru/model/_internal/pytorchocr/modeling/backbones/rec_pphgnetv2.py","detail":"1,625 lines (10× median)","line_end":1625,"line_start":1},{"ref":"line-count","kind":"path","path":"mineru/doclib/server.py","detail":"1,504 lines (10× median)","line_end":1504,"line_start":1}],"observed":{"largest":2652,"library":{"n":382,"share":15,"value":17.8,"cutoff":138.63,"material":false,"percentile":85},"threshold":1490,"files_over":4,"median_lines":149},"dimension":"01","rationale":"The median source file here is 149 lines. 4 files exceed 1,490 lines, the largest being 2,652. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.","context_why":"A note that does not affect this rating: measured against its own codebase's median, it is below the 85th percentile of 382 surveyed projects' largest files, where this check begins to count."}],"signals_run":11,"conclusive_signals":10,"what_a_person_adds":[{"id":"01.38","kind":"H+","where":"The team","measured":"The tree carries design documentation (docs/next/architecture.md and 35 more).","question":"Does it match what the team believes today? Ask them to walk through it against the code."},{"id":"01.39","kind":"H","where":"Your architects, with the product roadmap","question":"Is the architecture right for the next three years of the product?"},{"id":"01.40","kind":"H","where":"The team's reasoning at the time","question":"Were the home-grown components reasonable choices when they were made, and are they now?"}]},{"id":"02","band":"strong","name":"Engineering Process & SDLC Maturity","coverage":"high","findings":[],"signals_run":16,"conclusive_signals":15,"what_a_person_adds":[{"id":"02.32","kind":"H","where":"The code host's pull request data","question":"Is review real or a rubber stamp? Comment depth and time to approve need the pull request history."},{"id":"02.38","kind":"H","where":"The issue tracker: backlog, sprint history, estimate accuracy","question":"Is delivery planned and measured, or heroic?"},{"id":"02.37","kind":"H","where":"Tickets, chat and postmortems","question":"How are incidents run, reviewed and learned from?"}]},{"id":"03","band":"significant findings","name":"Organization & Key-Person Risk","coverage":"partial","findings":[{"id":"03.1","band":"significant findings","layer":"deterministic","title":"Bus factor 1: recent work is concentrated in one contributor","signal":"contributor_concentration","weight":"corroborating","evidence":[{"ref":"git shortlog -sn","kind":"metric","detail":"last 24 months: top author three-quarters or more of 3,780 commits; bus factor 1; 77 authors"}],"observed":{"years":2.7,"window":"last 24 months","authors":99,"top_share":"three-quarters or more","bus_factor":1,"authors_in_window":77,"top_share_all_time":"three-quarters or more","bus_factor_all_time":1},"dimension":"03","rationale":"In the last 24 months, one contributor authored three-quarters or more of 3,780 non-merge commits among 77 authors; across all history, three-quarters or more of 4,987. This is the single most expensive thing to discover after closing, and the repository cannot tell you whether that person is part of the transaction."},{"id":"03.27","band":"adequate","layer":"deterministic","title":"Regular contributors fell from 14 to 5 in a year","signal":"joiners_and_leavers","weight":"corroborating","evidence":[{"ref":"regular contributors by year","kind":"metric","detail":"14 then 5; 11 stopped committing, 3 began"}],"observed":{"left":11,"joined":3,"regular_last_year":5,"regular_prior_year":14},"dimension":"03","rationale":"11 people who committed regularly the year before made no commits in the last year, and 3 new regular contributors arrived. Ask whether the work they did is still covered."}],"signals_run":10,"conclusive_signals":10,"what_a_person_adds":[{"id":"03.29","kind":"H+","where":"The deal terms","measured":"One contributor authored three-quarters or more of the commits in this history.","question":"Is that person part of the transaction, and for how long after it?"},{"id":"03.28","kind":"H","where":"The team; review history only suggests candidates","question":"Who mentors whom, and would that survive a departure?"},{"id":"03.30","kind":"H","where":"Recruiting data and the org chart","question":"Can the team grow, and who stands behind the top three contributors?"},{"id":"03.31","kind":"H","where":"HR data","question":"Is the seniority mix sound, and will pay survive your salary bands?"},{"id":"03.14","kind":"H","where":"Interviews and on-call history","question":"Is the pace sustainable? Commit times cannot say: git keeps no reliable local time."},{"id":"03.32","kind":"H","where":"Interviews","question":"Does the team want to stay after close?"},{"id":"03.33","kind":"H","where":"Time with the team","question":"How are decisions made and disagreements resolved?"}]},{"id":"04","band":"adequate","name":"Product & Engineering Maturity","coverage":"minimal","findings":[{"id":"04.19","band":"adequate","layer":"deterministic","title":"19% of bug fixes add or change a test","signal":"fixes_with_tests","weight":"corroborating","evidence":[{"ref":"fix commits touching tests","kind":"metric","detail":"177 of 924"}],"observed":{"fixes":924,"share":0.192,"with_tests":177},"dimension":"04","rationale":"Of 924 fixes in the last 24 months, 177 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong."}],"signals_run":19,"conclusive_signals":15,"what_a_person_adds":[{"id":"04.11","kind":"H+","where":"The team","measured":"2,268 commits landed in the last year, against 1,506 the year before (+51%).","question":"What drove it: new people, a deadline, or code produced faster than before?"},{"id":"04.22","kind":"H+","where":"The data room","measured":"A roadmap file is in the tree (docs/archive/design/roadmap.md).","question":"A file is not a plan. Does it match the roadmap in the data room, and has the team delivered the last one it wrote?"},{"id":"04.34","kind":"H+","where":"The ML team and its run history","measured":"No experiment tracking is configured in the repository.","question":"How was the shipped model trained and evaluated, and could it be reproduced?"},{"id":"04.35","kind":"H+","where":"The ML team","measured":"No model card is in the tree.","question":"What is the model's intended use, what was it trained on, and where does it fail?"},{"id":"04.31","kind":"H","where":"Budget and roadmap decisions","question":"Does leadership know about the debt, and is time budgeted to repay it?"},{"id":"04.33","kind":"H","where":"Revenue, customer and churn data","question":"Is the engineering shape consistent with the commercial story?"}]},{"id":"05","band":"adequate","name":"Security & Reliability Posture","coverage":"partial","findings":[{"id":"05.6","band":"adequate","layer":"deterministic","title":"2 Dockerfiles run the application as root","signal":"container_runs_as_root","weight":"corroborating","evidence":[{"ref":"no-USER-instruction","kind":"path","path":"docker/china/Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"docker/global/Dockerfile","detail":"runs as root"}],"observed":{"rootful":2,"dockerfiles":2},"dimension":"05","rationale":"No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically."},{"id":"05.27","band":"adequate","layer":"deterministic","title":"The build runs third-party code it does not pin","signal":"supply_chain_pinning","weight":"corroborating","context":true,"evidence":[{"ref":".github/workflows/cla.yml","kind":"path","path":".github/workflows/cla.yml","detail":"action pinned by tag","line_end":21,"line_start":21},{"ref":".github/workflows/cli.yml","kind":"path","path":".github/workflows/cli.yml","detail":"action pinned by tag","line_end":55,"line_start":55}],"observed":{"action_refs":40,"pipe_to_shell":0,"unpinned_third_party":3},"dimension":"05","rationale":"3 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."},{"id":"05.20","band":"adequate","layer":"deterministic","title":"10 SQL statements built from strings","signal":"sql_from_strings","weight":"corroborating","context":true,"evidence":[{"ref":"mineru/doclib/services/cleanup_svc.py","kind":"path","path":"mineru/doclib/services/cleanup_svc.py","detail":"SQL built from a string","line_end":125,"line_start":125},{"ref":"mineru/doclib/services/cleanup_svc.py","kind":"path","path":"mineru/doclib/services/cleanup_svc.py","detail":"SQL built from a string","line_end":129,"line_start":129},{"ref":"mineru/doclib/services/config_svc.py","kind":"path","path":"mineru/doclib/services/config_svc.py","detail":"SQL built from a string","line_end":278,"line_start":278}],"observed":{"files":3,"sites":10,"value_interpolated":2},"dimension":"05","rationale":"10 places in product code build SQL by formatting or joining strings rather than passing parameters. 2 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."},{"id":"05.22","band":"adequate","layer":"deterministic","title":"1 deserialiser that can run code","signal":"unsafe_deserialization","weight":"corroborating","context":true,"evidence":[{"ref":"mineru/model/mfr/pp_formulanet/predict_formula.py","kind":"path","path":"mineru/model/mfr/pp_formulanet/predict_formula.py","detail":"code-executing deserialiser","line_end":91,"line_start":91}],"observed":{"sites":1},"dimension":"05","rationale":"1 places read data with a deserialiser that executes what it reads (`yaml.load` without a safe loader). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."},{"id":"05.10","band":"adequate","layer":"deterministic","title":"Licence text does not match a standard licence","signal":"license_grant_unclear","weight":"corroborating","evidence":[{"ref":"LICENSE.md","kind":"path","path":"LICENSE.md","detail":"57 lines, unrecognised","line_end":3,"line_start":1}],"observed":{"path":"LICENSE.md","identified":"unrecognised"},"dimension":"05","rationale":"LICENSE.md exists but its text does not match any standard licence. A bespoke or hand-edited licence is not wrong, but it cannot be cleared by recognising its name: counsel has to read it, and until they do neither side knows precisely what rights transfer with the code."},{"id":"05.60","band":"adequate","layer":"deterministic","title":"Relicensed: AGPL-3.0 → Apache-2.0 with a commercial-licence condition and an attribution term (2026-04-17)","signal":"licence_changes","weight":"corroborating","evidence":[{"ref":"9fe81795b","kind":"commit","path":"LICENSE.md","detail":"AGPL-3.0 from 2024-03-04"},{"ref":"fafa251da","kind":"commit","path":"LICENSE.md","detail":"Apache-2.0 with a commercial-licence condition and an attribution term from 2026-04-17"}],"observed":{"since":"2026-04-17","latest":"Apache-2.0 AND LicenseRef-Terms-CommercialLicence AND LicenseRef-Terms-Attribution","weaker":true,"narrowed_at":"2026-04-17","narrowed_days":200,"licence_versions":2,"source_available":true,"narrowed_recently":true,"unreleased_changes":2},"dimension":"05","rationale":"The root licence changed 1 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence."}],"signals_run":34,"conclusive_signals":23,"what_a_person_adds":[{"id":"05.43","kind":"H+","where":"The security owner","measured":"No threat model is in the tree of what looks like a running service.","question":"Does one exist elsewhere, and who owns it?"},{"id":"05.41","kind":"H","where":"Ticketing and chat","question":"What has actually broken, how often, and how badly?"},{"id":"05.42","kind":"H","where":"Reports in the data room","question":"What did external testing find, and was it fixed?"},{"id":"05.44","kind":"H","where":"Audit reports; policy files in the tree are not evidence","question":"What is the SOC 2, ISO 27001 or GDPR status, and where is the evidence?"}]},{"id":"06","band":"adequate","name":"Observability & Operations","coverage":"partial","findings":[{"id":"06.1","band":"adequate","layer":"deterministic","title":"No telemetry or error reporting is wired in anywhere","signal":"telemetry_presence","weight":"corroborating","evidence":[{"ref":"telemetry-scan","kind":"metric","detail":"searched 964 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched"}],"observed":{},"dimension":"06","rationale":"None of 964 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one."},{"id":"06.2","band":"adequate","layer":"deterministic","title":"No structured logging library is in use","signal":"structured_logging","weight":"corroborating","evidence":[{"ref":"logging-scan","kind":"metric","detail":"searched 964 files for 10 structured logging libraries; 0 matched"}],"observed":{},"dimension":"06","rationale":"Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find."},{"id":"06.9","band":"adequate","layer":"deterministic","title":"No error reporter is wired in","signal":"error_reporting","weight":"corroborating","context":true,"evidence":[{"ref":"error reporting","kind":"metric","detail":"no error reporter initialised"}],"observed":{"installed":[],"initialised":0,"config_files":0},"dimension":"06","rationale":"Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."}],"signals_run":16,"conclusive_signals":11,"what_a_person_adds":[{"id":"06.19","kind":"H+","where":"The operations team","measured":"Nothing in the tree backs up or restores data.","question":"How is data backed up, and has a restore ever been rehearsed?"},{"id":"06.10","kind":"H+","where":"The alerting tool and the on-call rota","measured":"No alert rule is defined in the repository.","question":"Where are alerts defined, who receives them, and when did one last fire?"},{"id":"06.29","kind":"H","where":"Pager history and dashboard logs","question":"Are the dashboards opened, the alerts acknowledged and the pages answered?"},{"id":"06.30","kind":"H","where":"Production metrics","question":"Are the service-level objectives actually met?"},{"id":"06.31","kind":"H","where":"Pager exports and interviews","question":"Who carries the pager, and how often does it go off?"},{"id":"06.32","kind":"H","where":"Cloud billing and capacity plans","question":"What does it cost to run, and how much headroom is there?"}]},{"id":"07","band":"not assessable","name":"Fit with the Acquirer","coverage":"none","findings":[],"signals_run":0,"conclusive_signals":0,"what_a_person_adds":[{"id":"07.1","kind":"H+","question":"This is primarily a Python codebase. Does your engineering organisation already run Python in production, or would this be the first?"},{"id":"07.10","kind":"H+","question":"The bulk of this system sits in mineru/, projects/, skills/. Which of your existing systems would each of those have to absorb or replace?"},{"id":"07.2","kind":"H+","question":"The repository carries deployment configuration (docker/china/Dockerfile and 10 more). Does that match your deployment and on-call model, or does it need rehosting first?"},{"id":null,"kind":"H+","question":"What is your tolerance for the findings above remaining unaddressed for the first two quarters after close, given everything else that will compete for this team's time?"},{"id":"07.11","kind":"H","where":"Your architecture","question":"Which of these systems duplicate yours, and which get retired?"},{"id":"07.12","kind":"H","where":"The engagement","question":"What will integration cost, and in what order?"},{"id":"07.13","kind":"H","where":"Your org design","question":"Where does the team land in your organisation, and who reports to whom?"},{"id":"07.14","kind":"H","where":"Deal terms","question":"Are there earn-outs, retention packages or contractor IP to assign?"},{"id":"07.15","kind":"H","where":"Customer contracts","question":"Do customer contracts limit hosting, regions or vendors?"}],"not_assessable_reason":"structurally not assessable from a repository"}],"repository":{"loc":312235,"head":"92edabfead2bf33179b6a5c75a68c3b9ae7f55ce","slug":"opendatalab/mineru","tags":233,"stars":83052,"shallow":false,"span_days":978.1,"last_commit":"2026-11-03T12:08:42+00:00","surveyed_at":"2026-11-03T15:23:09.963542+00:00","commits_read":7056,"first_commit":"2024-02-29T08:53:41+00:00","truncated_at":null,"window_start":"2024-02-29T08:53:41+00:00","tracked_files":1373,"history_complete":true},"generated_at":"2026-11-03T15:25:11.099731+00:00","generated_by":"borehole 0.7.15","rejection_log":[{"reason":"change is spread across the codebase rather than pooling in a few files","signal":"hotspot_concentration","observed":{"files":5677,"top5_share":0.052},"dimension":"04","conclusive":true},{"reason":"debt markers are sparse","signal":"debt_markers","observed":{"markers":7,"per_kloc":0.02,"lines_read":311284},"dimension":"04","conclusive":true},{"reason":"direct dependency counts are unremarkable","signal":"dependency_sprawl","observed":{"set_aside":{"docs/requirements.txt":"not product code (docs)"},"by_manifest":{"pyproject.toml":41}},"dimension":"04","conclusive":true},{"reason":"test effort kept pace with code written","signal":"test_growth","observed":{"late_test_per_code":0.434,"early_test_per_code":0.073},"dimension":"04","conclusive":true},{"reason":"rework is not rising against new work","signal":"churn_trend","observed":{"late_delete_per_insert":0.565,"early_delete_per_insert":0.443,"single_commit_deletions_set_aside":["bd92791","f1c9546"]},"dimension":"04","conclusive":true},{"reason":"no pinned runtime version to check","signal":"eol_runtime","observed":{"pinned":0},"dimension":"04","conclusive":false},{"reason":"fixing is not crowding out building","signal":"fix_share_trend","observed":{"fix_share_by_quarter_newest_first":[0.27,0.07,0.19,0.44,0.4,0.3,0.21,0.21]},"dimension":"04","conclusive":true},{"reason":"no schema migrations to read","signal":"schema_churn","observed":{},"dimension":"04","conclusive":false},{"reason":"little code is kept for the old way","signal":"compat_layers","observed":{"share":0.013,"code_files":392,"compat_files":5,"oldest_months":2},"dimension":"04","conclusive":true},{"reason":"no JavaScript manifest to read","signal":"dependency_redundancy","observed":{},"dimension":"04","conclusive":false},{"reason":"a health or readiness check is defined","signal":"healthcheck_presence","observed":{"sample":["docker/compose.yaml:     healthcheck:","mineru/kit/gradio/client.py: /health","mineru/kit/router/app.py: /health"]},"dimension":"06","conclusive":true},{"reason":"none at all is 06.1","signal":"telemetry_depth","observed":{"kinds":[]},"dimension":"06","conclusive":false},{"reason":"raw prints are few, or outnumbered by logger calls","signal":"print_logging","observed":{"prints":33,"logger_calls":231},"dimension":"06","conclusive":true},{"reason":"a request can be followed through the logs","signal":"correlation_ids","observed":{"tracing":false,"request_id_sites":4},"dimension":"06","conclusive":true},{"reason":"the product's code names no reporting host","signal":"usage_reporting_default","observed":{"settings_on":3,"settings_off":4,"reporting_hosts":[]},"dimension":"06","conclusive":true},{"reason":"no alert rules in the repository; they may live in a console","signal":"alert_rules","observed":{"alert_files":0},"dimension":"06","conclusive":false},{"reason":"every deployed image names a version","signal":"deployed_image_floats","observed":{"images":1,"floating":0},"dimension":"06","conclusive":true},{"reason":"no Kubernetes probes","signal":"probes_identical","observed":{},"dimension":"06","conclusive":false},{"reason":"no Kubernetes deployments","signal":"single_replica","observed":{},"dimension":"06","conclusive":false},{"reason":"environment differences live in configuration","signal":"environment_branching","observed":{"sites":0},"dimension":"06","conclusive":true},{"reason":"releases are marked","signal":"release_markers","observed":{"tags_last_year":76,"release_commits":3,"changelog_commits":105,"commits_last_year":2277},"dimension":"06","conclusive":true},{"reason":"migrations do not run at container start","signal":"migrate_on_start","observed":{},"dimension":"06","conclusive":true},{"reason":"no feature-flag service; flags may live elsewhere","signal":"feature_flags","observed":{"sdk_files":0,"evaluation_sites":0},"dimension":"06","conclusive":false},{"reason":"more than one contributor active in the trailing year","signal":"active_contributors","observed":{"all_time":99,"active_12mo":22},"dimension":"03","conclusive":true},{"reason":"every substantial directory has been touched by more than one person","signal":"knowledge_silos","observed":{"authors":99,"directories":8},"dimension":"03","conclusive":true},{"reason":"an open contributor base, where one-commit contributors are normal","signal":"drive_by_contributors","observed":{"authors":99,"one_off_share":0.535},"dimension":"03","conclusive":true},{"reason":"the dominant contributor is still active","signal":"contributor_attrition","observed":{"authors":99,"top_share":"three-quarters or more","top_contributor_last_committed":"within the last three months"},"dimension":"03","conclusive":true},{"reason":"more than one person changes the critical paths","signal":"critical_path_ownership","observed":{"authors":77,"sole_owned_areas":[]},"dimension":"03","conclusive":true},{"reason":"the second and third contributors are still active","signal":"second_contributor_attrition","observed":{"gone":[]},"dimension":"03","conclusive":true},{"reason":"the team has not narrowed to one person","signal":"bus_factor_trend","observed":{"by_year_newest_first":[1,1,1]},"dimension":"03","conclusive":true},{"reason":"a meaningful share of recent change carries evidence of review","signal":"merge_discipline","observed":{"merges":1622,"window":"last 24 months","with_tracked":3,"with_reviewed":0,"reviewed_share":0.335,"commits_in_window":5462,"squashed_with_pr_ref":58,"with_signed_off_other":0,"reviewed_share_all_time":0.346,"with_committed_by_other":1710},"dimension":"02","conclusive":true},{"reason":"CI configuration is present in the working tree","signal":"ci_presence","observed":{"count":4,"configs":[".github/workflows/cla.yml",".github/workflows/cli.yml",".github/workflows/mkdocs.yml",".github/workflows/python-package.yml"]},"dimension":"02","conclusive":true},{"reason":"tests are present in a normal proportion to source","signal":"test_presence","observed":{"tests":233,"source":603,"test_ratio":0.386},"dimension":"02","conclusive":true},{"reason":"tags are present","signal":"release_cadence","observed":{"tags":233,"sample":["magic_pdf-0.1.0-released","magic_pdf-0.1.1-released","magic_pdf-0.1.2-released","magic_pdf-0.1.3-released","magic_pdf-0.1.4-released"]},"dimension":"02","conclusive":true},{"reason":"commit subjects generally carry content","signal":"conventional_commits","observed":{"sampled":5056,"low_content_share":0.051},"dimension":"02","conclusive":true},{"reason":"process scaffolding is present in the repository","signal":"branch_protection_hints","observed":{"present":["CI workflows","a pull-request template"]},"dimension":"02","conclusive":true},{"reason":"CI invokes a test runner","signal":"ci_runs_tests","observed":{"sample":[".github/workflows/cli.yml"],"configs":4,"with_tests":1},"dimension":"02","conclusive":true},{"reason":"few tests are switched off","signal":"skipped_tests","observed":{"focused":0,"skipped":0,"test_files":258,"files_with_skips":0},"dimension":"02","conclusive":true},{"reason":"no test run in CI is written so that it cannot fail","signal":"ci_test_gating","observed":{"configs":4},"dimension":"02","conclusive":true},{"reason":"change is rarely undone","signal":"revert_share","observed":{"share":0.0,"reverts":0,"recent_commits":3780},"dimension":"02","conclusive":true},{"reason":"no lockfile to date","signal":"dependency_update_cadence","observed":{"lockfiles":0},"dimension":"02","conclusive":false},{"reason":"tests are not retried until they pass","signal":"flaky_test_markers","observed":{"test_retries":0,"suite_retries":0},"dimension":"02","conclusive":true},{"reason":"a linter or formatter runs in the build","signal":"lint_in_build","observed":{"wired":2,"ci_configs":4,"product_files":392},"dimension":"02","conclusive":true},{"reason":"the typical branch reaches the trunk quickly","signal":"long_lived_branches","observed":{"share":0.154,"merges":989,"long_lived":152,"median_days":1},"dimension":"02","conclusive":true},{"reason":"changes arrive in reviewable sizes","signal":"commit_size","observed":{"share":0.04,"commits":3543,"over_2000_lines":142},"dimension":"02","conclusive":true},{"reason":"no commit run met both the rate and the net-addition threshold","signal":"burst_import","observed":{"gap_seconds":180,"min_add_ratio":3.0,"min_net_added":2000,"bursts_by_rate":15,"bursts_by_volume":0},"dimension":"01","conclusive":true},{"reason":"first commit is not a disproportionate share of the codebase","signal":"initial_dump","observed":{"insertions":878443,"share_of_insertions":0.3268},"dimension":"01","conclusive":true},{"reason":"commit subjects vary in wording and length","signal":"message_uniformity","observed":{"length_stdev":35.19,"repeat_share":0.201},"dimension":"01","conclusive":true},{"reason":"most files were revisited after they were first written","signal":"revision_depth","observed":{"files_seen":377,"write_once_share":0.231},"dimension":"01","conclusive":true},{"reason":"little shipping code is repeated verbatim across files","signal":"duplicated_blocks","observed":{"share":0.0097,"product_files":360,"distinct_blocks":58440,"duplicated_blocks":569},"dimension":"01","conclusive":true},{"reason":"errors are rarely thrown away","signal":"swallowed_errors","observed":{"loc":312235,"files":37,"per_kloc":0.2,"swallowed":62},"dimension":"01","conclusive":true},{"reason":"every base image names a version","signal":"build_reproducibility","observed":{"floating":0,"from_lines":2},"dimension":"01","conclusive":true},{"reason":"no language migration is stalled halfway","signal":"unfinished_migration","observed":{},"dimension":"01","conclusive":true},{"reason":"too few notebooks","signal":"notebook_outputs","observed":{"notebooks":0},"dimension":"01","conclusive":false},{"reason":"no model weights are committed","signal":"weights_in_git","observed":{"files":0},"dimension":"01","conclusive":true},{"reason":"no credential-shaped strings outside test and fixture paths","signal":"committed_secrets","observed":{"note":"the working tree only; the history is 05.5","patterns":8,"files_read":964,"inert_tokens_set_aside":0,"fixture_matches_ignored":0},"dimension":"05","conclusive":true},{"reason":"at least one standard guard rail is configured","signal":"security_guardrails","observed":{"present":["SECURITY.md"]},"dimension":"05","conclusive":true},{"reason":"dependencies are substantially pinned","signal":"dependency_pinning","observed":{"unpinned":0},"dimension":"05","conclusive":true},{"reason":"a licence file is present","signal":"license_present","observed":{"found":true},"dimension":"05","conclusive":true},{"reason":"no credential-shaped string was ever added outside test and fixture paths","signal":"secrets_in_history","observed":{"patterns":8,"truncated":false,"added_lines":2569110,"commits_scanned":5005,"inert_tokens_set_aside":0},"dimension":"05","conclusive":true},{"reason":"no environment file is committed outside tests and examples","signal":"secrets_management_pattern","observed":{"env_files":0},"dimension":"05","conclusive":true},{"reason":"outbound calls set timeouts, or are few","signal":"outbound_timeouts","observed":{"calls_without_timeout":0},"dimension":"05","conclusive":true},{"reason":"too few migrations to judge","signal":"migration_reversibility","observed":{"migrations":0},"dimension":"05","conclusive":false},{"reason":"product code does not build shell commands from strings","signal":"shell_from_strings","observed":{"sites":1},"dimension":"05","conclusive":true},{"reason":"no TLS verification is switched off in product code","signal":"tls_verification_off","observed":{"files":0,"sites":0,"pinned_instead":0,"behind_an_opt_in":0},"dimension":"05","conclusive":true},{"reason":"no Kubernetes workload manifests","signal":"resource_limits","observed":{"workloads":0},"dimension":"05","conclusive":false},{"reason":"no lockfile this survey can read, or a collector older than 0.4.0","signal":"known_vulnerabilities","observed":{"dependencies":0,"ecosystems_not_read":[]},"dimension":"05","conclusive":false},{"reason":"no workload runs privileged or in the host's namespaces","signal":"privileged_workloads","observed":{"sites":0,"behind_a_setting_or_built_here":0},"dimension":"05","conclusive":true},{"reason":"deployment configuration references secrets, never holds them","signal":"credentials_in_deploy_config","observed":{"files":0,"sites":0},"dimension":"05","conclusive":true},{"reason":"not a frontend","signal":"public_env_secret","observed":{},"dimension":"05","conclusive":false},{"reason":"not a frontend","signal":"unsafe_html","observed":{},"dimension":"05","conclusive":false},{"reason":"not a frontend","signal":"source_maps_shipped","observed":{},"dimension":"05","conclusive":false},{"reason":"no signing keystore or profile is committed","signal":"signing_material","observed":{"files":0},"dimension":"05","conclusive":true},{"reason":"not a mobile app","signal":"cleartext_traffic","observed":{},"dimension":"05","conclusive":false},{"reason":"little data is committed","signal":"dataset_provenance","observed":{"data_files":0,"licence_or_card_files":0},"dimension":"05","conclusive":true},{"reason":"every licence found in vendored code is permissive or weak-copyleft","signal":"license_copyleft_inherited","observed":{"vendored_paths":284},"dimension":"05","conclusive":true},{"reason":"no licence file could be identified to compare the manifest against","signal":"license_manifest_conflict","observed":{"manifest":"LicenseRef-MinerU-Open-Source-License"},"dimension":"05","conclusive":false},{"reason":"all 1 vendored components state their terms, in a licence file, their own headers or a notices file","signal":"license_vendored_unlicensed","observed":{"components":1,"stated_in_headers_or_notices":0},"dimension":"05","conclusive":true},{"reason":"no widely used compiled library is committed to the product","signal":"committed_native_libraries","observed":{"libraries":0,"recognised":[]},"dimension":"05","conclusive":true},{"reason":"few or no feature flags in the history","signal":"flags_accumulating","observed":{"live":0,"retired":0,"flags_seen":0,"stale_over_a_year":0},"dimension":"04","conclusive":false},{"reason":"one API version is served, or none","signal":"api_versions_coexisting","observed":{"live":["v1"],"versions_seen":["v1","v2"]},"dimension":"04","conclusive":true},{"reason":"few deprecations have outlived two years","signal":"deprecations_lingering","observed":{"older_than_two_years":0,"files_with_deprecations":7},"dimension":"04","conclusive":true},{"reason":"no platform was dropped from CI in the last two years","signal":"ci_platforms_dropped","observed":{"platforms_seen":["Linux","Windows","macOS"],"dropped_in_two_years":[]},"dimension":"04","conclusive":true},{"reason":"the README's first screen states no end, move or freeze","signal":"repository_status","observed":{"statements":0},"dimension":"04","conclusive":true},{"reason":"nothing says development happens elsewhere","signal":"development_elsewhere","observed":{"no_pr_statements":0,"mirror_statements":0,"replayed_commit_share":0.0},"dimension":"02","conclusive":true},{"reason":"no directory carries a separate paid-edition licence","signal":"paid_edition","observed":{"directories":0},"dimension":"05","conclusive":true},{"reason":"releases keep pace with development","signal":"releases_stopped","observed":{"median_gap_days":0.0,"days_since_last_tag":0,"commits_last_90_days":836},"dimension":"04","conclusive":true},{"reason":"the newest release was cut from the branch surveyed","signal":"release_branch","observed":{"elsewhere":0,"on_branch":6,"tags_in_window":6,"direction_known":true,"later_on_branch":0},"dimension":"04","conclusive":true},{"reason":"no file says one person maintains it","signal":"single_maintainer","observed":{"statements":0},"dimension":"03","conclusive":true},{"reason":"record incomplete: no advisory found in the sources that answered; OSV PyPI mineru (an empty record for a package published here) did not","signal":"project_advisories","observed":{"sources":["OSV by commit","GitHub repository advisories","NVD"],"affecting":0,"exploited":0,"advisories":0,"version_from":"no release tag or confirmed manifest version","fix_unreleased":0,"sources_failed":["OSV PyPI mineru (an empty record for a package published here)"],"version_unknown":0,"high_or_critical":0,"surveyed_version":null,"affecting_newest_release":0},"dimension":"05","conclusive":false},{"reason":"record incomplete: no advisory against the project in the last 24 months; OSV PyPI mineru (an empty record for a package published here) did not answer","signal":"advisory_record","observed":{"newest":null,"critical":0,"affecting":0,"could_not_tell":0,"last_24_months":0,"sources_failed":["OSV PyPI mineru (an empty record for a package published here)"],"high_or_critical":0},"dimension":"05","conclusive":false},{"reason":"no affecting advisory is on CISA's Known Exploited list","signal":"project_exploited","observed":{"exploited":0},"dimension":"05","conclusive":false}],"schema_version":"1","repository_says":[{"line":null,"path":"LICENSE.md","text":"Relicensed: AGPL-3.0 → Apache-2.0 with a commercial-licence condition and an attribution term (2026-04-17)","finding":"05.60"}],"surveyed_commit":null,"provenance_disclosure":{"agents":["Claude","GitHub Copilot"],"recent":{"since":"2025-11-03","until":"2026-11-03","window":"the last 12 months","measures":"share of lines added in the last 12 months to 2026-11-03 by commits declaring an AI agent as co-author: the same floor as the all-time share, over a shorter window","confidence":"moderate","ai_line_share":0.0276,"total_commits":2281,"ai_commit_share":0.0491,"confidence_basis":["6% of non-merge commits carry any trailer at all","low trailer coverage: the convention may not be in consistent use","no widespread author/committer date divergence"],"declared_commits":112,"total_lines_added":1032327,"declared_lines_added":28476},"window":null,"excluded":"lockfiles, vendored and generated paths are excluded from both measurements so that code nobody wrote cannot move the share","measures":"share of lines added by commits declaring an AI agent as co-author, as a proportion of all lines ever added","confidence":"moderate","measurable":true,"ai_line_share":0.011,"total_commits":5056,"affects_rating":false,"excluded_lines":88518,"ai_commit_share":0.0305,"confidence_basis":["4% of non-merge commits carry any trailer at all","low trailer coverage: the convention may not be in consistent use","no widespread author/committer date divergence","deep scan blamed 1,072 of 1,072 counted files"],"declared_commits":154,"total_lines_added":2599478,"surviving_ai_lines":6503,"surviving_measures":"share of lines still present in the working tree that originate in an AI-declared commit; null unless the scan was run with --deep","commit_share_by_year":{"2024":0.0,"2025":0.0366,"2026":0.0484},"declared_agent_names":["Claude","Claude Code","Claude Opus 4.6 (1M context)","Claude Opus 4.7","Claude Opus 4.7 (1M context)","Claude Sonnet 4.6 (1M context)","Copilot"],"declared_lines_added":28584,"surviving_line_share":0.0148,"floor_not_measurement":"This is a lower bound. It counts what the repository declares. Undeclared AI authorship is invisible here, and a single rebase removes the trailers this rests on. Absence of a declaration is absence of disclosure, not absence of AI authorship.","surviving_total_lines":440062},"reliance":"An automated reading of a repository's code and its history up to one commit, with public advisory records. It may be wrong, it is not legal, financial, investment or security advice, and it does not replace diligence by a qualified person. It is provided for information: nobody may rely on it (Borehole's terms, section 3).","published_under_todays_rules":["1 finding from checks Borehole's calibration found wrong more often than right is no longer published."]}