Spaces:
Sleeping
Sleeping
qqubb
commited on
Commit
·
78f0286
1
Parent(s):
f5a1efe
handle more nested levels in dictionary
Browse files- __pycache__/compliance_analysis.cpython-310.pyc +0 -0
- __pycache__/utils.cpython-310.pyc +0 -0
- app.py +10 -2
- data_cc.yaml +20 -20
- project_cc.yaml +4 -0
__pycache__/compliance_analysis.cpython-310.pyc
CHANGED
Binary files a/__pycache__/compliance_analysis.cpython-310.pyc and b/__pycache__/compliance_analysis.cpython-310.pyc differ
|
|
__pycache__/utils.cpython-310.pyc
CHANGED
Binary files a/__pycache__/utils.cpython-310.pyc and b/__pycache__/utils.cpython-310.pyc differ
|
|
app.py
CHANGED
@@ -180,8 +180,16 @@ if uploaded_files:
|
|
180 |
for section, items in data.items():
|
181 |
st.header(section.replace('_', ' ').title()) # section header
|
182 |
for key, details in items.items():
|
183 |
-
|
184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
# st.write("Updated Data:", data)
|
186 |
|
187 |
yaml_data = yaml.dump(data)
|
|
|
180 |
for section, items in data.items():
|
181 |
st.header(section.replace('_', ' ').title()) # section header
|
182 |
for key, details in items.items():
|
183 |
+
if 'verbose' in details and 'value' in details:
|
184 |
+
st.subheader(key.replace('_', ' ').title()) # section header
|
185 |
+
details['value'] = st.checkbox(details['verbose'], value=details['value'])
|
186 |
+
if 'verbose' not in details and 'value' not in details:
|
187 |
+
st.subheader(key.replace('_', ' ').title()) # section header
|
188 |
+
for key, details in details.items():
|
189 |
+
st.subheader(key.replace('_', ' ').title()) # section header
|
190 |
+
details['value'] = st.checkbox(details['verbose'], value=details['value'])
|
191 |
+
st.divider()
|
192 |
+
st.divider()
|
193 |
# st.write("Updated Data:", data)
|
194 |
|
195 |
yaml_data = yaml.dump(data)
|
data_cc.yaml
CHANGED
@@ -105,23 +105,23 @@ quality_management_system: # Art. 17(1)(f)
|
|
105 |
verbose: 'Systems and procedures for data management, including data acquisition, data collection, data analysis, data labelling, data storage, data filtration, data mining, data aggregation, data retention and any other operation regarding the data that is performed before and for the purposes of the placing on the market or putting into service of high-risk AI systems'
|
106 |
value: !!bool false
|
107 |
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
|
|
105 |
verbose: 'Systems and procedures for data management, including data acquisition, data collection, data analysis, data labelling, data storage, data filtration, data mining, data aggregation, data retention and any other operation regarding the data that is performed before and for the purposes of the placing on the market or putting into service of high-risk AI systems'
|
106 |
value: !!bool false
|
107 |
|
108 |
+
gpai_requirements: # Art. 53(1); Annex XI(2)(c)
|
109 |
+
gpai_requirements:
|
110 |
+
data_type:
|
111 |
+
verbose: 'Documentation for the dataset is available that contains the type of data'
|
112 |
+
value: !!bool false
|
113 |
+
data_provenance:
|
114 |
+
verbose: 'Documentation for the dataset is available that contains the provenance of data'
|
115 |
+
value: !!bool false
|
116 |
+
data_curation:
|
117 |
+
verbose: 'Documentation for the dataset is available that contains the curation methodologies (e.g. cleaning, filtering, etc.)'
|
118 |
+
value: !!bool false
|
119 |
+
data_number:
|
120 |
+
verbose: 'Documentation for the dataset is available that contains the number of data points'
|
121 |
+
value: !!bool false
|
122 |
+
data_scope:
|
123 |
+
verbose: 'Documentation for the dataset is available that contains the number of data scope and main characteristics'
|
124 |
+
value: !!bool false
|
125 |
+
data_origin:
|
126 |
+
verbose: 'Documentation for the dataset is available that contains information on how the data was obtained and selected as well as all other measures to detect the unsuitability of data sources and methods to detect identifiable biases'
|
127 |
+
value: !!bool false
|
project_cc.yaml
CHANGED
@@ -58,8 +58,10 @@ transparency_related:
|
|
58 |
value: !!bool false
|
59 |
exception_obvious:
|
60 |
verbose: 'When interacting with the AI project, it would be obvious from the point of view of a natural person who is reasonably well-informed, observant and circumspect, taking into account the circumstances and the context of use that they are interacting with AI'
|
|
|
61 |
exception_law:
|
62 |
verbose: 'The AI project is authorised by law to detect, prevent, investigate or prosecute criminal offences, subject to appropriate safeguards for the rights and freedoms of third parties, and is not available for the public to report a criminal offence'
|
|
|
63 |
synthetic content: # Art. 50(2)
|
64 |
verbose: 'The AI project generates synthetic audio, image, video or text content'
|
65 |
value: !!bool false
|
@@ -126,6 +128,7 @@ prohibited_practice:
|
|
126 |
value: !!bool false
|
127 |
real_time_exception_threat:
|
128 |
verbose: 'The AI project involves use of ‘real-time’ remote biometric identification systems in publicly accessible spaces for the purposes of law enforcement stricly for the prevention of a specific, substantial and imminent threat to the life or physical safety of natural persons or a genuine and present or genuine and foreseeable threat of a terrorist attack'
|
|
|
129 |
real_time_exception_investigation:
|
130 |
verbose: 'The AI project involves use of ‘real-time’ remote biometric identification systems in publicly accessible spaces for the purposes of law enforcement stricly for the localisation or identification of a person suspected of having committed a criminal offence, for the purpose of conducting a criminal investigation or prosecution or executing a criminal penalty for offences referred to in Annex II and punishable in the Member State concerned by a custodial sentence or a detention order for a maximum period of at least four years.'
|
131 |
value: !!bool false
|
@@ -422,6 +425,7 @@ fundamental_rights_assessment:
|
|
422 |
transparency_obligations:
|
423 |
synthetic_content: # Art. 50(1)
|
424 |
verbose: 'The AI project designed and developed in such a way that the natural persons concerned are informed that they are interacting with AI'
|
|
|
425 |
synthetic_content2: # Art. 50(2)
|
426 |
verbose: 'The outputs of the AI project are marked in a machine-readable format and detectable as artificially generated or manipulated'
|
427 |
value: !!bool false
|
|
|
58 |
value: !!bool false
|
59 |
exception_obvious:
|
60 |
verbose: 'When interacting with the AI project, it would be obvious from the point of view of a natural person who is reasonably well-informed, observant and circumspect, taking into account the circumstances and the context of use that they are interacting with AI'
|
61 |
+
value: !!bool false
|
62 |
exception_law:
|
63 |
verbose: 'The AI project is authorised by law to detect, prevent, investigate or prosecute criminal offences, subject to appropriate safeguards for the rights and freedoms of third parties, and is not available for the public to report a criminal offence'
|
64 |
+
value: !!bool false
|
65 |
synthetic content: # Art. 50(2)
|
66 |
verbose: 'The AI project generates synthetic audio, image, video or text content'
|
67 |
value: !!bool false
|
|
|
128 |
value: !!bool false
|
129 |
real_time_exception_threat:
|
130 |
verbose: 'The AI project involves use of ‘real-time’ remote biometric identification systems in publicly accessible spaces for the purposes of law enforcement stricly for the prevention of a specific, substantial and imminent threat to the life or physical safety of natural persons or a genuine and present or genuine and foreseeable threat of a terrorist attack'
|
131 |
+
value: !!bool false
|
132 |
real_time_exception_investigation:
|
133 |
verbose: 'The AI project involves use of ‘real-time’ remote biometric identification systems in publicly accessible spaces for the purposes of law enforcement stricly for the localisation or identification of a person suspected of having committed a criminal offence, for the purpose of conducting a criminal investigation or prosecution or executing a criminal penalty for offences referred to in Annex II and punishable in the Member State concerned by a custodial sentence or a detention order for a maximum period of at least four years.'
|
134 |
value: !!bool false
|
|
|
425 |
transparency_obligations:
|
426 |
synthetic_content: # Art. 50(1)
|
427 |
verbose: 'The AI project designed and developed in such a way that the natural persons concerned are informed that they are interacting with AI'
|
428 |
+
value: !!bool false
|
429 |
synthetic_content2: # Art. 50(2)
|
430 |
verbose: 'The outputs of the AI project are marked in a machine-readable format and detectable as artificially generated or manipulated'
|
431 |
value: !!bool false
|