Performance Analysis of a Digital Legal-Literacy System in Ghana | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Performance Analysis of a Digital Legal-Literacy System in Ghana David Oppong-Nkrumah, James Afful This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-8066209/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract This paper examines the development and performance evaluation of a digital legal-literacy platform (Nimdie Legal) designed to enhance access to legal information in Ghana. The platform was developed to provide reliable, retrieval-grounded legal information on common justice needs such as family, tenancy, and criminal matters, while remaining compliant with the Legal Aid Commission Act, 2018 (Act 977) and related data-protection and cybersecurity legislation. Using data from system testing, we analyzed latency and performance across three configurations: LLM-only, Retrieval-Augmented Generation (RAG), and Retrieval-only modes. Results show that while the RAG configuration substantially improves grounding and factual reliability, it introduces significant latency cost, recording median (P50) response times around 15–16 seconds and 90th percentile (P90) times exceeding 20 seconds, compared to 3–4 seconds for LLM-only responses and under 2 seconds for retrieval-only queries. Latency increased proportionally with both session data usage and answer length, indicating a trade-off between verbosity and responsiveness. These findings highlight the operational constraints of retrieval-augmented systems in low-resource settings and provide an empirical foundation for optimizing digital legal-literacy platforms in Ghana and comparable jurisdictions. Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-8066209","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":544758108,"identity":"b46ec7eb-4f86-4e3f-a743-90f4091e84c2","order_by":0,"name":"David Oppong-Nkrumah","email":"","orcid":"","institution":"Nimdie Legal","correspondingAuthor":false,"prefix":"","firstName":"David","middleName":"","lastName":"Oppong-Nkrumah","suffix":""},{"id":544758109,"identity":"149f18a4-13d8-4a09-af41-420fadf5392b","order_by":1,"name":"James Afful","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA3klEQVRIiWNgGAWjYBACxgYwJcfPwM58AMiQkCFWi7FkAzNbAkgLD7GWgbTwGIBYhLUwt59OfPijxkDC4DDP51c3aix4GNgPH92A12E9uZsNJI6BtPBus845BnQYT1raDbxaGnK3SRiw/akDaTHOYQNqkeAxw6+l/+32Hwn/wA57ZpzzjxgtM3K3MRxsA2thfpzbRpSWt5slG/sMJCQPs5kx5/ZJ8LAR8othf+7Gjz++GUjwHW9+/DnnW50cP/vhY/i1NCDYbBJgEp9yEJBHYjN/IKR6FIyCUTAKRiYAAE6eRgYk8PVQAAAAAElFTkSuQmCC","orcid":"","institution":"Nimdie Legal","correspondingAuthor":true,"prefix":"","firstName":"James","middleName":"","lastName":"Afful","suffix":""}],"badges":[],"createdAt":"2025-11-08 22:08:07","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-8066209/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-8066209/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":95937419,"identity":"1fae37f7-46e1-4889-a858-6c257cab70f3","added_by":"auto","created_at":"2025-11-14 15:49:21","extension":"docx","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":748162,"visible":true,"origin":"","legend":"","description":"","filename":"LawProjectGhana.docx","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/ca59c3afd1c11f6212adb729.docx"},{"id":95937421,"identity":"c22bbeb9-f478-405a-b12f-bddd28784530","added_by":"auto","created_at":"2025-11-14 15:49:21","extension":"json","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":4182,"visible":true,"origin":"","legend":"","description":"","filename":"f2bb085d17a04479896d3630bb70bde7.json","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/72ac91135c9228a61479a94a.json"},{"id":96245475,"identity":"2bbf3521-adc8-4cf0-99b0-7bfc0898db20","added_by":"auto","created_at":"2025-11-19 07:20:43","extension":"xml","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":40968,"visible":true,"origin":"","legend":"","description":"","filename":"f2bb085d17a04479896d3630bb70bde71enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/e7cfa8ac2cb1aa85b23a5bf8.xml"},{"id":95937422,"identity":"c4d82ecc-0cc6-4d30-9b76-a965787990b6","added_by":"auto","created_at":"2025-11-14 15:49:21","extension":"jpeg","order_by":3,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":190884,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage1.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/c198f1cd817bb85c3e6778e9.jpeg"},{"id":95937418,"identity":"fbac3bf7-9b82-4fdd-98c3-9a941ce8a11f","added_by":"auto","created_at":"2025-11-14 15:49:21","extension":"png","order_by":4,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":49207,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/e5115ae5e82478387aff4d82.png"},{"id":95937423,"identity":"4f68c861-1b67-484a-9627-d3cd0feed282","added_by":"auto","created_at":"2025-11-14 15:49:21","extension":"png","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":63153,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/9eeab1035066453ad4c07227.png"},{"id":96244815,"identity":"8d5a0e71-30df-4c2f-8430-18495c0d7d21","added_by":"auto","created_at":"2025-11-19 07:19:19","extension":"png","order_by":6,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":65996,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/eaf6c09bc3fccf469301c91a.png"},{"id":95937433,"identity":"3009eac1-f1f4-440b-b553-70845f331fb6","added_by":"auto","created_at":"2025-11-14 15:49:22","extension":"png","order_by":7,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":311176,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/8922ee831a18b7966e2b50bb.png"},{"id":96243809,"identity":"50c6d12c-cd07-4313-bda9-0f24d76e4e88","added_by":"auto","created_at":"2025-11-19 07:17:05","extension":"png","order_by":8,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":50448,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage6.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/fff79e4bb84ce5ff0092691a.png"},{"id":96245122,"identity":"59afb7aa-4eff-471e-bd3a-9850c9cdfea9","added_by":"auto","created_at":"2025-11-19 07:19:53","extension":"png","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":50114,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/9e618a8ac72274414bb0c832.png"},{"id":95937426,"identity":"759558ef-ca15-4f54-8a81-f9eabe8eabc1","added_by":"auto","created_at":"2025-11-14 15:49:22","extension":"png","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":13973,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/bab2a8e98c89702d193b60d7.png"},{"id":96244194,"identity":"c1da6577-0661-44b9-81b5-41f878ce5b76","added_by":"auto","created_at":"2025-11-19 07:17:56","extension":"png","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":18018,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/811f970330dba79b89e1e557.png"},{"id":96245537,"identity":"bf270590-d612-4163-ac52-75ced7540673","added_by":"auto","created_at":"2025-11-19 07:20:53","extension":"png","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":18819,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/62914b7fd7405bf386f3d08d.png"},{"id":95937431,"identity":"7e65e973-3db6-49e1-b793-c6f4df7e496c","added_by":"auto","created_at":"2025-11-14 15:49:22","extension":"png","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":33230,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/0f197fc602bbb274838b48c8.png"},{"id":95937430,"identity":"514c12f3-06b2-4072-98e4-bff989d75705","added_by":"auto","created_at":"2025-11-14 15:49:22","extension":"png","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":14342,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage6.png","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/bf8207c246ef68e1ab10c96c.png"},{"id":95937432,"identity":"1588cf3f-bb4b-4ff9-bcb9-dbe5a23f56f9","added_by":"auto","created_at":"2025-11-14 15:49:22","extension":"xml","order_by":15,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":39575,"visible":true,"origin":"","legend":"","description":"","filename":"f2bb085d17a04479896d3630bb70bde71structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/11b3f8f3874ac7069af5a923.xml"},{"id":96244369,"identity":"be91e849-5bf0-4c6a-8c25-be5e6d3dd0a6","added_by":"auto","created_at":"2025-11-19 07:18:17","extension":"html","order_by":16,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":44571,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1/3a64f1e4b55898ab84d0588e.html"},{"id":96255407,"identity":"746ddd7b-84ce-4e83-bfc8-22bbf72b5af7","added_by":"auto","created_at":"2025-11-19 07:48:43","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":712401,"visible":true,"origin":"","legend":"","description":"","filename":"LawProjectGhana.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8066209/v1_covered_736d4be5-c813-4056-a996-1dad5b8f9df3.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Performance Analysis of a Digital Legal-Literacy System in Ghana","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"","lastPublishedDoi":"10.21203/rs.3.rs-8066209/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-8066209/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eThis paper examines the development and performance evaluation of a digital legal-literacy platform (Nimdie Legal) designed to enhance access to legal information in Ghana. The platform was developed to provide reliable, retrieval-grounded legal information on common justice needs such as family, tenancy, and criminal matters, while remaining compliant with the Legal Aid Commission Act, 2018 (Act 977) and related data-protection and cybersecurity legislation. Using data from system testing, we analyzed latency and performance across three configurations: LLM-only, Retrieval-Augmented Generation (RAG), and Retrieval-only modes.\u003c/p\u003e\u003cp\u003eResults show that while the RAG configuration substantially improves grounding and factual reliability, it introduces significant latency cost, recording median (P50) response times around 15\u0026ndash;16 seconds and 90th percentile (P90) times exceeding 20 seconds, compared to 3\u0026ndash;4 seconds for LLM-only responses and under 2 seconds for retrieval-only queries. Latency increased proportionally with both session data usage and answer length, indicating a trade-off between verbosity and responsiveness. These findings highlight the operational constraints of retrieval-augmented systems in low-resource settings and provide an empirical foundation for optimizing digital legal-literacy platforms in Ghana and comparable jurisdictions.\u003c/p\u003e","manuscriptTitle":"Performance Analysis of a Digital Legal-Literacy System in Ghana","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-11-14 15:49:17","doi":"10.21203/rs.3.rs-8066209/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"1ec84aca-09f8-4f47-be56-d8fcf44fcac9","owner":[],"postedDate":"November 14th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2025-11-14T15:49:19+00:00","versionOfRecord":[],"versionCreatedAt":"2025-11-14 15:49:17","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-8066209","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-8066209","identity":"rs-8066209","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.