Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'Processed Text'}) and 5 missing columns ({'Answer', 'Question', 'User', 'ID', 'Agent'}).
This happened while the csv dataset builder was generating data using
hf://datasets/leeroy-jankins/Inspector-General-Act-of-1978/chunks/Inspector General Act of 1978.csv (at revision 1a5035edbe6159b1573458e0c66fa9b797903b11), ['hf://datasets/leeroy-jankins/Inspector-General-Act-of-1978@1a5035edbe6159b1573458e0c66fa9b797903b11/Inspector General Act of 1978.csv', 'hf://datasets/leeroy-jankins/Inspector-General-Act-of-1978@1a5035edbe6159b1573458e0c66fa9b797903b11/chunks/Inspector General Act of 1978.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
Processed Text: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 407
to
{'ID': Value('int64'), 'User': Value('string'), 'Question': Value('string'), 'Agent': Value('string'), 'Answer': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'Processed Text'}) and 5 missing columns ({'Answer', 'Question', 'User', 'ID', 'Agent'}).
This happened while the csv dataset builder was generating data using
hf://datasets/leeroy-jankins/Inspector-General-Act-of-1978/chunks/Inspector General Act of 1978.csv (at revision 1a5035edbe6159b1573458e0c66fa9b797903b11), ['hf://datasets/leeroy-jankins/Inspector-General-Act-of-1978@1a5035edbe6159b1573458e0c66fa9b797903b11/Inspector General Act of 1978.csv', 'hf://datasets/leeroy-jankins/Inspector-General-Act-of-1978@1a5035edbe6159b1573458e0c66fa9b797903b11/chunks/Inspector General Act of 1978.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
ID int64 | User string | Question string | Agent string | Answer string |
|---|---|---|---|---|
1 | User | What broad governmental problem was the Inspector General Act designed to address? | Agent | The Act was designed to improve economy and efficiency within the executive branch. It created independent and objective units to audit and investigate federal programs and operations. It also sought to prevent and detect fraud and abuse. Another objective was to ensure that agency leaders and Congress received current... |
2 | User | Why did Congress establish Offices of Inspector General as independent and objective units? | Agent | Congress wanted oversight functions to be insulated from ordinary program-management pressures. Independent and objective units could examine agency activities without being controlled by the officials responsible for operating those programs. This structure was intended to improve the credibility of audits and investi... |
3 | User | Which original federal departments received Offices of Inspector General under the Act? | Agent | The Act established Offices of Inspector General in six cabinet-level departments. These were the Departments of Agriculture, Commerce, Housing and Urban Development, the Interior, Labor, and Transportation. Each office was responsible for auditing and investigating the programs and operations of its department. The of... |
4 | User | Which original independent agencies and administrations received Offices of Inspector General? | Agent | The Act established offices in several agencies and administrations outside the six listed departments. These included the Community Services Administration, Environmental Protection Agency, General Services Administration, National Aeronautics and Space Administration, Small Business Administration, and Veterans’ Admi... |
5 | User | What three principal purposes were assigned to the newly established Inspector General offices? | Agent | The first purpose was to conduct and supervise audits and investigations of agency programs and operations. The second was to provide leadership, coordination, and policy recommendations designed to promote economy and efficiency and prevent fraud and abuse. The third was to keep agency heads and Congress fully and cur... |
6 | User | How did the Act connect Inspector General work with corrective action? | Agent | Inspectors General were required to identify problems, abuses, and deficiencies in agency administration. They also had to recommend corrective action addressing those findings. The Act further required reporting on progress made in implementing corrective measures. This meant the offices were not limited to detecting ... |
7 | User | What is the formal short title of the statute? | Agent | The statute is formally cited as the Inspector General Act of 1978. Congress included the short title at the beginning of the Act. The title reflects the year in which the legislation was enacted. It became Public Law 95-452. The law was approved on October 12, 1978. |
8 | User | How is an Inspector General appointed under the original Act? | Agent | Each Inspector General is appointed by the President. The appointment requires the advice and consent of the Senate. This process places the office at a high level within the executive branch. It also gives Congress a formal role in evaluating the nominee. The structure was intended to reinforce both authority and inde... |
9 | User | What qualifications govern the selection of an Inspector General? | Agent | Selection must be made without regard to political affiliation. The nominee must be chosen solely on the basis of integrity and demonstrated ability. Relevant areas of ability include accounting, auditing, financial analysis, law, management analysis, public administration, and investigations. The statute therefore emp... |
10 | User | To whom does an Inspector General report within an establishment? | Agent | An Inspector General reports to and operates under the general supervision of the head of the establishment. That authority may be delegated to the official next in rank below the establishment head. The Inspector General may not report to or be supervised by another agency officer. This reporting arrangement limits in... |
11 | User | What limits does the Act place on agency supervision of an Inspector General? | Agent | The establishment head may exercise general supervision over the Inspector General. However, that official may not prevent or prohibit the Inspector General from initiating an audit or investigation. The same protection applies to carrying out or completing the work. The agency head also may not prevent the issuance of... |
12 | User | Why is the prohibition on blocking audits and investigations significant? | Agent | The prohibition ensures that agency leadership cannot suppress oversight merely because an inquiry may be embarrassing or disruptive. It protects the Inspector General’s ability to select and pursue matters based on professional judgment. It also prevents an agency head from stopping an investigation before completion.... |
13 | User | Who may remove an Inspector General from office? | Agent | An Inspector General may be removed by the President. The original Act did not give removal authority to the head of the establishment. This reinforces the status of the Inspector General as a presidential appointee. Removal therefore requires action at the highest executive level. The President must also communicate t... |
14 | User | What reporting requirement applies when an Inspector General is removed? | Agent | The President must communicate the reasons for removal to both Houses of Congress. This requirement provides legislative oversight of the removal decision. It discourages unexplained or purely retaliatory removals. It also gives Congress information needed to assess whether the office’s independence has been compromise... |
15 | User | How does the Act treat Inspectors General under federal political-activity restrictions? | Agent | The Act states that an Inspector General is not considered an employee who determines nationwide federal policy for purposes of the cited political-activity statute. This classification affects how the Inspector General is treated under those restrictions. Congress distinguished the office from positions that set broad... |
16 | User | What senior auditing position must each Inspector General appoint? | Agent | Each Inspector General must appoint an Assistant Inspector General for Auditing. The appointment must comply with applicable civil-service laws and regulations. This official supervises the performance of auditing activities. Those activities concern programs and operations of the establishment. The position creates a ... |
17 | User | What senior investigative position must each Inspector General appoint? | Agent | Each Inspector General must appoint an Assistant Inspector General for Investigations. The appointment is made under applicable civil-service requirements. This official supervises investigative activities involving agency programs and operations. The position separates investigative leadership from audit leadership. I... |
18 | User | Why did the Act require separate assistant inspectors general for auditing and investigations? | Agent | Auditing and investigations involve different professional methods and responsibilities. Separate leadership allows each function to be supervised by an official with relevant expertise. It also helps the office manage complex workloads more effectively. The structure reinforces the importance of both financial and inv... |
19 | User | What policy-direction authority does an Inspector General possess? | Agent | An Inspector General provides policy direction for audits and investigations relating to the establishment. The office may also conduct, supervise, and coordinate those activities. This authority applies across agency programs and operations. It enables the Inspector General to establish priorities and methods for over... |
20 | User | How must an Inspector General evaluate proposed legislation and regulations? | Agent | The Inspector General must review existing and proposed legislation and regulations affecting agency programs and operations. The review should consider their impact on economy and efficiency. It should also examine whether the measures affect the prevention and detection of fraud and abuse. Recommendations resulting f... |
21 | User | Why does the Act require review of both existing and proposed legal authorities? | Agent | Existing authorities may create inefficiencies, vulnerabilities, or opportunities for abuse. Proposed authorities may either correct or worsen those conditions. Reviewing both allows the Inspector General to identify systemic issues rather than only isolated misconduct. It also permits recommendations concerning legisl... |
22 | User | What other activities may an Inspector General conduct or coordinate to promote economy and efficiency? | Agent | The Inspector General may recommend policies for activities carried out or financed by the establishment. The office may also conduct, supervise, or coordinate those activities. Their purpose must be to promote economy and efficiency or prevent and detect fraud and abuse. This authority reaches activities beyond formal... |
23 | User | How may an Inspector General manage relationships with other governmental and nongovernmental entities? | Agent | The Inspector General may recommend policies for and coordinate relationships with federal, state, and local agencies. The office may also work with nongovernmental entities. These relationships may concern economy, efficiency, fraud prevention, or identification of participants in wrongdoing. Coordination can also sup... |
24 | User | What information must an Inspector General provide to the establishment head and Congress? | Agent | The Inspector General must keep both parties fully and currently informed about fraud and other serious problems. The reporting must also address abuses and deficiencies in agency administration. Corrective actions should be recommended. Progress in implementing those actions must also be reported. This duty is fulfill... |
25 | User | What audit standards must an Inspector General follow? | Agent | Each Inspector General must comply with standards established by the Comptroller General of the United States. The standards apply to audits of federal establishments, organizations, programs, activities, and functions. This requirement promotes consistency and professional quality. It also aligns Inspector General aud... |
26 | User | What responsibility does an Inspector General have regarding nonfederal auditors? | Agent | The Inspector General must establish guidelines for determining when nonfederal auditors should be used. The office must also ensure that their work complies with Comptroller General standards. This protects the quality of outsourced audit work. It also prevents agencies from using external auditors to avoid federal pr... |
27 | User | Why must nonfederal audit work meet Comptroller General standards? | Agent | Nonfederal auditors may perform work that supports official federal oversight. Their findings must therefore be reliable and comparable to those produced by government auditors. Applying the same standards protects the integrity of the audit process. It also supports confidence in reports submitted to agency leaders an... |
28 | User | How should an Inspector General coordinate with the Comptroller General? | Agent | The Inspector General must give particular regard to the activities of the Comptroller General. The purpose is to avoid duplication. The office should also ensure effective coordination and cooperation. This allows federal oversight resources to be used efficiently. It also reduces the risk that agencies will be burden... |
29 | User | What must an Inspector General do upon discovering possible federal criminal conduct? | Agent | The Inspector General must report expeditiously to the Attorney General. The duty arises when there are reasonable grounds to believe that federal criminal law has been violated. The statute does not require the Inspector General to wait for completion of every internal process. Prompt referral supports appropriate pro... |
30 | User | What level of certainty triggers a criminal referral to the Attorney General? | Agent | The Inspector General must have reasonable grounds to believe that a violation occurred. The statute does not require proof beyond a reasonable doubt. It also does not require a completed prosecution-ready case before referral. The threshold is intended to support timely notification. Prosecutive authorities then deter... |
31 | User | How often must each Inspector General prepare a statutory activity report? | Agent | Each Inspector General must prepare reports twice each year. They are due no later than April 30 and October 31. Each report covers the immediately preceding six-month period. The relevant reporting periods end on March 31 and September 30. This schedule creates a regular cycle of oversight reporting. |
32 | User | What period does the April 30 semiannual report cover? | Agent | The April 30 report covers the six-month period ending March 31. It summarizes the activities of the Office of Inspector General during that period. The report includes significant findings, recommendations, referrals, and completed audits. It is provided to the head of the establishment. The establishment head then tr... |
33 | User | What period does the October 31 semiannual report cover? | Agent | The October 31 report covers the six-month period ending September 30. It summarizes Office of Inspector General activities during that period. The report must include the categories of information required by statute. It is furnished to the establishment head by the due date. The head then sends it to the appropriate ... |
34 | User | What must a semiannual report say about significant administrative problems? | Agent | It must describe significant problems, abuses, and deficiencies disclosed during the reporting period. The description should relate to administration of the establishment’s programs and operations. This requirement informs leadership and Congress about major oversight findings. It also creates a public record of recur... |
35 | User | What must a semiannual report include about corrective recommendations? | Agent | The report must describe recommendations for corrective action made during the reporting period. The recommendations must concern significant problems, abuses, or deficiencies identified by the office. This links findings with proposed remedies. It also allows Congress to assess the practicality and seriousness of the ... |
36 | User | How are unresolved prior recommendations treated in semiannual reports? | Agent | Each report must identify significant recommendations from earlier semiannual reports for which corrective action has not been completed. This requirement prevents unresolved matters from disappearing after initial disclosure. It promotes continuing attention by agency management. It also allows Congress to monitor imp... |
37 | User | What prosecutive information must be included in a semiannual report? | Agent | The report must summarize matters referred to prosecutive authorities. It must also summarize resulting prosecutions and convictions. This information shows how investigative findings moved into the criminal-justice process. It helps Congress evaluate the seriousness and impact of the office’s work. The summary need no... |
38 | User | What special reports must be summarized in the semiannual report? | Agent | The semiannual report must summarize each report made to the establishment head regarding unreasonably refused information or assistance. These reports arise under the authority provisions of the Act. Their inclusion alerts Congress to possible obstruction of Inspector General work. It also creates accountability for a... |
39 | User | What information about completed audits must appear in each semiannual report? | Agent | The report must list each audit report completed during the reporting period. This gives Congress and agency leadership a complete inventory of audit output. It also allows readers to identify the subjects examined. The listing complements the narrative discussion of significant findings. Together, these elements provi... |
40 | User | When must the establishment head transmit a semiannual report to Congress? | Agent | The head must transmit the report within thirty days after receiving it. The transmission goes to the appropriate committees or subcommittees of Congress. The establishment head may include comments considered appropriate. The original Inspector General report must accompany those comments. This process allows agency l... |
41 | User | Why are establishment-head comments transmitted with the Inspector General report? | Agent | The comments allow agency leadership to provide context or disagreement. They may explain corrective actions or management perspectives. However, they do not replace or modify the Inspector General’s findings. Congress receives both the independent report and the agency’s response. This structure preserves oversight in... |
42 | User | When must semiannual reports be made available to the public? | Agent | The establishment head must make copies available within sixty days after transmission to Congress. Members of the public may request the reports. The agency may charge a reasonable cost. This requirement promotes transparency. It also gives citizens access to information about government waste, fraud, abuse, and corre... |
43 | User | What triggers an immediate report outside the normal semiannual cycle? | Agent | An immediate report is required when the Inspector General becomes aware of particularly serious or flagrant problems, abuses, or deficiencies. These matters must relate to administration of agency programs or operations. The seriousness of the issue makes waiting for the next semiannual report inappropriate. The Inspe... |
44 | User | How quickly must an establishment head send a particularly serious Inspector General report to Congress? | Agent | The head must transmit the report within seven calendar days. It goes to the appropriate congressional committees or subcommittees. The establishment head may include comments. The short deadline reflects the seriousness of the issue. Congress therefore receives rapid notice of urgent oversight concerns. |
45 | User | What is the significance of the seven-day reporting rule? | Agent | The rule prevents agency leadership from delaying disclosure of exceptionally serious matters. It ensures that Congress receives timely information. It also limits the opportunity for management to suppress or minimize urgent findings. The requirement strengthens the Inspector General’s role as an independent source of... |
46 | User | What general access right does an Inspector General have to agency materials? | Agent | The Inspector General may access all records, reports, audits, reviews, documents, papers, recommendations, and other material available to the establishment. The material must relate to programs and operations within the office’s responsibilities. This authority is broad. It allows the office to obtain evidence necess... |
47 | User | Why is access to agency records central to Inspector General independence? | Agent | An office cannot evaluate agency conduct without relevant information. Broad access prevents program officials from controlling the evidence reviewed by investigators and auditors. It also allows the Inspector General to verify management assertions independently. Without access, oversight could be reduced to voluntary... |
48 | User | What investigative discretion does an Inspector General possess? | Agent | The Inspector General may make investigations and reports considered necessary or desirable. The investigations must relate to administration of the establishment’s programs and operations. This gives the office substantial discretion to select subjects. The authority is not limited to matters specifically requested by... |
49 | User | From whom may an Inspector General request information or assistance? | Agent | The Inspector General may request information or assistance from federal, state, or local governmental agencies or units. The requested support must be necessary for carrying out statutory duties. This authority recognizes that relevant information may exist outside the establishment. Intergovernmental cooperation can ... |
50 | User | What subpoena authority does the Act provide? | Agent | The Inspector General may require production of information, documents, reports, answers, records, accounts, papers, and other documentary evidence. The material must be necessary to perform functions assigned by the Act. A subpoena may be enforced by an appropriate United States district court if a person refuses to c... |
51 | User | How is a subpoena enforced when a recipient refuses to comply? | Agent | The Inspector General may seek enforcement through an appropriate United States district court. The court may issue an order compelling compliance. This judicial mechanism gives legal force to the subpoena. It also provides an external check on disputes over production. The Inspector General does not enforce the subpoe... |
52 | User | Why does the Act direct Inspectors General to use procedures other than subpoenas with federal agencies? | Agent | Federal agencies are expected to cooperate through interagency information-sharing procedures. Congress therefore distinguished requests to federal agencies from compulsory process directed at other parties. The Inspector General may request necessary information or assistance. A federal agency head should provide it w... |
53 | User | What right of access does an Inspector General have to the establishment head? | Agent | The Inspector General has direct and prompt access to the head of the establishment. This access is available whenever necessary for performance of statutory functions and responsibilities. It prevents lower-level officials from filtering or delaying important communications. It also supports rapid reporting of serious... |
54 | User | What personnel authority does an Inspector General possess? | Agent | The Inspector General may select, appoint, and employ officers and employees needed to perform the office’s functions. Appointments remain subject to applicable competitive-service provisions. Classification and General Schedule pay laws also apply. This authority allows the office to build its own professional workfor... |
55 | User | What authority exists to obtain temporary or expert services? | Agent | The Inspector General may obtain services under the cited provision of Title 5. Daily compensation may not exceed the equivalent rate for the specified General Schedule grade. This authority allows the office to use specialized expertise when necessary. Such services can support audits, studies, analyses, or investigat... |
56 | User | Under what condition may an Inspector General contract for audits or studies? | Agent | Contracting authority exists only to the extent and in amounts provided in advance by appropriations Acts. The Inspector General may contract with public agencies or private persons. Permitted work includes audits, studies, analyses, and other services. Payments necessary to carry out the Act may be made. The appropria... |
57 | User | What duty does a federal agency have when an Inspector General requests assistance? | Agent | The agency head must provide information or assistance insofar as practicable. The response must not violate an existing statutory restriction or agency regulation. The information may be furnished to the Inspector General or an authorized designee. This creates a general expectation of cooperation. Legal restrictions ... |
58 | User | What happens when requested information or assistance is unreasonably refused? | Agent | The Inspector General must report the circumstances to the head of the establishment without delay. This applies to information or assistance sought under the relevant access provisions. The report documents interference with oversight work. It may later be summarized in the semiannual report. The mechanism creates man... |
59 | User | What facilities must an establishment provide to its Office of Inspector General? | Agent | The establishment must provide appropriate and adequate office space. This requirement applies at central and field-office locations. The agency must also provide equipment, office supplies, communications facilities, and services. Necessary maintenance must be supplied as well. These obligations ensure that the office... |
60 | User | Why does the Act require agencies to provide field-office space? | Agent | Inspector General responsibilities may extend throughout an agency’s geographic operations. Field offices allow auditors and investigators to work closer to programs and personnel. They also support timely access to records and witnesses. Adequate space reinforces the office’s operational capacity. The requirement prev... |
61 | User | What kinds of employee complaints may an Inspector General receive and investigate? | Agent | Complaints may concern violations of laws, rules, or regulations. They may also involve mismanagement, gross waste of funds, or abuse of authority. A substantial and specific danger to public health and safety may also be reported. The information must come from an employee of the establishment. The Inspector General h... |
62 | User | How does the Act protect the identity of a complaining employee? | Agent | The Inspector General generally may not disclose the employee’s identity without consent. Disclosure is permitted only when the Inspector General determines that it is unavoidable during the investigation. This rule encourages employees to report wrongdoing. It also reduces the risk of workplace retaliation or stigma. ... |
63 | User | When may an employee’s identity be disclosed without consent? | Agent | Disclosure may occur when the Inspector General determines it is unavoidable during the investigation. The standard requires more than mere convenience. The disclosure must be necessary to carry out the inquiry. The decision rests with the Inspector General. This exception balances confidentiality with investigative ef... |
64 | User | What retaliation does the Act prohibit? | Agent | Officials may not take or threaten personnel action against an employee for making a complaint or disclosing information to an Inspector General. The prohibition applies to officials who can take, direct, recommend, or approve personnel actions. It protects employees who report possible wrongdoing. The rule also covers... |
65 | User | What exception limits protection against retaliation? | Agent | Protection does not apply when the employee knowingly makes a false complaint. It also does not apply when information is disclosed with willful disregard for its truth or falsity. The exception prevents the statute from shielding intentionally dishonest conduct. Mere error or inability to prove an allegation is not th... |
66 | User | Why are employee complaint protections important to Inspector General effectiveness? | Agent | Employees often possess direct knowledge of misconduct or administrative failures. Fear of retaliation can prevent them from reporting. Confidentiality and reprisal protections encourage disclosure of credible concerns. These protections improve the Inspector General’s ability to detect problems that formal audits may ... |
67 | User | What temporary reporting duty did the Act impose on the Secretary of Defense? | Agent | The Secretary was required to submit semiannual reports on Department of Defense audit, investigative, and inspection activities. This duty applied during the period ending October 1, 1982. Reports were due within sixty days after the close of periods ending March 31 and September 30. The temporary framework addressed ... |
68 | User | What subjects had to appear in the Department of Defense semiannual reports? | Agent | The reports had to describe significant instances or patterns of fraud, waste, or abuse. They also had to describe corrective recommendations. Matters referred for prosecution and the results of prosecutions were summarized. A statistical summary of completed audit and inspection reports was required. These elements pr... |
69 | User | When did the Secretary of Defense have to make temporary semiannual reports available to the public? | Agent | The Secretary had to make copies available within sixty days after transmitting them. Members of the public could request the reports. The Department could charge a reasonable cost. This requirement paralleled the transparency provisions applicable to other Inspector General reports. National-security limitations could... |
70 | User | What material could the Secretary of Defense exclude from a public or congressional report? | Agent | The Secretary could exclude material that might threaten national security. Material revealing an intelligence function or activity could also be withheld. This authority recognized the sensitivity of Defense operations. The exclusion was not unlimited because congressional leaders still had to receive a general descri... |
71 | User | Who had to receive a description of excluded national-security material? | Agent | The chairmen and ranking minority members of the appropriate committees or subcommittees had to receive a general description. This requirement applied when material was excluded from the report. The description identified the nature of the omission without revealing the sensitive details. It preserved congressional aw... |
72 | User | To whom could the Secretary of Defense delegate temporary reporting responsibilities? | Agent | The Secretary could delegate the responsibilities to an official within the Office of the Secretary of Defense. The official had to be appointed by the President and confirmed by the Senate. This limitation ensured that the delegate held substantial authority and accountability. The designee received the same access to... |
73 | User | What access rights did the Secretary of Defense’s reporting designee receive? | Agent | The designee had the same access to information held by audit, investigative, and inspection units as the Secretary would have. This was necessary to prepare complete reports. The access included information from multiple oversight components. The provision prevented internal units from limiting the designee’s review. ... |
74 | User | What legislative proposal was the Secretary of Defense required to submit? | Agent | The Secretary had to propose legislation establishing appropriate reporting procedures for Defense oversight activities after October 1, 1982. The proposal was due no later than March 31, 1981. It concerned audit, investigative, and inspection activities. Congress intended the proposal to support a permanent post-trans... |
75 | User | Why did the Act create a special Defense Department task force? | Agent | The task force was created to study the operation of Defense audit, investigative, and inspection components. Its focus was on units involved in preventing and detecting fraud, waste, and abuse. Congress wanted an independent evaluation of their functions and effectiveness. The study also examined coordination and orga... |
76 | User | Who appointed the Defense task force director and members? | Agent | The Secretary of Defense appointed the director and other members. The director could not be an employee of the Department of Defense. This requirement introduced an external perspective. The director also had authority to hire additional staff. The structure was intended to support an independent and comprehensive stu... |
77 | User | Why was the Defense task force director required to be outside the Department? | Agent | An external director was less likely to be influenced by existing departmental relationships. The requirement supported independence in evaluating Defense oversight components. It also increased confidence in the task force’s conclusions. An internal employee might have had institutional conflicts or loyalties. Congres... |
78 | User | What access did the Defense task force receive? | Agent | The director, members, and requested staff could access information relevant to the study. This included reports and information held by audit, investigative, and inspection components. The Secretary and Military Department secretaries had to assure such access. The authority was subject to specific limitations. These ... |
79 | User | When could a Defense component withhold information from the task force? | Agent | A component head could withhold information if disclosure would compromise an active investigation of wrongdoing. This protected ongoing investigative work. The exception was tied to a specific risk rather than general institutional reluctance. It allowed the component to preserve evidence, sources, and enforcement str... |
80 | User | Why could Military Department Inspectors General remove names from reports given to the task force? | Agent | Names could be deleted when disclosure would harm the ability to obtain information in future investigations or inspections. This protected confidential cooperation. It also reduced the risk that witnesses or sources would be deterred. The decision rested with the relevant Inspector General. The provision balanced stud... |
81 | User | What condition governed task-force access to classified information? | Agent | Classified information could be released only to members and staff with appropriate clearances. This ensured compliance with national-security requirements. The task force’s broad access did not override classification controls. Individuals lacking clearance could not review the material. The rule protected sensitive i... |
82 | User | What organizational issues had the Defense task force to examine? | Agent | It had to describe the functions of audit, investigative, and inspection components. It also examined the extent of cooperation among them. The task force evaluated whether the components were sufficiently independent. It reviewed their relationship with the Criminal Division of the Department of Justice. Finally, it r... |
83 | User | How did the task force evaluate independence? | Agent | The task force had to determine whether Defense oversight components were sufficiently independent to perform their responsibilities. This required consideration of reporting relationships and operational constraints. It also involved examining whether program officials could interfere with oversight work. Independence... |
84 | User | Why was the relationship with the Department of Justice included in the task-force study? | Agent | Defense investigations could identify federal criminal violations. Effective prosecution required coordination with the Department of Justice. The task force therefore examined the relationship between oversight components and the Criminal Division. This could reveal gaps, duplication, or delays in referrals and prosec... |
85 | User | Where was the Defense task force required to submit its final report? | Agent | The task force submitted the final report to the Secretary of Defense and the Director of the Office of Management and Budget. These officials could add information they considered necessary. The Secretary then transmitted the report and addenda to Congress. The congressional deadline was April 1, 1980. This process en... |
86 | User | When was the Defense task force disestablished? | Agent | The task force was disestablished sixty days after the report and addenda were submitted to Congress. This made the body temporary. Its purpose was to conduct a defined study rather than operate as a continuing oversight entity. The sunset prevented duplication with permanent components. The limited duration also encou... |
87 | User | What matters were excluded from the Defense task-force study? | Agent | Certain intelligence and counterintelligence activities were excluded. The exclusion applied when those matters were assigned by regulation to the Inspector General for Defense Intelligence. Congress therefore preserved a separate oversight arrangement for those sensitive functions. The task force could not include the... |
88 | User | What was the general purpose of transferring existing offices into the new Offices of Inspector General? | Agent | Transfers consolidated audit and investigative functions under the newly established Inspectors General. This avoided creating duplicate organizations. It also gave the new offices immediate personnel, records, assets, and operational capacity. Consolidation supported independence and unified leadership. The transfers ... |
89 | User | Which Agriculture offices were transferred to the new Inspector General? | Agent | The Department of Agriculture’s Office of Investigation was transferred. Its Office of Audit was also transferred. These units became part of the Department’s Office of Inspector General. Their functions, personnel, and related resources followed the transfer rules. The consolidation brought audit and investigative wor... |
90 | User | Which Commerce functions were transferred to the Inspector General? | Agent | The Department of Commerce’s Office of Audits was transferred. The Investigations and Inspections Staff was also transferred. A portion of the Office of Investigations and Security was transferred as well. That portion concerned alleged criminal violations and program abuse. The transfer assembled the Department’s prin... |
91 | User | What Housing and Urban Development office was transferred? | Agent | The existing Office of Inspector General in the Department of Housing and Urban Development was transferred to the statutory office. This indicates that the Department already had an office using that title. The Act incorporated it into the new legal framework. Its personnel and resources were transferred under the sta... |
92 | User | What Interior office was transferred? | Agent | The Department of the Interior’s Office of Audit and Investigation was transferred. Its combined functions aligned closely with the new office’s mission. The transfer placed those functions under the presidentially appointed Inspector General. Associated personnel and property were also transferred. This created a unif... |
93 | User | What Labor office was transferred to the new Inspector General? | Agent | The Department of Labor’s Office of Special Investigations was transferred. The office’s investigative work became part of the statutory Inspector General structure. Other properly related functions could also be transferred by the establishment head. Program operating responsibilities could not be included. The arrang... |
94 | User | Which Transportation offices and divisions were transferred? | Agent | The transfers included the Department’s Office of Investigations and Security and Office of Audit. They also included specified Federal Aviation Administration investigation, security, and external audit offices. Certain Federal Highway Administration investigation and external audit divisions were included. The Urban ... |
95 | User | Which Community Services Administration units were transferred? | Agent | The Inspections Division was transferred. The External Audit Division was also transferred. The Internal Audit Division was included as well. Together, these units provided inspection and audit capabilities to the new office. Their consolidation supported integrated oversight of the Administration’s programs. |
96 | User | Which Environmental Protection Agency offices were transferred? | Agent | The Environmental Protection Agency’s Office of Audit was transferred. The Security and Inspection Division was also transferred. These organizations became part of the EPA Office of Inspector General. Their assets, records, personnel, and unexpended funds followed the transfer provisions. The new structure combined au... |
97 | User | Which General Services Administration offices were transferred? | Agent | The Office of Audits was transferred. The Office of Investigations was also transferred. These units supplied the core audit and investigative capabilities of the new Inspector General office. Their consolidation supported unified oversight. The transfer also reduced fragmentation within the agency. |
98 | User | Which National Aeronautics and Space Administration offices were transferred? | Agent | NASA’s Management Audit Office was transferred. Its Office of Inspections and Security was also transferred. These functions became part of the statutory Office of Inspector General. The transfer brought management review and investigative capabilities under one leader. It also established a stronger independent oversi... |
99 | User | What Small Business Administration office was transferred? | Agent | The Small Business Administration’s Office of Audits and Investigations was transferred. The office already combined the two principal oversight disciplines. The Act placed it within the statutory Inspector General framework. Its resources and personnel transferred with its functions. The change formalized its independ... |
100 | User | Which Veterans’ Administration offices were transferred? | Agent | The Veterans’ Administration’s Office of Audits was transferred. Its Office of Investigations was also transferred. These units became part of the new Office of Inspector General. Their combination created a single oversight organization. The transfer supported coordinated review of veterans’ programs and operations. |
- Dataset Description
- Dataset Summary
- Source Material
- Original Establishments Covered
- Dataset Scope
- Purpose and Establishment
- Appointment and Independence
- Office Leadership
- Duties and Responsibilities
- Audit Standards and Coordination
- Criminal Referrals
- Semiannual Reports
- Immediate Reporting
- Statutory Authorities
- Agency Cooperation
- Employee Complaints
- Department of Defense Transitional Provisions
- Transfer of Functions
- Conforming and Technical Amendments
- Definitions and Effective Date
- Purpose and Establishment
- Dataset Structure
- Dataset Creation
- Supported Tasks
- Loading the Dataset
- Recommended Data Splits
- Intended Uses
- Out-of-Scope Uses
- Limitations
- Bias and Risk Considerations
- Privacy and Confidentiality Considerations
- Responsible Use
- Evaluation Considerations
- Suggested Evaluation Metrics
- Recommended Retrieval Evaluation Format
- Potential Topic Labels
- Maintenance
- Licensing Information
- Citation
- Acknowledgments
- Disclaimer
Dataset Description
The Inspector General Act of 1978 Question Answering Dataset is a document-grounded collection of 150 question-and-answer records concerning the original statutory framework used to establish independent Offices of Inspector General within selected executive-branch departments and agencies.
The dataset was developed from the enacted text of the Inspector General Act of 1978, Public Law 95-452, 92 Stat. 1101, approved on October 12, 1978. The statute established Offices of Inspector General, assigned audit and investigative responsibilities, created reporting requirements, granted access and subpoena authorities, protected employee complainants, transferred existing oversight organizations, and defined the relationship between Inspectors General, agency leadership, Congress, and other federal oversight institutions.
Each record contains a natural-language question and a detailed answer derived from the enacted legislation. The questions require substantive understanding of the law rather than identification of page numbers, section locations, headings, or isolated statutory phrases. Every answer contains at least five complete sentences and is designed to provide sufficient context for independent understanding.
The dataset may support supervised fine-tuning, retrieval-augmented generation, legal question answering, statutory-comprehension evaluation, federal-oversight research, semantic retrieval, instruction tuning, and testing of systems that answer questions from enacted public laws.
Dataset Summary
| Attribute | Value |
|---|---|
| Domain | Federal oversight, auditing, investigations, and government accountability |
| Jurisdiction | United States |
| Legislative body | 95th United States Congress |
| Source type | Enacted public law |
| Public law | Public Law 95-452 |
| Bill number | H.R. 8588 |
| Statutes at Large citation | 92 Stat. 1101 |
| Date approved | October 12, 1978 |
| Statutory effective date | October 1, 1978 |
| Language | English |
| Number of records | 150 |
| Primary task | Document-grounded question answering |
| Secondary task | Instruction-oriented text generation |
| Answer length | At least five complete sentences per record |
| Data type | Structured textual question-and-answer pairs |
| Generation method | Human-directed synthetic dataset generation |
| External knowledge required | No |
Source Material
The dataset is based on the enacted version of:
United States Congress. Inspector General Act of 1978. Public Law 95-452, 92 Stat. 1101. Approved October 12, 1978.
The Act’s stated purpose was to reorganize portions of the executive branch and increase governmental economy and efficiency by establishing Offices of Inspector General within designated departments, agencies, and administrations.
The dataset is grounded in the original 1978 enactment. It does not incorporate every subsequent amendment, recodification, expansion, or organizational change affecting the federal Inspector General system.
Users seeking to apply the law to current circumstances should consult the current codified provisions, later amendments, applicable agency-specific statutes, and authoritative legal guidance.
Original Establishments Covered
The original Act established Offices of Inspector General within the following departments:
- Department of Agriculture.
- Department of Commerce.
- Department of Housing and Urban Development.
- Department of the Interior.
- Department of Labor.
- Department of Transportation.
It also established offices within the following agencies and administrations:
- Community Services Administration.
- Environmental Protection Agency.
- General Services Administration.
- National Aeronautics and Space Administration.
- Small Business Administration.
- Veterans’ Administration.
The composition, names, and legal status of some of these organizations subsequently changed. The dataset reflects the terminology used in the original enactment.
Dataset Scope
The records address the major substantive areas of the original Act.
Purpose and Establishment
Records may address:
- Creation of independent and objective oversight units.
- Audits and investigations of federal programs and operations.
- Promotion of economy, efficiency, and effectiveness.
- Prevention and detection of fraud and abuse.
- Reporting to agency heads and Congress.
- Corrective-action recommendations.
- Establishment of Offices of Inspector General.
- Original departments and agencies covered by the statute.
Appointment and Independence
Records may address:
- Presidential appointment.
- Senate advice and consent.
- Nonpartisan selection.
- Professional qualifications.
- Integrity requirements.
- Reporting relationships.
- General supervision by establishment heads.
- Restrictions on supervision by other agency officials.
- Prohibition on blocking audits and investigations.
- Subpoena independence.
- Presidential removal.
- Congressional notice of removal reasons.
- Political-activity classifications.
Office Leadership
Records may address:
- Assistant Inspector General for Auditing.
- Assistant Inspector General for Investigations.
- Supervision of audit activities.
- Supervision of investigative activities.
- Civil-service requirements.
- Separation of audit and investigative leadership.
Duties and Responsibilities
Records may address:
- Policy direction for audits and investigations.
- Conduct, supervision, and coordination of oversight work.
- Review of existing legislation.
- Review of proposed legislation.
- Review of existing and proposed regulations.
- Recommendations concerning economy and efficiency.
- Recommendations concerning fraud prevention.
- Coordination with federal agencies.
- Coordination with state and local governments.
- Coordination with nongovernmental organizations.
- Identification and prosecution of participants in fraud.
- Corrective-action monitoring.
- Reporting significant problems and deficiencies.
Audit Standards and Coordination
Records may address:
- Comptroller General audit standards.
- Use of nonfederal auditors.
- Quality requirements for contracted audit work.
- Avoidance of duplicate oversight.
- Cooperation with the Comptroller General.
- Coordination among federal oversight institutions.
Criminal Referrals
Records may address:
- Reasonable grounds to suspect a federal criminal violation.
- Expeditious reporting to the Attorney General.
- Relationship between Inspector General investigations and prosecutive authorities.
- Distinction between referral and prosecution.
Semiannual Reports
Records may address:
- April 30 reporting deadline.
- October 31 reporting deadline.
- Six-month reporting periods.
- Significant problems, abuses, and deficiencies.
- Corrective recommendations.
- Unresolved prior recommendations.
- Matters referred for prosecution.
- Resulting prosecutions and convictions.
- Reports concerning refused information.
- Lists of completed audit reports.
- Transmission by establishment heads.
- Agency-head comments.
- Thirty-day congressional transmission requirement.
- Sixty-day public-availability requirement.
Immediate Reporting
Records may address:
- Particularly serious or flagrant problems.
- Immediate reporting to the establishment head.
- Seven-calendar-day congressional transmission.
- Agency comments accompanying urgent reports.
- Differences between immediate and semiannual reports.
Statutory Authorities
Records may address:
- Access to agency records.
- Authority to conduct investigations.
- Authority to prepare reports.
- Requests for intergovernmental assistance.
- Subpoena authority.
- Federal district-court enforcement.
- Restrictions on using subpoenas against federal agencies.
- Direct and prompt access to establishment heads.
- Personnel appointment authority.
- Expert and consulting services.
- Contracting for audits, studies, and analyses.
- Advance appropriations requirements.
Agency Cooperation
Records may address:
- Duties of federal agencies receiving information requests.
- Existing statutory or regulatory restrictions.
- Unreasonable refusal of information.
- Reporting noncooperation to the establishment head.
- Office space and facility requirements.
- Central and field-office support.
- Equipment, supplies, communications, and maintenance.
Employee Complaints
Records may address:
- Violations of law, rules, or regulations.
- Mismanagement.
- Gross waste of funds.
- Abuse of authority.
- Public-health and safety dangers.
- Confidentiality of complainant identities.
- Unavoidable disclosure during investigations.
- Prohibition on reprisal.
- Threatened personnel actions.
- Knowingly false complaints.
- Willful disregard for truth or falsity.
Department of Defense Transitional Provisions
Records may address:
- Temporary Defense Department semiannual reports.
- Reporting periods and deadlines.
- Fraud, waste, and abuse reporting.
- Prosecution summaries.
- Audit and inspection statistics.
- Public availability.
- National-security exclusions.
- Intelligence-function exclusions.
- Notice to congressional committee leadership.
- Delegation to Senate-confirmed presidential appointees.
- Proposed post-1982 reporting legislation.
- Establishment of the Defense task force.
- Task-force independence.
- Task-force access to information.
- Protection of active investigations.
- Removal of names from reports.
- Security-clearance requirements.
- Review of oversight-component independence.
- Relationship with the Department of Justice.
- Organizational recommendations.
- Submission of the final task-force report.
- Disestablishment of the task force.
- Exclusion of certain intelligence and counterintelligence matters.
Transfer of Functions
Records may address:
- Transfer of existing audit offices.
- Transfer of existing investigative offices.
- Transfer of inspection organizations.
- Agency-specific transfers.
- Additional transfers authorized by establishment heads.
- Prohibition on transferring program operating responsibilities.
- Transfer of personnel.
- Transfer of records and property.
- Transfer of contracts and liabilities.
- Transfer of unexpended funds.
- Employee classification and compensation protection.
- Lapse of predecessor offices.
- Continuing-pay protections.
Conforming and Technical Amendments
Records may address:
- Addition of Inspector General positions to executive pay statutes.
- Addition of a Deputy Inspector General position.
- Technical correction of statutory cross-references.
- Integration of new offices into existing federal personnel law.
Definitions and Effective Date
Records may address:
- Head of the establishment.
- Establishment.
- Inspector General.
- Office.
- Federal agency.
- Exclusion of the General Accounting Office.
- Statutory effective date.
- Relationship between enactment and effective dates.
Dataset Structure
Each row represents one question-and-answer exchange.
Data Fields
| Field | Type | Description |
|---|---|---|
ID |
integer | Sequential record identifier ranging from 1 through 150. |
U |
string | Role label for the question author. The value is User. |
Question |
string | A natural-language question answerable from the original Act. |
A |
string | Role label for the responding system. The value is Agent. |
Answer |
string | A document-grounded answer containing at least five complete sentences. |
Example Record
{
"ID": 1,
"U": "User",
"Question": "What broad governmental problem was the Inspector General Act designed to address?",
"A": "Agent",
"Answer": "The Act was designed to improve economy and efficiency within the executive branch. It created independent and objective units to audit and investigate federal programs and operations. It also sought to prevent and detect fraud and abuse. Another objective was to ensure that agency leaders and Congress received current information about serious problems and deficiencies. The statute therefore combined oversight, accountability, and corrective-action functions within a permanent institutional structure."
}
Dataset Creation
Generation Process
The dataset was created through the following process:
- The original enacted public law was reviewed by section and substantive requirement.
- The Act’s institutional structure, appointment provisions, reporting duties, statutory authorities, complaint protections, transitional arrangements, transfer provisions, and definitions were identified.
- Questions were drafted to test substantive understanding of the enacted provisions.
- Questions limited to locating a page, section, paragraph, heading, or physical portion of the source were avoided.
- Answers were generated using information contained in the original Act.
- Each answer was written as a self-contained explanation containing at least five complete sentences.
- Records were reviewed for statutory grounding, topical coverage, relevance, internal consistency, and duplication.
- The final records were assigned unique sequential identifiers from 1 through 150.
Nature of the Data
The records are synthetic instructional examples. They are not transcripts of Inspectors General, auditors, investigators, whistleblowers, agency employees, members of Congress, prosecutors, or private parties.
The dataset does not contain:
- Personally identifiable information.
- Actual employee complaints.
- Confidential whistleblower information.
- Law-enforcement-sensitive records.
- Classified information.
- Active investigative material.
- Actual subpoena returns.
- Grand-jury information.
- Agency deliberative material.
- Personnel records.
- Nonpublic audit working papers.
- Information about identifiable subjects of investigation.
Quality Controls
The dataset was designed using the following controls:
- Every question is intended to be answerable from the original enacted legislation.
- Every answer contains at least five complete sentences.
- Answers use complete grammatical prose.
- Questions avoid document-location phrasing.
- Questions emphasize statutory meaning, requirements, protections, and institutional relationships.
- Records cover all major sections of the source.
- Questions were drafted to minimize semantic duplication.
- Answers avoid knowingly introducing later amendments as though they appeared in the original law.
- Role labels remain consistent across all records.
- Record identifiers are sequential and unique.
Supported Tasks
Document-Grounded Question Answering
The dataset may support systems that answer questions using the Inspector General Act of 1978 as the authoritative context.
Potential applications include:
- Closed-book question answering after supervised fine-tuning.
- Open-book question answering using retrieved statutory passages.
- Retrieval-augmented generation evaluation.
- Legal and legislative research assistant prototyping.
- Federal-oversight knowledge-base development.
- Statutory-comprehension testing.
- Answer-grounding evaluation.
- Hallucination detection.
- Public-administration education.
- Government-accountability research.
Instruction Tuning
The records may be transformed into a conversational format.
{
"messages": [
{
"role": "user",
"content": "What limits does the Act place on agency supervision of an Inspector General?"
},
{
"role": "assistant",
"content": "The establishment head may exercise general supervision over the Inspector General. However, that official may not prevent or prohibit the Inspector General from initiating an audit or investigation. The same protection applies to carrying out or completing the work. The agency head also may not prevent the issuance of a subpoena during an audit or investigation. These restrictions protect the operational independence of the office."
}
]
}
Retrieval-Augmented Generation
The questions may be used as retrieval queries against segmented portions of the public law.
The dataset may be useful for evaluating whether a retrieval system distinguishes among:
- General supervision and prohibited interference.
- Appointment and removal.
- Auditing and investigations.
- Semiannual and immediate reports.
- Agency-head comments and Inspector General findings.
- Requests for information and subpoenas.
- Federal-agency cooperation and judicial enforcement.
- Employee confidentiality and reprisal protection.
- Agency oversight and program operating responsibilities.
- General Inspector General provisions and temporary Defense provisions.
- Original enactment and later federal Inspector General law.
Legal Text Generation
The answers provide examples of extended explanations grounded in enacted statutory language. They may be used to evaluate whether a model can explain legal provisions without introducing later amendments, unsupported procedural requirements, or policy conclusions not contained in the source.
Semantic Search and Reranking
The questions may be paired with statutory passages to create:
- Dense-retrieval tasks.
- Sparse-retrieval tasks.
- Hybrid-retrieval tasks.
- Passage-reranking tasks.
- Multi-section answer-synthesis tasks.
- Citation-selection evaluations.
Loading the Dataset
Replace the placeholder with the final Hugging Face organization or username and repository name.
from datasets import load_dataset
dataset = load_dataset(
"<organization-or-username>/<dataset-repository>"
)
print(dataset)
print(dataset["train"][0])
To load a CSV file stored in the repository:
from datasets import load_dataset
dataset = load_dataset(
"csv",
data_files="data.csv"
)
print(dataset["train"][0])
To normalize the original column names:
from datasets import load_dataset
dataset = load_dataset(
"<organization-or-username>/<dataset-repository>"
)
dataset = dataset.rename_columns(
{
"ID": "id",
"Question": "question",
"Answer": "answer"
}
)
dataset = dataset.remove_columns(
[
"U",
"A"
]
)
print(dataset["train"].features)
To convert the records into a conversational format:
from datasets import load_dataset
dataset = load_dataset(
"<organization-or-username>/<dataset-repository>",
split="train"
)
def create_messages(record):
return {
"messages": [
{
"role": "user",
"content": record["Question"]
},
{
"role": "assistant",
"content": record["Answer"]
}
]
}
chat_dataset = dataset.map(
create_messages,
remove_columns=dataset.column_names
)
print(chat_dataset[0])
Recommended Data Splits
Because the dataset contains 150 records, it may be published as a single train split.
For experimental evaluation, deterministic training, validation, and test subsets may be created:
from datasets import DatasetDict, load_dataset
dataset = load_dataset(
"<organization-or-username>/<dataset-repository>",
split="train"
)
train_test = dataset.train_test_split(
test_size=0.20,
seed=42
)
validation_test = train_test["test"].train_test_split(
test_size=0.50,
seed=42
)
splits = DatasetDict(
{
"train": train_test["train"],
"validation": validation_test["train"],
"test": validation_test["test"]
}
)
print(splits)
A random split may place closely related statutory concepts in separate subsets. Topic-based splitting may provide a more demanding evaluation of generalization.
Potential topic groups include:
- Purpose and establishment.
- Appointment and independence.
- Duties and responsibilities.
- Audit standards.
- Criminal referrals.
- Semiannual reports.
- Immediate reports.
- Access and subpoena authority.
- Employee complaints.
- Department of Defense transitional provisions.
- Transfer of functions.
- Technical amendments.
- Definitions and effective date.
Intended Uses
The dataset is intended for:
- Research involving document-grounded language models.
- Development of legal question-answering systems.
- Federal-oversight and accountability research.
- Retrieval-augmented generation experiments.
- Semantic-search evaluation.
- Statutory-comprehension benchmarks.
- Instruction-tuning experiments.
- Evaluation of source fidelity and answer completeness.
- Prototyping public-law knowledge assistants.
- Public-administration education.
- Testing whether models distinguish closely related oversight concepts.
- Evaluation of citation and passage-selection systems.
Out-of-Scope Uses
The dataset is not intended to:
- Replace the official public law.
- Represent the complete current Inspector General Act.
- Provide legal advice.
- Determine the present authority of a particular Inspector General.
- Resolve an active subpoena dispute.
- Determine whether information may lawfully be withheld.
- Adjudicate an employee reprisal complaint.
- Identify or investigate an actual whistleblower.
- Determine whether a federal crime occurred.
- Direct a criminal referral or prosecution.
- Resolve questions involving classified or law-enforcement-sensitive information.
- Determine the current reporting obligations of a specific agency without reviewing later law.
- Make autonomous personnel, investigative, prosecutorial, or oversight decisions.
- Substitute for qualified legal, audit, investigative, or congressional review.
Limitations
Original-Enactment Scope
The dataset is based on the Inspector General Act as enacted in 1978. The federal Inspector General framework has been amended, expanded, reorganized, and recodified since that time.
An answer may accurately describe the original Act without accurately describing current law.
Historical Agency Names
The source uses agency names and organizational structures existing in 1978. Some named entities were later renamed, reorganized, abolished, or succeeded by other organizations.
The dataset preserves the source terminology where appropriate.
Synthetic Questions and Answers
The records are constructed instructional examples. They do not reproduce the natural distribution, terminology, uncertainty, or urgency of questions asked by auditors, investigators, agency counsel, congressional staff, employees, or subjects of investigations.
Single-Source Emphasis
The dataset is grounded primarily in Public Law 95-452. Complete legal analysis may require later amendments, current codification, agency-specific Inspector General statutes, appropriations laws, case law, regulations, and administrative guidance.
No Independent Legal Interpretation
The answers summarize and explain the original legislation. They do not constitute official legal interpretations or opinions.
Answer-Length Style
Every answer contains at least five sentences because of the dataset’s construction requirements. Some answers may therefore be more detailed than necessary for practical use.
Limited Size
The dataset contains 150 records. It may support evaluation, demonstrations, retrieval experiments, augmentation, or narrow fine-tuning, but it is not sufficient by itself to train a broadly capable legal or federal-oversight model.
Potential Paraphrasing Errors
Paraphrasing can omit qualifications or create ambiguity. Consequential conclusions should be verified against the enacted text and current law.
Uneven Topic Density
The Act devotes more detail to certain subjects, including reports, authorities, Department of Defense transitional arrangements, and transfers of functions. The number of records devoted to each subject may therefore vary.
Bias and Risk Considerations
The dataset inherits the institutional structure, terminology, assumptions, and policy objectives of the original statute.
Potential risks include:
- Treating the original 1978 framework as current law.
- Ignoring later amendments or recodification.
- Confusing an Inspector General’s investigative authority with prosecutorial authority.
- Treating an allegation as proof of wrongdoing.
- Assuming all employee complaints must be investigated.
- Treating confidentiality of complainant identity as absolute.
- Overlooking statutory or regulatory restrictions on agency information.
- Confusing a request for records with a subpoena.
- Confusing an Inspector General office with a program-management office.
- Assuming an establishment head may direct the result of an audit.
- Using model-generated answers to guide an active investigation.
- Disclosing sensitive or identifying information in a public system.
- Treating generalized explanations as legal determinations.
Models trained or evaluated with the dataset may generate fluent but incomplete legal explanations. Human review is required for consequential applications.
Privacy and Confidentiality Considerations
The dataset contains no actual employee complaints or identifiable investigative subjects.
Users should not combine the dataset with private or sensitive information in a way that:
- Reveals a whistleblower’s identity.
- Exposes an active investigation.
- Discloses law-enforcement-sensitive information.
- Reveals classified information.
- Publishes protected personnel records.
- Circumvents established complaint channels.
- Interferes with criminal or administrative proceedings.
Applications should distinguish public statutory knowledge from protected case information and use appropriate access controls.
Responsible Use
Users should:
- Verify important conclusions against the official public law.
- Consult the current codified Inspector General provisions.
- Review subsequent amendments and agency-specific authorities.
- Distinguish the original 1978 Act from present law.
- Avoid entering protected complaint or investigative information into unauthorized systems.
- Maintain human oversight for legal, audit, investigative, and personnel matters.
- Avoid treating model output as a criminal finding or prosecutorial decision.
- Preserve conditions, exceptions, deadlines, and reporting relationships.
- Evaluate systems for hallucinated authorities, deadlines, agencies, and legal standards.
- Clearly distinguish educational summaries from official legal advice.
Evaluation Considerations
Groundedness
The answer should remain supported by the original enacted legislation. It should not introduce later amendments as though they appeared in Public Law 95-452.
Statutory Accuracy
The response should correctly identify:
- The responsible official.
- The applicable reporting deadline.
- The recipient of a report.
- The scope of access authority.
- The conditions for subpoena use.
- The limits on agency supervision.
- The requirements for employee confidentiality.
- The conditions governing reprisal protection.
- The authorities transferred to each office.
- The temporary nature of Defense provisions.
Completeness
The answer should include material conditions, exceptions, deadlines, and procedural relationships needed to explain the provision accurately.
Terminological Precision
The system should distinguish among:
- Inspector General and Office of Inspector General.
- Audit and investigation.
- General supervision and operational interference.
- Agency-head comments and Inspector General findings.
- Semiannual and immediate reports.
- Request for information and subpoena.
- Referral and prosecution.
- Complaint and substantiated violation.
- Oversight responsibility and program operating responsibility.
- Establishment head and Inspector General.
- Original statutory provisions and current law.
Historical Precision
The system should preserve the original names of agencies and positions when explaining the 1978 Act. It should not silently substitute modern organizational names unless the distinction is clearly explained.
Citation Accuracy
When source passages are available, citations should point to the provisions that directly support the answer.
Multi-Section Reasoning
Some questions require combining appointment, independence, reporting, access, or transfer provisions. Systems should be evaluated on their ability to synthesize those provisions without inventing additional authority.
Hallucination Resistance
A model should acknowledge when a question requires information not provided in the original Act, such as:
- Current agency organization.
- Later statutory amendments.
- Current reporting formats.
- Current whistleblower-remedy procedures.
- Case-specific investigative information.
- Judicial interpretations.
- Current appropriations.
- Present executive-pay classifications.
Suggested Evaluation Metrics
Automated evaluation may include:
- Exact match for narrowly framed factual questions.
- Token-level F1.
- ROUGE.
- BERTScore.
- Semantic similarity.
- Retrieval recall at selected cutoff values.
- Mean reciprocal rank.
- Normalized discounted cumulative gain.
- Citation precision.
- Citation recall.
- Natural-language-inference support scores.
- LLM-assisted groundedness scoring.
- Human legal-accuracy review.
- Human completeness review.
- Human historical-accuracy review.
Automated similarity metrics should not be used alone because multiple legally accurate answers may differ substantially in wording.
Recommended Retrieval Evaluation Format
An enriched retrieval version may include:
| Field | Description |
|---|---|
question |
The retrieval query. |
answer |
The reference answer. |
section |
The applicable section of the Act. |
subsection |
The applicable subsection or paragraph. |
source_text |
The statutory passage supporting the answer. |
topic |
The substantive subject category. |
affected_establishment |
The department or agency implicated by the provision. |
reporting_deadline |
A statutory deadline, when applicable. |
requires_multiple_passages |
Whether the answer requires synthesis of several provisions. |
difficulty |
An optional qualitative difficulty label. |
These fields are not included in the original five-column dataset and would require a separately enriched release.
Potential Topic Labels
Records may be labeled with values such as:
purposeestablishmentappointmentqualificationsindependenceremovalaudit_leadershipinvestigative_leadershipdutieslegislative_reviewaudit_standardscriminal_referralssemiannual_reportsimmediate_reportsrecords_accesssubpoena_authorityagency_cooperationstaffingemployee_complaintsconfidentialityreprisaldefense_reportingdefense_task_forcetransfer_of_functionspay_protectiontechnical_amendmentsdefinitionseffective_date
Maintenance
The dataset should be reviewed when:
- Errors are identified in the generated records.
- The repository is revised to cover current law.
- Later Inspector General amendments are added.
- Current codified provisions are incorporated.
- Agency names or historical notes require clarification.
- Source passages and citations are added.
- Topic labels or retrieval fields are introduced.
Recommended versioning practices include:
- Preserving the original 150-record release.
- Clearly labeling it as based on the original 1978 enactment.
- Maintaining a change log.
- Identifying corrected, removed, or replaced records.
- Separating historical-source revisions from stylistic edits.
- Publishing a distinct dataset version for current law.
- Recording the source version used for every release.
Licensing Information
The underlying source is an enacted United States federal law published as Public Law 95-452.
The generated questions, answers, dataset organization, and documentation are derivative dataset content prepared from public federal source material.
The repository uses the metadata value license: other because users should independently evaluate the legal status of the underlying federal material, the generated compilation, and their intended use. No separate ownership claim is made over the underlying statutory text.
Users remain responsible for complying with applicable laws, repository terms, attribution practices, and downstream-use requirements.
Citation
When using the dataset, cite both the dataset repository and the underlying public law.
@dataset{inspector_general_act_1978_qa,
title = {Inspector General Act of 1978 Question Answering Dataset},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/<organization-or-username>/<dataset-repository>},
note = {A 150-record document-grounded question-answering dataset derived from Public Law 95-452}
}
@techreport{inspector_general_act_1978,
author = {{United States Congress}},
title = {Inspector General Act of 1978},
institution = {United States Government Printing Office},
number = {Public Law 95-452},
year = {1978},
month = {October},
note = {92 Stat. 1101; approved October 12, 1978}
}
Suggested Legal Citation
Inspector General Act of 1978, Pub. L. No. 95-452, 92 Stat. 1101.
Acknowledgments
The underlying legislation was enacted by the 95th United States Congress and published as a federal public law.
The dataset is an independently prepared question-answering resource. It should not be interpreted as an official congressional, executive-branch, Inspector General, Department of Justice, Government Accountability Office, or agency dataset, endorsement, interpretation, audit product, investigative report, or legal opinion.
Disclaimer
This dataset is provided for research, education, evaluation, and technical experimentation.
It does not constitute legal advice, an official interpretation of federal law, a criminal finding, a subpoena, a prosecutorial referral, an audit opinion, an investigative determination, a whistleblower-protection decision, or authorization to take personnel or enforcement action.
The official public law, current codified statutes, subsequent amendments, applicable agency-specific authorities, judicial decisions, and authoritative legal guidance control whenever a difference exists between this dataset and an authoritative source.
- Downloads last month
- 132